@everymatrix/player-elevate-card 1.99.49 → 1.99.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{general-styling-wrapper_6.cjs.entry.js → general-styling-wrapper_7.cjs.entry.js} +209 -23
- package/dist/cjs/{index-81135df8.js → index-9d42a12b.js} +27 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/player-elevate-card.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/player-elevate-card-data/player-elevate-card-data.js +4 -4
- package/dist/collection/components/player-elevate-optcard/player-elevate-optcard.css +83 -0
- package/dist/collection/components/player-elevate-optcard/player-elevate-optcard.js +206 -0
- package/dist/collection/components/player-elevate-pointcard/player-elevate-pointcard.js +2 -2
- package/dist/collection/utils/locale.utils.js +96 -16
- package/dist/esm/{general-styling-wrapper_6.entry.js → general-styling-wrapper_7.entry.js} +209 -24
- package/dist/esm/{index-5e93d535.js → index-6f9b9c55.js} +27 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/player-elevate-card.js +3 -3
- package/dist/player-elevate-card/general-styling-wrapper_7.entry.js +1 -0
- package/dist/player-elevate-card/index-6f9b9c55.js +2 -0
- package/dist/player-elevate-card/player-elevate-card.esm.js +1 -1
- package/dist/types/components/player-elevate-optcard/player-elevate-optcard.d.ts +23 -0
- package/dist/types/components.d.ts +23 -0
- package/dist/types/models/player-elevate.d.ts +1 -0
- package/package.json +1 -1
- package/dist/player-elevate-card/general-styling-wrapper_6.entry.js +0 -1
- package/dist/player-elevate-card/index-5e93d535.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement, a as getAssetPath, F as Fragment, c as createEvent } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement, a as getAssetPath, F as Fragment, c as createEvent } from './index-6f9b9c55.js';
|
|
2
2
|
|
|
3
3
|
const mergeTranslations = (url, target) => {
|
|
4
4
|
return new Promise((resolve) => {
|
|
@@ -335,7 +335,12 @@ const TRANSLATIONS = {
|
|
|
335
335
|
termAndConditions: 'Term & Conditions',
|
|
336
336
|
rakebackTitle: 'Available Rakeback',
|
|
337
337
|
loading: 'Loading',
|
|
338
|
-
minutesCanClaim: 'Next Claim is available in ${minutes} minutes'
|
|
338
|
+
minutesCanClaim: 'Next Claim is available in ${minutes} minutes',
|
|
339
|
+
optIn: 'OPT IN',
|
|
340
|
+
optOut: 'OPT OUT',
|
|
341
|
+
loyaltyDescription: 'By joining the Loyalty Program, you agree to the following:',
|
|
342
|
+
termsAndConditions: 'Terms & Conditions',
|
|
343
|
+
loyaltyProgramDescription: ' By joining the Loyalty Program, you agree th the following: Particioation is free and available to eligible registerd players.By opting in,you agree to particioate in the Loyalty Program and earn Loyalty Points based on eligible gameplay and activities.'
|
|
339
344
|
},
|
|
340
345
|
'zh-hk': {
|
|
341
346
|
redeem: '兑奖',
|
|
@@ -356,7 +361,12 @@ const TRANSLATIONS = {
|
|
|
356
361
|
termAndConditions: 'Term & Conditions',
|
|
357
362
|
rakebackTitle: '可用的返利',
|
|
358
363
|
loading: '加載中',
|
|
359
|
-
minutesCanClaim: '下次可領取時間為${minutes}分鐘後'
|
|
364
|
+
minutesCanClaim: '下次可領取時間為${minutes}分鐘後',
|
|
365
|
+
optIn: '立即加入',
|
|
366
|
+
optOut: '退出',
|
|
367
|
+
loyaltyDescription: '加入忠誠計劃即表示您同意以下內容:',
|
|
368
|
+
termsAndConditions: '條款及細則',
|
|
369
|
+
loyaltyProgramDescription: '加入忠誠計劃即表示您同意以下內容。參與免費並向符合資格的已註冊玩家開放。加入後,您將根據符合資格的遊戲及活動獲得忠誠積分。'
|
|
360
370
|
},
|
|
361
371
|
de: {
|
|
362
372
|
redeem: 'Redeem',
|
|
@@ -377,7 +387,12 @@ const TRANSLATIONS = {
|
|
|
377
387
|
termAndConditions: 'Term & Conditions',
|
|
378
388
|
rakebackTitle: 'Verfügbarer Rakeback',
|
|
379
389
|
loading: 'Laden',
|
|
380
|
-
minutesCanClaim: 'Nächster Anspruch ist in ${minutes} Minuten verfügbar'
|
|
390
|
+
minutesCanClaim: 'Nächster Anspruch ist in ${minutes} Minuten verfügbar',
|
|
391
|
+
optIn: 'TEILNEHMEN',
|
|
392
|
+
optOut: 'ABMELDEN',
|
|
393
|
+
loyaltyDescription: 'Mit Ihrer Teilnahme am Treueprogramm stimmen Sie Folgendem zu:',
|
|
394
|
+
termsAndConditions: 'Geschäftsbedingungen',
|
|
395
|
+
loyaltyProgramDescription: 'Die Teilnahme ist kostenlos und steht berechtigten registrierten Spielern zur Verfügung. Mit Ihrer Anmeldung stimmen Sie der Teilnahme am Treueprogramm und dem Sammeln von Treuepunkten durch qualifizierte Spiele und Aktivitäten zu.',
|
|
381
396
|
},
|
|
382
397
|
it: {
|
|
383
398
|
redeem: 'Redeem',
|
|
@@ -398,7 +413,12 @@ const TRANSLATIONS = {
|
|
|
398
413
|
termAndConditions: 'Term & Conditions',
|
|
399
414
|
rakebackTitle: 'Rakeback Disponibile',
|
|
400
415
|
loading: 'Caricamento',
|
|
401
|
-
minutesCanClaim: 'La prossima richiesta sarà disponibile tra ${minutes} minuti'
|
|
416
|
+
minutesCanClaim: 'La prossima richiesta sarà disponibile tra ${minutes} minuti',
|
|
417
|
+
optIn: 'ADERISCI',
|
|
418
|
+
optOut: 'DISATTIVA',
|
|
419
|
+
loyaltyDescription: 'Iscrivendoti al Programma Fedeltà accetti quanto segue:',
|
|
420
|
+
termsAndConditions: 'Termini e Condizioni',
|
|
421
|
+
loyaltyProgramDescription: 'La partecipazione è gratuita ed è disponibile per i giocatori registrati idonei. Aderendo, accetti di partecipare al Programma Fedeltà e di guadagnare Punti Fedeltà in base al gioco e alle attività idonee.',
|
|
402
422
|
},
|
|
403
423
|
fr: {
|
|
404
424
|
redeem: 'Redeem',
|
|
@@ -419,7 +439,12 @@ const TRANSLATIONS = {
|
|
|
419
439
|
termAndConditions: 'Term & Conditions',
|
|
420
440
|
rakebackTitle: 'Rakeback Disponible',
|
|
421
441
|
loading: 'Chargement',
|
|
422
|
-
minutesCanClaim: 'La prochaine réclamation sera disponible dans ${minutes} minutes'
|
|
442
|
+
minutesCanClaim: 'La prochaine réclamation sera disponible dans ${minutes} minutes',
|
|
443
|
+
optIn: 'ADHÉRER',
|
|
444
|
+
optOut: 'SE RETIRER',
|
|
445
|
+
loyaltyDescription: 'En rejoignant le programme de fidélité, vous acceptez ce qui suit :',
|
|
446
|
+
termsAndConditions: 'Conditions générales',
|
|
447
|
+
loyaltyProgramDescription: 'La participation est gratuite et réservée aux joueurs inscrits éligibles. En adhérant, vous acceptez de participer au programme de fidélité et de gagner des points de fidélité grâce aux jeux et activités éligibles.',
|
|
423
448
|
},
|
|
424
449
|
es: {
|
|
425
450
|
claim: "Reclamar",
|
|
@@ -446,7 +471,12 @@ const TRANSLATIONS = {
|
|
|
446
471
|
xp: "XP",
|
|
447
472
|
sp: "Monedas",
|
|
448
473
|
termAndConditions: "Términos y condiciones",
|
|
449
|
-
loading: "Cargando"
|
|
474
|
+
loading: "Cargando",
|
|
475
|
+
optIn: 'UNIRSE',
|
|
476
|
+
optOut: 'SALIR',
|
|
477
|
+
loyaltyDescription: 'Al unirte al Programa de Fidelidad, aceptas lo siguiente:',
|
|
478
|
+
termsAndConditions: 'Términos y condiciones',
|
|
479
|
+
loyaltyProgramDescription: 'La participación es gratuita y está disponible para jugadores registrados elegibles. Al participar, aceptas formar parte del Programa de Fidelidad y obtener puntos de fidelidad mediante actividades y juegos elegibles.',
|
|
450
480
|
},
|
|
451
481
|
tr: {
|
|
452
482
|
redeem: 'Kullan',
|
|
@@ -473,7 +503,12 @@ const TRANSLATIONS = {
|
|
|
473
503
|
termAndConditions: 'Şartlar ve Koşullar',
|
|
474
504
|
rakebackTitle: 'Mevcut Rakeback',
|
|
475
505
|
loading: 'Yükleniyor',
|
|
476
|
-
minutesCanClaim: 'Sonraki talep ${minutes} dakika içinde kullanılabilir'
|
|
506
|
+
minutesCanClaim: 'Sonraki talep ${minutes} dakika içinde kullanılabilir',
|
|
507
|
+
optIn: 'KATIL',
|
|
508
|
+
optOut: 'AYRIL',
|
|
509
|
+
loyaltyDescription: 'Sadakat Programına katılarak aşağıdakileri kabul etmiş olursunuz:',
|
|
510
|
+
termsAndConditions: 'Şartlar ve Koşullar',
|
|
511
|
+
loyaltyProgramDescription: 'Katılım ücretsizdir ve uygun kayıtlı oyunculara açıktır. Programa katılarak, Sadakat Programına katılmayı ve uygun oyunlar ile etkinliklerden Sadakat Puanları kazanmayı kabul etmiş olursunuz.',
|
|
477
512
|
},
|
|
478
513
|
az: {
|
|
479
514
|
claim: "iddia",
|
|
@@ -500,21 +535,36 @@ const TRANSLATIONS = {
|
|
|
500
535
|
xp: "XP",
|
|
501
536
|
sp: "sikkələr",
|
|
502
537
|
termAndConditions: "Qaydalar və Şərtlər",
|
|
503
|
-
loading: "Yüklənir"
|
|
538
|
+
loading: "Yüklənir",
|
|
539
|
+
optIn: 'QOŞUL',
|
|
540
|
+
optOut: 'ÇIX',
|
|
541
|
+
loyaltyDescription: 'Sadiqlik Proqramına qoşulmaqla aşağıdakıları qəbul etmiş olursunuz:',
|
|
542
|
+
termsAndConditions: 'Şərtlər və Qaydalar',
|
|
543
|
+
loyaltyProgramDescription: 'İştirak ödənişsizdir və uyğun qeydiyyatdan keçmiş oyunçular üçün nəzərdə tutulub. Qoşulmaqla siz Sadiqlik Proqramında iştirak etməyə və uyğun oyunlar və fəaliyyətlər üzrə Sadiqlik xalları qazanmağa razılıq verirsiniz.',
|
|
504
544
|
},
|
|
505
545
|
ru: {
|
|
506
546
|
redeem: 'Redeem',
|
|
507
547
|
claim: 'Требовать',
|
|
508
548
|
rakebackTitle: 'Доступный Рейкбек',
|
|
509
549
|
loading: 'Загрузка',
|
|
510
|
-
minutesCanClaim: 'Следующее требование будет доступно через ${minutes} минут'
|
|
550
|
+
minutesCanClaim: 'Следующее требование будет доступно через ${minutes} минут',
|
|
551
|
+
optIn: 'ПРИСОЕДИНИТЬСЯ',
|
|
552
|
+
optOut: 'ВЫЙТИ',
|
|
553
|
+
loyaltyDescription: 'Присоединяясь к Программе лояльности, вы соглашаетесь со следующим:',
|
|
554
|
+
termsAndConditions: 'Условия использования',
|
|
555
|
+
loyaltyProgramDescription: 'Участие бесплатно и доступно зарегистрированным игрокам, соответствующим требованиям. Присоединяясь, вы соглашаетесь участвовать в Программе лояльности и получать бонусные баллы за соответствующие игры и активности.',
|
|
511
556
|
},
|
|
512
557
|
ro: {
|
|
513
558
|
redeem: 'Redeem',
|
|
514
559
|
claim: 'Revendicare',
|
|
515
560
|
rakebackTitle: 'Rakeback Disponibil',
|
|
516
561
|
loading: 'Se încarcă',
|
|
517
|
-
minutesCanClaim: 'Următoarea revendicare va fi disponibilă în ${minutes} minute'
|
|
562
|
+
minutesCanClaim: 'Următoarea revendicare va fi disponibilă în ${minutes} minute',
|
|
563
|
+
optIn: 'ÎNSCRIE-TE',
|
|
564
|
+
optOut: 'RENUNȚĂ',
|
|
565
|
+
loyaltyDescription: 'Prin înscrierea în Programul de Loialitate, sunteți de acord cu următoarele:',
|
|
566
|
+
termsAndConditions: 'Termeni și condiții',
|
|
567
|
+
loyaltyProgramDescription: 'Participarea este gratuită și disponibilă pentru jucătorii eligibili înregistrați. Prin înscriere, sunteți de acord să participați la Programul de Loialitate și să câștigați puncte de loialitate din jocurile și activitățile eligibile.',
|
|
518
568
|
},
|
|
519
569
|
hr: {
|
|
520
570
|
redeem: 'Otkupiti',
|
|
@@ -531,42 +581,72 @@ const TRANSLATIONS = {
|
|
|
531
581
|
xp: 'XP',
|
|
532
582
|
rakebackTitle: 'Dostupan Rakeback',
|
|
533
583
|
loading: 'Učitavanje',
|
|
534
|
-
minutesCanClaim: 'Sljedeći zahtjev bit će dostupan za ${minutes} minuta'
|
|
584
|
+
minutesCanClaim: 'Sljedeći zahtjev bit će dostupan za ${minutes} minuta',
|
|
585
|
+
optIn: 'PRIDRUŽI SE',
|
|
586
|
+
optOut: 'ODJAVI SE',
|
|
587
|
+
loyaltyDescription: 'Pridruživanjem Programu vjernosti prihvaćate sljedeće:',
|
|
588
|
+
termsAndConditions: 'Uvjeti i odredbe',
|
|
589
|
+
loyaltyProgramDescription: 'Sudjelovanje je besplatno i dostupno registriranim igračima koji ispunjavaju uvjete. Pristupanjem prihvaćate sudjelovanje u Programu vjernosti i prikupljanje bodova kroz kvalificirane igre i aktivnosti.',
|
|
535
590
|
},
|
|
536
591
|
hu: {
|
|
537
592
|
redeem: 'Redeem',
|
|
538
593
|
claim: 'Igény',
|
|
539
594
|
rakebackTitle: 'Elérhető Rakeback',
|
|
540
595
|
loading: 'Betöltés',
|
|
541
|
-
minutesCanClaim: 'A következő igény ${minutes} perc múlva lesz elérhető'
|
|
596
|
+
minutesCanClaim: 'A következő igény ${minutes} perc múlva lesz elérhető',
|
|
597
|
+
optIn: 'CSATLAKOZÁS',
|
|
598
|
+
optOut: 'KILÉPÉS',
|
|
599
|
+
loyaltyDescription: 'A Hűségprogramhoz való csatlakozással elfogadja az alábbiakat:',
|
|
600
|
+
termsAndConditions: 'Felhasználási feltételek',
|
|
601
|
+
loyaltyProgramDescription: 'A részvétel ingyenes és az arra jogosult regisztrált játékosok számára érhető el. A csatlakozással elfogadja a Hűségprogramban való részvételt és a hűségpontok gyűjtését a jogosult játékok és tevékenységek alapján.',
|
|
542
602
|
},
|
|
543
603
|
pl: {
|
|
544
604
|
redeem: 'Redeem',
|
|
545
605
|
claim: 'Roszczenie',
|
|
546
606
|
rakebackTitle: 'Dostępny Rakeback',
|
|
547
607
|
loading: 'Ładowanie',
|
|
548
|
-
minutesCanClaim: 'Następne roszczenie będzie dostępne za ${minutes} minut'
|
|
608
|
+
minutesCanClaim: 'Następne roszczenie będzie dostępne za ${minutes} minut',
|
|
609
|
+
optIn: 'DOŁĄCZ',
|
|
610
|
+
optOut: 'ZREZYGNUJ',
|
|
611
|
+
loyaltyDescription: 'Dołączając do Programu Lojalnościowego, akceptujesz poniższe warunki:',
|
|
612
|
+
termsAndConditions: 'Regulamin',
|
|
613
|
+
loyaltyProgramDescription: 'Udział jest bezpłatny i dostępny dla uprawnionych zarejestrowanych graczy. Dołączając, zgadzasz się uczestniczyć w Programie Lojalnościowym i zdobywać punkty lojalnościowe za kwalifikujące się gry i aktywności.',
|
|
549
614
|
},
|
|
550
615
|
pt: {
|
|
551
616
|
redeem: 'Redeem',
|
|
552
617
|
claim: 'Reivindicar',
|
|
553
618
|
rakebackTitle: 'Rakeback Disponível',
|
|
554
619
|
loading: 'Carregando',
|
|
555
|
-
minutesCanClaim: 'Próxima reivindicação disponível em ${minutes} minutos'
|
|
620
|
+
minutesCanClaim: 'Próxima reivindicação disponível em ${minutes} minutos',
|
|
621
|
+
optIn: 'ADERIR',
|
|
622
|
+
optOut: 'CANCELAR ADESÃO',
|
|
623
|
+
loyaltyDescription: 'Ao aderir ao Programa de Fidelidade, concorda com o seguinte:',
|
|
624
|
+
termsAndConditions: 'Termos e Condições',
|
|
625
|
+
loyaltyProgramDescription: 'A participação é gratuita e está disponível para jogadores registados elegíveis. Ao aderir, concorda em participar no Programa de Fidelidade e ganhar Pontos de Fidelidade através de jogos e atividades elegíveis.',
|
|
556
626
|
},
|
|
557
627
|
sl: {
|
|
558
628
|
redeem: 'Redeem',
|
|
559
629
|
claim: 'Zahtevek',
|
|
560
630
|
rakebackTitle: 'Razpoložljiv Rakeback',
|
|
561
631
|
loading: 'Nalaganje',
|
|
562
|
-
minutesCanClaim: 'Naslednji zahtevek bo na voljo čez ${minutes} minut'
|
|
632
|
+
minutesCanClaim: 'Naslednji zahtevek bo na voljo čez ${minutes} minut',
|
|
633
|
+
optIn: 'PRIDRUŽI SE',
|
|
634
|
+
optOut: 'IZSTOPI',
|
|
635
|
+
loyaltyDescription: 'S pridružitvijo programu zvestobe se strinjate z naslednjim:',
|
|
636
|
+
termsAndConditions: 'Pogoji in določila',
|
|
637
|
+
loyaltyProgramDescription: 'Sodelovanje je brezplačno in na voljo upravičenim registriranim igralcem. S pridružitvijo se strinjate s sodelovanjem v programu zvestobe in pridobivanjem točk zvestobe za upravičene igre in aktivnosti.',
|
|
563
638
|
},
|
|
564
639
|
sr: {
|
|
565
640
|
redeem: 'Redeem',
|
|
566
641
|
claim: 'Zahtev',
|
|
567
642
|
rakebackTitle: 'Dostupan Rakeback',
|
|
568
643
|
loading: 'Učitavanje',
|
|
569
|
-
minutesCanClaim: 'Sledeći zahtev biće dostupan za ${minutes} minuta'
|
|
644
|
+
minutesCanClaim: 'Sledeći zahtev biće dostupan za ${minutes} minuta',
|
|
645
|
+
optIn: 'PRIDRUŽI SE',
|
|
646
|
+
optOut: 'NAPUSTI',
|
|
647
|
+
loyaltyDescription: 'Pridruživanjem Programu lojalnosti prihvatate sledeće uslove:',
|
|
648
|
+
termsAndConditions: 'Uslovi i odredbe',
|
|
649
|
+
loyaltyProgramDescription: 'Učešće je besplatno i dostupno registrovanim igračima koji ispunjavaju uslove. Pridruživanjem prihvatate učešće u Programu lojalnosti i prikupljanje bodova kroz odgovarajuće igre i aktivnosti.',
|
|
570
650
|
}
|
|
571
651
|
};
|
|
572
652
|
const translate = (key, customLang) => {
|
|
@@ -584,6 +664,27 @@ const translateWithParams = (key, params) => {
|
|
|
584
664
|
});
|
|
585
665
|
return templateString;
|
|
586
666
|
};
|
|
667
|
+
const getTranslations = (url) => {
|
|
668
|
+
return new Promise((resolve) => {
|
|
669
|
+
fetch(url)
|
|
670
|
+
.then((res) => res.json())
|
|
671
|
+
.then((data) => {
|
|
672
|
+
Object.keys(data).forEach((item) => {
|
|
673
|
+
if (!TRANSLATIONS[item]) {
|
|
674
|
+
TRANSLATIONS[item] = {};
|
|
675
|
+
}
|
|
676
|
+
for (let key in data[item]) {
|
|
677
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
resolve(true);
|
|
681
|
+
})
|
|
682
|
+
.catch((err) => {
|
|
683
|
+
console.error('Failed to load translations:', err);
|
|
684
|
+
resolve(false);
|
|
685
|
+
});
|
|
686
|
+
});
|
|
687
|
+
};
|
|
587
688
|
|
|
588
689
|
function _typeof(o) {
|
|
589
690
|
"@babel/helpers - typeof";
|
|
@@ -3277,7 +3378,7 @@ const PlayerElevateCardData = class {
|
|
|
3277
3378
|
})
|
|
3278
3379
|
.then((res) => res.json())
|
|
3279
3380
|
.then((res) => {
|
|
3280
|
-
var _a, _b, _c, _d, _e;
|
|
3381
|
+
var _a, _b, _c, _d, _e, _f;
|
|
3281
3382
|
if (!res.success) {
|
|
3282
3383
|
console.error('Exception when fetch user elevateinfo, ', res.errorCode, res.errorMessage);
|
|
3283
3384
|
reject(true);
|
|
@@ -3288,9 +3389,9 @@ const PlayerElevateCardData = class {
|
|
|
3288
3389
|
this.playerElevateLevel = playerElevateInfo.level;
|
|
3289
3390
|
this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name;
|
|
3290
3391
|
this.playerElevateLevel.spendablePoints = ((_c = playerElevateInfo.spendableWallet) === null || _c === void 0 ? void 0 : _c.total.points) || 0;
|
|
3291
|
-
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
|
|
3292
|
-
const spendableTotal = (
|
|
3293
|
-
const loyaltyWalletTotal = (
|
|
3392
|
+
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel, optIn: (_d = res.data) === null || _d === void 0 ? void 0 : _d.optIn });
|
|
3393
|
+
const spendableTotal = (_e = res.data.spendableWallet) === null || _e === void 0 ? void 0 : _e.total;
|
|
3394
|
+
const loyaltyWalletTotal = (_f = res.data.loyaltyWallet) === null || _f === void 0 ? void 0 : _f.total;
|
|
3294
3395
|
this.playerElevateLeveLoaded.emit({
|
|
3295
3396
|
elevateLevelWalletTotal: spendableTotal,
|
|
3296
3397
|
loyaltyWalletTotal
|
|
@@ -3449,6 +3550,90 @@ const PlayerElevateLoyaltycard = class {
|
|
|
3449
3550
|
};
|
|
3450
3551
|
PlayerElevateLoyaltycard.style = PlayerElevateLoyaltycardStyle0;
|
|
3451
3552
|
|
|
3553
|
+
const playerElevateOptcardCss = ":host{display:block;width:100%;box-sizing:border-box;background:var(--emw--color-black-15, #0b1511)}.OptCard{display:flex;flex-direction:column;width:100%;box-sizing:border-box;max-width:100%;min-width:0;box-sizing:border-box;padding:22px 20px 14px;gap:0}.OptInButton{width:100%;height:54px;border:2px solid var(--emw--button-contrast-background, #087b36);border-radius:30px;cursor:pointer;background:var(--emw--button-contrast-background);color:var(--emw--button-typography-contrast, #ffffff);font-size:16px;font-weight:700;transition:opacity 0.2s ease}.OptInButton:hover{opacity:0.9}.OptInButton:active{transform:scale(0.99)}.OptInButton.OptOutButton{background:transparent;color:var(--c-base-07, #999);border:1px solid var(--c-base-07, #999)}.OptInButton:disabled{opacity:0.5;cursor:not-allowed}.Description{margin:16px 0 14px;font-size:13px;line-height:15px;font-weight:400;width:100%;max-width:428px;box-sizing:border-box;color:var(--emw--color-typography, #ffffff);white-space:pre-line;overflow-wrap:break-word}.TermsLink{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:0;font-size:13px;font-weight:700;color:var(--emw--color-secondary, #16c653);cursor:pointer;text-decoration:none}.TermsLink:hover{text-decoration:underline}";
|
|
3554
|
+
const PlayerElevateOptcardStyle0 = playerElevateOptcardCss;
|
|
3555
|
+
|
|
3556
|
+
const PlayerElevateOptcard = class {
|
|
3557
|
+
constructor(hostRef) {
|
|
3558
|
+
registerInstance(this, hostRef);
|
|
3559
|
+
this.endpoint = undefined;
|
|
3560
|
+
this.session = undefined;
|
|
3561
|
+
this.language = 'en';
|
|
3562
|
+
this.translationUrl = '';
|
|
3563
|
+
this.enableOptIn = false;
|
|
3564
|
+
this.optIn = undefined;
|
|
3565
|
+
this.optInLoaded = false;
|
|
3566
|
+
this.terms = {
|
|
3567
|
+
url: '',
|
|
3568
|
+
complianceUrl: '',
|
|
3569
|
+
complianceDescription: '',
|
|
3570
|
+
};
|
|
3571
|
+
}
|
|
3572
|
+
handleMessage(event) {
|
|
3573
|
+
var _a, _b;
|
|
3574
|
+
if (!this.enableOptIn && this.optInLoaded) {
|
|
3575
|
+
return;
|
|
3576
|
+
}
|
|
3577
|
+
if (event.origin !== window.location.origin) {
|
|
3578
|
+
return;
|
|
3579
|
+
}
|
|
3580
|
+
switch ((_a = event.data) === null || _a === void 0 ? void 0 : _a.type) {
|
|
3581
|
+
case 'userUpdateOptLoyaltySuccess':
|
|
3582
|
+
this.optIn = true;
|
|
3583
|
+
this.optInLoaded = true;
|
|
3584
|
+
break;
|
|
3585
|
+
case 'BEE_OPT_IN_TERMS_LOADED':
|
|
3586
|
+
this.terms = event.data.terms;
|
|
3587
|
+
break;
|
|
3588
|
+
}
|
|
3589
|
+
switch ((_b = event.data) === null || _b === void 0 ? void 0 : _b.type) {
|
|
3590
|
+
case 'userUpdateOptLoyaltySuccess':
|
|
3591
|
+
this.optIn = true;
|
|
3592
|
+
this.optInLoaded = true;
|
|
3593
|
+
break;
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
playerElevateLeveLoadedHandler(event) {
|
|
3597
|
+
if (!event.detail) {
|
|
3598
|
+
return;
|
|
3599
|
+
}
|
|
3600
|
+
if (typeof event.detail.optIn === 'boolean') {
|
|
3601
|
+
this.optIn = event.detail.optIn;
|
|
3602
|
+
this.optInLoaded = true;
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
onOptInClick() {
|
|
3606
|
+
window.postMessage({ type: 'BEE_OPT_IN_CLICKED' }, window.location.origin);
|
|
3607
|
+
}
|
|
3608
|
+
// use when click OPTOut button
|
|
3609
|
+
onOptOutClick() {
|
|
3610
|
+
window.postMessage({ type: 'BEE_OPT_OUT_CLICKED' }, window.location.origin);
|
|
3611
|
+
}
|
|
3612
|
+
async componentWillLoad() {
|
|
3613
|
+
if (this.translationUrl) {
|
|
3614
|
+
await getTranslations(this.translationUrl);
|
|
3615
|
+
}
|
|
3616
|
+
this.paramProxy = {
|
|
3617
|
+
endpoint: this.endpoint,
|
|
3618
|
+
session: this.session,
|
|
3619
|
+
language: this.language,
|
|
3620
|
+
};
|
|
3621
|
+
}
|
|
3622
|
+
render() {
|
|
3623
|
+
return (h("div", { key: '944ae8e1b73edcf3a843d9e77cc5fe285dfaae3c', class: "OptCard" }, h("general-styling-wrapper", { key: '1497bab54773831154ae823d82d496cd59ef7dea', targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl }), h("player-elevate-card-data", { key: '6ea240921feedd23a5227915a7e29ce995ac1051', params: this.paramProxy }), this.optInLoaded && (h("button", { key: 'a913db8f024924c954f919ecbbd732d0c3e987f4', class: {
|
|
3624
|
+
OptInButton: true,
|
|
3625
|
+
OptOutButton: this.optIn === true,
|
|
3626
|
+
}, onClick: () => {
|
|
3627
|
+
this.optIn
|
|
3628
|
+
? this.onOptOutClick()
|
|
3629
|
+
: this.onOptInClick();
|
|
3630
|
+
} }, this.optIn
|
|
3631
|
+
? translate('optOut', this.language)
|
|
3632
|
+
: translate('optIn', this.language))), h("div", { key: 'dbe1cbfa411ece32fb5d3af477ad275636b9744e', class: "Description" }, translate('loyaltyProgramDescription', this.language)), this.terms.complianceUrl && (h("a", { key: 'd21a8b7e6ad9c98089110f076127eaf129d7dc44', href: this.terms.complianceUrl, target: "_blank", rel: "noopener noreferrer", class: "TermsLink" }, translate('termsAndConditions', this.language), h("svg", { key: '691272b269cac356511ad26f97df7bd1eaddc4b8', xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { key: 'afede17d19a24cfd8654c46e88705d58040a95b5', d: "M14 3h7v7" }), h("path", { key: 'd81414346d306a9ed383dfda8c53e37ab60a780a', d: "M10 14L21 3" }), h("path", { key: '4f3c8cd7eacb5d2c067dd9563d03d0fa5643fc2e', d: "M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5" }))))));
|
|
3633
|
+
}
|
|
3634
|
+
};
|
|
3635
|
+
PlayerElevateOptcard.style = PlayerElevateOptcardStyle0;
|
|
3636
|
+
|
|
3452
3637
|
const playerElevatePointcardCss = ":host{display:block}.PointsCard .Inner .Row .ExpirationPoints{text-align:left}.PointsCard .Inner .PlayerAvatar .Avatar{display:none}.PointsCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%;position:inherit}.PointsCard .Inner .PointsTxt{display:flex;flex-direction:row;justify-content:space-between}.PointsCard .Inner .DetailButton{background:linear-gradient(283.85deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.47%), linear-gradient(117.99deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.89%), linear-gradient(268.18deg, rgba(255, 255, 255, 0.6) -17.36%, rgba(239, 239, 239, 0) 15.78%), linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6));border-radius:5px;box-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25);border:2px solid;font-size:11px;width:108px;padding:4px;cursor:pointer;margin-top:5px;height:16px;min-width:45px;text-align:center}.PointsCard .Inner .DetailButton span{color:var(--emw--color-gray-150, #6D6D6D)}.PointsCard .Inner .DetailButton span{display:inline-block;vertical-align:middle}.PointsCard .Inner .DetailButton:hover span{color:var(--emw--color-gray-150, #6D6D6D)}.PointsCard .Inner .LevelInfo{gap:15px;width:70%}.PointsCard .Inner .LevelInfo .PointsTxt{font-size:15px}.PointsCard .Inner .LevelInfo .PointsTxt.Label{display:none}.PointsCard .Inner .LevelInfo .PointsTxt.SPPoints{padding-top:15px}.PointsCard .Inner .LevelInfo .PointsTxt .TC{font-size:x-small;color:var(--emw--color-gray-300, #58586B);display:flex;align-content:center;height:100%;flex-wrap:wrap;text-decoration:underline;cursor:pointer;display:none}";
|
|
3453
3638
|
const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
|
|
3454
3639
|
|
|
@@ -3506,9 +3691,9 @@ const PlayerElevatePointcard = class {
|
|
|
3506
3691
|
render() {
|
|
3507
3692
|
const backgroundOuterImagePath = getAssetPath('../static/card-ground.svg');
|
|
3508
3693
|
const backgroundInnerImagePath = getAssetPath('../static/card-ground-over.svg');
|
|
3509
|
-
return (h("div", { key: '
|
|
3694
|
+
return (h("div", { key: '4d7edcc0727485b4b8020202ea18146ce796e2a8', class: `ElevateCardWrapper ${this.theme}` }, h("div", { key: 'd67cda87e8b1ea9e7abad8aa2cdb96e83580b462', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, h("general-styling-wrapper", { key: 'a83fb1754e72ca884886933f886a6a78fad7f2bf', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), h("player-elevate-card-data", { key: '919b5a1d45ed72ca28e8cb7d3eb9af4f841a6c4c', params: this.paramProxy }), h("div", { key: 'a4299d7935ca51b294b152a1ec15a7538db19328', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, h("div", { key: '53d98242cd7df1726e185315d5195a5b8f37e14e', class: 'Content Row' }, this.playerElevateLevel && (h(Fragment, { key: '7c7be727b84f8305bf39426cd60b60a29b7b4f51' }, h("div", { key: '0d969c57190edca18d81928c72603c35baff08fe', class: "PlayerImg" }, h(PlayerAvatar, { key: 'cc75cf63c30a9370d65d53505c5aed37b5d810c3', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), h("div", { key: 'bf0f0f6085ef18b7733ca19bffb358ebced0f5aa', class: `LevelInfo ${this.playerElevateLevel.name}` }, h("div", { key: '56801b6fb1ad3315d8d57474731c105a179ad9d0', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : translate('spendablePoints', this.language)), h("div", { key: 'f9fa902c2d8868b252737fd6c8f398730f82b3ca', class: 'PointsTxt SPPoints' }, h(PlayerPoints, { key: '9b4ae8d8c6577a24eae39488e4826bbb98b77e49', spendablePoints: this.playerElevateLevel.spendablePoints <= 0 ? 0 : this.playerElevateLevel.spendablePoints, language: this.language }), h("a", { key: '6a2ab331532d559c359fc8a3712d4c4ac5d9e063', class: "TC", onClick: () => {
|
|
3510
3695
|
this.onDetailsClick();
|
|
3511
|
-
} }, translate('termAndConditions', this.language))), this.pointExpireString && (h("div", { key: '
|
|
3696
|
+
} }, translate('termAndConditions', this.language))), this.pointExpireString && (h("div", { key: 'd84bf3ab3253c497304e1b7b6cfd65ca0e898d7a', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
|
|
3512
3697
|
}
|
|
3513
3698
|
static get watchers() { return {
|
|
3514
3699
|
"session": ["onSessionOrEndpointChange"],
|
|
@@ -3673,4 +3858,4 @@ const PlayerRakebackCard = class {
|
|
|
3673
3858
|
};
|
|
3674
3859
|
PlayerRakebackCard.style = PlayerRakebackCardStyle0;
|
|
3675
3860
|
|
|
3676
|
-
export { GeneralStylingWrapper as general_styling_wrapper, PlayerElevateCard as player_elevate_card, PlayerElevateCardData as player_elevate_card_data, PlayerElevateLoyaltycard as player_elevate_loyaltycard, PlayerElevatePointcard as player_elevate_pointcard, PlayerRakebackCard as player_rakeback_card };
|
|
3861
|
+
export { GeneralStylingWrapper as general_styling_wrapper, PlayerElevateCard as player_elevate_card, PlayerElevateCardData as player_elevate_card_data, PlayerElevateLoyaltycard as player_elevate_loyaltycard, PlayerElevateOptcard as player_elevate_optcard, PlayerElevatePointcard as player_elevate_pointcard, PlayerRakebackCard as player_rakeback_card };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const NAMESPACE = 'player-elevate-card';
|
|
2
|
-
const BUILD = /* player-elevate-card */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg:
|
|
2
|
+
const BUILD = /* player-elevate-card */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
@@ -49,10 +49,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
49
49
|
}
|
|
50
50
|
switch(bundleId) {
|
|
51
51
|
|
|
52
|
-
case 'general-styling-
|
|
52
|
+
case 'general-styling-wrapper_7':
|
|
53
53
|
return import(
|
|
54
54
|
/* webpackMode: "lazy" */
|
|
55
|
-
'./general-styling-
|
|
55
|
+
'./general-styling-wrapper_7.entry.js').then(processMod, consoleError);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
return import(
|
|
@@ -153,6 +153,8 @@ var getAssetPath = (path) => {
|
|
|
153
153
|
|
|
154
154
|
// src/utils/constants.ts
|
|
155
155
|
var EMPTY_OBJ = {};
|
|
156
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
157
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
156
158
|
|
|
157
159
|
// src/utils/helpers.ts
|
|
158
160
|
var isDef = (v) => v != null;
|
|
@@ -589,9 +591,16 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
589
591
|
} else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
|
|
590
592
|
elm = newVNode2.$elm$ = doc.createTextNode("");
|
|
591
593
|
} else {
|
|
592
|
-
|
|
594
|
+
if (!isSvgMode) {
|
|
595
|
+
isSvgMode = newVNode2.$tag$ === "svg";
|
|
596
|
+
}
|
|
597
|
+
elm = newVNode2.$elm$ = doc.createElementNS(
|
|
598
|
+
isSvgMode ? SVG_NS : HTML_NS,
|
|
593
599
|
!useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
|
|
594
|
-
);
|
|
600
|
+
) ;
|
|
601
|
+
if (isSvgMode && newVNode2.$tag$ === "foreignObject") {
|
|
602
|
+
isSvgMode = false;
|
|
603
|
+
}
|
|
595
604
|
{
|
|
596
605
|
updateElement(null, newVNode2, isSvgMode);
|
|
597
606
|
}
|
|
@@ -606,6 +615,13 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
606
615
|
}
|
|
607
616
|
}
|
|
608
617
|
}
|
|
618
|
+
{
|
|
619
|
+
if (newVNode2.$tag$ === "svg") {
|
|
620
|
+
isSvgMode = false;
|
|
621
|
+
} else if (elm.tagName === "foreignObject") {
|
|
622
|
+
isSvgMode = true;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
609
625
|
}
|
|
610
626
|
elm["s-hn"] = hostTagName;
|
|
611
627
|
{
|
|
@@ -799,6 +815,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
799
815
|
const text = newVNode2.$text$;
|
|
800
816
|
let defaultHolder;
|
|
801
817
|
if (text === null) {
|
|
818
|
+
{
|
|
819
|
+
isSvgMode = tag === "svg" ? true : tag === "foreignObject" ? false : isSvgMode;
|
|
820
|
+
}
|
|
802
821
|
{
|
|
803
822
|
if (tag === "slot" && !useNativeShadowDom) ; else {
|
|
804
823
|
updateElement(oldVNode, newVNode2, isSvgMode);
|
|
@@ -814,6 +833,9 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
814
833
|
} else if (oldChildren !== null) {
|
|
815
834
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
816
835
|
}
|
|
836
|
+
if (isSvgMode && tag === "svg") {
|
|
837
|
+
isSvgMode = false;
|
|
838
|
+
}
|
|
817
839
|
} else if ((defaultHolder = elm["s-cr"])) {
|
|
818
840
|
defaultHolder.parentNode.textContent = text;
|
|
819
841
|
} else if (oldVNode.$text$ !== text) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-6f9b9c55.js';
|
|
2
|
+
export { s as setNonce } from './index-6f9b9c55.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
6
6
|
if (typeof window === 'undefined') return undefined;
|
|
7
7
|
await globalScripts();
|
|
8
|
-
return bootstrapLazy([["general-styling-
|
|
8
|
+
return bootstrapLazy([["general-styling-wrapper_7",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-elevate-optcard",{"endpoint":[513],"session":[513],"language":[513],"translationUrl":[513,"translation-url"],"enableOptIn":[4,"enable-opt-in"],"optIn":[32],"optInLoaded":[32],"terms":[32]},[[8,"message","handleMessage"],[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]]],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"mbSource":[513,"mb-source"],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"mbSource":["handleMbSourceChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { defineCustomElements };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-6f9b9c55.js';
|
|
2
|
+
export { s as setNonce } from './index-6f9b9c55.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["general-styling-
|
|
19
|
+
return bootstrapLazy([["general-styling-wrapper_7",[[1,"player-elevate-card",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerLevelFlag":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-elevate-loyaltycard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"playerName":[513,"player-name"],"dateFormat":[513,"date-format"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-elevate-optcard",{"endpoint":[513],"session":[513],"language":[513],"translationUrl":[513,"translation-url"],"enableOptIn":[4,"enable-opt-in"],"optIn":[32],"optInLoaded":[32],"terms":[32]},[[8,"message","handleMessage"],[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]]],[1,"player-elevate-pointcard",{"endpoint":[513],"theme":[513],"session":[513],"playerAvatarUrl":[513,"player-avatar-url"],"language":[513],"mbSource":[513,"mb-source"],"playerName":[513,"player-name"],"cardTitle":[513,"card-title"],"buttonType":[513,"button-type"],"dateFormat":[513,"date-format"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"pointExpireString":[32],"playerElevateLevel":[32],"elevateWalletTotal":[32],"elevateSPTotal":[32]},[[0,"playerElevateLeveLoaded","playerElevateLeveLoadedHandler"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"]}],[1,"player-rakeback-card",{"endpoint":[513],"theme":[513],"session":[513],"language":[513],"mbSource":[513,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"show":[516],"rakebackInfo":[32],"isLoading":[32],"coolingOffPeriod":[32],"showTheWidget":[32]},[[8,"message","handleMessage"]],{"session":["onSessionOrEndpointChange"],"endpoint":["onSessionOrEndpointChange"],"language":["onSessionOrEndpointChange"],"show":["onShowOrHasRakebackWalletChange"],"rakebackInfo":["onShowOrHasRakebackWalletChange"]}],[0,"player-elevate-card-data",{"params":[8],"playerElevateLevel":[32],"pointExpireString":[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{"params":["onParamsChanged"]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"mbSource":[1,"mb-source"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]},null,{"mbSource":["handleMbSourceChange"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
|
|
20
20
|
});
|