@everymatrix/casino-header-controller-nd 1.91.0 → 1.91.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/CasinoHamburgerMenuNd-B4kTkzq4.js +1309 -0
- package/components/CasinoHamburgerMenuNd-NG0Wkhyj.cjs +1 -0
- package/components/CasinoHamburgerMenuNd-vzA9-Xpl.js +1333 -0
- package/components/{CasinoHeaderControllerNd-D1S0W4fx.js → CasinoHeaderControllerNd-BGDJAwSh.js} +1946 -1775
- package/components/CasinoHeaderControllerNd-EB1jas_a.cjs +18 -0
- package/components/{CasinoHeaderControllerNd-B95VpbsW.js → CasinoHeaderControllerNd-mJGz8Jns.js} +1988 -1814
- package/components/{PlayerAccountBalanceModalNd-CKolmBwj.cjs → PlayerAccountBalanceModalNd-4idoTwiv.cjs} +1 -1
- package/components/{PlayerAccountBalanceModalNd-Crk2vT3z.js → PlayerAccountBalanceModalNd-CB8DFx1V.js} +48 -48
- package/components/{PlayerAccountBalanceModalNd-CIeCaHJR.js → PlayerAccountBalanceModalNd-D3zrB_Ys.js} +67 -67
- package/components/{PlayerDeposit-BMxv0N7J.js → PlayerDeposit-BsQ9_Zdr.js} +26 -26
- package/components/{PlayerDeposit-qPyH6U6-.cjs → PlayerDeposit-D2Olm44F.cjs} +1 -1
- package/components/{PlayerDeposit-ikLnSVkR.js → PlayerDeposit-LCOGVyfA.js} +24 -24
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-B6eu-yN_.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-B59x5qq1.js → casino-hamburger-menu-nd-B7ekSRyd.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DFsZnbAv.js → casino-hamburger-menu-nd-CKG4HNPY.js} +1 -1
- package/lazy/{gamification-dropdown-B4UZyDme.cjs → gamification-dropdown-C6t9jutH.cjs} +1 -1
- package/lazy/{gamification-dropdown-hQLNUF30.js → gamification-dropdown-DuWrB9jz.js} +4 -4
- package/lazy/{gamification-dropdown-CjYBpyBc.js → gamification-dropdown-zgu4qS_E.js} +4 -4
- package/lazy/{player-account-balance-modal-nd-Av2-M8jH.js → player-account-balance-modal-nd-B-AAtHUF.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVUBazOl.js → player-account-balance-modal-nd-CO6qyL_v.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVSq7VyF.cjs → player-account-balance-modal-nd-CeamoHd7.cjs} +1 -1
- package/lazy/{player-deposit-Bi6yTqI3.cjs → player-deposit-COlqnT4D.cjs} +1 -1
- package/lazy/{player-deposit-DlTrAf96.js → player-deposit-CpygB3-6.js} +1 -1
- package/lazy/{player-deposit-B_pDyfA5.js → player-deposit-Ke_ctwnE.js} +1 -1
- package/package.json +1 -1
- package/stencil/{gamification-dropdown-C9FgzPvL.js → gamification-dropdown-CpFgbTUl.js} +2 -2
- package/stencil/{gamification-dropdown-WlLyuHae.cjs → gamification-dropdown-Cr2kPnsq.cjs} +1 -1
- package/stencil/{gamification-dropdown-EVPWnCPT.js → gamification-dropdown-DubzqYbr.js} +2 -2
- package/stencil/{gamification-dropdown-f0760153-Dhlj2VCc.js → gamification-dropdown-f0760153-DVkm_iE5.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-BpUjgzyS.js → gamification-dropdown-f0760153-Df-MBx5p.js} +1 -1
- package/stencil/{gamification-dropdown-f0760153-Btqr9CPN.cjs → gamification-dropdown-f0760153-Dk3vts7h.cjs} +1 -1
- package/stencil/{gamification-dropdown_4-DIbE7dfM.js → gamification-dropdown_4-BRhAYGhe.js} +5 -5
- package/stencil/{gamification-dropdown_4-NMtg229A.cjs → gamification-dropdown_4-BZLegCAw.cjs} +2 -2
- package/stencil/{gamification-dropdown_4-DPaXNZs3.js → gamification-dropdown_4-BgFIzYfP.js} +5 -5
- package/stencil/{player-elevate-card-BK2kB9le.js → player-elevate-card-BSTxVFKO.js} +7 -7
- package/stencil/{player-elevate-card-VPKkZ49g.js → player-elevate-card-Dd73AdBu.js} +7 -7
- package/stencil/{player-elevate-card-Cs1e02e3.cjs → player-elevate-card-HUcnnFYK.cjs} +2 -2
- package/stencil/{player-elevate-card-items-b4571def-sxMJw4IF.js → player-elevate-card-items-b4571def-B_cmKIfg.js} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-D1oeMYOK.cjs → player-elevate-card-items-b4571def-DucwWCcf.cjs} +1 -1
- package/stencil/{player-elevate-card-items-b4571def-C1atT9-_.js → player-elevate-card-items-b4571def-hD5lsXtn.js} +1 -1
- package/stencil/{player-elevate-pointcard-BwiGI-jC.js → player-elevate-pointcard-BpGZYSBk.js} +4 -4
- package/stencil/{player-elevate-pointcard-BBZATcYN.js → player-elevate-pointcard-ChjXTcqF.js} +4 -4
- package/stencil/{player-elevate-pointcard-DPIIh-O1.cjs → player-elevate-pointcard-DJz059f5.cjs} +1 -1
- package/stencil/{player-rakeback-card-B3BIqeoE.js → player-rakeback-card-B3naugNI.js} +2 -2
- package/stencil/{player-rakeback-card-DGDbxSEA.cjs → player-rakeback-card-CJboSvPH.cjs} +1 -1
- package/stencil/{player-rakeback-card-DHSiyelC.js → player-rakeback-card-Dj160Yr7.js} +2 -2
- package/components/CasinoHamburgerMenuNd-BWo6pPAT.cjs +0 -1
- package/components/CasinoHamburgerMenuNd-BhNXQcMS.js +0 -1263
- package/components/CasinoHamburgerMenuNd-DuY3AlRJ.js +0 -1239
- package/components/CasinoHeaderControllerNd-CDENLWE2.cjs +0 -18
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as Y, $ as J, S as Z, i as K, s as $, f as y, b as ee, A as I, d as S, B as L, X as P, h as T, u as h, j as M, w as E, E as C, r as u, k as te, l as ie, J as se, o as ae, v as re, D as k, z as ne, M as F, R as oe, T as le, U as ce, V as ue } from "./CasinoHeaderControllerNd-BGDJAwSh.js";
|
|
2
|
+
function W(s, e) {
|
|
3
|
+
Y(s, e);
|
|
4
4
|
}
|
|
5
5
|
function de(s) {
|
|
6
|
-
|
|
6
|
+
J.set(s);
|
|
7
7
|
}
|
|
8
8
|
const H = {
|
|
9
9
|
en: {
|
|
@@ -81,7 +81,7 @@ function ge(s) {
|
|
|
81
81
|
let e, i, n;
|
|
82
82
|
return {
|
|
83
83
|
c() {
|
|
84
|
-
e = M("div"), i = M("iframe"),
|
|
84
|
+
e = M("div"), i = M("iframe"), F(i.src, n = /*iframeUrl*/
|
|
85
85
|
s[3]) || u(i, "src", n), u(i, "title", "Deposit Iframe"), u(e, "class", "DepositIframeWrapper");
|
|
86
86
|
},
|
|
87
87
|
m(a, l) {
|
|
@@ -89,7 +89,7 @@ function ge(s) {
|
|
|
89
89
|
},
|
|
90
90
|
p(a, l) {
|
|
91
91
|
l & /*iframeUrl*/
|
|
92
|
-
8 && !
|
|
92
|
+
8 && !F(i.src, n = /*iframeUrl*/
|
|
93
93
|
a[3]) && u(i, "src", n);
|
|
94
94
|
},
|
|
95
95
|
d(a) {
|
|
@@ -160,8 +160,8 @@ function fe(s) {
|
|
|
160
160
|
r[2]
|
|
161
161
|
);
|
|
162
162
|
},
|
|
163
|
-
i:
|
|
164
|
-
o:
|
|
163
|
+
i: I,
|
|
164
|
+
o: I,
|
|
165
165
|
d(r) {
|
|
166
166
|
r && S(e), c && c.d(), o.d(), s[19](null);
|
|
167
167
|
}
|
|
@@ -170,29 +170,29 @@ function fe(s) {
|
|
|
170
170
|
function we(s, e, i) {
|
|
171
171
|
let n, a;
|
|
172
172
|
te(s, ie, (t) => i(4, a = t));
|
|
173
|
-
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = se(G) !== "PC", B = !0,
|
|
173
|
+
let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: d = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = se(G) !== "PC", B = !0, U, N, x = 0, j = "";
|
|
174
174
|
const O = () => {
|
|
175
175
|
fetch(d).then((D) => D.json()).then((D) => {
|
|
176
176
|
Object.keys(D).forEach((v) => {
|
|
177
|
-
|
|
177
|
+
W(v, D[v]);
|
|
178
178
|
});
|
|
179
179
|
}).catch((D) => {
|
|
180
180
|
console.log(D);
|
|
181
181
|
});
|
|
182
182
|
};
|
|
183
183
|
Object.keys(H).forEach((t) => {
|
|
184
|
-
|
|
184
|
+
W(t, H[t]);
|
|
185
185
|
});
|
|
186
|
-
const
|
|
186
|
+
const z = () => {
|
|
187
187
|
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
-
},
|
|
188
|
+
}, A = (t) => {
|
|
189
189
|
if (t.data) {
|
|
190
190
|
switch (t.data.type) {
|
|
191
191
|
case "ProfileDetailsData":
|
|
192
192
|
i(7, b = t.data.profileDetails.currency);
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
|
-
switch (t.data["MMFE:setQuickDepositHeight"] && i(2,
|
|
195
|
+
switch (t.data["MMFE:setQuickDepositHeight"] && i(2, U = t.data["MMFE:setQuickDepositHeight"].toString() + "px"), t.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), t.data.redirect) {
|
|
196
196
|
case "mm-hc-casino":
|
|
197
197
|
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
198
|
break;
|
|
@@ -242,7 +242,7 @@ function we(s, e, i) {
|
|
|
242
242
|
};
|
|
243
243
|
fetch(t.href, D).then((v) => v.json()).then(
|
|
244
244
|
(v) => {
|
|
245
|
-
i(1, B = !1), i(3,
|
|
245
|
+
i(1, B = !1), i(3, j = v.CashierUrl);
|
|
246
246
|
},
|
|
247
247
|
(v) => {
|
|
248
248
|
console.error(v);
|
|
@@ -251,11 +251,11 @@ function we(s, e, i) {
|
|
|
251
251
|
}, Q = () => {
|
|
252
252
|
de(p);
|
|
253
253
|
};
|
|
254
|
-
ae(() => (window.addEventListener("message",
|
|
255
|
-
window.removeEventListener("message",
|
|
254
|
+
ae(() => (window.addEventListener("message", A, !1), () => {
|
|
255
|
+
window.removeEventListener("message", A);
|
|
256
256
|
}));
|
|
257
|
-
const
|
|
258
|
-
function
|
|
257
|
+
const V = () => z();
|
|
258
|
+
function X(t) {
|
|
259
259
|
ne[t ? "unshift" : "push"](() => {
|
|
260
260
|
g = t, i(0, g);
|
|
261
261
|
});
|
|
@@ -274,11 +274,11 @@ function we(s, e, i) {
|
|
|
274
274
|
}, [
|
|
275
275
|
g,
|
|
276
276
|
B,
|
|
277
|
-
I,
|
|
278
277
|
U,
|
|
278
|
+
j,
|
|
279
279
|
a,
|
|
280
280
|
R,
|
|
281
|
-
|
|
281
|
+
z,
|
|
282
282
|
b,
|
|
283
283
|
l,
|
|
284
284
|
m,
|
|
@@ -290,13 +290,13 @@ function we(s, e, i) {
|
|
|
290
290
|
d,
|
|
291
291
|
_,
|
|
292
292
|
f,
|
|
293
|
-
|
|
294
|
-
|
|
293
|
+
V,
|
|
294
|
+
X
|
|
295
295
|
];
|
|
296
296
|
}
|
|
297
297
|
class ye extends Z {
|
|
298
298
|
constructor(e) {
|
|
299
|
-
super(),
|
|
299
|
+
super(), K(
|
|
300
300
|
this,
|
|
301
301
|
e,
|
|
302
302
|
we,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderControllerNd-EB1jas_a.cjs")).then(e=>e.CasinoHeaderControllerNd_ce).then(({default:e})=>{!customElements.get("casino-header-controller-nd")&&customElements.define("casino-header-controller-nd",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderControllerNd-mJGz8Jns.js").then((e) => e.X).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-header-controller-nd") && customElements.define("casino-header-controller-nd", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-B6eu-yN_.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHamburgerMenuNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHamburgerMenuNd-NG0Wkhyj.cjs")).then(({default:t})=>{!customElements.get("casino-hamburger-menu-nd")&&customElements.define("casino-hamburger-menu-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-vzA9-Xpl.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-hamburger-menu-nd") && customElements.define("casino-hamburger-menu-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHamburgerMenuNd-B4kTkzq4.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-hamburger-menu-nd") && customElements.define("casino-hamburger-menu-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -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 N=(e,t,s)=>new Promise((n,r)=>{var l=a=>{try{i(s.next(a))}catch(c){r(c)}},o=a=>{try{i(s.throw(a))}catch(c){r(c)}},i=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,o);i((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 o=i=>(B.set(r,i),i[n]);switch(r){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("../stencil/gamification-dropdown_4-NMtg229A.cjs")).then(o,b);case"player-elevate-card":return Promise.resolve().then(()=>require("../stencil/player-elevate-card-Cs1e02e3.cjs")).then(o,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("../stencil/player-elevate-pointcard-DPIIh-O1.cjs")).then(o,b);case"player-rakeback-card":return Promise.resolve().then(()=>require("../stencil/player-rakeback-card-DGDbxSEA.cjs")).then(o,b)}}return import(`./${r}.entry.js`).then(o=>(B.set(r,o),o[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:{}},g={$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,g.$flags$&4?Y(D):g.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)&&g.raf(D)},Y=e=>he().then(e),Je=Ye(ge),Ke=e=>{const t=new URL(e,g.$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,o=!1,i=!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"&&((o=typeof e!="function"&&!J(n))&&(n=String(n)),o&&i?a[a.length-1].$text$+=n:a.push(o?U(null,n):n),i=o)};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,ot);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,ot={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(it)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),it=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=g.ce(t,s);return e.dispatchEvent(n),n},ie=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 o=ie.get(e),i;if(o||ie.set(e,o=new Set),!o.has(r)){{i=m.createElement("style"),i.innerHTML=l;const a=(n=g.$nonce$)!=null?n:pe(m);a!=null&&i.setAttribute("nonce",a),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ve),o&&o.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 o=ne(e,t),i=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(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ne(_,i)?t=i.slice(2):t=i[2]+t.slice(3),s||n){const a=t.endsWith(ke);t=t.replace(ht,""),s&&g.rel(e,t,s,a),n&&g.ael(e,t,n,a)}}else{const a=J(n);if((o||a&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const c=n==null?"":n;t==="list"?o=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!o||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 o of fe(Object.keys(r)))o in l||$e(n,o,r[o],void 0,s,t.$flags$);for(const o of fe(Object.keys(l)))$e(n,o,r[o],l[o],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 o=0,i,a,c;if(C||(Q=!0,l.$tag$==="slot"&&(x&&n.classList.add(x+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)i=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)i=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),i=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)&&i["s-si"]!==x&&i.classList.add(i["s-si"]=x),l.$children$)for(o=0;o<l.$children$.length;++o)a=H(e,l,o,i),a&&i.appendChild(a);l.$tag$==="svg"?S=!1:i.tagName==="foreignObject"&&(S=!0)}return i["s-hn"]=z,l.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=W,i["s-sn"]=l.$name$||"",i["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)),i},A=(e,t)=>{g.$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)}g.$flags$&=-2},Te=(e,t,s,n,r,l)=>{let o=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(o.shadowRoot&&o.tagName===z&&(o=o.shadowRoot);r<=l;++r)n[r]&&(i=H(null,s,r,e),i&&(n[r].$elm$=i,L(o,i,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,o=0,i=0,a=0,c=t.length-1,$=t[0],d=t[c],f=n.length-1,u=n[0],h=n[f],p,y;for(;l<=c&&o<=f;)if($==null)$=t[++l];else if(d==null)d=t[--c];else if(u==null)u=n[++o];else if(h==null)h=n[--f];else if(R($,u,r))P($,u,r),$=t[++l],u=n[++o];else if(R(d,h,r))P(d,h,r),d=t[--c],h=n[--f];else if(R($,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(R(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[++o];else{for(i=-1,a=l;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?p=H(t&&t[o],s,i,e):(P(y,u,r),t[i]=void 0,p=y.$elm$),u=n[++o]):(p=H(t&&t[o],s,o,e),u=n[++o]),p&&L(we($.$elm$),p,Z($.$elm$))}l>c?Te(e,n[f+1]==null?null:n[f+1].$elm$,s,n,o,f):o>f&&Le(t,l,c)},R=(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$,o=t.$tag$,i=t.$text$;let a;i===null?(S=o==="svg"?!0:o==="foreignObject"?!1:S,o==="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&&o==="svg"&&(S=!1)):(a=n["s-cr"])?a.parentNode.textContent=i:e.$text$!==i&&(n.data=i)},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 o=E.find(i=>i.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,o?(o.$nodeToRelocate$["s-sh"]=r["s-hn"],o.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],E.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&E.map(i=>{de(i.$nodeToRelocate$,t["s-sn"])&&(o=E.find(a=>a.$nodeToRelocate$===t),o&&!i.$slotRefNode$&&(i.$slotRefNode$=o.$slotRefNode$))})}else E.some(o=>o.$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,o;const i=e.$hostElement$,a=e.$cmpMeta$,c=e.$vnode$||U(null,null),$=at(t)?t:K(null,null,t);if(z=i.tagName,a.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},a.$attrsToReflect$.map(([d,f])=>$.$attrs$[f]=i[d])),s&&$.$attrs$)for(const d of Object.keys($.$attrs$))i.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=i[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=i.shadowRoot||i,x=i["s-sc"],C=(a.$flags$&1)!==0,W=i["s-cr"],q=!1,P(c,$,s);{if(g.$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 p=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"]){p=v;break}}y=y.previousSibling}}(!p&&h!==f.parentNode||f.nextSibling!==p)&&f!==p&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(h,f,p),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"]=(o=f.hidden)!=null?o:!1),f.hidden=!0)}}q&&xe($.$elm$),g.$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(([o,i])=>O(r,o,i)),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)=>N(exports,null,function*(){var n;const r=e.$hostElement$,l=T("update",e.$cmpMeta$.$tagName$),o=r["s-rc"];s&&ut(e);const i=T("render",e.$cmpMeta$.$tagName$);kt(e,t,r,s),o&&(o.map(a=>a()),r["s-rc"]=void 0),i(),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$,o=r.$instanceValues$.get(t),i=r.$flags$,a=r.$lazyInstance$;s=$t(s,n.$members$[t][0]);const c=Number.isNaN(o)&&Number.isNaN(s),$=s!==o&&!c;if((!(i&8)||o===void 0)&&$&&(r.$instanceValues$.set(t,s),a)){if(n.$watchers$&&i&128){const d=n.$watchers$[t];d&&d.map(f=>{try{a[f](s,o,t)}catch(u){b(u,l)}})}(i&18)===2&&V(r,!1)}},Ne=(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 o=Object.entries((n=t.$members$)!=null?n:{});if(o.map(([i,[a]])=>{(a&31||s&2&&a&32)&&Object.defineProperty(l,i,{get(){return Tt(this,i)},set(c){Lt(this,i,c,t)},configurable:!0,enumerable:!0})}),s&1){const i=new Map;l.attributeChangedCallback=function(a,c,$){g.jmp(()=>{var d;const f=i.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 p=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[a];y==null||y.forEach(v=>{p[v]!=null&&p[v].call(p,$,c,a)})}return}}this[f]=$===null&&typeof this[f]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...o.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const d=c[1]||a;return i.set(d,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,d])),d})]))}}return e},wt=(e,t,s,n)=>N(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,Ne(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$,o=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(o):o()}),xt=e=>{},Pt=e=>{if(!(g.$flags$&1)){const t=w(e),s=t.$cmpMeta$,n=T("connectedCallback",s.$tagName$);if(t.$flags$&1)Re(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 o=e[r];delete e[r],e[r]=o}}),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=>N(exports,null,function*(){if(!(g.$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||[],o=_.customElements,i=m.head,a=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let d,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(p=>{var y;const v={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};v.$flags$&4&&(u=!0),v.$members$=p[2],v.$listeners$=p[3],v.$attrsToReflect$=[],v.$watchers$=(y=p[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,Re(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),f?$.push(this):g.jmp(()=>Pt(this))}disconnectedCallback(){g.jmp(()=>At(this))}componentOnReady(){return w(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!l.includes(j)&&!o.get(j)&&(r.push(j),o.define(j,Ne(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=g.$nonce$)!=null?s:pe(m);h!=null&&c.setAttribute("nonce",h),i.insertBefore(c,a?a.nextSibling:i.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):g.jmp(()=>d=setTimeout(Oe,30)),n()},jt=(e,t)=>t,Re=(e,t,s,n)=>{s&&s.map(([r,l,o])=>{const i=Rt(e,r),a=Nt(t,o),c=It(r);g.ael(i,l,a,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(i,l,a,c))})},Nt=(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)}},Rt=(e,t)=>t&8?_:e,It=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,Ut=e=>g.$nonce$=e;exports.Fragment=jt;exports.bootstrapLazy=Ot;exports.createEvent=ct;exports.getAssetPath=Ke;exports.getElement=me;exports.h=K;exports.promiseResolve=he;exports.registerInstance=Fe;exports.setNonce=Ut;
|
|
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 N=(e,t,s)=>new Promise((n,r)=>{var l=a=>{try{i(s.next(a))}catch(c){r(c)}},o=a=>{try{i(s.throw(a))}catch(c){r(c)}},i=a=>a.done?n(a.value):Promise.resolve(a.value).then(l,o);i((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 o=i=>(B.set(r,i),i[n]);switch(r){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("../stencil/gamification-dropdown_4-BZLegCAw.cjs")).then(o,b);case"player-elevate-card":return Promise.resolve().then(()=>require("../stencil/player-elevate-card-HUcnnFYK.cjs")).then(o,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("../stencil/player-elevate-pointcard-DJz059f5.cjs")).then(o,b);case"player-rakeback-card":return Promise.resolve().then(()=>require("../stencil/player-rakeback-card-CJboSvPH.cjs")).then(o,b)}}return import(`./${r}.entry.js`).then(o=>(B.set(r,o),o[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:{}},g={$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,g.$flags$&4?Y(D):g.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)&&g.raf(D)},Y=e=>he().then(e),Je=Ye(ge),Ke=e=>{const t=new URL(e,g.$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,o=!1,i=!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"&&((o=typeof e!="function"&&!J(n))&&(n=String(n)),o&&i?a[a.length-1].$text$+=n:a.push(o?U(null,n):n),i=o)};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,ot);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,ot={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(it)},oe=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),it=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=g.ce(t,s);return e.dispatchEvent(n),n},ie=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 o=ie.get(e),i;if(o||ie.set(e,o=new Set),!o.has(r)){{i=m.createElement("style"),i.innerHTML=l;const a=(n=g.$nonce$)!=null?n:pe(m);a!=null&&i.setAttribute("nonce",a),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=ve),o&&o.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 o=ne(e,t),i=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(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ne(_,i)?t=i.slice(2):t=i[2]+t.slice(3),s||n){const a=t.endsWith(ke);t=t.replace(ht,""),s&&g.rel(e,t,s,a),n&&g.ael(e,t,n,a)}}else{const a=J(n);if((o||a&&n!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=n;else{const c=n==null?"":n;t==="list"?o=!1:(s==null||e[t]!=c)&&(e[t]=c)}}catch(c){}n==null||n===!1?(n!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!o||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 o of fe(Object.keys(r)))o in l||$e(n,o,r[o],void 0,s,t.$flags$);for(const o of fe(Object.keys(l)))$e(n,o,r[o],l[o],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 o=0,i,a,c;if(C||(Q=!0,l.$tag$==="slot"&&(x&&n.classList.add(x+"-s"),l.$flags$|=l.$children$?2:1)),l.$text$!==null)i=l.$elm$=m.createTextNode(l.$text$);else if(l.$flags$&1)i=l.$elm$=m.createTextNode("");else{if(S||(S=l.$tag$==="svg"),i=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)&&i["s-si"]!==x&&i.classList.add(i["s-si"]=x),l.$children$)for(o=0;o<l.$children$.length;++o)a=H(e,l,o,i),a&&i.appendChild(a);l.$tag$==="svg"?S=!1:i.tagName==="foreignObject"&&(S=!0)}return i["s-hn"]=z,l.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=W,i["s-sn"]=l.$name$||"",i["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)),i},A=(e,t)=>{g.$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)}g.$flags$&=-2},Te=(e,t,s,n,r,l)=>{let o=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(o.shadowRoot&&o.tagName===z&&(o=o.shadowRoot);r<=l;++r)n[r]&&(i=H(null,s,r,e),i&&(n[r].$elm$=i,L(o,i,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,o=0,i=0,a=0,c=t.length-1,$=t[0],d=t[c],f=n.length-1,u=n[0],h=n[f],p,y;for(;l<=c&&o<=f;)if($==null)$=t[++l];else if(d==null)d=t[--c];else if(u==null)u=n[++o];else if(h==null)h=n[--f];else if(R($,u,r))P($,u,r),$=t[++l],u=n[++o];else if(R(d,h,r))P(d,h,r),d=t[--c],h=n[--f];else if(R($,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(R(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[++o];else{for(i=-1,a=l;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(y=t[i],y.$tag$!==u.$tag$?p=H(t&&t[o],s,i,e):(P(y,u,r),t[i]=void 0,p=y.$elm$),u=n[++o]):(p=H(t&&t[o],s,o,e),u=n[++o]),p&&L(we($.$elm$),p,Z($.$elm$))}l>c?Te(e,n[f+1]==null?null:n[f+1].$elm$,s,n,o,f):o>f&&Le(t,l,c)},R=(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$,o=t.$tag$,i=t.$text$;let a;i===null?(S=o==="svg"?!0:o==="foreignObject"?!1:S,o==="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&&o==="svg"&&(S=!1)):(a=n["s-cr"])?a.parentNode.textContent=i:e.$text$!==i&&(n.data=i)},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 o=E.find(i=>i.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,o?(o.$nodeToRelocate$["s-sh"]=r["s-hn"],o.$slotRefNode$=r):(t["s-sh"]=r["s-hn"],E.push({$slotRefNode$:r,$nodeToRelocate$:t})),t["s-sr"]&&E.map(i=>{de(i.$nodeToRelocate$,t["s-sn"])&&(o=E.find(a=>a.$nodeToRelocate$===t),o&&!i.$slotRefNode$&&(i.$slotRefNode$=o.$slotRefNode$))})}else E.some(o=>o.$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,o;const i=e.$hostElement$,a=e.$cmpMeta$,c=e.$vnode$||U(null,null),$=at(t)?t:K(null,null,t);if(z=i.tagName,a.$attrsToReflect$&&($.$attrs$=$.$attrs$||{},a.$attrsToReflect$.map(([d,f])=>$.$attrs$[f]=i[d])),s&&$.$attrs$)for(const d of Object.keys($.$attrs$))i.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&($.$attrs$[d]=i[d]);$.$tag$=null,$.$flags$|=4,e.$vnode$=$,$.$elm$=c.$elm$=i.shadowRoot||i,x=i["s-sc"],C=(a.$flags$&1)!==0,W=i["s-cr"],q=!1,P(c,$,s);{if(g.$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 p=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"]){p=v;break}}y=y.previousSibling}}(!p&&h!==f.parentNode||f.nextSibling!==p)&&f!==p&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(h,f,p),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"]=(o=f.hidden)!=null?o:!1),f.hidden=!0)}}q&&xe($.$elm$),g.$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(([o,i])=>O(r,o,i)),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)=>N(exports,null,function*(){var n;const r=e.$hostElement$,l=T("update",e.$cmpMeta$.$tagName$),o=r["s-rc"];s&&ut(e);const i=T("render",e.$cmpMeta$.$tagName$);kt(e,t,r,s),o&&(o.map(a=>a()),r["s-rc"]=void 0),i(),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$,o=r.$instanceValues$.get(t),i=r.$flags$,a=r.$lazyInstance$;s=$t(s,n.$members$[t][0]);const c=Number.isNaN(o)&&Number.isNaN(s),$=s!==o&&!c;if((!(i&8)||o===void 0)&&$&&(r.$instanceValues$.set(t,s),a)){if(n.$watchers$&&i&128){const d=n.$watchers$[t];d&&d.map(f=>{try{a[f](s,o,t)}catch(u){b(u,l)}})}(i&18)===2&&V(r,!1)}},Ne=(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 o=Object.entries((n=t.$members$)!=null?n:{});if(o.map(([i,[a]])=>{(a&31||s&2&&a&32)&&Object.defineProperty(l,i,{get(){return Tt(this,i)},set(c){Lt(this,i,c,t)},configurable:!0,enumerable:!0})}),s&1){const i=new Map;l.attributeChangedCallback=function(a,c,$){g.jmp(()=>{var d;const f=i.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 p=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[a];y==null||y.forEach(v=>{p[v]!=null&&p[v].call(p,$,c,a)})}return}}this[f]=$===null&&typeof this[f]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...o.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const d=c[1]||a;return i.set(d,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,d])),d})]))}}return e},wt=(e,t,s,n)=>N(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,Ne(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$,o=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(o):o()}),xt=e=>{},Pt=e=>{if(!(g.$flags$&1)){const t=w(e),s=t.$cmpMeta$,n=T("connectedCallback",s.$tagName$);if(t.$flags$&1)Re(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 o=e[r];delete e[r],e[r]=o}}),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=>N(exports,null,function*(){if(!(g.$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||[],o=_.customElements,i=m.head,a=i.querySelector("meta[charset]"),c=m.createElement("style"),$=[];let d,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(p=>{var y;const v={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};v.$flags$&4&&(u=!0),v.$members$=p[2],v.$listeners$=p[3],v.$attrsToReflect$=[],v.$watchers$=(y=p[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,Re(this,k,v.$listeners$)),d&&(clearTimeout(d),d=null),f?$.push(this):g.jmp(()=>Pt(this))}disconnectedCallback(){g.jmp(()=>At(this))}componentOnReady(){return w(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!l.includes(j)&&!o.get(j)&&(r.push(j),o.define(j,Ne(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=g.$nonce$)!=null?s:pe(m);h!=null&&c.setAttribute("nonce",h),i.insertBefore(c,a?a.nextSibling:i.firstChild)}f=!1,$.length?$.map(h=>h.connectedCallback()):g.jmp(()=>d=setTimeout(Oe,30)),n()},jt=(e,t)=>t,Re=(e,t,s,n)=>{s&&s.map(([r,l,o])=>{const i=Rt(e,r),a=Nt(t,o),c=It(r);g.ael(i,l,a,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(i,l,a,c))})},Nt=(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)}},Rt=(e,t)=>t&8?_:e,It=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0,Ut=e=>g.$nonce$=e;exports.Fragment=jt;exports.bootstrapLazy=Ot;exports.createEvent=ct;exports.getAssetPath=Ke;exports.getElement=me;exports.h=K;exports.promiseResolve=he;exports.registerInstance=Fe;exports.setNonce=Ut;
|
|
@@ -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
|
-
"../stencil/gamification-dropdown_4-
|
|
29
|
+
"../stencil/gamification-dropdown_4-BgFIzYfP.js"
|
|
30
30
|
).then(a, b);
|
|
31
31
|
case "player-elevate-card":
|
|
32
32
|
return import(
|
|
33
33
|
/* webpackMode: "lazy" */
|
|
34
|
-
"../stencil/player-elevate-card-
|
|
34
|
+
"../stencil/player-elevate-card-BSTxVFKO.js"
|
|
35
35
|
).then(a, b);
|
|
36
36
|
case "player-elevate-pointcard":
|
|
37
37
|
return import(
|
|
38
38
|
/* webpackMode: "lazy" */
|
|
39
|
-
"../stencil/player-elevate-pointcard-
|
|
39
|
+
"../stencil/player-elevate-pointcard-BpGZYSBk.js"
|
|
40
40
|
).then(a, b);
|
|
41
41
|
case "player-rakeback-card":
|
|
42
42
|
return import(
|
|
43
43
|
/* webpackMode: "lazy" */
|
|
44
|
-
"../stencil/player-rakeback-card-
|
|
44
|
+
"../stencil/player-rakeback-card-B3naugNI.js"
|
|
45
45
|
).then(a, b);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -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
|
-
"../stencil/gamification-dropdown_4-
|
|
56
|
+
"../stencil/gamification-dropdown_4-BRhAYGhe.js"
|
|
57
57
|
).then(o, b);
|
|
58
58
|
case "player-elevate-card":
|
|
59
59
|
return import(
|
|
60
60
|
/* webpackMode: "lazy" */
|
|
61
|
-
"../stencil/player-elevate-card-
|
|
61
|
+
"../stencil/player-elevate-card-Dd73AdBu.js"
|
|
62
62
|
).then(o, b);
|
|
63
63
|
case "player-elevate-pointcard":
|
|
64
64
|
return import(
|
|
65
65
|
/* webpackMode: "lazy" */
|
|
66
|
-
"../stencil/player-elevate-pointcard-
|
|
66
|
+
"../stencil/player-elevate-pointcard-ChjXTcqF.js"
|
|
67
67
|
).then(o, b);
|
|
68
68
|
case "player-rakeback-card":
|
|
69
69
|
return import(
|
|
70
70
|
/* webpackMode: "lazy" */
|
|
71
|
-
"../stencil/player-rakeback-card-
|
|
71
|
+
"../stencil/player-rakeback-card-Dj160Yr7.js"
|
|
72
72
|
).then(o, b);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-CB8DFx1V.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-balance-modal-nd") && customElements.define("player-account-balance-modal-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountBalanceModalNd-D3zrB_Ys.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-balance-modal-nd") && customElements.define("player-account-balance-modal-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountBalanceModalNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountBalanceModalNd-4idoTwiv.cjs")).then(({default:t})=>{!customElements.get("player-account-balance-modal-nd")&&customElements.define("player-account-balance-modal-nd",t.element)})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerDeposit-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerDeposit-D2Olm44F.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerDeposit-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerDeposit-LCOGVyfA.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerDeposit-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerDeposit-BsQ9_Zdr.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as a, p as l } from "../lazy/gamification-dropdown-
|
|
2
|
-
import { s as p } from "../lazy/gamification-dropdown-
|
|
1
|
+
import { b as a, p as l } from "../lazy/gamification-dropdown-DuWrB9jz.js";
|
|
2
|
+
import { s as p } from "../lazy/gamification-dropdown-DuWrB9jz.js";
|
|
3
3
|
import { a as t } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
4
4
|
var r = () => {
|
|
5
5
|
const e = import.meta.url, n = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var g=(n,a,t)=>new Promise((p,s)=>{var d=e=>{try{l(t.next(e))}catch(r){s(r)}},c=e=>{try{l(t.throw(e))}catch(r){s(r)}},l=e=>e.done?p(e.value):Promise.resolve(e.value).then(d,c);l((t=t.apply(n,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../lazy/gamification-dropdown-
|
|
1
|
+
"use strict";var g=(n,a,t)=>new Promise((p,s)=>{var d=e=>{try{l(t.next(e))}catch(r){s(r)}},c=e=>{try{l(t.throw(e))}catch(r){s(r)}},l=e=>e.done?p(e.value):Promise.resolve(e.value).then(d,c);l((t=t.apply(n,a)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../lazy/gamification-dropdown-C6t9jutH.cjs"),y=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var i=typeof document!="undefined"?document.currentScript:null,u=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:i&&i.tagName.toUpperCase()==="SCRIPT"&&i.src||new URL("stencil/gamification-dropdown-Cr2kPnsq.cjs",document.baseURI).href,a={};return n!==""&&(a.resourcesUrl=new URL(".",n).href),o.promiseResolve(a)};u().then(n=>g(exports,null,function*(){return yield y.globalScripts$1(),o.bootstrapLazy([["gamification-dropdown_4",[[1,"gamification-dropdown",{endpoint:[513],language:[513],session:[513],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],isOpen:[32],isLoading:[32],loyaltyPoints:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[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,"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,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]],["player-elevate-card",[[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-pointcard",[[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"]}]]],["player-rakeback-card",[[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"]}]]]],n)}));exports.setNonce=o.setNonce;
|
|
@@ -14,8 +14,8 @@ var o = (n, a, l) => new Promise((s, i) => {
|
|
|
14
14
|
}, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(g, p);
|
|
15
15
|
t((l = l.apply(n, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as d, p as y } from "../lazy/gamification-dropdown-
|
|
18
|
-
import { s as b } from "../lazy/gamification-dropdown-
|
|
17
|
+
import { b as d, p as y } from "../lazy/gamification-dropdown-zgu4qS_E.js";
|
|
18
|
+
import { s as b } from "../lazy/gamification-dropdown-zgu4qS_E.js";
|
|
19
19
|
import { a as c } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
20
20
|
var u = () => {
|
|
21
21
|
const n = import.meta.url, a = {};
|
|
@@ -14,7 +14,7 @@ var f = (e, t, i) => new Promise((n, s) => {
|
|
|
14
14
|
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(o, l);
|
|
15
15
|
a((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as w, h as c, g as m } from "../lazy/gamification-dropdown-
|
|
17
|
+
import { r as w, h as c, g as m } from "../lazy/gamification-dropdown-zgu4qS_E.js";
|
|
18
18
|
const S = "en";
|
|
19
19
|
let d = {
|
|
20
20
|
en: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var u=(e,t,i)=>new Promise((n,s)=>{var o=c=>{try{a(i.next(c))}catch(p){s(p)}},l=c=>{try{a(i.throw(c))}catch(p){s(p)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,l);a((i=i.apply(e,t)).next())});const r=require("../lazy/gamification-dropdown-
|
|
1
|
+
"use strict";var u=(e,t,i)=>new Promise((n,s)=>{var o=c=>{try{a(i.next(c))}catch(p){s(p)}},l=c=>{try{a(i.throw(c))}catch(p){s(p)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,l);a((i=i.apply(e,t)).next())});const r=require("../lazy/gamification-dropdown-C6t9jutH.cjs"),S="en";let d={en:{gamificationNoPoints:"No points"},de:{gamificationNoPoints:"No points"},ro:{gamificationNoPoints:"No points"},fr:{gamificationNoPoints:"No points"},ar:{gamificationNoPoints:"No points"},hr:{gamificationNoPoints:"No points"}};const y=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(n=>{d[n]||(d[n]={});for(let s in i[n])d[n][s]=i[n][s]}),t(!0)})}),v=(e,t)=>{const i=t;return d[i!==void 0&&i in d?i:S][e]},h="__WIDGET_GLOBAL_STYLE_CACHE__";function f(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function g(e,t){if(!e||!t)return;const i=new URL(t);fetch(i.href).then(n=>n.text()).then(n=>{const s=document.createElement("style");s.innerHTML=n,e&&e.appendChild(s)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function w(e,t,i,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return i=C(e,t),i;window[h]||(window[h]={}),i=b(e,t);const o=i.unsubscribe.bind(i),l=()=>{if(window[h][t]){const a=window[h][t];a.refCount>1?a.refCount=a.refCount-1:delete window[h][t]}o()};return i.unsubscribe=l,i}function C(e,t){const i=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(i.innerHTML=n,e.appendChild(i))})}function b(e,t){return window.emMessageBus.subscribe(t,i=>{if(!e)return;const n=e.getRootNode(),s=window[h];let o=s[t]&&s[t].sheet;o?s[t].refCount=s[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(i),s[t]={sheet:o,refCount:1});const l=n.adoptedStyleSheets||[];l.includes(o)||(n.adoptedStyleSheets=[...l,o])})}const L=":host{display:block}.GamificationDropdownContainer{position:relative}.GamificationDropdownContainer .GamificationDropdown{position:absolute;left:0;z-index:200;overflow:hidden;cursor:pointer}.GamificationDropdownButton{cursor:pointer;font-size:14px;height:20px;background-color:unset;color:var(--emw--color-typography, #FFFFFF);padding:0;border:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:flex;align-items:center;justify-content:center;line-height:0}.GamificationDropdownButton:hover{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton:hover svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen{color:var(--emw--color-primary, #52d004)}.GamificationDropdownButton.IsOpen svg{fill:var(--emw--color-primary, #52d004)}.GamificationDropdownButton .TriangleActive,.GamificationDropdownButton .TriangleInactive{display:block;transition:all 0.2s}.GamificationDropdownButton .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px);fill:var(--emw--color-primary, #52d004);margin-top:4px}.GamificationDropdownButton svg{fill:var(--emw--color-typography, #FFFFFF);margin-left:8px;width:16px}",D=L,m=class{constructor(e){r.registerInstance(this,e),this.messageHandler=t=>{t.data&&t.data.type==="UpdateGamificationXp"&&(this.loyaltyPoints=t.data.points)},this.navigateToGamification=()=>{window.postMessage({type:"NavigateToGamification"},window.location.href),this.isOpen=!1},this.handleOutsideClick=t=>{t.composedPath().includes(this.el)||(this.isOpen=!1,document.removeEventListener("click",this.handleOutsideClick))},this.handleDropdownClick=t=>{t.stopPropagation(),this.isOpen=!this.isOpen,this.isOpen?document.addEventListener("click",this.handleOutsideClick):document.removeEventListener("click",this.handleOutsideClick)},this.endpoint=void 0,this.language="en",this.session="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isOpen=!1,this.isLoading=!1,this.loyaltyPoints=void 0}handleNewTranslations(){this.isLoading=!0,y(this.translationUrl).then(()=>{this.isLoading=!1})}handleClientStylingChange(e,t){e!=t&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&g(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return u(this,null,function*(){if(this.translationUrl.length>2&&(yield y(this.translationUrl)),this.endpoint&&this.language)return this.fetchPointsData()})}componentDidLoad(){window.addEventListener("message",this.messageHandler),this.stylingContainer&&(window.emMessageBus!=null?w(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&g(this.stylingContainer,this.clientStylingUrl)))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),window.removeEventListener("message",this.messageHandler)}fetchPointsData(){let e=new URL(`${this.endpoint}/v1/elevate/playerInfo`);e.searchParams.append("language",this.language);const t=new Headers;t.append("X-SessionId",this.session);const i={method:"GET",headers:t};return new Promise((n,s)=>{this.isLoading=!0,fetch(e.href,i).then(o=>o.json()).then(o=>{var l,a;this.loyaltyPoints=(a=(l=o==null?void 0:o.data)===null||l===void 0?void 0:l.level)===null||a===void 0?void 0:a.loyaltyPoints,n(!0)}).catch(o=>{console.error(o),s(o)}).finally(()=>{this.isLoading=!1})})}render(){return this.isLoading?null:r.h("div",{ref:e=>this.stylingContainer=e,class:"GamificationDropdownContainer"},r.h("button",{class:`GamificationDropdownButton ${this.isOpen?"IsOpen":""}`,type:"button",onClick:e=>this.handleDropdownClick(e),title:typeof this.loyaltyPoints=="number"?String(this.loyaltyPoints):v("gamificationNoPoints",this.language)},typeof this.loyaltyPoints=="number"?`${this.loyaltyPoints} XP`:"...",r.h("span",{class:this.isOpen?"TriangleActive":"TriangleInactive"},r.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6.835",viewBox:"0 0 14 6.835"},r.h("path",{id:"arrow",d:"M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z",transform:"translate(-274.511 -441.088)"})))),this.isOpen&&r.h("div",{class:"GamificationDropdown",onClick:this.navigateToGamification},r.h("player-elevate-loyaltycard",{endpoint:this.endpoint,session:this.session,language:this.language,"client-styling-url":this.clientStylingUrl,"client-styling":this.clientStyling,"mb-source":this.mbSource})))}get el(){return r.getElement(this)}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};m.style=D;exports.GamificationDropdown=m;exports.setClientStyling=f;exports.setClientStylingURL=g;exports.setStreamStyling=w;
|
|
@@ -14,11 +14,11 @@ var E = (e, t, a) => new Promise((n, l) => {
|
|
|
14
14
|
}, o = (d) => d.done ? n(d.value) : Promise.resolve(d.value).then(r, s);
|
|
15
15
|
o((a = a.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { s as N, a as x, b } from "./gamification-dropdown-f0760153-
|
|
18
|
-
import { G as fe } from "./gamification-dropdown-f0760153-
|
|
19
|
-
import { r as m, h as i, g as T, c as U, a as I, F as W } from "../lazy/gamification-dropdown-
|
|
17
|
+
import { s as N, a as x, b } from "./gamification-dropdown-f0760153-DVkm_iE5.js";
|
|
18
|
+
import { G as fe } from "./gamification-dropdown-f0760153-DVkm_iE5.js";
|
|
19
|
+
import { r as m, h as i, g as T, c as U, a as I, F as W } from "../lazy/gamification-dropdown-zgu4qS_E.js";
|
|
20
20
|
import { a as A, T as z } from "./locale-Dq9tsc1e.js";
|
|
21
|
-
import { P as q, a as P, b as F, L as j, r as p, t as h, g as S } from "./player-elevate-card-items-b4571def-
|
|
21
|
+
import { P as q, a as P, b as F, L as j, r as p, t as h, g as S } from "./player-elevate-card-items-b4571def-B_cmKIfg.js";
|
|
22
22
|
const G = (e, t) => new Promise((a) => {
|
|
23
23
|
fetch(e).then((n) => n.json()).then((n) => {
|
|
24
24
|
Object.keys(n).forEach((l) => {
|
|
@@ -466,7 +466,7 @@ const oe = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
|
|
|
466
466
|
}
|
|
467
467
|
render() {
|
|
468
468
|
const e = I("../static/card-ground.svg"), t = I("../static/card-ground-over.svg");
|
|
469
|
-
return i("div", { key: "9f673b8dccc848d11f0836c15f1f5da5e242e3b3", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "419c71a612c3cdfebaece1e90345c6324c68348e", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "04c1098bf16e683f30d211dfb9ebc0b319076258", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: z, translationUrl: this.translationUrl, mbSource: this.mbSource }), i("player-elevate-card-data", { key: "a9c57ef6c5c3381c7e9bf2f041a190f3de3a0423", params: this.paramProxy }), i("div", { key: "402ceddce75abb2ee6b59db730418efc006e5c60", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "844cba8ae40b9dd55129f7b0d52a208ea72e72cf", class: "Content Row" }, this.playerElevateLevel && i(W, { key: "d365971e66cbdc81d4b1758c045a76ad50a68729" }, i("div", { key: "2e017a95d80098565d17807c6f8dae51a6b89090", class: "PlayerImg" }, i(q, { key: "5aaf4b8e2b8ea67fa0fed1a07dde9caf2551a3bd", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "6e332314f4c4a233dd353130266a4d0368b0de45", class: `LevelInfo ${this.playerElevateLevel.name}` }, i("div", { key: "06311b5920ac4126536760049bf3664d92cc247f", class: "CardCell ElevateLevel" }, i("span", { key: "4538afdef55cd520e2d213e6a97d209234deabe5", class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), i("div", { key: "cb2764c587a2fe1719b2ff6e045866ee032d5a66", class: "PointsRange" }, i(P, { key: "
|
|
469
|
+
return i("div", { key: "9f673b8dccc848d11f0836c15f1f5da5e242e3b3", class: `ElevateCardWrapper ${this.theme}` }, i("div", { key: "419c71a612c3cdfebaece1e90345c6324c68348e", class: "LoyaltyCard Outer", style: { backgroundImage: `url(${e}` } }, i("general-styling-wrapper", { key: "04c1098bf16e683f30d211dfb9ebc0b319076258", clientStyling: this.clientStyling, clientStylingUrl: this.clientStylingUrl, targetTranslations: z, translationUrl: this.translationUrl, mbSource: this.mbSource }), i("player-elevate-card-data", { key: "a9c57ef6c5c3381c7e9bf2f041a190f3de3a0423", params: this.paramProxy }), i("div", { key: "402ceddce75abb2ee6b59db730418efc006e5c60", class: "OuterCover Inner", style: { backgroundImage: `url(${t}` } }, i("div", { key: "844cba8ae40b9dd55129f7b0d52a208ea72e72cf", class: "Content Row" }, this.playerElevateLevel && i(W, { key: "d365971e66cbdc81d4b1758c045a76ad50a68729" }, i("div", { key: "2e017a95d80098565d17807c6f8dae51a6b89090", class: "PlayerImg" }, i(q, { key: "5aaf4b8e2b8ea67fa0fed1a07dde9caf2551a3bd", onlyBadge: !0, loyaltyIconUrl: this.playerElevateLevel.presentation.asset })), i("div", { key: "6e332314f4c4a233dd353130266a4d0368b0de45", class: `LevelInfo ${this.playerElevateLevel.name}` }, i("div", { key: "06311b5920ac4126536760049bf3664d92cc247f", class: "CardCell ElevateLevel" }, i("span", { key: "4538afdef55cd520e2d213e6a97d209234deabe5", class: "LevelName", title: this.playerElevateLevel.name }, this.playerElevateLevel.name)), i("div", { key: "cb2764c587a2fe1719b2ff6e045866ee032d5a66", class: "PointsRange" }, i(P, { key: "c794dc4acd33555811187df5b2748b012af77cbf", loyaltyPoints: this.playerElevateLevel.loyaltyPoints <= 0 ? 0 : this.playerElevateLevel.loyaltyPoints, language: this.language }), i(P, { key: "b88eb09ad61ea38214df4877976c6481626ae005", loyaltyPoints: this.getNextLevelPoints(), language: this.language })), i(F, { key: "91fba9132a54ea109bd17a9844390947cf65b902" }), i("div", { key: "950323f3966e6db2c41e06fe6d7be123d09cc496", class: "NextLevelTip" }, this.getNextLevelTips()), this.pointExpireString && i("div", { key: "2ee3c2b317274fdef1cf1a9b2905d023b7485c22", class: "PointsInfo ExpirationPoints" }, this.pointExpireString, " "), this.playerElevateLevel.expireTime && i(j, { key: "db5824c90848a51566ff2a158ff6dc6a292009b2", expireTime: this.playerElevateLevel.expireTime, dateFormat: this.dateFormat, language: this.language })))))));
|
|
470
470
|
}
|
|
471
471
|
static get watchers() {
|
|
472
472
|
return {
|