@everymatrix/player-account-controller 1.54.0 → 1.54.4

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 (96) hide show
  1. package/components/{GeneralLogout-CsWa2j6i.js → GeneralLogout-Ddt-oH9k.js} +1094 -1131
  2. package/components/{PlayerAccountBettingHistory-D_8K8e-E.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-FWYyFKmB.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BJP8eejl.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-DQGj69Re.js → PlayerAccountController-BZYAo3oo.js} +336 -353
  6. package/components/{PlayerAccountGamingLimits-Dt8hOZzW.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-B6SPYMpk.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +1 -1
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-BG2VPqUz.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-65MLJ2rD.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-CqTAvCh7.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-C3dTjA-p.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-diUVGesC.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-BmDihzLr.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-D3tbAl7Q.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +1 -1
  15. package/components/{PlayerAccountMenu-CbXhpL1a.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-5TJbkUF8.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-BVY-SXyT.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-BGfuEA4r.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +1488 -1572
  19. package/components/{PlayerAccountTimeout-BDDMm0XX.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-D0RUTvjl.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/{PlayerBonusCard-CU67pLmG.js → PlayerBonusCard-Dss1REmn.js} +2 -2
  22. package/components/{PlayerBonusHistory-BLedlLHg.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-8ZD6eOj-.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-D5Xuk21T.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-tb-rMGdz.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-DuN3Qn3P.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-DmKFg0dn.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-BUW8tvj3.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-hGi2tOL2.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-CR3Xpytk.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +11 -31
  33. package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
  34. package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
  35. package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
  36. package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
  37. package/stencil/{index-33f005e1-DGGQe5wK.js → index-33f005e1-fFxPaeNy.js} +223 -239
  38. package/stencil/{index-9b3245b3-3zj7bxxu.js → index-9b3245b3-rzHgwqlB.js} +166 -193
  39. package/stencil/{index-fc58390d-DeoeGpBS.js → index-fc58390d-BSwfXuUs.js} +267 -294
  40. package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
  41. package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
  42. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  43. package/stencil/{player-kyc-verification-o-RUWyY4.js → player-kyc-verification-BQZdJFEJ.js} +61 -83
  44. package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
  45. package/stencil/{user-deposit-withdrawal-DEMVRyvk.js → user-deposit-withdrawal-CmF0LoNb.js} +175 -197
  46. package/stencil/{user-transaction-history-CevHOCcm.js → user-transaction-history-BgV-k2Cl.js} +81 -107
  47. package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
  48. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
  49. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
  50. package/components/PlayerAccountClosure-DvHhtHhl.cjs +0 -1
  51. package/components/PlayerAccountController-DDLO4xVW.cjs +0 -1
  52. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
  53. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
  54. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
  55. package/components/PlayerAccountGamingLimitsHistory2-CG4RnfZE.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsPage2Gm16-CMnCgRU1.cjs +0 -21
  58. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsWrapper2-CW3N7E83.cjs +0 -1
  60. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
  61. package/components/PlayerAccountMenu-DHGBVm64.cjs +0 -1
  62. package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
  63. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
  64. package/components/PlayerAccountSelfExclusion-9vzbBY28.cjs +0 -3828
  65. package/components/PlayerAccountTimeout-f4vPyQE-.cjs +0 -1
  66. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
  67. package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
  68. package/components/PlayerBonusHistory-EXOvKzDr.cjs +0 -1
  69. package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
  70. package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
  71. package/components/PlayerGamingHistory-OEU1L3Q2.cjs +0 -1
  72. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
  73. package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
  74. package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
  75. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
  76. package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
  77. package/es2015/player-account-controller.cjs +0 -1
  78. package/es2015/player-account-controller.js +0 -16
  79. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
  80. package/stencil/app-globals-0f993ce5-8artnnwr.cjs +0 -1
  81. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
  82. package/stencil/general-input-fzGwoSoE.cjs +0 -1
  83. package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
  84. package/stencil/index-33f005e1-BS5PFnj3.cjs +0 -1
  85. package/stencil/index-9b3245b3-ByXtSZIM.cjs +0 -1
  86. package/stencil/index-fc58390d-DgBOSsU7.cjs +0 -1
  87. package/stencil/locale-B5abSHU_.cjs +0 -1
  88. package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
  89. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
  90. package/stencil/player-change-password-gm2-BEYcuzS-.cjs +0 -1
  91. package/stencil/player-change-password-gm2-NWnv4CCw.js +0 -25
  92. package/stencil/player-kyc-verification-_iT3bbO9.cjs +0 -180
  93. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
  94. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
  95. package/stencil/user-deposit-withdrawal-_jt0Ivg5.cjs +0 -59
  96. package/stencil/user-transaction-history-U0c__t1q.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as P, X as q } from "./GeneralLogout-CsWa2j6i.js";
1
+ import { a as ae, $ as ie, S as ce, i as se, f as F, c as ue, s as me, b as ye, e as v, k as T, o as D, p as E, q as ge, u as O, v as pe, x as de, y as fe, K as R, d as k, t as H, g as s, l as a, n as z, L as he, w as L, m as W, r as Ae, j as M, X as q } from "./GeneralLogout-Ddt-oH9k.js";
2
2
  function N(n, e) {
3
3
  ae(n, e);
4
4
  }
@@ -40,7 +40,7 @@ const G = {
40
40
  title: "My Account"
41
41
  }
42
42
  };
43
- if (typeof window != "undefined") {
43
+ if (typeof window < "u") {
44
44
  let n = function(e) {
45
45
  return function(...t) {
46
46
  try {
@@ -52,7 +52,7 @@ if (typeof window != "undefined") {
52
52
  }
53
53
  };
54
54
  };
55
- customElements.define = n(customElements.define), import("./GeneralLogout-CsWa2j6i.js").then((e) => e.a4).then(({ default: e }) => {
55
+ customElements.define = n(customElements.define), import("./GeneralLogout-Ddt-oH9k.js").then((e) => e.a4).then(({ default: e }) => {
56
56
  !customElements.get("general-logout") && customElements.define("general-logout", e.element);
57
57
  });
58
58
  }
@@ -64,7 +64,7 @@ function X(n, e, t) {
64
64
  return o[35] = e[t], o;
65
65
  }
66
66
  function be(n) {
67
- let e, t, o, r, y, m, p, A, w, b, f, _, M = (
67
+ let e, t, o, r, y, m, p, h, w, P, f, _, A = (
68
68
  /*isMobile*/
69
69
  n[10] && we(n)
70
70
  ), g = (
@@ -80,13 +80,13 @@ function be(n) {
80
80
  n[10] && _e(n);
81
81
  return {
82
82
  c() {
83
- e = v("div"), t = v("div"), M && M.c(), o = k(), r = v("p"), y = H(
83
+ e = v("div"), t = v("div"), A && A.c(), o = k(), r = v("p"), y = H(
84
84
  /*profileUsername*/
85
85
  n[7]
86
- ), m = k(), p = v("p"), A = H(
86
+ ), m = k(), p = v("p"), h = H(
87
87
  /*profileEmail*/
88
88
  n[8]
89
- ), w = k(), g && g.c(), b = k(), f = v("div");
89
+ ), w = k(), g && g.c(), P = k(), f = v("div");
90
90
  for (let i = 0; i < u.length; i += 1)
91
91
  u[i].c();
92
92
  _ = k(), C && C.c(), s(r, "class", "PlayerAccountMenuUser"), s(p, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
@@ -96,7 +96,7 @@ function be(n) {
96
96
  n[10] ? "PlayerAccountTabletContainer" : ""));
97
97
  },
98
98
  m(i, I) {
99
- T(i, e, I), a(e, t), M && M.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, A), a(t, w), g && g.m(t, null), a(e, b), a(e, f);
99
+ T(i, e, I), a(e, t), A && A.m(t, null), a(t, o), a(t, r), a(r, y), a(t, m), a(t, p), a(p, h), a(t, w), g && g.m(t, null), a(e, P), a(e, f);
100
100
  for (let d = 0; d < u.length; d += 1)
101
101
  u[d] && u[d].m(f, null);
102
102
  a(e, _), C && C.m(e, null);
@@ -104,14 +104,14 @@ function be(n) {
104
104
  p(i, I) {
105
105
  if (
106
106
  /*isMobile*/
107
- i[10] && M.p(i, I), I[0] & /*profileUsername*/
107
+ i[10] && A.p(i, I), I[0] & /*profileUsername*/
108
108
  128 && z(
109
109
  y,
110
110
  /*profileUsername*/
111
111
  i[7]
112
112
  ), I[0] & /*profileEmail*/
113
113
  256 && z(
114
- A,
114
+ h,
115
115
  /*profileEmail*/
116
116
  i[8]
117
117
  ), /*isMobile*/
@@ -135,21 +135,21 @@ function be(n) {
135
135
  i[10] || C.p(i, I);
136
136
  },
137
137
  d(i) {
138
- i && E(e), M && M.d(), g && g.d(), he(u, i), C && C.d();
138
+ i && E(e), A && A.d(), g && g.d(), he(u, i), C && C.d();
139
139
  }
140
140
  };
141
141
  }
142
142
  function we(n) {
143
- let e, t, o, r, y, m, p, A, w, b, f = (
143
+ let e, t, o, r, y, m, p, h, w, P, f = (
144
144
  /*$_*/
145
145
  n[9]("title") + ""
146
- ), _, M, g;
146
+ ), _, A, g;
147
147
  return {
148
148
  c() {
149
- e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), A = L("path"), w = k(), b = v("h3"), _ = H(f), s(A, "class", "aaa"), s(A, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(A, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(b, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
149
+ e = v("div"), t = L("svg"), o = L("defs"), r = L("style"), y = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = L("g"), p = L("g"), h = L("path"), w = k(), P = v("h3"), _ = H(f), s(h, "class", "aaa"), s(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(h, "transform", "translate(15 15) rotate(180)"), s(p, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(P, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
150
150
  },
151
151
  m(c, u) {
152
- T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, A), a(e, w), a(e, b), a(b, _), M || (g = [
152
+ T(c, e, u), a(e, t), a(t, o), a(o, r), a(r, y), a(t, m), a(m, p), a(p, h), a(e, w), a(e, P), a(P, _), A || (g = [
153
153
  W(
154
154
  t,
155
155
  "click",
@@ -157,12 +157,12 @@ function we(n) {
157
157
  n[13]
158
158
  ),
159
159
  W(
160
- b,
160
+ P,
161
161
  "click",
162
162
  /*goToHome*/
163
163
  n[13]
164
164
  )
165
- ], M = !0);
165
+ ], A = !0);
166
166
  },
167
167
  p(c, u) {
168
168
  u[0] & /*$_*/
@@ -170,7 +170,7 @@ function we(n) {
170
170
  c[9]("title") + "") && z(_, f);
171
171
  },
172
172
  d(c) {
173
- c && E(e), M = !1, Ae(g);
173
+ c && E(e), A = !1, Ae(g);
174
174
  }
175
175
  };
176
176
  }
@@ -178,22 +178,22 @@ function ve(n) {
178
178
  let e, t;
179
179
  return {
180
180
  c() {
181
- e = v("div"), t = v("general-logout"), P(
181
+ e = v("div"), t = v("general-logout"), M(
182
182
  t,
183
183
  "endpoint",
184
184
  /*endpoint*/
185
185
  n[1]
186
- ), P(
186
+ ), M(
187
187
  t,
188
188
  "session",
189
189
  /*session*/
190
190
  n[0]
191
- ), P(t, "buttonlocation", "PlayerAccountMenu"), P(
191
+ ), M(t, "buttonlocation", "PlayerAccountMenu"), M(
192
192
  t,
193
193
  "clientstyling",
194
194
  /*clientstyling*/
195
195
  n[2]
196
- ), P(
196
+ ), M(
197
197
  t,
198
198
  "clientstylingurl",
199
199
  /*clientstylingurl*/
@@ -205,25 +205,25 @@ function ve(n) {
205
205
  },
206
206
  p(o, r) {
207
207
  r[0] & /*endpoint*/
208
- 2 && P(
208
+ 2 && M(
209
209
  t,
210
210
  "endpoint",
211
211
  /*endpoint*/
212
212
  o[1]
213
213
  ), r[0] & /*session*/
214
- 1 && P(
214
+ 1 && M(
215
215
  t,
216
216
  "session",
217
217
  /*session*/
218
218
  o[0]
219
219
  ), r[0] & /*clientstyling*/
220
- 4 && P(
220
+ 4 && M(
221
221
  t,
222
222
  "clientstyling",
223
223
  /*clientstyling*/
224
224
  o[2]
225
225
  ), r[0] & /*clientstylingurl*/
226
- 8 && P(
226
+ 8 && M(
227
227
  t,
228
228
  "clientstylingurl",
229
229
  /*clientstylingurl*/
@@ -239,8 +239,8 @@ function K(n) {
239
239
  let e, t, o, r, y, m, p = (
240
240
  /*menuItem*/
241
241
  n[35].label + ""
242
- ), A, w, b, f, _;
243
- function M() {
242
+ ), h, w, P, f, _;
243
+ function A() {
244
244
  return (
245
245
  /*click_handler*/
246
246
  n[21](
@@ -251,26 +251,26 @@ function K(n) {
251
251
  }
252
252
  return {
253
253
  c() {
254
- e = v("div"), t = v("p"), o = v("img"), y = k(), m = v("span"), A = H(p), w = k(), s(o, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
254
+ e = v("div"), t = v("p"), o = v("img"), y = k(), m = v("span"), h = H(p), w = k(), s(o, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
255
255
  (n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(o.src, r = /*menuItem*/
256
- n[35].img) || s(o, "src", r), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", b = "PlayerAccountMenuItemBox " + /*selectedItem*/
256
+ n[35].img) || s(o, "src", r), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
257
257
  (n[6] === /*menuItem*/
258
258
  n[35].id && !/*isMobile*/
259
259
  n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
260
260
  },
261
261
  m(g, c) {
262
- T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, A), a(e, w), f || (_ = W(e, "click", M), f = !0);
262
+ T(g, e, c), a(e, t), a(t, o), a(t, y), a(t, m), a(m, h), a(e, w), f || (_ = W(e, "click", A), f = !0);
263
263
  },
264
264
  p(g, c) {
265
265
  n = g, c[0] & /*menuItems*/
266
266
  32 && !q(o.src, r = /*menuItem*/
267
267
  n[35].img) && s(o, "src", r), c[0] & /*menuItems*/
268
268
  32 && p !== (p = /*menuItem*/
269
- n[35].label + "") && z(A, p), c[0] & /*selectedItem, menuItems*/
270
- 96 && b !== (b = "PlayerAccountMenuItemBox " + /*selectedItem*/
269
+ n[35].label + "") && z(h, p), c[0] & /*selectedItem, menuItems*/
270
+ 96 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
271
271
  (n[6] === /*menuItem*/
272
272
  n[35].id && !/*isMobile*/
273
- n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", b);
273
+ n[10] ? "PlayerAccountMenuActiveItemBox" : "")) && s(e, "class", P);
274
274
  },
275
275
  d(g) {
276
276
  g && E(e), f = !1, _();
@@ -281,22 +281,22 @@ function _e(n) {
281
281
  let e, t;
282
282
  return {
283
283
  c() {
284
- e = v("div"), t = v("general-logout"), P(
284
+ e = v("div"), t = v("general-logout"), M(
285
285
  t,
286
286
  "endpoint",
287
287
  /*endpoint*/
288
288
  n[1]
289
- ), P(
289
+ ), M(
290
290
  t,
291
291
  "session",
292
292
  /*session*/
293
293
  n[0]
294
- ), P(t, "buttonlocation", "PlayerAccountMenu"), P(
294
+ ), M(t, "buttonlocation", "PlayerAccountMenu"), M(
295
295
  t,
296
296
  "clientstyling",
297
297
  /*clientstyling*/
298
298
  n[2]
299
- ), P(
299
+ ), M(
300
300
  t,
301
301
  "clientstylingurl",
302
302
  /*clientstylingurl*/
@@ -308,25 +308,25 @@ function _e(n) {
308
308
  },
309
309
  p(o, r) {
310
310
  r[0] & /*endpoint*/
311
- 2 && P(
311
+ 2 && M(
312
312
  t,
313
313
  "endpoint",
314
314
  /*endpoint*/
315
315
  o[1]
316
316
  ), r[0] & /*session*/
317
- 1 && P(
317
+ 1 && M(
318
318
  t,
319
319
  "session",
320
320
  /*session*/
321
321
  o[0]
322
322
  ), r[0] & /*clientstyling*/
323
- 4 && P(
323
+ 4 && M(
324
324
  t,
325
325
  "clientstyling",
326
326
  /*clientstyling*/
327
327
  o[2]
328
328
  ), r[0] & /*clientstylingurl*/
329
- 8 && P(
329
+ 8 && M(
330
330
  t,
331
331
  "clientstylingurl",
332
332
  /*clientstylingurl*/
@@ -364,14 +364,14 @@ function xe(n) {
364
364
  function Ce(n, e, t) {
365
365
  let o;
366
366
  ge(n, fe, (l) => t(9, o = l));
367
- let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: A = "" } = e, { lang: w = "en" } = e, { userroles: b = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: M = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
367
+ let { endpoint: r = "" } = e, { cmsendpoint: y = "" } = e, { env: m = "" } = e, { session: p = "" } = e, { playerid: h = "" } = e, { lang: w = "en" } = e, { userroles: P = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: A = "" } = e, { activemenuitem: g = "" } = e, c, u = [], C, i = window.navigator.userAgent, I = O(i) !== "PC", d = "", B = "";
368
368
  const Q = window.matchMedia("(min-width: 768px)"), V = () => {
369
- fetch(M).then((h) => h.json()).then((h) => {
370
- Object.keys(h).forEach((x) => {
371
- N(x, h[x]);
369
+ fetch(A).then((b) => b.json()).then((b) => {
370
+ Object.keys(b).forEach((x) => {
371
+ N(x, b[x]);
372
372
  });
373
- }).catch((h) => {
374
- console.error(h);
373
+ }).catch((b) => {
374
+ console.error(b);
375
375
  });
376
376
  };
377
377
  Object.keys(G).forEach((l) => {
@@ -390,19 +390,19 @@ function Ce(n, e, t) {
390
390
  return l === "PC" ? "dk" : "mtWeb";
391
391
  }, J = () => {
392
392
  const l = new URL(`${y}/${w}/profile-menu?env=${m}`);
393
- l.searchParams.append("device", Z()), fetch(l.href).then((h) => h.json()).then((h) => {
394
- t(5, u = h), j();
395
- }).catch((h) => {
396
- console.error("Error getting menu items", h);
393
+ l.searchParams.append("device", Z()), fetch(l.href).then((b) => b.json()).then((b) => {
394
+ t(5, u = b), j();
395
+ }).catch((b) => {
396
+ console.error("Error getting menu items", b);
397
397
  });
398
398
  }, Y = () => {
399
- let l = new URL(`${r}/v1/player/${A}/profile`);
400
- l.searchParams.append("userRoles", b);
401
- let h = {
399
+ let l = new URL(`${r}/v1/player/${h}/profile`);
400
+ l.searchParams.append("userRoles", P);
401
+ let b = {
402
402
  method: "GET",
403
403
  headers: { "X-SessionID": p }
404
404
  };
405
- fetch(l.href, h).then((x) => x.json()).then(
405
+ fetch(l.href, b).then((x) => x.json()).then(
406
406
  (x) => {
407
407
  t(7, d = x.username), t(8, B = x.email);
408
408
  },
@@ -413,8 +413,7 @@ function Ce(n, e, t) {
413
413
  }, U = (l) => {
414
414
  window.postMessage({ type: "ChangeAccountPage", page: l }, window.location.href), t(6, C = l.id);
415
415
  }, j = () => {
416
- var l;
417
- t(6, C = (l = u.find((h) => h.path.includes(g))) == null ? void 0 : l.id);
416
+ t(6, C = u.find((l) => l.path.includes(g))?.id);
418
417
  }, $ = () => {
419
418
  Me(w);
420
419
  }, ee = () => {
@@ -425,11 +424,11 @@ function Ce(n, e, t) {
425
424
  let l = document.createElement("style");
426
425
  l.innerHTML = f, c.appendChild(l);
427
426
  }, le = () => {
428
- let l = new URL(_), h = document.createElement("style");
427
+ let l = new URL(_), b = document.createElement("style");
429
428
  fetch(l.href).then((x) => x.text()).then((x) => {
430
- h.innerHTML = x, setTimeout(
429
+ b.innerHTML = x, setTimeout(
431
430
  () => {
432
- c.appendChild(h);
431
+ c.appendChild(b);
433
432
  },
434
433
  1
435
434
  );
@@ -445,16 +444,16 @@ function Ce(n, e, t) {
445
444
  });
446
445
  }
447
446
  return n.$$set = (l) => {
448
- "endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(14, y = l.cmsendpoint), "env" in l && t(15, m = l.env), "session" in l && t(0, p = l.session), "playerid" in l && t(16, A = l.playerid), "lang" in l && t(17, w = l.lang), "userroles" in l && t(18, b = l.userroles), "clientstyling" in l && t(2, f = l.clientstyling), "clientstylingurl" in l && t(3, _ = l.clientstylingurl), "translationurl" in l && t(19, M = l.translationurl), "activemenuitem" in l && t(20, g = l.activemenuitem);
447
+ "endpoint" in l && t(1, r = l.endpoint), "cmsendpoint" in l && t(14, y = l.cmsendpoint), "env" in l && t(15, m = l.env), "session" in l && t(0, p = l.session), "playerid" in l && t(16, h = l.playerid), "lang" in l && t(17, w = l.lang), "userroles" in l && t(18, P = l.userroles), "clientstyling" in l && t(2, f = l.clientstyling), "clientstylingurl" in l && t(3, _ = l.clientstylingurl), "translationurl" in l && t(19, A = l.translationurl), "activemenuitem" in l && t(20, g = l.activemenuitem);
449
448
  }, n.$$.update = () => {
450
449
  n.$$.dirty[0] & /*lang*/
451
450
  131072 && w && $(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
452
- 196611 && r && p && A && w && ee(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
451
+ 196611 && r && p && h && w && ee(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
453
452
  180224 && y && w && m && J(), n.$$.dirty[0] & /*activemenuitem*/
454
453
  1048576 && g && j(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
455
454
  24 && _ && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
456
455
  20 && f && c && ne(), n.$$.dirty[0] & /*translationurl*/
457
- 524288 && M && V();
456
+ 524288 && A && V();
458
457
  }, [
459
458
  p,
460
459
  r,
@@ -472,10 +471,10 @@ function Ce(n, e, t) {
472
471
  te,
473
472
  y,
474
473
  m,
475
- A,
474
+ h,
476
475
  w,
477
- b,
478
- M,
476
+ P,
477
+ A,
479
478
  g,
480
479
  oe,
481
480
  re
@@ -1,4 +1,4 @@
1
- import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-CsWa2j6i.js";
1
+ import { Y as B, S as F, i as P, f, c as R, s as U, b as W, B as j, k as L, H as m, I as w, Z as q, p as E, v as A, D as G, e as _, g as y, l as M, E as I, F as N, G as Y, P as Z, _ as C, a0 as J, x as k } from "./GeneralLogout-Ddt-oH9k.js";
2
2
  function p(t, { delay: e = 0, duration: i = 400, easing: n = B } = {}) {
3
3
  const s = +getComputedStyle(t).opacity;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { S as U, i as W, f as x, c as j, s as q, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, W as B, l as p, n as G } from "./GeneralLogout-CsWa2j6i.js";
1
+ import { S as U, i as W, f as x, c as j, s as q, b as K, e as A, k as C, o as k, p as v, u as T, x as Q, K as F, g as u, L as V, d as _, t as X, X as M, W as B, l as p, n as G } from "./GeneralLogout-Ddt-oH9k.js";
2
2
  function J(n) {
3
3
  K(n, "svelte-8rjudp", '.PlayerAccountNotificationsContainer{padding:0 5px}.PlayerAccountNotificationBox{display:block;padding:20px;margin:20px auto 10px auto;border-radius:5px;width:100%;background:var(--emw--color-gray-300, #58586B);color:var(--emw--color-white, #FFFFFF);box-sizing:border-box;text-decoration:none;word-break:break-all}.PlayerAccountNotificationBoxHeader{display:grid;width:100%;grid-template-areas:"nav main aside";grid-template-rows:auto;grid-template-columns:34px calc(100% - 34px);align-items:center}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationIcon{width:24px;margin-right:10px;flex:1}.PlayerAccountNotificationBoxHeader .PlayerAccountNotificationTitle{font-size:16px;flex:2}.PlayerAccountNotificationText{margin:0;font-size:14px;font-weight:300}.PlayerAccountNotificationText a{text-decoration:none;color:var(--emw--color-white, #FFFFFF)}.PlayerAccountNotificationsMobileContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:40px calc(100% - 40px)}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationTitle{font-size:14px}.PlayerAccountNotificationsMobileContainer .PlayerAccountNotificationIcon{width:30px;margin-right:10px}.PlayerAccountNotificationsTabletContainer{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-gap:20px;padding:20px 40px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationBoxHeader{grid-template-columns:80px calc(100% - 80px)}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationTitle{font-size:24px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationText{font-size:16px}.PlayerAccountNotificationsTabletContainer .PlayerAccountNotificationIcon{width:60px;margin-right:20px}');
4
4
  }