@everymatrix/casino-header-controller 1.65.1 → 1.65.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHeaderController-DNNqI5-z.cjs → CasinoHeaderController-B0lLuqqY.cjs} +1 -1
- package/components/{CasinoHeaderController-Bqi_UEZi.js → CasinoHeaderController-CGZStHGm.js} +1 -1
- package/components/{CasinoHeaderController-CvgFMlA6.js → CasinoHeaderController-Cspimubt.js} +1 -1
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-Dpy7kYRl.js → gamification-dropdown-8eb8a896-Bcdjx9jM.js} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-wUq7QkNM.cjs → gamification-dropdown-8eb8a896-CJqychmF.cjs} +1 -1
- package/stencil/{gamification-dropdown-8eb8a896-B80HjrXs.js → gamification-dropdown-8eb8a896-zfRPKKB2.js} +1 -1
- package/stencil/{gamification-dropdown-BKLERBkj.js → gamification-dropdown-Dv6JCzCW.js} +1 -1
- package/stencil/{gamification-dropdown-DoTceze_.cjs → gamification-dropdown-DztjiKq7.cjs} +1 -1
- package/stencil/{gamification-dropdown-Ctny0vqq.js → gamification-dropdown-TiS6_s4J.js} +1 -1
- package/stencil/{gamification-dropdown_4-CcWOoutw.js → gamification-dropdown_4-BUCLkjbf.js} +58 -55
- package/stencil/{gamification-dropdown_4-CmDM3hBS.js → gamification-dropdown_4-SROB8ZNq.js} +59 -56
- package/stencil/gamification-dropdown_4-_zijAT3T.cjs +192 -0
- package/stencil/{index-71b1bdfa-BeszNvNP.cjs → index-71b1bdfa-CSjh2jcj.cjs} +1 -1
- package/stencil/{index-71b1bdfa-DBUT8z-D.js → index-71b1bdfa-DL3YG9Ud.js} +4 -4
- package/stencil/{index-71b1bdfa-BWeAgaw2.js → index-71b1bdfa-DdHPuS3A.js} +4 -4
- package/stencil/locale-B_6Rn5-v.cjs +1 -0
- package/stencil/{locale-DuSXBQwH.js → locale-TxlOHoKi.js} +11 -5
- package/stencil/{player-elevate-card-DqZR4w--.js → player-elevate-card-CRl63tuY.js} +3 -3
- package/stencil/{player-elevate-card-B70rn287.js → player-elevate-card-DX8jjll6.js} +3 -3
- package/stencil/{player-elevate-card-W6LcGGe8.cjs → player-elevate-card-DtTKg95m.cjs} +1 -1
- package/stencil/player-elevate-card-items-5071deed-A_RG9TpE.cjs +102 -0
- package/stencil/player-elevate-card-items-5071deed-Ce0Sstbi.js +1391 -0
- package/stencil/player-elevate-card-items-5071deed-DG6rUxm1.js +1391 -0
- package/stencil/{player-elevate-pointcard-DREgIjCm.js → player-elevate-pointcard-Bcq1MXZc.js} +3 -3
- package/stencil/{player-elevate-pointcard-DwDhlXwq.cjs → player-elevate-pointcard-CEXHhV9c.cjs} +1 -1
- package/stencil/{player-elevate-pointcard-CBapQeNI.js → player-elevate-pointcard-hzoziusU.js} +3 -3
- package/stencil/{player-rakeback-card-B0P7gHIA.cjs → player-rakeback-card-BwjstuRr.cjs} +1 -1
- package/stencil/{player-rakeback-card-tP823Fs8.js → player-rakeback-card-DYjFUdkd.js} +2 -2
- package/stencil/{player-rakeback-card-z_ugBu0q.js → player-rakeback-card-Dtat6ZLL.js} +2 -2
- package/stencil/gamification-dropdown_4-B2a2BjCo.cjs +0 -192
- package/stencil/locale-DHn5ZpQu.cjs +0 -1
- package/stencil/player-elevate-card-items-66be34fb-D7zHppoa.js +0 -1290
- package/stencil/player-elevate-card-items-66be34fb-DBIZuvGZ.cjs +0 -1
- package/stencil/player-elevate-card-items-66be34fb-aPLlnN0e.js +0 -1290
@@ -1,16 +1,18 @@
|
|
1
|
-
import { G as
|
2
|
-
import { r as u, h as i, g as I, c as M, a as m, F as
|
3
|
-
import { t as P, T as
|
4
|
-
import { P as
|
1
|
+
import { G as ve } from "./gamification-dropdown-8eb8a896-zfRPKKB2.js";
|
2
|
+
import { r as u, h as i, g as I, c as M, a as m, F as $ } from "./index-71b1bdfa-DdHPuS3A.js";
|
3
|
+
import { t as P, T as O } from "./locale-TxlOHoKi.js";
|
4
|
+
import { P as N, a as W, b, c as z, r as p, t as h, g as L } from "./player-elevate-card-items-5071deed-DG6rUxm1.js";
|
5
5
|
const U = (e, t) => new Promise((a) => {
|
6
6
|
fetch(e).then((n) => n.json()).then((n) => {
|
7
|
-
Object.keys(n).forEach((
|
8
|
-
t[
|
9
|
-
for (let
|
10
|
-
|
7
|
+
Object.keys(n).forEach((l) => {
|
8
|
+
t[l] = t[l] ? t[l] : t.en;
|
9
|
+
for (let r in n[l])
|
10
|
+
typeof n[l][r] == "object" ? Object.keys(n[l][r]).forEach((o) => {
|
11
|
+
t[l][r][o] = n[l][r][o];
|
12
|
+
}) : t[l][r] = n[l][r];
|
11
13
|
}), a(!0);
|
12
14
|
});
|
13
|
-
}), q = ":host{display:block}", F = q,
|
15
|
+
}), q = ":host{display:block}", F = q, j = class {
|
14
16
|
constructor(e) {
|
15
17
|
u(this, e), this.stylingAppends = !1, this.setClientStyling = () => {
|
16
18
|
let t = document.createElement("style");
|
@@ -44,21 +46,21 @@ const U = (e, t) => new Promise((a) => {
|
|
44
46
|
return I(this);
|
45
47
|
}
|
46
48
|
};
|
47
|
-
|
49
|
+
j.style = F;
|
48
50
|
function E(e) {
|
49
|
-
|
50
|
-
var t =
|
51
|
+
p(1, arguments);
|
52
|
+
var t = h(e);
|
51
53
|
return t.setHours(0, 0, 0, 0), t;
|
52
54
|
}
|
53
|
-
var
|
55
|
+
var H = 864e5;
|
54
56
|
function G(e, t) {
|
55
|
-
|
56
|
-
var a = E(e), n = E(t),
|
57
|
-
return Math.round((
|
57
|
+
p(2, arguments);
|
58
|
+
var a = E(e), n = E(t), l = a.getTime() - L(a), r = n.getTime() - L(n);
|
59
|
+
return Math.round((l - r) / H);
|
58
60
|
}
|
59
|
-
var X = 6e4,
|
61
|
+
var X = 6e4, Y = 36e5;
|
60
62
|
function k(e, t) {
|
61
|
-
return
|
63
|
+
return p(2, arguments), h(e).getTime() - h(t).getTime();
|
62
64
|
}
|
63
65
|
var w = {
|
64
66
|
ceil: Math.ceil,
|
@@ -68,30 +70,30 @@ var w = {
|
|
68
70
|
return t < 0 ? Math.ceil(t) : Math.floor(t);
|
69
71
|
}
|
70
72
|
// Math.trunc is not supported by IE
|
71
|
-
},
|
73
|
+
}, J = "trunc";
|
72
74
|
function C(e) {
|
73
|
-
return e ? w[e] : w[
|
75
|
+
return e ? w[e] : w[J];
|
74
76
|
}
|
75
|
-
function
|
76
|
-
|
77
|
-
var n = k(e, t) /
|
77
|
+
function K(e, t, a) {
|
78
|
+
p(2, arguments);
|
79
|
+
var n = k(e, t) / Y;
|
78
80
|
return C(a?.roundingMethod)(n);
|
79
81
|
}
|
80
82
|
function Q(e, t, a) {
|
81
|
-
|
83
|
+
p(2, arguments);
|
82
84
|
var n = k(e, t) / X;
|
83
85
|
return C(a?.roundingMethod)(n);
|
84
86
|
}
|
85
87
|
function V(e, t) {
|
86
|
-
|
87
|
-
var a =
|
88
|
+
p(2, arguments);
|
89
|
+
var a = h(e), n = h(t);
|
88
90
|
return a.getTime() < n.getTime();
|
89
91
|
}
|
90
92
|
function Z(e, t) {
|
91
|
-
const a = e.querySelector("#total_level"), n = 17,
|
92
|
-
a.setAttribute("viewbox", `0 0 ${
|
93
|
-
const y = e.querySelector("#lock"), S = e.querySelector("#filter_heart_ball"), T = e.querySelector("#filter_ball"), A = e.querySelector("#filter_heart"),
|
94
|
-
y.setAttribute("cx", `${
|
93
|
+
const a = e.querySelector("#total_level"), n = 17, l = 6.5, r = a.getBBox().width, o = t > 1 ? 1 : t, s = o * r - n < 0 ? 0 : o * r - n, c = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
|
94
|
+
a.setAttribute("viewbox", `0 0 ${s} 28`), c.setAttribute("width", `${s}`), g.setAttribute("cx", `${s < l ? l : s}`), v.setAttribute("x", `${s - 8}`);
|
95
|
+
const y = e.querySelector("#lock"), S = e.querySelector("#filter_heart_ball"), T = e.querySelector("#filter_ball"), A = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), B = e.querySelector("#heart_box"), R = 10, d = r - R;
|
96
|
+
y.setAttribute("cx", `${d}`), x.setAttribute("x1", `${d}`), x.setAttribute("x2", `${d}`), f.setAttribute("x1", `${d - 6}`), f.setAttribute("x2", `${d - 6 + 11.2}`), D.setAttribute("x", `${d - 6}`), A.setAttribute("x", `${d - 6 - 2}`), T.setAttribute("x", `${d - 6 - 2 - 2}`), S.setAttribute("x", `${d - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${d - 6}`), B.setAttribute("x", `${d - 6}`), a.parentElement.style.opacity = "1";
|
95
97
|
}
|
96
98
|
const ee = `:host {
|
97
99
|
display: block;
|
@@ -310,17 +312,18 @@ const ee = `:host {
|
|
310
312
|
a(n);
|
311
313
|
}));
|
312
314
|
}
|
313
|
-
calcuatePointsToBeExpired(e) {
|
314
|
-
let
|
315
|
+
calcuatePointsToBeExpired(e, t) {
|
316
|
+
let a = "";
|
315
317
|
if (!e || !e.aboutToExpire || e.aboutToExpire.length == 0 || e.aboutToExpire[0].points <= 0)
|
316
|
-
return
|
317
|
-
e.aboutToExpire.sort((
|
318
|
-
const
|
319
|
-
let r = 0,
|
320
|
-
return
|
321
|
-
expirationPoints:
|
322
|
-
expireDay: Math.max(
|
323
|
-
|
318
|
+
return a;
|
319
|
+
e.aboutToExpire.sort((c, v) => V(new Date(c.expireTime), new Date(v.expireTime)) ? -1 : 1);
|
320
|
+
const n = e.aboutToExpire[0], l = G(new Date(n.expireTime), /* @__PURE__ */ new Date());
|
321
|
+
let r = 0, o = 0, s = l === 0 ? `${t}Day` : t;
|
322
|
+
return l <= 0 && (r = K(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), s = r > 1 ? `${t}Hours` : `${t}Hour`, r <= 0 && (o = Q(new Date(n.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), s = o > 1 ? `${t}Minutes` : `${t}Minute`)), a = P(s, {
|
323
|
+
expirationPoints: n.points,
|
324
|
+
expireDay: Math.max(l, r, o),
|
325
|
+
lang: this.params.language
|
326
|
+
}), a;
|
324
327
|
}
|
325
328
|
loadPlayerLevelInfo() {
|
326
329
|
let e = new URL(`${this.params.endpoint}/v1/elevate/playerInfo?language=${this.params.language}`);
|
@@ -331,19 +334,19 @@ const ee = `:host {
|
|
331
334
|
"Content-Type": "application/json"
|
332
335
|
}
|
333
336
|
}).then((n) => n.json()).then((n) => {
|
334
|
-
var
|
337
|
+
var l, r, o;
|
335
338
|
if (!n.success) {
|
336
339
|
console.error("Exception when fetch user elevateinfo, ", n.errorCode, n.errorMessage), a(!0);
|
337
340
|
return;
|
338
341
|
}
|
339
|
-
let
|
340
|
-
this.playerElevateLevel =
|
341
|
-
const
|
342
|
+
let s = n.data;
|
343
|
+
this.playerElevateLevel = s.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((l = s.spendableWallet) === null || l === void 0 ? void 0 : l.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
|
344
|
+
const c = (r = n.data.spendableWallet) === null || r === void 0 ? void 0 : r.total, v = (o = n.data.loyaltyWallet) === null || o === void 0 ? void 0 : o.total;
|
342
345
|
this.playerElevateLeveLoaded.emit({
|
343
|
-
elevateLevelWalletTotal:
|
344
|
-
loyaltyWalletTotal:
|
346
|
+
elevateLevelWalletTotal: c,
|
347
|
+
loyaltyWalletTotal: v
|
345
348
|
});
|
346
|
-
let g = this.calcuatePointsToBeExpired(
|
349
|
+
let g = this.calcuatePointsToBeExpired(c, "coinsToBeExpired"), y = this.calcuatePointsToBeExpired(v, "pointsToBeExpired");
|
347
350
|
(g || y) && this.playerElevateLeveLoaded.emit({
|
348
351
|
pointExpireString: g,
|
349
352
|
xpExpireString: y
|
@@ -370,11 +373,11 @@ const ee = `:host {
|
|
370
373
|
e.push(this.loadPlayerLevelInfo()), this.params.calculateLevelFlag && e.push(this.loadLevels()), Promise.all(e).then((t) => {
|
371
374
|
if (console.log("elevate-init", t), this.initLevelProgressbar(), !this.levels)
|
372
375
|
return;
|
373
|
-
this.levels.sort((
|
376
|
+
this.levels.sort((l, r) => l.firstEntryPoints > r.firstEntryPoints ? 1 : -1);
|
374
377
|
const a = this.playerElevateLevel.loyaltyPoints;
|
375
378
|
let n = 0;
|
376
|
-
this.levels.forEach((
|
377
|
-
a >
|
379
|
+
this.levels.forEach((l, r) => {
|
380
|
+
a > l.firstEntryPoints && (n = r);
|
378
381
|
}), this.playerElevateLeveLoaded.emit({
|
379
382
|
calculatedLevelFlag: n
|
380
383
|
});
|
@@ -393,7 +396,7 @@ const ee = `:host {
|
|
393
396
|
}
|
394
397
|
};
|
395
398
|
ne.style = te;
|
396
|
-
const ae = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}",
|
399
|
+
const ae = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}", le = ae, re = class {
|
397
400
|
constructor(e) {
|
398
401
|
u(this, e), this.endpoint = void 0, this.theme = "Dark", this.session = void 0, this.playerAvatarUrl = void 0, this.language = "en", this.playerName = void 0, this.dateFormat = "yyyy-MM-dd", this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.pointExpireString = void 0, this.playerElevateLevel = void 0, this.elevateWalletTotal = void 0;
|
399
402
|
}
|
@@ -432,7 +435,7 @@ const ae = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
|
|
432
435
|
}
|
433
436
|
render() {
|
434
437
|
const e = m("../static/card-ground.svg"), t = m("../static/card-ground-over.svg");
|
435
|
-
return i("div", { key: "39295a651da66747a20554699bba5f96b8ad5c35", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "78c34fe054fc2459f8af3354116cd21a68ce01be", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "be6efc6da4c3ccf4cc3ece8ecc73561bae75aa20", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations:
|
438
|
+
return i("div", { key: "39295a651da66747a20554699bba5f96b8ad5c35", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "78c34fe054fc2459f8af3354116cd21a68ce01be", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "be6efc6da4c3ccf4cc3ece8ecc73561bae75aa20", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: O, translationUrl: this.translationUrl }), i("player-elevate-card-data", { key: "b53e4b59d4ee55a2f567efa09afab3d72969e6e4", params: this.paramProxy }), i("div", { key: "1f3e504440bab2df3a181058fad7149c85c48c14", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "a07c6cd95770dc1bfd3da78b1c7cc8e1367321b1", class: "Content Row" }, this.playerElevateLevel && i($, { key: "5c104f5ba1a018219c6ed5f6e50af99b035a0344" }, i("div", { key: "bd94591e6ab9298ab7c769fa48efaf314dc1a63b", class: "PlayerImg" }, i(N, { key: "928849ce86d8c7a483eba7850efc83f8149bae43", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "37192c9b8502eb3c7d93914369df2d784c17e9f7", class: `LevelInfo ${this.playerElevateLevel.name}` }, i(W, { key: "2684a177f4bb1053c4587fd4158666fb35ca23f4", hideInfo: !0, level: this.playerElevateLevel.name, expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat }), i("div", { key: "173a37c63868f2d900c12af3ffc2d9a4a57550e4", class: "PointsRange" }, i(b, { key: "a7111154f7dc547e0b05c70d24508bdd75c5d882", loyaltyPoints: this.playerElevateLevel.loyaltyPoints, language: this.language }), i(b, { key: "ad31574e7db81a7ecb7a06b28b1d4968cbcab93e", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(z, { key: "88ddfdb326edfb1de9519da6b3d0e5b514725e27" }), i("div", { key: "b9c79555a8001bd2c754d7573df04016da235c84", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "02da725060c9db4a8c1c2e8bad3426894d7f8f2c", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " ")))))));
|
436
439
|
}
|
437
440
|
static get watchers() {
|
438
441
|
return {
|
@@ -442,10 +445,10 @@ const ae = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
|
|
442
445
|
};
|
443
446
|
}
|
444
447
|
};
|
445
|
-
|
448
|
+
re.style = le;
|
446
449
|
export {
|
447
|
-
|
448
|
-
|
450
|
+
ve as gamification_dropdown,
|
451
|
+
j as general_styling_wrapper,
|
449
452
|
ne as player_elevate_card_data,
|
450
|
-
|
453
|
+
re as player_elevate_loyaltycard
|
451
454
|
};
|
@@ -0,0 +1,192 @@
|
|
1
|
+
"use strict";var x=(e,t,a)=>new Promise((n,r)=>{var i=c=>{try{s(a.next(c))}catch(h){r(h)}},d=c=>{try{s(a.throw(c))}catch(h){r(h)}},s=c=>c.done?n(c.value):Promise.resolve(c.value).then(i,d);s((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./gamification-dropdown-8eb8a896-CJqychmF.cjs"),l=require("./index-71b1bdfa-CSjh2jcj.cjs"),y=require("./locale-B_6Rn5-v.cjs"),o=require("./player-elevate-card-items-5071deed-A_RG9TpE.cjs"),M=(e,t)=>new Promise(a=>{fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(r=>{t[r]=t[r]?t[r]:t.en;for(let i in n[r])typeof n[r][i]=="object"?Object.keys(n[r][i]).forEach(d=>{t[r][i][d]=n[r][i][d]}):t[r][i]=n[r][i]}),a(!0)})}),R=":host{display:block}",O=R,L=class{constructor(e){l.registerInstance(this,e),this.stylingAppends=!1,this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.el.prepend(t)},this.setClientStylingURL=()=>{let t=new URL(this.clientStylingUrl),a=document.createElement("style");fetch(t.href).then(n=>n.text()).then(n=>{a.innerHTML=n,setTimeout(()=>{this.el.prepend(a)},1)}).catch(n=>{console.log("error ",n)})},this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.targetTranslations=void 0}componentDidRender(){this.stylingAppends||(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}componentWillLoad(){return x(this,null,function*(){const e=[];if(this.translationUrl){const t=M(this.translationUrl,this.targetTranslations);e.push(t)}return yield Promise.all(e)})}render(){return l.h("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},l.h("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return l.getElement(this)}};L.style=O;function m(e){o.requiredArgs(1,arguments);var t=o.toDate(e);return t.setHours(0,0,0,0),t}var $=864e5;function q(e,t){o.requiredArgs(2,arguments);var a=m(e),n=m(t),r=a.getTime()-o.getTimezoneOffsetInMilliseconds(a),i=n.getTime()-o.getTimezoneOffsetInMilliseconds(n);return Math.round((r-i)/$)}var N=6e4,W=36e5;function E(e,t){return o.requiredArgs(2,arguments),o.toDate(e).getTime()-o.toDate(t).getTime()}var b={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(t){return t<0?Math.ceil(t):Math.floor(t)}},z="trunc";function w(e){return e?b[e]:b[z]}function U(e,t,a){o.requiredArgs(2,arguments);var n=E(e,t)/W;return w(a==null?void 0:a.roundingMethod)(n)}function F(e,t,a){o.requiredArgs(2,arguments);var n=E(e,t)/N;return w(a==null?void 0:a.roundingMethod)(n)}function j(e,t){o.requiredArgs(2,arguments);var a=o.toDate(e),n=o.toDate(t);return a.getTime()<n.getTime()}function H(e,t){const a=e.querySelector("#total_level"),n=17,r=6.5,i=a.getBBox().width,d=t>1?1:t,s=d*i-n<0?0:d*i-n,c=e.querySelector("#current_level"),h=e.querySelector("#filter_current_level"),p=e.querySelector("#circle_current_level");a.setAttribute("viewbox",`0 0 ${s} 28`),c.setAttribute("width",`${s}`),p.setAttribute("cx",`${s<r?r:s}`),h.setAttribute("x",`${s-8}`);const g=e.querySelector("#lock"),S=e.querySelector("#filter_heart_ball"),k=e.querySelector("#filter_ball"),C=e.querySelector("#filter_heart"),T=e.querySelector("#filter_lock"),u=e.querySelector("#paint0_linear_ball"),f=e.querySelector("#paint1_linear_lock"),A=e.querySelector("#lock_box"),D=e.querySelector("#heart_box"),_=10,v=i-_;g.setAttribute("cx",`${v}`),f.setAttribute("x1",`${v}`),f.setAttribute("x2",`${v}`),u.setAttribute("x1",`${v-6}`),u.setAttribute("x2",`${v-6+11.2}`),T.setAttribute("x",`${v-6}`),C.setAttribute("x",`${v-6-2}`),k.setAttribute("x",`${v-6-2-2}`),S.setAttribute("x",`${v-6-2-2-4}`),A.setAttribute("x",`${v-6}`),D.setAttribute("x",`${v-6}`),a.parentElement.style.opacity="1"}const G=`:host {
|
2
|
+
display: block;
|
3
|
+
width: 360px;
|
4
|
+
height: 230px;
|
5
|
+
}
|
6
|
+
|
7
|
+
.ElevateCardWrapper {
|
8
|
+
contain: layout inline-size;
|
9
|
+
width: 100%;
|
10
|
+
height: fit-content;
|
11
|
+
min-height: 218px;
|
12
|
+
}
|
13
|
+
|
14
|
+
.Outer {
|
15
|
+
container-type: inline-size;
|
16
|
+
font-size: 12px;
|
17
|
+
background-size: cover;
|
18
|
+
background-repeat: no-repeat;
|
19
|
+
line-height: initial;
|
20
|
+
width: 100%;
|
21
|
+
height: 100%;
|
22
|
+
}
|
23
|
+
|
24
|
+
.Dark {
|
25
|
+
color: var(--emw--color-gray150, #efefef);
|
26
|
+
}
|
27
|
+
|
28
|
+
.Light {
|
29
|
+
color: var(--emw--color-black, #0e0e0e);
|
30
|
+
}
|
31
|
+
|
32
|
+
@container (min-width: 381px) {
|
33
|
+
.Outer {
|
34
|
+
background-size: cover;
|
35
|
+
}
|
36
|
+
.Outer .OuterCover {
|
37
|
+
min-height: 190px;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
@container (min-width: 260px) {
|
41
|
+
.Outer {
|
42
|
+
background-size: contain;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
.OuterCover {
|
46
|
+
width: 100%;
|
47
|
+
height: 100%;
|
48
|
+
content: "";
|
49
|
+
background-repeat: no-repeat;
|
50
|
+
background-size: cover;
|
51
|
+
border-radius: 15px;
|
52
|
+
}
|
53
|
+
|
54
|
+
.Inner {
|
55
|
+
display: flex;
|
56
|
+
flex-direction: column;
|
57
|
+
min-height: 158px;
|
58
|
+
}
|
59
|
+
.Inner .Content {
|
60
|
+
padding: 15px;
|
61
|
+
flex-wrap: wrap;
|
62
|
+
gap: 8px;
|
63
|
+
}
|
64
|
+
.Inner .Row {
|
65
|
+
display: flex;
|
66
|
+
flex-direction: row;
|
67
|
+
}
|
68
|
+
.Inner .CardCell {
|
69
|
+
display: flex;
|
70
|
+
}
|
71
|
+
.Inner .LevelProgress svg {
|
72
|
+
transition: opacity 0.4s;
|
73
|
+
}
|
74
|
+
.Inner .LevelInfo {
|
75
|
+
display: flex;
|
76
|
+
flex-direction: column;
|
77
|
+
}
|
78
|
+
.Inner .LevelInfo .ElevateLevel .LevelName {
|
79
|
+
height: 28px;
|
80
|
+
border-radius: 5px;
|
81
|
+
line-height: 28px;
|
82
|
+
overflow: hidden;
|
83
|
+
text-overflow: ellipsis;
|
84
|
+
white-space: nowrap;
|
85
|
+
}
|
86
|
+
.Inner .LevelInfo.Level0 .ElevateLevel .LevelName {
|
87
|
+
box-shadow: -2px -2px 7px 0px var(--emw--elevate-color-level0button-shadow, rgba(191, 84, 6, 0.75));
|
88
|
+
background: linear-gradient(180deg, var(--emw--elevate-color-level0-bg0, #E2792C) 0%, var(--emw--elevate-color-level0-bg1, rgba(242, 151, 99, 0)) 100%);
|
89
|
+
}
|
90
|
+
.Inner .LevelInfo.Level1 .ElevateLevel .LevelName {
|
91
|
+
box-shadow: -2px -2px 7px 0px var(--emw--elevate-color-level1button-shadow, rgba(151, 151, 151, 0.75));
|
92
|
+
background: linear-gradient(180deg, var(--emw--elevate-color-level1-bg0, #BEBFED) 0%, var(--emw--elevate-color-level1-bg1, rgba(216, 217, 233, 0)) 100%);
|
93
|
+
}
|
94
|
+
.Inner .LevelInfo.Level2 .ElevateLevel .LevelName {
|
95
|
+
box-shadow: -2px -2px 7px 0px var(--emw--elevate-color-level2button-shadow, rgba(191, 120, 6, 0.75));
|
96
|
+
background: linear-gradient(180deg, var(--emw--elevate-color-level2-bg0, #FCC410) 0%, var(--emw--elevate-color-level2-bg1, rgba(255, 189, 43, 0)) 100%);
|
97
|
+
}
|
98
|
+
.Inner .LevelInfo.Level3 .ElevateLevel .LevelName {
|
99
|
+
box-shadow: -2px -2px 7px 0px var(--emw--elevate-color-level3button-shadow, rgba(65, 6, 191, 0.75));
|
100
|
+
background: linear-gradient(180deg, var(--emw--elevate-color-level3-bg0, #B1A2DB) 0%, var(--emw--elevate-color-level3-bg1, rgba(203, 202, 245, 0)) 100%);
|
101
|
+
}
|
102
|
+
.Inner .LevelInfo.Level4 .ElevateLevel .LevelName {
|
103
|
+
box-shadow: -2px -2px 7px 0px var(--emw--elevate-color-level4button-shadow, rgba(65, 6, 191, 0.75));
|
104
|
+
background: linear-gradient(180deg, var(--emw--elevate-color-level4-bg0, #B1A2DB) 0%, var(--emw--elevate-color-level4-bg1, rgba(203, 202, 245, 0)) 100%);
|
105
|
+
}
|
106
|
+
.Inner .LevelInfo .ElevateLevel {
|
107
|
+
display: flex;
|
108
|
+
}
|
109
|
+
.Inner .LevelInfo {
|
110
|
+
flex: 1;
|
111
|
+
flex-grow: 1;
|
112
|
+
min-width: 150px;
|
113
|
+
}
|
114
|
+
.Inner .PlayerImg {
|
115
|
+
width: 29%;
|
116
|
+
margin: auto;
|
117
|
+
max-width: 100px;
|
118
|
+
min-width: 30px;
|
119
|
+
order: 0;
|
120
|
+
}
|
121
|
+
.Inner .PlayerAvatar {
|
122
|
+
max-width: 100px;
|
123
|
+
flex-basis: 100px;
|
124
|
+
height: auto;
|
125
|
+
margin: auto;
|
126
|
+
padding-top: 10px;
|
127
|
+
}
|
128
|
+
.Inner .PlayerAvatar .Avatar, .Inner .PlayerAvatar .Badge {
|
129
|
+
width: 100%;
|
130
|
+
height: 100%;
|
131
|
+
}
|
132
|
+
.Inner .PlayerAvatar .Avatar {
|
133
|
+
border-radius: 50%;
|
134
|
+
background-size: contain;
|
135
|
+
background-repeat: no-repeat;
|
136
|
+
}
|
137
|
+
.Inner .ElevateLevel .ExpirationDate {
|
138
|
+
max-width: 138px;
|
139
|
+
min-width: 118px;
|
140
|
+
}
|
141
|
+
.Inner .PlayerName, .Inner .RedeemButton, .Inner .ElevateLevel {
|
142
|
+
text-transform: capitalize;
|
143
|
+
width: 100%;
|
144
|
+
}
|
145
|
+
.Inner .PlayerName {
|
146
|
+
font-size: 16px;
|
147
|
+
}
|
148
|
+
.Inner .Row .PointsInfo {
|
149
|
+
display: table;
|
150
|
+
font-weight: 600;
|
151
|
+
}
|
152
|
+
.Inner .Row .Redeem {
|
153
|
+
justify-content: flex-end;
|
154
|
+
margin-left: auto;
|
155
|
+
}
|
156
|
+
.Inner .Row .Redeem:hover {
|
157
|
+
color: var(--emw--elevate-color-redeem-hover, #00ABA4);
|
158
|
+
cursor: pointer;
|
159
|
+
}
|
160
|
+
.Inner .Row .RedeemButton:hover span {
|
161
|
+
color: var(emfe-w-elevate-color-redeem-text-hover, #f1f1f1);
|
162
|
+
font-weight: bold;
|
163
|
+
}
|
164
|
+
.Inner .Row .RedeemButton {
|
165
|
+
width: 95px;
|
166
|
+
height: 35px;
|
167
|
+
display: flex;
|
168
|
+
align-items: center;
|
169
|
+
border-radius: var(--emw--border-radius-medium, 10px);
|
170
|
+
background: var(--emw--elevate-color-redeem-bg, linear-gradient(0deg, #26CC37, #26CC37)), linear-gradient(117.99deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.89%), linear-gradient(283.85deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 33.47%), linear-gradient(268.18deg, rgba(255, 255, 255, 0.6) -17.36%, rgba(239, 239, 239, 0) 15.78%);
|
171
|
+
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.2509803922);
|
172
|
+
}
|
173
|
+
.Inner .Row .RedeemButton span {
|
174
|
+
color: var(--emw--color-white, #fff);
|
175
|
+
line-height: 18px;
|
176
|
+
font-size: 15px;
|
177
|
+
text-align: center;
|
178
|
+
width: 100%;
|
179
|
+
}
|
180
|
+
.Inner .Row .Points {
|
181
|
+
font-size: large;
|
182
|
+
vertical-align: middle;
|
183
|
+
}
|
184
|
+
.Inner .Row .Points .XP {
|
185
|
+
font-size: x-small;
|
186
|
+
}
|
187
|
+
.Inner .Row .ExpirationPoints {
|
188
|
+
font-size: small;
|
189
|
+
text-align: right;
|
190
|
+
font-weight: bold;
|
191
|
+
color: var(--emw--color-red, #9e595f);
|
192
|
+
}`,X=G,I=class{constructor(e){l.registerInstance(this,e),this.playerElevateLeveLoaded=l.createEvent(this,"playerElevateLeveLoaded"),this.params=void 0,this.playerElevateLevel=void 0,this.pointExpireString=void 0}handleWindowResizs(){this.initLevelProgressbar()}onParamsChanged(){this.loadElevateInfo()}redeemGiftButtonHandler(){this.loadElevateInfo()}onRedeemClick(){window.postMessage({type:"BEERedeemClicked"},window.location.href)}loadLevels(){let e=new URL(`${this.params.endpoint}/v1/elevate/levels?language=${this.params.language}`);return new Promise((t,a)=>fetch(e.href,{method:"GET"}).then(n=>n.json()).then(n=>{this.levels=n.data,t(!0)}).catch(n=>{a(n)}))}calcuatePointsToBeExpired(e,t){let a="";if(!e||!e.aboutToExpire||e.aboutToExpire.length==0||e.aboutToExpire[0].points<=0)return a;e.aboutToExpire.sort((c,h)=>j(new Date(c.expireTime),new Date(h.expireTime))?-1:1);const n=e.aboutToExpire[0],r=q(new Date(n.expireTime),new Date);let i=0,d=0,s=r===0?`${t}Day`:t;return r<=0&&(i=U(new Date(n.expireTime),new Date,{roundingMethod:"floor"}),s=i>1?`${t}Hours`:`${t}Hour`,i<=0&&(d=F(new Date(n.expireTime),new Date,{roundingMethod:"floor"}),s=d>1?`${t}Minutes`:`${t}Minute`)),a=y.translateWithParams(s,{expirationPoints:n.points,expireDay:Math.max(r,i,d),lang:this.params.language}),a}loadPlayerLevelInfo(){let e=new URL(`${this.params.endpoint}/v1/elevate/playerInfo?language=${this.params.language}`);return new Promise((t,a)=>fetch(e.href,{method:"GET",headers:{"X-Sessionid":this.params.session,"Content-Type":"application/json"}}).then(n=>n.json()).then(n=>{var r,i,d;if(!n.success){console.error("Exception when fetch user elevateinfo, ",n.errorCode,n.errorMessage),a(!0);return}let s=n.data;this.playerElevateLevel=s.level,this.playerElevateLevel.name=this.playerElevateLevel.presentation.displayName||this.playerElevateLevel.name,this.playerElevateLevel.spendablePoints=((r=s.spendableWallet)===null||r===void 0?void 0:r.total.points)||0,this.playerElevateLeveLoaded.emit({elevateLevel:this.playerElevateLevel});const c=(i=n.data.spendableWallet)===null||i===void 0?void 0:i.total,h=(d=n.data.loyaltyWallet)===null||d===void 0?void 0:d.total;this.playerElevateLeveLoaded.emit({elevateLevelWalletTotal:c,loyaltyWalletTotal:h});let p=this.calcuatePointsToBeExpired(c,"coinsToBeExpired"),g=this.calcuatePointsToBeExpired(h,"pointsToBeExpired");(p||g)&&this.playerElevateLeveLoaded.emit({pointExpireString:p,xpExpireString:g}),t(this.playerElevateLevel)}).catch(n=>{console.log("error ",n),a(!0)}))}setLoyaltyProgress(e){H(this.loyaltyProgressEle,e)}initLevelProgressbar(){setTimeout(()=>{this.loyaltyProgressEle=this.elevateCardRef.parentElement.querySelector("#LevelProgress"),this.loyaltyProgressEle&&(this.setLoyaltyProgress(this.playerElevateLevel.nextLevel?this.playerElevateLevel.loyaltyPoints/this.playerElevateLevel.nextLevel.entryPoints:1),this.params.playerElevateLevel=this.playerElevateLevel)},80)}componentDidRender(){this.initLevelProgressbar()}loadElevateInfo(){if(!this.params.endpoint||!this.params.session)return;const e=[];e.push(this.loadPlayerLevelInfo()),this.params.calculateLevelFlag&&e.push(this.loadLevels()),Promise.all(e).then(t=>{if(console.log("elevate-init",t),this.initLevelProgressbar(),!this.levels)return;this.levels.sort((r,i)=>r.firstEntryPoints>i.firstEntryPoints?1:-1);const a=this.playerElevateLevel.loyaltyPoints;let n=0;this.levels.forEach((r,i)=>{a>r.firstEntryPoints&&(n=i)}),this.playerElevateLeveLoaded.emit({calculatedLevelFlag:n})})}componentWillLoad(){this.loadElevateInfo()}get elevateCardRef(){return l.getElement(this)}static get watchers(){return{params:["onParamsChanged"]}}};I.style=X;const Y=":host{display:block}@media screen and (min-width: 501px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:nowrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:11px;margin-left:5px}}@media screen and (max-width: 500px){.LoyaltyCard .Inner .LevelInfo .ElevateLevel{flex-wrap:wrap}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{padding-top:0px;margin-left:0px}}.LoyaltyCard .Inner .LevelProgress{margin-left:0px}.LoyaltyCard .Inner .Row .PointsInfo.ExpirationPoints{text-align:left;color:var(--emw--color-red-50, red)}.LoyaltyCard .Inner .PlayerAvatar .Avatar{display:none}.LoyaltyCard .Inner .PlayerAvatar .Badge{border-radius:50%;background-size:contain;width:100%;height:100%}.LoyaltyCard .Inner .LevelInfo .ElevateLevel{display:flex;flex:1;align-items:center}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate{position:relative;padding-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .ExpirationDate .ExpireTime{margin-left:5px}.LoyaltyCard .Inner .LevelInfo .ElevateLevel .LevelName{padding-left:0;font-size:var(--emw--elevate-fontsize-2xlarge, 21px);position:relative;width:auto;color:var(--emw--elevate-color-levelname, #FFBD2B);font-weight:bold}.LoyaltyCard .PointsRange{display:flex;justify-content:space-between}.LoyaltyCard .PointsRange .PointsInfo{width:auto}.LoyaltyCard .NextLevelTip{text-align:right;font-size:11px;color:var(--emw--color-black, #000);opacity:0.8;font-weight:bold}",J=Y,P=class{constructor(e){l.registerInstance(this,e),this.endpoint=void 0,this.theme="Dark",this.session=void 0,this.playerAvatarUrl=void 0,this.language="en",this.playerName=void 0,this.dateFormat="yyyy-MM-dd",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.pointExpireString=void 0,this.playerElevateLevel=void 0,this.elevateWalletTotal=void 0}onSessionOrEndpointChange(){this.paramProxy=Object.assign(Object.assign({},this.paramProxy),{session:this.session,endpoint:this.endpoint,language:this.language})}playerElevateLeveLoadedHandler(e){e.detail&&(e.detail.elevateLevelWalletTotal&&(this.elevateWalletTotal=e.detail.elevateLevelWalletTotal),e.detail.elevateLevel&&(this.playerElevateLevel=e.detail.elevateLevel),e.detail.pointExpireString&&(this.pointExpireString=e.detail.xpExpireString))}onRedeemClick(){window.postMessage({type:"BEERedeemClicked"},window.location.href)}componentWillLoad(){this.paramProxy={endpoint:this.endpoint,session:this.session,language:this.language}}getNextLevelPoints(){var e,t;return!((e=this.playerElevateLevel)===null||e===void 0)&&e.nextLevel?(t=this.playerElevateLevel)===null||t===void 0?void 0:t.nextLevel.entryPoints:-1}getNextLevelTips(){var e;let t=(e=this.playerElevateLevel)===null||e===void 0?void 0:e.nextLevel;if(this.playerElevateLevel&&t){const a=(t.entryPoints-this.playerElevateLevel.loyaltyPoints).toFixed(2);return y.translateWithParams("tipsForNextLevel",{pointsToReach:a,levelName:t.name,lang:this.language})}return""}render(){const e=l.getAssetPath("../static/card-ground.svg"),t=l.getAssetPath("../static/card-ground-over.svg");return l.h("div",{key:"39295a651da66747a20554699bba5f96b8ad5c35",class:`ElevateCardWrapper ${this.theme}`},l.h("div",{key:"78c34fe054fc2459f8af3354116cd21a68ce01be",class:"LoyaltyCard Outer",style:{backgroundImage:`url(${e}`}},l.h("general-styling-wrapper",{key:"be6efc6da4c3ccf4cc3ece8ecc73561bae75aa20",clientStyling:this.clientStyling,clientStylingUrl:this.clientStylingUrl,targetTranslations:y.TRANSLATIONS,translationUrl:this.translationUrl}),l.h("player-elevate-card-data",{key:"b53e4b59d4ee55a2f567efa09afab3d72969e6e4",params:this.paramProxy}),l.h("div",{key:"1f3e504440bab2df3a181058fad7149c85c48c14",class:"OuterCover Inner",style:{backgroundImage:`url(${t}`}},l.h("div",{key:"a07c6cd95770dc1bfd3da78b1c7cc8e1367321b1",class:"Content Row"},this.playerElevateLevel&&l.h(l.Fragment,{key:"5c104f5ba1a018219c6ed5f6e50af99b035a0344"},l.h("div",{key:"bd94591e6ab9298ab7c769fa48efaf314dc1a63b",class:"PlayerImg"},l.h(o.PlayerAvatar,{key:"928849ce86d8c7a483eba7850efc83f8149bae43",onlyBadge:!0,loyaltyIconUrl:this.playerElevateLevel.presentation.asset})),l.h("div",{key:"37192c9b8502eb3c7d93914369df2d784c17e9f7",class:`LevelInfo ${this.playerElevateLevel.name}`},l.h(o.PlayerElevateLoyaltyLevel,{key:"2684a177f4bb1053c4587fd4158666fb35ca23f4",hideInfo:!0,level:this.playerElevateLevel.name,expireTime:this.playerElevateLevel.expireTime,dateFormat:this.dateFormat}),l.h("div",{key:"173a37c63868f2d900c12af3ffc2d9a4a57550e4",class:"PointsRange"},l.h(o.PlayerPoints,{key:"a7111154f7dc547e0b05c70d24508bdd75c5d882",loyaltyPoints:this.playerElevateLevel.loyaltyPoints,language:this.language}),l.h(o.PlayerPoints,{key:"ad31574e7db81a7ecb7a06b28b1d4968cbcab93e",loyaltyPoints:this.getNextLevelPoints(),language:this.language})),l.h(o.PlayerLoyaltyProcess,{key:"88ddfdb326edfb1de9519da6b3d0e5b514725e27"}),l.h("div",{key:"b9c79555a8001bd2c754d7573df04016da235c84",class:"NextLevelTip"},this.getNextLevelTips()),this.pointExpireString&&l.h("div",{key:"02da725060c9db4a8c1c2e8bad3426894d7f8f2c",class:"PointsInfo ExpirationPoints"},this.pointExpireString," ")))))))}static get watchers(){return{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"]}}};P.style=J;exports.gamification_dropdown=B.GamificationDropdown;exports.general_styling_wrapper=L;exports.player_elevate_card_data=I;exports.player_elevate_loyaltycard=P;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";var Ue=Object.defineProperty;var ee=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var te=(e,t,s)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,se=(e,t)=>{for(var s in t||(t={}))Ce.call(t,s)&&te(e,s,t[s]);if(ee)for(var s of ee(t))qe.call(t,s)&&te(e,s,t[s]);return e};var R=(e,t,s)=>new Promise((n,r)=>{var l=a=>{try{o(s.next(a))}catch(c){r(c)}},i=a=>{try{o(s.throw(a))}catch(c){r(c)}},o=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,i);o((s=s.apply(e,t)).next())});const He="gamification-dropdown",G={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",slotRelocation:!0};var ze=Object.defineProperty,Be=(e,t)=>{for(var s in t)ze(e,s,{get:t[s],enumerable:!0})},X=new WeakMap,w=e=>X.get(e),Fe=(e,t)=>X.set(t.$lazyInstance$=e,t),De=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],X.set(e,s)},ne=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),B=new Map,Me=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const l=B.get(r);if(l)return l[n];{const i=o=>(B.set(r,o),o[n]);switch(r){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-B2a2BjCo.cjs")).then(i,b);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-W6LcGGe8.cjs")).then(i,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-DwDhlXwq.cjs")).then(i,b);case"player-rakeback-card":return Promise.resolve().then(()=>require("./player-rakeback-card-B0P7gHIA.cjs")).then(i,b)}}return import(`./${r}.entry.js`).then(i=>(B.set(r,i),i[n]),b)},I=new Map,We="{visibility:hidden}.hydrated{visibility:inherit}",ve="slot-fb{display:contents}slot-fb[hidden]{display:none}",_=typeof window!="undefined"?window:{},m=_.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},Ge=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),he=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),F=!1,re=[],ge=[],Ye=(e,t)=>s=>{e.push(s),F||(F=!0,p.$flags$&4?Y(D):p.raf(D))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},D=()=>{le(re),le(ge),(F=re.length>0)&&p.raf(D)},Y=e=>he().then(e),Je=Ye(ge),Ke=e=>{const t=new URL(e,p.$resourcesUrl$);return t.origin!==_.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml",Ve=e=>e!=null,J=e=>(e=typeof e,e==="object"||e==="function");function pe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var et={};Be(et,{err:()=>ye,map:()=>tt,ok:()=>M,unwrap:()=>st,unwrapErr:()=>nt});var M=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function tt(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>M(n)):M(s)}if(e.isErr){const s=e.value;return ye(s)}throw"should never get here"}var st=e=>{if(e.isOk)return e.value;throw e.value},nt=e=>{if(e.isErr)return e.value;throw e.value},T=(e,t="")=>()=>{},rt=(e,t)=>()=>{},K=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,o=!1;const a=[],c=d=>{for(let f=0;f<d.length;f++)n=d[f],Array.isArray(n)?c(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!J(n))&&(n=String(n)),i&&o?a[a.length-1].$text$+=n:a.push(i?U(null,n):n),o=i)};if(c(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(f=>d[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,it);const $=U(e,null);return $.$attrs$=t,a.length>0&&($.$children$=a),$.$key$=r,$.$name$=l,$},U=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},lt={},at=e=>e&&e.$tag$===lt,it={forEach:(e,t)=>e.map(ie).forEach(t),map:(e,t)=>e.map(ie).map(t).map(ot)},ie=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),ot=e=>{if(typeof e.vtag=="function"){const s=se({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),K(e.vtag,s,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},$t=(e,t)=>e!=null&&!J(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,me=e=>w(e).$hostElement$,ct=(e,t,s)=>{const n=me(e);return{emit:r=>Se(n,t,{bubbles:!0,composed:!0,cancelable:!0,detail:r})}},Se=(e,t,s)=>{const n=p.ce(t,s);return e.dispatchEvent(n),n},oe=new WeakMap,ft=(e,t,s)=>{let n=I.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,I.set(e,n)},dt=(e,t,s)=>{var n;const r=be(t),l=I.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=oe.get(e),o;if(i||oe.set(e,i=new Set),!i.has(r)){{o=m.createElement("style"),o.innerHTML=l;const a=(n=p.$nonce$)!=null?n:pe(m);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ve),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ut=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=T("attachStyles",t.$tagName$),l=dt(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=l,s.classList.add(l+"-h")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=ne(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,c=ce(s),$=ce(n);a.remove(...c.filter(d=>d&&!$.includes(d))),a.add(...$.filter(d=>d&&!c.includes(d)))}else if(t==="style"){for(const a in s)(!n||n[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in n)(!s||n[a]!==s[a])&&(a.includes("-")?e.style.setProperty(a,n[a]):e.style[a]=n[a])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ne(_,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const a=t.endsWith(ke);t=t.replace(ht,""),s&&p.rel(e,t,s,a),n&&p.ael(e,t,n,a)}}else{const a=J(n);if((i||a&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const c=n==null?"":n;t==="list"?i=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!i||l&4||r)&&!a&&(n=n===!0?"":n,e.setAttribute(t,n))}}},vt=/\s/,ce=e=>e?e.split(vt):[],ke="Capture",ht=new RegExp(ke+"$"),Ee=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(const i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(const i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var x,W,z,C=!1,q=!1,Q=!1,S=!1,H=(e,t,s,n)=>{var r;const l=t.$children$[s];let i=0,o,a,c;if(C||(Q=!0,l.$tag$==="slot"&&(x&&n.classList.add(x+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)o=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)o=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),o=l.$elm$=m.createElementNS(S?Qe:Ze,!C&&G.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Ee(null,l,S),Ve(x)&&o["s-si"]!==x&&o.classList.add(o["s-si"]=x),l.$children$)for(i=0;i<l.$children$.length;++i)a=H(e,l,i,o),a&&o.appendChild(a);l.$tag$==="svg"?S=!1:o.tagName==="foreignObject"&&(S=!0)}return o["s-hn"]=z,l.$flags$&3&&(o["s-sr"]=!0,o["s-cr"]=W,o["s-sn"]=l.$name$||"",o["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===l.$tag$&&e.$elm$&&A(e.$elm$,!1)),o},A=(e,t)=>{p.$flags$|=1;const s=Array.from(e.childNodes);e["s-sr"]&&G.experimentalSlotFixes;for(let n=s.length-1;n>=0;n--){const r=s[n];r["s-hn"]!==z&&r["s-ol"]&&(L(we(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&A(r,t)}p.$flags$&=-2},Te=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,o;for(i.shadowRoot&&i.tagName===z&&(i=i.shadowRoot);r<=l;++r)n[r]&&(o=H(null,s,r,e),o&&(n[r].$elm$=o,L(i,o,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const l=r.$elm$;_e(r),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():A(l,!0),l.remove())}}},gt=(e,t,s,n,r=!1)=>{let l=0,i=0,o=0,a=0,c=t.length-1,$=t[0],d=t[c],f=n.length-1,u=n[0],h=n[f],g,y;for(;l<=c&&i<=f;)if($==null)$=t[++l];else if(d==null)d=t[--c];else if(u==null)u=n[++i];else if(h==null)h=n[--f];else if(N($,u,r))P($,u,r),$=t[++l],u=n[++i];else if(N(d,h,r))P(d,h,r),d=t[--c],h=n[--f];else if(N($,h,r))($.$tag$==="slot"||h.$tag$==="slot")&&A($.$elm$.parentNode,!1),P($,h,r),L(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],h=n[--f];else if(N(d,u,r))($.$tag$==="slot"||h.$tag$==="slot")&&A(d.$elm$.parentNode,!1),P(d,u,r),L(e,d.$elm$,$.$elm$),d=t[--c],u=n[++i];else{for(o=-1,a=l;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(y=t[o],y.$tag$!==u.$tag$?g=H(t&&t[i],s,o,e):(P(y,u,r),t[o]=void 0,g=y.$elm$),u=n[++i]):(g=H(t&&t[i],s,i,e),u=n[++i]),g&&L(we($.$elm$),g,Z($.$elm$))}l>c?Te(e,n[f+1]==null?null:n[f+1].$elm$,s,n,i,f):i>f&&Le(t,l,c)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,we=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,o=t.$text$;let a;o===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!C||Ee(e,t,S),r!==null&&l!==null?gt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),Te(n,null,t,l,0,l.length-1)):r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(a=n["s-cr"])?a.parentNode.textContent=o:e.$text$!==o&&(n.data=o)},xe=e=>{const t=e.childNodes;for(const s of t)if(s.nodeType===1){if(s["s-sr"]){const n=s["s-sn"];s.hidden=!1;for(const r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}xe(s)}},E=[],Pe=e=>{let t,s,n;for(const r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;const l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(de(t,l)){let i=E.find(o=>o.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],E.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&E.map(o=>{de(o.$nodeToRelocate$,t["s-sn"])&&(i=E.find(a=>a.$nodeToRelocate$===t),i&&!o.$slotRefNode$&&(o.$slotRefNode$=i.$slotRefNode$))})}else E.some(i=>i.$nodeToRelocate$===t)||E.push({$nodeToRelocate$:t})}r.nodeType===1&&Pe(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},L=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),pt=(e,t,s=!1)=>{var n,r,l,i;const o=e.$hostElement$,a=e.$cmpMeta$,c=e.$vnode$||U(null,null),$=at(t)?t:K(null,null,t);if(z=o.tagName,a.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},a.$attrsToReflect$.map(([d,f])=>$.$attrs$[f]=o[d])),s&&$.$attrs$)for(const d of Object.keys($.$attrs$))o.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=o[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=o.shadowRoot||o,x=o["s-sc"],C=(a.$flags$&1)!==0,W=o["s-cr"],q=!1,P(c,$,s);{if(p.$flags$|=1,Q){Pe($.$elm$);for(const d of E){const f=d.$nodeToRelocate$;if(!f["s-ol"]){const u=m.createTextNode("");u["s-nr"]=f,L(f.parentNode,f["s-ol"]=u,f)}}for(const d of E){const f=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const h=u.parentNode;let g=u.nextSibling;{let y=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===f["s-sn"]&&h===v.parentNode){for(v=v.nextSibling;v===f||v!=null&&v["s-sr"];)v=v==null?void 0:v.nextSibling;if(!v||!v["s-nr"]){g=v;break}}y=y.previousSibling}}(!g&&h!==f.parentNode||f.nextSibling!==g)&&f!==g&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(h,f,g),f.nodeType===1&&(f.hidden=(l=f["s-ih"])!=null?l:!1)),f&&typeof u["s-rf"]=="function"&&u["s-rf"](f)}else f.nodeType===1&&(s&&(f["s-ih"]=(i=f.hidden)!=null?i:!1),f.hidden=!0)}}q&&xe($.$elm$),p.$flags$&=-2,E.length=0}W=void 0},Ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},V=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ae(e,e.$ancestorComponent$),Je(()=>yt(e,t))},yt=(e,t)=>{const s=e.$hostElement$,n=T("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,o])=>O(r,i,o)),e.$queuedListeners$=void 0),l=O(r,"componentWillLoad")),n(),mt(l,()=>bt(e,r,t))},mt=(e,t)=>St(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",bt=(e,t,s)=>R(exports,null,function*(){var n;const r=e.$hostElement$,l=T("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ut(e);const o=T("render",e.$cmpMeta$.$tagName$);kt(e,t,r,s),i&&(i.map(a=>a()),r["s-rc"]=void 0),o(),l();{const a=(n=r["s-p"])!=null?n:[],c=()=>Et(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),kt=(e,t,s,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},Et=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=T("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;O(r,"componentDidRender"),e.$flags$&64?n():(e.$flags$|=64,je(s),O(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Oe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Y(()=>V(e,!1)),e.$flags$&=-517},Oe=e=>{je(m.documentElement),Y(()=>Se(_,"appload",{detail:{namespace:He}}))},O=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},je=e=>{var t;return e.classList.add((t=G.hydratedSelectorName)!=null?t:"hydrated")},Tt=(e,t)=>w(e).$instanceValues$.get(t),Lt=(e,t,s,n)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=r.$hostElement$,i=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;s=$t(s,n.$members$[t][0]);const c=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!c;if((!(o&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),a)){if(n.$watchers$&&o&128){const d=n.$watchers$[t];d&&d.map(f=>{try{a[f](s,i,t)}catch(u){b(u,l)}})}(o&18)===2&&V(r,!1)}},Re=(e,t,s)=>{var n,r;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([o,[a]])=>{(a&31||s&2&&a&32)&&Object.defineProperty(l,o,{get(){return Tt(this,o)},set(c){Lt(this,o,c,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;l.attributeChangedCallback=function(a,c,$){p.jmp(()=>{var d;const f=o.get(a);if(this.hasOwnProperty(f))$=this[f],delete this[f];else{if(l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==$)return;if(f==null){const u=w(this),h=u==null?void 0:u.$flags$;if(h&&!(h&8)&&h&128&&$!==c){const g=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[a];y==null||y.forEach(v=>{g[v]!=null&&g[v].call(g,$,c,a)})}return}}this[f]=$===null&&typeof this[f]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const d=c[1]||a;return o.set(d,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,d])),d})]))}}return e},wt=(e,t,s,n)=>R(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const a=Me(s);if(a&&"then"in a){const $=rt();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Re(r,s,2),r.isProxied=!0);const c=T("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){b($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=be(s);if(!I.has(c)){const $=T("registerStyles",s.$tagName$);ft(c,a,!!(s.$flags$&1)),$()}}}const l=t.$ancestorComponent$,i=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()}),xt=e=>{},Pt=e=>{if(!(p.$flags$&1)){const t=w(e),s=t.$cmpMeta$,n=T("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>xt());else{t.$flags$|=1,s.$flags$&12&&_t(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){const i=e[r];delete e[r],e[r]=i}}),wt(e,t,s)}n()}},_t=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,L(e,t,e.firstChild)},ue=e=>{O(e,"disconnectedCallback")},At=e=>R(exports,null,function*(){if(!(p.$flags$&1)){const t=w(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$?ue(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ue(t.$lazyInstance$))}}),Ot=(e,t={})=>{var s;const n=T(),r=[],l=t.exclude||[],i=_.customElements,o=m.head,a=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let d,f=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(g=>{var y;const v={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};v.$flags$&4&&(u=!0),v.$members$=g[2],v.$listeners$=g[3],v.$attrsToReflect$=[],v.$watchers$=(y=g[4])!=null?y:{};const j=v.$tagName$,Ie=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,De(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const k=w(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),f?$.push(this):p.jmp(()=>Pt(this))}disconnectedCallback(){p.jmp(()=>At(this))}componentOnReady(){return w(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!l.includes(j)&&!i.get(j)&&(r.push(j),i.define(j,Re(Ie,v,1)))})}),r.length>0&&(u&&(c.textContent+=ve),c.textContent+=r.sort()+We,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=p.$nonce$)!=null?s:pe(m);h!=null&&c.setAttribute("nonce",h),o.insertBefore(c,a?a.nextSibling:o.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(Oe,30)),n()},jt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{const o=Nt(e,r),a=Rt(t,i),c=It(r);p.ael(o,l,a,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(o,l,a,c))})},Rt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){b(r)}},Nt=(e,t)=>t&8?_:e,It=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=jt;exports.bootstrapLazy=Ot;exports.createEvent=ct;exports.getAssetPath=Ke;exports.getElement=me;exports.h=K;exports.promiseResolve=he;exports.registerInstance=Fe;
|
1
|
+
"use strict";var Ue=Object.defineProperty;var ee=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable;var te=(e,t,s)=>t in e?Ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,se=(e,t)=>{for(var s in t||(t={}))Ce.call(t,s)&&te(e,s,t[s]);if(ee)for(var s of ee(t))qe.call(t,s)&&te(e,s,t[s]);return e};var R=(e,t,s)=>new Promise((n,r)=>{var l=a=>{try{o(s.next(a))}catch(c){r(c)}},i=a=>{try{o(s.throw(a))}catch(c){r(c)}},o=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,i);o((s=s.apply(e,t)).next())});const He="gamification-dropdown",G={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",slotRelocation:!0};var ze=Object.defineProperty,Be=(e,t)=>{for(var s in t)ze(e,s,{get:t[s],enumerable:!0})},X=new WeakMap,w=e=>X.get(e),Fe=(e,t)=>X.set(t.$lazyInstance$=e,t),De=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(n=>s.$onReadyResolve$=n),e["s-p"]=[],e["s-rc"]=[],X.set(e,s)},ne=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),B=new Map,Me=(e,t,s)=>{const n=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const l=B.get(r);if(l)return l[n];{const i=o=>(B.set(r,o),o[n]);switch(r){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-_zijAT3T.cjs")).then(i,b);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-DtTKg95m.cjs")).then(i,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-CEXHhV9c.cjs")).then(i,b);case"player-rakeback-card":return Promise.resolve().then(()=>require("./player-rakeback-card-BwjstuRr.cjs")).then(i,b)}}return import(`./${r}.entry.js`).then(i=>(B.set(r,i),i[n]),b)},I=new Map,We="{visibility:hidden}.hydrated{visibility:inherit}",ve="slot-fb{display:contents}slot-fb[hidden]{display:none}",_=typeof window!="undefined"?window:{},m=_.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,n)=>e.addEventListener(t,s,n),rel:(e,t,s,n)=>e.removeEventListener(t,s,n),ce:(e,t)=>new CustomEvent(e,t)},Ge=(()=>{let e=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),he=e=>Promise.resolve(e),Xe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),F=!1,re=[],ge=[],Ye=(e,t)=>s=>{e.push(s),F||(F=!0,p.$flags$&4?Y(D):p.raf(D))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},D=()=>{le(re),le(ge),(F=re.length>0)&&p.raf(D)},Y=e=>he().then(e),Je=Ye(ge),Ke=e=>{const t=new URL(e,p.$resourcesUrl$);return t.origin!==_.location.origin?t.href:t.pathname},ae={},Qe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml",Ve=e=>e!=null,J=e=>(e=typeof e,e==="object"||e==="function");function pe(e){var t,s,n;return(n=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?n:void 0}var et={};Be(et,{err:()=>ye,map:()=>tt,ok:()=>M,unwrap:()=>st,unwrapErr:()=>nt});var M=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function tt(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(n=>M(n)):M(s)}if(e.isErr){const s=e.value;return ye(s)}throw"should never get here"}var st=e=>{if(e.isOk)return e.value;throw e.value},nt=e=>{if(e.isErr)return e.value;throw e.value},T=(e,t="")=>()=>{},rt=(e,t)=>()=>{},K=(e,t,...s)=>{let n=null,r=null,l=null,i=!1,o=!1;const a=[],c=d=>{for(let f=0;f<d.length;f++)n=d[f],Array.isArray(n)?c(n):n!=null&&typeof n!="boolean"&&((i=typeof e!="function"&&!J(n))&&(n=String(n)),i&&o?a[a.length-1].$text$+=n:a.push(i?U(null,n):n),o=i)};if(c(s),t){t.key&&(r=t.key),t.name&&(l=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(f=>d[f]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,it);const $=U(e,null);return $.$attrs$=t,a.length>0&&($.$children$=a),$.$key$=r,$.$name$=l,$},U=(e,t)=>{const s={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return s.$attrs$=null,s.$key$=null,s.$name$=null,s},lt={},at=e=>e&&e.$tag$===lt,it={forEach:(e,t)=>e.map(ie).forEach(t),map:(e,t)=>e.map(ie).map(t).map(ot)},ie=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),ot=e=>{if(typeof e.vtag=="function"){const s=se({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),K(e.vtag,s,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},$t=(e,t)=>e!=null&&!J(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,me=e=>w(e).$hostElement$,ct=(e,t,s)=>{const n=me(e);return{emit:r=>Se(n,t,{bubbles:!0,composed:!0,cancelable:!0,detail:r})}},Se=(e,t,s)=>{const n=p.ce(t,s);return e.dispatchEvent(n),n},oe=new WeakMap,ft=(e,t,s)=>{let n=I.get(e);Xe&&s?(n=n||new CSSStyleSheet,typeof n=="string"?n=t:n.replaceSync(t)):n=t,I.set(e,n)},dt=(e,t,s)=>{var n;const r=be(t),l=I.get(r);if(e=e.nodeType===11?e:m,l)if(typeof l=="string"){e=e.head||e;let i=oe.get(e),o;if(i||oe.set(e,i=new Set),!i.has(r)){{o=m.createElement("style"),o.innerHTML=l;const a=(n=p.$nonce$)!=null?n:pe(m);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ve),i&&i.add(r)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return r},ut=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,n=t.$flags$,r=T("attachStyles",t.$tagName$),l=dt(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);n&10&&(s["s-sc"]=l,s.classList.add(l+"-h")),r()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,n,r,l)=>{if(s!==n){let i=ne(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,c=ce(s),$=ce(n);a.remove(...c.filter(d=>d&&!$.includes(d))),a.add(...$.filter(d=>d&&!c.includes(d)))}else if(t==="style"){for(const a in s)(!n||n[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in n)(!s||n[a]!==s[a])&&(a.includes("-")?e.style.setProperty(a,n[a]):e.style[a]=n[a])}else if(t!=="key")if(t==="ref")n&&n(e);else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ne(_,o)?t=o.slice(2):t=o[2]+t.slice(3),s||n){const a=t.endsWith(ke);t=t.replace(ht,""),s&&p.rel(e,t,s,a),n&&p.ael(e,t,n,a)}}else{const a=J(n);if((i||a&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const c=n==null?"":n;t==="list"?i=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!i||l&4||r)&&!a&&(n=n===!0?"":n,e.setAttribute(t,n))}}},vt=/\s/,ce=e=>e?e.split(vt):[],ke="Capture",ht=new RegExp(ke+"$"),Ee=(e,t,s)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(const i of fe(Object.keys(r)))i in l||$e(n,i,r[i],void 0,s,t.$flags$);for(const i of fe(Object.keys(l)))$e(n,i,r[i],l[i],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var x,W,z,C=!1,q=!1,Q=!1,S=!1,H=(e,t,s,n)=>{var r;const l=t.$children$[s];let i=0,o,a,c;if(C||(Q=!0,l.$tag$==="slot"&&(x&&n.classList.add(x+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)o=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)o=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),o=l.$elm$=m.createElementNS(S?Qe:Ze,!C&&G.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Ee(null,l,S),Ve(x)&&o["s-si"]!==x&&o.classList.add(o["s-si"]=x),l.$children$)for(i=0;i<l.$children$.length;++i)a=H(e,l,i,o),a&&o.appendChild(a);l.$tag$==="svg"?S=!1:o.tagName==="foreignObject"&&(S=!0)}return o["s-hn"]=z,l.$flags$&3&&(o["s-sr"]=!0,o["s-cr"]=W,o["s-sn"]=l.$name$||"",o["s-rf"]=(r=l.$attrs$)==null?void 0:r.ref,c=e&&e.$children$&&e.$children$[s],c&&c.$tag$===l.$tag$&&e.$elm$&&A(e.$elm$,!1)),o},A=(e,t)=>{p.$flags$|=1;const s=Array.from(e.childNodes);e["s-sr"]&&G.experimentalSlotFixes;for(let n=s.length-1;n>=0;n--){const r=s[n];r["s-hn"]!==z&&r["s-ol"]&&(L(we(r),r,Z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,Q=!0),t&&A(r,t)}p.$flags$&=-2},Te=(e,t,s,n,r,l)=>{let i=e["s-cr"]&&e["s-cr"].parentNode||e,o;for(i.shadowRoot&&i.tagName===z&&(i=i.shadowRoot);r<=l;++r)n[r]&&(o=H(null,s,r,e),o&&(n[r].$elm$=o,L(i,o,Z(t))))},Le=(e,t,s)=>{for(let n=t;n<=s;++n){const r=e[n];if(r){const l=r.$elm$;_e(r),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():A(l,!0),l.remove())}}},gt=(e,t,s,n,r=!1)=>{let l=0,i=0,o=0,a=0,c=t.length-1,$=t[0],d=t[c],f=n.length-1,u=n[0],h=n[f],g,y;for(;l<=c&&i<=f;)if($==null)$=t[++l];else if(d==null)d=t[--c];else if(u==null)u=n[++i];else if(h==null)h=n[--f];else if(N($,u,r))P($,u,r),$=t[++l],u=n[++i];else if(N(d,h,r))P(d,h,r),d=t[--c],h=n[--f];else if(N($,h,r))($.$tag$==="slot"||h.$tag$==="slot")&&A($.$elm$.parentNode,!1),P($,h,r),L(e,$.$elm$,d.$elm$.nextSibling),$=t[++l],h=n[--f];else if(N(d,u,r))($.$tag$==="slot"||h.$tag$==="slot")&&A(d.$elm$.parentNode,!1),P(d,u,r),L(e,d.$elm$,$.$elm$),d=t[--c],u=n[++i];else{for(o=-1,a=l;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(y=t[o],y.$tag$!==u.$tag$?g=H(t&&t[i],s,o,e):(P(y,u,r),t[o]=void 0,g=y.$elm$),u=n[++i]):(g=H(t&&t[i],s,i,e),u=n[++i]),g&&L(we($.$elm$),g,Z($.$elm$))}l>c?Te(e,n[f+1]==null?null:n[f+1].$elm$,s,n,i,f):i>f&&Le(t,l,c)},N=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,we=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,P=(e,t,s=!1)=>{const n=t.$elm$=e.$elm$,r=e.$children$,l=t.$children$,i=t.$tag$,o=t.$text$;let a;o===null?(S=i==="svg"?!0:i==="foreignObject"?!1:S,i==="slot"&&!C||Ee(e,t,S),r!==null&&l!==null?gt(n,r,t,l,s):l!==null?(e.$text$!==null&&(n.textContent=""),Te(n,null,t,l,0,l.length-1)):r!==null&&Le(r,0,r.length-1),S&&i==="svg"&&(S=!1)):(a=n["s-cr"])?a.parentNode.textContent=o:e.$text$!==o&&(n.data=o)},xe=e=>{const t=e.childNodes;for(const s of t)if(s.nodeType===1){if(s["s-sr"]){const n=s["s-sn"];s.hidden=!1;for(const r of t)if(r!==s){if(r["s-hn"]!==s["s-hn"]||n!==""){if(r.nodeType===1&&(n===r.getAttribute("slot")||n===r["s-sn"])||r.nodeType===3&&n===r["s-sn"]){s.hidden=!0;break}}else if(r.nodeType===1||r.nodeType===3&&r.textContent.trim()!==""){s.hidden=!0;break}}}xe(s)}},E=[],Pe=e=>{let t,s,n;for(const r of e.childNodes){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;const l=r["s-sn"];for(n=s.length-1;n>=0;n--)if(t=s[n],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==r["s-hn"])if(de(t,l)){let i=E.find(o=>o.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,i?(i.$nodeToRelocate$["s-sh"]=r["s-hn"],i.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],E.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&E.map(o=>{de(o.$nodeToRelocate$,t["s-sn"])&&(i=E.find(a=>a.$nodeToRelocate$===t),i&&!o.$slotRefNode$&&(o.$slotRefNode$=i.$slotRefNode$))})}else E.some(i=>i.$nodeToRelocate$===t)||E.push({$nodeToRelocate$:t})}r.nodeType===1&&Pe(r)}},de=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",_e=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(_e)},L=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),pt=(e,t,s=!1)=>{var n,r,l,i;const o=e.$hostElement$,a=e.$cmpMeta$,c=e.$vnode$||U(null,null),$=at(t)?t:K(null,null,t);if(z=o.tagName,a.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},a.$attrsToReflect$.map(([d,f])=>$.$attrs$[f]=o[d])),s&&$.$attrs$)for(const d of Object.keys($.$attrs$))o.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=o[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=o.shadowRoot||o,x=o["s-sc"],C=(a.$flags$&1)!==0,W=o["s-cr"],q=!1,P(c,$,s);{if(p.$flags$|=1,Q){Pe($.$elm$);for(const d of E){const f=d.$nodeToRelocate$;if(!f["s-ol"]){const u=m.createTextNode("");u["s-nr"]=f,L(f.parentNode,f["s-ol"]=u,f)}}for(const d of E){const f=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const h=u.parentNode;let g=u.nextSibling;{let y=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;y;){let v=(r=y["s-nr"])!=null?r:null;if(v&&v["s-sn"]===f["s-sn"]&&h===v.parentNode){for(v=v.nextSibling;v===f||v!=null&&v["s-sr"];)v=v==null?void 0:v.nextSibling;if(!v||!v["s-nr"]){g=v;break}}y=y.previousSibling}}(!g&&h!==f.parentNode||f.nextSibling!==g)&&f!==g&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(h,f,g),f.nodeType===1&&(f.hidden=(l=f["s-ih"])!=null?l:!1)),f&&typeof u["s-rf"]=="function"&&u["s-rf"](f)}else f.nodeType===1&&(s&&(f["s-ih"]=(i=f.hidden)!=null?i:!1),f.hidden=!0)}}q&&xe($.$elm$),p.$flags$&=-2,E.length=0}W=void 0},Ae=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(s=>e.$onRenderResolve$=s))},V=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Ae(e,e.$ancestorComponent$),Je(()=>yt(e,t))},yt=(e,t)=>{const s=e.$hostElement$,n=T("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([i,o])=>O(r,i,o)),e.$queuedListeners$=void 0),l=O(r,"componentWillLoad")),n(),mt(l,()=>bt(e,r,t))},mt=(e,t)=>St(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",bt=(e,t,s)=>R(exports,null,function*(){var n;const r=e.$hostElement$,l=T("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];s&&ut(e);const o=T("render",e.$cmpMeta$.$tagName$);kt(e,t,r,s),i&&(i.map(a=>a()),r["s-rc"]=void 0),o(),l();{const a=(n=r["s-p"])!=null?n:[],c=()=>Et(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),kt=(e,t,s,n)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,pt(e,t,n)}catch(r){b(r,e.$hostElement$)}return null},Et=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,n=T("postUpdate",t),r=e.$lazyInstance$,l=e.$ancestorComponent$;O(r,"componentDidRender"),e.$flags$&64?n():(e.$flags$|=64,je(s),O(r,"componentDidLoad"),n(),e.$onReadyResolve$(s),l||Oe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Y(()=>V(e,!1)),e.$flags$&=-517},Oe=e=>{je(m.documentElement),Y(()=>Se(_,"appload",{detail:{namespace:He}}))},O=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(n){b(n)}},je=e=>{var t;return e.classList.add((t=G.hydratedSelectorName)!=null?t:"hydrated")},Tt=(e,t)=>w(e).$instanceValues$.get(t),Lt=(e,t,s,n)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${n.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const l=r.$hostElement$,i=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;s=$t(s,n.$members$[t][0]);const c=Number.isNaN(i)&&Number.isNaN(s),$=s!==i&&!c;if((!(o&8)||i===void 0)&&$&&(r.$instanceValues$.set(t,s),a)){if(n.$watchers$&&o&128){const d=n.$watchers$[t];d&&d.map(f=>{try{a[f](s,i,t)}catch(u){b(u,l)}})}(o&18)===2&&V(r,!1)}},Re=(e,t,s)=>{var n,r;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const i=Object.entries((n=t.$members$)!=null?n:{});if(i.map(([o,[a]])=>{(a&31||s&2&&a&32)&&Object.defineProperty(l,o,{get(){return Tt(this,o)},set(c){Lt(this,o,c,t)},configurable:!0,enumerable:!0})}),s&1){const o=new Map;l.attributeChangedCallback=function(a,c,$){p.jmp(()=>{var d;const f=o.get(a);if(this.hasOwnProperty(f))$=this[f],delete this[f];else{if(l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==$)return;if(f==null){const u=w(this),h=u==null?void 0:u.$flags$;if(h&&!(h&8)&&h&128&&$!==c){const g=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[a];y==null||y.forEach(v=>{g[v]!=null&&g[v].call(g,$,c,a)})}return}}this[f]=$===null&&typeof this[f]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const d=c[1]||a;return o.set(d,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,d])),d})]))}}return e},wt=(e,t,s,n)=>R(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const a=Me(s);if(a&&"then"in a){const $=rt();r=yield a,$()}else r=a;if(!r)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(s.$watchers$=r.watchers,Re(r,s,2),r.isProxied=!0);const c=T("createInstance",s.$tagName$);t.$flags$|=8;try{new r(t)}catch($){b($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const c=be(s);if(!I.has(c)){const $=T("registerStyles",s.$tagName$);ft(c,a,!!(s.$flags$&1)),$()}}}const l=t.$ancestorComponent$,i=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(i):i()}),xt=e=>{},Pt=e=>{if(!(p.$flags$&1)){const t=w(e),s=t.$cmpMeta$,n=T("connectedCallback",s.$tagName$);if(t.$flags$&1)Ne(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>xt());else{t.$flags$|=1,s.$flags$&12&&_t(e);{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){Ae(t,t.$ancestorComponent$=r);break}}s.$members$&&Object.entries(s.$members$).map(([r,[l]])=>{if(l&31&&e.hasOwnProperty(r)){const i=e[r];delete e[r],e[r]=i}}),wt(e,t,s)}n()}},_t=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,L(e,t,e.firstChild)},ue=e=>{O(e,"disconnectedCallback")},At=e=>R(exports,null,function*(){if(!(p.$flags$&1)){const t=w(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$?ue(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ue(t.$lazyInstance$))}}),Ot=(e,t={})=>{var s;const n=T(),r=[],l=t.exclude||[],i=_.customElements,o=m.head,a=o.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let d,f=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(g=>{var y;const v={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};v.$flags$&4&&(u=!0),v.$members$=g[2],v.$listeners$=g[3],v.$attrsToReflect$=[],v.$watchers$=(y=g[4])!=null?y:{};const j=v.$tagName$,Ie=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,De(k,v),v.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const k=w(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),f?$.push(this):p.jmp(()=>Pt(this))}disconnectedCallback(){p.jmp(()=>At(this))}componentOnReady(){return w(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!l.includes(j)&&!i.get(j)&&(r.push(j),i.define(j,Re(Ie,v,1)))})}),r.length>0&&(u&&(c.textContent+=ve),c.textContent+=r.sort()+We,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=p.$nonce$)!=null?s:pe(m);h!=null&&c.setAttribute("nonce",h),o.insertBefore(c,a?a.nextSibling:o.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(Oe,30)),n()},jt=(e,t)=>t,Ne=(e,t,s,n)=>{s&&s.map(([r,l,i])=>{const o=Nt(e,r),a=Rt(t,i),c=It(r);p.ael(o,l,a,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(o,l,a,c))})},Rt=(e,t)=>s=>{var n;try{e.$flags$&256?(n=e.$lazyInstance$)==null||n[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(r){b(r)}},Nt=(e,t)=>t&8?_:e,It=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=jt;exports.bootstrapLazy=Ot;exports.createEvent=ct;exports.getAssetPath=Ke;exports.getElement=me;exports.h=K;exports.promiseResolve=he;exports.registerInstance=Fe;
|
@@ -53,22 +53,22 @@ var He = Object.defineProperty, qe = (e, t) => {
|
|
53
53
|
case "gamification-dropdown_4":
|
54
54
|
return import(
|
55
55
|
/* webpackMode: "lazy" */
|
56
|
-
"./gamification-dropdown_4-
|
56
|
+
"./gamification-dropdown_4-BUCLkjbf.js"
|
57
57
|
).then(o, b);
|
58
58
|
case "player-elevate-card":
|
59
59
|
return import(
|
60
60
|
/* webpackMode: "lazy" */
|
61
|
-
"./player-elevate-card-
|
61
|
+
"./player-elevate-card-DX8jjll6.js"
|
62
62
|
).then(o, b);
|
63
63
|
case "player-elevate-pointcard":
|
64
64
|
return import(
|
65
65
|
/* webpackMode: "lazy" */
|
66
|
-
"./player-elevate-pointcard-
|
66
|
+
"./player-elevate-pointcard-Bcq1MXZc.js"
|
67
67
|
).then(o, b);
|
68
68
|
case "player-rakeback-card":
|
69
69
|
return import(
|
70
70
|
/* webpackMode: "lazy" */
|
71
|
-
"./player-rakeback-card-
|
71
|
+
"./player-rakeback-card-Dtat6ZLL.js"
|
72
72
|
).then(o, b);
|
73
73
|
}
|
74
74
|
}
|
@@ -26,22 +26,22 @@ var Oe = Object.defineProperty, je = (e, t) => {
|
|
26
26
|
case "gamification-dropdown_4":
|
27
27
|
return import(
|
28
28
|
/* webpackMode: "lazy" */
|
29
|
-
"./gamification-dropdown_4-
|
29
|
+
"./gamification-dropdown_4-SROB8ZNq.js"
|
30
30
|
).then(a, b);
|
31
31
|
case "player-elevate-card":
|
32
32
|
return import(
|
33
33
|
/* webpackMode: "lazy" */
|
34
|
-
"./player-elevate-card-
|
34
|
+
"./player-elevate-card-CRl63tuY.js"
|
35
35
|
).then(a, b);
|
36
36
|
case "player-elevate-pointcard":
|
37
37
|
return import(
|
38
38
|
/* webpackMode: "lazy" */
|
39
|
-
"./player-elevate-pointcard-
|
39
|
+
"./player-elevate-pointcard-hzoziusU.js"
|
40
40
|
).then(a, b);
|
41
41
|
case "player-rakeback-card":
|
42
42
|
return import(
|
43
43
|
/* webpackMode: "lazy" */
|
44
|
-
"./player-rakeback-card-
|
44
|
+
"./player-rakeback-card-DYjFUdkd.js"
|
45
45
|
).then(a, b);
|
46
46
|
}
|
47
47
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const a="en",r=["en","zh-hk","it","fr","tr","hr"],t={en:{redeem:"Redeem",claim:"Claim",expireOn:"Expire on ",coinsToBeExpired:"${expirationPoints} coins to expire in ${expireDay} days",coinsToBeExpiredDay:"${expirationPoints} coins to expire in ${expireDay} day",coinsToBeExpiredHours:"${expirationPoints} coins to expire in ${expireDay} hours",coinsToBeExpiredHour:"${expirationPoints} coins to expire in ${expireDay} hour",coinsToBeExpiredMinutes:"${expirationPoints} coins to expire in ${expireDay} minutes",coinsToBeExpiredMinute:"${expirationPoints} coins to expire in ${expireDay} minute",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"Details",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"Available Rakeback",loading:"Loading",minutesCanClaim:"Next Claim is available in ${minutes} minutes"},"zh-hk":{redeem:"兑奖",claim:"返佣",expireOn:"Expire on ",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"明细",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"可用的返利",loading:"加載中",minutesCanClaim:"下次可領取時間為${minutes}分鐘後"},de:{redeem:"Redeem",claim:"Anspruch",expireOn:"Expire on ",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"Details",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"Verfügbarer Rakeback",loading:"Laden",minutesCanClaim:"Nächster Anspruch ist in ${minutes} Minuten verfügbar"},it:{redeem:"Redeem",claim:"Richiesta",expireOn:"Expire on ",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"Details",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"Rakeback Disponibile",loading:"Caricamento",minutesCanClaim:"La prossima richiesta sarà disponibile tra ${minutes} minuti"},fr:{redeem:"Redeem",claim:"Réclamer",expireOn:"Expire on ",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"Details",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"Rakeback Disponible",loading:"Chargement",minutesCanClaim:"La prochaine réclamation sera disponible dans ${minutes} minutes"},es:{redeem:"Redeem",claim:"Reclamar",rakebackTitle:"Rakeback Disponible",loading:"Cargando",minutesCanClaim:"La próxima reclamación estará disponible en ${minutes} minutos"},tr:{redeem:"Redeem",claim:"Talep",expireOn:"Expire on ",pointsToBeExpired:"${expirationPoints} points to expire in ${expireDay} days",pointsToBeExpiredDay:"${expirationPoints} points to expire in ${expireDay} day",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Next level is ${levelName}. ${pointsToReach} XP to level up",spendablePoints:"Spendable Points:",details:"Details",earningRules:"Earning Rules",xp:"XP",sp:"Coins",termAndConditions:"Term & Conditions",rakebackTitle:"Mevcut Rakeback",loading:"Yükleniyor",minutesCanClaim:"Sonraki talep ${minutes} dakika içinde kullanılabilir"},ru:{redeem:"Redeem",claim:"Требовать",rakebackTitle:"Доступный Рейкбек",loading:"Загрузка",minutesCanClaim:"Следующее требование будет доступно через ${minutes} минут"},ro:{redeem:"Redeem",claim:"Revendicare",rakebackTitle:"Rakeback Disponibil",loading:"Se încarcă",minutesCanClaim:"Următoarea revendicare va fi disponibilă în ${minutes} minute"},hr:{redeem:"Otkupiti",claim:"Zahtjev",expireOn:"Istječe",pointsToBeExpired:"${expirationPoints} bodova ističe za ${expireDay} dana",pointsToBeExpiredHours:"${expirationPoints} points to expire in ${expireDay} hours",pointsToBeExpiredHour:"${expirationPoints} points to expire in ${expireDay} hour",pointsToBeExpiredMinutes:"${expirationPoints} points to expire in ${expireDay} minutes",pointsToBeExpiredMinute:"${expirationPoints} points to expire in ${expireDay} minute",tipsForNextLevel:"Trebate ${pointsToReach} da dosegnete razinu ${levelName}",spendablePoints:"Bodovi za potrošit:",details:"Detalji",xp:"XP",rakebackTitle:"Dostupan Rakeback",loading:"Učitavanje",minutesCanClaim:"Sljedeći zahtjev bit će dostupan za ${minutes} minuta"},hu:{redeem:"Redeem",claim:"Igény",rakebackTitle:"Elérhető Rakeback",loading:"Betöltés",minutesCanClaim:"A következő igény ${minutes} perc múlva lesz elérhető"},pl:{redeem:"Redeem",claim:"Roszczenie",rakebackTitle:"Dostępny Rakeback",loading:"Ładowanie",minutesCanClaim:"Następne roszczenie będzie dostępne za ${minutes} minut"},pt:{redeem:"Redeem",claim:"Reivindicar",rakebackTitle:"Rakeback Disponível",loading:"Carregando",minutesCanClaim:"Próxima reivindicação disponível em ${minutes} minutos"},sl:{redeem:"Redeem",claim:"Zahtevek",rakebackTitle:"Razpoložljiv Rakeback",loading:"Nalaganje",minutesCanClaim:"Naslednji zahtevek bo na voljo čez ${minutes} minut"},sr:{redeem:"Redeem",claim:"Zahtev",rakebackTitle:"Dostupan Rakeback",loading:"Učitavanje",minutesCanClaim:"Sledeći zahtev biće dostupan za ${minutes} minuta"}},p=(n,i)=>{const e=i;return t[e!==void 0&&r.includes(e)?e:a][n]},x=(n,i)=>{const e=i.lang;let o=t[e!==void 0&&r.includes(e)?e:a][n];return i?(Object.keys(i).forEach(s=>{o=o.replace(new RegExp("\\${"+s+"}","gm"),i[s])}),o):t[e!==void 0&&r.includes(e)?e:a][n]};exports.TRANSLATIONS=t;exports.translate=p;exports.translateWithParams=x;
|