@everymatrix/player-account-controller-nd 1.62.1 → 1.62.3

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.
@@ -1,1027 +0,0 @@
1
- import { $ as se, C as We, a as ve, S as Ce, i as Ge, s as Te, f as b, b as Ee, d as G, I as F, J as A, c as X, _ as Y, h as p, g as T, j as W, k as R, m as U, o as h, p as Me, q as Se, u as Ae, l as fe, v as N, n as S, O as q, P as ge, w as Q, a0 as x, F as Be, e as r, H as Fe, K as Pe, L as ze, M as He, x as Ne, y as Re, z as je, A as Ie, B as Oe } from "./GeneralLogout-BTv2xgJd.js";
2
- function De({ withLocale: i, translations: e }) {
3
- se.subscribe((t) => {
4
- t == null && (We.set(e), se.set(i));
5
- });
6
- }
7
- function Ue(i, e) {
8
- ve(i, e);
9
- }
10
- const le = {
11
- en: {
12
- titleLimitsWrapper2: "Limits"
13
- },
14
- "zh-hk": {
15
- titleLimitsWrapper2: "Limits"
16
- },
17
- fr: {
18
- titleLimitsWrapper2: "Limits"
19
- },
20
- ro: {
21
- titleLimitsWrapper2: "Limits"
22
- },
23
- es: {
24
- titleLimitsWrapper2: "Limits"
25
- },
26
- pt: {
27
- titleLimitsWrapper2: "Limits"
28
- },
29
- hr: {
30
- titleLimitsWrapper2: "Ograničenja"
31
- },
32
- "pt-br": {
33
- titleLimitsWrapper2: "Limites"
34
- },
35
- "es-mx": {
36
- titleLimitsWrapper2: "Límites"
37
- },
38
- tr: {
39
- titleLimitsWrapper2: "Sınırlar"
40
- },
41
- "en-us": {
42
- titleLimitsWrapper2: "Limits"
43
- },
44
- de: {
45
- titleLimitsWrapper2: "Begrenzungen"
46
- }
47
- };
48
- if (typeof window < "u") {
49
- let i = function(e) {
50
- return function(...t) {
51
- try {
52
- return e.apply(this, t);
53
- } catch (n) {
54
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
55
- return !1;
56
- throw n;
57
- }
58
- };
59
- };
60
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-CItiaWO4.js").then(
61
- ({ default: e }) => {
62
- !customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
63
- "player-account-gaming-limits-page-2-gm16-nd",
64
- e.element
65
- );
66
- }
67
- );
68
- }
69
- if (typeof window < "u") {
70
- let i = function(e) {
71
- return function(...t) {
72
- try {
73
- return e.apply(this, t);
74
- } catch (n) {
75
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
76
- return !1;
77
- throw n;
78
- }
79
- };
80
- };
81
- customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2Nd-Dnahi30S.js").then(({ default: e }) => {
82
- !customElements.get("player-account-gaming-limits-history-2-nd") && customElements.define(
83
- "player-account-gaming-limits-history-2-nd",
84
- e.element
85
- );
86
- });
87
- }
88
- function qe(i) {
89
- Ee(i, "svelte-1y3c3nw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}');
90
- }
91
- function re(i, e, t) {
92
- const n = i.slice();
93
- return n[46] = e[t], n[48] = t, n;
94
- }
95
- const Je = (i) => ({}), ae = (i) => ({});
96
- function oe(i, e, t) {
97
- const n = i.slice();
98
- return n[49] = e[t], n[48] = t, n;
99
- }
100
- function Ke(i) {
101
- let e, t, n, s, o, c, f, a, _, d, m = (
102
- /*$_*/
103
- i[24]("titleLimitsWrapper2") + ""
104
- ), u, g, w;
105
- return {
106
- c() {
107
- e = W("div"), t = N("svg"), n = N("defs"), s = N("style"), o = U(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), c = N("g"), f = N("g"), a = N("path"), _ = R(), d = W("h2"), u = U(m), h(a, "class", "aaa"), h(a, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(a, "transform", "translate(15 15) rotate(180)"), h(f, "transform", "translate(20 158)"), h(c, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(d, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
108
- },
109
- m(v, L) {
110
- T(v, e, L), p(e, t), p(t, n), p(n, s), p(s, o), p(t, c), p(c, f), p(f, a), p(e, _), p(e, d), p(d, u), g || (w = fe(
111
- e,
112
- "click",
113
- /*click_handler*/
114
- i[35]
115
- ), g = !0);
116
- },
117
- p(v, L) {
118
- L[0] & /*$_*/
119
- 16777216 && m !== (m = /*$_*/
120
- v[24]("titleLimitsWrapper2") + "") && X(u, m);
121
- },
122
- d(v) {
123
- v && G(e), g = !1, w();
124
- }
125
- };
126
- }
127
- function Ve(i) {
128
- let e, t, n, s, o, c = (
129
- /*limitTabs*/
130
- i[25].length > 1 && Qe(i)
131
- ), f = q(
132
- /*limitTabs*/
133
- i[25]
134
- ), a = [];
135
- for (let m = 0; m < f.length; m += 1)
136
- a[m] = ce(re(i, f, m));
137
- const _ = (m) => F(a[m], 1, 1, () => {
138
- a[m] = null;
139
- });
140
- let d = (
141
- /*historyenabled*/
142
- i[6] === "true" && ue(i)
143
- );
144
- return {
145
- c() {
146
- c && c.c(), e = R(), t = W("div"), n = W("div");
147
- for (let m = 0; m < a.length; m += 1)
148
- a[m].c();
149
- s = R(), d && d.c(), h(n, "class", "PlayerAccountGamingLmitsWrapper2"), h(t, "class", "GamingLimitsContent");
150
- },
151
- m(m, u) {
152
- c && c.m(m, u), T(m, e, u), T(m, t, u), p(t, n);
153
- for (let g = 0; g < a.length; g += 1)
154
- a[g] && a[g].m(n, null);
155
- i[38](n), p(t, s), d && d.m(t, null), o = !0;
156
- },
157
- p(m, u) {
158
- if (
159
- /*limitTabs*/
160
- m[25].length > 1 && c.p(m, u), u[0] & /*customContentTabIndex, lang, currency, amountsArray, periodsArray, userid, deletelimit, enablecompliancetext, session, endpoint, apiversion, clientstyling, clientstylingurl, mbsource, translationurl, customcurrencysymbols, limitformat*/
161
- 14745023 | u[1] & /*$$scope*/
162
- 4
163
- ) {
164
- f = q(
165
- /*limitTabs*/
166
- m[25]
167
- );
168
- let g;
169
- for (g = 0; g < f.length; g += 1) {
170
- const w = re(m, f, g);
171
- a[g] ? (a[g].p(w, u), A(a[g], 1)) : (a[g] = ce(w), a[g].c(), A(a[g], 1), a[g].m(n, null));
172
- }
173
- for (x(), g = f.length; g < a.length; g += 1)
174
- _(g);
175
- Y();
176
- }
177
- /*historyenabled*/
178
- m[6] === "true" ? d ? d.p(m, u) : (d = ue(m), d.c(), d.m(t, null)) : d && (d.d(1), d = null);
179
- },
180
- i(m) {
181
- if (!o) {
182
- for (let u = 0; u < f.length; u += 1)
183
- A(a[u]);
184
- o = !0;
185
- }
186
- },
187
- o(m) {
188
- a = a.filter(Boolean);
189
- for (let u = 0; u < a.length; u += 1)
190
- F(a[u]);
191
- o = !1;
192
- },
193
- d(m) {
194
- m && (G(e), G(t)), c && c.d(m), ge(a, m), i[38](null), d && d.d();
195
- }
196
- };
197
- }
198
- function Ze(i) {
199
- return {
200
- c: S,
201
- m: S,
202
- p: S,
203
- i: S,
204
- o: S,
205
- d: S
206
- };
207
- }
208
- function Qe(i) {
209
- let e, t = q(
210
- /*limitTabs*/
211
- i[25]
212
- ), n = [];
213
- for (let s = 0; s < t.length; s += 1)
214
- n[s] = me(oe(i, t, s));
215
- return {
216
- c() {
217
- e = W("div");
218
- for (let s = 0; s < n.length; s += 1)
219
- n[s].c();
220
- h(e, "class", "TabsContainer");
221
- },
222
- m(s, o) {
223
- T(s, e, o);
224
- for (let c = 0; c < n.length; c += 1)
225
- n[c] && n[c].m(e, null);
226
- i[37](e);
227
- },
228
- p(s, o) {
229
- if (o[0] & /*selectTab, tabLabelArray, limitTabs*/
230
- 168296448) {
231
- t = q(
232
- /*limitTabs*/
233
- s[25]
234
- );
235
- let c;
236
- for (c = 0; c < t.length; c += 1) {
237
- const f = oe(s, t, c);
238
- n[c] ? n[c].p(f, o) : (n[c] = me(f), n[c].c(), n[c].m(e, null));
239
- }
240
- for (; c < n.length; c += 1)
241
- n[c].d(1);
242
- n.length = t.length;
243
- }
244
- },
245
- d(s) {
246
- s && G(e), ge(n, s), i[37](null);
247
- }
248
- };
249
- }
250
- function me(i) {
251
- let e, t = (
252
- /*tabLabelArray*/
253
- (i[19][
254
- /*i*/
255
- i[48]
256
- ] ?? /*limit*/
257
- i[49]) + ""
258
- ), n, s, o;
259
- function c() {
260
- return (
261
- /*click_handler_1*/
262
- i[36](
263
- /*i*/
264
- i[48]
265
- )
266
- );
267
- }
268
- return {
269
- c() {
270
- e = W("div"), n = U(t), h(e, "class", "LimitsTab");
271
- },
272
- m(f, a) {
273
- T(f, e, a), p(e, n), s || (o = fe(e, "click", c), s = !0);
274
- },
275
- p(f, a) {
276
- i = f, a[0] & /*tabLabelArray*/
277
- 524288 && t !== (t = /*tabLabelArray*/
278
- (i[19][
279
- /*i*/
280
- i[48]
281
- ] ?? /*limit*/
282
- i[49]) + "") && X(n, t);
283
- },
284
- d(f) {
285
- f && G(e), s = !1, o();
286
- }
287
- };
288
- }
289
- function Xe(i) {
290
- let e, t, n;
291
- return {
292
- c() {
293
- e = W("player-account-gaming-limits-page-2-gm16-nd"), r(e, "class", "hidden selected"), r(
294
- e,
295
- "lang",
296
- /*lang*/
297
- i[0]
298
- ), r(
299
- e,
300
- "currency",
301
- /*currency*/
302
- i[4]
303
- ), r(e, "amountsconfig", t = /*amountsArray*/
304
- i[21][
305
- /*i*/
306
- i[48]
307
- ]), r(e, "periodsconfig", n = /*periodsArray*/
308
- i[22][
309
- /*i*/
310
- i[48]
311
- ]), r(
312
- e,
313
- "limittabindex",
314
- /*i*/
315
- i[48] + 1
316
- ), r(
317
- e,
318
- "userid",
319
- /*userid*/
320
- i[1]
321
- ), r(
322
- e,
323
- "deletelimit",
324
- /*deletelimit*/
325
- i[8]
326
- ), r(
327
- e,
328
- "enablecompliancetext",
329
- /*enablecompliancetext*/
330
- i[7]
331
- ), r(
332
- e,
333
- "session",
334
- /*session*/
335
- i[2]
336
- ), r(
337
- e,
338
- "endpoint",
339
- /*endpoint*/
340
- i[3]
341
- ), r(
342
- e,
343
- "apiversion",
344
- /*apiversion*/
345
- i[5]
346
- ), r(
347
- e,
348
- "clientstyling",
349
- /*clientstyling*/
350
- i[12]
351
- ), r(
352
- e,
353
- "clientstylingurl",
354
- /*clientstylingurl*/
355
- i[13]
356
- ), r(
357
- e,
358
- "mbsource",
359
- /*mbsource*/
360
- i[15]
361
- ), r(
362
- e,
363
- "translationurl",
364
- /*translationurl*/
365
- i[14]
366
- ), r(
367
- e,
368
- "customcurrencysymbols",
369
- /*customcurrencysymbols*/
370
- i[10]
371
- ), r(
372
- e,
373
- "limitformat",
374
- /*limitformat*/
375
- i[11]
376
- );
377
- },
378
- m(s, o) {
379
- T(s, e, o);
380
- },
381
- p(s, o) {
382
- o[0] & /*lang*/
383
- 1 && r(
384
- e,
385
- "lang",
386
- /*lang*/
387
- s[0]
388
- ), o[0] & /*currency*/
389
- 16 && r(
390
- e,
391
- "currency",
392
- /*currency*/
393
- s[4]
394
- ), o[0] & /*amountsArray*/
395
- 2097152 && t !== (t = /*amountsArray*/
396
- s[21][
397
- /*i*/
398
- s[48]
399
- ]) && r(e, "amountsconfig", t), o[0] & /*periodsArray*/
400
- 4194304 && n !== (n = /*periodsArray*/
401
- s[22][
402
- /*i*/
403
- s[48]
404
- ]) && r(e, "periodsconfig", n), o[0] & /*userid*/
405
- 2 && r(
406
- e,
407
- "userid",
408
- /*userid*/
409
- s[1]
410
- ), o[0] & /*deletelimit*/
411
- 256 && r(
412
- e,
413
- "deletelimit",
414
- /*deletelimit*/
415
- s[8]
416
- ), o[0] & /*enablecompliancetext*/
417
- 128 && r(
418
- e,
419
- "enablecompliancetext",
420
- /*enablecompliancetext*/
421
- s[7]
422
- ), o[0] & /*session*/
423
- 4 && r(
424
- e,
425
- "session",
426
- /*session*/
427
- s[2]
428
- ), o[0] & /*endpoint*/
429
- 8 && r(
430
- e,
431
- "endpoint",
432
- /*endpoint*/
433
- s[3]
434
- ), o[0] & /*apiversion*/
435
- 32 && r(
436
- e,
437
- "apiversion",
438
- /*apiversion*/
439
- s[5]
440
- ), o[0] & /*clientstyling*/
441
- 4096 && r(
442
- e,
443
- "clientstyling",
444
- /*clientstyling*/
445
- s[12]
446
- ), o[0] & /*clientstylingurl*/
447
- 8192 && r(
448
- e,
449
- "clientstylingurl",
450
- /*clientstylingurl*/
451
- s[13]
452
- ), o[0] & /*mbsource*/
453
- 32768 && r(
454
- e,
455
- "mbsource",
456
- /*mbsource*/
457
- s[15]
458
- ), o[0] & /*translationurl*/
459
- 16384 && r(
460
- e,
461
- "translationurl",
462
- /*translationurl*/
463
- s[14]
464
- ), o[0] & /*customcurrencysymbols*/
465
- 1024 && r(
466
- e,
467
- "customcurrencysymbols",
468
- /*customcurrencysymbols*/
469
- s[10]
470
- ), o[0] & /*limitformat*/
471
- 2048 && r(
472
- e,
473
- "limitformat",
474
- /*limitformat*/
475
- s[11]
476
- );
477
- },
478
- i: S,
479
- o: S,
480
- d(s) {
481
- s && G(e);
482
- }
483
- };
484
- }
485
- function Ye(i) {
486
- let e;
487
- const t = (
488
- /*#slots*/
489
- i[34].customTabContent
490
- ), n = Fe(
491
- t,
492
- i,
493
- /*$$scope*/
494
- i[33],
495
- ae
496
- );
497
- return {
498
- c() {
499
- n && n.c();
500
- },
501
- m(s, o) {
502
- n && n.m(s, o), e = !0;
503
- },
504
- p(s, o) {
505
- n && n.p && (!e || o[1] & /*$$scope*/
506
- 4) && Pe(
507
- n,
508
- t,
509
- s,
510
- /*$$scope*/
511
- s[33],
512
- e ? He(
513
- t,
514
- /*$$scope*/
515
- s[33],
516
- o,
517
- Je
518
- ) : ze(
519
- /*$$scope*/
520
- s[33]
521
- ),
522
- ae
523
- );
524
- },
525
- i(s) {
526
- e || (A(n, s), e = !0);
527
- },
528
- o(s) {
529
- F(n, s), e = !1;
530
- },
531
- d(s) {
532
- n && n.d(s);
533
- }
534
- };
535
- }
536
- function ce(i) {
537
- let e, t, n, s;
538
- const o = [Ye, Xe], c = [];
539
- function f(a, _) {
540
- return (
541
- /*customContentTabIndex*/
542
- a[23] === /*i*/
543
- a[48] ? 0 : 1
544
- );
545
- }
546
- return e = f(i), t = c[e] = o[e](i), {
547
- c() {
548
- t.c(), n = Be();
549
- },
550
- m(a, _) {
551
- c[e].m(a, _), T(a, n, _), s = !0;
552
- },
553
- p(a, _) {
554
- let d = e;
555
- e = f(a), e === d ? c[e].p(a, _) : (x(), F(c[d], 1, 1, () => {
556
- c[d] = null;
557
- }), Y(), t = c[e], t ? t.p(a, _) : (t = c[e] = o[e](a), t.c()), A(t, 1), t.m(n.parentNode, n));
558
- },
559
- i(a) {
560
- s || (A(t), s = !0);
561
- },
562
- o(a) {
563
- F(t), s = !1;
564
- },
565
- d(a) {
566
- a && G(n), c[e].d(a);
567
- }
568
- };
569
- }
570
- function ue(i) {
571
- let e;
572
- return {
573
- c() {
574
- e = W("player-account-gaming-limits-history-2-nd"), r(
575
- e,
576
- "lang",
577
- /*lang*/
578
- i[0]
579
- ), r(
580
- e,
581
- "userid",
582
- /*userid*/
583
- i[1]
584
- ), r(
585
- e,
586
- "session",
587
- /*session*/
588
- i[2]
589
- ), r(
590
- e,
591
- "endpoint",
592
- /*endpoint*/
593
- i[3]
594
- ), r(
595
- e,
596
- "apiversion",
597
- /*apiversion*/
598
- i[5]
599
- ), r(
600
- e,
601
- "numberofentries",
602
- /*numberofentries*/
603
- i[9]
604
- ), r(
605
- e,
606
- "clientstyling",
607
- /*clientstyling*/
608
- i[12]
609
- ), r(
610
- e,
611
- "clientstylingurl",
612
- /*clientstylingurl*/
613
- i[13]
614
- ), r(
615
- e,
616
- "mbsource",
617
- /*mbsource*/
618
- i[15]
619
- ), r(
620
- e,
621
- "translationurl",
622
- /*translationurl*/
623
- i[14]
624
- ), r(
625
- e,
626
- "customcurrencysymbols",
627
- /*customcurrencysymbols*/
628
- i[10]
629
- ), r(
630
- e,
631
- "limitformat",
632
- /*limitformat*/
633
- i[11]
634
- );
635
- },
636
- m(t, n) {
637
- T(t, e, n);
638
- },
639
- p(t, n) {
640
- n[0] & /*lang*/
641
- 1 && r(
642
- e,
643
- "lang",
644
- /*lang*/
645
- t[0]
646
- ), n[0] & /*userid*/
647
- 2 && r(
648
- e,
649
- "userid",
650
- /*userid*/
651
- t[1]
652
- ), n[0] & /*session*/
653
- 4 && r(
654
- e,
655
- "session",
656
- /*session*/
657
- t[2]
658
- ), n[0] & /*endpoint*/
659
- 8 && r(
660
- e,
661
- "endpoint",
662
- /*endpoint*/
663
- t[3]
664
- ), n[0] & /*apiversion*/
665
- 32 && r(
666
- e,
667
- "apiversion",
668
- /*apiversion*/
669
- t[5]
670
- ), n[0] & /*numberofentries*/
671
- 512 && r(
672
- e,
673
- "numberofentries",
674
- /*numberofentries*/
675
- t[9]
676
- ), n[0] & /*clientstyling*/
677
- 4096 && r(
678
- e,
679
- "clientstyling",
680
- /*clientstyling*/
681
- t[12]
682
- ), n[0] & /*clientstylingurl*/
683
- 8192 && r(
684
- e,
685
- "clientstylingurl",
686
- /*clientstylingurl*/
687
- t[13]
688
- ), n[0] & /*mbsource*/
689
- 32768 && r(
690
- e,
691
- "mbsource",
692
- /*mbsource*/
693
- t[15]
694
- ), n[0] & /*translationurl*/
695
- 16384 && r(
696
- e,
697
- "translationurl",
698
- /*translationurl*/
699
- t[14]
700
- ), n[0] & /*customcurrencysymbols*/
701
- 1024 && r(
702
- e,
703
- "customcurrencysymbols",
704
- /*customcurrencysymbols*/
705
- t[10]
706
- ), n[0] & /*limitformat*/
707
- 2048 && r(
708
- e,
709
- "limitformat",
710
- /*limitformat*/
711
- t[11]
712
- );
713
- },
714
- d(t) {
715
- t && G(e);
716
- }
717
- };
718
- }
719
- function xe(i) {
720
- let e, t, n, s, o, c, f, a = (
721
- /*$_*/
722
- i[24]("titleLimitsWrapper2") + ""
723
- ), _, d, m, u, g, w = (
724
- /*isMobile*/
725
- i[26] && Ke(i)
726
- );
727
- const v = [Ze, Ve], L = [];
728
- function P(y, C) {
729
- return (
730
- /*isLoading*/
731
- y[16] ? 0 : 1
732
- );
733
- }
734
- return m = P(i), u = L[m] = v[m](i), {
735
- c() {
736
- e = W("meta"), t = R(), n = W("div"), s = W("div"), o = W("div"), w && w.c(), c = R(), f = W("h2"), _ = U(a), d = R(), u.c(), h(e, "name", "viewport"), h(e, "content", "width=device-width, initial-scale=1"), h(f, "class", "GamingLimitsTitle " + /*isMobile*/
737
- (i[26] ? "Hidden" : "")), h(o, "class", "TitleSection"), h(s, "class", "GamingLimitsWrapper " + /*isMobile*/
738
- (i[26] ? "GamingLimitsWrapperMobile" : ""));
739
- },
740
- m(y, C) {
741
- p(document.head, e), T(y, t, C), T(y, n, C), p(n, s), p(s, o), w && w.m(o, null), p(o, c), p(o, f), p(f, _), p(s, d), L[m].m(s, null), i[39](n), g = !0;
742
- },
743
- p(y, C) {
744
- /*isMobile*/
745
- y[26] && w.p(y, C), (!g || C[0] & /*$_*/
746
- 16777216) && a !== (a = /*$_*/
747
- y[24]("titleLimitsWrapper2") + "") && X(_, a);
748
- let z = m;
749
- m = P(y), m === z ? L[m].p(y, C) : (x(), F(L[z], 1, 1, () => {
750
- L[z] = null;
751
- }), Y(), u = L[m], u ? u.p(y, C) : (u = L[m] = v[m](y), u.c()), A(u, 1), u.m(s, null));
752
- },
753
- i(y) {
754
- g || (A(u), g = !0);
755
- },
756
- o(y) {
757
- F(u), g = !1;
758
- },
759
- d(y) {
760
- y && (G(t), G(n)), G(e), w && w.d(), L[m].d(), i[39](null);
761
- }
762
- };
763
- }
764
- function $e(i, e, t) {
765
- let n;
766
- Me(i, Oe, (l) => t(24, n = l));
767
- let { $$slots: s = {}, $$scope: o } = e, { lang: c = "" } = e, { userid: f = "" } = e, { session: a = "" } = e, { endpoint: _ = "" } = e, { currency: d = "" } = e, { apiversion: m = "" } = e, { tablabels: u = "" } = e, { historyenabled: g = "true" } = e, { enablecompliancetext: w = "false" } = e, { deletelimit: v = "" } = e, { limitsamount: L = "" } = e, { limitsperiods: P = "" } = e, { numberofentries: y = "" } = e, { customcurrencysymbols: C = "" } = e, { limitformat: z = "" } = e, { clientstyling: j = "" } = e, { clientstylingurl: I = "" } = e, { translationurl: $ = "" } = e, { mbsource: O } = e, { customcontentontab: B = "" } = e;
768
- De({ withLocale: "en", translations: {} });
769
- let J = !0, E, K = [], ee, M, H, D, V, de = window.navigator.userAgent, te = Se(de) !== "PC", ie = B ? Number(B) : -1;
770
- Object.keys(le).forEach((l) => {
771
- Ue(l, le[l]);
772
- });
773
- const he = (l, k) => {
774
- if (t(21, D = l.replace(/\s/g, "").split("|")), t(22, V = k.replace(/\s/g, "").split("|")), D.length === 0)
775
- throw new Error("Please provide a full limits configuration.");
776
- if (D.length !== V.length)
777
- throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
778
- }, be = () => {
779
- he(L, P), L.split("|").forEach((k) => {
780
- K.includes(k) || K.push(k);
781
- }), t(19, ee = u.split(",").map((k) => k.trim())), t(16, J = !1);
782
- }, pe = () => {
783
- t(23, ie = B ? Number(B) : -1);
784
- }, Z = (l) => {
785
- if (M.children.length > 0)
786
- for (let k = 0; k < M.children.length; k++)
787
- l === k ? (M.children[k].classList.remove("Hidden"), H?.children[k].classList.add("Selected")) : (M.children[k].classList.add("Hidden"), H?.children[k].classList.remove("Selected"));
788
- }, ne = () => {
789
- window.postMessage(
790
- {
791
- type: "PlayerAccountMenuActive",
792
- isMobile: te
793
- },
794
- window.location.href
795
- );
796
- };
797
- Ae(() => () => {
798
- t(18, M = null), t(20, H = null);
799
- });
800
- const _e = () => ne(), ye = (l) => Z(l);
801
- function Le(l) {
802
- Q[l ? "unshift" : "push"](() => {
803
- H = l, t(20, H);
804
- });
805
- }
806
- function we(l) {
807
- Q[l ? "unshift" : "push"](() => {
808
- M = l, t(18, M);
809
- });
810
- }
811
- function ke(l) {
812
- Q[l ? "unshift" : "push"](() => {
813
- E = l, t(17, E);
814
- });
815
- }
816
- return i.$$set = (l) => {
817
- "lang" in l && t(0, c = l.lang), "userid" in l && t(1, f = l.userid), "session" in l && t(2, a = l.session), "endpoint" in l && t(3, _ = l.endpoint), "currency" in l && t(4, d = l.currency), "apiversion" in l && t(5, m = l.apiversion), "tablabels" in l && t(29, u = l.tablabels), "historyenabled" in l && t(6, g = l.historyenabled), "enablecompliancetext" in l && t(7, w = l.enablecompliancetext), "deletelimit" in l && t(8, v = l.deletelimit), "limitsamount" in l && t(30, L = l.limitsamount), "limitsperiods" in l && t(31, P = l.limitsperiods), "numberofentries" in l && t(9, y = l.numberofentries), "customcurrencysymbols" in l && t(10, C = l.customcurrencysymbols), "limitformat" in l && t(11, z = l.limitformat), "clientstyling" in l && t(12, j = l.clientstyling), "clientstylingurl" in l && t(13, I = l.clientstylingurl), "translationurl" in l && t(14, $ = l.translationurl), "mbsource" in l && t(15, O = l.mbsource), "customcontentontab" in l && t(32, B = l.customcontentontab), "$$scope" in l && t(33, o = l.$$scope);
818
- }, i.$$.update = () => {
819
- i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
820
- 536870959 && f && a && _ && u && c && m && be(), i.$$.dirty[1] & /*customcontentontab*/
821
- 2 && B && pe(), i.$$.dirty[0] & /*mainContainer, isLoading*/
822
- 327680 && M && !J && Z(0), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
823
- 135168 && j && E && Ne(E, j), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
824
- 139264 && I && E && Re(E, I), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
825
- 163840 && O && E && je(E, `${O}.Style`);
826
- }, [
827
- c,
828
- f,
829
- a,
830
- _,
831
- d,
832
- m,
833
- g,
834
- w,
835
- v,
836
- y,
837
- C,
838
- z,
839
- j,
840
- I,
841
- $,
842
- O,
843
- J,
844
- E,
845
- M,
846
- ee,
847
- H,
848
- D,
849
- V,
850
- ie,
851
- n,
852
- K,
853
- te,
854
- Z,
855
- ne,
856
- u,
857
- L,
858
- P,
859
- B,
860
- o,
861
- s,
862
- _e,
863
- ye,
864
- Le,
865
- we,
866
- ke
867
- ];
868
- }
869
- class et extends Ce {
870
- constructor(e) {
871
- super(), Ge(
872
- this,
873
- e,
874
- $e,
875
- xe,
876
- Te,
877
- {
878
- lang: 0,
879
- userid: 1,
880
- session: 2,
881
- endpoint: 3,
882
- currency: 4,
883
- apiversion: 5,
884
- tablabels: 29,
885
- historyenabled: 6,
886
- enablecompliancetext: 7,
887
- deletelimit: 8,
888
- limitsamount: 30,
889
- limitsperiods: 31,
890
- numberofentries: 9,
891
- customcurrencysymbols: 10,
892
- limitformat: 11,
893
- clientstyling: 12,
894
- clientstylingurl: 13,
895
- translationurl: 14,
896
- mbsource: 15,
897
- customcontentontab: 32
898
- },
899
- qe,
900
- [-1, -1]
901
- );
902
- }
903
- get lang() {
904
- return this.$$.ctx[0];
905
- }
906
- set lang(e) {
907
- this.$$set({ lang: e }), b();
908
- }
909
- get userid() {
910
- return this.$$.ctx[1];
911
- }
912
- set userid(e) {
913
- this.$$set({ userid: e }), b();
914
- }
915
- get session() {
916
- return this.$$.ctx[2];
917
- }
918
- set session(e) {
919
- this.$$set({ session: e }), b();
920
- }
921
- get endpoint() {
922
- return this.$$.ctx[3];
923
- }
924
- set endpoint(e) {
925
- this.$$set({ endpoint: e }), b();
926
- }
927
- get currency() {
928
- return this.$$.ctx[4];
929
- }
930
- set currency(e) {
931
- this.$$set({ currency: e }), b();
932
- }
933
- get apiversion() {
934
- return this.$$.ctx[5];
935
- }
936
- set apiversion(e) {
937
- this.$$set({ apiversion: e }), b();
938
- }
939
- get tablabels() {
940
- return this.$$.ctx[29];
941
- }
942
- set tablabels(e) {
943
- this.$$set({ tablabels: e }), b();
944
- }
945
- get historyenabled() {
946
- return this.$$.ctx[6];
947
- }
948
- set historyenabled(e) {
949
- this.$$set({ historyenabled: e }), b();
950
- }
951
- get enablecompliancetext() {
952
- return this.$$.ctx[7];
953
- }
954
- set enablecompliancetext(e) {
955
- this.$$set({ enablecompliancetext: e }), b();
956
- }
957
- get deletelimit() {
958
- return this.$$.ctx[8];
959
- }
960
- set deletelimit(e) {
961
- this.$$set({ deletelimit: e }), b();
962
- }
963
- get limitsamount() {
964
- return this.$$.ctx[30];
965
- }
966
- set limitsamount(e) {
967
- this.$$set({ limitsamount: e }), b();
968
- }
969
- get limitsperiods() {
970
- return this.$$.ctx[31];
971
- }
972
- set limitsperiods(e) {
973
- this.$$set({ limitsperiods: e }), b();
974
- }
975
- get numberofentries() {
976
- return this.$$.ctx[9];
977
- }
978
- set numberofentries(e) {
979
- this.$$set({ numberofentries: e }), b();
980
- }
981
- get customcurrencysymbols() {
982
- return this.$$.ctx[10];
983
- }
984
- set customcurrencysymbols(e) {
985
- this.$$set({ customcurrencysymbols: e }), b();
986
- }
987
- get limitformat() {
988
- return this.$$.ctx[11];
989
- }
990
- set limitformat(e) {
991
- this.$$set({ limitformat: e }), b();
992
- }
993
- get clientstyling() {
994
- return this.$$.ctx[12];
995
- }
996
- set clientstyling(e) {
997
- this.$$set({ clientstyling: e }), b();
998
- }
999
- get clientstylingurl() {
1000
- return this.$$.ctx[13];
1001
- }
1002
- set clientstylingurl(e) {
1003
- this.$$set({ clientstylingurl: e }), b();
1004
- }
1005
- get translationurl() {
1006
- return this.$$.ctx[14];
1007
- }
1008
- set translationurl(e) {
1009
- this.$$set({ translationurl: e }), b();
1010
- }
1011
- get mbsource() {
1012
- return this.$$.ctx[15];
1013
- }
1014
- set mbsource(e) {
1015
- this.$$set({ mbsource: e }), b();
1016
- }
1017
- get customcontentontab() {
1018
- return this.$$.ctx[32];
1019
- }
1020
- set customcontentontab(e) {
1021
- this.$$set({ customcontentontab: e }), b();
1022
- }
1023
- }
1024
- Ie(et, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, customcontentontab: {} }, ["customTabContent"], [], !0);
1025
- export {
1026
- et as default
1027
- };