@everymatrix/casino-game-overlay 0.4.3 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/components/{CasinoGameOverlay--Hkm7wHj.js → CasinoGameOverlay-B4fmPt-6.js} +350 -312
  2. package/components/{CasinoGameOverlay-Cdk-WMH3.js → CasinoGameOverlay-D_eBABXn.js} +257 -219
  3. package/components/{CasinoGameOverlay-Dg6_hZBN.cjs → CasinoGameOverlay-Dh1TQe_g.cjs} +1 -1
  4. package/components/CasinoMysteryChestContainer-B4lSPYc5.cjs +18 -0
  5. package/components/{CasinoMysteryChestContainer-CwAyv3bj.js → CasinoMysteryChestContainer-CP66Zhf-.js} +715 -669
  6. package/components/{CasinoMysteryChestContainer-DEvGk1zs.js → CasinoMysteryChestContainer-c21xTovs.js} +623 -599
  7. package/components/{CasinoMysteryChestDetails-LbUZpyr-.js → CasinoMysteryChestDetails-BgNPkInT.js} +169 -169
  8. package/components/{CasinoMysteryChestDetails-B947OCyO.cjs → CasinoMysteryChestDetails-CCtDkMES.cjs} +2 -2
  9. package/components/{CasinoMysteryChestDetails-Te0V9k7T.js → CasinoMysteryChestDetails-NOcxZc0D.js} +184 -184
  10. package/components/{CasinoMysteryChestModal-tNzWxOIy.js → CasinoMysteryChestModal-Bfi5s9Ft.js} +19 -19
  11. package/components/{CasinoMysteryChestModal-DEZ9ibH_.cjs → CasinoMysteryChestModal-DHOS9He6.cjs} +1 -1
  12. package/components/{CasinoMysteryChestModal-ChmhG0-F.js → CasinoMysteryChestModal-Z9ncUjsj.js} +16 -16
  13. package/components/CasinoMysteryChestsList-CX_D9fNt.cjs +1 -0
  14. package/components/{CasinoMysteryChestsList-7YBZroZ5.js → CasinoMysteryChestsList-Ck7fKo5Z.js} +592 -594
  15. package/components/{CasinoMysteryChestsList-DjCrVqo5.js → CasinoMysteryChestsList-o6ZeGRkS.js} +564 -566
  16. package/components/{GeneralAnimationLoading-D7f1nH5s.cjs → GeneralAnimationLoading-CocnPJaM.cjs} +1 -1
  17. package/components/{GeneralAnimationLoading-BPiIDqWp.js → GeneralAnimationLoading-DOGoUxcL.js} +16 -16
  18. package/components/{GeneralAnimationLoading-DVg2SNuO.js → GeneralAnimationLoading-DSRknRMt.js} +18 -18
  19. package/es2015/casino-game-overlay.cjs +1 -1
  20. package/es2015/casino-game-overlay.js +1 -1
  21. package/esnext/casino-game-overlay.js +1 -1
  22. package/package.json +1 -1
  23. package/components/CasinoMysteryChestContainer-Bli1dxyM.cjs +0 -18
  24. package/components/CasinoMysteryChestsList-DgOhRxRv.cjs +0 -1
@@ -2,30 +2,30 @@ var ie = Object.defineProperty, se = Object.defineProperties;
2
2
  var le = Object.getOwnPropertyDescriptors;
3
3
  var E = Object.getOwnPropertySymbols;
4
4
  var oe = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
5
- var X = (t, e, n) => e in t ? ie(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, v = (t, e) => {
5
+ var L = (t, e, n) => e in t ? ie(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Z = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
- oe.call(e, n) && X(t, n, e[n]);
7
+ oe.call(e, n) && L(t, n, e[n]);
8
8
  if (E)
9
9
  for (var n of E(e))
10
- ae.call(e, n) && X(t, n, e[n]);
10
+ ae.call(e, n) && L(t, n, e[n]);
11
11
  return t;
12
12
  }, D = (t, e) => se(t, le(e));
13
- var d = (t, e, n) => (X(t, typeof e != "symbol" ? e + "" : e, n), n);
13
+ var p = (t, e, n) => (L(t, typeof e != "symbol" ? e + "" : e, n), n);
14
14
  var V = (t, e, n) => new Promise((i, s) => {
15
- var l = (a) => {
15
+ var l = (o) => {
16
16
  try {
17
- c(n.next(a));
18
- } catch (o) {
19
- s(o);
17
+ a(n.next(o));
18
+ } catch (c) {
19
+ s(c);
20
20
  }
21
- }, r = (a) => {
21
+ }, r = (o) => {
22
22
  try {
23
- c(n.throw(a));
24
- } catch (o) {
25
- s(o);
23
+ a(n.throw(o));
24
+ } catch (c) {
25
+ s(c);
26
26
  }
27
- }, c = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(l, r);
28
- c((n = n.apply(t, e)).next());
27
+ }, a = (o) => o.done ? i(o.value) : Promise.resolve(o.value).then(l, r);
28
+ a((n = n.apply(t, e)).next());
29
29
  });
30
30
  function H() {
31
31
  }
@@ -35,7 +35,7 @@ function B(t) {
35
35
  function C() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function I(t) {
38
+ function v(t) {
39
39
  t.forEach(B);
40
40
  }
41
41
  function $(t) {
@@ -44,14 +44,14 @@ function $(t) {
44
44
  function ce(t, e) {
45
45
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
46
46
  }
47
- let K;
47
+ let F;
48
48
  function Qe(t, e) {
49
- return t === e ? !0 : (K || (K = document.createElement("a")), K.href = e, t === K.href);
49
+ return t === e ? !0 : (F || (F = document.createElement("a")), F.href = e, t === F.href);
50
50
  }
51
51
  function re(t) {
52
52
  return Object.keys(t).length === 0;
53
53
  }
54
- function fe(t, ...e) {
54
+ function ue(t, ...e) {
55
55
  if (t == null) {
56
56
  for (const i of e)
57
57
  i(void 0);
@@ -61,15 +61,15 @@ function fe(t, ...e) {
61
61
  return n.unsubscribe ? () => n.unsubscribe() : n;
62
62
  }
63
63
  function Ae(t, e, n) {
64
- t.$$.on_destroy.push(fe(e, n));
64
+ t.$$.on_destroy.push(ue(e, n));
65
65
  }
66
66
  function T(t, e) {
67
67
  t.appendChild(e);
68
68
  }
69
- function ue(t, e, n) {
69
+ function fe(t, e, n) {
70
70
  const i = ke(t);
71
71
  if (!i.getElementById(e)) {
72
- const s = j("style");
72
+ const s = R("style");
73
73
  s.id = e, s.textContent = n, Se(i, s);
74
74
  }
75
75
  }
@@ -93,20 +93,20 @@ function Se(t, e) {
93
93
  function P(t, e, n) {
94
94
  t.insertBefore(e, n || null);
95
95
  }
96
- function U(t) {
96
+ function q(t) {
97
97
  t.parentNode && t.parentNode.removeChild(t);
98
98
  }
99
99
  function we(t, e) {
100
100
  for (let n = 0; n < t.length; n += 1)
101
101
  t[n] && t[n].d(e);
102
102
  }
103
- function j(t) {
103
+ function R(t) {
104
104
  return document.createElement(t);
105
105
  }
106
106
  function _(t) {
107
107
  return document.createTextNode(t);
108
108
  }
109
- function W() {
109
+ function I() {
110
110
  return _(" ");
111
111
  }
112
112
  function Be() {
@@ -115,14 +115,14 @@ function Be() {
115
115
  function ee(t, e, n, i) {
116
116
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
117
117
  }
118
- function p(t, e, n) {
118
+ function m(t, e, n) {
119
119
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
120
120
  }
121
- function h(t, e, n) {
121
+ function d(t, e, n) {
122
122
  const i = e.toLowerCase();
123
- i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : p(t, e, n);
123
+ i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : m(t, e, n);
124
124
  }
125
- function pe(t) {
125
+ function me(t) {
126
126
  return Array.from(t.childNodes);
127
127
  }
128
128
  function $e(t, e) {
@@ -132,7 +132,7 @@ function $e(t, e) {
132
132
  function _e(t, e, n) {
133
133
  t.classList.toggle(e, !!n);
134
134
  }
135
- function de(t) {
135
+ function pe(t) {
136
136
  const e = {};
137
137
  return t.childNodes.forEach(
138
138
  /** @param {Element} node */
@@ -145,27 +145,27 @@ let O;
145
145
  function z(t) {
146
146
  O = t;
147
147
  }
148
- function me() {
148
+ function de() {
149
149
  if (!O)
150
150
  throw new Error("Function called outside component initialization");
151
151
  return O;
152
152
  }
153
153
  function Ue(t) {
154
- me().$$.on_mount.push(t);
154
+ de().$$.on_mount.push(t);
155
155
  }
156
- const Y = [], Z = [];
156
+ const Y = [], M = [];
157
157
  let x = [];
158
- const G = [], je = /* @__PURE__ */ Promise.resolve();
159
- let M = !1;
160
- function ye() {
161
- M || (M = !0, je.then(m));
158
+ const G = [], ye = /* @__PURE__ */ Promise.resolve();
159
+ let b = !1;
160
+ function je() {
161
+ b || (b = !0, ye.then(U));
162
162
  }
163
- function b(t) {
163
+ function N(t) {
164
164
  x.push(t);
165
165
  }
166
- const L = /* @__PURE__ */ new Set();
166
+ const g = /* @__PURE__ */ new Set();
167
167
  let J = 0;
168
- function m() {
168
+ function U() {
169
169
  if (J !== 0)
170
170
  return;
171
171
  const t = O;
@@ -178,54 +178,54 @@ function m() {
178
178
  } catch (e) {
179
179
  throw Y.length = 0, J = 0, e;
180
180
  }
181
- for (z(null), Y.length = 0, J = 0; Z.length; )
182
- Z.pop()();
181
+ for (z(null), Y.length = 0, J = 0; M.length; )
182
+ M.pop()();
183
183
  for (let e = 0; e < x.length; e += 1) {
184
184
  const n = x[e];
185
- L.has(n) || (L.add(n), n());
185
+ g.has(n) || (g.add(n), n());
186
186
  }
187
187
  x.length = 0;
188
188
  } while (Y.length);
189
189
  for (; G.length; )
190
190
  G.pop()();
191
- M = !1, L.clear(), z(t);
191
+ b = !1, g.clear(), z(t);
192
192
  }
193
193
  function qe(t) {
194
194
  if (t.fragment !== null) {
195
- t.update(), I(t.before_update);
195
+ t.update(), v(t.before_update);
196
196
  const e = t.dirty;
197
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(b);
197
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(N);
198
198
  }
199
199
  }
200
200
  function Re(t) {
201
201
  const e = [], n = [];
202
202
  x.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), x = e;
203
203
  }
204
- const Ve = /* @__PURE__ */ new Set();
205
- function he(t, e) {
206
- t && t.i && (Ve.delete(t), t.i(e));
204
+ const he = /* @__PURE__ */ new Set();
205
+ function Ve(t, e) {
206
+ t && t.i && (he.delete(t), t.i(e));
207
207
  }
208
208
  function et(t) {
209
209
  return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
210
210
  }
211
211
  function Pe(t, e, n) {
212
212
  const { fragment: i, after_update: s } = t.$$;
213
- i && i.m(e, n), b(() => {
213
+ i && i.m(e, n), N(() => {
214
214
  const l = t.$$.on_mount.map(B).filter($);
215
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : I(l), t.$$.on_mount = [];
216
- }), s.forEach(b);
215
+ t.$$.on_destroy ? t.$$.on_destroy.push(...l) : v(l), t.$$.on_mount = [];
216
+ }), s.forEach(N);
217
217
  }
218
218
  function Je(t, e) {
219
219
  const n = t.$$;
220
- n.fragment !== null && (Re(n.after_update), I(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
220
+ n.fragment !== null && (Re(n.after_update), v(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
221
221
  }
222
222
  function Ye(t, e) {
223
- t.$$.dirty[0] === -1 && (Y.push(t), ye(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
223
+ t.$$.dirty[0] === -1 && (Y.push(t), je(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
224
224
  }
225
- function xe(t, e, n, i, s, l, r = null, c = [-1]) {
226
- const a = O;
225
+ function xe(t, e, n, i, s, l, r = null, a = [-1]) {
226
+ const o = O;
227
227
  z(t);
228
- const o = t.$$ = {
228
+ const c = t.$$ = {
229
229
  fragment: null,
230
230
  ctx: [],
231
231
  // state
@@ -239,50 +239,50 @@ function xe(t, e, n, i, s, l, r = null, c = [-1]) {
239
239
  on_disconnect: [],
240
240
  before_update: [],
241
241
  after_update: [],
242
- context: new Map(e.context || (a ? a.$$.context : [])),
242
+ context: new Map(e.context || (o ? o.$$.context : [])),
243
243
  // everything else
244
244
  callbacks: C(),
245
- dirty: c,
245
+ dirty: a,
246
246
  skip_bound: !1,
247
- root: e.target || a.$$.root
247
+ root: e.target || o.$$.root
248
248
  };
249
- r && r(o.root);
250
- let f = !1;
251
- if (o.ctx = n ? n(t, e.props || {}, (S, y, ...q) => {
252
- const u = q.length ? q[0] : y;
253
- return o.ctx && s(o.ctx[S], o.ctx[S] = u) && (!o.skip_bound && o.bound[S] && o.bound[S](u), f && Ye(t, S)), y;
254
- }) : [], o.update(), f = !0, I(o.before_update), o.fragment = i ? i(o.ctx) : !1, e.target) {
249
+ r && r(c.root);
250
+ let u = !1;
251
+ if (c.ctx = n ? n(t, e.props || {}, (k, y, ...j) => {
252
+ const S = j.length ? j[0] : y;
253
+ return c.ctx && s(c.ctx[k], c.ctx[k] = S) && (!c.skip_bound && c.bound[k] && c.bound[k](S), u && Ye(t, k)), y;
254
+ }) : [], c.update(), u = !0, v(c.before_update), c.fragment = i ? i(c.ctx) : !1, e.target) {
255
255
  if (e.hydrate) {
256
- const S = pe(e.target);
257
- o.fragment && o.fragment.l(S), S.forEach(U);
256
+ const k = me(e.target);
257
+ c.fragment && c.fragment.l(k), k.forEach(q);
258
258
  } else
259
- o.fragment && o.fragment.c();
260
- e.intro && he(t.$$.fragment), Pe(t, e.target, e.anchor), m();
259
+ c.fragment && c.fragment.c();
260
+ e.intro && Ve(t.$$.fragment), Pe(t, e.target, e.anchor), U();
261
261
  }
262
- z(a);
262
+ z(o);
263
263
  }
264
264
  let te;
265
265
  typeof HTMLElement == "function" && (te = class extends HTMLElement {
266
266
  constructor(e, n, i) {
267
267
  super();
268
268
  /** The Svelte component constructor */
269
- d(this, "$$ctor");
269
+ p(this, "$$ctor");
270
270
  /** Slots */
271
- d(this, "$$s");
271
+ p(this, "$$s");
272
272
  /** The Svelte component instance */
273
- d(this, "$$c");
273
+ p(this, "$$c");
274
274
  /** Whether or not the custom element is connected */
275
- d(this, "$$cn", !1);
275
+ p(this, "$$cn", !1);
276
276
  /** Component props data */
277
- d(this, "$$d", {});
277
+ p(this, "$$d", {});
278
278
  /** `true` if currently in the process of reflecting component props back to attributes */
279
- d(this, "$$r", !1);
279
+ p(this, "$$r", !1);
280
280
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
281
- d(this, "$$p_d", {});
281
+ p(this, "$$p_d", {});
282
282
  /** @type {Record<string, Function[]>} Event listeners */
283
- d(this, "$$l", {});
283
+ p(this, "$$l", {});
284
284
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
285
- d(this, "$$l_u", /* @__PURE__ */ new Map());
285
+ p(this, "$$l_u", /* @__PURE__ */ new Map());
286
286
  this.$$ctor = e, this.$$s = n, i && this.attachShadow({ mode: "open" });
287
287
  }
288
288
  addEventListener(e, n, i) {
@@ -306,35 +306,35 @@ typeof HTMLElement == "function" && (te = class extends HTMLElement {
306
306
  let r;
307
307
  return {
308
308
  c: function() {
309
- r = j("slot"), l !== "default" && p(r, "name", l);
309
+ r = R("slot"), l !== "default" && m(r, "name", l);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
313
313
  * @param {HTMLElement} [anchor]
314
314
  */
315
- m: function(o, f) {
316
- P(o, r, f);
315
+ m: function(c, u) {
316
+ P(c, r, u);
317
317
  },
318
- d: function(o) {
319
- o && U(r);
318
+ d: function(c) {
319
+ c && q(r);
320
320
  }
321
321
  };
322
322
  };
323
323
  };
324
324
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const n = {}, i = de(this);
326
+ const n = {}, i = pe(this);
327
327
  for (const l of this.$$s)
328
328
  l in i && (n[l] = [e(l)]);
329
329
  for (const l of this.attributes) {
330
330
  const r = this.$$g_p(l.name);
331
- r in this.$$d || (this.$$d[r] = F(r, l.value, this.$$p_d, "toProp"));
331
+ r in this.$$d || (this.$$d[r] = X(r, l.value, this.$$p_d, "toProp"));
332
332
  }
333
333
  for (const l in this.$$p_d)
334
334
  !(l in this.$$d) && this[l] !== void 0 && (this.$$d[l] = this[l], delete this[l]);
335
335
  this.$$c = new this.$$ctor({
336
336
  target: this.shadowRoot || this,
337
- props: D(v({}, this.$$d), {
337
+ props: D(Z({}, this.$$d), {
338
338
  $$slots: n,
339
339
  $$scope: {
340
340
  ctx: []
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (te = class extends HTMLElement {
345
345
  this.$$r = !0;
346
346
  for (const l in this.$$p_d)
347
347
  if (this.$$d[l] = this.$$c.$$.ctx[this.$$c.$$.props[l]], this.$$p_d[l].reflect) {
348
- const r = F(
348
+ const r = X(
349
349
  l,
350
350
  this.$$d[l],
351
351
  this.$$p_d,
@@ -358,8 +358,8 @@ typeof HTMLElement == "function" && (te = class extends HTMLElement {
358
358
  this.$$c.$$.after_update.push(s), s();
359
359
  for (const l in this.$$l)
360
360
  for (const r of this.$$l[l]) {
361
- const c = this.$$c.$on(l, r);
362
- this.$$l_u.set(r, c);
361
+ const a = this.$$c.$on(l, r);
362
+ this.$$l_u.set(r, a);
363
363
  }
364
364
  this.$$l = {};
365
365
  }
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (te = class extends HTMLElement {
369
369
  // and setting attributes through setAttribute etc, this is helpful
370
370
  attributeChangedCallback(e, n, i) {
371
371
  var s;
372
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = F(e, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [e]: this.$$d[e] }));
372
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = X(e, i, this.$$p_d, "toProp"), (s = this.$$c) == null || s.$set({ [e]: this.$$d[e] }));
373
373
  }
374
374
  disconnectedCallback() {
375
375
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (te = class extends HTMLElement {
382
382
  ) || e;
383
383
  }
384
384
  });
385
- function F(t, e, n, i) {
385
+ function X(t, e, n, i) {
386
386
  var l;
387
387
  const s = (l = n[t]) == null ? void 0 : l.type;
388
388
  if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
@@ -419,25 +419,25 @@ function He(t, e, n, i, s, l) {
419
419
  }
420
420
  static get observedAttributes() {
421
421
  return Object.keys(e).map(
422
- (c) => (e[c].attribute || c).toLowerCase()
422
+ (a) => (e[a].attribute || a).toLowerCase()
423
423
  );
424
424
  }
425
425
  };
426
- return Object.keys(e).forEach((c) => {
427
- Object.defineProperty(r.prototype, c, {
426
+ return Object.keys(e).forEach((a) => {
427
+ Object.defineProperty(r.prototype, a, {
428
428
  get() {
429
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
429
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
430
430
  },
431
- set(a) {
432
- var o;
433
- a = F(c, a, e), this.$$d[c] = a, (o = this.$$c) == null || o.$set({ [c]: a });
431
+ set(o) {
432
+ var c;
433
+ o = X(a, o, e), this.$$d[a] = o, (c = this.$$c) == null || c.$set({ [a]: o });
434
434
  }
435
435
  });
436
- }), i.forEach((c) => {
437
- Object.defineProperty(r.prototype, c, {
436
+ }), i.forEach((a) => {
437
+ Object.defineProperty(r.prototype, a, {
438
438
  get() {
439
- var a;
440
- return (a = this.$$c) == null ? void 0 : a[c];
439
+ var o;
440
+ return (o = this.$$c) == null ? void 0 : o[a];
441
441
  }
442
442
  });
443
443
  }), t.element = /** @type {any} */
@@ -452,7 +452,7 @@ class Te {
452
452
  *
453
453
  * @type {any}
454
454
  */
455
- d(this, "$$");
455
+ p(this, "$$");
456
456
  /**
457
457
  * ### PRIVATE API
458
458
  *
@@ -460,7 +460,7 @@ class Te {
460
460
  *
461
461
  * @type {any}
462
462
  */
463
- d(this, "$$set");
463
+ p(this, "$$set");
464
464
  }
465
465
  /** @returns {void} */
466
466
  $destroy() {
@@ -503,7 +503,7 @@ if (typeof window != "undefined") {
503
503
  }
504
504
  };
505
505
  };
506
- customElements.define = t(customElements.define), import("./CasinoMysteryChestContainer-DEvGk1zs.js").then((e) => e.C).then(({ default: e }) => {
506
+ customElements.define = t(customElements.define), import("./CasinoMysteryChestContainer-CP66Zhf-.js").then((e) => e.C).then(({ default: e }) => {
507
507
  !customElements.get("casino-mystery-chest-container") && customElements.define("casino-mystery-chest-container", e.element);
508
508
  });
509
509
  }
@@ -543,88 +543,110 @@ const Fe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAYAAADnRuK4AA
543
543
  throw new Error(l.message);
544
544
  }
545
545
  return s;
546
- }), Me = (t) => window.postMessage(t, window.location.href), be = (t, e) => V(void 0, null, function* () {
546
+ }), ge = (t) => window.postMessage(t, window.location.href), Me = (t, e) => V(void 0, null, function* () {
547
547
  const n = {
548
548
  path: t + "/v1/wof/lotteries",
549
549
  params: {
550
550
  filter: "Types[]=wheelOfFortune,Types[]=mysteryChest,Types[]=flipCoin,Types[]=dice"
551
551
  },
552
552
  options: {
553
- headers: v({
553
+ headers: Z({
554
554
  "Content-Type": "application/json",
555
555
  accept: "text/plain"
556
556
  }, e ? { "x-SessionId": e } : {})
557
557
  }
558
558
  };
559
559
  return yield Le(n);
560
- }), Ne = (t, e) => V(void 0, null, function* () {
561
- const n = yield be(t, e);
562
- return ((n == null ? void 0 : n.items) || []).filter((l) => ge(l)).reduce((l, r) => {
563
- const { type: c } = r.program;
564
- return l[c] || (l[c] = []), l[c].push(r), l;
560
+ }), be = (t, e) => V(void 0, null, function* () {
561
+ const n = yield Me(t, e);
562
+ return ((n == null ? void 0 : n.items) || []).filter((l) => Ne(l)).reduce((l, r) => {
563
+ const { type: a } = r.program;
564
+ return l[a] || (l[a] = []), l[a].push(r), l;
565
565
  }, {});
566
- }), ge = (t) => {
566
+ }), Ne = (t) => {
567
567
  var e;
568
568
  return ((e = t == null ? void 0 : t.current) == null ? void 0 : e.remainingTimes) > 0 && (t == null ? void 0 : t.next);
569
569
  };
570
570
  function Ee(t) {
571
- ue(t, "svelte-w1j9wq", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.game-overlay{background-size:cover;transition:300ms;position:absolute;top:32px;left:32px;height:36px;width:36px;border-radius:50%;border-width:0px;z-index:2}.program{z-index:1}.opened.program:nth-of-type(2){left:80px}.opened.program:nth-of-type(3){left:124px}.opened.program:nth-of-type(4){left:168px}");
571
+ fe(t, "svelte-w1j9wq", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.game-overlay{background-size:cover;transition:300ms;position:absolute;top:32px;left:32px;height:36px;width:36px;border-radius:50%;border-width:0px;z-index:2}.program{z-index:1}.opened.program:nth-of-type(2){left:80px}.opened.program:nth-of-type(3){left:124px}.opened.program:nth-of-type(4){left:168px}");
572
572
  }
573
573
  function Q(t) {
574
574
  let e, n, i, s, l, r;
575
575
  return {
576
576
  c() {
577
- e = j("button"), i = W(), s = j("casino-mystery-chest-container"), p(e, "class", n = "game-overlay program " + /*opened*/
578
- (t[4] && "opened")), p(e, "style", `background-image: url("${Ie}")`), h(
577
+ e = R("button"), i = I(), s = R("casino-mystery-chest-container"), m(e, "class", n = "game-overlay program " + /*opened*/
578
+ (t[6] && "opened")), m(e, "style", `background-image: url("${Ie}")`), d(
579
579
  s,
580
580
  "endpoint",
581
581
  /*endpoint*/
582
582
  t[0]
583
- ), h(
583
+ ), d(
584
584
  s,
585
585
  "lang",
586
586
  /*lang*/
587
587
  t[2]
588
- ), h(
588
+ ), d(
589
589
  s,
590
590
  "session",
591
591
  /*session*/
592
592
  t[1]
593
- ), h(s, "showgameoverlay", !1);
593
+ ), d(s, "showgameoverlay", !1), d(
594
+ s,
595
+ "terms",
596
+ /*mysterychestterms*/
597
+ t[3]
598
+ ), d(
599
+ s,
600
+ "translationurl",
601
+ /*translationurl*/
602
+ t[4]
603
+ );
594
604
  },
595
- m(c, a) {
596
- P(c, e, a), P(c, i, a), P(c, s, a), l || (r = ee(
605
+ m(a, o) {
606
+ P(a, e, o), P(a, i, o), P(a, s, o), l || (r = ee(
597
607
  e,
598
608
  "click",
599
609
  /*openMysteryChest*/
600
- t[6]
610
+ t[8]
601
611
  ), l = !0);
602
612
  },
603
- p(c, a) {
604
- a & /*opened*/
605
- 16 && n !== (n = "game-overlay program " + /*opened*/
606
- (c[4] && "opened")) && p(e, "class", n), a & /*endpoint*/
607
- 1 && h(
613
+ p(a, o) {
614
+ o & /*opened*/
615
+ 64 && n !== (n = "game-overlay program " + /*opened*/
616
+ (a[6] && "opened")) && m(e, "class", n), o & /*endpoint*/
617
+ 1 && d(
608
618
  s,
609
619
  "endpoint",
610
620
  /*endpoint*/
611
- c[0]
612
- ), a & /*lang*/
613
- 4 && h(
621
+ a[0]
622
+ ), o & /*lang*/
623
+ 4 && d(
614
624
  s,
615
625
  "lang",
616
626
  /*lang*/
617
- c[2]
618
- ), a & /*session*/
619
- 2 && h(
627
+ a[2]
628
+ ), o & /*session*/
629
+ 2 && d(
620
630
  s,
621
631
  "session",
622
632
  /*session*/
623
- c[1]
633
+ a[1]
634
+ ), o & /*mysterychestterms*/
635
+ 8 && d(
636
+ s,
637
+ "terms",
638
+ /*mysterychestterms*/
639
+ a[3]
640
+ ), o & /*translationurl*/
641
+ 16 && d(
642
+ s,
643
+ "translationurl",
644
+ /*translationurl*/
645
+ a[4]
624
646
  );
625
647
  },
626
- d(c) {
627
- c && (U(e), U(i), U(s)), l = !1, r();
648
+ d(a) {
649
+ a && (q(e), q(i), q(s)), l = !1, r();
628
650
  }
629
651
  };
630
652
  }
@@ -632,19 +654,19 @@ function A(t) {
632
654
  let e, n;
633
655
  return {
634
656
  c() {
635
- e = j("button"), p(e, "class", n = "game-overlay program " + /*opened*/
636
- (t[4] && "opened")), p(e, "style", `background-image: url("${Xe}")`);
657
+ e = R("button"), m(e, "class", n = "game-overlay program " + /*opened*/
658
+ (t[6] && "opened")), m(e, "style", `background-image: url("${Xe}")`);
637
659
  },
638
660
  m(i, s) {
639
661
  P(i, e, s);
640
662
  },
641
663
  p(i, s) {
642
664
  s & /*opened*/
643
- 16 && n !== (n = "game-overlay program " + /*opened*/
644
- (i[4] && "opened")) && p(e, "class", n);
665
+ 64 && n !== (n = "game-overlay program " + /*opened*/
666
+ (i[6] && "opened")) && m(e, "class", n);
645
667
  },
646
668
  d(i) {
647
- i && U(e);
669
+ i && q(e);
648
670
  }
649
671
  };
650
672
  }
@@ -652,96 +674,98 @@ function w(t) {
652
674
  let e, n;
653
675
  return {
654
676
  c() {
655
- e = j("button"), p(e, "class", n = "game-overlay program " + /*opened*/
656
- (t[4] && "opened")), p(e, "style", `background-image: url("${ve}")`);
677
+ e = R("button"), m(e, "class", n = "game-overlay program " + /*opened*/
678
+ (t[6] && "opened")), m(e, "style", `background-image: url("${ve}")`);
657
679
  },
658
680
  m(i, s) {
659
681
  P(i, e, s);
660
682
  },
661
683
  p(i, s) {
662
684
  s & /*opened*/
663
- 16 && n !== (n = "game-overlay program " + /*opened*/
664
- (i[4] && "opened")) && p(e, "class", n);
685
+ 64 && n !== (n = "game-overlay program " + /*opened*/
686
+ (i[6] && "opened")) && m(e, "class", n);
665
687
  },
666
688
  d(i) {
667
- i && U(e);
689
+ i && q(e);
668
690
  }
669
691
  };
670
692
  }
671
693
  function De(t) {
672
- var S, y, q;
673
- let e, n, i, s, l, r, c, a = (
694
+ var k, y, j;
695
+ let e, n, i, s, l, r, a, o = (
674
696
  /*lotteries*/
675
- ((S = t[5]) == null ? void 0 : S.mysteryChest) && Q(t)
676
- ), o = (
697
+ ((k = t[7]) == null ? void 0 : k.mysteryChest) && Q(t)
698
+ ), c = (
677
699
  /*lotteries*/
678
- ((y = t[5]) == null ? void 0 : y.wheelOfFortune) && A(t)
679
- ), f = (
700
+ ((y = t[7]) == null ? void 0 : y.wheelOfFortune) && A(t)
701
+ ), u = (
680
702
  /*lotteries*/
681
- ((q = t[5]) == null ? void 0 : q.flipCoin) && w(t)
703
+ ((j = t[7]) == null ? void 0 : j.flipCoin) && w(t)
682
704
  );
683
705
  return {
684
706
  c() {
685
- e = j("div"), n = j("button"), i = W(), a && a.c(), s = W(), o && o.c(), l = W(), f && f.c(), p(n, "class", "game-overlay"), p(n, "style", `background-image: url("${Fe}")`);
707
+ e = R("div"), n = R("button"), i = I(), o && o.c(), s = I(), c && c.c(), l = I(), u && u.c(), m(n, "class", "game-overlay"), m(n, "style", `background-image: url("${Fe}")`);
686
708
  },
687
- m(u, R) {
688
- P(u, e, R), T(e, n), T(e, i), a && a.m(e, null), T(e, s), o && o.m(e, null), T(e, l), f && f.m(e, null), t[11](e), r || (c = ee(
709
+ m(S, h) {
710
+ P(S, e, h), T(e, n), T(e, i), o && o.m(e, null), T(e, s), c && c.m(e, null), T(e, l), u && u.m(e, null), t[13](e), r || (a = ee(
689
711
  n,
690
712
  "click",
691
713
  /*collapseMenu*/
692
- t[7]
714
+ t[9]
693
715
  ), r = !0);
694
716
  },
695
- p(u, [R]) {
696
- var k, N, g;
717
+ p(S, [h]) {
718
+ var K, W, f;
697
719
  /*lotteries*/
698
- (k = u[5]) != null && k.mysteryChest ? a ? a.p(u, R) : (a = Q(u), a.c(), a.m(e, s)) : a && (a.d(1), a = null), /*lotteries*/
699
- (N = u[5]) != null && N.wheelOfFortune ? o ? o.p(u, R) : (o = A(u), o.c(), o.m(e, l)) : o && (o.d(1), o = null), /*lotteries*/
700
- (g = u[5]) != null && g.flipCoin ? f ? f.p(u, R) : (f = w(u), f.c(), f.m(e, null)) : f && (f.d(1), f = null);
720
+ (K = S[7]) != null && K.mysteryChest ? o ? o.p(S, h) : (o = Q(S), o.c(), o.m(e, s)) : o && (o.d(1), o = null), /*lotteries*/
721
+ (W = S[7]) != null && W.wheelOfFortune ? c ? c.p(S, h) : (c = A(S), c.c(), c.m(e, l)) : c && (c.d(1), c = null), /*lotteries*/
722
+ (f = S[7]) != null && f.flipCoin ? u ? u.p(S, h) : (u = w(S), u.c(), u.m(e, null)) : u && (u.d(1), u = null);
701
723
  },
702
724
  i: H,
703
725
  o: H,
704
- d(u) {
705
- u && U(e), a && a.d(), o && o.d(), f && f.d(), t[11](null), r = !1, c();
726
+ d(S) {
727
+ S && q(e), o && o.d(), c && c.d(), u && u.d(), t[13](null), r = !1, a();
706
728
  }
707
729
  };
708
730
  }
709
731
  function Ce(t, e, n) {
710
- let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: l } = e, { endpoint: r } = e, { session: c } = e, { lang: a = "en" } = e, o, f = !1, S;
711
- const y = () => {
712
- Me({ type: "OpenMysteryChestDrawer" });
713
- }, q = () => {
714
- n(4, f = !f);
715
- }, u = () => V(this, null, function* () {
716
- n(5, S = yield Ne(r, c));
732
+ let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, { mbsource: l } = e, { endpoint: r } = e, { session: a } = e, { lang: o = "en" } = e, { mysterychestterms: c = "en" } = e, { translationurl: u = "" } = e, k, y = !1, j;
733
+ const S = () => {
734
+ ge({ type: "OpenMysteryChestDrawer" });
735
+ }, h = () => {
736
+ n(6, y = !y);
737
+ }, K = () => V(this, null, function* () {
738
+ n(7, j = yield be(r, a));
717
739
  });
718
- Ue(() => (u(), () => {
740
+ Ue(() => (K(), () => {
719
741
  }));
720
- function R(k) {
721
- Z[k ? "unshift" : "push"](() => {
722
- o = k, n(3, o);
742
+ function W(f) {
743
+ M[f ? "unshift" : "push"](() => {
744
+ k = f, n(5, k);
723
745
  });
724
746
  }
725
- return t.$$set = (k) => {
726
- "clientstyling" in k && n(8, i = k.clientstyling), "clientstylingurl" in k && n(9, s = k.clientstylingurl), "mbsource" in k && n(10, l = k.mbsource), "endpoint" in k && n(0, r = k.endpoint), "session" in k && n(1, c = k.session), "lang" in k && n(2, a = k.lang);
747
+ return t.$$set = (f) => {
748
+ "clientstyling" in f && n(10, i = f.clientstyling), "clientstylingurl" in f && n(11, s = f.clientstylingurl), "mbsource" in f && n(12, l = f.mbsource), "endpoint" in f && n(0, r = f.endpoint), "session" in f && n(1, a = f.session), "lang" in f && n(2, o = f.lang), "mysterychestterms" in f && n(3, c = f.mysterychestterms), "translationurl" in f && n(4, u = f.translationurl);
727
749
  }, t.$$.update = () => {
728
750
  t.$$.dirty & /*clientstyling, customStylingContainer*/
729
- 264 && i && o && Oe(o, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
730
- 520 && s && o && Ke(o, s), t.$$.dirty & /*mbsource, customStylingContainer*/
731
- 1032 && l && o && We(o, `${l}.Style`);
751
+ 1056 && i && k && Oe(k, i), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
752
+ 2080 && s && k && Ke(k, s), t.$$.dirty & /*mbsource, customStylingContainer*/
753
+ 4128 && l && k && We(k, `${l}.Style`);
732
754
  }, [
733
755
  r,
734
- c,
735
756
  a,
736
757
  o,
737
- f,
738
- S,
758
+ c,
759
+ u,
760
+ k,
739
761
  y,
740
- q,
762
+ j,
763
+ S,
764
+ h,
741
765
  i,
742
766
  s,
743
767
  l,
744
- R
768
+ W
745
769
  ];
746
770
  }
747
771
  class ne extends Te {
@@ -753,54 +777,68 @@ class ne extends Te {
753
777
  De,
754
778
  ce,
755
779
  {
756
- clientstyling: 8,
757
- clientstylingurl: 9,
758
- mbsource: 10,
780
+ clientstyling: 10,
781
+ clientstylingurl: 11,
782
+ mbsource: 12,
759
783
  endpoint: 0,
760
784
  session: 1,
761
- lang: 2
785
+ lang: 2,
786
+ mysterychestterms: 3,
787
+ translationurl: 4
762
788
  },
763
789
  Ee
764
790
  );
765
791
  }
766
792
  get clientstyling() {
767
- return this.$$.ctx[8];
793
+ return this.$$.ctx[10];
768
794
  }
769
795
  set clientstyling(e) {
770
- this.$$set({ clientstyling: e }), m();
796
+ this.$$set({ clientstyling: e }), U();
771
797
  }
772
798
  get clientstylingurl() {
773
- return this.$$.ctx[9];
799
+ return this.$$.ctx[11];
774
800
  }
775
801
  set clientstylingurl(e) {
776
- this.$$set({ clientstylingurl: e }), m();
802
+ this.$$set({ clientstylingurl: e }), U();
777
803
  }
778
804
  get mbsource() {
779
- return this.$$.ctx[10];
805
+ return this.$$.ctx[12];
780
806
  }
781
807
  set mbsource(e) {
782
- this.$$set({ mbsource: e }), m();
808
+ this.$$set({ mbsource: e }), U();
783
809
  }
784
810
  get endpoint() {
785
811
  return this.$$.ctx[0];
786
812
  }
787
813
  set endpoint(e) {
788
- this.$$set({ endpoint: e }), m();
814
+ this.$$set({ endpoint: e }), U();
789
815
  }
790
816
  get session() {
791
817
  return this.$$.ctx[1];
792
818
  }
793
819
  set session(e) {
794
- this.$$set({ session: e }), m();
820
+ this.$$set({ session: e }), U();
795
821
  }
796
822
  get lang() {
797
823
  return this.$$.ctx[2];
798
824
  }
799
825
  set lang(e) {
800
- this.$$set({ lang: e }), m();
826
+ this.$$set({ lang: e }), U();
827
+ }
828
+ get mysterychestterms() {
829
+ return this.$$.ctx[3];
830
+ }
831
+ set mysterychestterms(e) {
832
+ this.$$set({ mysterychestterms: e }), U();
833
+ }
834
+ get translationurl() {
835
+ return this.$$.ctx[4];
836
+ }
837
+ set translationurl(e) {
838
+ this.$$set({ translationurl: e }), U();
801
839
  }
802
840
  }
803
- He(ne, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {} }, [], [], !0);
841
+ He(ne, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, endpoint: {}, session: {}, lang: {}, mysterychestterms: {}, translationurl: {} }, [], [], !0);
804
842
  const tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
805
843
  __proto__: null,
806
844
  default: ne
@@ -812,30 +850,30 @@ export {
812
850
  We as D,
813
851
  tt as E,
814
852
  Te as S,
815
- ce as a,
853
+ ue as a,
816
854
  xe as b,
817
- He as c,
818
- ue as d,
819
- W as e,
820
- m as f,
821
- Be as g,
822
- P as h,
855
+ fe as c,
856
+ q as d,
857
+ P as e,
858
+ U as f,
859
+ I as g,
860
+ Be as h,
823
861
  $ as i,
824
- U as j,
825
- j as k,
826
- h as l,
827
- p as m,
862
+ d as j,
863
+ R as k,
864
+ m as l,
865
+ T as m,
828
866
  H as n,
829
867
  Ue as o,
830
- Qe as p,
831
- T as q,
832
- I as r,
833
- fe as s,
834
- ee as t,
835
- _ as u,
836
- $e as v,
868
+ ee as p,
869
+ Qe as q,
870
+ v as r,
871
+ ce as s,
872
+ He as t,
873
+ $e as u,
874
+ _ as v,
837
875
  Ae as w,
838
- Z as x,
876
+ M as x,
839
877
  _e as y,
840
878
  et as z
841
879
  };