@everymatrix/casino-header-controller-nd 1.55.0 → 1.56.0
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-BXOxWDnU.js +5449 -0
- package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
- package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
- package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
- package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
- package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
- package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
- package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
- package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
- package/components/PlayerDeposit-Dn8OMUks.js +391 -0
- package/components/PlayerDeposit-Owd9kBaC.js +391 -0
- 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/package.json +1 -1
- package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
- package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
- package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
- package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
- package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
- package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
- package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
- package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
- package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
- package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
- package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
- package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
- package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
- package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
- package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
- package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
- package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
- package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
- package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
- package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
- package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
- package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
- package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
- package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
- package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
- package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
- package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
- package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
- package/components/PlayerDeposit-B0r58Ypp.js +0 -414
- package/components/PlayerDeposit-BkVMpjA9.js +0 -414
- package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
- package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
- package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
- package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
- package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
- package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
- package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
- package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
- package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
- package/stencil/index-171550cf-CVTOm2AV.js +0 -799
- package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
- package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
- package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
- package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { b as n, p as t } from "./index-171550cf-JwZ7TN-k.js";
|
|
2
|
-
import { g as l } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
3
|
-
var r = () => {
|
|
4
|
-
const e = import.meta.url, a = {};
|
|
5
|
-
return e !== "" && (a.resourcesUrl = new URL(".", e).href), t(a);
|
|
6
|
-
};
|
|
7
|
-
r().then(async (e) => (await l(), n([["gamification-dropdown_4", [[1, "gamification-dropdown", { endpoint: [513], language: [513], session: [513], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], isOpen: [32], isLoading: [32], stylingAppends: [32], loyaltyPoints: [32] }, null, { translationUrl: ["handleNewTranslations"] }], [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"], 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"] }], [4, "general-styling-wrapper", { clientStyling: [1, "client-styling"], clientStylingUrl: [1, "client-styling-url"], translationUrl: [1, "translation-url"], targetTranslations: [16] }], [0, "player-elevate-card-data", { params: [8], playerElevateLevel: [32], pointExpireString: [32] }, [[9, "resize", "handleWindowResizs"], [8, "redeemGiftButton", "redeemGiftButtonHandler"]], { params: ["onParamsChanged"] }]]], ["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"], 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], 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"] }]]]], e)));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=(n,a,t)=>new Promise((d,o)=>{var y=e=>{try{l(t.next(e))}catch(r){o(r)}},g=e=>{try{l(t.throw(e))}catch(r){o(r)}},l=e=>e.done?d(e.value):Promise.resolve(e.value).then(y,g);l((t=t.apply(n,a)).next())});const p=require("./index-171550cf-BY--MwdX.cjs"),c=require("./app-globals-0f993ce5-sCt45RkC.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-CnrQK1ei.cjs",document.baseURI).href,a={};return n!==""&&(a.resourcesUrl=new URL(".",n).href),p.promiseResolve(a)};u().then(n=>s(exports,null,function*(){return yield c.globalScripts(),p.bootstrapLazy([["gamification-dropdown_4",[[1,"gamification-dropdown",{endpoint:[513],language:[513],session:[513],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],isOpen:[32],isLoading:[32],stylingAppends:[32],loyaltyPoints:[32]},null,{translationUrl:["handleNewTranslations"]}],[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"],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"]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}],[0,"player-elevate-card-data",{params:[8],playerElevateLevel:[32],pointExpireString:[32]},[[9,"resize","handleWindowResizs"],[8,"redeemGiftButton","redeemGiftButtonHandler"]],{params:["onParamsChanged"]}]]],["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"],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],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"]}]]]],n)}));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
var o = (a, n, t) => new Promise((s, i) => {
|
|
2
|
-
var p = (e) => {
|
|
3
|
-
try {
|
|
4
|
-
l(t.next(e));
|
|
5
|
-
} catch (r) {
|
|
6
|
-
i(r);
|
|
7
|
-
}
|
|
8
|
-
}, d = (e) => {
|
|
9
|
-
try {
|
|
10
|
-
l(t.throw(e));
|
|
11
|
-
} catch (r) {
|
|
12
|
-
i(r);
|
|
13
|
-
}
|
|
14
|
-
}, l = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(p, d);
|
|
15
|
-
l((t = t.apply(a, n)).next());
|
|
16
|
-
});
|
|
17
|
-
import { b as y, p as g } from "./index-171550cf-CVTOm2AV.js";
|
|
18
|
-
import { g as v } from "./app-globals-0f993ce5-D-kw1sls.js";
|
|
19
|
-
var c = () => {
|
|
20
|
-
const a = import.meta.url, n = {};
|
|
21
|
-
return a !== "" && (n.resourcesUrl = new URL(".", a).href), g(n);
|
|
22
|
-
};
|
|
23
|
-
c().then((a) => o(void 0, null, function* () {
|
|
24
|
-
return yield v(), y([["gamification-dropdown_4", [[1, "gamification-dropdown", { endpoint: [513], language: [513], session: [513], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], translationUrl: [513, "translation-url"], isOpen: [32], isLoading: [32], stylingAppends: [32], loyaltyPoints: [32] }, null, { translationUrl: ["handleNewTranslations"] }], [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"], 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"] }], [4, "general-styling-wrapper", { clientStyling: [1, "client-styling"], clientStylingUrl: [1, "client-styling-url"], translationUrl: [1, "translation-url"], targetTranslations: [16] }], [0, "player-elevate-card-data", { params: [8], playerElevateLevel: [32], pointExpireString: [32] }, [[9, "resize", "handleWindowResizs"], [8, "redeemGiftButton", "redeemGiftButtonHandler"]], { params: ["onParamsChanged"] }]]], ["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"], 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], 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"] }]]]], a);
|
|
25
|
-
}));
|
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
"use strict";var f=(e,t,a)=>new Promise((n,l)=>{var i=d=>{try{s(a.next(d))}catch(p){l(p)}},v=d=>{try{s(a.throw(d))}catch(p){l(p)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,v);s((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./gamification-dropdown-456bb56a-ClnsHPoT.cjs"),r=require("./index-171550cf-BY--MwdX.cjs"),o=require("./player-elevate-card-items-2078bd83-DSxFMBLz.cjs"),B=(e,t)=>new Promise(a=>{fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(l=>{t[l]=t[l]?t[l]:{};for(let i in n[l])t[l][i]=n[l][i]}),a(!0)})}),M=":host{display:block}",R=M,m=class{constructor(e){r.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 f(this,null,function*(){const e=[];if(this.translationUrl){const t=B(this.translationUrl,this.targetTranslations);e.push(t)}return yield Promise.all(e)})}render(){return r.h("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},r.h("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return r.getElement(this)}};m.style=R;function x(e){o.requiredArgs(1,arguments);var t=o.toDate(e);return t.setHours(0,0,0,0),t}var O=864e5;function N(e,t){o.requiredArgs(2,arguments);var a=x(e),n=x(t),l=a.getTime()-o.getTimezoneOffsetInMilliseconds(a),i=n.getTime()-o.getTimezoneOffsetInMilliseconds(n);return Math.round((l-i)/O)}var q=6e4,W=36e5;function L(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)}},$="trunc";function E(e){return e?b[e]:b[$]}function z(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/W;return E(a==null?void 0:a.roundingMethod)(n)}function U(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/q;return E(a==null?void 0:a.roundingMethod)(n)}function F(e,t){o.requiredArgs(2,arguments);var a=o.toDate(e),n=o.toDate(t);return a.getTime()<n.getTime()}function j(e,t){const a=e.querySelector("#total_level"),n=17,l=6.5,i=a.getBBox().width,v=t>1?1:t,s=v*i-n<0?0:v*i-n,d=e.querySelector("#current_level"),p=e.querySelector("#filter_current_level"),h=e.querySelector("#circle_current_level");a.setAttribute("viewbox",`0 0 ${s} 28`),d.setAttribute("width",`${s}`),h.setAttribute("cx",`${s<l?l:s}`),p.setAttribute("x",`${s-8}`);const g=e.querySelector("#lock"),P=e.querySelector("#filter_heart_ball"),C=e.querySelector("#filter_ball"),S=e.querySelector("#filter_heart"),k=e.querySelector("#filter_lock"),y=e.querySelector("#paint0_linear_ball"),u=e.querySelector("#paint1_linear_lock"),T=e.querySelector("#lock_box"),A=e.querySelector("#heart_box"),D=10,c=i-D;g.setAttribute("cx",`${c}`),u.setAttribute("x1",`${c}`),u.setAttribute("x2",`${c}`),y.setAttribute("x1",`${c-6}`),y.setAttribute("x2",`${c-6+11.2}`),k.setAttribute("x",`${c-6}`),S.setAttribute("x",`${c-6-2}`),C.setAttribute("x",`${c-6-2-2}`),P.setAttribute("x",`${c-6-2-2-4}`),T.setAttribute("x",`${c-6}`),A.setAttribute("x",`${c-6}`),a.parentElement.style.opacity="1"}const H=`: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: 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
|
-
}`,G=H,w=class{constructor(e){r.registerInstance(this,e),this.playerElevateLeveLoaded=r.createEvent(this,"playerElevateLeveLoaded",7),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){let t="";if(!e||!e.aboutToExpire||e.aboutToExpire.length==0||e.aboutToExpire[0].points<=0)return t;e.aboutToExpire.sort((s,d)=>F(new Date(s.expireTime),new Date(d.expireTime))?-1:1);const a=e.aboutToExpire[0],n=N(new Date(a.expireTime),new Date);let l=0,i=0,v=n===0?"pointsToBeExpiredDay":"pointsToBeExpired";return n<=0&&(l=z(new Date(a.expireTime),new Date,{roundingMethod:"floor"}),v=l>1?"pointsToBeExpiredHours":"pointsToBeExpiredHour",l<=0&&(i=U(new Date(a.expireTime),new Date,{roundingMethod:"floor"}),v=i>1?"pointsToBeExpiredMinutes":"pointsToBeExpiredMinute")),t=o.translateWithParams(v,{expirationPoints:a.points,expireDay:Math.max(n,l,i)}),t}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 l,i,v;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=((l=s.spendableWallet)===null||l===void 0?void 0:l.total.points)||0,this.playerElevateLeveLoaded.emit({elevateLevel:this.playerElevateLevel});const d=(i=n.data.spendableWallet)===null||i===void 0?void 0:i.total,p=(v=n.data.loyaltyWallet)===null||v===void 0?void 0:v.total;this.playerElevateLeveLoaded.emit({elevateLevelWalletTotal:d,loyaltyWalletTotal:p});let h=this.calcuatePointsToBeExpired(d),g=this.calcuatePointsToBeExpired(p);(h||g)&&this.playerElevateLeveLoaded.emit({pointExpireString:h,xpExpireString:g}),t(this.playerElevateLevel)}).catch(n=>{console.log("error ",n),a(!0)}))}setLoyaltyProgress(e){j(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((l,i)=>l.firstEntryPoints>i.firstEntryPoints?1:-1);const a=this.playerElevateLevel.loyaltyPoints;let n=0;this.levels.forEach((l,i)=>{a>l.firstEntryPoints&&(n=i)}),this.playerElevateLeveLoaded.emit({calculatedLevelFlag:n})})}componentWillLoad(){this.loadElevateInfo()}get elevateCardRef(){return r.getElement(this)}static get watchers(){return{params:["onParamsChanged"]}}};w.style=G;const X=":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}",K=X,I=class{constructor(e){r.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.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 o.translateWithParams("tipsForNextLevel",{pointsToReach:a,levelName:t.name,lang:this.language})}return""}render(){const e=r.getAssetPath("../static/card-ground.svg"),t=r.getAssetPath("../static/card-ground-over.svg");return r.h("div",{key:"2b0944f8317a94621e1bc65bbbb3726654b8963b",class:`ElevateCardWrapper ${this.theme}`},r.h("div",{key:"c6d4dbba143435b4485d7fde91ab0a48a2f6688b",class:"LoyaltyCard Outer",style:{backgroundImage:`url(${e}`}},r.h("general-styling-wrapper",{key:"e47a4efe925eb35d4449c6ff33a0afef9d284e55",clientStyling:this.clientStyling,clientStylingUrl:this.clientStylingUrl,targetTranslations:o.TRANSLATIONS,translationUrl:this.translationUrl}),r.h("player-elevate-card-data",{key:"a560991893305894ddd41756cd7b3c32d0ef9e03",params:this.paramProxy}),r.h("div",{key:"ceb8b71386f84f54518a3694535aa16c2c3d3951",class:"OuterCover Inner",style:{backgroundImage:`url(${t}`}},r.h("div",{key:"1df9647c3de42e74adee0f8895511442118ae381",class:"Content Row"},this.playerElevateLevel&&r.h(r.Fragment,{key:"569bcd5fc3c578d2e6cc7442d28444e29688660c"},r.h("div",{key:"aa40032bff99c5462b906e4427232ca2d4019017",class:"PlayerImg"},r.h(o.PlayerAvatar,{key:"7a2d535b0c2029c90b9f1c123f9feebafca6bdde",onlyBadge:!0,loyaltyIconUrl:this.playerElevateLevel.presentation.asset})),r.h("div",{key:"90999da8fc2a3102eac235fcbc8afbec2a2bbdf8",class:`LevelInfo ${this.playerElevateLevel.name}`},r.h(o.PlayerElevateLoyaltyLevel,{key:"67e8bf370b1b77e776fb6d955ae63928fd1338d8",hideInfo:!0,level:this.playerElevateLevel.name,expireTime:this.playerElevateLevel.expireTime,dateFormat:this.dateFormat}),r.h("div",{key:"1e0fefc6a23f4aeeef5e19828399fe1229a3fc81",class:"PointsRange"},r.h(o.PlayerPoints,{key:"dd176e624cde3b6f517101d7702a15465305174d",loyaltyPoints:this.playerElevateLevel.loyaltyPoints,language:this.language}),r.h(o.PlayerPoints,{key:"6cddb64c92545803d08fbbc513cc951b2691a42e",loyaltyPoints:this.getNextLevelPoints(),language:this.language})),r.h(o.PlayerLoyaltyProcess,{key:"08817ca979ea784aeb735579b0d52e5150eb0852"}),r.h("div",{key:"be9a1b40a8145d5e6d329d8e9f047296e84dd24b",class:"NextLevelTip"},this.getNextLevelTips()),this.pointExpireString&&r.h("div",{key:"f9cbb7d06e34717cb9f74cb8d2e506e49969e775",class:"PointsInfo ExpirationPoints"},this.pointExpireString," ")))))))}static get watchers(){return{session:["onSessionOrEndpointChange"],endpoint:["onSessionOrEndpointChange"],language:["onSessionOrEndpointChange"]}}};I.style=K;exports.gamification_dropdown=_.GamificationDropdown;exports.general_styling_wrapper=m;exports.player_elevate_card_data=w;exports.player_elevate_loyaltycard=I;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Fe=Object.defineProperty;var ee=Object.getOwnPropertySymbols;var He=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable;var te=(e,t,s)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,se=(e,t)=>{for(var s in t||(t={}))He.call(t,s)&&te(e,s,t[s]);if(ee)for(var s of ee(t))Ne.call(t,s)&&te(e,s,t[s]);return e};var U=(e,t,s)=>new Promise((r,n)=>{var l=a=>{try{i(s.next(a))}catch($){n($)}},o=a=>{try{i(s.throw(a))}catch($){n($)}},i=a=>a.done?r(a.value):Promise.resolve(a.value).then(l,o);i((s=s.apply(e,t)).next())});const qe="gamification-dropdown",_={allRenderFn:!1,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!1,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var De=Object.defineProperty,Ie=(e,t)=>{for(var s in t)De(e,s,{get:t[s],enumerable:!0})},X=new WeakMap,x=e=>X.get(e),Be=(e,t)=>X.set(t.$lazyInstance$=e,t),ze=(e,t)=>{const s={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return s.$onReadyPromise$=new Promise(r=>s.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],X.set(e,s)},re=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),I=new Map,We=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const l=I.get(n);if(l)return l[r];{const o=i=>(I.set(n,i),i[r]);switch(n){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-DNV5b4s7.cjs")).then(o,b);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-CW-95gEJ.cjs")).then(o,b);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-DVgy3cq3.cjs")).then(o,b)}}return import(`./${n}.entry.js`).then(o=>(I.set(n,o),o[r]),b)},F=new Map,Me="{visibility:hidden}.hydrated{visibility:inherit}",ue="slot-fb{display:contents}slot-fb[hidden]{display:none}",P=typeof window!="undefined"?window:{},m=P.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),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})(),pe=e=>Promise.resolve(e),ve=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),B=!1,ne=[],he=[],Xe=(e,t)=>s=>{e.push(s),B||(B=!0,g.$flags$&4?Q(z):g.raf(z))},le=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){b(s)}e.length=0},z=()=>{le(ne),le(he),(B=ne.length>0)&&g.raf(z)},Q=e=>pe().then(e),Qe=Xe(he),Ye=e=>{const t=new URL(e,g.$resourcesUrl$);return t.origin!==P.location.origin?t.href:t.pathname},ae={},Je="http://www.w3.org/2000/svg",Ke="http://www.w3.org/1999/xhtml",Ze=e=>e!=null,Y=e=>(e=typeof e,e==="object"||e==="function");function ge(e){var t,s,r;return(r=(s=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:s.getAttribute("content"))!=null?r:void 0}var Ve={};Ie(Ve,{err:()=>ye,map:()=>et,ok:()=>W,unwrap:()=>tt,unwrapErr:()=>st});var W=e=>({isOk:!0,isErr:!1,value:e}),ye=e=>({isOk:!1,isErr:!0,value:e});function et(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>W(r)):W(s)}if(e.isErr){const s=e.value;return ye(s)}throw"should never get here"}var tt=e=>{if(e.isOk)return e.value;throw e.value},st=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},rt=(e,t)=>()=>{},J=(e,t,...s)=>{let r=null,n=null,l=null,o=!1,i=!1;const a=[],$=d=>{for(let f=0;f<d.length;f++)r=d[f],Array.isArray(r)?$(r):r!=null&&typeof r!="boolean"&&((o=typeof e!="function"&&!Y(r))&&(r=String(r)),o&&i?a[a.length-1].$text$+=r:a.push(o?H(null,r):r),i=o)};if($(s),t){t.key&&(n=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,at);const c=H(e,null);return c.$attrs$=t,a.length>0&&(c.$children$=a),c.$key$=n,c.$name$=l,c},H=(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},nt={},lt=e=>e&&e.$tag$===nt,at={forEach:(e,t)=>e.map(oe).forEach(t),map:(e,t)=>e.map(oe).map(t).map(ot)},oe=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),J(e.vtag,s,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},it=(e,t)=>e!=null&&!Y(e)&&t&1?String(e):e,me=e=>x(e).$hostElement$,$t=(e,t,s)=>{const r=me(e);return{emit:n=>Se(r,t,{bubbles:!!(s&4),composed:!!(s&2),cancelable:!!(s&1),detail:n})}},Se=(e,t,s)=>{const r=g.ce(t,s);return e.dispatchEvent(r),r},ie=new WeakMap,ct=(e,t,s)=>{let r=F.get(e);ve&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,F.set(e,r)},ft=(e,t,s)=>{var r;const n=be(t),l=F.get(n);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(n)){{i=m.createElement("style"),i.innerHTML=l;const a=(r=g.$nonce$)!=null?r:ge(m);if(a!=null&&i.setAttribute("nonce",a),!(t.$flags$&1))if(e.nodeName==="HEAD"){const $=e.querySelectorAll("link[rel=preconnect]"),c=$.length>0?$[$.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,c)}else if("host"in e)if(ve){const $=new CSSStyleSheet;$.replaceSync(l),e.adoptedStyleSheets=[$,...e.adoptedStyleSheets]}else{const $=e.querySelector("style");$?$.innerHTML=l+$.innerHTML:e.prepend(i)}else e.append(i);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(i,null)}t.$flags$&4&&(i.innerHTML+=ue),o&&o.add(n)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return n},dt=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=t.$flags$,n=E("attachStyles",t.$tagName$),l=ft(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);r&10&&r&2&&(s["s-sc"]=l,s.classList.add(l+"-h")),n()},be=(e,t)=>"sc-"+e.$tagName$,$e=(e,t,s,r,n,l)=>{if(s!==r){let o=re(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,$=ce(s),c=ce(r);a.remove(...$.filter(d=>d&&!c.includes(d))),a.add(...c.filter(d=>d&&!$.includes(d)))}else if(t==="style"){for(const a in s)(!r||r[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in r)(!s||r[a]!==s[a])&&(a.includes("-")?e.style.setProperty(a,r[a]):e.style[a]=r[a])}else if(t!=="key")if(t==="ref")r&&r(e);else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):re(P,i)?t=i.slice(2):t=i[2]+t.slice(3),s||r){const a=t.endsWith(ke);t=t.replace(pt,""),s&&g.rel(e,t,s,a),r&&g.ael(e,t,r,a)}}else{const a=Y(r);if((o||a&&r!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=r;else{const $=r==null?"":r;t==="list"?o=!1:(s==null||e[t]!=$)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=$:e.setAttribute(t,$))}}catch($){}r==null||r===!1?(r!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!o||l&4||n)&&!a&&(r=r===!0?"":r,e.setAttribute(t,r))}}},ut=/\s/,ce=e=>e?e.split(ut):[],ke="Capture",pt=new RegExp(ke+"$"),Te=(e,t,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||ae,l=t.$attrs$||ae;for(const o of fe(Object.keys(n)))o in l||$e(r,o,n[o],void 0,s,t.$flags$);for(const o of fe(Object.keys(l)))$e(r,o,n[o],l[o],s,t.$flags$)};function fe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var w,M,R,N=!1,q=!1,K=!1,S=!1,D=(e,t,s,r)=>{var n;const l=t.$children$[s];let o=0,i,a,$;if(N||(K=!0,l.$tag$==="slot"&&(w&&r.classList.add(w+"-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?Je:Ke,!N&&_.slotRelocation&&l.$flags$&2?"slot-fb":l.$tag$),S&&l.$tag$==="foreignObject"&&(S=!1),Te(null,l,S),!!i.getRootNode().querySelector("body")&&_.scoped&&Ze(w)&&i["s-si"]!==w&&i.classList.add(i["s-si"]=w),l.$children$)for(o=0;o<l.$children$.length;++o)a=D(e,l,o,i),a&&i.appendChild(a);l.$tag$==="svg"?S=!1:i.tagName==="foreignObject"&&(S=!0)}return i["s-hn"]=R,l.$flags$&3&&(i["s-sr"]=!0,i["s-cr"]=M,i["s-sn"]=l.$name$||"",i["s-rf"]=(n=l.$attrs$)==null?void 0:n.ref,$=e&&e.$children$&&e.$children$[s],$&&$.$tag$===l.$tag$&&e.$elm$&&O(e.$elm$,!1)),i},O=(e,t)=>{g.$flags$|=1;const s=Array.from(e.childNodes);if(e["s-sr"]&&_.experimentalSlotFixes){let r=e;for(;r=r.nextSibling;)r&&r["s-sn"]===e["s-sn"]&&r["s-sh"]===R&&s.push(r)}for(let r=s.length-1;r>=0;r--){const n=s[r];n["s-hn"]!==R&&n["s-ol"]&&(L(xe(n),n,Z(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&O(n,t)}g.$flags$&=-2},Ee=(e,t,s,r,n,l)=>{let o=e["s-cr"]&&e["s-cr"].parentNode||e,i;for(o.shadowRoot&&o.tagName===R&&(o=o.shadowRoot);n<=l;++n)r[n]&&(i=D(null,s,n,e),i&&(r[n].$elm$=i,L(o,i,Z(t))))},Le=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const l=n.$elm$;_e(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():O(l,!0),l.remove())}}},vt=(e,t,s,r,n=!1)=>{let l=0,o=0,i=0,a=0,$=t.length-1,c=t[0],d=t[$],f=r.length-1,u=r[0],v=r[f],h,y;for(;l<=$&&o<=f;)if(c==null)c=t[++l];else if(d==null)d=t[--$];else if(u==null)u=r[++o];else if(v==null)v=r[--f];else if(C(c,u,n))A(c,u,n),c=t[++l],u=r[++o];else if(C(d,v,n))A(d,v,n),d=t[--$],v=r[--f];else if(C(c,v,n))(c.$tag$==="slot"||v.$tag$==="slot")&&O(c.$elm$.parentNode,!1),A(c,v,n),L(e,c.$elm$,d.$elm$.nextSibling),c=t[++l],v=r[--f];else if(C(d,u,n))(c.$tag$==="slot"||v.$tag$==="slot")&&O(d.$elm$.parentNode,!1),A(d,u,n),L(e,d.$elm$,c.$elm$),d=t[--$],u=r[++o];else{for(i=-1,a=l;a<=$;++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$?h=D(t&&t[o],s,i,e):(A(y,u,n),t[i]=void 0,h=y.$elm$),u=r[++o]):(h=D(t&&t[o],s,o,e),u=r[++o]),h&&L(xe(c.$elm$),h,Z(c.$elm$))}l>$?Ee(e,r[f+1]==null?null:r[f+1].$elm$,s,r,o,f):o>f&&Le(t,l,$)},C=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?"$nodeId$"in e&&s&&e.$elm$.nodeType!==8?!1:e.$name$===t.$name$:s?!0:e.$key$===t.$key$:!1,Z=e=>e&&e["s-ol"]||e,xe=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,A=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=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"&&!N||Te(e,t,S),n!==null&&l!==null?vt(r,n,t,l,s):l!==null?(e.$text$!==null&&(r.textContent=""),Ee(r,null,t,l,0,l.length-1)):!s&&_.updatable&&n!==null&&Le(n,0,n.length-1),S&&o==="svg"&&(S=!1)):(a=r["s-cr"])?a.parentNode.textContent=i:e.$text$!==i&&(r.data=i)},we=e=>{const t=e.childNodes;for(const s of t)if(s.nodeType===1){if(s["s-sr"]){const r=s["s-sn"];s.hidden=!1;for(const n of t)if(n!==s){if(n["s-hn"]!==s["s-hn"]||r!==""){if(n.nodeType===1&&(r===n.getAttribute("slot")||r===n["s-sn"])||n.nodeType===3&&r===n["s-sn"]){s.hidden=!0;break}}else if(n.nodeType===1||n.nodeType===3&&n.textContent.trim()!==""){s.hidden=!0;break}}}we(s)}},T=[],Ae=e=>{let t,s,r;for(const n of e.childNodes){if(n["s-sr"]&&(t=n["s-cr"])&&t.parentNode){s=t.parentNode.childNodes;const l=n["s-sn"];for(r=s.length-1;r>=0;r--)if(t=s[r],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==n["s-hn"]&&!_.experimentalSlotFixes)if(de(t,l)){let o=T.find(i=>i.$nodeToRelocate$===t);q=!0,t["s-sn"]=t["s-sn"]||l,o?(o.$nodeToRelocate$["s-sh"]=n["s-hn"],o.$slotRefNode$=n):(t["s-sh"]=n["s-hn"],T.push({$slotRefNode$:n,$nodeToRelocate$:t})),t["s-sr"]&&T.map(i=>{de(i.$nodeToRelocate$,t["s-sn"])&&(o=T.find(a=>a.$nodeToRelocate$===t),o&&!i.$slotRefNode$&&(i.$slotRefNode$=o.$slotRefNode$))})}else T.some(o=>o.$nodeToRelocate$===t)||T.push({$nodeToRelocate$:t})}n.nodeType===1&&Ae(n)}},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),ht=(e,t,s=!1)=>{var r,n,l,o;const i=e.$hostElement$,a=e.$cmpMeta$,$=e.$vnode$||H(null,null),c=lt(t)?t:J(null,null,t);if(R=i.tagName,a.$attrsToReflect$&&(c.$attrs$=c.$attrs$||{},a.$attrsToReflect$.map(([d,f])=>c.$attrs$[f]=i[d])),s&&c.$attrs$)for(const d of Object.keys(c.$attrs$))i.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(c.$attrs$[d]=i[d]);c.$tag$=null,c.$flags$|=4,e.$vnode$=c,c.$elm$=$.$elm$=i.shadowRoot||i,w=i["s-sc"],N=(a.$flags$&1)!==0,M=i["s-cr"],q=!1,A($,c,s);{if(g.$flags$|=1,K){Ae(c.$elm$);for(const d of T){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 T){const f=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const v=u.parentNode;let h=u.nextSibling;{let y=(r=f["s-ol"])==null?void 0:r.previousSibling;for(;y;){let p=(n=y["s-nr"])!=null?n:null;if(p&&p["s-sn"]===f["s-sn"]&&v===p.parentNode){for(p=p.nextSibling;p===f||p!=null&&p["s-sr"];)p=p==null?void 0:p.nextSibling;if(!p||!p["s-nr"]){h=p;break}}y=y.previousSibling}}(!h&&v!==f.parentNode||f.nextSibling!==h)&&f!==h&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),L(v,f,h),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&&we(c.$elm$),g.$flags$&=-2,T.length=0}M=void 0},Pe=(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 Pe(e,e.$ancestorComponent$),Qe(()=>gt(e,t))},gt=(e,t)=>{const s=e.$hostElement$,r=E("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)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])=>G(n,o,i)),e.$queuedListeners$=void 0),l=G(n,"componentWillLoad")),r(),yt(l,()=>St(e,n,t))},yt=(e,t)=>mt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=(e,t,s)=>U(exports,null,function*(){var r;const n=e.$hostElement$,l=E("update",e.$cmpMeta$.$tagName$),o=n["s-rc"];s&&dt(e);const i=E("render",e.$cmpMeta$.$tagName$);bt(e,t,n,s),o&&(o.map(a=>a()),n["s-rc"]=void 0),i(),l();{const a=(r=n["s-p"])!=null?r:[],$=()=>kt(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),bt=(e,t,s,r)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,ht(e,t,r)}catch(n){b(n,e.$hostElement$)}return null},kt=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=E("postUpdate",t),n=e.$lazyInstance$,l=e.$ancestorComponent$;G(n,"componentDidRender"),e.$flags$&64?r():(e.$flags$|=64,Oe(s),r(),e.$onReadyResolve$(s),l||Re()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&Q(()=>V(e,!1)),e.$flags$&=-517},Re=e=>{Oe(m.documentElement),Q(()=>Se(P,"appload",{detail:{namespace:qe}}))},G=(e,t,s)=>{if(e&&e[t])try{return e[t](s)}catch(r){b(r)}},Oe=e=>{var t;return e.classList.add((t=_.hydratedSelectorName)!=null?t:"hydrated")},Tt=(e,t)=>x(e).$instanceValues$.get(t),Et=(e,t,s,r)=>{const n=x(e);if(!n)throw new Error(`Couldn't find host element for "${r.$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=n.$hostElement$,o=n.$instanceValues$.get(t),i=n.$flags$,a=n.$lazyInstance$;s=it(s,r.$members$[t][0]);const $=Number.isNaN(o)&&Number.isNaN(s),c=s!==o&&!$;if((!(i&8)||o===void 0)&&c&&(n.$instanceValues$.set(t,s),a)){if(r.$watchers$&&i&128){const d=r.$watchers$[t];d&&d.map(f=>{try{a[f](s,o,t)}catch(u){b(u,l)}})}(i&18)===2&&V(n,!1)}},je=(e,t,s)=>{var r,n;const l=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const o=Object.entries((r=t.$members$)!=null?r:{});if(o.map(([i,[a]])=>{(a&31||s&2&&a&32)&&Object.defineProperty(l,i,{get(){return Tt(this,i)},set($){Et(this,i,$,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))c=this[f],delete this[f];else{if(l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const u=x(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=u.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[a];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,a)})}return}}this[f]=c===null&&typeof this[f]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...o.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const d=$[1]||a;return i.set(d,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,d])),d})]))}}return e},Lt=(e,t,s,r)=>U(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const a=We(s);if(a&&"then"in a){const c=rt();n=yield a,c()}else n=a;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,je(n,s,2),n.isProxied=!0);const $=E("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{n=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(n&&n.style){let a;typeof n.style=="string"&&(a=n.style);const $=be(s);if(!F.has($)){const c=E("registerStyles",s.$tagName$);ct($,a,!!(s.$flags$&1)),c()}}}const l=t.$ancestorComponent$,o=()=>V(t,!0);l&&l["s-rc"]?l["s-rc"].push(o):o()}),xt=e=>{},wt=e=>{if(!(g.$flags$&1)){const t=x(e),s=t.$cmpMeta$,r=E("connectedCallback",s.$tagName$);if(t.$flags$&1)Ue(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>xt());else{t.$flags$|=1,s.$flags$&12&&At(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Pe(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[l]])=>{if(l&31&&e.hasOwnProperty(n)){const o=e[n];delete e[n],e[n]=o}}),Lt(e,t,s)}r()}},At=e=>{const t=e["s-cr"]=m.createComment("");t["s-cn"]=!0,L(e,t,e.firstChild)},_t=e=>{},Pt=e=>U(exports,null,function*(){if(!(g.$flags$&1)){const t=x(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>_t())}}),Rt=(e,t={})=>{var s;const r=E(),n=[],l=t.exclude||[],o=P.customElements,i=m.head,a=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let d,f=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(u=!0),p.$members$=h[2],p.$listeners$=h[3],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const j=p.$tagName$,Ce=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,ze(k,p),p.$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 ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const k=x(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ue(this,k,p.$listeners$)),d&&(clearTimeout(d),d=null),f?c.push(this):g.jmp(()=>wt(this))}disconnectedCallback(){g.jmp(()=>Pt(this))}componentOnReady(){return x(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!l.includes(j)&&!o.get(j)&&(n.push(j),o.define(j,je(Ce,p,1)))})}),n.length>0&&(u&&($.textContent+=ue),$.textContent+=n.sort()+Me,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(s=g.$nonce$)!=null?s:ge(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,a?a.nextSibling:i.firstChild)}f=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>d=setTimeout(Re,30)),r()},Ot=(e,t)=>t,Ue=(e,t,s,r)=>{s&&s.map(([n,l,o])=>{const i=Ut(e,n),a=jt(t,o),$=Ct(n);g.ael(i,l,a,$),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>g.rel(i,l,a,$))})},jt=(e,t)=>s=>{var r;try{e.$flags$&256?(r=e.$lazyInstance$)==null||r[t](s):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,s])}catch(n){b(n)}},Ut=(e,t)=>t&8?P:e,Ct=e=>Ge?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=Ot;exports.bootstrapLazy=Rt;exports.createEvent=$t;exports.getAssetPath=Ye;exports.getElement=me;exports.h=J;exports.promiseResolve=pe;exports.registerInstance=Be;
|