@everymatrix/player-elevate-level-jojogroup 1.99.50 → 1.99.52
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/bonus-elevate-levels-jojogroup_7.cjs.entry.js +6 -6
- package/dist/cjs/index-92db62d0.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale.utils-7e9b7d77.js → locale.utils-049ff791.js} +118 -16
- package/dist/cjs/{player-elevate-card-items-762010a3.js → player-elevate-card-items-179438a3.js} +1 -1
- package/dist/cjs/player-elevate-card.cjs.entry.js +2 -2
- package/dist/cjs/player-elevate-level-jojogroup.cjs.js +1 -1
- package/dist/cjs/player-elevate-optcard.cjs.entry.js +92 -0
- package/dist/cjs/player-elevate-pointcard.cjs.entry.js +4 -4
- package/dist/cjs/player-rakeback-card.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/esm/bonus-elevate-levels-jojogroup_7.entry.js +6 -6
- package/dist/esm/index-31c95277.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale.utils-10bf5b6c.js → locale.utils-0722feb7.js} +118 -17
- package/dist/esm/{player-elevate-card-items-143207af.js → player-elevate-card-items-566b9a5d.js} +1 -1
- package/dist/esm/player-elevate-card.entry.js +2 -2
- package/dist/esm/player-elevate-level-jojogroup.js +1 -1
- package/dist/esm/player-elevate-optcard.entry.js +88 -0
- package/dist/esm/player-elevate-pointcard.entry.js +4 -4
- package/dist/esm/player-rakeback-card.entry.js +1 -1
- package/dist/player-elevate-level-jojogroup/bonus-elevate-levels-jojogroup_7.entry.js +1 -1
- package/dist/player-elevate-level-jojogroup/locale.utils-0722feb7.js +1 -0
- package/dist/player-elevate-level-jojogroup/{player-elevate-card-items-143207af.js → player-elevate-card-items-566b9a5d.js} +1 -1
- package/dist/player-elevate-level-jojogroup/player-elevate-card.entry.js +1 -1
- package/dist/player-elevate-level-jojogroup/player-elevate-level-jojogroup.esm.js +1 -1
- package/dist/player-elevate-level-jojogroup/player-elevate-optcard.entry.js +1 -0
- package/dist/player-elevate-level-jojogroup/player-elevate-pointcard.entry.js +1 -1
- package/dist/player-elevate-level-jojogroup/player-rakeback-card.entry.js +1 -1
- package/package.json +1 -1
- package/dist/player-elevate-level-jojogroup/locale.utils-10bf5b6c.js +0 -1
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-92db62d0.js');
|
|
6
6
|
const locale_utils = require('./locale.utils-29be38a3.js');
|
|
7
|
-
const locale_utils$1 = require('./locale.utils-
|
|
8
|
-
const playerElevateCardItems = require('./player-elevate-card-items-
|
|
7
|
+
const locale_utils$1 = require('./locale.utils-049ff791.js');
|
|
8
|
+
const playerElevateCardItems = require('./player-elevate-card-items-179438a3.js');
|
|
9
9
|
|
|
10
10
|
const bonusElevateLevelsJojogroupCss = ":host{display:block}.ElevateLevelContent{padding:20px;position:relative}.ElevateLevelContent .Privileges{padding-bottom:30px}.ElevateLevelContent .tc{position:absolute;right:10px;bottom:10px;text-align:right;display:none}";
|
|
11
11
|
const BonusElevateLevelsJojogroupStyle0 = bonusElevateLevelsJojogroupCss;
|
|
@@ -746,7 +746,7 @@ const PlayerElevateCardData = class {
|
|
|
746
746
|
})
|
|
747
747
|
.then((res) => res.json())
|
|
748
748
|
.then((res) => {
|
|
749
|
-
var _a, _b, _c, _d, _e;
|
|
749
|
+
var _a, _b, _c, _d, _e, _f;
|
|
750
750
|
if (!res.success) {
|
|
751
751
|
console.error('Exception when fetch user elevateinfo, ', res.errorCode, res.errorMessage);
|
|
752
752
|
reject(true);
|
|
@@ -757,9 +757,9 @@ const PlayerElevateCardData = class {
|
|
|
757
757
|
this.playerElevateLevel = playerElevateInfo.level;
|
|
758
758
|
this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name;
|
|
759
759
|
this.playerElevateLevel.spendablePoints = ((_c = playerElevateInfo.spendableWallet) === null || _c === void 0 ? void 0 : _c.total.points) || 0;
|
|
760
|
-
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
|
|
761
|
-
const spendableTotal = (
|
|
762
|
-
const loyaltyWalletTotal = (
|
|
760
|
+
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel, optIn: (_d = res.data) === null || _d === void 0 ? void 0 : _d.optIn });
|
|
761
|
+
const spendableTotal = (_e = res.data.spendableWallet) === null || _e === void 0 ? void 0 : _e.total;
|
|
762
|
+
const loyaltyWalletTotal = (_f = res.data.loyaltyWallet) === null || _f === void 0 ? void 0 : _f.total;
|
|
763
763
|
this.playerElevateLeveLoaded.emit({
|
|
764
764
|
elevateLevelWalletTotal: spendableTotal,
|
|
765
765
|
loyaltyWalletTotal
|
|
@@ -83,6 +83,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
83
83
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
84
84
|
/* webpackMode: "lazy" */
|
|
85
85
|
'./player-elevate-card.cjs.entry.js')); }).then(processMod, consoleError);
|
|
86
|
+
case 'player-elevate-optcard.cjs':
|
|
87
|
+
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
88
|
+
/* webpackMode: "lazy" */
|
|
89
|
+
'./player-elevate-optcard.cjs.entry.js')); }).then(processMod, consoleError);
|
|
86
90
|
case 'player-elevate-pointcard.cjs':
|
|
87
91
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
88
92
|
/* webpackMode: "lazy" */
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@ const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
9
9
|
if (typeof window === 'undefined') return undefined;
|
|
10
10
|
await appGlobals.globalScripts();
|
|
11
|
-
return index.bootstrapLazy([["player-elevate-card.cjs",[[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"]}]]],["player-elevate-
|
|
11
|
+
return index.bootstrapLazy([["player-elevate-card.cjs",[[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"]}]]],["player-elevate-optcard.cjs",[[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"]]]]],["player-elevate-pointcard.cjs",[[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"]}]]],["elevate-level-list.cjs",[[0,"elevate-level-list",{"levels":[16],"language":[1],"selectedLevelId":[1537,"selected-level-id"],"showSliderButton":[32],"touchPosStart":[32],"touchPosEnd":[32],"offset":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[9,"resize","handleResize"]],{"selectedLevelId":["levelsChangedHandler"]}]]],["bonus-elevate-levels-jojogroup_7.cjs",[[1,"player-elevate-level-jojogroup",{"endpoint":[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"],"userLevelId":[32]},[[0,"playerElevateLeveLoaded","setPlayerElevateLevelInfo"]]],[1,"bonus-elevate-levels-jojogroup",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"endpoint":[513],"language":[513],"translationUrl":[513,"translation-url"],"selectedLevelId":[1537,"selected-level-id"],"showDefault":[4,"show-default"],"elevateLevelParamProxy":[32],"elevateLevels":[32],"errorMessage":[32]},[[2,"elevateLevelsDataChange","elevateLevelsDataChangeHandler"]],{"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"]}],[0,"elevate-level-presentation",{"elevateLevel":[16]}],[0,"elevate-levels-data",{"scopeParams":[1544,"scope-params"]}],[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"]}]]],["player-rakeback-card.cjs",[[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"]}]]]], options);
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
exports.setNonce = index.setNonce;
|
|
@@ -27,7 +27,12 @@ const TRANSLATIONS = {
|
|
|
27
27
|
termAndConditions: 'Term & Conditions',
|
|
28
28
|
rakebackTitle: 'Available Rakeback',
|
|
29
29
|
loading: 'Loading',
|
|
30
|
-
minutesCanClaim: 'Next Claim is available in ${minutes} minutes'
|
|
30
|
+
minutesCanClaim: 'Next Claim is available in ${minutes} minutes',
|
|
31
|
+
optIn: 'OPT IN',
|
|
32
|
+
optOut: 'OPT OUT',
|
|
33
|
+
loyaltyDescription: 'By joining the Loyalty Program, you agree to the following:',
|
|
34
|
+
termsAndConditions: 'Terms & Conditions',
|
|
35
|
+
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.'
|
|
31
36
|
},
|
|
32
37
|
'zh-hk': {
|
|
33
38
|
redeem: '兑奖',
|
|
@@ -48,7 +53,12 @@ const TRANSLATIONS = {
|
|
|
48
53
|
termAndConditions: 'Term & Conditions',
|
|
49
54
|
rakebackTitle: '可用的返利',
|
|
50
55
|
loading: '加載中',
|
|
51
|
-
minutesCanClaim: '下次可領取時間為${minutes}分鐘後'
|
|
56
|
+
minutesCanClaim: '下次可領取時間為${minutes}分鐘後',
|
|
57
|
+
optIn: '立即加入',
|
|
58
|
+
optOut: '退出',
|
|
59
|
+
loyaltyDescription: '加入忠誠計劃即表示您同意以下內容:',
|
|
60
|
+
termsAndConditions: '條款及細則',
|
|
61
|
+
loyaltyProgramDescription: '加入忠誠計劃即表示您同意以下內容。參與免費並向符合資格的已註冊玩家開放。加入後,您將根據符合資格的遊戲及活動獲得忠誠積分。'
|
|
52
62
|
},
|
|
53
63
|
de: {
|
|
54
64
|
redeem: 'Redeem',
|
|
@@ -69,7 +79,12 @@ const TRANSLATIONS = {
|
|
|
69
79
|
termAndConditions: 'Term & Conditions',
|
|
70
80
|
rakebackTitle: 'Verfügbarer Rakeback',
|
|
71
81
|
loading: 'Laden',
|
|
72
|
-
minutesCanClaim: 'Nächster Anspruch ist in ${minutes} Minuten verfügbar'
|
|
82
|
+
minutesCanClaim: 'Nächster Anspruch ist in ${minutes} Minuten verfügbar',
|
|
83
|
+
optIn: 'TEILNEHMEN',
|
|
84
|
+
optOut: 'ABMELDEN',
|
|
85
|
+
loyaltyDescription: 'Mit Ihrer Teilnahme am Treueprogramm stimmen Sie Folgendem zu:',
|
|
86
|
+
termsAndConditions: 'Geschäftsbedingungen',
|
|
87
|
+
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.',
|
|
73
88
|
},
|
|
74
89
|
it: {
|
|
75
90
|
redeem: 'Redeem',
|
|
@@ -90,7 +105,12 @@ const TRANSLATIONS = {
|
|
|
90
105
|
termAndConditions: 'Term & Conditions',
|
|
91
106
|
rakebackTitle: 'Rakeback Disponibile',
|
|
92
107
|
loading: 'Caricamento',
|
|
93
|
-
minutesCanClaim: 'La prossima richiesta sarà disponibile tra ${minutes} minuti'
|
|
108
|
+
minutesCanClaim: 'La prossima richiesta sarà disponibile tra ${minutes} minuti',
|
|
109
|
+
optIn: 'ADERISCI',
|
|
110
|
+
optOut: 'DISATTIVA',
|
|
111
|
+
loyaltyDescription: 'Iscrivendoti al Programma Fedeltà accetti quanto segue:',
|
|
112
|
+
termsAndConditions: 'Termini e Condizioni',
|
|
113
|
+
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.',
|
|
94
114
|
},
|
|
95
115
|
fr: {
|
|
96
116
|
redeem: 'Redeem',
|
|
@@ -111,7 +131,12 @@ const TRANSLATIONS = {
|
|
|
111
131
|
termAndConditions: 'Term & Conditions',
|
|
112
132
|
rakebackTitle: 'Rakeback Disponible',
|
|
113
133
|
loading: 'Chargement',
|
|
114
|
-
minutesCanClaim: 'La prochaine réclamation sera disponible dans ${minutes} minutes'
|
|
134
|
+
minutesCanClaim: 'La prochaine réclamation sera disponible dans ${minutes} minutes',
|
|
135
|
+
optIn: 'ADHÉRER',
|
|
136
|
+
optOut: 'SE RETIRER',
|
|
137
|
+
loyaltyDescription: 'En rejoignant le programme de fidélité, vous acceptez ce qui suit :',
|
|
138
|
+
termsAndConditions: 'Conditions générales',
|
|
139
|
+
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.',
|
|
115
140
|
},
|
|
116
141
|
es: {
|
|
117
142
|
claim: "Reclamar",
|
|
@@ -138,7 +163,12 @@ const TRANSLATIONS = {
|
|
|
138
163
|
xp: "XP",
|
|
139
164
|
sp: "Monedas",
|
|
140
165
|
termAndConditions: "Términos y condiciones",
|
|
141
|
-
loading: "Cargando"
|
|
166
|
+
loading: "Cargando",
|
|
167
|
+
optIn: 'UNIRSE',
|
|
168
|
+
optOut: 'SALIR',
|
|
169
|
+
loyaltyDescription: 'Al unirte al Programa de Fidelidad, aceptas lo siguiente:',
|
|
170
|
+
termsAndConditions: 'Términos y condiciones',
|
|
171
|
+
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.',
|
|
142
172
|
},
|
|
143
173
|
tr: {
|
|
144
174
|
redeem: 'Kullan',
|
|
@@ -165,7 +195,12 @@ const TRANSLATIONS = {
|
|
|
165
195
|
termAndConditions: 'Şartlar ve Koşullar',
|
|
166
196
|
rakebackTitle: 'Mevcut Rakeback',
|
|
167
197
|
loading: 'Yükleniyor',
|
|
168
|
-
minutesCanClaim: 'Sonraki talep ${minutes} dakika içinde kullanılabilir'
|
|
198
|
+
minutesCanClaim: 'Sonraki talep ${minutes} dakika içinde kullanılabilir',
|
|
199
|
+
optIn: 'KATIL',
|
|
200
|
+
optOut: 'AYRIL',
|
|
201
|
+
loyaltyDescription: 'Sadakat Programına katılarak aşağıdakileri kabul etmiş olursunuz:',
|
|
202
|
+
termsAndConditions: 'Şartlar ve Koşullar',
|
|
203
|
+
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.',
|
|
169
204
|
},
|
|
170
205
|
az: {
|
|
171
206
|
claim: "iddia",
|
|
@@ -192,21 +227,36 @@ const TRANSLATIONS = {
|
|
|
192
227
|
xp: "XP",
|
|
193
228
|
sp: "sikkələr",
|
|
194
229
|
termAndConditions: "Qaydalar və Şərtlər",
|
|
195
|
-
loading: "Yüklənir"
|
|
230
|
+
loading: "Yüklənir",
|
|
231
|
+
optIn: 'QOŞUL',
|
|
232
|
+
optOut: 'ÇIX',
|
|
233
|
+
loyaltyDescription: 'Sadiqlik Proqramına qoşulmaqla aşağıdakıları qəbul etmiş olursunuz:',
|
|
234
|
+
termsAndConditions: 'Şərtlər və Qaydalar',
|
|
235
|
+
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.',
|
|
196
236
|
},
|
|
197
237
|
ru: {
|
|
198
238
|
redeem: 'Redeem',
|
|
199
239
|
claim: 'Требовать',
|
|
200
240
|
rakebackTitle: 'Доступный Рейкбек',
|
|
201
241
|
loading: 'Загрузка',
|
|
202
|
-
minutesCanClaim: 'Следующее требование будет доступно через ${minutes} минут'
|
|
242
|
+
minutesCanClaim: 'Следующее требование будет доступно через ${minutes} минут',
|
|
243
|
+
optIn: 'ПРИСОЕДИНИТЬСЯ',
|
|
244
|
+
optOut: 'ВЫЙТИ',
|
|
245
|
+
loyaltyDescription: 'Присоединяясь к Программе лояльности, вы соглашаетесь со следующим:',
|
|
246
|
+
termsAndConditions: 'Условия использования',
|
|
247
|
+
loyaltyProgramDescription: 'Участие бесплатно и доступно зарегистрированным игрокам, соответствующим требованиям. Присоединяясь, вы соглашаетесь участвовать в Программе лояльности и получать бонусные баллы за соответствующие игры и активности.',
|
|
203
248
|
},
|
|
204
249
|
ro: {
|
|
205
250
|
redeem: 'Redeem',
|
|
206
251
|
claim: 'Revendicare',
|
|
207
252
|
rakebackTitle: 'Rakeback Disponibil',
|
|
208
253
|
loading: 'Se încarcă',
|
|
209
|
-
minutesCanClaim: 'Următoarea revendicare va fi disponibilă în ${minutes} minute'
|
|
254
|
+
minutesCanClaim: 'Următoarea revendicare va fi disponibilă în ${minutes} minute',
|
|
255
|
+
optIn: 'ÎNSCRIE-TE',
|
|
256
|
+
optOut: 'RENUNȚĂ',
|
|
257
|
+
loyaltyDescription: 'Prin înscrierea în Programul de Loialitate, sunteți de acord cu următoarele:',
|
|
258
|
+
termsAndConditions: 'Termeni și condiții',
|
|
259
|
+
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.',
|
|
210
260
|
},
|
|
211
261
|
hr: {
|
|
212
262
|
redeem: 'Otkupiti',
|
|
@@ -223,42 +273,72 @@ const TRANSLATIONS = {
|
|
|
223
273
|
xp: 'XP',
|
|
224
274
|
rakebackTitle: 'Dostupan Rakeback',
|
|
225
275
|
loading: 'Učitavanje',
|
|
226
|
-
minutesCanClaim: 'Sljedeći zahtjev bit će dostupan za ${minutes} minuta'
|
|
276
|
+
minutesCanClaim: 'Sljedeći zahtjev bit će dostupan za ${minutes} minuta',
|
|
277
|
+
optIn: 'PRIDRUŽI SE',
|
|
278
|
+
optOut: 'ODJAVI SE',
|
|
279
|
+
loyaltyDescription: 'Pridruživanjem Programu vjernosti prihvaćate sljedeće:',
|
|
280
|
+
termsAndConditions: 'Uvjeti i odredbe',
|
|
281
|
+
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.',
|
|
227
282
|
},
|
|
228
283
|
hu: {
|
|
229
284
|
redeem: 'Redeem',
|
|
230
285
|
claim: 'Igény',
|
|
231
286
|
rakebackTitle: 'Elérhető Rakeback',
|
|
232
287
|
loading: 'Betöltés',
|
|
233
|
-
minutesCanClaim: 'A következő igény ${minutes} perc múlva lesz elérhető'
|
|
288
|
+
minutesCanClaim: 'A következő igény ${minutes} perc múlva lesz elérhető',
|
|
289
|
+
optIn: 'CSATLAKOZÁS',
|
|
290
|
+
optOut: 'KILÉPÉS',
|
|
291
|
+
loyaltyDescription: 'A Hűségprogramhoz való csatlakozással elfogadja az alábbiakat:',
|
|
292
|
+
termsAndConditions: 'Felhasználási feltételek',
|
|
293
|
+
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.',
|
|
234
294
|
},
|
|
235
295
|
pl: {
|
|
236
296
|
redeem: 'Redeem',
|
|
237
297
|
claim: 'Roszczenie',
|
|
238
298
|
rakebackTitle: 'Dostępny Rakeback',
|
|
239
299
|
loading: 'Ładowanie',
|
|
240
|
-
minutesCanClaim: 'Następne roszczenie będzie dostępne za ${minutes} minut'
|
|
300
|
+
minutesCanClaim: 'Następne roszczenie będzie dostępne za ${minutes} minut',
|
|
301
|
+
optIn: 'DOŁĄCZ',
|
|
302
|
+
optOut: 'ZREZYGNUJ',
|
|
303
|
+
loyaltyDescription: 'Dołączając do Programu Lojalnościowego, akceptujesz poniższe warunki:',
|
|
304
|
+
termsAndConditions: 'Regulamin',
|
|
305
|
+
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.',
|
|
241
306
|
},
|
|
242
307
|
pt: {
|
|
243
308
|
redeem: 'Redeem',
|
|
244
309
|
claim: 'Reivindicar',
|
|
245
310
|
rakebackTitle: 'Rakeback Disponível',
|
|
246
311
|
loading: 'Carregando',
|
|
247
|
-
minutesCanClaim: 'Próxima reivindicação disponível em ${minutes} minutos'
|
|
312
|
+
minutesCanClaim: 'Próxima reivindicação disponível em ${minutes} minutos',
|
|
313
|
+
optIn: 'ADERIR',
|
|
314
|
+
optOut: 'CANCELAR ADESÃO',
|
|
315
|
+
loyaltyDescription: 'Ao aderir ao Programa de Fidelidade, concorda com o seguinte:',
|
|
316
|
+
termsAndConditions: 'Termos e Condições',
|
|
317
|
+
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.',
|
|
248
318
|
},
|
|
249
319
|
sl: {
|
|
250
320
|
redeem: 'Redeem',
|
|
251
321
|
claim: 'Zahtevek',
|
|
252
322
|
rakebackTitle: 'Razpoložljiv Rakeback',
|
|
253
323
|
loading: 'Nalaganje',
|
|
254
|
-
minutesCanClaim: 'Naslednji zahtevek bo na voljo čez ${minutes} minut'
|
|
324
|
+
minutesCanClaim: 'Naslednji zahtevek bo na voljo čez ${minutes} minut',
|
|
325
|
+
optIn: 'PRIDRUŽI SE',
|
|
326
|
+
optOut: 'IZSTOPI',
|
|
327
|
+
loyaltyDescription: 'S pridružitvijo programu zvestobe se strinjate z naslednjim:',
|
|
328
|
+
termsAndConditions: 'Pogoji in določila',
|
|
329
|
+
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.',
|
|
255
330
|
},
|
|
256
331
|
sr: {
|
|
257
332
|
redeem: 'Redeem',
|
|
258
333
|
claim: 'Zahtev',
|
|
259
334
|
rakebackTitle: 'Dostupan Rakeback',
|
|
260
335
|
loading: 'Učitavanje',
|
|
261
|
-
minutesCanClaim: 'Sledeći zahtev biće dostupan za ${minutes} minuta'
|
|
336
|
+
minutesCanClaim: 'Sledeći zahtev biće dostupan za ${minutes} minuta',
|
|
337
|
+
optIn: 'PRIDRUŽI SE',
|
|
338
|
+
optOut: 'NAPUSTI',
|
|
339
|
+
loyaltyDescription: 'Pridruživanjem Programu lojalnosti prihvatate sledeće uslove:',
|
|
340
|
+
termsAndConditions: 'Uslovi i odredbe',
|
|
341
|
+
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.',
|
|
262
342
|
}
|
|
263
343
|
};
|
|
264
344
|
const translate = (key, customLang) => {
|
|
@@ -276,7 +356,29 @@ const translateWithParams = (key, params) => {
|
|
|
276
356
|
});
|
|
277
357
|
return templateString;
|
|
278
358
|
};
|
|
359
|
+
const getTranslations = (url) => {
|
|
360
|
+
return new Promise((resolve) => {
|
|
361
|
+
fetch(url)
|
|
362
|
+
.then((res) => res.json())
|
|
363
|
+
.then((data) => {
|
|
364
|
+
Object.keys(data).forEach((item) => {
|
|
365
|
+
if (!TRANSLATIONS[item]) {
|
|
366
|
+
TRANSLATIONS[item] = {};
|
|
367
|
+
}
|
|
368
|
+
for (let key in data[item]) {
|
|
369
|
+
TRANSLATIONS[item][key] = data[item][key];
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
resolve(true);
|
|
373
|
+
})
|
|
374
|
+
.catch((err) => {
|
|
375
|
+
console.error('Failed to load translations:', err);
|
|
376
|
+
resolve(false);
|
|
377
|
+
});
|
|
378
|
+
});
|
|
379
|
+
};
|
|
279
380
|
|
|
280
381
|
exports.TRANSLATIONS = TRANSLATIONS;
|
|
382
|
+
exports.getTranslations = getTranslations;
|
|
281
383
|
exports.translate = translate;
|
|
282
384
|
exports.translateWithParams = translateWithParams;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-92db62d0.js');
|
|
6
|
-
const playerElevateCardItems = require('./player-elevate-card-items-
|
|
7
|
-
const locale_utils = require('./locale.utils-
|
|
6
|
+
const playerElevateCardItems = require('./player-elevate-card-items-179438a3.js');
|
|
7
|
+
const locale_utils = require('./locale.utils-049ff791.js');
|
|
8
8
|
|
|
9
9
|
const playerElevateCardCss = "@container (max-width: 270px) {\n .Card .Inner {\n flex-direction: column;\n }\n .Card .Inner .Content {\n padding: 9px;\n }\n .Inner .Row .ExpirationPoints {\n order: 1;\n }\n}\n.Card .PlayerImg {\n order: 0;\n}\n.Card .ExpirationPoints {\n order: 3;\n}\n.Card .LevelInfo {\n order: 2;\n}\n.Card .Inner .Row .PlayerImg {\n flex-direction: column;\n}\n.Card .Inner .Row .PointsInfo {\n width: 100%;\n text-align: center;\n display: flex;\n flex-direction: column;\n max-height: 50%;\n}\n.Card .Inner .PlayerAvatar .Badge {\n background-size: contain;\n background-repeat: no-repeat;\n position: absolute;\n right: 5px;\n bottom: -5px;\n width: 40%;\n height: 40%;\n overflow: visible;\n}\n.Card .Inner .Row .ExpirationPoints {\n text-align: left;\n color: var(--emw--color-red, red);\n}\n.Card .Inner .Row .Points {\n text-wrap: nowrap;\n}\n.Card .Inner .LevelInfo .ElevateLevel {\n flex-direction: column;\n}\n.Card .Inner .LevelInfo .ElevateLevel .LevelName {\n width: calc(100% - 20px);\n text-align: left;\n font-size: 13px;\n padding-left: 20px;\n margin: 10px 0;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpirationDate {\n text-align: center;\n font-size: smaller;\n}\n.Card .Inner .LevelInfo .ElevateLevel .ExpireTime {\n margin-left: 5px;\n}";
|
|
10
10
|
const PlayerElevateCardStyle0 = playerElevateCardCss;
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["player-elevate-card.cjs",[[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"]}]]],["player-elevate-
|
|
22
|
+
return index.bootstrapLazy([["player-elevate-card.cjs",[[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"]}]]],["player-elevate-optcard.cjs",[[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"]]]]],["player-elevate-pointcard.cjs",[[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"]}]]],["elevate-level-list.cjs",[[0,"elevate-level-list",{"levels":[16],"language":[1],"selectedLevelId":[1537,"selected-level-id"],"showSliderButton":[32],"touchPosStart":[32],"touchPosEnd":[32],"offset":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[9,"resize","handleResize"]],{"selectedLevelId":["levelsChangedHandler"]}]]],["bonus-elevate-levels-jojogroup_7.cjs",[[1,"player-elevate-level-jojogroup",{"endpoint":[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"],"userLevelId":[32]},[[0,"playerElevateLeveLoaded","setPlayerElevateLevelInfo"]]],[1,"bonus-elevate-levels-jojogroup",{"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"mbSource":[513,"mb-source"],"endpoint":[513],"language":[513],"translationUrl":[513,"translation-url"],"selectedLevelId":[1537,"selected-level-id"],"showDefault":[4,"show-default"],"elevateLevelParamProxy":[32],"elevateLevels":[32],"errorMessage":[32]},[[2,"elevateLevelsDataChange","elevateLevelsDataChangeHandler"]],{"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"]}],[0,"elevate-level-presentation",{"elevateLevel":[16]}],[0,"elevate-levels-data",{"scopeParams":[1544,"scope-params"]}],[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"]}]]],["player-rakeback-card.cjs",[[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"]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-92db62d0.js');
|
|
6
|
+
const locale_utils = require('./locale.utils-049ff791.js');
|
|
7
|
+
|
|
8
|
+
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}";
|
|
9
|
+
const PlayerElevateOptcardStyle0 = playerElevateOptcardCss;
|
|
10
|
+
|
|
11
|
+
const PlayerElevateOptcard = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.endpoint = undefined;
|
|
15
|
+
this.session = undefined;
|
|
16
|
+
this.language = 'en';
|
|
17
|
+
this.translationUrl = '';
|
|
18
|
+
this.enableOptIn = false;
|
|
19
|
+
this.optIn = undefined;
|
|
20
|
+
this.optInLoaded = false;
|
|
21
|
+
this.terms = {
|
|
22
|
+
url: '',
|
|
23
|
+
complianceUrl: '',
|
|
24
|
+
complianceDescription: '',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
handleMessage(event) {
|
|
28
|
+
var _a, _b;
|
|
29
|
+
if (!this.enableOptIn && this.optInLoaded) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
if (event.origin !== window.location.origin) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
switch ((_a = event.data) === null || _a === void 0 ? void 0 : _a.type) {
|
|
36
|
+
case 'userUpdateOptLoyaltySuccess':
|
|
37
|
+
this.optIn = true;
|
|
38
|
+
this.optInLoaded = true;
|
|
39
|
+
break;
|
|
40
|
+
case 'BEE_OPT_IN_TERMS_LOADED':
|
|
41
|
+
this.terms = event.data.terms;
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
switch ((_b = event.data) === null || _b === void 0 ? void 0 : _b.type) {
|
|
45
|
+
case 'userUpdateOptLoyaltySuccess':
|
|
46
|
+
this.optIn = true;
|
|
47
|
+
this.optInLoaded = true;
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
playerElevateLeveLoadedHandler(event) {
|
|
52
|
+
if (!event.detail) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (typeof event.detail.optIn === 'boolean') {
|
|
56
|
+
this.optIn = event.detail.optIn;
|
|
57
|
+
this.optInLoaded = true;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
onOptInClick() {
|
|
61
|
+
window.postMessage({ type: 'BEE_OPT_IN_CLICKED' }, window.location.origin);
|
|
62
|
+
}
|
|
63
|
+
// use when click OPTOut button
|
|
64
|
+
onOptOutClick() {
|
|
65
|
+
window.postMessage({ type: 'BEE_OPT_OUT_CLICKED' }, window.location.origin);
|
|
66
|
+
}
|
|
67
|
+
async componentWillLoad() {
|
|
68
|
+
if (this.translationUrl) {
|
|
69
|
+
await locale_utils.getTranslations(this.translationUrl);
|
|
70
|
+
}
|
|
71
|
+
this.paramProxy = {
|
|
72
|
+
endpoint: this.endpoint,
|
|
73
|
+
session: this.session,
|
|
74
|
+
language: this.language,
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
return (index.h("div", { key: '944ae8e1b73edcf3a843d9e77cc5fe285dfaae3c', class: "OptCard" }, index.h("general-styling-wrapper", { key: '1497bab54773831154ae823d82d496cd59ef7dea', targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl }), index.h("player-elevate-card-data", { key: '6ea240921feedd23a5227915a7e29ce995ac1051', params: this.paramProxy }), this.optInLoaded && (index.h("button", { key: 'a913db8f024924c954f919ecbbd732d0c3e987f4', class: {
|
|
79
|
+
OptInButton: true,
|
|
80
|
+
OptOutButton: this.optIn === true,
|
|
81
|
+
}, onClick: () => {
|
|
82
|
+
this.optIn
|
|
83
|
+
? this.onOptOutClick()
|
|
84
|
+
: this.onOptInClick();
|
|
85
|
+
} }, this.optIn
|
|
86
|
+
? locale_utils.translate('optOut', this.language)
|
|
87
|
+
: locale_utils.translate('optIn', this.language))), index.h("div", { key: 'dbe1cbfa411ece32fb5d3af477ad275636b9744e', class: "Description" }, locale_utils.translate('loyaltyProgramDescription', this.language)), this.terms.complianceUrl && (index.h("a", { key: 'd21a8b7e6ad9c98089110f076127eaf129d7dc44', href: this.terms.complianceUrl, target: "_blank", rel: "noopener noreferrer", class: "TermsLink" }, locale_utils.translate('termsAndConditions', this.language), index.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" }, index.h("path", { key: 'afede17d19a24cfd8654c46e88705d58040a95b5', d: "M14 3h7v7" }), index.h("path", { key: 'd81414346d306a9ed383dfda8c53e37ab60a780a', d: "M10 14L21 3" }), index.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" }))))));
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
PlayerElevateOptcard.style = PlayerElevateOptcardStyle0;
|
|
91
|
+
|
|
92
|
+
exports.player_elevate_optcard = PlayerElevateOptcard;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-92db62d0.js');
|
|
6
|
-
const locale_utils = require('./locale.utils-
|
|
7
|
-
const playerElevateCardItems = require('./player-elevate-card-items-
|
|
6
|
+
const locale_utils = require('./locale.utils-049ff791.js');
|
|
7
|
+
const playerElevateCardItems = require('./player-elevate-card-items-179438a3.js');
|
|
8
8
|
|
|
9
9
|
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}";
|
|
10
10
|
const PlayerElevatePointcardStyle0 = playerElevatePointcardCss;
|
|
@@ -63,9 +63,9 @@ const PlayerElevatePointcard = class {
|
|
|
63
63
|
render() {
|
|
64
64
|
const backgroundOuterImagePath = index.getAssetPath('../static/card-ground.svg');
|
|
65
65
|
const backgroundInnerImagePath = index.getAssetPath('../static/card-ground-over.svg');
|
|
66
|
-
return (index.h("div", { key: '
|
|
66
|
+
return (index.h("div", { key: '4d7edcc0727485b4b8020202ea18146ce796e2a8', class: `ElevateCardWrapper ${this.theme}` }, index.h("div", { key: 'd67cda87e8b1ea9e7abad8aa2cdb96e83580b462', class: "PointsCard Outer ", style: { 'backgroundImage': `url(${backgroundOuterImagePath}` } }, index.h("general-styling-wrapper", { key: 'a83fb1754e72ca884886933f886a6a78fad7f2bf', clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: locale_utils.TRANSLATIONS, translationUrl: this.translationUrl, mbSource: this.mbSource }), index.h("player-elevate-card-data", { key: '919b5a1d45ed72ca28e8cb7d3eb9af4f841a6c4c', params: this.paramProxy }), index.h("div", { key: 'a4299d7935ca51b294b152a1ec15a7538db19328', class: 'OuterCover Inner', style: { 'backgroundImage': `url(${backgroundInnerImagePath}` } }, index.h("div", { key: '53d98242cd7df1726e185315d5195a5b8f37e14e', class: 'Content Row' }, this.playerElevateLevel && (index.h(index.Fragment, { key: '7c7be727b84f8305bf39426cd60b60a29b7b4f51' }, index.h("div", { key: '0d969c57190edca18d81928c72603c35baff08fe', class: "PlayerImg" }, index.h(playerElevateCardItems.PlayerAvatar, { key: 'cc75cf63c30a9370d65d53505c5aed37b5d810c3', onlyBadge: true, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), index.h("div", { key: 'bf0f0f6085ef18b7733ca19bffb358ebced0f5aa', class: `LevelInfo ${this.playerElevateLevel.name}` }, index.h("div", { key: '56801b6fb1ad3315d8d57474731c105a179ad9d0', class: "PointsTxt Label" }, this.cardTitle ? this.cardTitle : locale_utils.translate('spendablePoints', this.language)), index.h("div", { key: 'f9fa902c2d8868b252737fd6c8f398730f82b3ca', class: 'PointsTxt SPPoints' }, index.h(playerElevateCardItems.PlayerPoints, { key: '9b4ae8d8c6577a24eae39488e4826bbb98b77e49', spendablePoints: this.playerElevateLevel.spendablePoints <= 0 ? 0 : this.playerElevateLevel.spendablePoints, language: this.language }), index.h("a", { key: '6a2ab331532d559c359fc8a3712d4c4ac5d9e063', class: "TC", onClick: () => {
|
|
67
67
|
this.onDetailsClick();
|
|
68
|
-
} }, locale_utils.translate('termAndConditions', this.language))), this.pointExpireString && (index.h("div", { key: '
|
|
68
|
+
} }, locale_utils.translate('termAndConditions', this.language))), this.pointExpireString && (index.h("div", { key: 'd84bf3ab3253c497304e1b7b6cfd65ca0e898d7a', class: 'ExpirationPoints' }, this.pointExpireString, " "))))))))));
|
|
69
69
|
}
|
|
70
70
|
static get watchers() { return {
|
|
71
71
|
"session": ["onSessionOrEndpointChange"],
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-92db62d0.js');
|
|
6
|
-
const locale_utils = require('./locale.utils-
|
|
6
|
+
const locale_utils = require('./locale.utils-049ff791.js');
|
|
7
7
|
|
|
8
8
|
const playerRakebackCardCss = ":host{display:block}@keyframes rotate{from{transform:rotate(360deg)}to{transform:rotate(0deg)}}.RakebackCard{border:2px solid var(--em-color-border-primary, #003E5C);padding:32px;border-radius:var(--emw--border-radius-medium, 12px);overflow:hidden;font-family:inherit}.RakebackCard .RakebackCardContent .RakebackTitle{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);color:var(--em-color-text-secondary, #727672)}.RakebackCard .RakebackCardContent .RakebackDetails{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;margin-top:17px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo{display:flex;flex-wrap:wrap;align-items:center;gap:0 17px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackRefresh{width:52px;height:52px;cursor:pointer}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackRefresh.RakebackLoading{animation:rotate 0.5s linear infinite}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer{color:var(--em-color-text-primary, #fff);display:flex;align-items:center;gap:8px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer .RakebackNum{display:inline-block;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-2x-large, 36px)}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackInfo .RakebackNumContainer .RakebackCurrency{display:inline-block;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-small, 14px);margin-top:14px}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackButton{font-family:inherit;cursor:pointer;width:90px;height:34px;border-radius:var(--emw--border-radius-large, 99px);border:2px solid var(--em-color-border-success, #083B17);display:flex;justify-content:center;align-items:center;color:var(--em-color-text-primary, #fff);background:linear-gradient(180deg, var(--em-color-gradient-1, #24B24E) 0%, var(--em-color-gradient-1, #24B24E) 100%)}.RakebackCard .RakebackCardContent .RakebackDetails .RakebackButton.disabled{cursor:not-allowed;opacity:0.4}.RakebackCard .RakebackCardContent .RakebackCoolOff,.RakebackCard .RakebackCardContent .RakebackError{margin-top:8px;font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-x-small, 12px);color:var(--em-color-text-error, #FF7A73);text-align:center}";
|
|
9
9
|
const PlayerRakebackCardStyle0 = playerRakebackCardCss;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement, a as getAssetPath, F as Fragment } from './index-31c95277.js';
|
|
2
2
|
import { t as translate, T as TRANSLATIONS } from './locale.utils-9f505f70.js';
|
|
3
|
-
import { t as translateWithParams, T as TRANSLATIONS$1 } from './locale.utils-
|
|
4
|
-
import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints, b as PlayerLoyaltyProcess, L as LoyaltyLevelExpireDay } from './player-elevate-card-items-
|
|
3
|
+
import { t as translateWithParams, T as TRANSLATIONS$1 } from './locale.utils-0722feb7.js';
|
|
4
|
+
import { r as requiredArgs, t as toDate, g as getTimezoneOffsetInMilliseconds, P as PlayerAvatar, a as PlayerPoints, b as PlayerLoyaltyProcess, L as LoyaltyLevelExpireDay } from './player-elevate-card-items-566b9a5d.js';
|
|
5
5
|
|
|
6
6
|
const bonusElevateLevelsJojogroupCss = ":host{display:block}.ElevateLevelContent{padding:20px;position:relative}.ElevateLevelContent .Privileges{padding-bottom:30px}.ElevateLevelContent .tc{position:absolute;right:10px;bottom:10px;text-align:right;display:none}";
|
|
7
7
|
const BonusElevateLevelsJojogroupStyle0 = bonusElevateLevelsJojogroupCss;
|
|
@@ -742,7 +742,7 @@ const PlayerElevateCardData = class {
|
|
|
742
742
|
})
|
|
743
743
|
.then((res) => res.json())
|
|
744
744
|
.then((res) => {
|
|
745
|
-
var _a, _b, _c, _d, _e;
|
|
745
|
+
var _a, _b, _c, _d, _e, _f;
|
|
746
746
|
if (!res.success) {
|
|
747
747
|
console.error('Exception when fetch user elevateinfo, ', res.errorCode, res.errorMessage);
|
|
748
748
|
reject(true);
|
|
@@ -753,9 +753,9 @@ const PlayerElevateCardData = class {
|
|
|
753
753
|
this.playerElevateLevel = playerElevateInfo.level;
|
|
754
754
|
this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name;
|
|
755
755
|
this.playerElevateLevel.spendablePoints = ((_c = playerElevateInfo.spendableWallet) === null || _c === void 0 ? void 0 : _c.total.points) || 0;
|
|
756
|
-
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
|
|
757
|
-
const spendableTotal = (
|
|
758
|
-
const loyaltyWalletTotal = (
|
|
756
|
+
this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel, optIn: (_d = res.data) === null || _d === void 0 ? void 0 : _d.optIn });
|
|
757
|
+
const spendableTotal = (_e = res.data.spendableWallet) === null || _e === void 0 ? void 0 : _e.total;
|
|
758
|
+
const loyaltyWalletTotal = (_f = res.data.loyaltyWallet) === null || _f === void 0 ? void 0 : _f.total;
|
|
759
759
|
this.playerElevateLeveLoaded.emit({
|
|
760
760
|
elevateLevelWalletTotal: spendableTotal,
|
|
761
761
|
loyaltyWalletTotal
|
|
@@ -61,6 +61,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
61
61
|
return import(
|
|
62
62
|
/* webpackMode: "lazy" */
|
|
63
63
|
'./player-elevate-card.entry.js').then(processMod, consoleError);
|
|
64
|
+
case 'player-elevate-optcard':
|
|
65
|
+
return import(
|
|
66
|
+
/* webpackMode: "lazy" */
|
|
67
|
+
'./player-elevate-optcard.entry.js').then(processMod, consoleError);
|
|
64
68
|
case 'player-elevate-pointcard':
|
|
65
69
|
return import(
|
|
66
70
|
/* webpackMode: "lazy" */
|