@everymatrix/casino-game-overlay 1.91.0 → 1.91.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/components/{CasinoCoinroyaleContainer-DWB4R3Yr.js → CasinoCoinroyaleContainer-CLLpK1Ed.js} +4 -4
  2. package/components/{CasinoCoinroyaleContainer-Dd3WuhZB.cjs → CasinoCoinroyaleContainer-DHTzWkTJ.cjs} +1 -1
  3. package/components/{CasinoCoinroyaleContainer-CYo6yViq.js → CasinoCoinroyaleContainer-DqnKbBE7.js} +4 -4
  4. package/components/{CasinoCoinroyaleDetails-DSCo5sxs.js → CasinoCoinroyaleDetails-BdVDEPTm.js} +35 -35
  5. package/components/{CasinoCoinroyaleDetails-M-nsYaMC.cjs → CasinoCoinroyaleDetails-Em4xQoca.cjs} +1 -1
  6. package/components/{CasinoCoinroyaleDetails-BUuIGEfN.js → CasinoCoinroyaleDetails-X9TUrtj4.js} +33 -33
  7. package/components/{CasinoCoinroyaleList-nxJ_snBZ.cjs → CasinoCoinroyaleList-C6hKfOYw.cjs} +1 -1
  8. package/components/{CasinoCoinroyaleList-OFDWkS10.js → CasinoCoinroyaleList-DVSWGc29.js} +82 -82
  9. package/components/{CasinoCoinroyaleList-Ptn_lFhJ.js → CasinoCoinroyaleList-IplknfV1.js} +78 -78
  10. package/components/{CasinoGameOverlay-BW5pLP3w.js → CasinoGameOverlay-BtzBFnKd.js} +956 -611
  11. package/components/CasinoGameOverlay-DcfvouvT.cjs +4 -0
  12. package/components/{CasinoGameOverlay-BpgkV_Qf.js → CasinoGameOverlay-V7LdfRMk.js} +884 -540
  13. package/components/{CasinoMysteryChestContainer-BKyPp7ed.js → CasinoMysteryChestContainer-2q39nbfp.js} +4 -4
  14. package/components/{CasinoMysteryChestContainer-CoWCxXc4.cjs → CasinoMysteryChestContainer-BckJ8kSf.cjs} +1 -1
  15. package/components/{CasinoMysteryChestContainer-24nFpYMD.js → CasinoMysteryChestContainer-Bu5soH27.js} +4 -4
  16. package/components/{CasinoMysteryChestDetails-2vpt5ay2.js → CasinoMysteryChestDetails-B29xnOYi.js} +103 -101
  17. package/components/CasinoMysteryChestDetails-DJ6gz5xx.cjs +2 -0
  18. package/components/{CasinoMysteryChestDetails-YKYKG04E.js → CasinoMysteryChestDetails-Dd_ZCPFZ.js} +88 -86
  19. package/components/{CasinoMysteryChestModal-Bdgv0LOT.cjs → CasinoMysteryChestModal-CPrsQruR.cjs} +1 -1
  20. package/components/{CasinoMysteryChestModal-COfIacO_.js → CasinoMysteryChestModal-D8hCr0GS.js} +1 -1
  21. package/components/{CasinoMysteryChestModal-BzmBgt4C.js → CasinoMysteryChestModal-liWPvZLw.js} +1 -1
  22. package/components/{CasinoMysteryChestsList-DpPvplqH.js → CasinoMysteryChestsList-Bn1f7GtL.js} +35 -35
  23. package/components/{CasinoMysteryChestsList-DGb9yJ0g.js → CasinoMysteryChestsList-CV29Ly-U.js} +39 -39
  24. package/components/{CasinoMysteryChestsList-CdV3_k_m.cjs → CasinoMysteryChestsList-ZlpUP-_c.cjs} +1 -1
  25. package/components/{LotteryProgramWof-HYEpHNkB.js → LotteryProgramWof-BKlE0kKR.js} +2923 -2229
  26. package/components/LotteryProgramWof-BXO9ySHI.cjs +36 -0
  27. package/components/{LotteryProgramWof-D3ipu58U.js → LotteryProgramWof-CONWAs8w.js} +3386 -2518
  28. package/components/PrizeEngineChest-BpgJBZ-Y.cjs +1 -0
  29. package/components/PrizeEngineChest-D-GSJmRs.js +243 -0
  30. package/components/PrizeEngineChest-DQ2V6oL0.js +265 -0
  31. package/components/PrizeEngineCoin-C7AvFwNL.js +294 -0
  32. package/components/PrizeEngineCoin-DMf_jPUy.cjs +1 -0
  33. package/components/PrizeEngineCoin-jRTdpoLr.js +272 -0
  34. package/components/PrizeEngineDetails-B32Oyuua.cjs +1 -0
  35. package/components/PrizeEngineDetails-Bok3RJt0.js +1956 -0
  36. package/components/PrizeEngineDetails-BwwbWZIV.js +1996 -0
  37. package/components/PrizeEngineHistory--7ch2ibC.js +561 -0
  38. package/components/PrizeEngineHistory-BS2YDAR_.cjs +1 -0
  39. package/components/PrizeEngineHistory-CT4oW3nn.js +531 -0
  40. package/components/PrizeEngineList-BtST-Ok-.js +473 -0
  41. package/components/PrizeEngineList-C8K3okMV.js +439 -0
  42. package/components/PrizeEngineList-CzJMqs2M.cjs +1 -0
  43. package/components/PrizeEngineLuckywheel-B_dOeIeL.cjs +1 -0
  44. package/components/PrizeEngineLuckywheel-CDAcodqf.js +273 -0
  45. package/components/PrizeEngineLuckywheel-sIZh84m_.js +273 -0
  46. package/components/PrizeEngineSuite-CZAGeW2x.cjs +1 -0
  47. package/components/PrizeEngineSuite-MfBz9bMX.js +713 -0
  48. package/components/PrizeEngineSuite-SzG6RFWp.js +713 -0
  49. package/components/WheelSVG-BKSG01DQ.js +1476 -0
  50. package/components/WheelSVG-BVu6Gymg.cjs +34 -0
  51. package/components/WheelSVG-ClHiUv-P.js +1442 -0
  52. package/es2015/casino-game-overlay.cjs +1 -1
  53. package/es2015/casino-game-overlay.js +1 -1
  54. package/esnext/casino-game-overlay.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CasinoGameOverlay-DhfutTdf.cjs +0 -1
  57. package/components/CasinoMysteryChestDetails-DUuxpGjN.cjs +0 -2
  58. package/components/LotteryProgramWof-BwjH4rzJ.cjs +0 -35
@@ -0,0 +1,273 @@
1
+ import { S as J, b as O, s as V, f as g, d as K, e as W, y as M, x as _, G as T, z as B, g as R, l as L, m as P, N as F, o as H, a3 as Q, p as X, a4 as Y, a5 as Z, A as E, I as $, J as ee, K as te, c as ne } from "./CasinoGameOverlay-V7LdfRMk.js";
2
+ import { i as ie } from "./CasinoMysteryChestContainer-Bu5soH27.js";
3
+ import { s as se, a as le, W as re, b as ae } from "./WheelSVG-ClHiUv-P.js";
4
+ function oe(i) {
5
+ K(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
6
+ }
7
+ function G(i) {
8
+ let e, s, t, r, c = {
9
+ lang: (
10
+ /*lang*/
11
+ i[0]
12
+ ),
13
+ contentdirection: (
14
+ /*contentdirection*/
15
+ i[1]
16
+ ),
17
+ bonus: (
18
+ /*activeGame*/
19
+ i[4]
20
+ ),
21
+ size: (
22
+ /*_internalSize*/
23
+ i[3]
24
+ ),
25
+ radius: (
26
+ /*radius*/
27
+ i[7]
28
+ )
29
+ };
30
+ return t = new re({ props: c }), i[17](t), t.$on(
31
+ "spinning",
32
+ /*spinning_handler*/
33
+ i[18]
34
+ ), t.$on(
35
+ "spinning-request",
36
+ /*spinning_request_handler*/
37
+ i[19]
38
+ ), t.$on(
39
+ "success",
40
+ /*success_handler*/
41
+ i[20]
42
+ ), {
43
+ c() {
44
+ e = L("div"), s = L("div"), Z(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
45
+ },
46
+ m(l, a) {
47
+ R(l, e, a), X(e, s), Y(t, s, null), r = !0;
48
+ },
49
+ p(l, a) {
50
+ const o = {};
51
+ a & /*lang*/
52
+ 1 && (o.lang = /*lang*/
53
+ l[0]), a & /*contentdirection*/
54
+ 2 && (o.contentdirection = /*contentdirection*/
55
+ l[1]), a & /*activeGame*/
56
+ 16 && (o.bonus = /*activeGame*/
57
+ l[4]), a & /*_internalSize*/
58
+ 8 && (o.size = /*_internalSize*/
59
+ l[3]), a & /*radius*/
60
+ 128 && (o.radius = /*radius*/
61
+ l[7]), t.$set(o);
62
+ },
63
+ i(l) {
64
+ r || (_(t.$$.fragment, l), r = !0);
65
+ },
66
+ o(l) {
67
+ M(t.$$.fragment, l), r = !1;
68
+ },
69
+ d(l) {
70
+ l && W(e), i[17](null), Q(t);
71
+ }
72
+ };
73
+ }
74
+ function ce(i) {
75
+ let e, s, t = (
76
+ /*activeGame*/
77
+ i[4] && G(i)
78
+ );
79
+ return {
80
+ c() {
81
+ e = L("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), F(
82
+ e,
83
+ "Mobile",
84
+ /*mobileView*/
85
+ i[8]
86
+ );
87
+ },
88
+ m(r, c) {
89
+ R(r, e, c), t && t.m(e, null), i[21](e), s = !0;
90
+ },
91
+ p(r, [c]) {
92
+ /*activeGame*/
93
+ r[4] ? t ? (t.p(r, c), c & /*activeGame*/
94
+ 16 && _(t, 1)) : (t = G(r), t.c(), _(t, 1), t.m(e, null)) : t && (T(), M(t, 1, 1, () => {
95
+ t = null;
96
+ }), B());
97
+ },
98
+ i(r) {
99
+ s || (_(t), s = !0);
100
+ },
101
+ o(r) {
102
+ M(t), s = !1;
103
+ },
104
+ d(r) {
105
+ r && W(e), t && t.d(), i[21](null);
106
+ }
107
+ };
108
+ }
109
+ let ue = null;
110
+ function fe(i, e, s) {
111
+ let t, r, c, { data: l = null } = e, { lang: a = "en" } = e, { clientstyling: o = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: b = "" } = e, { mbsource: w = "" } = e, { size: S = 324 } = e, { mobilesize: z = 240 } = e, { contentdirection: v = "anticlockwise" } = e, k = null, u;
112
+ const C = ie(window.navigator.userAgent);
113
+ let f, m = !1;
114
+ se();
115
+ const p = () => {
116
+ fetch(b).then((d) => d.json()).then((d) => {
117
+ Object.keys(d).forEach((h) => {
118
+ ae(h, d[h]);
119
+ });
120
+ });
121
+ }, j = (n) => {
122
+ f && f.setDrawResult(n);
123
+ }, q = () => {
124
+ m || (s(6, m = !0), f && f.eventSpin());
125
+ };
126
+ H(() => {
127
+ const n = (d) => {
128
+ const { type: h, data: I } = d.data;
129
+ h === "PrizeGameResult" ? j(I) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && q();
130
+ };
131
+ return window.addEventListener("message", n), () => {
132
+ window.removeEventListener("message", n);
133
+ };
134
+ });
135
+ function x(n) {
136
+ E[n ? "unshift" : "push"](() => {
137
+ f = n, s(5, f);
138
+ });
139
+ }
140
+ const D = () => s(6, m = !0), A = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), N = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
141
+ function U(n) {
142
+ E[n ? "unshift" : "push"](() => {
143
+ u = n, s(2, u);
144
+ });
145
+ }
146
+ return i.$$set = (n) => {
147
+ "data" in n && s(9, l = n.data), "lang" in n && s(0, a = n.lang), "clientstyling" in n && s(10, o = n.clientstyling), "clientstylingurl" in n && s(11, y = n.clientstylingurl), "translationurl" in n && s(12, b = n.translationurl), "mbsource" in n && s(13, w = n.mbsource), "size" in n && s(14, S = n.size), "mobilesize" in n && s(15, z = n.mobilesize), "contentdirection" in n && s(1, v = n.contentdirection);
148
+ }, i.$$.update = () => {
149
+ if (i.$$.dirty & /*data*/
150
+ 512)
151
+ if (typeof l == "string")
152
+ try {
153
+ s(4, k = JSON.parse(l));
154
+ } catch (n) {
155
+ console.error("[Luckywheel] Parse failed", n);
156
+ }
157
+ else
158
+ s(4, k = l);
159
+ i.$$.dirty & /*lang*/
160
+ 1 && a && le(a), i.$$.dirty & /*translationurl*/
161
+ 4096 && b && p(), i.$$.dirty & /*clientstyling, rootContainer*/
162
+ 1028 && o && u && $(u, o), i.$$.dirty & /*clientstylingurl, rootContainer*/
163
+ 2052 && y && u && ee(u, y), i.$$.dirty & /*mbsource, rootContainer*/
164
+ 8196 && w && u && te(u, `${w}.Style`, ue), i.$$.dirty & /*mobilesize, size*/
165
+ 49152 && s(16, t = C && z ? z : S), i.$$.dirty & /*_size*/
166
+ 65536 && s(3, r = t / 0.6875), i.$$.dirty & /*_internalSize*/
167
+ 8 && s(7, c = 0.62 * r / 2);
168
+ }, [
169
+ a,
170
+ v,
171
+ u,
172
+ r,
173
+ k,
174
+ f,
175
+ m,
176
+ c,
177
+ C,
178
+ l,
179
+ o,
180
+ y,
181
+ b,
182
+ w,
183
+ S,
184
+ z,
185
+ t,
186
+ x,
187
+ D,
188
+ A,
189
+ N,
190
+ U
191
+ ];
192
+ }
193
+ class ge extends J {
194
+ constructor(e) {
195
+ super(), O(
196
+ this,
197
+ e,
198
+ fe,
199
+ ce,
200
+ V,
201
+ {
202
+ data: 9,
203
+ lang: 0,
204
+ clientstyling: 10,
205
+ clientstylingurl: 11,
206
+ translationurl: 12,
207
+ mbsource: 13,
208
+ size: 14,
209
+ mobilesize: 15,
210
+ contentdirection: 1
211
+ },
212
+ oe
213
+ );
214
+ }
215
+ get data() {
216
+ return this.$$.ctx[9];
217
+ }
218
+ set data(e) {
219
+ this.$$set({ data: e }), g();
220
+ }
221
+ get lang() {
222
+ return this.$$.ctx[0];
223
+ }
224
+ set lang(e) {
225
+ this.$$set({ lang: e }), g();
226
+ }
227
+ get clientstyling() {
228
+ return this.$$.ctx[10];
229
+ }
230
+ set clientstyling(e) {
231
+ this.$$set({ clientstyling: e }), g();
232
+ }
233
+ get clientstylingurl() {
234
+ return this.$$.ctx[11];
235
+ }
236
+ set clientstylingurl(e) {
237
+ this.$$set({ clientstylingurl: e }), g();
238
+ }
239
+ get translationurl() {
240
+ return this.$$.ctx[12];
241
+ }
242
+ set translationurl(e) {
243
+ this.$$set({ translationurl: e }), g();
244
+ }
245
+ get mbsource() {
246
+ return this.$$.ctx[13];
247
+ }
248
+ set mbsource(e) {
249
+ this.$$set({ mbsource: e }), g();
250
+ }
251
+ get size() {
252
+ return this.$$.ctx[14];
253
+ }
254
+ set size(e) {
255
+ this.$$set({ size: e }), g();
256
+ }
257
+ get mobilesize() {
258
+ return this.$$.ctx[15];
259
+ }
260
+ set mobilesize(e) {
261
+ this.$$set({ mobilesize: e }), g();
262
+ }
263
+ get contentdirection() {
264
+ return this.$$.ctx[1];
265
+ }
266
+ set contentdirection(e) {
267
+ this.$$set({ contentdirection: e }), g();
268
+ }
269
+ }
270
+ customElements.define("prize-engine-luckywheel", ne(ge, { data: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, size: {}, mobilesize: {}, contentdirection: {} }, [], [], !0));
271
+ export {
272
+ ge as default
273
+ };
@@ -0,0 +1,273 @@
1
+ import { S as J, b as O, s as V, f as g, c as K, d as W, y as M, x as _, G as T, z as B, e as R, k as L, l as P, N as F, o as H, a3 as Q, m as X, a4 as Y, a5 as Z, A as E, I as $, J as ee, K as te, t as ne } from "./CasinoGameOverlay-BtzBFnKd.js";
2
+ import { i as ie } from "./CasinoMysteryChestContainer-2q39nbfp.js";
3
+ import { s as se, a as le, W as re, b as ae } from "./WheelSVG-BKSG01DQ.js";
4
+ function oe(i) {
5
+ K(i, "svelte-12d9sfg", '.PrizeLuckywheelContainer.svelte-12d9sfg{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:20px;box-sizing:border-box;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeLuckywheelContainer.Mobile.svelte-12d9sfg{padding:10px}.MainSection.svelte-12d9sfg{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;position:relative}.WheelWrapper.svelte-12d9sfg{flex-grow:1;display:flex;align-items:center;justify-content:center;min-height:0;width:100%}');
6
+ }
7
+ function G(i) {
8
+ let e, s, t, r, c = {
9
+ lang: (
10
+ /*lang*/
11
+ i[0]
12
+ ),
13
+ contentdirection: (
14
+ /*contentdirection*/
15
+ i[1]
16
+ ),
17
+ bonus: (
18
+ /*activeGame*/
19
+ i[4]
20
+ ),
21
+ size: (
22
+ /*_internalSize*/
23
+ i[3]
24
+ ),
25
+ radius: (
26
+ /*radius*/
27
+ i[7]
28
+ )
29
+ };
30
+ return t = new re({ props: c }), i[17](t), t.$on(
31
+ "spinning",
32
+ /*spinning_handler*/
33
+ i[18]
34
+ ), t.$on(
35
+ "spinning-request",
36
+ /*spinning_request_handler*/
37
+ i[19]
38
+ ), t.$on(
39
+ "success",
40
+ /*success_handler*/
41
+ i[20]
42
+ ), {
43
+ c() {
44
+ e = L("div"), s = L("div"), Z(t.$$.fragment), P(s, "class", "WheelWrapper svelte-12d9sfg"), P(e, "class", "MainSection svelte-12d9sfg");
45
+ },
46
+ m(l, a) {
47
+ R(l, e, a), X(e, s), Y(t, s, null), r = !0;
48
+ },
49
+ p(l, a) {
50
+ const o = {};
51
+ a & /*lang*/
52
+ 1 && (o.lang = /*lang*/
53
+ l[0]), a & /*contentdirection*/
54
+ 2 && (o.contentdirection = /*contentdirection*/
55
+ l[1]), a & /*activeGame*/
56
+ 16 && (o.bonus = /*activeGame*/
57
+ l[4]), a & /*_internalSize*/
58
+ 8 && (o.size = /*_internalSize*/
59
+ l[3]), a & /*radius*/
60
+ 128 && (o.radius = /*radius*/
61
+ l[7]), t.$set(o);
62
+ },
63
+ i(l) {
64
+ r || (_(t.$$.fragment, l), r = !0);
65
+ },
66
+ o(l) {
67
+ M(t.$$.fragment, l), r = !1;
68
+ },
69
+ d(l) {
70
+ l && W(e), i[17](null), Q(t);
71
+ }
72
+ };
73
+ }
74
+ function ce(i) {
75
+ let e, s, t = (
76
+ /*activeGame*/
77
+ i[4] && G(i)
78
+ );
79
+ return {
80
+ c() {
81
+ e = L("div"), t && t.c(), P(e, "class", "PrizeLuckywheelContainer svelte-12d9sfg"), F(
82
+ e,
83
+ "Mobile",
84
+ /*mobileView*/
85
+ i[8]
86
+ );
87
+ },
88
+ m(r, c) {
89
+ R(r, e, c), t && t.m(e, null), i[21](e), s = !0;
90
+ },
91
+ p(r, [c]) {
92
+ /*activeGame*/
93
+ r[4] ? t ? (t.p(r, c), c & /*activeGame*/
94
+ 16 && _(t, 1)) : (t = G(r), t.c(), _(t, 1), t.m(e, null)) : t && (T(), M(t, 1, 1, () => {
95
+ t = null;
96
+ }), B());
97
+ },
98
+ i(r) {
99
+ s || (_(t), s = !0);
100
+ },
101
+ o(r) {
102
+ M(t), s = !1;
103
+ },
104
+ d(r) {
105
+ r && W(e), t && t.d(), i[21](null);
106
+ }
107
+ };
108
+ }
109
+ let ue = null;
110
+ function fe(i, e, s) {
111
+ let t, r, c, { data: l = null } = e, { lang: a = "en" } = e, { clientstyling: o = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: b = "" } = e, { mbsource: w = "" } = e, { size: S = 324 } = e, { mobilesize: z = 240 } = e, { contentdirection: v = "anticlockwise" } = e, k = null, u;
112
+ const C = ie(window.navigator.userAgent);
113
+ let f, m = !1;
114
+ se();
115
+ const j = () => {
116
+ fetch(b).then((d) => d.json()).then((d) => {
117
+ Object.keys(d).forEach((h) => {
118
+ ae(h, d[h]);
119
+ });
120
+ });
121
+ }, p = (n) => {
122
+ f && f.setDrawResult(n);
123
+ }, q = () => {
124
+ m || (s(6, m = !0), f && f.eventSpin());
125
+ };
126
+ H(() => {
127
+ const n = (d) => {
128
+ const { type: h, data: I } = d.data;
129
+ h === "PrizeGameResult" ? p(I) : h === "PrizeResultClose" ? (s(6, m = !1), f && f.closeMessage()) : h === "PrizeGameStartAnimation" && q();
130
+ };
131
+ return window.addEventListener("message", n), () => {
132
+ window.removeEventListener("message", n);
133
+ };
134
+ });
135
+ function x(n) {
136
+ E[n ? "unshift" : "push"](() => {
137
+ f = n, s(5, f);
138
+ });
139
+ }
140
+ const D = () => s(6, m = !0), A = () => window.postMessage({ type: "PrizeGameRequestDraw" }, "*"), N = () => window.postMessage({ type: "PrizeGameSpinEnd" }, "*");
141
+ function U(n) {
142
+ E[n ? "unshift" : "push"](() => {
143
+ u = n, s(2, u);
144
+ });
145
+ }
146
+ return i.$$set = (n) => {
147
+ "data" in n && s(9, l = n.data), "lang" in n && s(0, a = n.lang), "clientstyling" in n && s(10, o = n.clientstyling), "clientstylingurl" in n && s(11, y = n.clientstylingurl), "translationurl" in n && s(12, b = n.translationurl), "mbsource" in n && s(13, w = n.mbsource), "size" in n && s(14, S = n.size), "mobilesize" in n && s(15, z = n.mobilesize), "contentdirection" in n && s(1, v = n.contentdirection);
148
+ }, i.$$.update = () => {
149
+ if (i.$$.dirty & /*data*/
150
+ 512)
151
+ if (typeof l == "string")
152
+ try {
153
+ s(4, k = JSON.parse(l));
154
+ } catch (n) {
155
+ console.error("[Luckywheel] Parse failed", n);
156
+ }
157
+ else
158
+ s(4, k = l);
159
+ i.$$.dirty & /*lang*/
160
+ 1 && a && le(a), i.$$.dirty & /*translationurl*/
161
+ 4096 && b && j(), i.$$.dirty & /*clientstyling, rootContainer*/
162
+ 1028 && o && u && $(u, o), i.$$.dirty & /*clientstylingurl, rootContainer*/
163
+ 2052 && y && u && ee(u, y), i.$$.dirty & /*mbsource, rootContainer*/
164
+ 8196 && w && u && te(u, `${w}.Style`, ue), i.$$.dirty & /*mobilesize, size*/
165
+ 49152 && s(16, t = C && z ? z : S), i.$$.dirty & /*_size*/
166
+ 65536 && s(3, r = t / 0.6875), i.$$.dirty & /*_internalSize*/
167
+ 8 && s(7, c = 0.62 * r / 2);
168
+ }, [
169
+ a,
170
+ v,
171
+ u,
172
+ r,
173
+ k,
174
+ f,
175
+ m,
176
+ c,
177
+ C,
178
+ l,
179
+ o,
180
+ y,
181
+ b,
182
+ w,
183
+ S,
184
+ z,
185
+ t,
186
+ x,
187
+ D,
188
+ A,
189
+ N,
190
+ U
191
+ ];
192
+ }
193
+ class ge extends J {
194
+ constructor(e) {
195
+ super(), O(
196
+ this,
197
+ e,
198
+ fe,
199
+ ce,
200
+ V,
201
+ {
202
+ data: 9,
203
+ lang: 0,
204
+ clientstyling: 10,
205
+ clientstylingurl: 11,
206
+ translationurl: 12,
207
+ mbsource: 13,
208
+ size: 14,
209
+ mobilesize: 15,
210
+ contentdirection: 1
211
+ },
212
+ oe
213
+ );
214
+ }
215
+ get data() {
216
+ return this.$$.ctx[9];
217
+ }
218
+ set data(e) {
219
+ this.$$set({ data: e }), g();
220
+ }
221
+ get lang() {
222
+ return this.$$.ctx[0];
223
+ }
224
+ set lang(e) {
225
+ this.$$set({ lang: e }), g();
226
+ }
227
+ get clientstyling() {
228
+ return this.$$.ctx[10];
229
+ }
230
+ set clientstyling(e) {
231
+ this.$$set({ clientstyling: e }), g();
232
+ }
233
+ get clientstylingurl() {
234
+ return this.$$.ctx[11];
235
+ }
236
+ set clientstylingurl(e) {
237
+ this.$$set({ clientstylingurl: e }), g();
238
+ }
239
+ get translationurl() {
240
+ return this.$$.ctx[12];
241
+ }
242
+ set translationurl(e) {
243
+ this.$$set({ translationurl: e }), g();
244
+ }
245
+ get mbsource() {
246
+ return this.$$.ctx[13];
247
+ }
248
+ set mbsource(e) {
249
+ this.$$set({ mbsource: e }), g();
250
+ }
251
+ get size() {
252
+ return this.$$.ctx[14];
253
+ }
254
+ set size(e) {
255
+ this.$$set({ size: e }), g();
256
+ }
257
+ get mobilesize() {
258
+ return this.$$.ctx[15];
259
+ }
260
+ set mobilesize(e) {
261
+ this.$$set({ mobilesize: e }), g();
262
+ }
263
+ get contentdirection() {
264
+ return this.$$.ctx[1];
265
+ }
266
+ set contentdirection(e) {
267
+ this.$$set({ contentdirection: e }), g();
268
+ }
269
+ }
270
+ customElements.define("prize-engine-luckywheel", ne(ge, { data: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, size: {}, mobilesize: {}, contentdirection: {} }, [], [], !0));
271
+ export {
272
+ ge as default
273
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoGameOverlay-DcfvouvT.cjs"),P=require("./LotteryProgramWof-BXO9ySHI.cjs"),v=require("./CasinoMysteryChestContainer-BckJ8kSf.cjs"),D={en:{History:"History",Play:"Play",CoinRoyale:"CoinRoyale",MysteryChest:"MysteryChest",LuckyWheels:"LuckyWheels",InfoTooltipCoin:"Flip a virtual coin and take a chance to win!",InfoTooltipChest:"Open Mystery Chest and find your reward!",InfoTooltipLuckywheel:"Spin a lucky wheel and take a chance to win!"}};function K({withLocale:n,translations:t}){v.$locale.subscribe(i=>{i==null&&(v.$dictionary.set(t),v.$locale.set(n))})}function R(n,t){v.addMessages(n,t)}function X(n){v.$locale.set(n)}const J=()=>{K({withLocale:"en",translations:{}}),Object.keys(D).forEach(n=>{R(n,D[n])})};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineHistory-BS2YDAR_.cjs")).then(({default:t})=>{!customElements.get("prize-engine-history")&&customElements.define("prize-engine-history",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineDetails-B32Oyuua.cjs")).then(({default:t})=>{!customElements.get("prize-engine-details")&&customElements.define("prize-engine-details",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PrizeEngineList-CzJMqs2M.cjs")).then(({default:t})=>{!customElements.get("prize-engine-list")&&customElements.define("prize-engine-list",t.element)})}function Q(n){e.append_styles(n,"svelte-iscrfi",`.PrizeSuiteContainer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;position:relative;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.svelte-iscrfi{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.full-width.svelte-iscrfi{padding:0}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer .HeaderTitle.svelte-iscrfi{font-size:var(--emw--font-size-medium, 16px);font-weight:500}.PrizeSuiteContainer.Mobile.svelte-iscrfi .IconButton.svelte-iscrfi{width:24px;height:24px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop.svelte-iscrfi{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop .Tooltip.svelte-iscrfi{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TabItem.svelte-iscrfi{font-size:var(--emw--font-size-xs, 10px);font-weight:700}.Overlay.svelte-iscrfi.svelte-iscrfi{border:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:99;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5));padding:0;cursor:default}.MainDrawer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;position:relative;overflow:hidden}.MainDrawer.Drawer.svelte-iscrfi.svelte-iscrfi{position:fixed;left:50%;transform:translateX(-50%);bottom:0px;z-index:100;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%)}.MainDrawer.Drawer.full-width.svelte-iscrfi.svelte-iscrfi{padding:0}.Header.svelte-iscrfi.svelte-iscrfi{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 24px;flex-shrink:0}.Header.svelte-iscrfi .HeaderTitle.svelte-iscrfi{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:700;text-align:center;flex-grow:1}.IconButton.svelte-iscrfi.svelte-iscrfi{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background-size:100%;background-repeat:no-repeat;padding:0}.IconButton.Close.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')}.IconButton.Help.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>')}.TooltipBackdrop.svelte-iscrfi.svelte-iscrfi{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.TooltipBackdrop.svelte-iscrfi .Tooltip.svelte-iscrfi{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:8px;line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.TooltipBackdrop.svelte-iscrfi .Tooltip .IconButton.Close.svelte-iscrfi{top:12px;right:12px;position:absolute}.TabBar.svelte-iscrfi.svelte-iscrfi{display:flex;border-bottom:2px solid var(--emw--color-secondary, #729787);margin:0 0 20px;flex-shrink:0}.TabBar.svelte-iscrfi .TabItem.svelte-iscrfi{flex:1;padding:12px;background:transparent;border:none;color:var(--emw--color-gray-300, #729787);font-weight:700;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);transition:all 0.2s}.TabBar.svelte-iscrfi .TabItem.active.svelte-iscrfi{color:var(--emw--color-white, #ffffff);border-bottom:2px solid var(--emw--button-border-color, #75ffe9);margin-bottom:-2px}.ViewContent.svelte-iscrfi.svelte-iscrfi{flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.TransitionWrapper.svelte-iscrfi.svelte-iscrfi{height:100%;width:100%;display:flex;flex-direction:column;flex-grow:1}`)}function B(n){let t,i,s,l,o,r,u,p=n[0]==="true"&&O(n),g=n[8]&&H(n),c=n[0]==="true"&&n[4]==="LIST"&&A(n),a=n[4]==="LIST"&&W(n);function h(f,_){if(f[5]==="PLAY")return ee;if(f[4]==="LIST")return $}let b=h(n),m=b&&b(n);return{c(){t=e.element("div"),p&&p.c(),i=e.space(),s=e.element("div"),g&&g.c(),l=e.space(),c&&c.c(),o=e.space(),a&&a.c(),r=e.space(),u=e.element("div"),m&&m.c(),e.attr(u,"class","ViewContent svelte-iscrfi"),e.attr(s,"class","MainDrawer svelte-iscrfi"),e.toggle_class(s,"Drawer",n[0]==="true"),e.toggle_class(s,"full-width",n[4]==="DETAILS"),e.attr(t,"class","PrizeSuiteContainer svelte-iscrfi"),e.toggle_class(t,"is-drawer",n[0]==="true"),e.toggle_class(t,"Mobile",n[12])},m(f,_){e.insert(f,t,_),p&&p.m(t,null),e.append(t,i),e.append(t,s),g&&g.m(s,null),e.append(s,l),c&&c.m(s,null),e.append(s,o),a&&a.m(s,null),e.append(s,r),e.append(s,u),m&&m.m(u,null),n[28](t)},p(f,_){f[0]==="true"?p?p.p(f,_):(p=O(f),p.c(),p.m(t,i)):p&&(p.d(1),p=null),f[8]?g?g.p(f,_):(g=H(f),g.c(),g.m(s,l)):g&&(g.d(1),g=null),f[0]==="true"&&f[4]==="LIST"?c?c.p(f,_):(c=A(f),c.c(),c.m(s,o)):c&&(c.d(1),c=null),f[4]==="LIST"?a?a.p(f,_):(a=W(f),a.c(),a.m(s,r)):a&&(a.d(1),a=null),b===(b=h(f))&&m?m.p(f,_):(m&&m.d(1),m=b&&b(f),m&&(m.c(),e.transition_in(m,1),m.m(u,null))),_&1&&e.toggle_class(s,"Drawer",f[0]==="true"),_&16&&e.toggle_class(s,"full-width",f[4]==="DETAILS"),_&1&&e.toggle_class(t,"is-drawer",f[0]==="true")},d(f){f&&e.detach(t),p&&p.d(),g&&g.d(),c&&c.d(),a&&a.d(),m&&m.d(),n[28](null)}}}function O(n){let t,i,s;return{c(){t=e.element("button"),e.attr(t,"type","button"),e.attr(t,"class","Overlay svelte-iscrfi")},m(l,o){e.insert(l,t,o),i||(s=e.listen(t,"click",n[13]),i=!0)},p:e.noop,d(l){l&&e.detach(t),i=!1,s()}}}function H(n){let t,i,s,l,o,r=n[2](n[10])+"",u,p,g;return{c(){t=e.element("div"),i=e.element("div"),s=e.element("button"),l=e.space(),o=e.element("span"),u=e.text(r),e.attr(s,"type","button"),e.attr(s,"class","IconButton Close svelte-iscrfi"),e.attr(i,"class","Tooltip svelte-iscrfi"),e.attr(t,"class","TooltipBackdrop svelte-iscrfi")},m(c,a){e.insert(c,t,a),e.append(t,i),e.append(i,s),e.append(i,l),e.append(i,o),e.append(o,u),p||(g=e.listen(s,"click",n[14]),p=!0)},p(c,a){a&1028&&r!==(r=c[2](c[10])+"")&&e.set_data(u,r)},d(c){c&&e.detach(t),p=!1,g()}}}function A(n){let t,i,s,l,o,r,u,p,g;return{c(){t=e.element("div"),i=e.element("button"),s=e.space(),l=e.element("div"),o=e.text(n[11]),r=e.space(),u=e.element("button"),e.attr(i,"type","button"),e.attr(i,"class","IconButton Help svelte-iscrfi"),e.attr(l,"class","HeaderTitle svelte-iscrfi"),e.attr(u,"type","button"),e.attr(u,"class","IconButton Close svelte-iscrfi"),e.attr(t,"class","Header svelte-iscrfi")},m(c,a){e.insert(c,t,a),e.append(t,i),e.append(t,s),e.append(t,l),e.append(l,o),e.append(t,r),e.append(t,u),p||(g=[e.listen(i,"click",n[14]),e.listen(u,"click",n[13])],p=!0)},p(c,a){a&2048&&e.set_data(o,c[11])},d(c){c&&e.detach(t),p=!1,e.run_all(g)}}}function W(n){let t,i,s=n[2]("Play")+"",l,o,r,u=n[2]("History")+"",p,g,c;return{c(){t=e.element("div"),i=e.element("button"),l=e.text(s),o=e.space(),r=e.element("button"),p=e.text(u),e.attr(i,"type","button"),e.attr(i,"class","TabItem svelte-iscrfi"),e.toggle_class(i,"active",n[5]==="PLAY"),e.attr(r,"type","button"),e.attr(r,"class","TabItem svelte-iscrfi"),e.toggle_class(r,"active",n[5]==="HISTORY"),e.attr(t,"class","TabBar svelte-iscrfi")},m(a,h){e.insert(a,t,h),e.append(t,i),e.append(i,l),e.append(t,o),e.append(t,r),e.append(r,p),g||(c=[e.listen(i,"click",n[26]),e.listen(r,"click",n[27])],g=!0)},p(a,h){h&4&&s!==(s=a[2]("Play")+"")&&e.set_data(l,s),h&32&&e.toggle_class(i,"active",a[5]==="PLAY"),h&4&&u!==(u=a[2]("History")+"")&&e.set_data(p,u),h&32&&e.toggle_class(r,"active",a[5]==="HISTORY")},d(a){a&&e.detach(t),g=!1,e.run_all(c)}}}function $(n){let t,i,s,l=[n[9]],o={};for(let r=0;r<l.length;r+=1)o=e.assign(o,l[r]);return{c(){t=e.element("div"),i=e.element("prize-engine-history"),e.set_attributes(i,o),e.toggle_class(i,"svelte-iscrfi",!0),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(r,u){e.insert(r,t,u),e.append(t,i)},p(r,u){e.set_attributes(i,o=e.get_spread_update(l,[u&512&&r[9]])),e.toggle_class(i,"svelte-iscrfi",!0)},i(r){r&&(s||e.add_render_callback(()=>{s=e.create_in_transition(t,P.fade,{duration:250}),s.start()}))},o:e.noop,d(r){r&&e.detach(t)}}}function ee(n){let t;function i(o,r){if(o[4]==="LIST")return ie;if(o[4]==="DETAILS")return te}let s=i(n),l=s&&s(n);return{c(){l&&l.c(),t=e.empty()},m(o,r){l&&l.m(o,r),e.insert(o,t,r)},p(o,r){s===(s=i(o))&&l?l.p(o,r):(l&&l.d(1),l=s&&s(o),l&&(l.c(),e.transition_in(l,1),l.m(t.parentNode,t)))},i(o){e.transition_in(l)},o:e.noop,d(o){o&&e.detach(t),l&&l.d(o)}}}function te(n){let t,i,s=n[6]&&Y(n);return{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(l,o){e.insert(l,t,o),s&&s.m(t,null)},p(l,o){l[6]?s?s.p(l,o):(s=Y(l),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},i(l){l&&(i||e.add_render_callback(()=>{i=e.create_in_transition(t,P.fade,{duration:250}),i.start()}))},o:e.noop,d(l){l&&e.detach(t),s&&s.d()}}}function ie(n){let t,i,s,l=[n[9]],o={};for(let r=0;r<l.length;r+=1)o=e.assign(o,l[r]);return{c(){t=e.element("div"),i=e.element("prize-engine-list"),e.set_attributes(i,o),e.toggle_class(i,"svelte-iscrfi",!0),e.attr(t,"class","TransitionWrapper svelte-iscrfi")},m(r,u){e.insert(r,t,u),e.append(t,i)},p(r,u){e.set_attributes(i,o=e.get_spread_update(l,[u&512&&r[9]])),e.toggle_class(i,"svelte-iscrfi",!0)},i(r){r&&(s||e.add_render_callback(()=>{s=e.create_in_transition(t,P.fade,{duration:250}),s.start()}))},o:e.noop,d(r){r&&e.detach(t)}}}function Y(n){let t,i,s=[n[9],{data:n[6]},{programs:n[7]},{twostepdraw:i=n[6].program.type==="wheelOfFortune"?"true":"false"}],l={};for(let o=0;o<s.length;o+=1)l=e.assign(l,s[o]);return{c(){t=e.element("prize-engine-details"),e.set_attributes(t,l),e.toggle_class(t,"svelte-iscrfi",!0)},m(o,r){e.insert(o,t,r)},p(o,r){e.set_attributes(t,l=e.get_spread_update(s,[r&512&&o[9],r&64&&{data:o[6]},r&128&&{programs:o[7]},r&64&&i!==(i=o[6].program.type==="wheelOfFortune"?"true":"false")&&{twostepdraw:i}])),e.toggle_class(t,"svelte-iscrfi",!0)},d(o){o&&e.detach(t)}}}function se(n){let t,i=(n[3]||n[0]==="false")&&B(n);return{c(){i&&i.c(),t=e.empty()},m(s,l){i&&i.m(s,l),e.insert(s,t,l)},p(s,[l]){s[3]||s[0]==="false"?i?i.p(s,l):(i=B(s),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),i&&i.d(s)}}}let ne=null;function le(n,t,i){let s,l,o,r;e.component_subscribe(n,v.$format,d=>i(2,r=d));let{endpoint:u=""}=t,{session:p=""}=t,{lang:g="en"}=t,{clientstyling:c=""}=t,{clientstylingurl:a=""}=t,{translationurl:h=""}=t,{mbsource:b=""}=t,{isdrawer:m="true"}=t,{type:f="wheelOfFortune"}=t,{luckywheelsize:_=324}=t,{luckywheelmobilesize:L=240}=t,{opened:z="false"}=t,w;const j=v.isMobile(window.navigator.userAgent);let T=z==="true";J();const N=()=>{fetch(h).then(y=>y.json()).then(y=>{Object.keys(y).forEach(k=>{R(k,y[k])})})};let C="LIST",I="PLAY",S=null,E=[],M=!1;const x=d=>{const{type:y,data:k}=d.data;y==="OpenPrizeGame"?(i(6,S=k),i(4,C="DETAILS")):y==="BackToList"?(i(4,C="LIST"),i(6,S=null)):y==="ClosePrizeEngineDrawer"?i(3,T=!1):y==="PrizeProgramsLoaded"&&i(7,E=k)},F=()=>{i(3,T=!1),window.postMessage({type:"ClosePrizeEngineDrawer"},"*")},V=()=>{i(8,M=!M)};e.onMount(()=>(window.addEventListener("message",x),()=>{window.removeEventListener("message",x)}));const Z=()=>i(5,I="PLAY"),G=()=>i(5,I="HISTORY");function U(d){e.binding_callbacks[d?"unshift":"push"](()=>{w=d,i(1,w)})}return n.$$set=d=>{"endpoint"in d&&i(15,u=d.endpoint),"session"in d&&i(16,p=d.session),"lang"in d&&i(17,g=d.lang),"clientstyling"in d&&i(18,c=d.clientstyling),"clientstylingurl"in d&&i(19,a=d.clientstylingurl),"translationurl"in d&&i(20,h=d.translationurl),"mbsource"in d&&i(21,b=d.mbsource),"isdrawer"in d&&i(0,m=d.isdrawer),"type"in d&&i(22,f=d.type),"luckywheelsize"in d&&i(23,_=d.luckywheelsize),"luckywheelmobilesize"in d&&i(24,L=d.luckywheelmobilesize),"opened"in d&&i(25,z=d.opened)},n.$$.update=()=>{n.$$.dirty&33554432&&i(3,T=z==="true"),n.$$.dirty&131072&&g&&X(g),n.$$.dirty&1048576&&h&&N(),n.$$.dirty&4194304&&f&&(i(4,C="LIST"),i(6,S=null),i(5,I="PLAY")),n.$$.dirty&4194308&&i(11,s=r(f==="flipCoin"?"CoinRoyale":f==="mysteryChest"?"MysteryChest":"LuckyWheels")),n.$$.dirty&4194304&&i(10,l=f==="flipCoin"?"InfoTooltipCoin":f==="mysteryChest"?"InfoTooltipChest":"InfoTooltipLuckywheel"),n.$$.dirty&262146&&c&&w&&e.setClientStyling(w,c),n.$$.dirty&524290&&a&&w&&e.setClientStylingURL(w,a),n.$$.dirty&2097154&&b&&w&&e.setStreamStyling(w,`${b}.Style`,ne),n.$$.dirty&33521664&&i(9,o={endpoint:u,session:p,lang:g,clientstyling:c,clientstylingurl:a,translationurl:h,mbsource:b,isdrawer:"false",type:f,luckywheelsize:_,luckywheelmobilesize:L})},[m,w,r,T,C,I,S,E,M,o,l,s,j,F,V,u,p,g,c,a,h,b,f,_,L,z,Z,G,U]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,le,se,e.safe_not_equal,{endpoint:15,session:16,lang:17,clientstyling:18,clientstylingurl:19,translationurl:20,mbsource:21,isdrawer:0,type:22,luckywheelsize:23,luckywheelmobilesize:24,opened:25},Q)}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[16]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get isdrawer(){return this.$$.ctx[0]}set isdrawer(t){this.$$set({isdrawer:t}),e.flush()}get type(){return this.$$.ctx[22]}set type(t){this.$$set({type:t}),e.flush()}get luckywheelsize(){return this.$$.ctx[23]}set luckywheelsize(t){this.$$set({luckywheelsize:t}),e.flush()}get luckywheelmobilesize(){return this.$$.ctx[24]}set luckywheelmobilesize(t){this.$$set({luckywheelmobilesize:t}),e.flush()}get opened(){return this.$$.ctx[25]}set opened(t){this.$$set({opened:t}),e.flush()}}customElements.define("prize-engine-suite",e.create_custom_element(q,{endpoint:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},isdrawer:{},type:{},luckywheelsize:{},luckywheelmobilesize:{},opened:{}},[],[],!0));exports.default=q;