@everymatrix/player-account-menu-nd 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/components/GeneralLogout-C645ag3Y.cjs +18 -0
  2. package/components/{GeneralLogout-C62O7X2O.js → GeneralLogout-lRqS5xnM.js} +688 -633
  3. package/components/{GeneralLogout-BbFRw_PP.js → GeneralLogout-nPLOHMgC.js} +712 -657
  4. package/components/{PlayerAccountMenuNd-B-MuRtAL.js → PlayerAccountMenuNd-BzBcsJR_.js} +162 -140
  5. package/components/{PlayerAccountMenuNd-DZrxDH3S.js → PlayerAccountMenuNd-C-lM0H4r.js} +160 -138
  6. package/components/PlayerAccountMenuNd-N2kx0DSl.cjs +1 -0
  7. package/es2015/player-account-menu-nd.cjs +1 -1
  8. package/es2015/player-account-menu-nd.js +1 -1
  9. package/esnext/player-account-menu-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  12. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  13. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  14. package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
  18. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  19. package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
  20. package/components/GeneralLogout-DTncvqCn.cjs +0 -5
  21. package/components/PlayerAccountMenuNd-awGuTDET.cjs +0 -1
  22. package/stencil/index-db5752f9--Bvt52z2.js +0 -610
  23. package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
  24. package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
  25. package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as de, $ as ge, c as ye, S as pe, i as fe, s as he, f as C, b as Ae, n as O, d as F, e as L, g as h, h as be, j as V, o as Me, k as Pe, l as H, m as ee, p as a, q as k, r as g, t as d, u as W, v as z, w as we, x as D, y as T, z as X, A as ve, B as xe, C as _e, D as ke } from "./GeneralLogout-C62O7X2O.js";
2
- import "../stencil/ui-skeleton-rqI1NmdA.js";
1
+ import { a as de, $ as ge, c as ye, S as pe, i as fe, s as he, f as C, b as Ae, e as h, d as F, n as O, g as L, h as be, j as V, o as Me, k as Pe, l as we, m as ve, p as xe, q as H, r as k, t as z, u as g, v as a, w as W, x as ee, y as m, z as T, A as D, B as _e, C as X, D as ke } from "./GeneralLogout-lRqS5xnM.js";
2
+ import "../stencil/ui-skeleton-C5gPr5Xv.js";
3
3
  function Z(n, e) {
4
4
  de(n, e);
5
5
  }
@@ -53,7 +53,7 @@ if (typeof window < "u") {
53
53
  }
54
54
  };
55
55
  };
56
- customElements.define = n(customElements.define), import("./GeneralLogout-C62O7X2O.js").then((e) => e.G).then(({ default: e }) => {
56
+ customElements.define = n(customElements.define), import("./GeneralLogout-lRqS5xnM.js").then((e) => e.G).then(({ default: e }) => {
57
57
  !customElements.get("general-logout") && customElements.define("general-logout", e.element);
58
58
  });
59
59
  }
@@ -69,39 +69,39 @@ function K(n, e, t) {
69
69
  return l[38] = e[t], l;
70
70
  }
71
71
  function Fe(n) {
72
- let e, t, l, i, s, m, A, M, v, P, b, w, u = (
72
+ let e, t, l, i, s, d, A, M, v, P, b, w, u = (
73
73
  /*isMobile*/
74
- n[11] && Ee(n)
74
+ n[12] && Ee(n)
75
75
  ), c = (
76
76
  /*isMobile*/
77
- n[11] && Be(n)
77
+ n[12] && Be(n)
78
78
  ), y = H(
79
79
  /*menuItems*/
80
- n[6]
80
+ n[7]
81
81
  ), o = [];
82
82
  for (let p = 0; p < y.length; p += 1)
83
83
  o[p] = Y(J(n, y, p));
84
84
  let x = !/*isMobile*/
85
- n[11] && Te(n);
85
+ n[12] && Te(n);
86
86
  return {
87
87
  c() {
88
88
  e = h("div"), t = h("div"), u && u.c(), l = k(), i = h("p"), s = z(
89
89
  /*profileUsername*/
90
- n[8]
91
- ), m = k(), A = h("p"), M = z(
92
- /*profileEmail*/
93
90
  n[9]
91
+ ), d = k(), A = h("p"), M = z(
92
+ /*profileEmail*/
93
+ n[10]
94
94
  ), v = k(), c && c.c(), P = k(), b = h("div");
95
95
  for (let p = 0; p < o.length; p += 1)
96
96
  o[p].c();
97
- w = k(), x && x.c(), d(i, "class", "PlayerAccountMenuUser"), d(A, "class", "PlayerAccountMenuEmail"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
- (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), d(b, "class", "PlayerAccountMenuList"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
- (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
- (n[12].matches && /*isMobile*/
101
- n[11] ? "PlayerAccountTabletContainer" : ""));
97
+ w = k(), x && x.c(), g(i, "class", "PlayerAccountMenuUser"), g(A, "class", "PlayerAccountMenuEmail"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
98
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(b, "class", "PlayerAccountMenuList"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
99
+ (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
100
+ (n[13].matches && /*isMobile*/
101
+ n[12] ? "PlayerAccountTabletContainer" : ""));
102
102
  },
103
103
  m(p, I) {
104
- L(p, e, I), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, m), a(t, A), a(A, M), a(t, v), c && c.m(t, null), a(e, P), a(e, b);
104
+ F(p, e, I), a(e, t), u && u.m(t, null), a(t, l), a(t, i), a(i, s), a(t, d), a(t, A), a(A, M), a(t, v), c && c.m(t, null), a(e, P), a(e, b);
105
105
  for (let f = 0; f < o.length; f += 1)
106
106
  o[f] && o[f].m(b, null);
107
107
  a(e, w), x && x.m(e, null);
@@ -109,23 +109,23 @@ function Fe(n) {
109
109
  p(p, I) {
110
110
  if (
111
111
  /*isMobile*/
112
- p[11] && u.p(p, I), I[0] & /*profileUsername*/
113
- 256 && W(
112
+ p[12] && u.p(p, I), I[0] & /*profileUsername*/
113
+ 512 && W(
114
114
  s,
115
115
  /*profileUsername*/
116
- p[8]
116
+ p[9]
117
117
  ), I[0] & /*profileEmail*/
118
- 512 && W(
118
+ 1024 && W(
119
119
  M,
120
120
  /*profileEmail*/
121
- p[9]
121
+ p[10]
122
122
  ), /*isMobile*/
123
- p[11] && c.p(p, I), I[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
124
- 10432
123
+ p[12] && c.p(p, I), I[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
124
+ 20864
125
125
  ) {
126
126
  y = H(
127
127
  /*menuItems*/
128
- p[6]
128
+ p[7]
129
129
  );
130
130
  let f;
131
131
  for (f = 0; f < y.length; f += 1) {
@@ -137,40 +137,40 @@ function Fe(n) {
137
137
  o.length = y.length;
138
138
  }
139
139
  /*isMobile*/
140
- p[11] || x.p(p, I);
140
+ p[12] || x.p(p, I);
141
141
  },
142
142
  d(p) {
143
- p && F(e), u && u.d(), c && c.d(), ee(o, p), x && x.d();
143
+ p && L(e), u && u.d(), c && c.d(), ee(o, p), x && x.d();
144
144
  }
145
145
  };
146
146
  }
147
147
  function Le(n) {
148
- let e, t, l, i, s, m, A, M, v, P, b = (
148
+ let e, t, l, i, s, d, A, M, v, P, b = (
149
149
  /*isMobile*/
150
- n[11] && ze()
150
+ n[12] && ze()
151
151
  ), w = H(Array(18)), u = [];
152
152
  for (let c = 0; c < w.length; c += 1)
153
153
  u[c] = $(K(n, w, c));
154
154
  return {
155
155
  c() {
156
- e = h("div"), t = h("div"), b && b.c(), l = k(), i = h("ui-skeleton"), s = k(), m = h("ui-skeleton"), A = k(), M = h("div");
156
+ e = h("div"), t = h("div"), b && b.c(), l = k(), i = h("ui-skeleton"), s = k(), d = h("ui-skeleton"), A = k(), M = h("div");
157
157
  for (let c = 0; c < u.length; c += 1)
158
158
  u[c].c();
159
- v = k(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', g(i, "structure", "title"), g(i, "width", "100px"), g(i, "height", "20px"), g(i, "margin-top", "20px"), g(m, "structure", "text"), g(m, "width", "200px"), g(m, "height", "20px"), d(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
- (n[11] ? "PlayerAccountMenuHeaderMobile" : "")), d(M, "class", "PlayerAccountMenuList"), d(P, "class", "skeletonLogOut"), d(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
- (n[11] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
- (n[12].matches && /*isMobile*/
163
- n[11] ? "PlayerAccountTabletContainer" : ""));
159
+ v = k(), P = h("div"), P.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="60px"></ui-skeleton>', m(i, "structure", "title"), m(i, "width", "100px"), m(i, "height", "20px"), m(i, "margin-top", "20px"), m(d, "structure", "text"), m(d, "width", "200px"), m(d, "height", "20px"), g(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
160
+ (n[12] ? "PlayerAccountMenuHeaderMobile" : "")), g(M, "class", "PlayerAccountMenuList"), g(P, "class", "skeletonLogOut"), g(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
161
+ (n[12] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
162
+ (n[13].matches && /*isMobile*/
163
+ n[12] ? "PlayerAccountTabletContainer" : ""));
164
164
  },
165
165
  m(c, y) {
166
- L(c, e, y), a(e, t), b && b.m(t, null), a(t, l), a(t, i), a(t, s), a(t, m), a(e, A), a(e, M);
166
+ F(c, e, y), a(e, t), b && b.m(t, null), a(t, l), a(t, i), a(t, s), a(t, d), a(e, A), a(e, M);
167
167
  for (let o = 0; o < u.length; o += 1)
168
168
  u[o] && u[o].m(M, null);
169
169
  a(e, v), a(e, P);
170
170
  },
171
171
  p(c, y) {
172
172
  if (y[0] & /*isMobile*/
173
- 2048) {
173
+ 4096) {
174
174
  w = H(Array(18));
175
175
  let o;
176
176
  for (o = 0; o < w.length; o += 1) {
@@ -183,42 +183,42 @@ function Le(n) {
183
183
  }
184
184
  },
185
185
  d(c) {
186
- c && F(e), b && b.d(), ee(u, c);
186
+ c && L(e), b && b.d(), ee(u, c);
187
187
  }
188
188
  };
189
189
  }
190
190
  function Ee(n) {
191
- let e, t, l, i, s, m, A, M, v, P, b = (
191
+ let e, t, l, i, s, d, A, M, v, P, b = (
192
192
  /*$_*/
193
- n[10]("title") + ""
193
+ n[11]("title") + ""
194
194
  ), w, u, c;
195
195
  return {
196
196
  c() {
197
- e = h("div"), t = T("svg"), l = T("defs"), i = T("style"), s = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = T("g"), A = T("g"), M = T("path"), v = k(), P = h("h3"), w = z(b), d(M, "class", "aaa"), d(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(M, "transform", "translate(15 15) rotate(180)"), d(A, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(P, "class", "PlayerAccountMenuCategoryTitle"), d(e, "class", "PlayerAccountMenuCategoryWrapper");
197
+ e = h("div"), t = T("svg"), l = T("defs"), i = T("style"), s = z(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), d = T("g"), A = T("g"), M = T("path"), v = k(), P = h("h3"), w = z(b), g(M, "class", "aaa"), g(M, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), g(M, "transform", "translate(15 15) rotate(180)"), g(A, "transform", "translate(20 158)"), g(d, "transform", "translate(-20 -158)"), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "width", "15"), g(t, "height", "15"), g(t, "viewBox", "0 0 15 15"), g(P, "class", "PlayerAccountMenuCategoryTitle"), g(e, "class", "PlayerAccountMenuCategoryWrapper");
198
198
  },
199
199
  m(y, o) {
200
- L(y, e, o), a(e, t), a(t, l), a(l, i), a(i, s), a(t, m), a(m, A), a(A, M), a(e, v), a(e, P), a(P, w), u || (c = [
200
+ F(y, e, o), a(e, t), a(t, l), a(l, i), a(i, s), a(t, d), a(d, A), a(A, M), a(e, v), a(e, P), a(P, w), u || (c = [
201
201
  D(
202
202
  t,
203
203
  "click",
204
204
  /*goToHome*/
205
- n[14]
205
+ n[15]
206
206
  ),
207
207
  D(
208
208
  P,
209
209
  "click",
210
210
  /*goToHome*/
211
- n[14]
211
+ n[15]
212
212
  )
213
213
  ], u = !0);
214
214
  },
215
215
  p(y, o) {
216
216
  o[0] & /*$_*/
217
- 1024 && b !== (b = /*$_*/
218
- y[10]("title") + "") && W(w, b);
217
+ 2048 && b !== (b = /*$_*/
218
+ y[11]("title") + "") && W(w, b);
219
219
  },
220
220
  d(y) {
221
- y && F(e), u = !1, we(c);
221
+ y && L(e), u = !1, _e(c);
222
222
  }
223
223
  };
224
224
  }
@@ -226,65 +226,76 @@ function Be(n) {
226
226
  let e, t;
227
227
  return {
228
228
  c() {
229
- e = h("div"), t = h("general-logout"), g(
229
+ e = h("div"), t = h("general-logout"), m(
230
230
  t,
231
231
  "endpoint",
232
232
  /*endpoint*/
233
233
  n[1]
234
- ), g(
234
+ ), m(
235
235
  t,
236
236
  "session",
237
237
  /*session*/
238
238
  n[0]
239
- ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
239
+ ), m(t, "buttonlocation", "PlayerAccountMenu"), m(
240
240
  t,
241
241
  "clientstyling",
242
242
  /*clientstyling*/
243
243
  n[2]
244
- ), g(
244
+ ), m(
245
245
  t,
246
246
  "clientstylingurl",
247
247
  /*clientstylingurl*/
248
248
  n[3]
249
- ), d(e, "class", "PlayerAccountLogOutArea");
249
+ ), m(
250
+ t,
251
+ "mbsource",
252
+ /*mbsource*/
253
+ n[4]
254
+ ), g(e, "class", "PlayerAccountLogOutArea");
250
255
  },
251
256
  m(l, i) {
252
- L(l, e, i), a(e, t);
257
+ F(l, e, i), a(e, t);
253
258
  },
254
259
  p(l, i) {
255
260
  i[0] & /*endpoint*/
256
- 2 && g(
261
+ 2 && m(
257
262
  t,
258
263
  "endpoint",
259
264
  /*endpoint*/
260
265
  l[1]
261
266
  ), i[0] & /*session*/
262
- 1 && g(
267
+ 1 && m(
263
268
  t,
264
269
  "session",
265
270
  /*session*/
266
271
  l[0]
267
272
  ), i[0] & /*clientstyling*/
268
- 4 && g(
273
+ 4 && m(
269
274
  t,
270
275
  "clientstyling",
271
276
  /*clientstyling*/
272
277
  l[2]
273
278
  ), i[0] & /*clientstylingurl*/
274
- 8 && g(
279
+ 8 && m(
275
280
  t,
276
281
  "clientstylingurl",
277
282
  /*clientstylingurl*/
278
283
  l[3]
284
+ ), i[0] & /*mbsource*/
285
+ 16 && m(
286
+ t,
287
+ "mbsource",
288
+ /*mbsource*/
289
+ l[4]
279
290
  );
280
291
  },
281
292
  d(l) {
282
- l && F(e);
293
+ l && L(e);
283
294
  }
284
295
  };
285
296
  }
286
297
  function Y(n) {
287
- let e, t, l, i, s, m, A = (
298
+ let e, t, l, i, s, d, A = (
288
299
  /*menuItem*/
289
300
  n[41].label + ""
290
301
  ), M, v, P, b, w;
@@ -299,29 +310,29 @@ function Y(n) {
299
310
  }
300
311
  return {
301
312
  c() {
302
- e = h("div"), t = h("p"), l = h("img"), s = k(), m = h("span"), M = z(A), v = k(), d(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
303
- (n[11] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, i = /*menuItem*/
304
- n[41].img) || d(l, "src", i), d(m, "class", "PlayerAccountMenuItemTitle"), d(t, "class", "PlayerAccountMenuItemWrapper"), d(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
305
- (n[7] === /*menuItem*/
313
+ e = h("div"), t = h("p"), l = h("img"), s = k(), d = h("span"), M = z(A), v = k(), g(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
314
+ (n[12] ? "PlayerAccountMenuItemIconMobile" : "")), X(l.src, i = /*menuItem*/
315
+ n[41].img) || g(l, "src", i), g(d, "class", "PlayerAccountMenuItemTitle"), g(t, "class", "PlayerAccountMenuItemWrapper"), g(e, "class", P = "PlayerAccountMenuItemBox " + /*selectedItem*/
316
+ (n[8] === /*menuItem*/
306
317
  n[41].id && !/*isMobile*/
307
- n[11] ? "PlayerAccountMenuActiveItemBox" : ""));
318
+ n[12] ? "PlayerAccountMenuActiveItemBox" : ""));
308
319
  },
309
320
  m(c, y) {
310
- L(c, e, y), a(e, t), a(t, l), a(t, s), a(t, m), a(m, M), a(e, v), b || (w = D(e, "click", u), b = !0);
321
+ F(c, e, y), a(e, t), a(t, l), a(t, s), a(t, d), a(d, M), a(e, v), b || (w = D(e, "click", u), b = !0);
311
322
  },
312
323
  p(c, y) {
313
324
  n = c, y[0] & /*menuItems*/
314
- 64 && !X(l.src, i = /*menuItem*/
315
- n[41].img) && d(l, "src", i), y[0] & /*menuItems*/
316
- 64 && A !== (A = /*menuItem*/
325
+ 128 && !X(l.src, i = /*menuItem*/
326
+ n[41].img) && g(l, "src", i), y[0] & /*menuItems*/
327
+ 128 && A !== (A = /*menuItem*/
317
328
  n[41].label + "") && W(M, A), y[0] & /*selectedItem, menuItems*/
318
- 192 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
319
- (n[7] === /*menuItem*/
329
+ 384 && P !== (P = "PlayerAccountMenuItemBox " + /*selectedItem*/
330
+ (n[8] === /*menuItem*/
320
331
  n[41].id && !/*isMobile*/
321
- n[11] ? "PlayerAccountMenuActiveItemBox" : "")) && d(e, "class", P);
332
+ n[12] ? "PlayerAccountMenuActiveItemBox" : "")) && g(e, "class", P);
322
333
  },
323
334
  d(c) {
324
- c && F(e), b = !1, w();
335
+ c && L(e), b = !1, w();
325
336
  }
326
337
  };
327
338
  }
@@ -329,60 +340,71 @@ function Te(n) {
329
340
  let e, t;
330
341
  return {
331
342
  c() {
332
- e = h("div"), t = h("general-logout"), g(
343
+ e = h("div"), t = h("general-logout"), m(
333
344
  t,
334
345
  "endpoint",
335
346
  /*endpoint*/
336
347
  n[1]
337
- ), g(
348
+ ), m(
338
349
  t,
339
350
  "session",
340
351
  /*session*/
341
352
  n[0]
342
- ), g(t, "buttonlocation", "PlayerAccountMenu"), g(
353
+ ), m(t, "buttonlocation", "PlayerAccountMenu"), m(
343
354
  t,
344
355
  "clientstyling",
345
356
  /*clientstyling*/
346
357
  n[2]
347
- ), g(
358
+ ), m(
348
359
  t,
349
360
  "clientstylingurl",
350
361
  /*clientstylingurl*/
351
362
  n[3]
352
- ), d(e, "class", "PlayerAccountLogOutArea");
363
+ ), m(
364
+ t,
365
+ "mbsource",
366
+ /*mbsource*/
367
+ n[4]
368
+ ), g(e, "class", "PlayerAccountLogOutArea");
353
369
  },
354
370
  m(l, i) {
355
- L(l, e, i), a(e, t);
371
+ F(l, e, i), a(e, t);
356
372
  },
357
373
  p(l, i) {
358
374
  i[0] & /*endpoint*/
359
- 2 && g(
375
+ 2 && m(
360
376
  t,
361
377
  "endpoint",
362
378
  /*endpoint*/
363
379
  l[1]
364
380
  ), i[0] & /*session*/
365
- 1 && g(
381
+ 1 && m(
366
382
  t,
367
383
  "session",
368
384
  /*session*/
369
385
  l[0]
370
386
  ), i[0] & /*clientstyling*/
371
- 4 && g(
387
+ 4 && m(
372
388
  t,
373
389
  "clientstyling",
374
390
  /*clientstyling*/
375
391
  l[2]
376
392
  ), i[0] & /*clientstylingurl*/
377
- 8 && g(
393
+ 8 && m(
378
394
  t,
379
395
  "clientstylingurl",
380
396
  /*clientstylingurl*/
381
397
  l[3]
398
+ ), i[0] & /*mbsource*/
399
+ 16 && m(
400
+ t,
401
+ "mbsource",
402
+ /*mbsource*/
403
+ l[4]
382
404
  );
383
405
  },
384
406
  d(l) {
385
- l && F(e);
407
+ l && L(e);
386
408
  }
387
409
  };
388
410
  }
@@ -390,13 +412,13 @@ function ze(n) {
390
412
  let e;
391
413
  return {
392
414
  c() {
393
- e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', d(e, "class", "PlayerAccountMenuCategoryWrapper");
415
+ e = h("div"), e.innerHTML = '<ui-skeleton structure="title" width="30px" height="40px"></ui-skeleton> <ui-skeleton structure="text" width="150px" height="40px"></ui-skeleton>', g(e, "class", "PlayerAccountMenuCategoryWrapper");
394
416
  },
395
417
  m(t, l) {
396
- L(t, e, l);
418
+ F(t, e, l);
397
419
  },
398
420
  d(t) {
399
- t && F(e);
421
+ t && L(e);
400
422
  }
401
423
  };
402
424
  }
@@ -404,44 +426,44 @@ function He(n) {
404
426
  let e;
405
427
  return {
406
428
  c() {
407
- e = h("ui-skeleton"), g(e, "structure", "circle"), g(e, "size", "20px");
429
+ e = h("ui-skeleton"), m(e, "structure", "circle"), m(e, "size", "20px");
408
430
  },
409
431
  m(t, l) {
410
- L(t, e, l);
432
+ F(t, e, l);
411
433
  },
412
434
  d(t) {
413
- t && F(e);
435
+ t && L(e);
414
436
  }
415
437
  };
416
438
  }
417
439
  function $(n) {
418
440
  let e, t, l, i, s = !/*isMobile*/
419
- n[11] && He();
441
+ n[12] && He();
420
442
  return {
421
443
  c() {
422
- e = h("div"), s && s.c(), t = k(), l = h("ui-skeleton"), i = k(), g(l, "structure", "rectangle"), g(l, "width", "100%"), g(
444
+ e = h("div"), s && s.c(), t = k(), l = h("ui-skeleton"), i = k(), m(l, "structure", "rectangle"), m(l, "width", "100%"), m(
423
445
  l,
424
446
  "height",
425
447
  /*isMobile*/
426
- n[11] ? "60px" : "20px"
427
- ), d(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
428
- (n[11] ? "PlayerAccountItemWrapMobile" : ""));
448
+ n[12] ? "60px" : "20px"
449
+ ), g(e, "class", "PlayerAccountItemWrap " + /*isMobile*/
450
+ (n[12] ? "PlayerAccountItemWrapMobile" : ""));
429
451
  },
430
- m(m, A) {
431
- L(m, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
452
+ m(d, A) {
453
+ F(d, e, A), s && s.m(e, null), a(e, t), a(e, l), a(e, i);
432
454
  },
433
455
  p: O,
434
- d(m) {
435
- m && F(e), s && s.d();
456
+ d(d) {
457
+ d && L(e), s && s.d();
436
458
  }
437
459
  };
438
460
  }
439
461
  function We(n) {
440
462
  let e;
441
- function t(s, m) {
463
+ function t(s, d) {
442
464
  return (
443
465
  /*skeletonLoading*/
444
- s[5] ? Le : Fe
466
+ s[6] ? Le : Fe
445
467
  );
446
468
  }
447
469
  let l = t(n), i = l(n);
@@ -449,23 +471,23 @@ function We(n) {
449
471
  c() {
450
472
  e = h("div"), i.c();
451
473
  },
452
- m(s, m) {
453
- L(s, e, m), i.m(e, null), n[27](e);
474
+ m(s, d) {
475
+ F(s, e, d), i.m(e, null), n[27](e);
454
476
  },
455
- p(s, m) {
456
- l === (l = t(s)) && i ? i.p(s, m) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
477
+ p(s, d) {
478
+ l === (l = t(s)) && i ? i.p(s, d) : (i.d(1), i = l(s), i && (i.c(), i.m(e, null)));
457
479
  },
458
480
  i: O,
459
481
  o: O,
460
482
  d(s) {
461
- s && F(e), i.d(), n[27](null);
483
+ s && L(e), i.d(), n[27](null);
462
484
  }
463
485
  };
464
486
  }
465
487
  function Se(n, e, t) {
466
488
  let l;
467
- be(n, ve, (r) => t(10, l = r));
468
- let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: m = "" } = e, { session: A = "" } = e, { playerid: M = "" } = e, { lang: v = "en" } = e, { selecteditem: P = "" } = e, { userroles: b = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: y = "" } = e, { activemenuitem: o = "" } = e, x = !1, p = !1, I = !0, f, B = [], S, U = window.navigator.userAgent, te = V(U) !== "PC", j = "", R = "";
489
+ be(n, ke, (r) => t(11, l = r));
490
+ let { endpoint: i = "" } = e, { cmsendpoint: s = "" } = e, { env: d = "" } = e, { session: A = "" } = e, { playerid: M = "" } = e, { lang: v = "en" } = e, { selecteditem: P = "" } = e, { userroles: b = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: c } = e, { translationurl: y = "" } = e, { activemenuitem: o = "" } = e, x = !1, p = !1, I = !0, f, B = [], S, U = window.navigator.userAgent, te = V(U) !== "PC", j = "", R = "";
469
491
  const ne = window.matchMedia("(min-width: 768px)"), le = () => {
470
492
  fetch(y).then((_) => _.json()).then((_) => {
471
493
  Object.keys(_).forEach((E) => {
@@ -493,9 +515,9 @@ function Se(n, e, t) {
493
515
  if (r)
494
516
  return r === "PC" ? "dk" : "mtWeb";
495
517
  }, ie = () => {
496
- const r = new URL(`${s}/${v}/profile-menu?env=${m}`);
518
+ const r = new URL(`${s}/${v}/profile-menu?env=${d}`);
497
519
  r.searchParams.append("device", re()), fetch(r.href).then((_) => _.json()).then((_) => {
498
- t(6, B = _), G();
520
+ t(7, B = _), G();
499
521
  }).catch((_) => {
500
522
  console.error("Error getting menu items", _);
501
523
  }).finally(() => {
@@ -510,7 +532,7 @@ function Se(n, e, t) {
510
532
  };
511
533
  fetch(r.href, _).then((E) => E.json()).then(
512
534
  (E) => {
513
- t(8, j = E.username), t(9, R = E.email);
535
+ t(9, j = E.username), t(10, R = E.email);
514
536
  },
515
537
  (E) => {
516
538
  console.error(E);
@@ -519,9 +541,9 @@ function Se(n, e, t) {
519
541
  t(25, p = !0);
520
542
  });
521
543
  }, q = (r) => {
522
- window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(7, S = r.id);
544
+ window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(8, S = r.id);
523
545
  }, G = () => {
524
- t(7, S = B.find((r) => r.path.includes(o))?.id);
546
+ t(8, S = B.find((r) => r.path.includes(o))?.id);
525
547
  }, ae = () => {
526
548
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
527
549
  }, ce = () => {
@@ -534,28 +556,29 @@ function Se(n, e, t) {
534
556
  }));
535
557
  const ue = (r) => q(r);
536
558
  function me(r) {
537
- Pe[r ? "unshift" : "push"](() => {
538
- f = r, t(4, f);
559
+ ve[r ? "unshift" : "push"](() => {
560
+ f = r, t(5, f);
539
561
  });
540
562
  }
541
563
  return n.$$set = (r) => {
542
- "endpoint" in r && t(1, i = r.endpoint), "cmsendpoint" in r && t(15, s = r.cmsendpoint), "env" in r && t(16, m = r.env), "session" in r && t(0, A = r.session), "playerid" in r && t(17, M = r.playerid), "lang" in r && t(18, v = r.lang), "selecteditem" in r && t(19, P = r.selecteditem), "userroles" in r && t(20, b = r.userroles), "clientstyling" in r && t(2, w = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "mbsource" in r && t(21, c = r.mbsource), "translationurl" in r && t(22, y = r.translationurl), "activemenuitem" in r && t(23, o = r.activemenuitem);
564
+ "endpoint" in r && t(1, i = r.endpoint), "cmsendpoint" in r && t(16, s = r.cmsendpoint), "env" in r && t(17, d = r.env), "session" in r && t(0, A = r.session), "playerid" in r && t(18, M = r.playerid), "lang" in r && t(19, v = r.lang), "selecteditem" in r && t(20, P = r.selecteditem), "userroles" in r && t(21, b = r.userroles), "clientstyling" in r && t(2, w = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "mbsource" in r && t(4, c = r.mbsource), "translationurl" in r && t(22, y = r.translationurl), "activemenuitem" in r && t(23, o = r.activemenuitem);
543
565
  }, n.$$.update = () => {
544
566
  n.$$.dirty[0] & /*menuLoaded, playerInfoLoaded*/
545
- 50331648 && t(5, I = !x || !p), n.$$.dirty[0] & /*lang*/
546
- 262144 && v && ce(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
547
- 393219 && i && A && M && v && se(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
548
- 360448 && s && v && m && ie(), n.$$.dirty[0] & /*activemenuitem*/
567
+ 50331648 && t(6, I = !x || !p), n.$$.dirty[0] & /*lang*/
568
+ 524288 && v && ce(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
569
+ 786435 && i && A && M && v && se(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
570
+ 720896 && s && v && d && ie(), n.$$.dirty[0] & /*activemenuitem*/
549
571
  8388608 && o && G(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
550
- 20 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
551
- 24 && u && f && _e(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
552
- 2097168 && c && f && ke(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
572
+ 36 && w && f && xe(f, w), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
573
+ 40 && u && f && Pe(f, u), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
574
+ 48 && c && f && we(f, `${c}.Style`), n.$$.dirty[0] & /*translationurl*/
553
575
  4194304 && y && le();
554
576
  }, [
555
577
  A,
556
578
  i,
557
579
  w,
558
580
  u,
581
+ c,
559
582
  f,
560
583
  I,
561
584
  B,
@@ -568,12 +591,11 @@ function Se(n, e, t) {
568
591
  q,
569
592
  ae,
570
593
  s,
571
- m,
594
+ d,
572
595
  M,
573
596
  v,
574
597
  P,
575
598
  b,
576
- c,
577
599
  y,
578
600
  o,
579
601
  x,
@@ -592,16 +614,16 @@ class Oe extends pe {
592
614
  he,
593
615
  {
594
616
  endpoint: 1,
595
- cmsendpoint: 15,
596
- env: 16,
617
+ cmsendpoint: 16,
618
+ env: 17,
597
619
  session: 0,
598
- playerid: 17,
599
- lang: 18,
600
- selecteditem: 19,
601
- userroles: 20,
620
+ playerid: 18,
621
+ lang: 19,
622
+ selecteditem: 20,
623
+ userroles: 21,
602
624
  clientstyling: 2,
603
625
  clientstylingurl: 3,
604
- mbsource: 21,
626
+ mbsource: 4,
605
627
  translationurl: 22,
606
628
  activemenuitem: 23
607
629
  },
@@ -616,13 +638,13 @@ class Oe extends pe {
616
638
  this.$$set({ endpoint: e }), C();
617
639
  }
618
640
  get cmsendpoint() {
619
- return this.$$.ctx[15];
641
+ return this.$$.ctx[16];
620
642
  }
621
643
  set cmsendpoint(e) {
622
644
  this.$$set({ cmsendpoint: e }), C();
623
645
  }
624
646
  get env() {
625
- return this.$$.ctx[16];
647
+ return this.$$.ctx[17];
626
648
  }
627
649
  set env(e) {
628
650
  this.$$set({ env: e }), C();
@@ -634,25 +656,25 @@ class Oe extends pe {
634
656
  this.$$set({ session: e }), C();
635
657
  }
636
658
  get playerid() {
637
- return this.$$.ctx[17];
659
+ return this.$$.ctx[18];
638
660
  }
639
661
  set playerid(e) {
640
662
  this.$$set({ playerid: e }), C();
641
663
  }
642
664
  get lang() {
643
- return this.$$.ctx[18];
665
+ return this.$$.ctx[19];
644
666
  }
645
667
  set lang(e) {
646
668
  this.$$set({ lang: e }), C();
647
669
  }
648
670
  get selecteditem() {
649
- return this.$$.ctx[19];
671
+ return this.$$.ctx[20];
650
672
  }
651
673
  set selecteditem(e) {
652
674
  this.$$set({ selecteditem: e }), C();
653
675
  }
654
676
  get userroles() {
655
- return this.$$.ctx[20];
677
+ return this.$$.ctx[21];
656
678
  }
657
679
  set userroles(e) {
658
680
  this.$$set({ userroles: e }), C();
@@ -670,7 +692,7 @@ class Oe extends pe {
670
692
  this.$$set({ clientstylingurl: e }), C();
671
693
  }
672
694
  get mbsource() {
673
- return this.$$.ctx[21];
695
+ return this.$$.ctx[4];
674
696
  }
675
697
  set mbsource(e) {
676
698
  this.$$set({ mbsource: e }), C();