@everymatrix/casino-engagement-suite-luckywheel-list 1.55.0 → 1.56.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.
- package/dist/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/index.esm.js +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/{p-85d47702.entry.js → p-0d270bab.entry.js} +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-95998397.js +1 -0
- package/dist/casino-engagement-suite-luckywheel-list/p-f8cbc45f.js +2 -0
- package/dist/cjs/{casino-engagement-suite-luckywheel-list-165ce85c.js → casino-engagement-suite-luckywheel-list-1978fae3.js} +214 -157
- package/dist/cjs/casino-engagement-suite-luckywheel-list.cjs.js +2 -2
- package/dist/cjs/casino-engagement-suite-luckywheel-list_2.cjs.entry.js +27 -9
- package/dist/cjs/{index-3815b8e0.js → index-622d50a1.js} +172 -71
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-engagement-suite-luckywheel-list/casino-engagement-suite-luckywheel-list.js +45 -15
- package/dist/esm/{casino-engagement-suite-luckywheel-list-22ab01f5.js → casino-engagement-suite-luckywheel-list-e5d5497e.js} +214 -157
- package/dist/esm/casino-engagement-suite-luckywheel-list.js +3 -3
- package/dist/esm/casino-engagement-suite-luckywheel-list_2.entry.js +27 -9
- package/dist/esm/{index-68de30f0.js → index-ccb37e4c.js} +172 -71
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-40284e0b.js +0 -1
- package/dist/casino-engagement-suite-luckywheel-list/p-c227cdc7.js +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.d.ts +0 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/packages/stencil/casino-engagement-suite-luckywheel-list/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel-list/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as h$1, r as registerInstance, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { h as h$1, r as registerInstance, c as createEvent, g as getElement } from './index-ccb37e4c.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const SUPPORTED_LANGUAGES = ['en'];
|
|
@@ -49,35 +49,35 @@ const getTranslations = (url) => {
|
|
|
49
49
|
|
|
50
50
|
function a() {
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function M(t) {
|
|
53
53
|
return t();
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function O() {
|
|
56
56
|
return /* @__PURE__ */ Object.create(null);
|
|
57
57
|
}
|
|
58
58
|
function y(t) {
|
|
59
|
-
t.forEach(
|
|
59
|
+
t.forEach(M);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function N(t) {
|
|
62
62
|
return typeof t == "function";
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function R(t, e) {
|
|
65
65
|
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function T(t) {
|
|
68
68
|
return Object.keys(t).length === 0;
|
|
69
69
|
}
|
|
70
70
|
function H(t, e) {
|
|
71
71
|
t.appendChild(e);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
const s =
|
|
73
|
+
function U(t, e, n) {
|
|
74
|
+
const s = I(t);
|
|
75
75
|
if (!s.getElementById(e)) {
|
|
76
76
|
const i = v("style");
|
|
77
|
-
i.id = e, i.textContent = n,
|
|
77
|
+
i.id = e, i.textContent = n, z(s, i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function I(t) {
|
|
81
81
|
if (!t) return document;
|
|
82
82
|
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
83
83
|
return e && /** @type {ShadowRoot} */
|
|
@@ -86,14 +86,14 @@ function U(t) {
|
|
|
86
86
|
e
|
|
87
87
|
) : t.ownerDocument;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function z(t, e) {
|
|
90
90
|
return H(
|
|
91
91
|
/** @type {Document} */
|
|
92
92
|
t.head || t,
|
|
93
93
|
e
|
|
94
94
|
), e.sheet;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function B(t, e, n) {
|
|
97
97
|
t.insertBefore(e, n || null);
|
|
98
98
|
}
|
|
99
99
|
function E(t) {
|
|
@@ -102,13 +102,13 @@ function E(t) {
|
|
|
102
102
|
function v(t) {
|
|
103
103
|
return document.createElement(t);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function D(t, e, n) {
|
|
106
106
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function F(t) {
|
|
109
109
|
return Array.from(t.childNodes);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function G(t) {
|
|
112
112
|
const e = {};
|
|
113
113
|
return t.childNodes.forEach(
|
|
114
114
|
/** @param {Element} node */
|
|
@@ -117,116 +117,123 @@ function V(t) {
|
|
|
117
117
|
}
|
|
118
118
|
), e;
|
|
119
119
|
}
|
|
120
|
-
let
|
|
121
|
-
function
|
|
122
|
-
|
|
120
|
+
let p;
|
|
121
|
+
function _(t) {
|
|
122
|
+
p = t;
|
|
123
|
+
}
|
|
124
|
+
function J() {
|
|
125
|
+
if (!p) throw new Error("Function called outside component initialization");
|
|
126
|
+
return p;
|
|
123
127
|
}
|
|
124
|
-
|
|
128
|
+
function V(t) {
|
|
129
|
+
J().$$.on_mount.push(t);
|
|
130
|
+
}
|
|
131
|
+
const $ = [], w = [];
|
|
125
132
|
let h = [];
|
|
126
|
-
const
|
|
127
|
-
let
|
|
128
|
-
function
|
|
129
|
-
|
|
133
|
+
const A = [], q = /* @__PURE__ */ Promise.resolve();
|
|
134
|
+
let x = !1;
|
|
135
|
+
function K() {
|
|
136
|
+
x || (x = !0, q.then(m));
|
|
130
137
|
}
|
|
131
138
|
function k(t) {
|
|
132
139
|
h.push(t);
|
|
133
140
|
}
|
|
134
141
|
const b = /* @__PURE__ */ new Set();
|
|
135
|
-
let
|
|
142
|
+
let f = 0;
|
|
136
143
|
function m() {
|
|
137
|
-
if (
|
|
144
|
+
if (f !== 0)
|
|
138
145
|
return;
|
|
139
|
-
const t =
|
|
146
|
+
const t = p;
|
|
140
147
|
do {
|
|
141
148
|
try {
|
|
142
|
-
for (;
|
|
143
|
-
const e = f
|
|
144
|
-
|
|
149
|
+
for (; f < $.length; ) {
|
|
150
|
+
const e = $[f];
|
|
151
|
+
f++, _(e), Q(e.$$);
|
|
145
152
|
}
|
|
146
153
|
} catch (e) {
|
|
147
|
-
throw
|
|
154
|
+
throw $.length = 0, f = 0, e;
|
|
148
155
|
}
|
|
149
|
-
for (
|
|
156
|
+
for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
|
|
150
157
|
for (let e = 0; e < h.length; e += 1) {
|
|
151
158
|
const n = h[e];
|
|
152
159
|
b.has(n) || (b.add(n), n());
|
|
153
160
|
}
|
|
154
161
|
h.length = 0;
|
|
155
|
-
} while (
|
|
156
|
-
for (;
|
|
157
|
-
|
|
158
|
-
|
|
162
|
+
} while ($.length);
|
|
163
|
+
for (; A.length; )
|
|
164
|
+
A.pop()();
|
|
165
|
+
x = !1, b.clear(), _(t);
|
|
159
166
|
}
|
|
160
|
-
function
|
|
167
|
+
function Q(t) {
|
|
161
168
|
if (t.fragment !== null) {
|
|
162
169
|
t.update(), y(t.before_update);
|
|
163
170
|
const e = t.dirty;
|
|
164
171
|
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
165
172
|
}
|
|
166
173
|
}
|
|
167
|
-
function
|
|
174
|
+
function W(t) {
|
|
168
175
|
const e = [], n = [];
|
|
169
176
|
h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
|
|
170
177
|
}
|
|
171
|
-
const
|
|
172
|
-
function
|
|
173
|
-
t && t.i && (
|
|
178
|
+
const X = /* @__PURE__ */ new Set();
|
|
179
|
+
function Y(t, e) {
|
|
180
|
+
t && t.i && (X.delete(t), t.i(e));
|
|
174
181
|
}
|
|
175
|
-
function
|
|
182
|
+
function Z(t, e, n) {
|
|
176
183
|
const { fragment: s, after_update: i } = t.$$;
|
|
177
184
|
s && s.m(e, n), k(() => {
|
|
178
|
-
const
|
|
179
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...
|
|
185
|
+
const r = t.$$.on_mount.map(M).filter(N);
|
|
186
|
+
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
|
|
180
187
|
}), i.forEach(k);
|
|
181
188
|
}
|
|
182
|
-
function
|
|
189
|
+
function tt(t, e) {
|
|
183
190
|
const n = t.$$;
|
|
184
|
-
n.fragment !== null && (
|
|
191
|
+
n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
185
192
|
}
|
|
186
|
-
function
|
|
187
|
-
t.$$.dirty[0] === -1 && (
|
|
193
|
+
function et(t, e) {
|
|
194
|
+
t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
188
195
|
}
|
|
189
|
-
function
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
const
|
|
196
|
+
function nt(t, e, n, s, i, r, o = null, l = [-1]) {
|
|
197
|
+
const c = p;
|
|
198
|
+
_(t);
|
|
199
|
+
const u = t.$$ = {
|
|
193
200
|
fragment: null,
|
|
194
201
|
ctx: [],
|
|
195
202
|
// state
|
|
196
|
-
props:
|
|
203
|
+
props: r,
|
|
197
204
|
update: a,
|
|
198
205
|
not_equal: i,
|
|
199
|
-
bound:
|
|
206
|
+
bound: O(),
|
|
200
207
|
// lifecycle
|
|
201
208
|
on_mount: [],
|
|
202
209
|
on_destroy: [],
|
|
203
210
|
on_disconnect: [],
|
|
204
211
|
before_update: [],
|
|
205
212
|
after_update: [],
|
|
206
|
-
context: new Map(e.context || (
|
|
213
|
+
context: new Map(e.context || (c ? c.$$.context : [])),
|
|
207
214
|
// everything else
|
|
208
|
-
callbacks:
|
|
209
|
-
dirty:
|
|
215
|
+
callbacks: O(),
|
|
216
|
+
dirty: l,
|
|
210
217
|
skip_bound: !1,
|
|
211
|
-
root: e.target ||
|
|
218
|
+
root: e.target || c.$$.root
|
|
212
219
|
};
|
|
213
|
-
|
|
214
|
-
let
|
|
215
|
-
if (
|
|
216
|
-
const
|
|
217
|
-
return
|
|
218
|
-
}) : [],
|
|
220
|
+
o && o(u.root);
|
|
221
|
+
let L = !1;
|
|
222
|
+
if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
|
|
223
|
+
const j = S.length ? S[0] : C;
|
|
224
|
+
return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
|
|
225
|
+
}) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
|
|
219
226
|
if (e.hydrate) {
|
|
220
|
-
const d =
|
|
221
|
-
|
|
227
|
+
const d = F(e.target);
|
|
228
|
+
u.fragment && u.fragment.l(d), d.forEach(E);
|
|
222
229
|
} else
|
|
223
|
-
|
|
224
|
-
e.intro &&
|
|
230
|
+
u.fragment && u.fragment.c();
|
|
231
|
+
e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
|
|
225
232
|
}
|
|
226
|
-
|
|
233
|
+
_(c);
|
|
227
234
|
}
|
|
228
|
-
let
|
|
229
|
-
typeof HTMLElement == "function" && (
|
|
235
|
+
let P;
|
|
236
|
+
typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
230
237
|
/** The Svelte component constructor */
|
|
231
238
|
$$ctor;
|
|
232
239
|
/** Slots */
|
|
@@ -265,32 +272,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
265
272
|
if (this.$$cn = !0, !this.$$c) {
|
|
266
273
|
let t = function(i) {
|
|
267
274
|
return () => {
|
|
268
|
-
let
|
|
275
|
+
let r;
|
|
269
276
|
return {
|
|
270
277
|
c: function() {
|
|
271
|
-
|
|
278
|
+
r = v("slot"), i !== "default" && D(r, "name", i);
|
|
272
279
|
},
|
|
273
280
|
/**
|
|
274
281
|
* @param {HTMLElement} target
|
|
275
282
|
* @param {HTMLElement} [anchor]
|
|
276
283
|
*/
|
|
277
|
-
m: function(
|
|
278
|
-
|
|
284
|
+
m: function(c, u) {
|
|
285
|
+
B(c, r, u);
|
|
279
286
|
},
|
|
280
|
-
d: function(
|
|
281
|
-
|
|
287
|
+
d: function(c) {
|
|
288
|
+
c && E(r);
|
|
282
289
|
}
|
|
283
290
|
};
|
|
284
291
|
};
|
|
285
292
|
};
|
|
286
293
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
287
294
|
return;
|
|
288
|
-
const e = {}, n =
|
|
295
|
+
const e = {}, n = G(this);
|
|
289
296
|
for (const i of this.$$s)
|
|
290
297
|
i in n && (e[i] = [t(i)]);
|
|
291
298
|
for (const i of this.attributes) {
|
|
292
|
-
const
|
|
293
|
-
|
|
299
|
+
const r = this.$$g_p(i.name);
|
|
300
|
+
r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
|
|
294
301
|
}
|
|
295
302
|
for (const i in this.$$p_d)
|
|
296
303
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -308,21 +315,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
|
|
|
308
315
|
this.$$r = !0;
|
|
309
316
|
for (const i in this.$$p_d)
|
|
310
317
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
311
|
-
const
|
|
318
|
+
const r = g(
|
|
312
319
|
i,
|
|
313
320
|
this.$$d[i],
|
|
314
321
|
this.$$p_d,
|
|
315
322
|
"toAttribute"
|
|
316
323
|
);
|
|
317
|
-
|
|
324
|
+
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
318
325
|
}
|
|
319
326
|
this.$$r = !1;
|
|
320
327
|
};
|
|
321
328
|
this.$$c.$$.after_update.push(s), s();
|
|
322
329
|
for (const i in this.$$l)
|
|
323
|
-
for (const
|
|
324
|
-
const
|
|
325
|
-
this.$$l_u.set(
|
|
330
|
+
for (const r of this.$$l[i]) {
|
|
331
|
+
const o = this.$$c.$on(i, r);
|
|
332
|
+
this.$$l_u.set(r, o);
|
|
326
333
|
}
|
|
327
334
|
this.$$l = {};
|
|
328
335
|
}
|
|
@@ -372,36 +379,36 @@ function g(t, e, n, s) {
|
|
|
372
379
|
return e;
|
|
373
380
|
}
|
|
374
381
|
}
|
|
375
|
-
function
|
|
376
|
-
let
|
|
382
|
+
function it(t, e, n, s, i, r) {
|
|
383
|
+
let o = class extends P {
|
|
377
384
|
constructor() {
|
|
378
385
|
super(t, n, i), this.$$p_d = e;
|
|
379
386
|
}
|
|
380
387
|
static get observedAttributes() {
|
|
381
388
|
return Object.keys(e).map(
|
|
382
|
-
(
|
|
389
|
+
(l) => (e[l].attribute || l).toLowerCase()
|
|
383
390
|
);
|
|
384
391
|
}
|
|
385
392
|
};
|
|
386
|
-
return Object.keys(e).forEach((
|
|
387
|
-
Object.defineProperty(
|
|
393
|
+
return Object.keys(e).forEach((l) => {
|
|
394
|
+
Object.defineProperty(o.prototype, l, {
|
|
388
395
|
get() {
|
|
389
|
-
return this.$$c &&
|
|
396
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
390
397
|
},
|
|
391
|
-
set(
|
|
392
|
-
|
|
398
|
+
set(c) {
|
|
399
|
+
c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
393
400
|
}
|
|
394
401
|
});
|
|
395
|
-
}), s.forEach((
|
|
396
|
-
Object.defineProperty(
|
|
402
|
+
}), s.forEach((l) => {
|
|
403
|
+
Object.defineProperty(o.prototype, l, {
|
|
397
404
|
get() {
|
|
398
|
-
return this.$$c?.[
|
|
405
|
+
return this.$$c?.[l];
|
|
399
406
|
}
|
|
400
407
|
});
|
|
401
408
|
}), t.element = /** @type {any} */
|
|
402
|
-
|
|
409
|
+
o, o;
|
|
403
410
|
}
|
|
404
|
-
class
|
|
411
|
+
class st {
|
|
405
412
|
/**
|
|
406
413
|
* ### PRIVATE API
|
|
407
414
|
*
|
|
@@ -420,7 +427,7 @@ class nt {
|
|
|
420
427
|
$$set = void 0;
|
|
421
428
|
/** @returns {void} */
|
|
422
429
|
$destroy() {
|
|
423
|
-
|
|
430
|
+
tt(this, 1), this.$destroy = a;
|
|
424
431
|
}
|
|
425
432
|
/**
|
|
426
433
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -429,7 +436,7 @@ class nt {
|
|
|
429
436
|
* @returns {() => void}
|
|
430
437
|
*/
|
|
431
438
|
$on(e, n) {
|
|
432
|
-
if (!
|
|
439
|
+
if (!N(n))
|
|
433
440
|
return a;
|
|
434
441
|
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
435
442
|
return s.push(n), () => {
|
|
@@ -442,67 +449,93 @@ class nt {
|
|
|
442
449
|
* @returns {void}
|
|
443
450
|
*/
|
|
444
451
|
$set(e) {
|
|
445
|
-
this.$$set && !
|
|
452
|
+
this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
const rt = "4";
|
|
456
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
|
|
457
|
+
function ct(t, e) {
|
|
458
|
+
if (t) {
|
|
459
|
+
const n = document.createElement("style");
|
|
460
|
+
n.innerHTML = e, t.appendChild(n);
|
|
446
461
|
}
|
|
447
462
|
}
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
463
|
+
function ot(t, e) {
|
|
464
|
+
const n = new URL(e);
|
|
465
|
+
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
466
|
+
const i = document.createElement("style");
|
|
467
|
+
i.innerHTML = s, t && t.appendChild(i);
|
|
468
|
+
}).catch((s) => {
|
|
469
|
+
console.error("There was an error while trying to load client styling from URL", s);
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
function lt(t, e, n) {
|
|
473
|
+
if (window.emMessageBus) {
|
|
474
|
+
const s = document.createElement("style");
|
|
475
|
+
window.emMessageBus.subscribe(e, (i) => {
|
|
476
|
+
s.innerHTML = i, t && t.appendChild(s);
|
|
477
|
+
});
|
|
478
|
+
}
|
|
452
479
|
}
|
|
453
|
-
function
|
|
480
|
+
function ut(t) {
|
|
481
|
+
U(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
|
|
482
|
+
}
|
|
483
|
+
function dt(t) {
|
|
454
484
|
let e;
|
|
455
485
|
return {
|
|
456
486
|
c() {
|
|
457
|
-
e = v("div"), e.innerHTML = '<section class="LoaderContainer"
|
|
487
|
+
e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
458
488
|
},
|
|
459
489
|
m(n, s) {
|
|
460
|
-
|
|
490
|
+
B(n, e, s), t[4](e);
|
|
461
491
|
},
|
|
462
492
|
p: a,
|
|
463
493
|
i: a,
|
|
464
494
|
o: a,
|
|
465
495
|
d(n) {
|
|
466
|
-
n && E(e), t[
|
|
496
|
+
n && E(e), t[4](null);
|
|
467
497
|
}
|
|
468
498
|
};
|
|
469
499
|
}
|
|
470
|
-
function
|
|
471
|
-
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e,
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
fetch(r.href).then((d) => d.text()).then((d) => {
|
|
478
|
-
_.innerHTML = d, setTimeout(
|
|
479
|
-
() => {
|
|
480
|
-
l.appendChild(_);
|
|
481
|
-
},
|
|
482
|
-
1
|
|
483
|
-
), setTimeout(
|
|
484
|
-
() => {
|
|
485
|
-
},
|
|
486
|
-
500
|
|
487
|
-
);
|
|
488
|
-
});
|
|
489
|
-
};
|
|
490
|
-
function o(r) {
|
|
491
|
-
x[r ? "unshift" : "push"](() => {
|
|
492
|
-
l = r, n(0, l);
|
|
500
|
+
function ft(t, e, n) {
|
|
501
|
+
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
|
|
502
|
+
V(() => () => {
|
|
503
|
+
});
|
|
504
|
+
function l(c) {
|
|
505
|
+
w[c ? "unshift" : "push"](() => {
|
|
506
|
+
o = c, n(0, o);
|
|
493
507
|
});
|
|
494
508
|
}
|
|
495
|
-
return t.$$set = (
|
|
496
|
-
"clientstyling" in
|
|
509
|
+
return t.$$set = (c) => {
|
|
510
|
+
"clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
|
|
497
511
|
}, t.$$.update = () => {
|
|
498
512
|
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
499
|
-
3 && s &&
|
|
500
|
-
5 && i &&
|
|
501
|
-
|
|
502
|
-
}
|
|
503
|
-
|
|
513
|
+
3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
514
|
+
5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
515
|
+
9 && r && o && lt(o, `${r}.Style`);
|
|
516
|
+
}, [
|
|
517
|
+
o,
|
|
518
|
+
s,
|
|
519
|
+
i,
|
|
520
|
+
r,
|
|
521
|
+
l
|
|
522
|
+
];
|
|
523
|
+
}
|
|
524
|
+
class $t extends st {
|
|
504
525
|
constructor(e) {
|
|
505
|
-
super(),
|
|
526
|
+
super(), nt(
|
|
527
|
+
this,
|
|
528
|
+
e,
|
|
529
|
+
ft,
|
|
530
|
+
dt,
|
|
531
|
+
R,
|
|
532
|
+
{
|
|
533
|
+
clientstyling: 1,
|
|
534
|
+
clientstylingurl: 2,
|
|
535
|
+
mbsource: 3
|
|
536
|
+
},
|
|
537
|
+
ut
|
|
538
|
+
);
|
|
506
539
|
}
|
|
507
540
|
get clientstyling() {
|
|
508
541
|
return this.$$.ctx[1];
|
|
@@ -516,8 +549,14 @@ class ct extends nt {
|
|
|
516
549
|
set clientstylingurl(e) {
|
|
517
550
|
this.$$set({ clientstylingurl: e }), m();
|
|
518
551
|
}
|
|
552
|
+
get mbsource() {
|
|
553
|
+
return this.$$.ctx[3];
|
|
554
|
+
}
|
|
555
|
+
set mbsource(e) {
|
|
556
|
+
this.$$set({ mbsource: e }), m();
|
|
557
|
+
}
|
|
519
558
|
}
|
|
520
|
-
|
|
559
|
+
it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
521
560
|
|
|
522
561
|
function i(n) {
|
|
523
562
|
return function(...t) {
|
|
@@ -531,7 +570,7 @@ function i(n) {
|
|
|
531
570
|
};
|
|
532
571
|
}
|
|
533
572
|
customElements.define = i(customElements.define);
|
|
534
|
-
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading",
|
|
573
|
+
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
|
|
535
574
|
|
|
536
575
|
var LuckyWheelRewardType;
|
|
537
576
|
(function (LuckyWheelRewardType) {
|
|
@@ -2790,6 +2829,39 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2790
2829
|
constructor(hostRef) {
|
|
2791
2830
|
registerInstance(this, hostRef);
|
|
2792
2831
|
this.close = createEvent(this, "close", 7);
|
|
2832
|
+
/**
|
|
2833
|
+
* Client custom styling via string
|
|
2834
|
+
*/
|
|
2835
|
+
this.clientStyling = '';
|
|
2836
|
+
/**
|
|
2837
|
+
* Client custom styling via url
|
|
2838
|
+
*/
|
|
2839
|
+
this.clientStylingUrl = '';
|
|
2840
|
+
/**
|
|
2841
|
+
* Language of the widget
|
|
2842
|
+
*/
|
|
2843
|
+
this.language = 'en';
|
|
2844
|
+
/**
|
|
2845
|
+
* User's device type
|
|
2846
|
+
*/
|
|
2847
|
+
this.device = 'Mobile';
|
|
2848
|
+
/**
|
|
2849
|
+
* List of lucky wheels
|
|
2850
|
+
*/
|
|
2851
|
+
this.luckyWheels = [];
|
|
2852
|
+
/**
|
|
2853
|
+
* Translations via URL
|
|
2854
|
+
*/
|
|
2855
|
+
this.translationUrl = '';
|
|
2856
|
+
this.tooltip = false;
|
|
2857
|
+
this.timers = {};
|
|
2858
|
+
this.limitStylingAppends = false;
|
|
2859
|
+
this.activeTab = 1;
|
|
2860
|
+
this.historyLoading = false;
|
|
2861
|
+
this.luckywheelHistory = {};
|
|
2862
|
+
this.openedHistoryIds = [];
|
|
2863
|
+
this.historyLoaded = false;
|
|
2864
|
+
this.isLoading = false;
|
|
2793
2865
|
this.setClientStyling = () => {
|
|
2794
2866
|
let sheet = document.createElement('style');
|
|
2795
2867
|
sheet.innerHTML = this.clientStyling;
|
|
@@ -2840,21 +2912,6 @@ const CasinoEngagementSuiteLuckyWheelList = class {
|
|
|
2840
2912
|
}
|
|
2841
2913
|
this.openedHistoryIds = [...this.openedHistoryIds];
|
|
2842
2914
|
};
|
|
2843
|
-
this.clientStyling = '';
|
|
2844
|
-
this.clientStylingUrl = '';
|
|
2845
|
-
this.language = 'en';
|
|
2846
|
-
this.device = 'Mobile';
|
|
2847
|
-
this.luckyWheels = [];
|
|
2848
|
-
this.translationUrl = '';
|
|
2849
|
-
this.tooltip = false;
|
|
2850
|
-
this.timers = {};
|
|
2851
|
-
this.limitStylingAppends = false;
|
|
2852
|
-
this.activeTab = 1;
|
|
2853
|
-
this.historyLoading = false;
|
|
2854
|
-
this.luckywheelHistory = {};
|
|
2855
|
-
this.openedHistoryIds = [];
|
|
2856
|
-
this.historyLoaded = false;
|
|
2857
|
-
this.isLoading = false;
|
|
2858
2915
|
}
|
|
2859
2916
|
handleEvent(e) {
|
|
2860
2917
|
const { type } = e === null || e === void 0 ? void 0 : e.data;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-ccb37e4c.js';
|
|
2
|
+
export { s as setNonce } from './index-ccb37e4c.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|