@everymatrix/player-account-controller-nd 1.52.6 → 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,12 +1,33 @@
1
- import { a as ce, $ as me, S as fe, i as de, f as P, c as pe, s as he, b as ge, K as X, e as T, d as x, t as z, g as u, P as ve, k as N, l as i, Q as $, m as K, n as W, o as ee, p as V, L as ye, r as Te, q as Fe, u as be, v as Ce, w as L, O as oe, j as R, M as Oe, x as te, y as De } from "./GeneralLogout-BZhvD1EQ.js";
2
- import { d as ae } from "./PlayerAccountSelfExclusionNd-CcWfUeeq.js";
3
- function ie(o, e) {
4
- ce(o, e);
1
+ import { a as pe, $ as he, S as ge, i as Te, f as W, c as ye, s as ve, b as Ce, K as ee, e as h, d as x, t as A, g as f, P as be, k as K, l as i, Q as oe, m as Q, n as I, o as te, p as N, L as Fe, r as Me, q as Oe, u as we, v as Se, w as Y, O as ae, j as p, M as _e, x as ie, y as De } from "./GeneralLogout-BZhvD1EQ.js";
2
+ import { d as ne } from "./PlayerAccountSelfExclusionNd-D2JmyzgE.js";
3
+ if (typeof window != "undefined") {
4
+ let t = function(e) {
5
+ return function(...o) {
6
+ try {
7
+ return e.apply(this, o);
8
+ } catch (r) {
9
+ 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"))
10
+ return !1;
11
+ throw r;
12
+ }
13
+ };
14
+ };
15
+ customElements.define = t(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BlglDNwU.js").then(
16
+ ({ default: e }) => {
17
+ !customElements.get("player-account-general-confirmation-modal") && customElements.define(
18
+ "player-account-general-confirmation-modal",
19
+ e.element
20
+ );
21
+ }
22
+ );
23
+ }
24
+ function re(t, e) {
25
+ pe(t, e);
5
26
  }
6
- function Se(o) {
7
- me.set(o);
27
+ function xe(t) {
28
+ he.set(t);
8
29
  }
9
- const re = {
30
+ const le = {
10
31
  en: {
11
32
  titleTimeout: "Timeout",
12
33
  timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
@@ -21,7 +42,10 @@ const re = {
21
42
  CoolOffFor3Months: "3 months",
22
43
  CoolOffUntilSelectedDate: "Until",
23
44
  dateInstructions: "In order to manually input date use the following format:",
24
- duration: "Duration:"
45
+ duration: "Duration:",
46
+ confirmationModalTitle: "Confirmation",
47
+ confirmationModalTextPeriod: "Are you sure you want to cool-off for {period}?",
48
+ confirmationModalTextUntil: "Are you sure you want to cool-off until {date}?"
25
49
  },
26
50
  "en-us": {
27
51
  titleTimeout: "Timeout",
@@ -37,7 +61,10 @@ const re = {
37
61
  CoolOffFor3Months: "3 months",
38
62
  CoolOffUntilSelectedDate: "Until",
39
63
  dateInstructions: "In order to manually input date use the following format:",
40
- duration: "Duration:"
64
+ duration: "Duration:",
65
+ confirmationModalTitle: "Confirmation",
66
+ confirmationModalTextPeriod: "Are you sure you want to cool-off for {period}?",
67
+ confirmationModalTextUntil: "Are you sure you want to cool-off until {date}?"
41
68
  },
42
69
  "zh-hk": {
43
70
  titleTimeout: "Timeout",
@@ -53,7 +80,10 @@ const re = {
53
80
  CoolOffFor3Months: "3個月",
54
81
  CoolOffUntilSelectedDate: "直到",
55
82
  dateInstructions: "如需手動輸入日期,請使用以下格式:",
56
- duration: "持續時間:"
83
+ duration: "持續時間:",
84
+ confirmationModalTitle: "確認",
85
+ confirmationModalTextPeriod: "您確定要冷靜 {period} 嗎?",
86
+ confirmationModalTextUntil: "您確定要冷靜直到 {date} 嗎?"
57
87
  },
58
88
  fr: {
59
89
  titleTimeout: "Délai d'attente",
@@ -69,7 +99,10 @@ const re = {
69
99
  CoolOffFor3Months: "3 mois",
70
100
  CoolOffUntilSelectedDate: "Jusqu'à",
71
101
  dateInstructions: "Pour saisir une date manuellement, utilisez le format suivant :",
72
- duration: "Durée :"
102
+ duration: "Durée :",
103
+ confirmationModalTitle: "Confirmation",
104
+ confirmationModalTextPeriod: "Êtes-vous sûr de vouloir vous refroidir pendant {period} ?",
105
+ confirmationModalTextUntil: "Êtes-vous sûr de vouloir vous refroidir jusqu'au {date} ?"
73
106
  },
74
107
  ro: {
75
108
  titleTimeout: "Timeout",
@@ -85,7 +118,10 @@ const re = {
85
118
  CoolOffFor3Months: "3 luni",
86
119
  CoolOffUntilSelectedDate: "Până la",
87
120
  dateInstructions: "Pentru a introduce manual o dată, utilizați următorul format:",
88
- duration: "Durată:"
121
+ duration: "Durată:",
122
+ confirmationModalTitle: "Confirmare",
123
+ confirmationModalTextPeriod: "Ești sigur că vrei să te răcorești pentru {period}?",
124
+ confirmationModalTextUntil: "Ești sigur că vrei să te răcorești până la {date}?"
89
125
  },
90
126
  es: {
91
127
  titleTimeout: "Descanso",
@@ -101,7 +137,10 @@ const re = {
101
137
  CoolOffFor3Months: "3 meses",
102
138
  CoolOffUntilSelectedDate: "Hasta",
103
139
  dateInstructions: "Para ingresar manualmente la fecha, utilice el siguiente formato:",
104
- duration: "Duración:"
140
+ duration: "Duración:",
141
+ confirmationModalTitle: "Confirmación",
142
+ confirmationModalTextPeriod: "¿Estás seguro de que quieres enfriarte por {period}?",
143
+ confirmationModalTextUntil: "¿Estás seguro de que quieres enfriarte hasta {date}?"
105
144
  },
106
145
  pt: {
107
146
  titleTimeout: "Tempo esgotado",
@@ -117,7 +156,10 @@ const re = {
117
156
  CoolOffFor3Months: "3 meses",
118
157
  CoolOffUntilSelectedDate: "Até",
119
158
  dateInstructions: "Para introduzir manualmente a data, utilize o seguinte formato:",
120
- duration: "Duração:"
159
+ duration: "Duração:",
160
+ confirmationModalTitle: "Confirmação",
161
+ confirmationModalTextPeriod: "Tem a certeza de que deseja se refrescar por {period}?",
162
+ confirmationModalTextUntil: "Tem a certeza de que deseja se refrescar até {date}?"
121
163
  },
122
164
  hr: {
123
165
  titleTimeout: "Samoisključenje",
@@ -133,7 +175,10 @@ const re = {
133
175
  CoolOffFor3Months: "3 mjeseca",
134
176
  CoolOffUntilSelectedDate: "Do",
135
177
  dateInstructions: "Za ručni unos datuma koristite sljedeći format:",
136
- duration: "Trajanje:"
178
+ duration: "Trajanje:",
179
+ confirmationModalTitle: "Potvrda",
180
+ confirmationModalTextPeriod: "Jeste li sigurni da se želite rashladiti na {period}?",
181
+ confirmationModalTextUntil: "Jeste li sigurni da se želite rashladiti do {date}?"
137
182
  },
138
183
  "pt-br": {
139
184
  titleTimeout: "Tempo fora",
@@ -149,7 +194,10 @@ const re = {
149
194
  CoolOffFor3Months: "3 meses",
150
195
  CoolOffUntilSelectedDate: "Até",
151
196
  dateInstructions: "Para inserir manualmente a data, use o seguinte formato:",
152
- duration: "Duração:"
197
+ duration: "Duração:",
198
+ confirmationModalTitle: "Confirmação",
199
+ confirmationModalTextPeriod: "Tem certeza de que deseja se refrescar por {period}?",
200
+ confirmationModalTextUntil: "Tem certeza de que deseja se refrescar até {date}?"
153
201
  },
154
202
  "es-mx": {
155
203
  titleTimeout: "Tiempo Fuera",
@@ -165,7 +213,10 @@ const re = {
165
213
  CoolOffFor3Months: "3 meses",
166
214
  CoolOffUntilSelectedDate: "Hasta",
167
215
  dateInstructions: "Para ingresar manualmente la fecha, utilice el siguiente formato:",
168
- duration: "Duración:"
216
+ duration: "Duración:",
217
+ confirmationModalTitle: "Confirmación",
218
+ confirmationModalTextPeriod: "¿Está seguro de que desea refrescarse por {period}?",
219
+ confirmationModalTextUntil: "¿Está seguro de que desea refrescarse hasta {date}?"
169
220
  },
170
221
  tr: {
171
222
  titleTimeout: "Zaman aşımı",
@@ -181,273 +232,365 @@ const re = {
181
232
  CoolOffFor3Months: "3 ay",
182
233
  CoolOffUntilSelectedDate: "Kadar",
183
234
  dateInstructions: "Tarihi manuel olarak girmek için şu formatı kullanın:",
184
- duration: "Süre:"
235
+ duration: "Süre:",
236
+ confirmationModalTitle: "Onay",
237
+ confirmationModalTextPeriod: "{period} için kendinizi soğutmak istediğinizden emin misiniz?",
238
+ confirmationModalTextUntil: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
185
239
  }
186
240
  };
187
- function we(o) {
188
- ge(o, "svelte-19mm6it", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}`);
241
+ function ke(t) {
242
+ Ce(t, "svelte-19mm6it", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}`);
189
243
  }
190
- function ne(o, e, t) {
191
- const c = o.slice();
192
- return c[33] = e[t].value, c;
244
+ function se(t, e, o) {
245
+ const r = t.slice();
246
+ return r[37] = e[o].value, r;
193
247
  }
194
- function ke(o) {
195
- let e, t, c, f, l, n, F, m, w, g, d = (
248
+ function ze(t) {
249
+ let e, o, r, u, n, l, y, d, S, T, F = (
196
250
  /*$_*/
197
- o[9]("titleTimeout") + ""
198
- ), s, p, v;
251
+ t[14]("titleTimeout") + ""
252
+ ), m, c, v;
199
253
  return {
200
254
  c() {
201
- e = T("div"), t = L("svg"), c = L("defs"), f = L("style"), l = z(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), n = L("g"), F = L("g"), m = L("path"), w = x(), g = T("h2"), s = z(d), u(m, "class", "aaa"), u(m, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), u(m, "transform", "translate(15 15) rotate(180)"), u(F, "transform", "translate(20 158)"), u(n, "transform", "translate(-20 -158)"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "15"), u(t, "height", "15"), u(t, "viewBox", "0 0 15 15"), u(g, "class", "TimeoutTitleMobile"), u(g, "part", "TimeoutTitleMobile"), u(e, "class", "MenuReturnButton"), u(e, "part", "MenuReturnButton");
255
+ e = h("div"), o = Y("svg"), r = Y("defs"), u = Y("style"), n = A(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), l = Y("g"), y = Y("g"), d = Y("path"), S = x(), T = h("h2"), m = A(F), f(d, "class", "aaa"), f(d, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), f(d, "transform", "translate(15 15) rotate(180)"), f(y, "transform", "translate(20 158)"), f(l, "transform", "translate(-20 -158)"), f(o, "xmlns", "http://www.w3.org/2000/svg"), f(o, "width", "15"), f(o, "height", "15"), f(o, "viewBox", "0 0 15 15"), f(T, "class", "TimeoutTitleMobile"), f(T, "part", "TimeoutTitleMobile"), f(e, "class", "MenuReturnButton"), f(e, "part", "MenuReturnButton");
202
256
  },
203
- m(b, D) {
204
- N(b, e, D), i(e, t), i(t, c), i(c, f), i(f, l), i(t, n), i(n, F), i(F, m), i(e, w), i(e, g), i(g, s), p || (v = K(
257
+ m(_, w) {
258
+ K(_, e, w), i(e, o), i(o, r), i(r, u), i(u, n), i(o, l), i(l, y), i(y, d), i(e, S), i(e, T), i(T, m), c || (v = Q(
205
259
  e,
206
260
  "click",
207
261
  /*click_handler*/
208
- o[19]
209
- ), p = !0);
262
+ t[23]
263
+ ), c = !0);
210
264
  },
211
- p(b, D) {
212
- D[0] & /*$_*/
213
- 512 && d !== (d = /*$_*/
214
- b[9]("titleTimeout") + "") && W(s, d);
265
+ p(_, w) {
266
+ w[0] & /*$_*/
267
+ 16384 && F !== (F = /*$_*/
268
+ _[14]("titleTimeout") + "") && I(m, F);
215
269
  },
216
- d(b) {
217
- b && V(e), p = !1, v();
270
+ d(_) {
271
+ _ && N(e), c = !1, v();
218
272
  }
219
273
  };
220
274
  }
221
- function le(o) {
222
- let e, t = (
275
+ function ue(t) {
276
+ let e, o = (
223
277
  /*$_*/
224
- o[9](
278
+ t[14](
225
279
  /*value*/
226
- o[33]
280
+ t[37]
227
281
  ) + ""
228
- ), c, f;
282
+ ), r, u;
229
283
  return {
230
284
  c() {
231
- e = T("option"), c = z(t), e.__value = f = /*value*/
232
- o[33], oe(e, e.__value);
285
+ e = h("option"), r = A(o), e.__value = u = /*value*/
286
+ t[37], ae(e, e.__value);
233
287
  },
234
- m(l, n) {
235
- N(l, e, n), i(e, c);
288
+ m(n, l) {
289
+ K(n, e, l), i(e, r);
236
290
  },
237
- p(l, n) {
238
- n[0] & /*$_, timeoutOptions*/
239
- 528 && t !== (t = /*$_*/
240
- l[9](
291
+ p(n, l) {
292
+ l[0] & /*$_, timeoutOptions*/
293
+ 16512 && o !== (o = /*$_*/
294
+ n[14](
241
295
  /*value*/
242
- l[33]
243
- ) + "") && W(c, t), n[0] & /*timeoutOptions*/
244
- 16 && f !== (f = /*value*/
245
- l[33]) && (e.__value = f, oe(e, e.__value));
296
+ n[37]
297
+ ) + "") && I(r, o), l[0] & /*timeoutOptions*/
298
+ 128 && u !== (u = /*value*/
299
+ n[37]) && (e.__value = u, ae(e, e.__value));
246
300
  },
247
- d(l) {
248
- l && V(e);
301
+ d(n) {
302
+ n && N(e);
249
303
  }
250
304
  };
251
305
  }
252
- function se(o) {
253
- let e, t, c = (
306
+ function me(t) {
307
+ let e, o, r = (
254
308
  /*$_*/
255
- o[9]("duration") + ""
256
- ), f, l, n, F = (
309
+ t[14]("duration") + ""
310
+ ), u, n, l, y = (
257
311
  /*$_*/
258
- o[9]("dateInstructions") + ""
259
- ), m, w, g, d, s;
312
+ t[14]("dateInstructions") + ""
313
+ ), d, S, T, F, m;
260
314
  return {
261
315
  c() {
262
- e = T("div"), t = T("label"), f = z(c), l = x(), n = T("span"), m = z(F), w = x(), g = T("strong"), g.innerHTML = "MM/DD/YYYY<strong></strong>", d = x(), s = T("vaadin-date-picker"), u(t, "for", "TimeoutDate"), u(n, "class", "TimeoutDateInstructions"), R(
263
- s,
316
+ e = h("div"), o = h("label"), u = A(r), n = x(), l = h("span"), d = A(y), S = x(), T = h("strong"), T.innerHTML = "MM/DD/YYYY<strong></strong>", F = x(), m = h("vaadin-date-picker"), f(o, "for", "TimeoutDate"), f(l, "class", "TimeoutDateInstructions"), p(
317
+ m,
264
318
  "min",
265
319
  /*minDate*/
266
- o[7]
267
- ), R(
268
- s,
320
+ t[11]
321
+ ), p(
322
+ m,
269
323
  "max",
270
324
  /*maxDate*/
271
- o[8]
272
- ), R(
273
- s,
325
+ t[12]
326
+ ), p(
327
+ m,
274
328
  "value",
275
329
  /*minDate*/
276
- o[7]
277
- ), u(e, "class", "TimeoutDateWrapper " + /*isMobile*/
278
- (o[10] ? "TimeoutDateWrapperMobile" : ""));
330
+ t[11]
331
+ ), f(e, "class", "TimeoutDateWrapper " + /*isMobile*/
332
+ (t[15] ? "TimeoutDateWrapperMobile" : ""));
279
333
  },
280
- m(p, v) {
281
- N(p, e, v), i(e, t), i(t, f), i(e, l), i(e, n), i(n, m), i(n, w), i(n, g), i(e, d), i(e, s), o[21](s);
334
+ m(c, v) {
335
+ K(c, e, v), i(e, o), i(o, u), i(e, n), i(e, l), i(l, d), i(l, S), i(l, T), i(e, F), i(e, m), t[25](m);
282
336
  },
283
- p(p, v) {
337
+ p(c, v) {
284
338
  v[0] & /*$_*/
285
- 512 && c !== (c = /*$_*/
286
- p[9]("duration") + "") && W(f, c), v[0] & /*$_*/
287
- 512 && F !== (F = /*$_*/
288
- p[9]("dateInstructions") + "") && W(m, F), v[0] & /*minDate*/
289
- 128 && R(
290
- s,
339
+ 16384 && r !== (r = /*$_*/
340
+ c[14]("duration") + "") && I(u, r), v[0] & /*$_*/
341
+ 16384 && y !== (y = /*$_*/
342
+ c[14]("dateInstructions") + "") && I(d, y), v[0] & /*minDate*/
343
+ 2048 && p(
344
+ m,
291
345
  "min",
292
346
  /*minDate*/
293
- p[7]
347
+ c[11]
294
348
  ), v[0] & /*maxDate*/
295
- 256 && R(
296
- s,
349
+ 4096 && p(
350
+ m,
297
351
  "max",
298
352
  /*maxDate*/
299
- p[8]
353
+ c[12]
300
354
  ), v[0] & /*minDate*/
301
- 128 && R(
302
- s,
355
+ 2048 && p(
356
+ m,
303
357
  "value",
304
358
  /*minDate*/
305
- p[7]
359
+ c[11]
360
+ );
361
+ },
362
+ d(c) {
363
+ c && N(e), t[25](null);
364
+ }
365
+ };
366
+ }
367
+ function je(t) {
368
+ let e, o, r, u;
369
+ return {
370
+ c() {
371
+ e = h("player-account-modal"), o = h("player-account-general-confirmation-modal"), p(o, "modalTitle", r = /*$_*/
372
+ t[14]("confirmationModalTitle")), p(
373
+ o,
374
+ "modalText",
375
+ /*confirmationModalText*/
376
+ t[13]
377
+ ), p(o, "hascancelbutton", !1), p(o, "modalconfirmevent", u = {
378
+ type: "SetPlayerAccountTimeout",
379
+ timeoutSelected: (
380
+ /*timeoutSelected*/
381
+ t[8]
382
+ ),
383
+ timeoutExpiryDate: (
384
+ /*timeoutExpiryDate*/
385
+ t[10]
386
+ )
387
+ }), p(
388
+ o,
389
+ "lang",
390
+ /*lang*/
391
+ t[1]
392
+ ), p(
393
+ e,
394
+ "clientstyling",
395
+ /*clientstyling*/
396
+ t[2]
397
+ ), p(
398
+ e,
399
+ "clientstylingurl",
400
+ /*clientstylingurl*/
401
+ t[3]
402
+ ), p(e, "showmodaleventname", "ShowTimeoutConfirmationModal");
403
+ },
404
+ m(n, l) {
405
+ K(n, e, l), i(e, o);
406
+ },
407
+ p(n, l) {
408
+ l[0] & /*$_*/
409
+ 16384 && r !== (r = /*$_*/
410
+ n[14]("confirmationModalTitle")) && p(o, "modalTitle", r), l[0] & /*confirmationModalText*/
411
+ 8192 && p(
412
+ o,
413
+ "modalText",
414
+ /*confirmationModalText*/
415
+ n[13]
416
+ ), l[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
417
+ 1408 && u !== (u = {
418
+ type: "SetPlayerAccountTimeout",
419
+ timeoutSelected: (
420
+ /*timeoutSelected*/
421
+ n[8]
422
+ ),
423
+ timeoutExpiryDate: (
424
+ /*timeoutExpiryDate*/
425
+ n[10]
426
+ )
427
+ }) && p(o, "modalconfirmevent", u), l[0] & /*lang*/
428
+ 2 && p(
429
+ o,
430
+ "lang",
431
+ /*lang*/
432
+ n[1]
433
+ ), l[0] & /*clientstyling*/
434
+ 4 && p(
435
+ e,
436
+ "clientstyling",
437
+ /*clientstyling*/
438
+ n[2]
439
+ ), l[0] & /*clientstylingurl*/
440
+ 8 && p(
441
+ e,
442
+ "clientstylingurl",
443
+ /*clientstylingurl*/
444
+ n[3]
306
445
  );
307
446
  },
308
- d(p) {
309
- p && V(e), o[21](null);
447
+ d(n) {
448
+ n && N(e);
310
449
  }
311
450
  };
312
451
  }
313
- function xe(o) {
314
- let e, t, c, f, l = (
452
+ function Pe(t) {
453
+ let e, o, r, u, n = (
315
454
  /*$_*/
316
- o[9]("titleTimeout") + ""
317
- ), n, F, m, w, g = (
455
+ t[14]("titleTimeout") + ""
456
+ ), l, y, d, S, T = (
318
457
  /*$_*/
319
- o[9]("timeoutTextFirst", {
458
+ t[14]("timeoutTextFirst", {
320
459
  values: { operatorname: (
321
460
  /*operator*/
322
- o[0]
461
+ t[0]
323
462
  ) }
324
463
  }) + ""
325
- ), d, s, p, v = (
464
+ ), F, m, c, v = (
326
465
  /*$_*/
327
- o[9]("timeoutTextSecondary", {
466
+ t[14]("timeoutTextSecondary", {
328
467
  values: { supportemail: (
329
468
  /*supportemail*/
330
- o[1]
469
+ t[4]
331
470
  ) }
332
471
  }) + ""
333
- ), b, D, j, O, I, U, B, A, q = (
472
+ ), _, w, D, M, U, B, L, P, k = (
334
473
  /*$_*/
335
- o[9]("save") + ""
336
- ), E, Y, G, _ = (
474
+ t[14]("save") + ""
475
+ ), J, V, R, G, z = (
337
476
  /*isMobile*/
338
- o[10] && ke(o)
339
- ), H = X(
477
+ t[15] && ze(t)
478
+ ), E = ee(
340
479
  /*timeoutOptions*/
341
- o[4]
342
- ), y = [];
343
- for (let r = 0; r < H.length; r += 1)
344
- y[r] = le(ne(o, H, r));
345
- let C = (
480
+ t[7]
481
+ ), C = [];
482
+ for (let s = 0; s < E.length; s += 1)
483
+ C[s] = ue(se(t, E, s));
484
+ let b = (
346
485
  /*isUntilDate*/
347
- o[6] && se(o)
486
+ t[9] && me(t)
487
+ ), q = (
488
+ /*showConfirmationModal*/
489
+ t[16] && je(t)
348
490
  );
349
491
  return {
350
492
  c() {
351
- e = T("div"), t = T("form"), _ && _.c(), c = x(), f = T("h2"), n = z(l), F = x(), m = T("div"), w = T("p"), d = z(g), s = x(), p = T("p"), b = z(v), D = x(), j = T("div"), O = T("select");
352
- for (let r = 0; r < y.length; r += 1)
353
- y[r].c();
354
- I = x(), C && C.c(), U = x(), B = T("div"), A = T("button"), E = z(q), u(f, "class", "TimeoutTitle " + /*isMobile*/
355
- (o[10] ? "TimeoutTitleNone" : "")), u(m, "class", "TimeoutDescription " + /*isMobile*/
356
- (o[10] ? "TimeoutDescriptionMobile" : "")), u(O, "class", "TimeoutSelect " + /*isMobile*/
357
- (o[10] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
358
- o[5] === void 0 && ve(() => (
493
+ e = h("div"), o = h("form"), z && z.c(), r = x(), u = h("h2"), l = A(n), y = x(), d = h("div"), S = h("p"), F = A(T), m = x(), c = h("p"), _ = A(v), w = x(), D = h("div"), M = h("select");
494
+ for (let s = 0; s < C.length; s += 1)
495
+ C[s].c();
496
+ U = x(), b && b.c(), B = x(), L = h("div"), P = h("button"), J = A(k), V = x(), q && q.c(), f(u, "class", "TimeoutTitle " + /*isMobile*/
497
+ (t[15] ? "TimeoutTitleNone" : "")), f(d, "class", "TimeoutDescription " + /*isMobile*/
498
+ (t[15] ? "TimeoutDescriptionMobile" : "")), f(M, "class", "TimeoutSelect " + /*isMobile*/
499
+ (t[15] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
500
+ t[8] === void 0 && be(() => (
359
501
  /*select_change_handler*/
360
- o[20].call(O)
361
- )), u(j, "class", "TimeoutSelectWrapper"), u(A, "class", "TimeoutSave"), u(B, "class", "TimeoutActionButtons " + /*isMobile*/
362
- (o[10] ? "TimeoutActionButtonsMobile" : "")), u(t, "class", "TimeoutWrapper " + /*isMobile*/
363
- (o[10] ? "TimeoutWrapperMobile" : ""));
502
+ t[24].call(M)
503
+ )), f(D, "class", "TimeoutSelectWrapper"), f(P, "class", "TimeoutSave"), f(L, "class", "TimeoutActionButtons " + /*isMobile*/
504
+ (t[15] ? "TimeoutActionButtonsMobile" : "")), f(o, "class", "TimeoutWrapper " + /*isMobile*/
505
+ (t[15] ? "TimeoutWrapperMobile" : ""));
364
506
  },
365
- m(r, S) {
366
- N(r, e, S), i(e, t), _ && _.m(t, null), i(t, c), i(t, f), i(f, n), i(t, F), i(t, m), i(m, w), i(w, d), i(m, s), i(m, p), i(p, b), i(t, D), i(t, j), i(j, O);
367
- for (let h = 0; h < y.length; h += 1)
368
- y[h] && y[h].m(O, null);
369
- $(
370
- O,
507
+ m(s, O) {
508
+ K(s, e, O), i(e, o), z && z.m(o, null), i(o, r), i(o, u), i(u, l), i(o, y), i(o, d), i(d, S), i(S, F), i(d, m), i(d, c), i(c, _), i(o, w), i(o, D), i(D, M);
509
+ for (let g = 0; g < C.length; g += 1)
510
+ C[g] && C[g].m(M, null);
511
+ oe(
512
+ M,
371
513
  /*timeoutSelected*/
372
- o[5],
514
+ t[8],
373
515
  !0
374
- ), i(t, I), C && C.m(t, null), i(t, U), i(t, B), i(B, A), i(A, E), o[23](e), Y || (G = [
375
- K(
376
- O,
516
+ ), i(o, U), b && b.m(o, null), i(o, B), i(o, L), i(L, P), i(P, J), i(e, V), q && q.m(e, null), t[27](e), R || (G = [
517
+ Q(
518
+ M,
377
519
  "change",
378
520
  /*select_change_handler*/
379
- o[20]
521
+ t[24]
380
522
  ),
381
- K(
382
- O,
523
+ Q(
524
+ M,
383
525
  "change",
384
526
  /*selectPeriod*/
385
- o[13]
527
+ t[19]
386
528
  ),
387
- K(
388
- A,
529
+ Q(
530
+ P,
389
531
  "click",
390
532
  /*click_handler_1*/
391
- o[22]
533
+ t[26]
392
534
  )
393
- ], Y = !0);
535
+ ], R = !0);
394
536
  },
395
- p(r, S) {
537
+ p(s, O) {
396
538
  if (
397
539
  /*isMobile*/
398
- r[10] && _.p(r, S), S[0] & /*$_*/
399
- 512 && l !== (l = /*$_*/
400
- r[9]("titleTimeout") + "") && W(n, l), S[0] & /*$_, operator*/
401
- 513 && g !== (g = /*$_*/
402
- r[9]("timeoutTextFirst", {
540
+ s[15] && z.p(s, O), O[0] & /*$_*/
541
+ 16384 && n !== (n = /*$_*/
542
+ s[14]("titleTimeout") + "") && I(l, n), O[0] & /*$_, operator*/
543
+ 16385 && T !== (T = /*$_*/
544
+ s[14]("timeoutTextFirst", {
403
545
  values: { operatorname: (
404
546
  /*operator*/
405
- r[0]
547
+ s[0]
406
548
  ) }
407
- }) + "") && W(d, g), S[0] & /*$_, supportemail*/
408
- 514 && v !== (v = /*$_*/
409
- r[9]("timeoutTextSecondary", {
549
+ }) + "") && I(F, T), O[0] & /*$_, supportemail*/
550
+ 16400 && v !== (v = /*$_*/
551
+ s[14]("timeoutTextSecondary", {
410
552
  values: { supportemail: (
411
553
  /*supportemail*/
412
- r[1]
554
+ s[4]
413
555
  ) }
414
- }) + "") && W(b, v), S[0] & /*timeoutOptions, $_*/
415
- 528
556
+ }) + "") && I(_, v), O[0] & /*timeoutOptions, $_*/
557
+ 16512
416
558
  ) {
417
- H = X(
559
+ E = ee(
418
560
  /*timeoutOptions*/
419
- r[4]
561
+ s[7]
420
562
  );
421
- let h;
422
- for (h = 0; h < H.length; h += 1) {
423
- const J = ne(r, H, h);
424
- y[h] ? y[h].p(J, S) : (y[h] = le(J), y[h].c(), y[h].m(O, null));
563
+ let g;
564
+ for (g = 0; g < E.length; g += 1) {
565
+ const Z = se(s, E, g);
566
+ C[g] ? C[g].p(Z, O) : (C[g] = ue(Z), C[g].c(), C[g].m(M, null));
425
567
  }
426
- for (; h < y.length; h += 1)
427
- y[h].d(1);
428
- y.length = H.length;
568
+ for (; g < C.length; g += 1)
569
+ C[g].d(1);
570
+ C.length = E.length;
429
571
  }
430
- S[0] & /*timeoutSelected, timeoutOptions*/
431
- 48 && $(
432
- O,
572
+ O[0] & /*timeoutSelected, timeoutOptions*/
573
+ 384 && oe(
574
+ M,
433
575
  /*timeoutSelected*/
434
- r[5]
576
+ s[8]
435
577
  ), /*isUntilDate*/
436
- r[6] ? C ? C.p(r, S) : (C = se(r), C.c(), C.m(t, U)) : C && (C.d(1), C = null), S[0] & /*$_*/
437
- 512 && q !== (q = /*$_*/
438
- r[9]("save") + "") && W(E, q);
578
+ s[9] ? b ? b.p(s, O) : (b = me(s), b.c(), b.m(o, B)) : b && (b.d(1), b = null), O[0] & /*$_*/
579
+ 16384 && k !== (k = /*$_*/
580
+ s[14]("save") + "") && I(J, k), /*showConfirmationModal*/
581
+ s[16] && q.p(s, O);
439
582
  },
440
- i: ee,
441
- o: ee,
442
- d(r) {
443
- r && V(e), _ && _.d(), ye(y, r), C && C.d(), o[23](null), Y = !1, Te(G);
583
+ i: te,
584
+ o: te,
585
+ d(s) {
586
+ s && N(e), z && z.d(), Fe(C, s), b && b.d(), q && q.d(), t[27](null), R = !1, Me(G);
444
587
  }
445
588
  };
446
589
  }
447
- function _e(o, e, t) {
448
- let c;
449
- Fe(o, De, (a) => t(9, c = a));
450
- let { operator: f = "Everymatrix" } = e, { lang: l = "en" } = e, { clientstyling: n = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: m = "" } = e, { supportemail: w = "" } = e, { endpoint: g = "" } = e, d, s, p = window.navigator.userAgent, v = be(p) !== "PC", b = [
590
+ function qe(t, e, o) {
591
+ let r;
592
+ Oe(t, De, (a) => o(14, r = a));
593
+ let { operator: u = "Everymatrix" } = e, { lang: n = "en" } = e, { clientstyling: l = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: d = "" } = e, { supportemail: S = "" } = e, { endpoint: T = "" } = e, { hasconfirmationmodal: F = "false" } = e, m, c, v = window.navigator.userAgent, _ = we(v) !== "PC", w = [
451
594
  {
452
595
  value: "CoolOffFor24Hours",
453
596
  dateSelector: !1
@@ -464,149 +607,160 @@ function _e(o, e, t) {
464
607
  value: "CoolOffFor3Months",
465
608
  dateSelector: !1
466
609
  }
467
- ], D = b[0].value, j = !1, O = "", I, U;
468
- const B = () => {
469
- fetch(m).then((a) => a.json()).then((a) => {
470
- Object.keys(a).forEach((M) => {
471
- ie(M, a[M]);
610
+ ], D = w[0].value, M = !1, U = "", B, L, P = "", k = F === "true";
611
+ const J = () => {
612
+ fetch(d).then((a) => a.json()).then((a) => {
613
+ Object.keys(a).forEach((H) => {
614
+ re(H, a[H]);
472
615
  });
473
616
  }).catch((a) => {
474
617
  console.log(a);
475
618
  });
476
619
  };
477
- Object.keys(re).forEach((a) => {
478
- ie(a, re[a]);
620
+ Object.keys(le).forEach((a) => {
621
+ re(a, le[a]);
479
622
  });
480
- const A = () => {
481
- const a = new URL("/v1/player/coolOffSettings", g), M = { method: "GET" };
482
- fetch(a.href, M).then((k) => {
483
- if (!k.ok)
623
+ const V = () => {
624
+ const a = new URL("/v1/player/coolOffSettings", T), H = { method: "GET" };
625
+ fetch(a.href, H).then((j) => {
626
+ if (!j.ok)
484
627
  throw new Error("There was an error while fetching the configuration");
485
- return k.json();
486
- }).then((k) => {
487
- const { periods: Q } = k;
488
- Q && t(4, b = Q.map((Z) => ({
489
- value: Z.key,
490
- text: Z.text,
491
- dateSelector: Z.dateSelector
628
+ return j.json();
629
+ }).then((j) => {
630
+ const { periods: $ } = j;
631
+ $ && o(7, w = $.map((X) => ({
632
+ value: X.key,
633
+ text: X.text,
634
+ dateSelector: X.dateSelector
492
635
  })));
493
- }).catch((k) => {
494
- console.log(k);
636
+ }).catch((j) => {
637
+ console.log(j);
495
638
  }).finally(() => {
496
- t(5, D = b[0].value);
639
+ o(8, D = w[0].value);
497
640
  });
498
- }, q = (a) => {
499
- a.preventDefault(), window.postMessage(
641
+ }, R = () => {
642
+ if (!k) {
643
+ o(13, P = "");
644
+ return;
645
+ }
646
+ o(13, P = M ? r("confirmationModalTextUntil", { values: { date: U } }) : r("confirmationModalTextPeriod", { values: { period: r(D) } }));
647
+ }, G = (a) => {
648
+ a.preventDefault(), k ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
500
649
  {
501
650
  type: "SetPlayerAccountTimeout",
502
651
  timeoutSelected: D,
503
- timeoutExpiryDate: O
652
+ timeoutExpiryDate: U
504
653
  },
505
654
  window.location.href
506
655
  );
507
- }, E = () => {
656
+ }, z = () => {
508
657
  window.postMessage(
509
658
  {
510
659
  type: "PlayerAccountMenuActive",
511
- isMobile: v
660
+ isMobile: _
512
661
  },
513
662
  window.location.href
514
663
  );
515
- }, Y = () => {
516
- Se(l), A();
517
- }, G = () => {
664
+ }, E = () => {
665
+ xe(n), V();
666
+ }, C = () => {
518
667
  let a = document.createElement("style");
519
- a.innerHTML = n, d.appendChild(a);
520
- }, _ = () => {
521
- let a = new URL(F), M = document.createElement("style");
522
- fetch(a.href).then((k) => k.text()).then((k) => {
523
- M.innerHTML = k, setTimeout(
668
+ a.innerHTML = l, m.appendChild(a);
669
+ }, b = () => {
670
+ let a = new URL(y), H = document.createElement("style");
671
+ fetch(a.href).then((j) => j.text()).then((j) => {
672
+ H.innerHTML = j, setTimeout(
524
673
  () => {
525
- d.appendChild(M);
674
+ m.appendChild(H);
526
675
  },
527
676
  1
528
677
  );
529
678
  });
530
- }, H = () => {
531
- const a = b.find((M) => M.value === D);
532
- t(6, j = !1), a.dateSelector && (t(6, j = !0), t(7, I = ae().format("YYYY-MM-DD")), t(8, U = ae().add(6, "months").format("YYYY-MM-DD")), O = I);
533
- }, y = (a) => {
534
- O = a.target.value;
535
- }, C = () => {
536
- s.addEventListener("change", y, !1);
679
+ }, q = () => {
680
+ const a = w.find((H) => H.value === D);
681
+ o(9, M = !1), a.dateSelector && (o(9, M = !0), o(11, B = ne().format("YYYY-MM-DD")), o(12, L = ne().add(6, "months").format("YYYY-MM-DD")), o(10, U = B)), k && R();
682
+ }, s = (a) => {
683
+ o(10, U = a.target.value);
684
+ }, O = () => {
685
+ c.addEventListener("change", s, !1);
537
686
  };
538
- Ce(() => () => {
539
- s.removeEventListener("change", y);
687
+ Se(() => () => {
688
+ c.removeEventListener("change", s);
540
689
  });
541
- const r = () => E();
542
- function S() {
543
- D = Oe(this), t(5, D), t(4, b);
690
+ const g = () => z();
691
+ function Z() {
692
+ D = _e(this), o(8, D), o(7, w);
544
693
  }
545
- function h(a) {
546
- te[a ? "unshift" : "push"](() => {
547
- s = a, t(3, s);
694
+ function ce(a) {
695
+ ie[a ? "unshift" : "push"](() => {
696
+ c = a, o(6, c);
548
697
  });
549
698
  }
550
- const J = (a) => q(a);
551
- function ue(a) {
552
- te[a ? "unshift" : "push"](() => {
553
- d = a, t(2, d);
699
+ const fe = (a) => G(a);
700
+ function de(a) {
701
+ ie[a ? "unshift" : "push"](() => {
702
+ m = a, o(5, m);
554
703
  });
555
704
  }
556
- return o.$$set = (a) => {
557
- "operator" in a && t(0, f = a.operator), "lang" in a && t(14, l = a.lang), "clientstyling" in a && t(15, n = a.clientstyling), "clientstylingurl" in a && t(16, F = a.clientstylingurl), "translationurl" in a && t(17, m = a.translationurl), "supportemail" in a && t(1, w = a.supportemail), "endpoint" in a && t(18, g = a.endpoint);
558
- }, o.$$.update = () => {
559
- o.$$.dirty[0] & /*calendar*/
560
- 8 && s && C(), o.$$.dirty[0] & /*lang*/
561
- 16384 && l && Y(), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
562
- 65540 && F && d && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
563
- 32772 && n && d && G(), o.$$.dirty[0] & /*translationurl*/
564
- 131072 && m && B();
565
- }, [
566
- f,
705
+ return t.$$set = (a) => {
706
+ "operator" in a && o(0, u = a.operator), "lang" in a && o(1, n = a.lang), "clientstyling" in a && o(2, l = a.clientstyling), "clientstylingurl" in a && o(3, y = a.clientstylingurl), "translationurl" in a && o(20, d = a.translationurl), "supportemail" in a && o(4, S = a.supportemail), "endpoint" in a && o(21, T = a.endpoint), "hasconfirmationmodal" in a && o(22, F = a.hasconfirmationmodal);
707
+ }, t.$$.update = () => {
708
+ t.$$.dirty[0] & /*calendar*/
709
+ 64 && c && O(), t.$$.dirty[0] & /*lang*/
710
+ 2 && n && E(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
711
+ 40 && y && m && b(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
712
+ 36 && l && m && C(), t.$$.dirty[0] & /*translationurl*/
713
+ 1048576 && d && J();
714
+ }, k && R(), [
715
+ u,
716
+ n,
717
+ l,
718
+ y,
719
+ S,
720
+ m,
721
+ c,
567
722
  w,
568
- d,
569
- s,
570
- b,
571
723
  D,
572
- j,
573
- I,
724
+ M,
574
725
  U,
575
- c,
576
- v,
726
+ B,
727
+ L,
728
+ P,
729
+ r,
730
+ _,
731
+ k,
732
+ G,
733
+ z,
577
734
  q,
578
- E,
579
- H,
580
- l,
581
- n,
735
+ d,
736
+ T,
582
737
  F,
583
- m,
584
738
  g,
585
- r,
586
- S,
587
- h,
588
- J,
589
- ue
739
+ Z,
740
+ ce,
741
+ fe,
742
+ de
590
743
  ];
591
744
  }
592
- class Me extends fe {
745
+ class He extends ge {
593
746
  constructor(e) {
594
- super(), de(
747
+ super(), Te(
595
748
  this,
596
749
  e,
597
- _e,
598
- xe,
599
- he,
750
+ qe,
751
+ Pe,
752
+ ve,
600
753
  {
601
754
  operator: 0,
602
- lang: 14,
603
- clientstyling: 15,
604
- clientstylingurl: 16,
605
- translationurl: 17,
606
- supportemail: 1,
607
- endpoint: 18
755
+ lang: 1,
756
+ clientstyling: 2,
757
+ clientstylingurl: 3,
758
+ translationurl: 20,
759
+ supportemail: 4,
760
+ endpoint: 21,
761
+ hasconfirmationmodal: 22
608
762
  },
609
- we,
763
+ ke,
610
764
  [-1, -1]
611
765
  );
612
766
  }
@@ -614,46 +768,52 @@ class Me extends fe {
614
768
  return this.$$.ctx[0];
615
769
  }
616
770
  set operator(e) {
617
- this.$$set({ operator: e }), P();
771
+ this.$$set({ operator: e }), W();
618
772
  }
619
773
  get lang() {
620
- return this.$$.ctx[14];
774
+ return this.$$.ctx[1];
621
775
  }
622
776
  set lang(e) {
623
- this.$$set({ lang: e }), P();
777
+ this.$$set({ lang: e }), W();
624
778
  }
625
779
  get clientstyling() {
626
- return this.$$.ctx[15];
780
+ return this.$$.ctx[2];
627
781
  }
628
782
  set clientstyling(e) {
629
- this.$$set({ clientstyling: e }), P();
783
+ this.$$set({ clientstyling: e }), W();
630
784
  }
631
785
  get clientstylingurl() {
632
- return this.$$.ctx[16];
786
+ return this.$$.ctx[3];
633
787
  }
634
788
  set clientstylingurl(e) {
635
- this.$$set({ clientstylingurl: e }), P();
789
+ this.$$set({ clientstylingurl: e }), W();
636
790
  }
637
791
  get translationurl() {
638
- return this.$$.ctx[17];
792
+ return this.$$.ctx[20];
639
793
  }
640
794
  set translationurl(e) {
641
- this.$$set({ translationurl: e }), P();
795
+ this.$$set({ translationurl: e }), W();
642
796
  }
643
797
  get supportemail() {
644
- return this.$$.ctx[1];
798
+ return this.$$.ctx[4];
645
799
  }
646
800
  set supportemail(e) {
647
- this.$$set({ supportemail: e }), P();
801
+ this.$$set({ supportemail: e }), W();
648
802
  }
649
803
  get endpoint() {
650
- return this.$$.ctx[18];
804
+ return this.$$.ctx[21];
651
805
  }
652
806
  set endpoint(e) {
653
- this.$$set({ endpoint: e }), P();
807
+ this.$$set({ endpoint: e }), W();
808
+ }
809
+ get hasconfirmationmodal() {
810
+ return this.$$.ctx[22];
811
+ }
812
+ set hasconfirmationmodal(e) {
813
+ this.$$set({ hasconfirmationmodal: e }), W();
654
814
  }
655
815
  }
656
- pe(Me, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, supportemail: {}, endpoint: {} }, [], [], !0);
816
+ ye(He, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
657
817
  export {
658
- Me as default
818
+ He as default
659
819
  };