@everymatrix/player-account-gaming-limits-wrapper-2 1.55.0 → 1.56.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 (29) hide show
  1. package/components/{PlayerAccountGamingLimitsHistory2-4KF7-RcC.js → PlayerAccountGamingLimitsHistory2-B3PpGrMk.js} +1087 -965
  2. package/components/{PlayerAccountGamingLimitsHistory2-CBvsOjCi.js → PlayerAccountGamingLimitsHistory2-DIXg5IuM.js} +1121 -999
  3. package/components/PlayerAccountGamingLimitsHistory2-DOCZA8tu.cjs +18 -0
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dtq9wJaJ.js → PlayerAccountGamingLimitsPage2Gm16-CVQA1OzN.js} +1076 -1039
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-CuxJ8Xju.js → PlayerAccountGamingLimitsPage2Gm16-DAO9xs8v.js} +1177 -1140
  6. package/components/PlayerAccountGamingLimitsPage2Gm16-YT7q0L2x.cjs +21 -0
  7. package/components/PlayerAccountGamingLimitsWrapper2-BI1e7Suv.js +1011 -0
  8. package/components/PlayerAccountGamingLimitsWrapper2-D6BtA2Oq.cjs +1 -0
  9. package/components/PlayerAccountGamingLimitsWrapper2-T9cBmOrL.js +1017 -0
  10. package/es2015/player-account-gaming-limits-wrapper-2.cjs +1 -1
  11. package/es2015/player-account-gaming-limits-wrapper-2.js +1 -1
  12. package/esnext/player-account-gaming-limits-wrapper-2.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  15. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  16. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  17. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  18. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  19. package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
  20. package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
  21. package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
  22. package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
  23. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  24. package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
  25. package/components/PlayerAccountGamingLimitsHistory2-7xNrE9YG.cjs +0 -5
  26. package/components/PlayerAccountGamingLimitsPage2Gm16--q4xUQS8.cjs +0 -21
  27. package/components/PlayerAccountGamingLimitsWrapper2-BOn1tC_K.cjs +0 -1
  28. package/components/PlayerAccountGamingLimitsWrapper2-Cjgpntyc.js +0 -866
  29. package/components/PlayerAccountGamingLimitsWrapper2-nKKqHfcg.js +0 -860
@@ -1,860 +0,0 @@
1
- import { $ as X, G as de, a as be, c as ye, S as _e, i as pe, s as we, f as y, b as Le, e as v, d as S, r as R, g as d, h as _, j as E, w as U, n as D, k, l as ve, H as ke, I as Ce, o as Ee, E as A, v as ne, q as O, x as j, u as Me, z as le, J as r, D as Te } from "./PlayerAccountGamingLimitsHistory2-CBvsOjCi.js";
2
- function Ge({ withLocale: i, translations: e }) {
3
- X.subscribe((t) => {
4
- t == null && (de.set(e), X.set(i));
5
- });
6
- }
7
- function Ae(i, e) {
8
- be(i, e);
9
- }
10
- const Y = {
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 < "u") {
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-Dtq9wJaJ.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 < "u") {
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-CBvsOjCi.js").then((e) => e.P).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
- const { document: De } = Ee;
84
- function Se(i) {
85
- Le(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}');
86
- }
87
- function x(i, e, t) {
88
- const n = i.slice();
89
- return n[41] = e[t], n[43] = t, n;
90
- }
91
- function $(i, e, t) {
92
- const n = i.slice();
93
- return n[44] = e[t], n[43] = t, n;
94
- }
95
- function Pe(i) {
96
- let e, t, n, l, a, m, c, f, o, g, u = (
97
- /*$_*/
98
- i[22]("title") + ""
99
- ), L, C, b;
100
- return {
101
- c() {
102
- e = v("div"), t = A("svg"), n = A("defs"), l = A("style"), a = R(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-pink-500, #D0046C));}"), m = A("g"), c = A("g"), f = A("path"), o = S(), g = v("h2"), L = R(u), d(f, "class", "aaa"), d(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(f, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(g, "class", "GamingLimitsTitleMobile"), d(e, "class", "MenuReturnButton"), d(e, "part", "MenuReturnButton");
103
- },
104
- m(h, w) {
105
- E(h, e, w), _(e, t), _(t, n), _(n, l), _(l, a), _(t, m), _(m, c), _(c, f), _(e, o), _(e, g), _(g, L), C || (b = ne(
106
- e,
107
- "click",
108
- /*click_handler*/
109
- i[30]
110
- ), C = !0);
111
- },
112
- p(h, w) {
113
- w[0] & /*$_*/
114
- 4194304 && u !== (u = /*$_*/
115
- h[22]("title") + "") && U(L, u);
116
- },
117
- d(h) {
118
- h && k(e), C = !1, b();
119
- }
120
- };
121
- }
122
- function We(i) {
123
- let e, t, n, l, a = (
124
- /*limitTabs*/
125
- i[23].length > 1 && Re(i)
126
- ), m = j(
127
- /*limitTabs*/
128
- i[23]
129
- ), c = [];
130
- for (let o = 0; o < m.length; o += 1)
131
- c[o] = te(x(i, m, o));
132
- let f = (
133
- /*historyenabled*/
134
- i[6] === "true" && ie(i)
135
- );
136
- return {
137
- c() {
138
- a && a.c(), e = S(), t = v("div");
139
- for (let o = 0; o < c.length; o += 1)
140
- c[o].c();
141
- n = S(), f && f.c(), l = Me(), d(t, "class", "PlayerAccountGamingLmitsWrapper2");
142
- },
143
- m(o, g) {
144
- a && a.m(o, g), E(o, e, g), E(o, t, g);
145
- for (let u = 0; u < c.length; u += 1)
146
- c[u] && c[u].m(t, null);
147
- i[33](t), E(o, n, g), f && f.m(o, g), E(o, l, g);
148
- },
149
- p(o, g) {
150
- if (
151
- /*limitTabs*/
152
- o[23].length > 1 && a.p(o, g), g[0] & /*lang, currency, amountsArray, periodsArray, userid, deletelimit, enablecompliancetext, session, endpoint, apiversion, clientstyling, clientstylingurl, translationurl, customcurrencysymbols, limitformat*/
153
- 3177919
154
- ) {
155
- m = j(
156
- /*limitTabs*/
157
- o[23]
158
- );
159
- let u;
160
- for (u = 0; u < m.length; u += 1) {
161
- const L = x(o, m, u);
162
- c[u] ? c[u].p(L, g) : (c[u] = te(L), c[u].c(), c[u].m(t, null));
163
- }
164
- for (; u < c.length; u += 1)
165
- c[u].d(1);
166
- c.length = m.length;
167
- }
168
- /*historyenabled*/
169
- o[6] === "true" ? f ? f.p(o, g) : (f = ie(o), f.c(), f.m(l.parentNode, l)) : f && (f.d(1), f = null);
170
- },
171
- d(o) {
172
- o && (k(e), k(t), k(n), k(l)), a && a.d(o), le(c, o), i[33](null), f && f.d(o);
173
- }
174
- };
175
- }
176
- function ze(i) {
177
- return { c: D, m: D, p: D, d: D };
178
- }
179
- function Re(i) {
180
- let e, t = j(
181
- /*limitTabs*/
182
- i[23]
183
- ), n = [];
184
- for (let l = 0; l < t.length; l += 1)
185
- n[l] = ee($(i, t, l));
186
- return {
187
- c() {
188
- e = v("div");
189
- for (let l = 0; l < n.length; l += 1)
190
- n[l].c();
191
- d(e, "class", "TabsContainer");
192
- },
193
- m(l, a) {
194
- E(l, e, a);
195
- for (let m = 0; m < n.length; m += 1)
196
- n[m] && n[m].m(e, null);
197
- i[32](e);
198
- },
199
- p(l, a) {
200
- if (a[0] & /*selectTab, tabLabelArray, limitTabs*/
201
- 42205184) {
202
- t = j(
203
- /*limitTabs*/
204
- l[23]
205
- );
206
- let m;
207
- for (m = 0; m < t.length; m += 1) {
208
- const c = $(l, t, m);
209
- n[m] ? n[m].p(c, a) : (n[m] = ee(c), n[m].c(), n[m].m(e, null));
210
- }
211
- for (; m < n.length; m += 1)
212
- n[m].d(1);
213
- n.length = t.length;
214
- }
215
- },
216
- d(l) {
217
- l && k(e), le(n, l), i[32](null);
218
- }
219
- };
220
- }
221
- function ee(i) {
222
- let e, t = (
223
- /*tabLabelArray*/
224
- (i[18][
225
- /*i*/
226
- i[43]
227
- ] ?? /*limit*/
228
- i[44]) + ""
229
- ), n, l, a;
230
- function m() {
231
- return (
232
- /*click_handler_1*/
233
- i[31](
234
- /*i*/
235
- i[43]
236
- )
237
- );
238
- }
239
- return {
240
- c() {
241
- e = v("div"), n = R(t), d(e, "class", "LimitsTab");
242
- },
243
- m(c, f) {
244
- E(c, e, f), _(e, n), l || (a = ne(e, "click", m), l = !0);
245
- },
246
- p(c, f) {
247
- i = c, f[0] & /*tabLabelArray*/
248
- 262144 && t !== (t = /*tabLabelArray*/
249
- (i[18][
250
- /*i*/
251
- i[43]
252
- ] ?? /*limit*/
253
- i[44]) + "") && U(n, t);
254
- },
255
- d(c) {
256
- c && k(e), l = !1, a();
257
- }
258
- };
259
- }
260
- function te(i) {
261
- let e, t, n;
262
- return {
263
- c() {
264
- e = v("player-account-gaming-limits-page-2-gm16"), r(e, "class", "hidden selected"), r(
265
- e,
266
- "lang",
267
- /*lang*/
268
- i[0]
269
- ), r(
270
- e,
271
- "currency",
272
- /*currency*/
273
- i[4]
274
- ), r(e, "amountsconfig", t = /*amountsArray*/
275
- i[20][
276
- /*i*/
277
- i[43]
278
- ]), r(e, "periodsconfig", n = /*periodsArray*/
279
- i[21][
280
- /*i*/
281
- i[43]
282
- ]), r(
283
- e,
284
- "limittabindex",
285
- /*i*/
286
- i[43] + 1
287
- ), r(
288
- e,
289
- "userid",
290
- /*userid*/
291
- i[1]
292
- ), r(
293
- e,
294
- "deletelimit",
295
- /*deletelimit*/
296
- i[8]
297
- ), r(
298
- e,
299
- "enablecompliancetext",
300
- /*enablecompliancetext*/
301
- i[7]
302
- ), r(
303
- e,
304
- "session",
305
- /*session*/
306
- i[2]
307
- ), r(
308
- e,
309
- "endpoint",
310
- /*endpoint*/
311
- i[3]
312
- ), r(
313
- e,
314
- "apiversion",
315
- /*apiversion*/
316
- i[5]
317
- ), r(
318
- e,
319
- "clientstyling",
320
- /*clientstyling*/
321
- i[12]
322
- ), r(
323
- e,
324
- "clientstylingurl",
325
- /*clientstylingurl*/
326
- i[13]
327
- ), r(
328
- e,
329
- "translationurl",
330
- /*translationurl*/
331
- i[14]
332
- ), r(
333
- e,
334
- "customcurrencysymbols",
335
- /*customcurrencysymbols*/
336
- i[10]
337
- ), r(
338
- e,
339
- "limitformat",
340
- /*limitformat*/
341
- i[11]
342
- );
343
- },
344
- m(l, a) {
345
- E(l, e, a);
346
- },
347
- p(l, a) {
348
- a[0] & /*lang*/
349
- 1 && r(
350
- e,
351
- "lang",
352
- /*lang*/
353
- l[0]
354
- ), a[0] & /*currency*/
355
- 16 && r(
356
- e,
357
- "currency",
358
- /*currency*/
359
- l[4]
360
- ), a[0] & /*amountsArray*/
361
- 1048576 && t !== (t = /*amountsArray*/
362
- l[20][
363
- /*i*/
364
- l[43]
365
- ]) && r(e, "amountsconfig", t), a[0] & /*periodsArray*/
366
- 2097152 && n !== (n = /*periodsArray*/
367
- l[21][
368
- /*i*/
369
- l[43]
370
- ]) && r(e, "periodsconfig", n), a[0] & /*userid*/
371
- 2 && r(
372
- e,
373
- "userid",
374
- /*userid*/
375
- l[1]
376
- ), a[0] & /*deletelimit*/
377
- 256 && r(
378
- e,
379
- "deletelimit",
380
- /*deletelimit*/
381
- l[8]
382
- ), a[0] & /*enablecompliancetext*/
383
- 128 && r(
384
- e,
385
- "enablecompliancetext",
386
- /*enablecompliancetext*/
387
- l[7]
388
- ), a[0] & /*session*/
389
- 4 && r(
390
- e,
391
- "session",
392
- /*session*/
393
- l[2]
394
- ), a[0] & /*endpoint*/
395
- 8 && r(
396
- e,
397
- "endpoint",
398
- /*endpoint*/
399
- l[3]
400
- ), a[0] & /*apiversion*/
401
- 32 && r(
402
- e,
403
- "apiversion",
404
- /*apiversion*/
405
- l[5]
406
- ), a[0] & /*clientstyling*/
407
- 4096 && r(
408
- e,
409
- "clientstyling",
410
- /*clientstyling*/
411
- l[12]
412
- ), a[0] & /*clientstylingurl*/
413
- 8192 && r(
414
- e,
415
- "clientstylingurl",
416
- /*clientstylingurl*/
417
- l[13]
418
- ), a[0] & /*translationurl*/
419
- 16384 && r(
420
- e,
421
- "translationurl",
422
- /*translationurl*/
423
- l[14]
424
- ), a[0] & /*customcurrencysymbols*/
425
- 1024 && r(
426
- e,
427
- "customcurrencysymbols",
428
- /*customcurrencysymbols*/
429
- l[10]
430
- ), a[0] & /*limitformat*/
431
- 2048 && r(
432
- e,
433
- "limitformat",
434
- /*limitformat*/
435
- l[11]
436
- );
437
- },
438
- d(l) {
439
- l && k(e);
440
- }
441
- };
442
- }
443
- function ie(i) {
444
- let e;
445
- return {
446
- c() {
447
- e = v("player-account-gaming-limits-history-2"), r(
448
- e,
449
- "lang",
450
- /*lang*/
451
- i[0]
452
- ), r(
453
- e,
454
- "userid",
455
- /*userid*/
456
- i[1]
457
- ), r(
458
- e,
459
- "session",
460
- /*session*/
461
- i[2]
462
- ), r(
463
- e,
464
- "endpoint",
465
- /*endpoint*/
466
- i[3]
467
- ), r(
468
- e,
469
- "apiversion",
470
- /*apiversion*/
471
- i[5]
472
- ), r(
473
- e,
474
- "numberofentries",
475
- /*numberofentries*/
476
- i[9]
477
- ), r(
478
- e,
479
- "clientstyling",
480
- /*clientstyling*/
481
- i[12]
482
- ), r(
483
- e,
484
- "clientstylingurl",
485
- /*clientstylingurl*/
486
- i[13]
487
- ), r(
488
- e,
489
- "translationurl",
490
- /*translationurl*/
491
- i[14]
492
- ), r(
493
- e,
494
- "customcurrencysymbols",
495
- /*customcurrencysymbols*/
496
- i[10]
497
- );
498
- },
499
- m(t, n) {
500
- E(t, e, n);
501
- },
502
- p(t, n) {
503
- n[0] & /*lang*/
504
- 1 && r(
505
- e,
506
- "lang",
507
- /*lang*/
508
- t[0]
509
- ), n[0] & /*userid*/
510
- 2 && r(
511
- e,
512
- "userid",
513
- /*userid*/
514
- t[1]
515
- ), n[0] & /*session*/
516
- 4 && r(
517
- e,
518
- "session",
519
- /*session*/
520
- t[2]
521
- ), n[0] & /*endpoint*/
522
- 8 && r(
523
- e,
524
- "endpoint",
525
- /*endpoint*/
526
- t[3]
527
- ), n[0] & /*apiversion*/
528
- 32 && r(
529
- e,
530
- "apiversion",
531
- /*apiversion*/
532
- t[5]
533
- ), n[0] & /*numberofentries*/
534
- 512 && r(
535
- e,
536
- "numberofentries",
537
- /*numberofentries*/
538
- t[9]
539
- ), n[0] & /*clientstyling*/
540
- 4096 && r(
541
- e,
542
- "clientstyling",
543
- /*clientstyling*/
544
- t[12]
545
- ), n[0] & /*clientstylingurl*/
546
- 8192 && r(
547
- e,
548
- "clientstylingurl",
549
- /*clientstylingurl*/
550
- t[13]
551
- ), n[0] & /*translationurl*/
552
- 16384 && r(
553
- e,
554
- "translationurl",
555
- /*translationurl*/
556
- t[14]
557
- ), n[0] & /*customcurrencysymbols*/
558
- 1024 && r(
559
- e,
560
- "customcurrencysymbols",
561
- /*customcurrencysymbols*/
562
- t[10]
563
- );
564
- },
565
- d(t) {
566
- t && k(e);
567
- }
568
- };
569
- }
570
- function je(i) {
571
- let e, t, n, l, a, m, c, f = (
572
- /*$_*/
573
- i[22]("title") + ""
574
- ), o, g, u = (
575
- /*isMobile*/
576
- i[24] && Pe(i)
577
- );
578
- function L(h, w) {
579
- return (
580
- /*isLoading*/
581
- h[15] ? ze : We
582
- );
583
- }
584
- let C = L(i), b = C(i);
585
- return {
586
- c() {
587
- e = v("meta"), t = S(), n = v("div"), l = v("div"), a = v("div"), u && u.c(), m = S(), c = v("h2"), o = R(f), g = S(), b.c(), d(e, "name", "viewport"), d(e, "content", "width=device-width, initial-scale=1"), d(c, "class", "GamingLimitsTitle " + /*isMobile*/
588
- (i[24] ? "GamingLimitsTitleNone" : "")), d(a, "class", "TitleSection"), d(l, "class", "GamingLimitsWrapper " + /*isMobile*/
589
- (i[24] ? "GamingLimitsWrapperMobile" : ""));
590
- },
591
- m(h, w) {
592
- _(De.head, e), E(h, t, w), E(h, n, w), _(n, l), _(l, a), u && u.m(a, null), _(a, m), _(a, c), _(c, o), _(l, g), b.m(l, null), i[34](n);
593
- },
594
- p(h, w) {
595
- /*isMobile*/
596
- h[24] && u.p(h, w), w[0] & /*$_*/
597
- 4194304 && f !== (f = /*$_*/
598
- h[22]("title") + "") && U(o, f), C === (C = L(h)) && b ? b.p(h, w) : (b.d(1), b = C(h), b && (b.c(), b.m(l, null)));
599
- },
600
- i: D,
601
- o: D,
602
- d(h) {
603
- h && (k(t), k(n)), k(e), u && u.d(), b.d(), i[34](null);
604
- }
605
- };
606
- }
607
- function Fe(i, e, t) {
608
- let n;
609
- ve(i, Te, (s) => t(22, n = s));
610
- let { lang: l = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: f = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: u = "true" } = e, { enablecompliancetext: L = "false" } = e, { deletelimit: C = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: h = "" } = e, { numberofentries: w = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: J = "" } = e, { clientstyling: P = "" } = e, { clientstylingurl: W = "" } = e, { translationurl: V = "" } = e;
611
- Ge({ withLocale: "en", translations: {} });
612
- let F = !0, T, B = [], Z, M, G, z, H, se = window.navigator.userAgent, K = ke(se) !== "PC";
613
- Object.keys(Y).forEach((s) => {
614
- Ae(s, Y[s]);
615
- });
616
- const re = (s, p) => {
617
- if (t(20, z = s.replace(/\s/g, "").split("|")), t(21, H = p.replace(/\s/g, "").split("|")), z.length === 0)
618
- throw new Error("Please provide a full limits configuration.");
619
- if (z.length !== H.length)
620
- throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
621
- }, ae = () => {
622
- re(b, h), b.split("|").forEach((p) => {
623
- B.includes(p) || B.push(p);
624
- }), t(18, Z = g.split(",").map((p) => p.trim())), t(15, F = !1);
625
- }, N = (s) => {
626
- if (M.children.length > 0)
627
- for (let p = 0; p < M.children.length; p++)
628
- s === p ? (M.children[p].classList.remove("hidden"), G?.children[p].classList.add("selected")) : (M.children[p].classList.add("hidden"), G?.children[p].classList.remove("selected"));
629
- }, Q = () => {
630
- window.postMessage(
631
- {
632
- type: "PlayerAccountMenuActive",
633
- isMobile: K
634
- },
635
- window.location.href
636
- );
637
- }, oe = () => {
638
- let s = document.createElement("style");
639
- s.innerHTML = P, T.appendChild(s);
640
- }, me = () => {
641
- let s = new URL(W), p = document.createElement("style");
642
- fetch(s.href).then((I) => I.text()).then((I) => {
643
- p.innerHTML = I, setTimeout(
644
- () => {
645
- T.appendChild(p);
646
- },
647
- 1
648
- );
649
- });
650
- };
651
- Ce(() => () => {
652
- t(17, M = null), t(19, G = null);
653
- });
654
- const ce = () => Q(), ue = (s) => N(s);
655
- function fe(s) {
656
- O[s ? "unshift" : "push"](() => {
657
- G = s, t(19, G);
658
- });
659
- }
660
- function ge(s) {
661
- O[s ? "unshift" : "push"](() => {
662
- M = s, t(17, M);
663
- });
664
- }
665
- function he(s) {
666
- O[s ? "unshift" : "push"](() => {
667
- T = s, t(16, T);
668
- });
669
- }
670
- return i.$$set = (s) => {
671
- "lang" in s && t(0, l = s.lang), "userid" in s && t(1, a = s.userid), "session" in s && t(2, m = s.session), "endpoint" in s && t(3, c = s.endpoint), "currency" in s && t(4, f = s.currency), "apiversion" in s && t(5, o = s.apiversion), "tablabels" in s && t(27, g = s.tablabels), "historyenabled" in s && t(6, u = s.historyenabled), "enablecompliancetext" in s && t(7, L = s.enablecompliancetext), "deletelimit" in s && t(8, C = s.deletelimit), "limitsamount" in s && t(28, b = s.limitsamount), "limitsperiods" in s && t(29, h = s.limitsperiods), "numberofentries" in s && t(9, w = s.numberofentries), "customcurrencysymbols" in s && t(10, q = s.customcurrencysymbols), "limitformat" in s && t(11, J = s.limitformat), "clientstyling" in s && t(12, P = s.clientstyling), "clientstylingurl" in s && t(13, W = s.clientstylingurl), "translationurl" in s && t(14, V = s.translationurl);
672
- }, i.$$.update = () => {
673
- i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
674
- 134217775 && a && m && c && g && l && o && ae(), i.$$.dirty[0] & /*mainContainer, isLoading*/
675
- 163840 && M && !F && N(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
676
- 73728 && W && T && me(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
677
- 69632 && P && T && oe();
678
- }, [
679
- l,
680
- a,
681
- m,
682
- c,
683
- f,
684
- o,
685
- u,
686
- L,
687
- C,
688
- w,
689
- q,
690
- J,
691
- P,
692
- W,
693
- V,
694
- F,
695
- T,
696
- M,
697
- Z,
698
- G,
699
- z,
700
- H,
701
- n,
702
- B,
703
- K,
704
- N,
705
- Q,
706
- g,
707
- b,
708
- h,
709
- ce,
710
- ue,
711
- fe,
712
- ge,
713
- he
714
- ];
715
- }
716
- class Be extends _e {
717
- constructor(e) {
718
- super(), pe(
719
- this,
720
- e,
721
- Fe,
722
- je,
723
- we,
724
- {
725
- lang: 0,
726
- userid: 1,
727
- session: 2,
728
- endpoint: 3,
729
- currency: 4,
730
- apiversion: 5,
731
- tablabels: 27,
732
- historyenabled: 6,
733
- enablecompliancetext: 7,
734
- deletelimit: 8,
735
- limitsamount: 28,
736
- limitsperiods: 29,
737
- numberofentries: 9,
738
- customcurrencysymbols: 10,
739
- limitformat: 11,
740
- clientstyling: 12,
741
- clientstylingurl: 13,
742
- translationurl: 14
743
- },
744
- Se,
745
- [-1, -1]
746
- );
747
- }
748
- get lang() {
749
- return this.$$.ctx[0];
750
- }
751
- set lang(e) {
752
- this.$$set({ lang: e }), y();
753
- }
754
- get userid() {
755
- return this.$$.ctx[1];
756
- }
757
- set userid(e) {
758
- this.$$set({ userid: e }), y();
759
- }
760
- get session() {
761
- return this.$$.ctx[2];
762
- }
763
- set session(e) {
764
- this.$$set({ session: e }), y();
765
- }
766
- get endpoint() {
767
- return this.$$.ctx[3];
768
- }
769
- set endpoint(e) {
770
- this.$$set({ endpoint: e }), y();
771
- }
772
- get currency() {
773
- return this.$$.ctx[4];
774
- }
775
- set currency(e) {
776
- this.$$set({ currency: e }), y();
777
- }
778
- get apiversion() {
779
- return this.$$.ctx[5];
780
- }
781
- set apiversion(e) {
782
- this.$$set({ apiversion: e }), y();
783
- }
784
- get tablabels() {
785
- return this.$$.ctx[27];
786
- }
787
- set tablabels(e) {
788
- this.$$set({ tablabels: e }), y();
789
- }
790
- get historyenabled() {
791
- return this.$$.ctx[6];
792
- }
793
- set historyenabled(e) {
794
- this.$$set({ historyenabled: e }), y();
795
- }
796
- get enablecompliancetext() {
797
- return this.$$.ctx[7];
798
- }
799
- set enablecompliancetext(e) {
800
- this.$$set({ enablecompliancetext: e }), y();
801
- }
802
- get deletelimit() {
803
- return this.$$.ctx[8];
804
- }
805
- set deletelimit(e) {
806
- this.$$set({ deletelimit: e }), y();
807
- }
808
- get limitsamount() {
809
- return this.$$.ctx[28];
810
- }
811
- set limitsamount(e) {
812
- this.$$set({ limitsamount: e }), y();
813
- }
814
- get limitsperiods() {
815
- return this.$$.ctx[29];
816
- }
817
- set limitsperiods(e) {
818
- this.$$set({ limitsperiods: e }), y();
819
- }
820
- get numberofentries() {
821
- return this.$$.ctx[9];
822
- }
823
- set numberofentries(e) {
824
- this.$$set({ numberofentries: e }), y();
825
- }
826
- get customcurrencysymbols() {
827
- return this.$$.ctx[10];
828
- }
829
- set customcurrencysymbols(e) {
830
- this.$$set({ customcurrencysymbols: e }), y();
831
- }
832
- get limitformat() {
833
- return this.$$.ctx[11];
834
- }
835
- set limitformat(e) {
836
- this.$$set({ limitformat: e }), y();
837
- }
838
- get clientstyling() {
839
- return this.$$.ctx[12];
840
- }
841
- set clientstyling(e) {
842
- this.$$set({ clientstyling: e }), y();
843
- }
844
- get clientstylingurl() {
845
- return this.$$.ctx[13];
846
- }
847
- set clientstylingurl(e) {
848
- this.$$set({ clientstylingurl: e }), y();
849
- }
850
- get translationurl() {
851
- return this.$$.ctx[14];
852
- }
853
- set translationurl(e) {
854
- this.$$set({ translationurl: e }), y();
855
- }
856
- }
857
- ye(Be, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
858
- export {
859
- Be as P
860
- };