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