@everymatrix/player-account-controller-nd 1.52.5 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/components/PlayerAccountControllerNd-B2_bahHf.cjs +1 -0
  2. package/components/{PlayerAccountControllerNd-DPYLx7NR.js → PlayerAccountControllerNd-CS3nKF7-.js} +577 -517
  3. package/components/{PlayerAccountGamingLimits-Ba8gZhzx.js → PlayerAccountGamingLimits-9Stjo0gs.js} +1 -1
  4. package/components/{PlayerAccountGamingLimits-96NZsRcC.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
  5. package/components/{PlayerAccountGamingLimitsGroupEdit-CHTvuuJn.js → PlayerAccountGamingLimitsGroupEdit-CBViR9JR.js} +1 -1
  6. package/components/{PlayerAccountGamingLimitsGroupEdit-DKM3If51.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +1 -1
  7. package/components/{PlayerAccountGamingLimitsInfoCard-ZuPsBZ-7.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
  8. package/components/{PlayerAccountGamingLimitsInfoCard-CuWuZhIt.js → PlayerAccountGamingLimitsInfoCard-CDFRfVT4.js} +2 -2
  9. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-qfL5QXeR.js → PlayerAccountGamingLimitsPage2Gm16Nd-B672X-1A.js} +1421 -989
  10. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-DSThp4HX.cjs +21 -0
  11. package/components/{PlayerAccountGamingLimitsWrapper2Nd-C2l4GKfA.js → PlayerAccountGamingLimitsWrapper2Nd-Cq5vxtjw.js} +22 -19
  12. package/components/PlayerAccountGamingLimitsWrapper2Nd-KUpEDIP8.cjs +1 -0
  13. package/components/PlayerAccountGeneralConfirmationModal-BlglDNwU.js +365 -0
  14. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +1 -0
  15. package/components/{PlayerAccountMenuNd-DCG8VBeN.js → PlayerAccountMenuNd-BWUhUlIY.js} +71 -71
  16. package/components/PlayerAccountMenuNd-BmPerb2f.cjs +1 -0
  17. package/components/PlayerAccountModal-C7aZZlBw.cjs +1 -0
  18. package/components/PlayerAccountModal-CzVRNZzB.js +213 -0
  19. package/components/{PlayerAccountSelfExclusionNd-CcWfUeeq.js → PlayerAccountSelfExclusionNd-D2JmyzgE.js} +2624 -2548
  20. package/components/{PlayerAccountSelfExclusionNd-y8YlFTpW.cjs → PlayerAccountSelfExclusionNd-DCsOgBZR.cjs} +184 -184
  21. package/components/{PlayerAccountTimeout-B0g85-4A.js → PlayerAccountTimeout-BO3G2t3W.js} +448 -288
  22. package/components/PlayerAccountTimeout-Dg5Mlz5K.cjs +1 -0
  23. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +1 -0
  24. package/components/PlayerActiveBonuses-ZwmUwEUl.js +1089 -0
  25. package/components/PlayerBonusCard-DGPJpICk.cjs +1 -0
  26. package/components/PlayerBonusCard-dFgfE3Pv.js +722 -0
  27. package/components/{PlayerBonusHistory-Bq7IPMXk.cjs → PlayerBonusHistory-BfiKd2bg.cjs} +1 -1
  28. package/components/{PlayerBonusHistory-DG8zGNVv.js → PlayerBonusHistory-CgvT-d4z.js} +3 -3
  29. package/components/{PlayerGamingHistory-CyH6YJA_.js → PlayerGamingHistory-BGLAtN_Q.js} +3 -3
  30. package/components/{PlayerGamingHistory-CxUirJqc.cjs → PlayerGamingHistory-DKuaAado.cjs} +1 -1
  31. package/es2015/player-account-controller-nd.cjs +1 -1
  32. package/es2015/player-account-controller-nd.js +1 -1
  33. package/package.json +1 -1
  34. package/components/PlayerAccountControllerNd-Q0t7Ubzn.cjs +0 -1
  35. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-TSh0wb3T.cjs +0 -21
  36. package/components/PlayerAccountGamingLimitsWrapper2Nd-B9Q7iGIP.cjs +0 -1
  37. package/components/PlayerAccountMenuNd-BIuXWBiI.cjs +0 -1
  38. package/components/PlayerAccountModal-C52SG5dV.cjs +0 -1
  39. package/components/PlayerAccountModal-DAqNrt36.js +0 -198
  40. package/components/PlayerAccountTimeout-C0lXekrR.cjs +0 -1
  41. package/components/PlayerActiveBonuses-B53gZwaj.cjs +0 -1
  42. package/components/PlayerActiveBonuses-DeDDPDuH.js +0 -998
  43. package/components/PlayerBonusCard-BbvG-zJm.js +0 -579
  44. package/components/PlayerBonusCard-Crm5CyLi.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as ie, $ as ce, S as se, i as ue, f as F, c as me, s as de, b as ge, e as v, k as L, o as j, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as q, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as be, j as M, X as N } from "./GeneralLogout-BZhvD1EQ.js";
1
+ import { a as ie, $ as ce, S as se, i as ue, f as I, c as me, s as de, b as ge, e as v, k as L, o as O, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as N, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as Me, j as b, X as q } from "./GeneralLogout-BZhvD1EQ.js";
2
2
  function X(n, e) {
3
3
  ie(n, e);
4
4
  }
5
- function Me(n) {
5
+ function be(n) {
6
6
  ce.set(n);
7
7
  }
8
8
  const G = {
@@ -57,30 +57,30 @@ if (typeof window != "undefined") {
57
57
  });
58
58
  }
59
59
  function Pe(n) {
60
- ge(n, "svelte-pqb66s", '.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:16px;line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
60
+ ge(n, "svelte-br9jas", '.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
61
61
  }
62
62
  function V(n, e, t) {
63
63
  const l = n.slice();
64
64
  return l[37] = e[t], l;
65
65
  }
66
66
  function we(n) {
67
- let e, t, l, a, d, m, y, h, P, w, A, x, b = (
67
+ let e, t, l, a, d, m, y, h, P, w, A, x, M = (
68
68
  /*isMobile*/
69
69
  n[10] && ve(n)
70
70
  ), g = (
71
71
  /*isMobile*/
72
72
  n[10] && xe(n)
73
- ), u = q(
73
+ ), u = N(
74
74
  /*menuItems*/
75
75
  n[5]
76
76
  ), c = [];
77
77
  for (let i = 0; i < u.length; i += 1)
78
78
  c[i] = Z(V(n, u, i));
79
- let I = !/*isMobile*/
79
+ let F = !/*isMobile*/
80
80
  n[10] && _e(n);
81
81
  return {
82
82
  c() {
83
- e = v("div"), t = v("div"), b && b.c(), l = k(), a = v("p"), d = H(
83
+ e = v("div"), t = v("div"), M && M.c(), l = k(), a = v("p"), d = H(
84
84
  /*profileUsername*/
85
85
  n[7]
86
86
  ), m = k(), y = v("p"), h = H(
@@ -89,22 +89,22 @@ function we(n) {
89
89
  ), P = k(), g && g.c(), w = k(), A = v("div");
90
90
  for (let i = 0; i < c.length; i += 1)
91
91
  c[i].c();
92
- x = k(), I && I.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
92
+ x = k(), F && F.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
93
93
  (n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(A, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
94
94
  (n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
95
95
  (n[11].matches && /*isMobile*/
96
96
  n[10] ? "PlayerAccountTabletContainer" : ""));
97
97
  },
98
98
  m(i, C) {
99
- L(i, e, C), o(e, t), b && b.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, h), o(t, P), g && g.m(t, null), o(e, w), o(e, A);
99
+ L(i, e, C), o(e, t), M && M.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, h), o(t, P), g && g.m(t, null), o(e, w), o(e, A);
100
100
  for (let p = 0; p < c.length; p += 1)
101
101
  c[p] && c[p].m(A, null);
102
- o(e, x), I && I.m(e, null);
102
+ o(e, x), F && F.m(e, null);
103
103
  },
104
104
  p(i, C) {
105
105
  if (
106
106
  /*isMobile*/
107
- i[10] && b.p(i, C), C[0] & /*profileUsername*/
107
+ i[10] && M.p(i, C), C[0] & /*profileUsername*/
108
108
  128 && z(
109
109
  d,
110
110
  /*profileUsername*/
@@ -118,7 +118,7 @@ function we(n) {
118
118
  i[10] && g.p(i, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
119
119
  5216
120
120
  ) {
121
- u = q(
121
+ u = N(
122
122
  /*menuItems*/
123
123
  i[5]
124
124
  );
@@ -132,10 +132,10 @@ function we(n) {
132
132
  c.length = u.length;
133
133
  }
134
134
  /*isMobile*/
135
- i[10] || I.p(i, C);
135
+ i[10] || F.p(i, C);
136
136
  },
137
137
  d(i) {
138
- i && B(e), b && b.d(), g && g.d(), Ae(c, i), I && I.d();
138
+ i && B(e), M && M.d(), g && g.d(), Ae(c, i), F && F.d();
139
139
  }
140
140
  };
141
141
  }
@@ -143,13 +143,13 @@ function ve(n) {
143
143
  let e, t, l, a, d, m, y, h, P, w, A = (
144
144
  /*$_*/
145
145
  n[9]("title") + ""
146
- ), x, b, g;
146
+ ), x, M, g;
147
147
  return {
148
148
  c() {
149
149
  e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), h = E("path"), P = k(), w = v("h3"), x = H(A), 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(y, "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(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
150
150
  },
151
151
  m(u, c) {
152
- L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, h), o(e, P), o(e, w), o(w, x), b || (g = [
152
+ L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, h), o(e, P), o(e, w), o(w, x), M || (g = [
153
153
  W(
154
154
  t,
155
155
  "click",
@@ -162,7 +162,7 @@ function ve(n) {
162
162
  /*goToHome*/
163
163
  n[13]
164
164
  )
165
- ], b = !0);
165
+ ], M = !0);
166
166
  },
167
167
  p(u, c) {
168
168
  c[0] & /*$_*/
@@ -170,7 +170,7 @@ function ve(n) {
170
170
  u[9]("title") + "") && z(x, A);
171
171
  },
172
172
  d(u) {
173
- u && B(e), b = !1, be(g);
173
+ u && B(e), M = !1, Me(g);
174
174
  }
175
175
  };
176
176
  }
@@ -178,22 +178,22 @@ function xe(n) {
178
178
  let e, t;
179
179
  return {
180
180
  c() {
181
- e = v("div"), t = v("general-logout"), M(
181
+ e = v("div"), t = v("general-logout"), b(
182
182
  t,
183
183
  "endpoint",
184
184
  /*endpoint*/
185
185
  n[1]
186
- ), M(
186
+ ), b(
187
187
  t,
188
188
  "session",
189
189
  /*session*/
190
190
  n[0]
191
- ), M(t, "buttonlocation", "PlayerAccountMenu"), M(
191
+ ), b(t, "buttonlocation", "PlayerAccountMenu"), b(
192
192
  t,
193
193
  "clientstyling",
194
194
  /*clientstyling*/
195
195
  n[2]
196
- ), M(
196
+ ), b(
197
197
  t,
198
198
  "clientstylingurl",
199
199
  /*clientstylingurl*/
@@ -205,25 +205,25 @@ function xe(n) {
205
205
  },
206
206
  p(l, a) {
207
207
  a[0] & /*endpoint*/
208
- 2 && M(
208
+ 2 && b(
209
209
  t,
210
210
  "endpoint",
211
211
  /*endpoint*/
212
212
  l[1]
213
213
  ), a[0] & /*session*/
214
- 1 && M(
214
+ 1 && b(
215
215
  t,
216
216
  "session",
217
217
  /*session*/
218
218
  l[0]
219
219
  ), a[0] & /*clientstyling*/
220
- 4 && M(
220
+ 4 && b(
221
221
  t,
222
222
  "clientstyling",
223
223
  /*clientstyling*/
224
224
  l[2]
225
225
  ), a[0] & /*clientstylingurl*/
226
- 8 && M(
226
+ 8 && b(
227
227
  t,
228
228
  "clientstylingurl",
229
229
  /*clientstylingurl*/
@@ -240,7 +240,7 @@ function Z(n) {
240
240
  /*menuItem*/
241
241
  n[37].label + ""
242
242
  ), h, P, w, A, x;
243
- function b() {
243
+ function M() {
244
244
  return (
245
245
  /*click_handler*/
246
246
  n[22](
@@ -252,18 +252,18 @@ function Z(n) {
252
252
  return {
253
253
  c() {
254
254
  e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), h = H(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
255
- (n[10] ? "PlayerAccountMenuItemIconMobile" : "")), N(l.src, a = /*menuItem*/
255
+ (n[10] ? "PlayerAccountMenuItemIconMobile" : "")), q(l.src, a = /*menuItem*/
256
256
  n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
257
257
  (n[6] === /*menuItem*/
258
258
  n[37].id && !/*isMobile*/
259
259
  n[10] ? "PlayerAccountMenuActiveItemBox" : ""));
260
260
  },
261
261
  m(g, u) {
262
- L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, h), o(e, P), A || (x = W(e, "click", b), A = !0);
262
+ L(g, e, u), o(e, t), o(t, l), o(t, d), o(t, m), o(m, h), o(e, P), A || (x = W(e, "click", M), A = !0);
263
263
  },
264
264
  p(g, u) {
265
265
  n = g, u[0] & /*menuItems*/
266
- 32 && !N(l.src, a = /*menuItem*/
266
+ 32 && !q(l.src, a = /*menuItem*/
267
267
  n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
268
268
  32 && y !== (y = /*menuItem*/
269
269
  n[37].label + "") && z(h, y), u[0] & /*selectedItem, menuItems*/
@@ -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"), M(
284
+ e = v("div"), t = v("general-logout"), b(
285
285
  t,
286
286
  "endpoint",
287
287
  /*endpoint*/
288
288
  n[1]
289
- ), M(
289
+ ), b(
290
290
  t,
291
291
  "session",
292
292
  /*session*/
293
293
  n[0]
294
- ), M(t, "buttonlocation", "PlayerAccountMenu"), M(
294
+ ), b(t, "buttonlocation", "PlayerAccountMenu"), b(
295
295
  t,
296
296
  "clientstyling",
297
297
  /*clientstyling*/
298
298
  n[2]
299
- ), M(
299
+ ), b(
300
300
  t,
301
301
  "clientstylingurl",
302
302
  /*clientstylingurl*/
@@ -308,25 +308,25 @@ function _e(n) {
308
308
  },
309
309
  p(l, a) {
310
310
  a[0] & /*endpoint*/
311
- 2 && M(
311
+ 2 && b(
312
312
  t,
313
313
  "endpoint",
314
314
  /*endpoint*/
315
315
  l[1]
316
316
  ), a[0] & /*session*/
317
- 1 && M(
317
+ 1 && b(
318
318
  t,
319
319
  "session",
320
320
  /*session*/
321
321
  l[0]
322
322
  ), a[0] & /*clientstyling*/
323
- 4 && M(
323
+ 4 && b(
324
324
  t,
325
325
  "clientstyling",
326
326
  /*clientstyling*/
327
327
  l[2]
328
328
  ), a[0] & /*clientstylingurl*/
329
- 8 && M(
329
+ 8 && b(
330
330
  t,
331
331
  "clientstylingurl",
332
332
  /*clientstylingurl*/
@@ -354,17 +354,17 @@ function Ce(n) {
354
354
  p(d, m) {
355
355
  a.p(d, m);
356
356
  },
357
- i: j,
358
- o: j,
357
+ i: O,
358
+ o: O,
359
359
  d(d) {
360
360
  d && B(e), a.d(), n[23](null);
361
361
  }
362
362
  };
363
363
  }
364
- function Fe(n, e, t) {
364
+ function Ie(n, e, t) {
365
365
  let l;
366
366
  ye(n, he, (r) => t(9, l = r));
367
- let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: h = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, I = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
367
+ let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: h = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: M = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, F = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
368
368
  const K = window.matchMedia("(min-width: 768px)"), Q = () => {
369
369
  fetch(g).then((f) => f.json()).then((f) => {
370
370
  Object.keys(f).forEach((_) => {
@@ -394,7 +394,7 @@ function Fe(n, e, t) {
394
394
  }, Y = () => {
395
395
  const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
396
396
  r.searchParams.append("device", J()), fetch(r.href).then((f) => f.json()).then((f) => {
397
- t(5, I = f), O();
397
+ t(5, F = f), D();
398
398
  }).catch((f) => {
399
399
  console.error("Error getting menu items", f);
400
400
  });
@@ -413,22 +413,22 @@ function Fe(n, e, t) {
413
413
  console.error(_);
414
414
  }
415
415
  );
416
- }, D = (r) => {
416
+ }, j = (r) => {
417
417
  window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
418
- }, O = () => {
418
+ }, D = () => {
419
419
  var r;
420
- t(6, i = (r = I.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
420
+ t(6, i = (r = F.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
421
421
  }, ee = () => {
422
422
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
423
423
  }, te = () => {
424
- Me(P);
424
+ be(P);
425
425
  }, ne = () => {
426
426
  $();
427
427
  }, re = () => {
428
428
  let r = document.createElement("style");
429
429
  r.innerHTML = x, c.appendChild(r);
430
430
  }, le = () => {
431
- let r = new URL(b), f = document.createElement("style");
431
+ let r = new URL(M), f = document.createElement("style");
432
432
  fetch(r.href).then((_) => _.text()).then((_) => {
433
433
  f.innerHTML = _, setTimeout(
434
434
  () => {
@@ -441,37 +441,37 @@ function Fe(n, e, t) {
441
441
  pe(() => (window.addEventListener("message", U, !1), () => {
442
442
  window.removeEventListener("message", U);
443
443
  }));
444
- const ae = (r) => D(r);
444
+ const ae = (r) => j(r);
445
445
  function oe(r) {
446
446
  fe[r ? "unshift" : "push"](() => {
447
447
  c = r, t(4, c);
448
448
  });
449
449
  }
450
450
  return n.$$set = (r) => {
451
- "endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, h = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, A = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, b = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
451
+ "endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, h = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, A = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, M = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
452
452
  }, n.$$.update = () => {
453
453
  n.$$.dirty[0] & /*lang*/
454
454
  131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
455
455
  196611 && a && y && h && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
456
456
  180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
457
- 2097152 && u && O(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
458
- 24 && b && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
457
+ 2097152 && u && D(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
458
+ 24 && M && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
459
459
  20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
460
460
  1048576 && g && Q();
461
461
  }, [
462
462
  y,
463
463
  a,
464
464
  x,
465
- b,
465
+ M,
466
466
  c,
467
- I,
467
+ F,
468
468
  i,
469
469
  T,
470
470
  S,
471
471
  l,
472
472
  p,
473
473
  K,
474
- D,
474
+ j,
475
475
  ee,
476
476
  d,
477
477
  m,
@@ -485,12 +485,12 @@ function Fe(n, e, t) {
485
485
  oe
486
486
  ];
487
487
  }
488
- class Ie extends se {
488
+ class Fe extends se {
489
489
  constructor(e) {
490
490
  super(), ue(
491
491
  this,
492
492
  e,
493
- Fe,
493
+ Ie,
494
494
  Ce,
495
495
  de,
496
496
  {
@@ -515,76 +515,76 @@ class Ie extends se {
515
515
  return this.$$.ctx[1];
516
516
  }
517
517
  set endpoint(e) {
518
- this.$$set({ endpoint: e }), F();
518
+ this.$$set({ endpoint: e }), I();
519
519
  }
520
520
  get cmsendpoint() {
521
521
  return this.$$.ctx[14];
522
522
  }
523
523
  set cmsendpoint(e) {
524
- this.$$set({ cmsendpoint: e }), F();
524
+ this.$$set({ cmsendpoint: e }), I();
525
525
  }
526
526
  get env() {
527
527
  return this.$$.ctx[15];
528
528
  }
529
529
  set env(e) {
530
- this.$$set({ env: e }), F();
530
+ this.$$set({ env: e }), I();
531
531
  }
532
532
  get session() {
533
533
  return this.$$.ctx[0];
534
534
  }
535
535
  set session(e) {
536
- this.$$set({ session: e }), F();
536
+ this.$$set({ session: e }), I();
537
537
  }
538
538
  get playerid() {
539
539
  return this.$$.ctx[16];
540
540
  }
541
541
  set playerid(e) {
542
- this.$$set({ playerid: e }), F();
542
+ this.$$set({ playerid: e }), I();
543
543
  }
544
544
  get lang() {
545
545
  return this.$$.ctx[17];
546
546
  }
547
547
  set lang(e) {
548
- this.$$set({ lang: e }), F();
548
+ this.$$set({ lang: e }), I();
549
549
  }
550
550
  get selecteditem() {
551
551
  return this.$$.ctx[18];
552
552
  }
553
553
  set selecteditem(e) {
554
- this.$$set({ selecteditem: e }), F();
554
+ this.$$set({ selecteditem: e }), I();
555
555
  }
556
556
  get userroles() {
557
557
  return this.$$.ctx[19];
558
558
  }
559
559
  set userroles(e) {
560
- this.$$set({ userroles: e }), F();
560
+ this.$$set({ userroles: e }), I();
561
561
  }
562
562
  get clientstyling() {
563
563
  return this.$$.ctx[2];
564
564
  }
565
565
  set clientstyling(e) {
566
- this.$$set({ clientstyling: e }), F();
566
+ this.$$set({ clientstyling: e }), I();
567
567
  }
568
568
  get clientstylingurl() {
569
569
  return this.$$.ctx[3];
570
570
  }
571
571
  set clientstylingurl(e) {
572
- this.$$set({ clientstylingurl: e }), F();
572
+ this.$$set({ clientstylingurl: e }), I();
573
573
  }
574
574
  get translationurl() {
575
575
  return this.$$.ctx[20];
576
576
  }
577
577
  set translationurl(e) {
578
- this.$$set({ translationurl: e }), F();
578
+ this.$$set({ translationurl: e }), I();
579
579
  }
580
580
  get activemenuitem() {
581
581
  return this.$$.ctx[21];
582
582
  }
583
583
  set activemenuitem(e) {
584
- this.$$set({ activemenuitem: e }), F();
584
+ this.$$set({ activemenuitem: e }), I();
585
585
  }
586
586
  }
587
- me(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
587
+ me(Fe, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
588
588
  export {
589
- Ie as default
589
+ Fe as default
590
590
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BW6b3iuS.cjs");function E(a,t){e.addMessages(a,t)}function X(a){e.$locale.set(a)}const L={en:{title:"My Account"},"zh-hk":{title:"我的帳戶"},fr:{title:"Mon compte"},tr:{title:"Hesabım"},ro:{title:"Contul meu"},es:{title:"Mi Cuenta"},pt:{title:"Minha Conta"},hr:{title:"Moj račun"},"pt-br":{title:"Minha conta"},"es-mx":{title:"Mi cuenta"},"en-us":{title:"My Account"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(r){if(r instanceof DOMException&&r.message.includes("has already been used with this registry")||r.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw r}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./GeneralLogout-BW6b3iuS.cjs")).then(t=>t.GeneralLogout_ce).then(({default:t})=>{!customElements.get("general-logout")&&customElements.define("general-logout",t.element)})}function Z(a){e.append_styles(a,"svelte-br9jas",'.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:var(--emw--font-size-small, 14px);text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:var(--emw--font-size-medium, 16px);line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:18px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon,.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:12px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:var(--emw--font-size-large, 20px)}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}')}function T(a,t,n){const r=a.slice();return r[37]=t[n],r}function Q(a){let t,n,r,o,m,u,p,f,_,M,h,b,A=a[10]&&J(a),d=a[10]&&K(a),s=e.ensure_array_like(a[5]),c=[];for(let i=0;i<s.length;i+=1)c[i]=B(T(a,s,i));let v=!a[10]&&Y(a);return{c(){t=e.element("div"),n=e.element("div"),A&&A.c(),r=e.space(),o=e.element("p"),m=e.text(a[7]),u=e.space(),p=e.element("p"),f=e.text(a[8]),_=e.space(),d&&d.c(),M=e.space(),h=e.element("div");for(let i=0;i<c.length;i+=1)c[i].c();b=e.space(),v&&v.c(),e.attr(o,"class","PlayerAccountMenuUser"),e.attr(p,"class","PlayerAccountMenuEmail"),e.attr(n,"class","PlayerAccountMenuHeader "+(a[10]?"PlayerAccountMenuHeaderMobile":"")),e.attr(h,"class","PlayerAccountMenuList"),e.attr(t,"class","PlayerAccountMenuContainer "+(a[10]?"PlayerAccountMobileContainer":"")+" "+(a[11].matches&&a[10]?"PlayerAccountTabletContainer":""))},m(i,w){e.insert(i,t,w),e.append(t,n),A&&A.m(n,null),e.append(n,r),e.append(n,o),e.append(o,m),e.append(n,u),e.append(n,p),e.append(p,f),e.append(n,_),d&&d.m(n,null),e.append(t,M),e.append(t,h);for(let g=0;g<c.length;g+=1)c[g]&&c[g].m(h,null);e.append(t,b),v&&v.m(t,null)},p(i,w){if(i[10]&&A.p(i,w),w[0]&128&&e.set_data(m,i[7]),w[0]&256&&e.set_data(f,i[8]),i[10]&&d.p(i,w),w[0]&5216){s=e.ensure_array_like(i[5]);let g;for(g=0;g<s.length;g+=1){const x=T(i,s,g);c[g]?c[g].p(x,w):(c[g]=B(x),c[g].c(),c[g].m(h,null))}for(;g<c.length;g+=1)c[g].d(1);c.length=s.length}i[10]||v.p(i,w)},d(i){i&&e.detach(t),A&&A.d(),d&&d.d(),e.destroy_each(c,i),v&&v.d()}}}function J(a){let t,n,r,o,m,u,p,f,_,M,h=a[9]("title")+"",b,A,d;return{c(){t=e.element("div"),n=e.svg_element("svg"),r=e.svg_element("defs"),o=e.svg_element("style"),m=e.text(".aaa{fill:var(--emw--color-white, #FFFFFF);}"),u=e.svg_element("g"),p=e.svg_element("g"),f=e.svg_element("path"),_=e.space(),M=e.element("h3"),b=e.text(h),e.attr(f,"class","aaa"),e.attr(f,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(f,"transform","translate(15 15) rotate(180)"),e.attr(p,"transform","translate(20 158)"),e.attr(u,"transform","translate(-20 -158)"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","15"),e.attr(n,"height","15"),e.attr(n,"viewBox","0 0 15 15"),e.attr(M,"class","PlayerAccountMenuCategoryTitle"),e.attr(t,"class","PlayerAccountMenuCategoryWrapper")},m(s,c){e.insert(s,t,c),e.append(t,n),e.append(n,r),e.append(r,o),e.append(o,m),e.append(n,u),e.append(u,p),e.append(p,f),e.append(t,_),e.append(t,M),e.append(M,b),A||(d=[e.listen(n,"click",a[13]),e.listen(M,"click",a[13])],A=!0)},p(s,c){c[0]&512&&h!==(h=s[9]("title")+"")&&e.set_data(b,h)},d(s){s&&e.detach(t),A=!1,e.run_all(d)}}}function K(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,o){e.insert(r,t,o),e.append(t,n)},p(r,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&1&&e.set_custom_element_data(n,"session",r[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3])},d(r){r&&e.detach(t)}}}function B(a){let t,n,r,o,m,u,p=a[37].label+"",f,_,M,h,b;function A(){return a[22](a[37])}return{c(){t=e.element("div"),n=e.element("p"),r=e.element("img"),m=e.space(),u=e.element("span"),f=e.text(p),_=e.space(),e.attr(r,"class","PlayerAccountMenuItemIcon "+(a[10]?"PlayerAccountMenuItemIconMobile":"")),e.src_url_equal(r.src,o=a[37].img)||e.attr(r,"src",o),e.attr(u,"class","PlayerAccountMenuItemTitle"),e.attr(n,"class","PlayerAccountMenuItemWrapper"),e.attr(t,"class",M="PlayerAccountMenuItemBox "+(a[6]===a[37].id&&!a[10]?"PlayerAccountMenuActiveItemBox":""))},m(d,s){e.insert(d,t,s),e.append(t,n),e.append(n,r),e.append(n,m),e.append(n,u),e.append(u,f),e.append(t,_),h||(b=e.listen(t,"click",A),h=!0)},p(d,s){a=d,s[0]&32&&!e.src_url_equal(r.src,o=a[37].img)&&e.attr(r,"src",o),s[0]&32&&p!==(p=a[37].label+"")&&e.set_data(f,p),s[0]&96&&M!==(M="PlayerAccountMenuItemBox "+(a[6]===a[37].id&&!a[10]?"PlayerAccountMenuActiveItemBox":""))&&e.attr(t,"class",M)},d(d){d&&e.detach(t),h=!1,b()}}}function Y(a){let t,n;return{c(){t=e.element("div"),n=e.element("general-logout"),e.set_custom_element_data(n,"endpoint",a[1]),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"buttonlocation","PlayerAccountMenu"),e.set_custom_element_data(n,"clientstyling",a[2]),e.set_custom_element_data(n,"clientstylingurl",a[3]),e.attr(t,"class","PlayerAccountLogOutArea")},m(r,o){e.insert(r,t,o),e.append(t,n)},p(r,o){o[0]&2&&e.set_custom_element_data(n,"endpoint",r[1]),o[0]&1&&e.set_custom_element_data(n,"session",r[0]),o[0]&4&&e.set_custom_element_data(n,"clientstyling",r[2]),o[0]&8&&e.set_custom_element_data(n,"clientstylingurl",r[3])},d(r){r&&e.detach(t)}}}function $(a){let t;function n(m,u){return Q}let o=n()(a);return{c(){t=e.element("div"),o.c()},m(m,u){e.insert(m,t,u),o.m(t,null),a[23](t)},p(m,u){o.p(m,u)},i:e.noop,o:e.noop,d(m){m&&e.detach(t),o.d(),a[23](null)}}}function ee(a,t,n){let r;e.component_subscribe(a,e.$format,l=>n(9,r=l));let{endpoint:o=""}=t,{cmsendpoint:m=""}=t,{env:u=""}=t,{session:p=""}=t,{playerid:f=""}=t,{lang:_="en"}=t,{selecteditem:M=""}=t,{userroles:h=""}=t,{clientstyling:b=""}=t,{clientstylingurl:A=""}=t,{translationurl:d=""}=t,{activemenuitem:s=""}=t,c,v=[],i,w=window.navigator.userAgent,g=e.getDevice(w)!=="PC",x="",C="";const z=window.matchMedia("(min-width: 768px)"),S=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{E(P,y[P])})}).catch(y=>{console.error(y)})};Object.keys(L).forEach(l=>{E(l,L[l])});const I=l=>{if(l.data)switch(l.data.type){case"AccountMenuDetails":availableMenuItemsArray=l.data.accountMenuInfo;break;case"UserSessionID":n(0,p=l.data.session);break}},W=()=>{let l=e.getDevice(w);if(l)return l==="PC"?"dk":"mtWeb"},D=()=>{const l=new URL(`${m}/${_}/profile-menu?env=${u}`);l.searchParams.append("device",W()),fetch(l.href).then(y=>y.json()).then(y=>{n(5,v=y),k()}).catch(y=>{console.error("Error getting menu items",y)})},O=()=>{let l=new URL(`${o}/v1/player/${f}/profile`);l.searchParams.append("userRoles",h);let y={method:"GET",headers:{"X-SessionID":p}};fetch(l.href,y).then(P=>P.json()).then(P=>{n(7,x=P.username),n(8,C=P.email)},P=>{console.error(P)})},F=l=>{window.postMessage({type:"ChangeAccountPage",page:l},window.location.href),n(6,i=l.id)},k=()=>{var l;n(6,i=(l=v.find(y=>y.path.includes(s)))==null?void 0:l.id)},U=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},j=()=>{X(_)},R=()=>{O()},q=()=>{let l=document.createElement("style");l.innerHTML=b,c.appendChild(l)},G=()=>{let l=new URL(A),y=document.createElement("style");fetch(l.href).then(P=>P.text()).then(P=>{y.innerHTML=P,setTimeout(()=>{c.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",I,!1),()=>{window.removeEventListener("message",I)}));const N=l=>F(l);function V(l){e.binding_callbacks[l?"unshift":"push"](()=>{c=l,n(4,c)})}return a.$$set=l=>{"endpoint"in l&&n(1,o=l.endpoint),"cmsendpoint"in l&&n(14,m=l.cmsendpoint),"env"in l&&n(15,u=l.env),"session"in l&&n(0,p=l.session),"playerid"in l&&n(16,f=l.playerid),"lang"in l&&n(17,_=l.lang),"selecteditem"in l&&n(18,M=l.selecteditem),"userroles"in l&&n(19,h=l.userroles),"clientstyling"in l&&n(2,b=l.clientstyling),"clientstylingurl"in l&&n(3,A=l.clientstylingurl),"translationurl"in l&&n(20,d=l.translationurl),"activemenuitem"in l&&n(21,s=l.activemenuitem)},a.$$.update=()=>{a.$$.dirty[0]&131072&&_&&j(),a.$$.dirty[0]&196611&&o&&p&&f&&_&&R(),a.$$.dirty[0]&180224&&m&&_&&u&&D(),a.$$.dirty[0]&2097152&&s&&k(),a.$$.dirty[0]&24&&A&&c&&G(),a.$$.dirty[0]&20&&b&&c&&q(),a.$$.dirty[0]&1048576&&d&&S()},[p,o,b,A,c,v,i,x,C,r,g,z,F,U,m,u,f,_,M,h,d,s,N,V]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ee,$,e.safe_not_equal,{endpoint:1,cmsendpoint:14,env:15,session:0,playerid:16,lang:17,selecteditem:18,userroles:19,clientstyling:2,clientstylingurl:3,translationurl:20,activemenuitem:21},Z,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[14]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[15]}set env(t){this.$$set({env:t}),e.flush()}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[16]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get selecteditem(){return this.$$.ctx[18]}set selecteditem(t){this.$$set({selecteditem:t}),e.flush()}get userroles(){return this.$$.ctx[19]}set userroles(t){this.$$set({userroles:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get activemenuitem(){return this.$$.ctx[21]}set activemenuitem(t){this.$$set({activemenuitem:t}),e.flush()}}e.create_custom_element(H,{endpoint:{},cmsendpoint:{},env:{},session:{},playerid:{},lang:{},selecteditem:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},activemenuitem:{}},[],[],!0);exports.default=H;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-BW6b3iuS.cjs");function y(n,{delay:e=0,duration:l=400,easing:i=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:l,easing:i,css:r=>`opacity: ${r*s}`}}function k(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function w(n){let e,l,i,s,r;const f=n[8].default,u=t.create_slot(f,n,n[7],null);return{c(){e=t.element("div"),l=t.element("div"),i=t.element("div"),u&&u.c(),t.attr(i,"class","ModalContainer"),t.attr(l,"class","ModalWindow"),t.attr(l,"id","Modal")},m(a,d){t.insert(a,e,d),t.append(e,l),t.append(l,i),u&&u.m(i,null),n[9](l),n[10](e),r=!0},p(a,d){n=a,u&&u.p&&(!r||d&128)&&t.update_slot_base(u,f,n,n[7],r?t.get_slot_changes(f,n[7],d,null):t.get_all_dirty_from_scope(n[7]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(s||(s=t.create_bidirectional_transition(l,y,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[9](null),a&&s&&s.end(),n[10](null)}}}function S(n){let e,l,i=n[0]&&w(n);return{c(){i&&i.c(),e=t.empty()},m(s,r){i&&i.m(s,r),t.insert(s,e,r),l=!0},p(s,[r]){s[0]?i?(i.p(s,r),r&1&&t.transition_in(i,1)):(i=w(s),i.c(),t.transition_in(i,1),i.m(e.parentNode,e)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros())},i(s){l||(t.transition_in(i),l=!0)},o(s){t.transition_out(i),l=!1},d(s){s&&t.detach(e),i&&i.d(s)}}}function L(n,e,l){let{$$slots:i={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{showmodaleventname:d="ShowLimitsConfirmationModal"}=e,c,h;const _=o=>{switch(o.data.type){case"ModalClosed":l(0,r=!1);break;case d:l(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}},M=()=>{let o=document.createElement("style");o.innerHTML=u,c.appendChild(o)},v=()=>{let o=new URL(a),g=document.createElement("style");fetch(o.href).then(m=>m.text()).then(m=>{g.innerHTML=m,setTimeout(()=>{c.appendChild(g)},1)})};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));function p(o){t.binding_callbacks[o?"unshift":"push"](()=>{h=o,l(3,h)})}function C(o){t.binding_callbacks[o?"unshift":"push"](()=>{c=o,l(2,c)})}return n.$$set=o=>{"show"in o&&l(0,r=o.show),"duration"in o&&l(1,f=o.duration),"clientstyling"in o&&l(4,u=o.clientstyling),"clientstylingurl"in o&&l(5,a=o.clientstylingurl),"showmodaleventname"in o&&l(6,d=o.showmodaleventname),"$$scope"in o&&l(7,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&36&&a&&c&&v(),n.$$.dirty&20&&u&&c&&M()},[r,f,c,h,u,a,d,s,i,p,C]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,L,S,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,showmodaleventname:6},k)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[6]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;