@everymatrix/casino-header-controller-nd 1.54.8 → 1.54.9

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.
Files changed (37) hide show
  1. package/components/{CasinoHamburgerMenuNd-BN4YipjD.js → CasinoHamburgerMenuNd-ByOv9WYg.js} +1135 -1135
  2. package/components/{CasinoHamburgerMenuNd-BRXAq9EB.js → CasinoHamburgerMenuNd-C0vs2463.js} +189 -189
  3. package/components/{CasinoHamburgerMenuNd-DWivJdEW.cjs → CasinoHamburgerMenuNd-C_mDzbID.cjs} +4 -4
  4. package/components/{CasinoHeaderControllerNd-DB6p0pM9.js → CasinoHeaderControllerNd-3Q94rK_H.js} +5 -5
  5. package/components/{CasinoHeaderControllerNd-Bcge1xWm.cjs → CasinoHeaderControllerNd-CmBOctnz.cjs} +1 -1
  6. package/components/{CasinoHeaderControllerNd-y-KHL_bQ.js → CasinoHeaderControllerNd-hT8qHvSB.js} +5 -5
  7. package/components/{PlayerAccountBalanceModalNd-Cx1wys48.js → PlayerAccountBalanceModalNd-B4Yp_9Au.js} +1 -1
  8. package/components/{PlayerAccountBalanceModalNd-LPAeUZ5O.cjs → PlayerAccountBalanceModalNd-CjlZ6-7s.cjs} +1 -1
  9. package/components/{PlayerAccountBalanceModalNd-DijTlCAM.js → PlayerAccountBalanceModalNd-bDU8dGTK.js} +1 -1
  10. package/components/{PlayerDeposit-DJtyV372.js → PlayerDeposit-C__xk64-.js} +1 -1
  11. package/components/{PlayerDeposit-Dlc74zh3.js → PlayerDeposit-CmyD00QS.js} +1 -1
  12. package/components/{PlayerDeposit-oYFoY9mr.cjs → PlayerDeposit-DGMSukDR.cjs} +1 -1
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{gamification-dropdown-DXwjfRK6.js → gamification-dropdown-BYoQE2eM.js} +1 -1
  18. package/stencil/{gamification-dropdown-DSXwe6wL.js → gamification-dropdown-BsDum8HU.js} +1 -1
  19. package/stencil/{gamification-dropdown-DxQYaq9A.cjs → gamification-dropdown-DBvEliZb.cjs} +1 -1
  20. package/stencil/{gamification-dropdown-dc081799-DhEx3oAW.js → gamification-dropdown-dc081799-COWgoauo.js} +15 -15
  21. package/stencil/{gamification-dropdown-dc081799-DwwONu50.js → gamification-dropdown-dc081799-D_3lOXxi.js} +10 -10
  22. package/stencil/{gamification-dropdown-dc081799-grwre2mR.cjs → gamification-dropdown-dc081799-qkGbJFv-.cjs} +1 -1
  23. package/stencil/{gamification-dropdown_4-Js76nmRP.cjs → gamification-dropdown_4-CD0pDli_.cjs} +1 -1
  24. package/stencil/{gamification-dropdown_4-DMyo0Cai.js → gamification-dropdown_4-CGfeeef4.js} +14 -14
  25. package/stencil/{gamification-dropdown_4-xIuhYShe.js → gamification-dropdown_4-DGgVhZVT.js} +16 -16
  26. package/stencil/{index-5e36ea65-BYsPysDo.cjs → index-5e36ea65-8utgvA4y.cjs} +1 -1
  27. package/stencil/{index-5e36ea65-COdY7Qod.js → index-5e36ea65-BQOFxtoF.js} +181 -181
  28. package/stencil/{index-5e36ea65-DT7tZRpo.js → index-5e36ea65-BkSKs2J0.js} +185 -185
  29. package/stencil/{player-elevate-card-BcvihY18.js → player-elevate-card-9f41yx5g.js} +2 -2
  30. package/stencil/{player-elevate-card-Ci_xja9l.js → player-elevate-card-DQE8G7ox.js} +2 -2
  31. package/stencil/{player-elevate-card-items-2a1dc5b5-e_chraGM.js → player-elevate-card-items-2a1dc5b5-BGYI6LDp.js} +298 -298
  32. package/stencil/{player-elevate-card-items-2a1dc5b5-B3hUJxjm.cjs → player-elevate-card-items-2a1dc5b5-Bbza8SeJ.cjs} +1 -1
  33. package/stencil/{player-elevate-card-items-2a1dc5b5-R0FZQK7I.js → player-elevate-card-items-2a1dc5b5-C0Ul-nhu.js} +298 -298
  34. package/stencil/{player-elevate-card-DOMKpcd1.cjs → player-elevate-card-jcWIm8Vs.cjs} +1 -1
  35. package/stencil/{player-elevate-pointcard-DdN-6RUK.cjs → player-elevate-pointcard-Bx5fP0DY.cjs} +1 -1
  36. package/stencil/{player-elevate-pointcard-CZiVmETE.js → player-elevate-pointcard-G_yPTu4J.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-BLdrrwJF.js → player-elevate-pointcard-MyvSBf45.js} +2 -2
@@ -1,21 +1,21 @@
1
- var p = (e, i, t) => new Promise((n, s) => {
1
+ var d = (e, i, t) => new Promise((n, s) => {
2
2
  var o = (l) => {
3
3
  try {
4
4
  a(t.next(l));
5
- } catch (d) {
6
- s(d);
5
+ } catch (p) {
6
+ s(p);
7
7
  }
8
8
  }, c = (l) => {
9
9
  try {
10
10
  a(t.throw(l));
11
- } catch (d) {
12
- s(d);
11
+ } catch (p) {
12
+ s(p);
13
13
  }
14
14
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, c);
15
15
  a((t = t.apply(e, i)).next());
16
16
  });
17
- import { r as g, h as r, g as m } from "./index-5e36ea65-COdY7Qod.js";
18
- const u = "en";
17
+ import { r as f, h as r, g as m } from "./index-5e36ea65-BQOFxtoF.js";
18
+ const y = "en";
19
19
  let h = {
20
20
  en: {
21
21
  gamificationNoPoints: "No points"
@@ -36,7 +36,7 @@ let h = {
36
36
  gamificationNoPoints: "No points"
37
37
  }
38
38
  };
39
- const f = (e) => new Promise((i) => {
39
+ const g = (e) => new Promise((i) => {
40
40
  fetch(e).then((t) => t.json()).then((t) => {
41
41
  Object.keys(t).forEach((n) => {
42
42
  h[n] || (h[n] = {});
@@ -44,12 +44,12 @@ const f = (e) => new Promise((i) => {
44
44
  h[n][s] = t[n][s];
45
45
  }), i(!0);
46
46
  });
47
- }), y = (e, i) => {
47
+ }), u = (e, i) => {
48
48
  const t = i;
49
- return h[t !== void 0 && t in h ? t : u][e];
49
+ return h[t !== void 0 && t in h ? t : y][e];
50
50
  }, w = ":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}", v = w, D = class {
51
51
  constructor(e) {
52
- g(this, e), this.language = "en", this.session = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.stylingAppends = !1, this.setClientStyling = () => {
52
+ f(this, e), this.language = "en", this.session = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.stylingAppends = !1, this.setClientStyling = () => {
53
53
  let i = document.createElement("style");
54
54
  i.innerHTML = this.clientStyling, this.stylingContainer.prepend(i);
55
55
  }, this.setClientStylingURL = () => {
@@ -70,13 +70,13 @@ const f = (e) => new Promise((i) => {
70
70
  };
71
71
  }
72
72
  handleNewTranslations() {
73
- this.isLoading = !0, f(this.translationUrl).then(() => {
73
+ this.isLoading = !0, g(this.translationUrl).then(() => {
74
74
  this.isLoading = !1;
75
75
  });
76
76
  }
77
77
  componentWillLoad() {
78
- return p(this, null, function* () {
79
- if (this.translationUrl.length > 2 && (yield f(this.translationUrl)), this.endpoint && this.language)
78
+ return d(this, null, function* () {
79
+ if (this.translationUrl.length > 2 && (yield g(this.translationUrl)), this.endpoint && this.language)
80
80
  return this.fetchPointsData();
81
81
  });
82
82
  }
@@ -104,7 +104,7 @@ const f = (e) => new Promise((i) => {
104
104
  });
105
105
  }
106
106
  render() {
107
- return this.isLoading ? null : r("div", { ref: (e) => this.stylingContainer = e, class: "GamificationDropdownContainer" }, r("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (e) => this.handleDropdownClick(e), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : y("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", r("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, r("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("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, r("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
107
+ return this.isLoading ? null : r("div", { ref: (e) => this.stylingContainer = e, class: "GamificationDropdownContainer" }, r("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (e) => this.handleDropdownClick(e), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : u("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", r("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, r("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, r("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("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, r("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
108
108
  }
109
109
  get el() {
110
110
  return m(this);
@@ -1,5 +1,5 @@
1
- import { r as d, h as s, g as p } from "./index-5e36ea65-DT7tZRpo.js";
2
- const f = "en";
1
+ import { r as p, h as s, g as d } from "./index-5e36ea65-BkSKs2J0.js";
2
+ const g = "en";
3
3
  let a = {
4
4
  en: {
5
5
  gamificationNoPoints: "No points"
@@ -28,12 +28,12 @@ const h = (e) => new Promise((t) => {
28
28
  a[n][l] = i[n][l];
29
29
  }), t(!0);
30
30
  });
31
- }), g = (e, t) => {
31
+ }), f = (e, t) => {
32
32
  const i = t;
33
- return a[i !== void 0 && i in a ? i : f][e];
34
- }, m = ":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}", u = m, y = class {
33
+ return a[i !== void 0 && i in a ? i : g][e];
34
+ }, m = ":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}", y = m, u = class {
35
35
  constructor(e) {
36
- d(this, e), this.language = "en", this.session = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.stylingAppends = !1, this.setClientStyling = () => {
36
+ p(this, e), this.language = "en", this.session = "", this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.isOpen = !1, this.isLoading = !1, this.stylingAppends = !1, this.setClientStyling = () => {
37
37
  let t = document.createElement("style");
38
38
  t.innerHTML = this.clientStyling, this.stylingContainer.prepend(t);
39
39
  }, this.setClientStylingURL = () => {
@@ -86,10 +86,10 @@ const h = (e) => new Promise((t) => {
86
86
  });
87
87
  }
88
88
  render() {
89
- return this.isLoading ? null : s("div", { ref: (e) => this.stylingContainer = e, class: "GamificationDropdownContainer" }, s("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (e) => this.handleDropdownClick(e), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : g("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", s("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, s("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 && s("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, s("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
89
+ return this.isLoading ? null : s("div", { ref: (e) => this.stylingContainer = e, class: "GamificationDropdownContainer" }, s("button", { class: `GamificationDropdownButton ${this.isOpen ? "IsOpen" : ""}`, type: "button", onClick: (e) => this.handleDropdownClick(e), title: typeof this.loyaltyPoints == "number" ? String(this.loyaltyPoints) : f("gamificationNoPoints", this.language) }, typeof this.loyaltyPoints == "number" ? `${this.loyaltyPoints} XP` : "...", s("span", { class: this.isOpen ? "TriangleActive" : "TriangleInactive" }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "6.835", viewBox: "0 0 14 6.835" }, s("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 && s("div", { class: "GamificationDropdown", onClick: this.navigateToGamification }, s("player-elevate-loyaltycard", { endpoint: this.endpoint, session: this.session, language: this.language, "client-styling-url": this.clientStylingUrl, "client-styling": this.clientStyling })));
90
90
  }
91
91
  get el() {
92
- return p(this);
92
+ return d(this);
93
93
  }
94
94
  static get watchers() {
95
95
  return {
@@ -97,7 +97,7 @@ const h = (e) => new Promise((t) => {
97
97
  };
98
98
  }
99
99
  };
100
- y.style = u;
100
+ u.style = y;
101
101
  export {
102
- y as G
102
+ u as G
103
103
  };
@@ -1 +1 @@
1
- "use strict";var p=(e,t,i)=>new Promise((n,a)=>{var o=r=>{try{l(i.next(r))}catch(d){a(d)}},c=r=>{try{l(i.throw(r))}catch(d){a(d)}},l=r=>r.done?n(r.value):Promise.resolve(r.value).then(o,c);l((i=i.apply(e,t)).next())});const s=require("./index-5e36ea65-BYsPysDo.cjs"),u="en";let h={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 f=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(n=>{h[n]||(h[n]={});for(let a in i[n])h[n][a]=i[n][a]}),t(!0)})}),m=(e,t)=>{const i=t;return h[i!==void 0&&i in h?i:u][e]},y=":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}",w=y,g=class{constructor(e){s.registerInstance(this,e),this.language="en",this.session="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isOpen=!1,this.isLoading=!1,this.stylingAppends=!1,this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.setClientStylingURL=()=>{let t=new URL(this.clientStylingUrl),i=document.createElement("style");fetch(t.href).then(n=>n.text()).then(n=>{i.innerHTML=n,setTimeout(()=>{this.stylingContainer.prepend(i)},1)}).catch(n=>{console.log("error ",n)})},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)}}handleNewTranslations(){this.isLoading=!0,f(this.translationUrl).then(()=>{this.isLoading=!1})}componentWillLoad(){return p(this,null,function*(){if(this.translationUrl.length>2&&(yield f(this.translationUrl)),this.endpoint&&this.language)return this.fetchPointsData()})}componentDidRender(){!this.stylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}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,a)=>{this.isLoading=!0,fetch(e.href,i).then(o=>o.json()).then(o=>{var c,l;this.loyaltyPoints=(l=(c=o==null?void 0:o.data)===null||c===void 0?void 0:c.level)===null||l===void 0?void 0:l.loyaltyPoints,n(!0)}).catch(o=>{console.error(o),a(o)}).finally(()=>{this.isLoading=!1})})}render(){return this.isLoading?null:s.h("div",{ref:e=>this.stylingContainer=e,class:"GamificationDropdownContainer"},s.h("button",{class:`GamificationDropdownButton ${this.isOpen?"IsOpen":""}`,type:"button",onClick:e=>this.handleDropdownClick(e),title:typeof this.loyaltyPoints=="number"?String(this.loyaltyPoints):m("gamificationNoPoints",this.language)},typeof this.loyaltyPoints=="number"?`${this.loyaltyPoints} XP`:"...",s.h("span",{class:this.isOpen?"TriangleActive":"TriangleInactive"},s.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6.835",viewBox:"0 0 14 6.835"},s.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&&s.h("div",{class:"GamificationDropdown",onClick:this.navigateToGamification},s.h("player-elevate-loyaltycard",{endpoint:this.endpoint,session:this.session,language:this.language,"client-styling-url":this.clientStylingUrl,"client-styling":this.clientStyling})))}get el(){return s.getElement(this)}static get watchers(){return{translationUrl:["handleNewTranslations"]}}};g.style=w;exports.GamificationDropdown=g;
1
+ "use strict";var d=(e,t,i)=>new Promise((n,a)=>{var o=r=>{try{l(i.next(r))}catch(p){a(p)}},c=r=>{try{l(i.throw(r))}catch(p){a(p)}},l=r=>r.done?n(r.value):Promise.resolve(r.value).then(o,c);l((i=i.apply(e,t)).next())});const s=require("./index-5e36ea65-8utgvA4y.cjs"),m="en";let h={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 g=e=>new Promise(t=>{fetch(e).then(i=>i.json()).then(i=>{Object.keys(i).forEach(n=>{h[n]||(h[n]={});for(let a in i[n])h[n][a]=i[n][a]}),t(!0)})}),u=(e,t)=>{const i=t;return h[i!==void 0&&i in h?i:m][e]},y=":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}",w=y,f=class{constructor(e){s.registerInstance(this,e),this.language="en",this.session="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.isOpen=!1,this.isLoading=!1,this.stylingAppends=!1,this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.setClientStylingURL=()=>{let t=new URL(this.clientStylingUrl),i=document.createElement("style");fetch(t.href).then(n=>n.text()).then(n=>{i.innerHTML=n,setTimeout(()=>{this.stylingContainer.prepend(i)},1)}).catch(n=>{console.log("error ",n)})},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)}}handleNewTranslations(){this.isLoading=!0,g(this.translationUrl).then(()=>{this.isLoading=!1})}componentWillLoad(){return d(this,null,function*(){if(this.translationUrl.length>2&&(yield g(this.translationUrl)),this.endpoint&&this.language)return this.fetchPointsData()})}componentDidRender(){!this.stylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}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,a)=>{this.isLoading=!0,fetch(e.href,i).then(o=>o.json()).then(o=>{var c,l;this.loyaltyPoints=(l=(c=o==null?void 0:o.data)===null||c===void 0?void 0:c.level)===null||l===void 0?void 0:l.loyaltyPoints,n(!0)}).catch(o=>{console.error(o),a(o)}).finally(()=>{this.isLoading=!1})})}render(){return this.isLoading?null:s.h("div",{ref:e=>this.stylingContainer=e,class:"GamificationDropdownContainer"},s.h("button",{class:`GamificationDropdownButton ${this.isOpen?"IsOpen":""}`,type:"button",onClick:e=>this.handleDropdownClick(e),title:typeof this.loyaltyPoints=="number"?String(this.loyaltyPoints):u("gamificationNoPoints",this.language)},typeof this.loyaltyPoints=="number"?`${this.loyaltyPoints} XP`:"...",s.h("span",{class:this.isOpen?"TriangleActive":"TriangleInactive"},s.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"6.835",viewBox:"0 0 14 6.835"},s.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&&s.h("div",{class:"GamificationDropdown",onClick:this.navigateToGamification},s.h("player-elevate-loyaltycard",{endpoint:this.endpoint,session:this.session,language:this.language,"client-styling-url":this.clientStylingUrl,"client-styling":this.clientStyling})))}get el(){return s.getElement(this)}static get watchers(){return{translationUrl:["handleNewTranslations"]}}};f.style=w;exports.GamificationDropdown=f;
@@ -1,4 +1,4 @@
1
- "use strict";var f=(e,t,a)=>new Promise((n,l)=>{var i=d=>{try{s(a.next(d))}catch(p){l(p)}},c=d=>{try{s(a.throw(d))}catch(p){l(p)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,c);s((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./gamification-dropdown-dc081799-grwre2mR.cjs"),r=require("./index-5e36ea65-BYsPysDo.cjs"),o=require("./player-elevate-card-items-2a1dc5b5-B3hUJxjm.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.clientStyling="",this.clientStylingUrl="",this.translationUrl="",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)})}}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 q(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 N=6e4,$=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)}},W="trunc";function E(e){return e?b[e]:b[W]}function z(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/$;return E(a==null?void 0:a.roundingMethod)(n)}function U(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/N;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,c=t>1?1:t,s=c*i-n<0?0:c*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"),k=e.querySelector("#filter_heart"),S=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,v=i-D;g.setAttribute("cx",`${v}`),u.setAttribute("x1",`${v}`),u.setAttribute("x2",`${v}`),y.setAttribute("x1",`${v-6}`),y.setAttribute("x2",`${v-6+11.2}`),S.setAttribute("x",`${v-6}`),k.setAttribute("x",`${v-6-2}`),C.setAttribute("x",`${v-6-2-2}`),P.setAttribute("x",`${v-6-2-2-4}`),T.setAttribute("x",`${v-6}`),A.setAttribute("x",`${v-6}`),a.parentElement.style.opacity="1"}const H=`:host {
1
+ "use strict";var f=(e,t,a)=>new Promise((n,l)=>{var i=d=>{try{s(a.next(d))}catch(p){l(p)}},c=d=>{try{s(a.throw(d))}catch(p){l(p)}},s=d=>d.done?n(d.value):Promise.resolve(d.value).then(i,c);s((a=a.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./gamification-dropdown-dc081799-qkGbJFv-.cjs"),r=require("./index-5e36ea65-8utgvA4y.cjs"),o=require("./player-elevate-card-items-2a1dc5b5-Bbza8SeJ.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.clientStyling="",this.clientStylingUrl="",this.translationUrl="",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)})}}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 q(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 N=6e4,$=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)}},W="trunc";function E(e){return e?b[e]:b[W]}function z(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/$;return E(a==null?void 0:a.roundingMethod)(n)}function U(e,t,a){o.requiredArgs(2,arguments);var n=L(e,t)/N;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,c=t>1?1:t,s=c*i-n<0?0:c*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"),k=e.querySelector("#filter_heart"),S=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,v=i-D;g.setAttribute("cx",`${v}`),u.setAttribute("x1",`${v}`),u.setAttribute("x2",`${v}`),y.setAttribute("x1",`${v-6}`),y.setAttribute("x2",`${v-6+11.2}`),S.setAttribute("x",`${v-6}`),k.setAttribute("x",`${v-6-2}`),C.setAttribute("x",`${v-6-2-2}`),P.setAttribute("x",`${v-6-2-2-4}`),T.setAttribute("x",`${v-6}`),A.setAttribute("x",`${v-6}`),a.parentElement.style.opacity="1"}const H=`:host {
2
2
  display: block;
3
3
  width: 360px;
4
4
  height: 230px;
@@ -2,21 +2,21 @@ var b = (e, t, a) => new Promise((n, r) => {
2
2
  var l = (s) => {
3
3
  try {
4
4
  o(a.next(s));
5
- } catch (v) {
6
- r(v);
5
+ } catch (c) {
6
+ r(c);
7
7
  }
8
8
  }, d = (s) => {
9
9
  try {
10
10
  o(a.throw(s));
11
- } catch (v) {
12
- r(v);
11
+ } catch (c) {
12
+ r(c);
13
13
  }
14
14
  }, o = (s) => s.done ? n(s.value) : Promise.resolve(s.value).then(l, d);
15
15
  o((a = a.apply(e, t)).next());
16
16
  });
17
- import { G as pe } from "./gamification-dropdown-dc081799-DhEx3oAW.js";
18
- import { r as u, h as i, g as P, c as O, a as m, F as N } from "./index-5e36ea65-COdY7Qod.js";
19
- import { t as k, T as $, P as W, a as z, b as L, c as U, r as p, d as h, g as E } from "./player-elevate-card-items-2a1dc5b5-e_chraGM.js";
17
+ import { G as pe } from "./gamification-dropdown-dc081799-COWgoauo.js";
18
+ import { r as u, h as i, g as P, c as O, a as m, F as N } from "./index-5e36ea65-BQOFxtoF.js";
19
+ import { t as k, T as $, P as W, a as z, b as L, c as U, r as p, d as h, g as E } from "./player-elevate-card-items-2a1dc5b5-BGYI6LDp.js";
20
20
  const q = (e, t) => new Promise((a) => {
21
21
  fetch(e).then((n) => n.json()).then((n) => {
22
22
  Object.keys(n).forEach((r) => {
@@ -105,10 +105,10 @@ function Z(e, t) {
105
105
  return a.getTime() < n.getTime();
106
106
  }
107
107
  function ee(e, t) {
108
- const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"), v = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
109
- a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), v.setAttribute("x", `${o - 8}`);
110
- const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10, c = l - M;
111
- y.setAttribute("cx", `${c}`), x.setAttribute("x1", `${c}`), x.setAttribute("x2", `${c}`), f.setAttribute("x1", `${c - 6}`), f.setAttribute("x2", `${c - 6 + 11.2}`), D.setAttribute("x", `${c - 6}`), B.setAttribute("x", `${c - 6 - 2}`), A.setAttribute("x", `${c - 6 - 2 - 2}`), T.setAttribute("x", `${c - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${c - 6}`), R.setAttribute("x", `${c - 6}`), a.parentElement.style.opacity = "1";
108
+ const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, d = t > 1 ? 1 : t, o = d * l - n < 0 ? 0 : d * l - n, s = e.querySelector("#current_level"), c = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
109
+ a.setAttribute("viewbox", `0 0 ${o} 28`), s.setAttribute("width", `${o}`), g.setAttribute("cx", `${o < r ? r : o}`), c.setAttribute("x", `${o - 8}`);
110
+ const y = e.querySelector("#lock"), T = e.querySelector("#filter_heart_ball"), A = e.querySelector("#filter_ball"), B = e.querySelector("#filter_heart"), D = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), _ = e.querySelector("#lock_box"), R = e.querySelector("#heart_box"), M = 10, v = l - M;
111
+ y.setAttribute("cx", `${v}`), x.setAttribute("x1", `${v}`), x.setAttribute("x2", `${v}`), f.setAttribute("x1", `${v - 6}`), f.setAttribute("x2", `${v - 6 + 11.2}`), D.setAttribute("x", `${v - 6}`), B.setAttribute("x", `${v - 6 - 2}`), A.setAttribute("x", `${v - 6 - 2 - 2}`), T.setAttribute("x", `${v - 6 - 2 - 2 - 4}`), _.setAttribute("x", `${v - 6}`), R.setAttribute("x", `${v - 6}`), a.parentElement.style.opacity = "1";
112
112
  }
113
113
  const te = `:host {
114
114
  display: block;
@@ -355,12 +355,12 @@ const te = `:host {
355
355
  }
356
356
  let o = n.data;
357
357
  this.playerElevateLevel = o.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((r = o.spendableWallet) === null || r === void 0 ? void 0 : r.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
358
- const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, v = (d = n.data.loyaltyWallet) === null || d === void 0 ? void 0 : d.total;
358
+ const s = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, c = (d = n.data.loyaltyWallet) === null || d === void 0 ? void 0 : d.total;
359
359
  this.playerElevateLeveLoaded.emit({
360
360
  elevateLevelWalletTotal: s,
361
- loyaltyWalletTotal: v
361
+ loyaltyWalletTotal: c
362
362
  });
363
- let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(v);
363
+ let g = this.calcuatePointsToBeExpired(s), y = this.calcuatePointsToBeExpired(c);
364
364
  (g || y) && this.playerElevateLeveLoaded.emit({
365
365
  pointExpireString: g,
366
366
  xpExpireString: y
@@ -1,6 +1,6 @@
1
- import { G as ce } from "./gamification-dropdown-dc081799-DwwONu50.js";
2
- import { r as u, h as i, g as I, c as M, a as b, F as O } from "./index-5e36ea65-DT7tZRpo.js";
3
- import { t as P, T as N, P as $, a as W, b as m, c as z, r as v, d as p, g as L } from "./player-elevate-card-items-2a1dc5b5-R0FZQK7I.js";
1
+ import { G as ve } from "./gamification-dropdown-dc081799-D_3lOXxi.js";
2
+ import { r as u, h as i, g as I, c as M, a as b, F as O } from "./index-5e36ea65-BkSKs2J0.js";
3
+ import { t as P, T as N, P as $, a as W, b as m, c as z, r as c, d as p, g as L } from "./player-elevate-card-items-2a1dc5b5-C0Ul-nhu.js";
4
4
  const U = (e, t) => new Promise((a) => {
5
5
  fetch(e).then((n) => n.json()).then((n) => {
6
6
  Object.keys(n).forEach((r) => {
@@ -45,19 +45,19 @@ const U = (e, t) => new Promise((a) => {
45
45
  };
46
46
  H.style = F;
47
47
  function E(e) {
48
- v(1, arguments);
48
+ c(1, arguments);
49
49
  var t = p(e);
50
50
  return t.setHours(0, 0, 0, 0), t;
51
51
  }
52
52
  var j = 864e5;
53
53
  function G(e, t) {
54
- v(2, arguments);
54
+ c(2, arguments);
55
55
  var a = E(e), n = E(t), r = a.getTime() - L(a), l = n.getTime() - L(n);
56
56
  return Math.round((r - l) / j);
57
57
  }
58
58
  var X = 6e4, K = 36e5;
59
59
  function k(e, t) {
60
- return v(2, arguments), p(e).getTime() - p(t).getTime();
60
+ return c(2, arguments), p(e).getTime() - p(t).getTime();
61
61
  }
62
62
  var w = {
63
63
  ceil: Math.ceil,
@@ -72,23 +72,23 @@ function C(e) {
72
72
  return e ? w[e] : w[Y];
73
73
  }
74
74
  function J(e, t, a) {
75
- v(2, arguments);
75
+ c(2, arguments);
76
76
  var n = k(e, t) / K;
77
77
  return C(a?.roundingMethod)(n);
78
78
  }
79
79
  function Q(e, t, a) {
80
- v(2, arguments);
80
+ c(2, arguments);
81
81
  var n = k(e, t) / X;
82
82
  return C(a?.roundingMethod)(n);
83
83
  }
84
84
  function V(e, t) {
85
- v(2, arguments);
85
+ c(2, arguments);
86
86
  var a = p(e), n = p(t);
87
87
  return a.getTime() < n.getTime();
88
88
  }
89
89
  function Z(e, t) {
90
- const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, s = t > 1 ? 1 : t, d = s * l - n < 0 ? 0 : s * l - n, c = e.querySelector("#current_level"), h = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
91
- a.setAttribute("viewbox", `0 0 ${d} 28`), c.setAttribute("width", `${d}`), g.setAttribute("cx", `${d < r ? r : d}`), h.setAttribute("x", `${d - 8}`);
90
+ const a = e.querySelector("#total_level"), n = 17, r = 6.5, l = a.getBBox().width, s = t > 1 ? 1 : t, d = s * l - n < 0 ? 0 : s * l - n, v = e.querySelector("#current_level"), h = e.querySelector("#filter_current_level"), g = e.querySelector("#circle_current_level");
91
+ a.setAttribute("viewbox", `0 0 ${d} 28`), v.setAttribute("width", `${d}`), g.setAttribute("cx", `${d < r ? r : d}`), h.setAttribute("x", `${d - 8}`);
92
92
  const y = e.querySelector("#lock"), S = e.querySelector("#filter_heart_ball"), T = e.querySelector("#filter_ball"), A = e.querySelector("#filter_heart"), B = e.querySelector("#filter_lock"), f = e.querySelector("#paint0_linear_ball"), x = e.querySelector("#paint1_linear_lock"), D = e.querySelector("#lock_box"), _ = e.querySelector("#heart_box"), R = 10, o = l - R;
93
93
  y.setAttribute("cx", `${o}`), x.setAttribute("x1", `${o}`), x.setAttribute("x2", `${o}`), f.setAttribute("x1", `${o - 6}`), f.setAttribute("x2", `${o - 6 + 11.2}`), B.setAttribute("x", `${o - 6}`), A.setAttribute("x", `${o - 6 - 2}`), T.setAttribute("x", `${o - 6 - 2 - 2}`), S.setAttribute("x", `${o - 6 - 2 - 2 - 4}`), D.setAttribute("x", `${o - 6}`), _.setAttribute("x", `${o - 6}`), a.parentElement.style.opacity = "1";
94
94
  }
@@ -313,7 +313,7 @@ const ee = `:host {
313
313
  let t = "";
314
314
  if (!e || !e.aboutToExpire || e.aboutToExpire.length == 0 || e.aboutToExpire[0].points <= 0)
315
315
  return t;
316
- e.aboutToExpire.sort((d, c) => V(new Date(d.expireTime), new Date(c.expireTime)) ? -1 : 1);
316
+ e.aboutToExpire.sort((d, v) => V(new Date(d.expireTime), new Date(v.expireTime)) ? -1 : 1);
317
317
  const a = e.aboutToExpire[0], n = G(new Date(a.expireTime), /* @__PURE__ */ new Date());
318
318
  let r = 0, l = 0, s = n === 0 ? "pointsToBeExpiredDay" : "pointsToBeExpired";
319
319
  return n <= 0 && (r = J(new Date(a.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), s = r > 1 ? "pointsToBeExpiredHours" : "pointsToBeExpiredHour", r <= 0 && (l = Q(new Date(a.expireTime), /* @__PURE__ */ new Date(), { roundingMethod: "floor" }), s = l > 1 ? "pointsToBeExpiredMinutes" : "pointsToBeExpiredMinute")), t = P(s, {
@@ -337,12 +337,12 @@ const ee = `:host {
337
337
  }
338
338
  let d = n.data;
339
339
  this.playerElevateLevel = d.level, this.playerElevateLevel.name = this.playerElevateLevel.presentation.displayName || this.playerElevateLevel.name, this.playerElevateLevel.spendablePoints = ((r = d.spendableWallet) === null || r === void 0 ? void 0 : r.total.points) || 0, this.playerElevateLeveLoaded.emit({ elevateLevel: this.playerElevateLevel });
340
- const c = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, h = (s = n.data.loyaltyWallet) === null || s === void 0 ? void 0 : s.total;
340
+ const v = (l = n.data.spendableWallet) === null || l === void 0 ? void 0 : l.total, h = (s = n.data.loyaltyWallet) === null || s === void 0 ? void 0 : s.total;
341
341
  this.playerElevateLeveLoaded.emit({
342
- elevateLevelWalletTotal: c,
342
+ elevateLevelWalletTotal: v,
343
343
  loyaltyWalletTotal: h
344
344
  });
345
- let g = this.calcuatePointsToBeExpired(c), y = this.calcuatePointsToBeExpired(h);
345
+ let g = this.calcuatePointsToBeExpired(v), y = this.calcuatePointsToBeExpired(h);
346
346
  (g || y) && this.playerElevateLeveLoaded.emit({
347
347
  pointExpireString: g,
348
348
  xpExpireString: y
@@ -443,7 +443,7 @@ const ae = ":host{display:block}@media screen and (min-width: 501px){.LoyaltyCar
443
443
  };
444
444
  le.style = re;
445
445
  export {
446
- ce as gamification_dropdown,
446
+ ve as gamification_dropdown,
447
447
  H as general_styling_wrapper,
448
448
  ne as player_elevate_card_data,
449
449
  le as player_elevate_loyaltycard
@@ -1 +1 @@
1
- "use strict";var qe=Object.defineProperty;var le=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var ie=(e,t,s)=>t in e?qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ae=(e,t)=>{for(var s in t||(t={}))Be.call(t,s)&&ie(e,s,t[s]);if(le)for(var s of le(t))De.call(t,s)&&ie(e,s,t[s]);return e};var z=(e,t,s)=>new Promise((r,n)=>{var i=o=>{try{l(s.next(o))}catch(c){n(c)}},$=o=>{try{l(s.throw(o))}catch(c){n(c)}},l=o=>o.done?r(o.value):Promise.resolve(o.value).then(i,$);l((s=s.apply(e,t)).next())});const Fe="gamification-dropdown",I={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0};var Ce=Object.defineProperty,We=(e,t)=>{for(var s in t)Ce(e,s,{get:t[s],enumerable:!0})},Ge="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",N=new WeakMap,L=e=>N.get(e),Xe=(e,t)=>{N.set(t.$lazyInstance$=e,t)},Je=(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"]=[],N.set(e,s)},$e=(e,t)=>t in e,x=(e,t)=>(0,console.error)(e,t),G=new Map,Ke=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const i=G.get(n);if(i)return i[r];{const $=l=>(G.set(n,l),l[r]);switch(n){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-Js76nmRP.cjs")).then($,x);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-DOMKpcd1.cjs")).then($,x);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-DdN-6RUK.cjs")).then($,x)}}return import(`./${n}.entry.js`).then($=>(G.set(n,$),$[r]),$=>{x($,t.$hostElement$)})},q=new Map,Qe="sty-id",Ze="{visibility:hidden}.hydrated{visibility:inherit}",ge="slot-fb{display:contents}slot-fb[hidden]{display:none}",A=typeof window!="undefined"?window:{},k=A.document||{head:{}},p={$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)},Me=(()=>{let e=!1;try{k.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),ve=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),X=!1,oe=[],Se=[],Ne=(e,t)=>s=>{e.push(s),X||(X=!0,p.$flags$&4?V(J):p.raf(J))},ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){x(s)}e.length=0},J=()=>{ce(oe),ce(Se),(X=oe.length>0)&&p.raf(J)},V=e=>ve().then(e),Ve=Ne(Se),et=e=>{const t=new URL(e,p.$resourcesUrl$);return t.origin!==A.location.origin?t.href:t.pathname},ee=e=>(e=typeof e,e==="object"||e==="function");function Ee(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 tt={};We(tt,{err:()=>ke,map:()=>st,ok:()=>K,unwrap:()=>nt,unwrapErr:()=>rt});var K=e=>({isOk:!0,isErr:!1,value:e}),ke=e=>({isOk:!1,isErr:!0,value:e});function st(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>K(r)):K(s)}if(e.isErr){const s=e.value;return ke(s)}throw"should never get here"}var nt=e=>{if(e.isOk)return e.value;throw e.value},rt=e=>{if(e.isErr)return e.value;throw e.value},_e=e=>{const t=e.__childNodes||e.childNodes;e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Te(t,e.tagName).forEach(s=>{var r;s.nodeType===1&&s.tagName==="SLOT-FB"&&((r=lt(s,s["s-sn"],!1))!=null&&r.length?s.hidden=!0:s.hidden=!1)});for(const s of t)s.nodeType===1&&(s.__childNodes||s.childNodes).length&&_e(s)};function Te(e,t,s){let r=0,n=[],i;for(;r<e.length;r++)i=e[r],i["s-sr"]&&i["s-hn"]===t&&s===void 0&&n.push(i),n=[...n,...Te(i.childNodes,t,s)];return n}var lt=(e,t,s=!0)=>{const r=[];for((s&&e["s-sr"]||!e["s-sr"])&&r.push(e);(e=e.nextSibling)&&e["s-sn"]===t;)r.push(e);return r},fe=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",w=(e,t="")=>()=>{},it=(e,t)=>()=>{},te=(e,t,...s)=>{let r=null,n=null,i=null,$=!1,l=!1;const o=[],c=d=>{for(let a=0;a<d.length;a++)r=d[a],Array.isArray(r)?c(r):r!=null&&typeof r!="boolean"&&(($=typeof e!="function"&&!ee(r))&&(r=String(r)),$&&l?o[o.length-1].$text$+=r:o.push($?B(null,r):r),l=$)};if(c(s),t){t.key&&(n=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(a=>d[a]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,ot);const f=B(e,null);return f.$attrs$=t,o.length>0&&(f.$children$=o),f.$key$=n,f.$name$=i,f},B=(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},at={},$t=e=>e&&e.$tag$===at,ot={forEach:(e,t)=>e.map(de).forEach(t),map:(e,t)=>e.map(de).map(t).map(ct)},de=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),ct=e=>{if(typeof e.vtag=="function"){const s=ae({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),te(e.vtag,s,...e.vchildren||[])}const t=B(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Q=(e,t)=>e!=null&&!ee(e)&&t&1?String(e):e,Le=e=>L(e).$hostElement$,ft=(e,t,s)=>{const r=Le(e);return{emit:n=>xe(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},xe=(e,t,s)=>{const r=p.ce(t,s);return e.dispatchEvent(r),r},m=new WeakMap,dt=(e,t,s)=>{let r=q.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,q.set(e,r)},ut=(e,t,s)=>{var r;const n=be(t),i=q.get(n);if(e=e.nodeType===11?e:k,i)if(typeof i=="string"){e=e.head||e;let $=m.get(e),l;if($||m.set(e,$=new Set),!$.has(n)){{l=document.querySelector(`[${Qe}="${n}"]`)||k.createElement("style"),l.innerHTML=i;const o=(r=p.$nonce$)!=null?r:Ee(k);if(o!=null&&l.setAttribute("nonce",o),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),f=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e)if(ye){const c=new CSSStyleSheet;c.replaceSync(i),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=i+c.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=ge),$&&$.add(n)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return n},ht=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=t.$flags$,n=w("attachStyles",t.$tagName$),i=ut(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);r&10&&r&2&&(s["s-sc"]=i,s.classList.add(i+"-h")),n()},be=(e,t)=>"sc-"+e.$tagName$,ue=(e,t,s,r,n,i,$)=>{if(s!==r){let l=$e(e,t),o=t.toLowerCase();if(t==="class"){const c=e.classList,f=he(s);let d=he(r);c.remove(...f.filter(a=>a&&!d.includes(a))),c.add(...d.filter(a=>a&&!f.includes(a)))}else if(t==="style"){for(const c in s)(!r||r[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(const c in r)(!s||r[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,r[c]):e.style[c]=r[c])}else if(t!=="key")if(t==="ref")r&&r(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):$e(A,o)?t=o.slice(2):t=o[2]+t.slice(3),s||r){const c=t.endsWith(we);t=t.replace(gt,""),s&&p.rel(e,t,s,c),r&&p.ael(e,t,r,c)}}else{const c=ee(r);if((l||c&&r!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==r&&(e[t]=r);else{const f=r==null?"":r;t==="list"?l=!1:(s==null||e[t]!=f)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch(f){}r==null||r===!1?(r!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||n)&&!c&&(r=r===!0?"":r,e.setAttribute(t,r))}}},pt=/\s/,he=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(pt)),we="Capture",gt=new RegExp(we+"$"),Pe=(e,t,s,r)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||{},$=t.$attrs$||{};for(const l of pe(Object.keys(i)))l in $||ue(n,l,i[l],void 0,s,t.$flags$);for(const l of pe(Object.keys($)))ue(n,l,i[l],$[l],s,t.$flags$)};function pe(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var Z,W,D=!1,F=!1,se=!1,E=!1,C=(e,t,s)=>{var r;const n=t.$children$[s];let i=0,$,l,o;if(D||(se=!0,n.$tag$==="slot"&&(n.$flags$|=n.$children$?2:1)),n.$text$!==null)$=n.$elm$=k.createTextNode(n.$text$);else if(n.$flags$&1)$=n.$elm$=k.createTextNode("");else{if(E||(E=n.$tag$==="svg"),$=n.$elm$=k.createElementNS(E?Ge:Ye,!D&&I.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),E&&n.$tag$==="foreignObject"&&(E=!1),Pe(null,n,E),n.$children$)for(i=0;i<n.$children$.length;++i)l=C(e,n,i),l&&$.appendChild(l);n.$tag$==="svg"?E=!1:$.tagName==="foreignObject"&&(E=!0)}return $["s-hn"]=W,n.$flags$&3&&($["s-sr"]=!0,$["s-cr"]=Z,$["s-sn"]=n.$name$||"",$["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,o=e&&e.$children$&&e.$children$[s],o&&o.$tag$===n.$tag$&&e.$elm$&&j(e.$elm$,!1)),$},j=(e,t)=>{p.$flags$|=1;const s=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&I.experimentalSlotFixes;for(let r=s.length-1;r>=0;r--){const n=s[r];n["s-hn"]!==W&&n["s-ol"]&&(P(R(n).parentNode,n,R(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,se=!0),t&&j(n,t)}p.$flags$&=-2},Oe=(e,t,s,r,n,i)=>{let $=e["s-cr"]&&e["s-cr"].parentNode||e,l;for($.shadowRoot&&$.tagName===W&&($=$.shadowRoot);n<=i;++n)r[n]&&(l=C(null,s,n),l&&(r[n].$elm$=l,P($,l,R(t))))},me=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const i=n.$elm$;je(n),i&&(F=!0,i["s-ol"]?i["s-ol"].remove():j(i,!0),i.remove())}}},vt=(e,t,s,r,n=!1)=>{let i=0,$=0,l=0,o=0,c=t.length-1,f=t[0],d=t[c],a=r.length-1,u=r[0],h=r[a],g,S;for(;i<=c&&$<=a;)if(f==null)f=t[++i];else if(d==null)d=t[--c];else if(u==null)u=r[++$];else if(h==null)h=r[--a];else if(U(f,u,n))O(f,u,n),f=t[++i],u=r[++$];else if(U(d,h,n))O(d,h,n),d=t[--c],h=r[--a];else if(U(f,h,n))(f.$tag$==="slot"||h.$tag$==="slot")&&j(f.$elm$.parentNode,!1),O(f,h,n),P(e,f.$elm$,d.$elm$.nextSibling),f=t[++i],h=r[--a];else if(U(d,u,n))(f.$tag$==="slot"||h.$tag$==="slot")&&j(d.$elm$.parentNode,!1),O(d,u,n),P(e,d.$elm$,f.$elm$),d=t[--c],u=r[++$];else{for(l=-1,o=i;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){l=o;break}l>=0?(S=t[l],S.$tag$!==u.$tag$?g=C(t&&t[$],s,l):(O(S,u,n),t[l]=void 0,g=S.$elm$),u=r[++$]):(g=C(t&&t[$],s,$),u=r[++$]),g&&P(R(f.$elm$).parentNode,g,R(f.$elm$))}i>c?Oe(e,r[a+1]==null?null:r[a+1].$elm$,s,r,$,a):$>a&&me(t,i,c)},U=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,R=e=>e&&e["s-ol"]||e,O=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,i=t.$children$,$=t.$tag$,l=t.$text$;let o;l===null?(E=$==="svg"?!0:$==="foreignObject"?!1:E,$==="slot"&&!D||Pe(e,t,E),n!==null&&i!==null?vt(r,n,t,i,s):i!==null?(e.$text$!==null&&(r.textContent=""),Oe(r,null,t,i,0,i.length-1)):!s&&I.updatable&&n!==null&&me(n,0,n.length-1),E&&$==="svg"&&(E=!1)):(o=r["s-cr"])?o.parentNode.textContent=l:e.$text$!==l&&(r.data=l)},b=[],Ae=e=>{let t,s,r;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const $=i["s-sn"];for(r=s.length-1;r>=0;r--)if(t=s[r],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(fe(t,$)){let l=b.find(o=>o.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||$,l?(l.$nodeToRelocate$["s-sh"]=i["s-hn"],l.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],b.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&b.map(o=>{fe(o.$nodeToRelocate$,t["s-sn"])&&(l=b.find(c=>c.$nodeToRelocate$===t),l&&!o.$slotRefNode$&&(o.$slotRefNode$=l.$slotRefNode$))})}else b.some(l=>l.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}i.nodeType===1&&Ae(i)}},je=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(je)},P=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),yt=(e,t,s=!1)=>{var r,n,i,$;const l=e.$hostElement$,o=e.$cmpMeta$,c=e.$vnode$||B(null,null),f=$t(t)?t:te(null,null,t);if(W=l.tagName,o.$attrsToReflect$&&(f.$attrs$=f.$attrs$||{},o.$attrsToReflect$.map(([d,a])=>f.$attrs$[a]=l[d])),s&&f.$attrs$)for(const d of Object.keys(f.$attrs$))l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(f.$attrs$[d]=l[d]);f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=c.$elm$=l.shadowRoot||l,D=(o.$flags$&1)!==0,Z=l["s-cr"],F=!1,O(c,f,s);{if(p.$flags$|=1,se){Ae(f.$elm$);for(const d of b){const a=d.$nodeToRelocate$;if(!a["s-ol"]){const u=k.createTextNode("");u["s-nr"]=a,P(a.parentNode,a["s-ol"]=u,a)}}for(const d of b){const a=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const h=u.parentNode;let g=u.nextSibling;{let _=(r=a["s-ol"])==null?void 0:r.previousSibling;for(;_;){let y=(n=_["s-nr"])!=null?n:null;if(y&&y["s-sn"]===a["s-sn"]&&h===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===a||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){g=y;break}}_=_.previousSibling}}const S=a.__parentNode||a.parentNode,v=a.__nextSibling||a.nextSibling;(!g&&h!==S||v!==g)&&a!==g&&(!a["s-hn"]&&a["s-ol"]&&(a["s-hn"]=a["s-ol"].parentNode.nodeName),P(h,a,g),a.nodeType===1&&a.tagName!=="SLOT-FB"&&(a.hidden=(i=a["s-ih"])!=null?i:!1)),a&&typeof u["s-rf"]=="function"&&u["s-rf"](a)}else a.nodeType===1&&(s&&(a["s-ih"]=($=a.hidden)!=null?$:!1),a.hidden=!0)}}F&&_e(f.$elm$),p.$flags$&=-2,b.length=0}Z=void 0},Re=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const s=t["s-p"].push(new Promise(r=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),r()}))}},ne=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ve(()=>St(e,t))},St=(e,t)=>{const s=e.$hostElement$,r=w("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 i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([$,l])=>M(n,$,l,s)),e.$queuedListeners$=void 0),i=M(n,"componentWillLoad",void 0,s)),r(),Et(i,()=>_t(e,n,t))},Et=(e,t)=>kt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),kt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=(e,t,s)=>z(exports,null,function*(){var r;const n=e.$hostElement$,i=w("update",e.$cmpMeta$.$tagName$),$=n["s-rc"];s&&ht(e);const l=w("render",e.$cmpMeta$.$tagName$);Tt(e,t,n,s),$&&($.map(o=>o()),n["s-rc"]=void 0),l(),i();{const o=(r=n["s-p"])!=null?r:[],c=()=>Lt(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),Tt=(e,t,s,r)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,yt(e,t,r)}catch(n){x(n,e.$hostElement$)}return null},Lt=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=w("postUpdate",t),n=e.$lazyInstance$,i=e.$ancestorComponent$;M(n,"componentDidRender",void 0,s),e.$flags$&64?r():(e.$flags$|=64,xt(s),r(),e.$onReadyResolve$(s),i||Ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&V(()=>ne(e,!1)),e.$flags$&=-517},Ie=e=>{V(()=>xe(A,"appload",{detail:{namespace:Fe}}))},M=(e,t,s,r)=>{if(e&&e[t])try{return e[t](s)}catch(n){x(n,r)}},xt=e=>{var t;return e.classList.add((t=I.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>L(e).$instanceValues$.get(t),Y=(e,t,s,r)=>{const n=L(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 i=n.$hostElement$,$=n.$instanceValues$.get(t),l=n.$flags$,o=n.$lazyInstance$;s=Q(s,r.$members$[t][0]);const c=Number.isNaN($)&&Number.isNaN(s),f=s!==$&&!c;if((!(l&8)||$===void 0)&&f&&(n.$instanceValues$.set(t,s),o)){if(r.$watchers$&&l&128){const d=r.$watchers$[t];d&&d.map(a=>{try{o[a](s,$,t)}catch(u){x(u,i)}})}(l&18)===2&&ne(n,!1)}},He=(e,t,s)=>{var r,n;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const $=Object.entries((r=t.$members$)!=null?r:{});if($.map(([l,[o]])=>{if(o&31||s&2&&o&32){const{get:c,set:f}=Object.getOwnPropertyDescriptor(i,l)||{};c&&(t.$members$[l][0]|=2048),f&&(t.$members$[l][0]|=4096),(s&1||!c)&&Object.defineProperty(i,l,{get(){{if(!(t.$members$[l][0]&2048))return bt(this,l);const d=L(this),a=d?d.$lazyInstance$:i;return a?a[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(d){const a=L(this);if(f){const u=o&32?this[l]:a.$hostElement$[l];typeof u=="undefined"&&a.$instanceValues$.get(l)?d=a.$instanceValues$.get(l):!a.$instanceValues$.get(l)&&u&&a.$instanceValues$.set(l,u),f.apply(this,[Q(d,o)]),d=o&32?this[l]:a.$hostElement$[l],Y(this,l,d,t);return}{if(!(s&1)||!(t.$members$[l][0]&4096)){Y(this,l,d,t),s&1&&!a.$lazyInstance$&&a.$onReadyPromise$.then(()=>{t.$members$[l][0]&4096&&a.$lazyInstance$[l]!==a.$instanceValues$.get(l)&&(a.$lazyInstance$[l]=d)});return}const u=()=>{const h=a.$lazyInstance$[l];!a.$instanceValues$.get(l)&&h&&a.$instanceValues$.set(l,h),a.$lazyInstance$[l]=Q(d,o),Y(this,l,a.$lazyInstance$[l],t)};a.$lazyInstance$?u():a.$onReadyPromise$.then(()=>u())}}})}}),s&1){const l=new Map;i.attributeChangedCallback=function(o,c,f){p.jmp(()=>{var d;const a=l.get(o);if(this.hasOwnProperty(a)&&I.lazyLoad)f=this[a],delete this[a];else{if(i.hasOwnProperty(a)&&typeof this[a]=="number"&&this[a]==f)return;if(a==null){const h=L(this),g=h==null?void 0:h.$flags$;if(g&&!(g&8)&&g&128&&f!==c){const S=h.$lazyInstance$,v=(d=t.$watchers$)==null?void 0:d[o];v==null||v.forEach(_=>{S[_]!=null&&S[_].call(S,f,c,o)})}return}}const u=Object.getOwnPropertyDescriptor(i,a);f=f===null&&typeof this[a]=="boolean"?!1:f,f!==this[a]&&(!u.get||u.set)&&(this[a]=f)})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...$.filter(([o,c])=>c[0]&15).map(([o,c])=>{var f;const d=c[1]||o;return l.set(d,o),c[0]&512&&((f=t.$attrsToReflect$)==null||f.push([o,d])),d})]))}}return e},wt=(e,t,s,r)=>z(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const o=Ke(s,t);if(o&&"then"in o){const f=it();n=yield o,f()}else n=o;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,He(n,s,2),n.isProxied=!0);const c=w("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(f){x(f,e)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const c=be(s);if(!q.has(c)){const f=w("registerStyles",s.$tagName$);dt(c,o,!!(s.$flags$&1)),f()}}}const i=t.$ancestorComponent$,$=()=>ne(t,!0);i&&i["s-rc"]?i["s-rc"].push($):$()}),Pt=(e,t)=>{},Ot=e=>{if(!(p.$flags$&1)){const t=L(e),s=t.$cmpMeta$,r=w("connectedCallback",s.$tagName$);if(t.$flags$&1)ze(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Pt());else{t.$flags$|=1,s.$flags$&12&&mt(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Re(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[i]])=>{if(i&31&&e.hasOwnProperty(n)){const $=e[n];delete e[n],e[n]=$}}),wt(e,t,s)}r()}},mt=e=>{const t=e["s-cr"]=k.createComment("");t["s-cn"]=!0,P(e,t,e.firstChild)},At=(e,t)=>{},jt=e=>z(exports,null,function*(){if(!(p.$flags$&1)){const t=L(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>At())}m.has(e)&&m.delete(e),e.shadowRoot&&m.has(e.shadowRoot)&&m.delete(e.shadowRoot)}),Rt=(e,t={})=>{var s;const r=w(),n=[],i=t.exclude||[],$=A.customElements,l=k.head,o=l.querySelector("meta[charset]"),c=k.createElement("style"),f=[];let d,a=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(g=>{var S;const v={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};v.$flags$&4&&(u=!0),v.$members$=g[2],v.$listeners$=g[3],v.$attrsToReflect$=[],v.$watchers$=(S=g[4])!=null?S:{};const _=v.$tagName$,y=class extends HTMLElement{constructor(T){if(super(T),this.hasRegisteredEventListeners=!1,T=this,Je(T,v),v.$flags$&1){if(!T.shadowRoot)T.attachShadow({mode:"open"});else if(T.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${v.$tagName$}! Mode is set to ${T.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const T=L(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ze(this,T,v.$listeners$)),d&&(clearTimeout(d),d=null),a?f.push(this):p.jmp(()=>Ot(this))}disconnectedCallback(){p.jmp(()=>jt(this)),p.raf(()=>{var T;const H=L(this),re=f.findIndex(Ue=>Ue===this);re>-1&&f.splice(re,1),((T=H==null?void 0:H.$vnode$)==null?void 0:T.$elm$)instanceof Node&&!H.$vnode$.$elm$.isConnected&&delete H.$vnode$.$elm$})}componentOnReady(){return L(this).$onReadyPromise$}};v.$lazyBundleId$=h[0],!i.includes(_)&&!$.get(_)&&(n.push(_),$.define(_,He(y,v,1)))})}),n.length>0&&(u&&(c.textContent+=ge),c.textContent+=n.sort()+Ze,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=p.$nonce$)!=null?s:Ee(k);h!=null&&c.setAttribute("nonce",h),l.insertBefore(c,o?o.nextSibling:l.firstChild)}a=!1,f.length?f.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(Ie,30)),r()},It=(e,t)=>t,ze=(e,t,s,r)=>{s&&s.map(([n,i,$])=>{const l=zt(e,n),o=Ht(t,$),c=Ut(n);p.ael(l,i,o,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>p.rel(l,i,o,c))})},Ht=(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){x(n,e.$hostElement$)}},zt=(e,t)=>t&8?A:e,Ut=e=>Me?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=It;exports.bootstrapLazy=Rt;exports.createEvent=ft;exports.getAssetPath=et;exports.getElement=Le;exports.h=te;exports.promiseResolve=ve;exports.registerInstance=Xe;
1
+ "use strict";var qe=Object.defineProperty;var le=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable;var ie=(e,t,s)=>t in e?qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,oe=(e,t)=>{for(var s in t||(t={}))Be.call(t,s)&&ie(e,s,t[s]);if(le)for(var s of le(t))De.call(t,s)&&ie(e,s,t[s]);return e};var z=(e,t,s)=>new Promise((r,n)=>{var i=$=>{try{l(s.next($))}catch(c){n(c)}},a=$=>{try{l(s.throw($))}catch(c){n(c)}},l=$=>$.done?r($.value):Promise.resolve($.value).then(i,a);l((s=s.apply(e,t)).next())});const Fe="gamification-dropdown",I={experimentalSlotFixes:!1,hydratedSelectorName:"hydrated",lazyLoad:!0,slotRelocation:!0,updatable:!0};var Ce=Object.defineProperty,We=(e,t)=>{for(var s in t)Ce(e,s,{get:t[s],enumerable:!0})},Ge="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",N=new WeakMap,L=e=>N.get(e),Xe=(e,t)=>{N.set(t.$lazyInstance$=e,t)},Je=(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"]=[],N.set(e,s)},ae=(e,t)=>t in e,x=(e,t)=>(0,console.error)(e,t),G=new Map,Ke=(e,t,s)=>{const r=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const i=G.get(n);if(i)return i[r];{const a=l=>(G.set(n,l),l[r]);switch(n){case"gamification-dropdown_4":return Promise.resolve().then(()=>require("./gamification-dropdown_4-CD0pDli_.cjs")).then(a,x);case"player-elevate-card":return Promise.resolve().then(()=>require("./player-elevate-card-jcWIm8Vs.cjs")).then(a,x);case"player-elevate-pointcard":return Promise.resolve().then(()=>require("./player-elevate-pointcard-Bx5fP0DY.cjs")).then(a,x)}}return import(`./${n}.entry.js`).then(a=>(G.set(n,a),a[r]),a=>{x(a,t.$hostElement$)})},q=new Map,Qe="sty-id",Ze="{visibility:hidden}.hydrated{visibility:inherit}",pe="slot-fb{display:contents}slot-fb[hidden]{display:none}",A=typeof window!="undefined"?window:{},k=A.document||{head:{}},v={$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)},Me=(()=>{let e=!1;try{k.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch(t){}return e})(),ge=e=>Promise.resolve(e),ye=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),X=!1,$e=[],Se=[],Ne=(e,t)=>s=>{e.push(s),X||(X=!0,v.$flags$&4?V(J):v.raf(J))},ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){x(s)}e.length=0},J=()=>{ce($e),ce(Se),(X=$e.length>0)&&v.raf(J)},V=e=>ge().then(e),Ve=Ne(Se),et=e=>{const t=new URL(e,v.$resourcesUrl$);return t.origin!==A.location.origin?t.href:t.pathname},ee=e=>(e=typeof e,e==="object"||e==="function");function Ee(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 tt={};We(tt,{err:()=>ke,map:()=>st,ok:()=>K,unwrap:()=>nt,unwrapErr:()=>rt});var K=e=>({isOk:!0,isErr:!1,value:e}),ke=e=>({isOk:!1,isErr:!0,value:e});function st(e,t){if(e.isOk){const s=t(e.value);return s instanceof Promise?s.then(r=>K(r)):K(s)}if(e.isErr){const s=e.value;return ke(s)}throw"should never get here"}var nt=e=>{if(e.isOk)return e.value;throw e.value},rt=e=>{if(e.isErr)return e.value;throw e.value},_e=e=>{const t=e.__childNodes||e.childNodes;e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Te(t,e.tagName).forEach(s=>{var r;s.nodeType===1&&s.tagName==="SLOT-FB"&&((r=lt(s,s["s-sn"],!1))!=null&&r.length?s.hidden=!0:s.hidden=!1)});for(const s of t)s.nodeType===1&&(s.__childNodes||s.childNodes).length&&_e(s)};function Te(e,t,s){let r=0,n=[],i;for(;r<e.length;r++)i=e[r],i["s-sr"]&&i["s-hn"]===t&&s===void 0&&n.push(i),n=[...n,...Te(i.childNodes,t,s)];return n}var lt=(e,t,s=!0)=>{const r=[];for((s&&e["s-sr"]||!e["s-sr"])&&r.push(e);(e=e.nextSibling)&&e["s-sn"]===t;)r.push(e);return r},fe=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t?!0:t==="",w=(e,t="")=>()=>{},it=(e,t)=>()=>{},te=(e,t,...s)=>{let r=null,n=null,i=null,a=!1,l=!1;const $=[],c=d=>{for(let o=0;o<d.length;o++)r=d[o],Array.isArray(r)?c(r):r!=null&&typeof r!="boolean"&&((a=typeof e!="function"&&!ee(r))&&(r=String(r)),a&&l?$[$.length-1].$text$+=r:$.push(a?B(null,r):r),l=a)};if(c(s),t){t.key&&(n=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter(o=>d[o]).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,$,$t);const f=B(e,null);return f.$attrs$=t,$.length>0&&(f.$children$=$),f.$key$=n,f.$name$=i,f},B=(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},ot={},at=e=>e&&e.$tag$===ot,$t={forEach:(e,t)=>e.map(de).forEach(t),map:(e,t)=>e.map(de).map(t).map(ct)},de=e=>({vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}),ct=e=>{if(typeof e.vtag=="function"){const s=oe({},e.vattrs);return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),te(e.vtag,s,...e.vchildren||[])}const t=B(e.vtag,e.vtext);return t.$attrs$=e.vattrs,t.$children$=e.vchildren,t.$key$=e.vkey,t.$name$=e.vname,t},Q=(e,t)=>e!=null&&!ee(e)&&t&1?String(e):e,Le=e=>L(e).$hostElement$,ft=(e,t,s)=>{const r=Le(e);return{emit:n=>xe(r,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},xe=(e,t,s)=>{const r=v.ce(t,s);return e.dispatchEvent(r),r},m=new WeakMap,dt=(e,t,s)=>{let r=q.get(e);ye&&s?(r=r||new CSSStyleSheet,typeof r=="string"?r=t:r.replaceSync(t)):r=t,q.set(e,r)},ut=(e,t,s)=>{var r;const n=be(t),i=q.get(n);if(e=e.nodeType===11?e:k,i)if(typeof i=="string"){e=e.head||e;let a=m.get(e),l;if(a||m.set(e,a=new Set),!a.has(n)){{l=document.querySelector(`[${Qe}="${n}"]`)||k.createElement("style"),l.innerHTML=i;const $=(r=v.$nonce$)!=null?r:Ee(k);if($!=null&&l.setAttribute("nonce",$),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),f=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e)if(ye){const c=new CSSStyleSheet;c.replaceSync(i),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=i+c.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=pe),a&&a.add(n)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return n},ht=e=>{const t=e.$cmpMeta$,s=e.$hostElement$,r=t.$flags$,n=w("attachStyles",t.$tagName$),i=ut(s.shadowRoot?s.shadowRoot:s.getRootNode(),t);r&10&&r&2&&(s["s-sc"]=i,s.classList.add(i+"-h")),n()},be=(e,t)=>"sc-"+e.$tagName$,ue=(e,t,s,r,n,i,a)=>{if(s!==r){let l=ae(e,t),$=t.toLowerCase();if(t==="class"){const c=e.classList,f=he(s);let d=he(r);c.remove(...f.filter(o=>o&&!d.includes(o))),c.add(...d.filter(o=>o&&!f.includes(o)))}else if(t==="style"){for(const c in s)(!r||r[c]==null)&&(c.includes("-")?e.style.removeProperty(c):e.style[c]="");for(const c in r)(!s||r[c]!==s[c])&&(c.includes("-")?e.style.setProperty(c,r[c]):e.style[c]=r[c])}else if(t!=="key")if(t==="ref")r&&r(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):ae(A,$)?t=$.slice(2):t=$[2]+t.slice(3),s||r){const c=t.endsWith(we);t=t.replace(pt,""),s&&v.rel(e,t,s,c),r&&v.ael(e,t,r,c)}}else{const c=ee(r);if((l||c&&r!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==r&&(e[t]=r);else{const f=r==null?"":r;t==="list"?l=!1:(s==null||e[t]!=f)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch(f){}r==null||r===!1?(r!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||n)&&!c&&(r=r===!0?"":r,e.setAttribute(t,r))}}},vt=/\s/,he=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(vt)),we="Capture",pt=new RegExp(we+"$"),Pe=(e,t,s,r)=>{const n=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,i=e&&e.$attrs$||{},a=t.$attrs$||{};for(const l of ve(Object.keys(i)))l in a||ue(n,l,i[l],void 0,s,t.$flags$);for(const l of ve(Object.keys(a)))ue(n,l,i[l],a[l],s,t.$flags$)};function ve(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var Z,W,D=!1,F=!1,se=!1,E=!1,C=(e,t,s)=>{var r;const n=t.$children$[s];let i=0,a,l,$;if(D||(se=!0,n.$tag$==="slot"&&(n.$flags$|=n.$children$?2:1)),n.$text$!==null)a=n.$elm$=k.createTextNode(n.$text$);else if(n.$flags$&1)a=n.$elm$=k.createTextNode("");else{if(E||(E=n.$tag$==="svg"),a=n.$elm$=k.createElementNS(E?Ge:Ye,!D&&I.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),E&&n.$tag$==="foreignObject"&&(E=!1),Pe(null,n,E),n.$children$)for(i=0;i<n.$children$.length;++i)l=C(e,n,i),l&&a.appendChild(l);n.$tag$==="svg"?E=!1:a.tagName==="foreignObject"&&(E=!0)}return a["s-hn"]=W,n.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=Z,a["s-sn"]=n.$name$||"",a["s-rf"]=(r=n.$attrs$)==null?void 0:r.ref,$=e&&e.$children$&&e.$children$[s],$&&$.$tag$===n.$tag$&&e.$elm$&&j(e.$elm$,!1)),a},j=(e,t)=>{v.$flags$|=1;const s=Array.from(e.__childNodes||e.childNodes);e["s-sr"]&&I.experimentalSlotFixes;for(let r=s.length-1;r>=0;r--){const n=s[r];n["s-hn"]!==W&&n["s-ol"]&&(P(R(n).parentNode,n,R(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,se=!0),t&&j(n,t)}v.$flags$&=-2},Oe=(e,t,s,r,n,i)=>{let a=e["s-cr"]&&e["s-cr"].parentNode||e,l;for(a.shadowRoot&&a.tagName===W&&(a=a.shadowRoot);n<=i;++n)r[n]&&(l=C(null,s,n),l&&(r[n].$elm$=l,P(a,l,R(t))))},me=(e,t,s)=>{for(let r=t;r<=s;++r){const n=e[r];if(n){const i=n.$elm$;je(n),i&&(F=!0,i["s-ol"]?i["s-ol"].remove():j(i,!0),i.remove())}}},gt=(e,t,s,r,n=!1)=>{let i=0,a=0,l=0,$=0,c=t.length-1,f=t[0],d=t[c],o=r.length-1,u=r[0],h=r[o],p,S;for(;i<=c&&a<=o;)if(f==null)f=t[++i];else if(d==null)d=t[--c];else if(u==null)u=r[++a];else if(h==null)h=r[--o];else if(U(f,u,n))O(f,u,n),f=t[++i],u=r[++a];else if(U(d,h,n))O(d,h,n),d=t[--c],h=r[--o];else if(U(f,h,n))(f.$tag$==="slot"||h.$tag$==="slot")&&j(f.$elm$.parentNode,!1),O(f,h,n),P(e,f.$elm$,d.$elm$.nextSibling),f=t[++i],h=r[--o];else if(U(d,u,n))(f.$tag$==="slot"||h.$tag$==="slot")&&j(d.$elm$.parentNode,!1),O(d,u,n),P(e,d.$elm$,f.$elm$),d=t[--c],u=r[++a];else{for(l=-1,$=i;$<=c;++$)if(t[$]&&t[$].$key$!==null&&t[$].$key$===u.$key$){l=$;break}l>=0?(S=t[l],S.$tag$!==u.$tag$?p=C(t&&t[a],s,l):(O(S,u,n),t[l]=void 0,p=S.$elm$),u=r[++a]):(p=C(t&&t[a],s,a),u=r[++a]),p&&P(R(f.$elm$).parentNode,p,R(f.$elm$))}i>c?Oe(e,r[o+1]==null?null:r[o+1].$elm$,s,r,a,o):a>o&&me(t,i,c)},U=(e,t,s=!1)=>e.$tag$===t.$tag$?e.$tag$==="slot"?e.$name$===t.$name$:s?(s&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,R=e=>e&&e["s-ol"]||e,O=(e,t,s=!1)=>{const r=t.$elm$=e.$elm$,n=e.$children$,i=t.$children$,a=t.$tag$,l=t.$text$;let $;l===null?(E=a==="svg"?!0:a==="foreignObject"?!1:E,a==="slot"&&!D||Pe(e,t,E),n!==null&&i!==null?gt(r,n,t,i,s):i!==null?(e.$text$!==null&&(r.textContent=""),Oe(r,null,t,i,0,i.length-1)):!s&&I.updatable&&n!==null&&me(n,0,n.length-1),E&&a==="svg"&&(E=!1)):($=r["s-cr"])?$.parentNode.textContent=l:e.$text$!==l&&(r.data=l)},b=[],Ae=e=>{let t,s,r;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const a=i["s-sn"];for(r=s.length-1;r>=0;r--)if(t=s[r],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==i["s-hn"])if(fe(t,a)){let l=b.find($=>$.$nodeToRelocate$===t);F=!0,t["s-sn"]=t["s-sn"]||a,l?(l.$nodeToRelocate$["s-sh"]=i["s-hn"],l.$slotRefNode$=i):(t["s-sh"]=i["s-hn"],b.push({$slotRefNode$:i,$nodeToRelocate$:t})),t["s-sr"]&&b.map($=>{fe($.$nodeToRelocate$,t["s-sn"])&&(l=b.find(c=>c.$nodeToRelocate$===t),l&&!$.$slotRefNode$&&($.$slotRefNode$=l.$slotRefNode$))})}else b.some(l=>l.$nodeToRelocate$===t)||b.push({$nodeToRelocate$:t})}i.nodeType===1&&Ae(i)}},je=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(je)},P=(e,t,s)=>e==null?void 0:e.insertBefore(t,s),yt=(e,t,s=!1)=>{var r,n,i,a;const l=e.$hostElement$,$=e.$cmpMeta$,c=e.$vnode$||B(null,null),f=at(t)?t:te(null,null,t);if(W=l.tagName,$.$attrsToReflect$&&(f.$attrs$=f.$attrs$||{},$.$attrsToReflect$.map(([d,o])=>f.$attrs$[o]=l[d])),s&&f.$attrs$)for(const d of Object.keys(f.$attrs$))l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)&&(f.$attrs$[d]=l[d]);f.$tag$=null,f.$flags$|=4,e.$vnode$=f,f.$elm$=c.$elm$=l.shadowRoot||l,D=($.$flags$&1)!==0,Z=l["s-cr"],F=!1,O(c,f,s);{if(v.$flags$|=1,se){Ae(f.$elm$);for(const d of b){const o=d.$nodeToRelocate$;if(!o["s-ol"]){const u=k.createTextNode("");u["s-nr"]=o,P(o.parentNode,o["s-ol"]=u,o)}}for(const d of b){const o=d.$nodeToRelocate$,u=d.$slotRefNode$;if(u){const h=u.parentNode;let p=u.nextSibling;{let _=(r=o["s-ol"])==null?void 0:r.previousSibling;for(;_;){let y=(n=_["s-nr"])!=null?n:null;if(y&&y["s-sn"]===o["s-sn"]&&h===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===o||y!=null&&y["s-sr"];)y=y==null?void 0:y.nextSibling;if(!y||!y["s-nr"]){p=y;break}}_=_.previousSibling}}const S=o.__parentNode||o.parentNode,g=o.__nextSibling||o.nextSibling;(!p&&h!==S||g!==p)&&o!==p&&(!o["s-hn"]&&o["s-ol"]&&(o["s-hn"]=o["s-ol"].parentNode.nodeName),P(h,o,p),o.nodeType===1&&o.tagName!=="SLOT-FB"&&(o.hidden=(i=o["s-ih"])!=null?i:!1)),o&&typeof u["s-rf"]=="function"&&u["s-rf"](o)}else o.nodeType===1&&(s&&(o["s-ih"]=(a=o.hidden)!=null?a:!1),o.hidden=!0)}}F&&_e(f.$elm$),v.$flags$&=-2,b.length=0}Z=void 0},Re=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const s=t["s-p"].push(new Promise(r=>e.$onRenderResolve$=()=>{t["s-p"].splice(s-1,1),r()}))}},ne=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return Re(e,e.$ancestorComponent$),Ve(()=>St(e,t))},St=(e,t)=>{const s=e.$hostElement$,r=w("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 i;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map(([a,l])=>M(n,a,l,s)),e.$queuedListeners$=void 0),i=M(n,"componentWillLoad",void 0,s)),r(),Et(i,()=>_t(e,n,t))},Et=(e,t)=>kt(e)?e.then(t).catch(s=>{console.error(s),t()}):t(),kt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=(e,t,s)=>z(exports,null,function*(){var r;const n=e.$hostElement$,i=w("update",e.$cmpMeta$.$tagName$),a=n["s-rc"];s&&ht(e);const l=w("render",e.$cmpMeta$.$tagName$);Tt(e,t,n,s),a&&(a.map($=>$()),n["s-rc"]=void 0),l(),i();{const $=(r=n["s-p"])!=null?r:[],c=()=>Lt(e);$.length===0?c():(Promise.all($).then(c),e.$flags$|=4,$.length=0)}}),Tt=(e,t,s,r)=>{try{t=t.render&&t.render(),e.$flags$&=-17,e.$flags$|=2,yt(e,t,r)}catch(n){x(n,e.$hostElement$)}return null},Lt=e=>{const t=e.$cmpMeta$.$tagName$,s=e.$hostElement$,r=w("postUpdate",t),n=e.$lazyInstance$,i=e.$ancestorComponent$;M(n,"componentDidRender",void 0,s),e.$flags$&64?r():(e.$flags$|=64,xt(s),r(),e.$onReadyResolve$(s),i||Ie()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&V(()=>ne(e,!1)),e.$flags$&=-517},Ie=e=>{V(()=>xe(A,"appload",{detail:{namespace:Fe}}))},M=(e,t,s,r)=>{if(e&&e[t])try{return e[t](s)}catch(n){x(n,r)}},xt=e=>{var t;return e.classList.add((t=I.hydratedSelectorName)!=null?t:"hydrated")},bt=(e,t)=>L(e).$instanceValues$.get(t),Y=(e,t,s,r)=>{const n=L(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 i=n.$hostElement$,a=n.$instanceValues$.get(t),l=n.$flags$,$=n.$lazyInstance$;s=Q(s,r.$members$[t][0]);const c=Number.isNaN(a)&&Number.isNaN(s),f=s!==a&&!c;if((!(l&8)||a===void 0)&&f&&(n.$instanceValues$.set(t,s),$)){if(r.$watchers$&&l&128){const d=r.$watchers$[t];d&&d.map(o=>{try{$[o](s,a,t)}catch(u){x(u,i)}})}(l&18)===2&&ne(n,!1)}},He=(e,t,s)=>{var r,n;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const a=Object.entries((r=t.$members$)!=null?r:{});if(a.map(([l,[$]])=>{if($&31||s&2&&$&32){const{get:c,set:f}=Object.getOwnPropertyDescriptor(i,l)||{};c&&(t.$members$[l][0]|=2048),f&&(t.$members$[l][0]|=4096),(s&1||!c)&&Object.defineProperty(i,l,{get(){{if(!(t.$members$[l][0]&2048))return bt(this,l);const d=L(this),o=d?d.$lazyInstance$:i;return o?o[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(i,l,{set(d){const o=L(this);if(f){const u=$&32?this[l]:o.$hostElement$[l];typeof u=="undefined"&&o.$instanceValues$.get(l)?d=o.$instanceValues$.get(l):!o.$instanceValues$.get(l)&&u&&o.$instanceValues$.set(l,u),f.apply(this,[Q(d,$)]),d=$&32?this[l]:o.$hostElement$[l],Y(this,l,d,t);return}{if(!(s&1)||!(t.$members$[l][0]&4096)){Y(this,l,d,t),s&1&&!o.$lazyInstance$&&o.$onReadyPromise$.then(()=>{t.$members$[l][0]&4096&&o.$lazyInstance$[l]!==o.$instanceValues$.get(l)&&(o.$lazyInstance$[l]=d)});return}const u=()=>{const h=o.$lazyInstance$[l];!o.$instanceValues$.get(l)&&h&&o.$instanceValues$.set(l,h),o.$lazyInstance$[l]=Q(d,$),Y(this,l,o.$lazyInstance$[l],t)};o.$lazyInstance$?u():o.$onReadyPromise$.then(()=>u())}}})}}),s&1){const l=new Map;i.attributeChangedCallback=function($,c,f){v.jmp(()=>{var d;const o=l.get($);if(this.hasOwnProperty(o)&&I.lazyLoad)f=this[o],delete this[o];else{if(i.hasOwnProperty(o)&&typeof this[o]=="number"&&this[o]==f)return;if(o==null){const h=L(this),p=h==null?void 0:h.$flags$;if(p&&!(p&8)&&p&128&&f!==c){const S=h.$lazyInstance$,g=(d=t.$watchers$)==null?void 0:d[$];g==null||g.forEach(_=>{S[_]!=null&&S[_].call(S,f,c,$)})}return}}const u=Object.getOwnPropertyDescriptor(i,o);f=f===null&&typeof this[o]=="boolean"?!1:f,f!==this[o]&&(!u.get||u.set)&&(this[o]=f)})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...a.filter(([$,c])=>c[0]&15).map(([$,c])=>{var f;const d=c[1]||$;return l.set(d,$),c[0]&512&&((f=t.$attrsToReflect$)==null||f.push([$,d])),d})]))}}return e},wt=(e,t,s,r)=>z(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,s.$lazyBundleId$){const $=Ke(s,t);if($&&"then"in $){const f=it();n=yield $,f()}else n=$;if(!n)throw new Error(`Constructor for "${s.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(s.$watchers$=n.watchers,He(n,s,2),n.isProxied=!0);const c=w("createInstance",s.$tagName$);t.$flags$|=8;try{new n(t)}catch(f){x(f,e)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const $=e.localName;customElements.whenDefined($).then(()=>t.$flags$|=128)}if(n&&n.style){let $;typeof n.style=="string"&&($=n.style);const c=be(s);if(!q.has(c)){const f=w("registerStyles",s.$tagName$);dt(c,$,!!(s.$flags$&1)),f()}}}const i=t.$ancestorComponent$,a=()=>ne(t,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()}),Pt=(e,t)=>{},Ot=e=>{if(!(v.$flags$&1)){const t=L(e),s=t.$cmpMeta$,r=w("connectedCallback",s.$tagName$);if(t.$flags$&1)ze(e,t,s.$listeners$),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Pt());else{t.$flags$|=1,s.$flags$&12&&mt(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Re(t,t.$ancestorComponent$=n);break}}s.$members$&&Object.entries(s.$members$).map(([n,[i]])=>{if(i&31&&e.hasOwnProperty(n)){const a=e[n];delete e[n],e[n]=a}}),wt(e,t,s)}r()}},mt=e=>{const t=e["s-cr"]=k.createComment("");t["s-cn"]=!0,P(e,t,e.firstChild)},At=(e,t)=>{},jt=e=>z(exports,null,function*(){if(!(v.$flags$&1)){const t=L(e);t.$rmListeners$&&(t.$rmListeners$.map(s=>s()),t.$rmListeners$=void 0),t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>At())}m.has(e)&&m.delete(e),e.shadowRoot&&m.has(e.shadowRoot)&&m.delete(e.shadowRoot)}),Rt=(e,t={})=>{var s;const r=w(),n=[],i=t.exclude||[],a=A.customElements,l=k.head,$=l.querySelector("meta[charset]"),c=k.createElement("style"),f=[];let d,o=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let u=!1;if(e.map(h=>{h[1].map(p=>{var S;const g={$flags$:p[0],$tagName$:p[1],$members$:p[2],$listeners$:p[3]};g.$flags$&4&&(u=!0),g.$members$=p[2],g.$listeners$=p[3],g.$attrsToReflect$=[],g.$watchers$=(S=p[4])!=null?S:{};const _=g.$tagName$,y=class extends HTMLElement{constructor(T){if(super(T),this.hasRegisteredEventListeners=!1,T=this,Je(T,g),g.$flags$&1){if(!T.shadowRoot)T.attachShadow({mode:"open"});else if(T.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${T.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){const T=L(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ze(this,T,g.$listeners$)),d&&(clearTimeout(d),d=null),o?f.push(this):v.jmp(()=>Ot(this))}disconnectedCallback(){v.jmp(()=>jt(this)),v.raf(()=>{var T;const H=L(this),re=f.findIndex(Ue=>Ue===this);re>-1&&f.splice(re,1),((T=H==null?void 0:H.$vnode$)==null?void 0:T.$elm$)instanceof Node&&!H.$vnode$.$elm$.isConnected&&delete H.$vnode$.$elm$})}componentOnReady(){return L(this).$onReadyPromise$}};g.$lazyBundleId$=h[0],!i.includes(_)&&!a.get(_)&&(n.push(_),a.define(_,He(y,g,1)))})}),n.length>0&&(u&&(c.textContent+=pe),c.textContent+=n.sort()+Ze,c.innerHTML.length)){c.setAttribute("data-styles","");const h=(s=v.$nonce$)!=null?s:Ee(k);h!=null&&c.setAttribute("nonce",h),l.insertBefore(c,$?$.nextSibling:l.firstChild)}o=!1,f.length?f.map(h=>h.connectedCallback()):v.jmp(()=>d=setTimeout(Ie,30)),r()},It=(e,t)=>t,ze=(e,t,s,r)=>{s&&s.map(([n,i,a])=>{const l=zt(e,n),$=Ht(t,a),c=Ut(n);v.ael(l,i,$,c),(t.$rmListeners$=t.$rmListeners$||[]).push(()=>v.rel(l,i,$,c))})},Ht=(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){x(n,e.$hostElement$)}},zt=(e,t)=>t&8?A:e,Ut=e=>Me?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;exports.Fragment=It;exports.bootstrapLazy=Rt;exports.createEvent=ft;exports.getAssetPath=et;exports.getElement=Le;exports.h=te;exports.promiseResolve=ge;exports.registerInstance=Xe;