@everymatrix/player-limit-notification 0.1.1 → 0.2.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.
@@ -1,10 +1,10 @@
1
- import { a as Q, $ as B, Q as X, S as Y, i as K, s as Z, f as c, b as $, v as O, d as tt, y as it, n as u, z as V, V as n, g as et, h as r, C as R, j as d, k as N, D as H, l as st, o as nt, F as lt, R as ot, N as at, O as rt, P as mt } from "./PlayerAccountGamingLimitsHistory2Nd-BqKMtdOt.js";
1
+ import { a as Q, $ as B, Q as X, S as Y, i as K, s as Z, f as c, b as $, v as O, d as tt, y as it, n as u, z as V, V as s, g as et, h as r, C as R, j as d, k as A, D as H, l as nt, o as st, F as lt, R as ot, N as at, O as rt, P as mt } from "./PlayerAccountGamingLimitsHistory2Nd-BqKMtdOt.js";
2
2
  import "../stencil/ui-skeleton-W50o8tfg.js";
3
- function U(s, t) {
4
- Q(s, t);
3
+ function U(n, t) {
4
+ Q(n, t);
5
5
  }
6
- function ct(s) {
7
- B.set(s);
6
+ function ct(n) {
7
+ B.set(n);
8
8
  }
9
9
  const J = {
10
10
  en: {
@@ -33,7 +33,7 @@ const J = {
33
33
  }
34
34
  };
35
35
  if (typeof window < "u") {
36
- let s = function(t) {
36
+ let n = function(t) {
37
37
  return function(...l) {
38
38
  try {
39
39
  return t.apply(this, l);
@@ -44,122 +44,122 @@ if (typeof window < "u") {
44
44
  }
45
45
  };
46
46
  };
47
- customElements.define = s(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-BnhKXTEu.js").then(({ default: t }) => {
47
+ customElements.define = n(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-BnhKXTEu.js").then(({ default: t }) => {
48
48
  !customElements.get("player-account-gaming-limits-wrapper-2-nd") && customElements.define(
49
49
  "player-account-gaming-limits-wrapper-2-nd",
50
50
  t.element
51
51
  );
52
52
  });
53
53
  }
54
- function ut(s) {
55
- $(s, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
54
+ function ut(n) {
55
+ $(n, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
56
56
  }
57
- function dt(s) {
58
- let t, l, i, k, L, w, T, x, _, g, h, f, S, j, C, z, P, b, D, v = (
57
+ function dt(n) {
58
+ let t, l, i, k, L, w, N, x, _, g, h, f, S, P, T, z, j, b, D, v = (
59
59
  /*$_*/
60
- s[19]("skipLimitLimitDescription") + ""
61
- ), E, y, m, M = (
60
+ n[19]("skipLimitLimitDescription") + ""
61
+ ), E, y, m, C = (
62
62
  /*$_*/
63
- s[19]("savePlayerLimit") + ""
64
- ), G, A, I, W;
63
+ n[19]("savePlayerLimit") + ""
64
+ ), I, M, G, W;
65
65
  return {
66
66
  c() {
67
- t = d("div"), l = d("div"), i = d("player-account-gaming-limits-wrapper-2-nd"), k = d("section"), L = N(), w = d("section"), T = N(), x = d("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', _ = N(), g = d("section"), h = d("button"), f = d("div"), S = d("input"), j = N(), C = d("span"), P = N(), b = d("div"), D = d("p"), E = H(v), y = N(), m = d("button"), G = H(M), u(k, "slot", "LimitWrapperTitle"), u(w, "slot", "LimitsList"), u(x, "slot", "LimitSkeleton"), u(S, "type", "checkbox"), u(S, "class", "skip-switch-input"), u(C, "class", "skip-switch-core"), u(f, "class", z = "skip-switch " + /*skipLimit*/
68
- (s[16] ? "checked" : "")), u(D, "class", "label"), u(b, "class", "skip-limit-label"), u(h, "class", "toggle-content"), u(m, "class", "limit-submit-button"), u(m, "type", "submit"), m.disabled = /*disableSaveLimit*/
69
- s[18], u(g, "slot", "LimitSubmitButton"), n(i, "historyenabled", !1), n(i, "clientstyling", A = /*clientstyling*/
70
- s[0] || /*defaultCustomStyling*/
71
- s[20]), n(i, "limitTabVisible", !0), n(
67
+ t = d("div"), l = d("div"), i = d("player-account-gaming-limits-wrapper-2-nd"), k = d("section"), L = A(), w = d("section"), N = A(), x = d("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', _ = A(), g = d("section"), h = d("button"), f = d("div"), S = d("input"), P = A(), T = d("span"), j = A(), b = d("div"), D = d("p"), E = H(v), y = A(), m = d("button"), I = H(C), u(k, "slot", "LimitWrapperTitle"), u(w, "slot", "LimitsList"), u(x, "slot", "LimitSkeleton"), u(S, "type", "checkbox"), u(S, "class", "skip-switch-input"), u(T, "class", "skip-switch-core"), u(f, "class", z = "skip-switch " + /*skipLimit*/
68
+ (n[16] ? "checked" : "")), u(D, "class", "label"), u(b, "class", "skip-limit-label"), u(h, "class", "toggle-content"), u(m, "class", "limit-submit-button"), u(m, "type", "submit"), m.disabled = /*disableSaveLimit*/
69
+ n[18], u(g, "slot", "LimitSubmitButton"), s(i, "historyenabled", !1), s(i, "clientstyling", M = /*clientstyling*/
70
+ n[0] || /*defaultCustomStyling*/
71
+ n[20]), s(i, "limitTabVisible", !0), s(
72
72
  i,
73
73
  "endpoint",
74
74
  /*endpoint*/
75
- s[6]
76
- ), n(
75
+ n[6]
76
+ ), s(
77
77
  i,
78
78
  "userid",
79
79
  /*userid*/
80
- s[4]
81
- ), n(
80
+ n[4]
81
+ ), s(
82
82
  i,
83
83
  "session",
84
84
  /*session*/
85
- s[3]
86
- ), n(
85
+ n[3]
86
+ ), s(
87
87
  i,
88
88
  "timezone",
89
89
  /*timezone*/
90
- s[15]
91
- ), n(
90
+ n[15]
91
+ ), s(
92
92
  i,
93
93
  "lang",
94
94
  /*lang*/
95
- s[5]
96
- ), n(
95
+ n[5]
96
+ ), s(
97
97
  i,
98
98
  "tablabels",
99
99
  /*tablabels*/
100
- s[7]
101
- ), n(
100
+ n[7]
101
+ ), s(
102
102
  i,
103
103
  "limitsamount",
104
104
  /*limitsamount*/
105
- s[8]
106
- ), n(
105
+ n[8]
106
+ ), s(
107
107
  i,
108
108
  "limitsperiods",
109
109
  /*limitsperiods*/
110
- s[9]
111
- ), n(
110
+ n[9]
111
+ ), s(
112
112
  i,
113
113
  "currency",
114
114
  /*currency*/
115
- s[11]
116
- ), n(
115
+ n[11]
116
+ ), s(
117
117
  i,
118
118
  "customcurrencysymbols",
119
119
  /*customcurrencysymbols*/
120
- s[12]
121
- ), n(
120
+ n[12]
121
+ ), s(
122
122
  i,
123
123
  "apiversion",
124
124
  /*apiversion*/
125
- s[13]
126
- ), n(
125
+ n[13]
126
+ ), s(
127
127
  i,
128
128
  "translationurl",
129
129
  /*translationurl*/
130
- s[14]
131
- ), n(
130
+ n[14]
131
+ ), s(
132
132
  i,
133
133
  "clientstylingurl",
134
134
  /*clientstylingurl*/
135
- s[1]
136
- ), n(
135
+ n[1]
136
+ ), s(
137
137
  i,
138
138
  "mbsource",
139
139
  /*mbsource*/
140
- s[2]
141
- ), n(
140
+ n[2]
141
+ ), s(
142
142
  i,
143
143
  "limitformat",
144
144
  /*limitformat*/
145
- s[10]
145
+ n[10]
146
146
  ), u(l, "class", "limit-modal-container"), u(t, "class", "player-limit-modal");
147
147
  },
148
148
  m(o, a) {
149
- et(o, t, a), r(t, l), r(l, i), r(i, k), r(i, L), r(i, w), r(i, T), r(i, x), r(i, _), r(i, g), r(g, h), r(h, f), r(f, S), r(f, j), r(f, C), r(h, P), r(h, b), r(b, D), r(D, E), r(g, y), r(g, m), r(m, G), s[24](t), I || (W = [
149
+ et(o, t, a), r(t, l), r(l, i), r(i, k), r(i, L), r(i, w), r(i, N), r(i, x), r(i, _), r(i, g), r(g, h), r(h, f), r(f, S), r(f, P), r(f, T), r(h, j), r(h, b), r(b, D), r(D, E), r(g, y), r(g, m), r(m, I), n[24](t), G || (W = [
150
150
  R(
151
151
  h,
152
152
  "click",
153
153
  /*toggleSkipLimit*/
154
- s[22]
154
+ n[22]
155
155
  ),
156
156
  R(
157
157
  m,
158
158
  "click",
159
159
  /*submitLimit*/
160
- s[21]
160
+ n[21]
161
161
  )
162
- ], I = !0);
162
+ ], G = !0);
163
163
  },
164
164
  p(o, [a]) {
165
165
  a & /*skipLimit*/
@@ -167,98 +167,98 @@ function dt(s) {
167
167
  (o[16] ? "checked" : "")) && u(f, "class", z), a & /*$_*/
168
168
  524288 && v !== (v = /*$_*/
169
169
  o[19]("skipLimitLimitDescription") + "") && V(E, v), a & /*$_*/
170
- 524288 && M !== (M = /*$_*/
171
- o[19]("savePlayerLimit") + "") && V(G, M), a & /*disableSaveLimit*/
170
+ 524288 && C !== (C = /*$_*/
171
+ o[19]("savePlayerLimit") + "") && V(I, C), a & /*disableSaveLimit*/
172
172
  262144 && (m.disabled = /*disableSaveLimit*/
173
173
  o[18]), a & /*clientstyling*/
174
- 1 && A !== (A = /*clientstyling*/
174
+ 1 && M !== (M = /*clientstyling*/
175
175
  o[0] || /*defaultCustomStyling*/
176
- o[20]) && n(i, "clientstyling", A), a & /*endpoint*/
177
- 64 && n(
176
+ o[20]) && s(i, "clientstyling", M), a & /*endpoint*/
177
+ 64 && s(
178
178
  i,
179
179
  "endpoint",
180
180
  /*endpoint*/
181
181
  o[6]
182
182
  ), a & /*userid*/
183
- 16 && n(
183
+ 16 && s(
184
184
  i,
185
185
  "userid",
186
186
  /*userid*/
187
187
  o[4]
188
188
  ), a & /*session*/
189
- 8 && n(
189
+ 8 && s(
190
190
  i,
191
191
  "session",
192
192
  /*session*/
193
193
  o[3]
194
194
  ), a & /*timezone*/
195
- 32768 && n(
195
+ 32768 && s(
196
196
  i,
197
197
  "timezone",
198
198
  /*timezone*/
199
199
  o[15]
200
200
  ), a & /*lang*/
201
- 32 && n(
201
+ 32 && s(
202
202
  i,
203
203
  "lang",
204
204
  /*lang*/
205
205
  o[5]
206
206
  ), a & /*tablabels*/
207
- 128 && n(
207
+ 128 && s(
208
208
  i,
209
209
  "tablabels",
210
210
  /*tablabels*/
211
211
  o[7]
212
212
  ), a & /*limitsamount*/
213
- 256 && n(
213
+ 256 && s(
214
214
  i,
215
215
  "limitsamount",
216
216
  /*limitsamount*/
217
217
  o[8]
218
218
  ), a & /*limitsperiods*/
219
- 512 && n(
219
+ 512 && s(
220
220
  i,
221
221
  "limitsperiods",
222
222
  /*limitsperiods*/
223
223
  o[9]
224
224
  ), a & /*currency*/
225
- 2048 && n(
225
+ 2048 && s(
226
226
  i,
227
227
  "currency",
228
228
  /*currency*/
229
229
  o[11]
230
230
  ), a & /*customcurrencysymbols*/
231
- 4096 && n(
231
+ 4096 && s(
232
232
  i,
233
233
  "customcurrencysymbols",
234
234
  /*customcurrencysymbols*/
235
235
  o[12]
236
236
  ), a & /*apiversion*/
237
- 8192 && n(
237
+ 8192 && s(
238
238
  i,
239
239
  "apiversion",
240
240
  /*apiversion*/
241
241
  o[13]
242
242
  ), a & /*translationurl*/
243
- 16384 && n(
243
+ 16384 && s(
244
244
  i,
245
245
  "translationurl",
246
246
  /*translationurl*/
247
247
  o[14]
248
248
  ), a & /*clientstylingurl*/
249
- 2 && n(
249
+ 2 && s(
250
250
  i,
251
251
  "clientstylingurl",
252
252
  /*clientstylingurl*/
253
253
  o[1]
254
254
  ), a & /*mbsource*/
255
- 4 && n(
255
+ 4 && s(
256
256
  i,
257
257
  "mbsource",
258
258
  /*mbsource*/
259
259
  o[2]
260
260
  ), a & /*limitformat*/
261
- 1024 && n(
261
+ 1024 && s(
262
262
  i,
263
263
  "limitformat",
264
264
  /*limitformat*/
@@ -268,15 +268,15 @@ function dt(s) {
268
268
  i: O,
269
269
  o: O,
270
270
  d(o) {
271
- o && tt(t), s[24](null), I = !1, it(W);
271
+ o && tt(t), n[24](null), G = !1, it(W);
272
272
  }
273
273
  };
274
274
  }
275
- function pt(s, t, l) {
275
+ function pt(n, t, l) {
276
276
  let i;
277
- st(s, ot, (e) => l(19, i = e));
278
- let { clientstyling: k = "" } = t, { clientstylingurl: L = "" } = t, { mbsource: w } = t, { session: T = "" } = t, { userid: x = "" } = t, { lang: _ = "" } = t, { endpoint: g = "" } = t, { tablabels: h = "Deposit Limits" } = t, { limitsamount: f = "All(deposit):1-50000" } = t, { limitsperiods: S = "All(deposit): D-W-M" } = t, { limitformat: j = "" } = t, { currency: C = "" } = t, { customcurrencysymbols: z = "" } = t, { apiversion: P = "" } = t, { translationurl: b = "" } = t, { timezone: D = "GMT" } = t, v = !0, E = !0, y = !1, m;
279
- const M = `
277
+ nt(n, ot, (e) => l(19, i = e));
278
+ let { clientstyling: k = "" } = t, { clientstylingurl: L = "" } = t, { mbsource: w } = t, { session: N = "" } = t, { userid: x = "" } = t, { lang: _ = "" } = t, { endpoint: g = "" } = t, { tablabels: h = "Deposit Limits" } = t, { limitsamount: f = "All(deposit):1-50000" } = t, { limitsperiods: S = "All(deposit): D-W-M" } = t, { limitformat: P = "" } = t, { currency: T = "" } = t, { customcurrencysymbols: z = "" } = t, { apiversion: j = "" } = t, { translationurl: b = "" } = t, { timezone: D = "GMT" } = t, v = !0, E = !0, y = !1, m;
279
+ const C = `
280
280
  .GamingLimitsWrapper div.GamingLimitsContent {
281
281
  min-height: revert;
282
282
  }
@@ -312,9 +312,9 @@ function pt(s, t, l) {
312
312
  font-size: 10px;
313
313
  margin-right: 5px;
314
314
  }
315
- `, G = () => {
315
+ `, I = () => {
316
316
  ct(_);
317
- }, A = () => {
317
+ }, M = () => {
318
318
  fetch(b).then((p) => p.json()).then((p) => {
319
319
  Object.keys(p).forEach((F) => {
320
320
  U(F, p[F]);
@@ -326,7 +326,7 @@ function pt(s, t, l) {
326
326
  Object.keys(J).forEach((e) => {
327
327
  U(e, J[e]);
328
328
  });
329
- const I = () => {
329
+ const G = () => {
330
330
  if (!E) {
331
331
  if (y) {
332
332
  W();
@@ -336,9 +336,9 @@ function pt(s, t, l) {
336
336
  }
337
337
  }, W = () => {
338
338
  const e = new URL(`${g}/api/pam/v1/player-notifications`);
339
- fetch(e, {
339
+ e.searchParams.append("createNotificationIfNotFound", "true"), fetch(e, {
340
340
  headers: {
341
- "X-SessionId": T,
341
+ "X-SessionId": N,
342
342
  "Content-Type": "application/json"
343
343
  },
344
344
  method: "PATCH",
@@ -392,7 +392,7 @@ function pt(s, t, l) {
392
392
  }
393
393
  }
394
394
  };
395
- nt(() => (window.addEventListener("message", a), () => {
395
+ st(() => (window.addEventListener("message", a), () => {
396
396
  window.removeEventListener("message", a);
397
397
  }));
398
398
  function q(e) {
@@ -400,39 +400,39 @@ function pt(s, t, l) {
400
400
  m = e, l(17, m);
401
401
  });
402
402
  }
403
- return s.$$set = (e) => {
404
- "clientstyling" in e && l(0, k = e.clientstyling), "clientstylingurl" in e && l(1, L = e.clientstylingurl), "mbsource" in e && l(2, w = e.mbsource), "session" in e && l(3, T = e.session), "userid" in e && l(4, x = e.userid), "lang" in e && l(5, _ = e.lang), "endpoint" in e && l(6, g = e.endpoint), "tablabels" in e && l(7, h = e.tablabels), "limitsamount" in e && l(8, f = e.limitsamount), "limitsperiods" in e && l(9, S = e.limitsperiods), "limitformat" in e && l(10, j = e.limitformat), "currency" in e && l(11, C = e.currency), "customcurrencysymbols" in e && l(12, z = e.customcurrencysymbols), "apiversion" in e && l(13, P = e.apiversion), "translationurl" in e && l(14, b = e.translationurl), "timezone" in e && l(15, D = e.timezone);
405
- }, s.$$.update = () => {
406
- s.$$.dirty & /*lang*/
407
- 32 && _ && G(), s.$$.dirty & /*clientstyling, customStylingContainer*/
408
- 131073 && k && m && at(m, k), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
409
- 131074 && L && m && rt(m, L), s.$$.dirty & /*mbsource, customStylingContainer*/
410
- 131076 && w && m && mt(m, `${w}.Style`), s.$$.dirty & /*translationurl*/
411
- 16384 && b && A(), s.$$.dirty & /*skipLimit, invalidLimitInput*/
403
+ return n.$$set = (e) => {
404
+ "clientstyling" in e && l(0, k = e.clientstyling), "clientstylingurl" in e && l(1, L = e.clientstylingurl), "mbsource" in e && l(2, w = e.mbsource), "session" in e && l(3, N = e.session), "userid" in e && l(4, x = e.userid), "lang" in e && l(5, _ = e.lang), "endpoint" in e && l(6, g = e.endpoint), "tablabels" in e && l(7, h = e.tablabels), "limitsamount" in e && l(8, f = e.limitsamount), "limitsperiods" in e && l(9, S = e.limitsperiods), "limitformat" in e && l(10, P = e.limitformat), "currency" in e && l(11, T = e.currency), "customcurrencysymbols" in e && l(12, z = e.customcurrencysymbols), "apiversion" in e && l(13, j = e.apiversion), "translationurl" in e && l(14, b = e.translationurl), "timezone" in e && l(15, D = e.timezone);
405
+ }, n.$$.update = () => {
406
+ n.$$.dirty & /*lang*/
407
+ 32 && _ && I(), n.$$.dirty & /*clientstyling, customStylingContainer*/
408
+ 131073 && k && m && at(m, k), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
409
+ 131074 && L && m && rt(m, L), n.$$.dirty & /*mbsource, customStylingContainer*/
410
+ 131076 && w && m && mt(m, `${w}.Style`), n.$$.dirty & /*translationurl*/
411
+ 16384 && b && M(), n.$$.dirty & /*skipLimit, invalidLimitInput*/
412
412
  8454144 && l(18, E = y ? !1 : v);
413
413
  }, [
414
414
  k,
415
415
  L,
416
416
  w,
417
- T,
417
+ N,
418
418
  x,
419
419
  _,
420
420
  g,
421
421
  h,
422
422
  f,
423
423
  S,
424
- j,
425
- C,
426
- z,
427
424
  P,
425
+ T,
426
+ z,
427
+ j,
428
428
  b,
429
429
  D,
430
430
  y,
431
431
  m,
432
432
  E,
433
433
  i,
434
- M,
435
- I,
434
+ C,
435
+ G,
436
436
  o,
437
437
  v,
438
438
  q
@@ -1,4 +1,4 @@
1
- import { a as Q, $ as B, S as X, i as Y, f as c, s as K, Q as Z, b as $, w as V, d as tt, z as it, p as u, A as F, V as n, h as et, j as r, D as R, k as d, l as N, E as H, m as st, o as nt, G as lt, R as ot, N as at, O as rt, P as mt } from "./PlayerAccountGamingLimitsHistory2Nd-B2G860pn.js";
1
+ import { a as Q, $ as B, S as X, i as Y, f as c, s as K, Q as Z, b as $, w as O, d as tt, z as it, p as u, A as V, V as n, h as et, j as r, D as R, k as d, l as C, E as H, m as st, o as nt, G as lt, R as ot, N as at, O as rt, P as mt } from "./PlayerAccountGamingLimitsHistory2Nd-B2G860pn.js";
2
2
  import "../stencil/ui-skeleton-xXZA3rYO.js";
3
3
  function U(s, t) {
4
4
  Q(s, t);
@@ -55,18 +55,18 @@ function ut(s) {
55
55
  $(s, "svelte-19al6x0", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}');
56
56
  }
57
57
  function dt(s) {
58
- let t, l, i, y, L, w, T, x, _, g, h, f, S, j, A, z, G, b, E, v = (
58
+ let t, l, i, y, L, w, N, x, _, g, h, f, S, j, T, z, P, b, E, v = (
59
59
  /*$_*/
60
60
  s[19]("skipLimitLimitDescription") + ""
61
- ), D, k, m, M = (
61
+ ), D, k, m, A = (
62
62
  /*$_*/
63
63
  s[19]("savePlayerLimit") + ""
64
- ), P, C, I, W;
64
+ ), G, M, I, W;
65
65
  return {
66
66
  c() {
67
- t = d("div"), l = d("div"), i = d("player-account-gaming-limits-wrapper-2-nd"), y = d("section"), L = N(), w = d("section"), T = N(), x = d("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', _ = N(), g = d("section"), h = d("button"), f = d("div"), S = d("input"), j = N(), A = d("span"), G = N(), b = d("div"), E = d("p"), D = H(v), k = N(), m = d("button"), P = H(M), u(y, "slot", "LimitWrapperTitle"), u(w, "slot", "LimitsList"), u(x, "slot", "LimitSkeleton"), u(S, "type", "checkbox"), u(S, "class", "skip-switch-input"), u(A, "class", "skip-switch-core"), u(f, "class", z = "skip-switch " + /*skipLimit*/
67
+ t = d("div"), l = d("div"), i = d("player-account-gaming-limits-wrapper-2-nd"), y = d("section"), L = C(), w = d("section"), N = C(), x = d("section"), x.innerHTML = '<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>', _ = C(), g = d("section"), h = d("button"), f = d("div"), S = d("input"), j = C(), T = d("span"), P = C(), b = d("div"), E = d("p"), D = H(v), k = C(), m = d("button"), G = H(A), u(y, "slot", "LimitWrapperTitle"), u(w, "slot", "LimitsList"), u(x, "slot", "LimitSkeleton"), u(S, "type", "checkbox"), u(S, "class", "skip-switch-input"), u(T, "class", "skip-switch-core"), u(f, "class", z = "skip-switch " + /*skipLimit*/
68
68
  (s[16] ? "checked" : "")), u(E, "class", "label"), u(b, "class", "skip-limit-label"), u(h, "class", "toggle-content"), u(m, "class", "limit-submit-button"), u(m, "type", "submit"), m.disabled = /*disableSaveLimit*/
69
- s[18], u(g, "slot", "LimitSubmitButton"), n(i, "historyenabled", !1), n(i, "clientstyling", C = /*clientstyling*/
69
+ s[18], u(g, "slot", "LimitSubmitButton"), n(i, "historyenabled", !1), n(i, "clientstyling", M = /*clientstyling*/
70
70
  s[0] || /*defaultCustomStyling*/
71
71
  s[20]), n(i, "limitTabVisible", !0), n(
72
72
  i,
@@ -146,7 +146,7 @@ function dt(s) {
146
146
  ), u(l, "class", "limit-modal-container"), u(t, "class", "player-limit-modal");
147
147
  },
148
148
  m(o, a) {
149
- et(o, t, a), r(t, l), r(l, i), r(i, y), r(i, L), r(i, w), r(i, T), r(i, x), r(i, _), r(i, g), r(g, h), r(h, f), r(f, S), r(f, j), r(f, A), r(h, G), r(h, b), r(b, E), r(E, D), r(g, k), r(g, m), r(m, P), s[24](t), I || (W = [
149
+ et(o, t, a), r(t, l), r(l, i), r(i, y), r(i, L), r(i, w), r(i, N), r(i, x), r(i, _), r(i, g), r(g, h), r(h, f), r(f, S), r(f, j), r(f, T), r(h, P), r(h, b), r(b, E), r(E, D), r(g, k), r(g, m), r(m, G), s[24](t), I || (W = [
150
150
  R(
151
151
  h,
152
152
  "click",
@@ -166,14 +166,14 @@ function dt(s) {
166
166
  65536 && z !== (z = "skip-switch " + /*skipLimit*/
167
167
  (o[16] ? "checked" : "")) && u(f, "class", z), a & /*$_*/
168
168
  524288 && v !== (v = /*$_*/
169
- o[19]("skipLimitLimitDescription") + "") && F(D, v), a & /*$_*/
170
- 524288 && M !== (M = /*$_*/
171
- o[19]("savePlayerLimit") + "") && F(P, M), a & /*disableSaveLimit*/
169
+ o[19]("skipLimitLimitDescription") + "") && V(D, v), a & /*$_*/
170
+ 524288 && A !== (A = /*$_*/
171
+ o[19]("savePlayerLimit") + "") && V(G, A), a & /*disableSaveLimit*/
172
172
  262144 && (m.disabled = /*disableSaveLimit*/
173
173
  o[18]), a & /*clientstyling*/
174
- 1 && C !== (C = /*clientstyling*/
174
+ 1 && M !== (M = /*clientstyling*/
175
175
  o[0] || /*defaultCustomStyling*/
176
- o[20]) && n(i, "clientstyling", C), a & /*endpoint*/
176
+ o[20]) && n(i, "clientstyling", M), a & /*endpoint*/
177
177
  64 && n(
178
178
  i,
179
179
  "endpoint",
@@ -265,8 +265,8 @@ function dt(s) {
265
265
  o[10]
266
266
  );
267
267
  },
268
- i: V,
269
- o: V,
268
+ i: O,
269
+ o: O,
270
270
  d(o) {
271
271
  o && tt(t), s[24](null), I = !1, it(W);
272
272
  }
@@ -275,8 +275,8 @@ function dt(s) {
275
275
  function pt(s, t, l) {
276
276
  let i;
277
277
  st(s, ot, (e) => l(19, i = e));
278
- let { clientstyling: y = "" } = t, { clientstylingurl: L = "" } = t, { mbsource: w } = t, { session: T = "" } = t, { userid: x = "" } = t, { lang: _ = "" } = t, { endpoint: g = "" } = t, { tablabels: h = "Deposit Limits" } = t, { limitsamount: f = "All(deposit):1-50000" } = t, { limitsperiods: S = "All(deposit): D-W-M" } = t, { limitformat: j = "" } = t, { currency: A = "" } = t, { customcurrencysymbols: z = "" } = t, { apiversion: G = "" } = t, { translationurl: b = "" } = t, { timezone: E = "GMT" } = t, v = !0, D = !0, k = !1, m;
279
- const M = `
278
+ let { clientstyling: y = "" } = t, { clientstylingurl: L = "" } = t, { mbsource: w } = t, { session: N = "" } = t, { userid: x = "" } = t, { lang: _ = "" } = t, { endpoint: g = "" } = t, { tablabels: h = "Deposit Limits" } = t, { limitsamount: f = "All(deposit):1-50000" } = t, { limitsperiods: S = "All(deposit): D-W-M" } = t, { limitformat: j = "" } = t, { currency: T = "" } = t, { customcurrencysymbols: z = "" } = t, { apiversion: P = "" } = t, { translationurl: b = "" } = t, { timezone: E = "GMT" } = t, v = !0, D = !0, k = !1, m;
279
+ const A = `
280
280
  .GamingLimitsWrapper div.GamingLimitsContent {
281
281
  min-height: revert;
282
282
  }
@@ -312,12 +312,12 @@ function pt(s, t, l) {
312
312
  font-size: 10px;
313
313
  margin-right: 5px;
314
314
  }
315
- `, P = () => {
315
+ `, G = () => {
316
316
  ct(_);
317
- }, C = () => {
317
+ }, M = () => {
318
318
  fetch(b).then((p) => p.json()).then((p) => {
319
- Object.keys(p).forEach((O) => {
320
- U(O, p[O]);
319
+ Object.keys(p).forEach((F) => {
320
+ U(F, p[F]);
321
321
  });
322
322
  }).catch((p) => {
323
323
  console.log(p);
@@ -336,9 +336,9 @@ function pt(s, t, l) {
336
336
  }
337
337
  }, W = () => {
338
338
  const e = new URL(`${g}/api/pam/v1/player-notifications`);
339
- fetch(e, {
339
+ e.searchParams.append("createNotificationIfNotFound", "true"), fetch(e, {
340
340
  headers: {
341
- "X-SessionId": T,
341
+ "X-SessionId": N,
342
342
  "Content-Type": "application/json"
343
343
  },
344
344
  method: "PATCH",
@@ -401,20 +401,20 @@ function pt(s, t, l) {
401
401
  });
402
402
  }
403
403
  return s.$$set = (e) => {
404
- "clientstyling" in e && l(0, y = e.clientstyling), "clientstylingurl" in e && l(1, L = e.clientstylingurl), "mbsource" in e && l(2, w = e.mbsource), "session" in e && l(3, T = e.session), "userid" in e && l(4, x = e.userid), "lang" in e && l(5, _ = e.lang), "endpoint" in e && l(6, g = e.endpoint), "tablabels" in e && l(7, h = e.tablabels), "limitsamount" in e && l(8, f = e.limitsamount), "limitsperiods" in e && l(9, S = e.limitsperiods), "limitformat" in e && l(10, j = e.limitformat), "currency" in e && l(11, A = e.currency), "customcurrencysymbols" in e && l(12, z = e.customcurrencysymbols), "apiversion" in e && l(13, G = e.apiversion), "translationurl" in e && l(14, b = e.translationurl), "timezone" in e && l(15, E = e.timezone);
404
+ "clientstyling" in e && l(0, y = e.clientstyling), "clientstylingurl" in e && l(1, L = e.clientstylingurl), "mbsource" in e && l(2, w = e.mbsource), "session" in e && l(3, N = e.session), "userid" in e && l(4, x = e.userid), "lang" in e && l(5, _ = e.lang), "endpoint" in e && l(6, g = e.endpoint), "tablabels" in e && l(7, h = e.tablabels), "limitsamount" in e && l(8, f = e.limitsamount), "limitsperiods" in e && l(9, S = e.limitsperiods), "limitformat" in e && l(10, j = e.limitformat), "currency" in e && l(11, T = e.currency), "customcurrencysymbols" in e && l(12, z = e.customcurrencysymbols), "apiversion" in e && l(13, P = e.apiversion), "translationurl" in e && l(14, b = e.translationurl), "timezone" in e && l(15, E = e.timezone);
405
405
  }, s.$$.update = () => {
406
406
  s.$$.dirty & /*lang*/
407
- 32 && _ && P(), s.$$.dirty & /*clientstyling, customStylingContainer*/
407
+ 32 && _ && G(), s.$$.dirty & /*clientstyling, customStylingContainer*/
408
408
  131073 && y && m && at(m, y), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
409
409
  131074 && L && m && rt(m, L), s.$$.dirty & /*mbsource, customStylingContainer*/
410
410
  131076 && w && m && mt(m, `${w}.Style`), s.$$.dirty & /*translationurl*/
411
- 16384 && b && C(), s.$$.dirty & /*skipLimit, invalidLimitInput*/
411
+ 16384 && b && M(), s.$$.dirty & /*skipLimit, invalidLimitInput*/
412
412
  8454144 && l(18, D = k ? !1 : v);
413
413
  }, [
414
414
  y,
415
415
  L,
416
416
  w,
417
- T,
417
+ N,
418
418
  x,
419
419
  _,
420
420
  g,
@@ -422,16 +422,16 @@ function pt(s, t, l) {
422
422
  f,
423
423
  S,
424
424
  j,
425
- A,
425
+ T,
426
426
  z,
427
- G,
427
+ P,
428
428
  b,
429
429
  E,
430
430
  k,
431
431
  m,
432
432
  D,
433
433
  i,
434
- M,
434
+ A,
435
435
  I,
436
436
  o,
437
437
  v,
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimitsHistory2Nd-BEuKrge-.cjs");require("../stencil/ui-skeleton-BreIU6e5.cjs");function j(s,e){t.addMessages(s,e)}function O(s){t.$locale.set(s)}const G={en:{savePlayerLimit:"SAVE",skipLimitLimitDescription:"I do not wish to set a limit at this time.",skipLimitSuccessful:"Your account limit has been successfully set.",skipLimitFail:"Something went wrong while setting your account limits. Try again later."},fr:{savePlayerLimit:"SAUVEGARDER",skipLimitLimitDescription:"Je ne souhaite pas fixer de limite pour le moment.",skipLimitSuccessful:"La limite de votre compte a été définie avec succès.",skipLimitFail:"Quelque chose s'est mal passé lors de la définition des limites de votre compte. Veuillez réessayer plus tard."},ro:{savePlayerLimit:"SALVAȚI",skipLimitLimitDescription:"Nu doresc să stabilesc o limită în acest moment.",skipLimitSuccessful:"Limita contului dvs. a fost setată cu succes.",skipLimitFail:"Ceva nu a funcționat corect la setarea limitelor contului dvs. Încercați din nou mai târziu."},hu:{savePlayerLimit:"MENTÉS",skipLimitLimitDescription:"Jelenleg nem kívánok limitet beállítani.",skipLimitSuccessful:"Fiókkorlátja sikeresen beállítva.",skipLimitFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később."}};if(typeof window!="undefined"){let s=function(e){return function(...l){try{return e.apply(this,l)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsWrapper2Nd-DvAebAMB.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-wrapper-2-nd")&&customElements.define("player-account-gaming-limits-wrapper-2-nd",e.element)})}function F(s){t.append_styles(s,"svelte-19al6x0",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}')}function V(s){let e,l,i,h,_,f,S,y,k,c,u,d,w,M,z,v,A,p,L,b=s[19]("skipLimitLimitDescription")+"",x,g,r,T=s[19]("savePlayerLimit")+"",D,E,C,N;return{c(){e=t.element("div"),l=t.element("div"),i=t.element("player-account-gaming-limits-wrapper-2-nd"),h=t.element("section"),_=t.space(),f=t.element("section"),S=t.space(),y=t.element("section"),y.innerHTML='<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>',k=t.space(),c=t.element("section"),u=t.element("button"),d=t.element("div"),w=t.element("input"),M=t.space(),z=t.element("span"),A=t.space(),p=t.element("div"),L=t.element("p"),x=t.text(b),g=t.space(),r=t.element("button"),D=t.text(T),t.attr(h,"slot","LimitWrapperTitle"),t.attr(f,"slot","LimitsList"),t.attr(y,"slot","LimitSkeleton"),t.attr(w,"type","checkbox"),t.attr(w,"class","skip-switch-input"),t.attr(z,"class","skip-switch-core"),t.attr(d,"class",v="skip-switch "+(s[16]?"checked":"")),t.attr(L,"class","label"),t.attr(p,"class","skip-limit-label"),t.attr(u,"class","toggle-content"),t.attr(r,"class","limit-submit-button"),t.attr(r,"type","submit"),r.disabled=s[18],t.attr(c,"slot","LimitSubmitButton"),t.set_custom_element_data(i,"historyenabled",!1),t.set_custom_element_data(i,"clientstyling",E=s[0]||s[20]),t.set_custom_element_data(i,"limitTabVisible",!0),t.set_custom_element_data(i,"endpoint",s[6]),t.set_custom_element_data(i,"userid",s[4]),t.set_custom_element_data(i,"session",s[3]),t.set_custom_element_data(i,"timezone",s[15]),t.set_custom_element_data(i,"lang",s[5]),t.set_custom_element_data(i,"tablabels",s[7]),t.set_custom_element_data(i,"limitsamount",s[8]),t.set_custom_element_data(i,"limitsperiods",s[9]),t.set_custom_element_data(i,"currency",s[11]),t.set_custom_element_data(i,"customcurrencysymbols",s[12]),t.set_custom_element_data(i,"apiversion",s[13]),t.set_custom_element_data(i,"translationurl",s[14]),t.set_custom_element_data(i,"clientstylingurl",s[1]),t.set_custom_element_data(i,"mbsource",s[2]),t.set_custom_element_data(i,"limitformat",s[10]),t.attr(l,"class","limit-modal-container"),t.attr(e,"class","player-limit-modal")},m(a,o){t.insert(a,e,o),t.append(e,l),t.append(l,i),t.append(i,h),t.append(i,_),t.append(i,f),t.append(i,S),t.append(i,y),t.append(i,k),t.append(i,c),t.append(c,u),t.append(u,d),t.append(d,w),t.append(d,M),t.append(d,z),t.append(u,A),t.append(u,p),t.append(p,L),t.append(L,x),t.append(c,g),t.append(c,r),t.append(r,D),s[24](e),C||(N=[t.listen(u,"click",s[22]),t.listen(r,"click",s[21])],C=!0)},p(a,[o]){o&65536&&v!==(v="skip-switch "+(a[16]?"checked":""))&&t.attr(d,"class",v),o&524288&&b!==(b=a[19]("skipLimitLimitDescription")+"")&&t.set_data(x,b),o&524288&&T!==(T=a[19]("savePlayerLimit")+"")&&t.set_data(D,T),o&262144&&(r.disabled=a[18]),o&1&&E!==(E=a[0]||a[20])&&t.set_custom_element_data(i,"clientstyling",E),o&64&&t.set_custom_element_data(i,"endpoint",a[6]),o&16&&t.set_custom_element_data(i,"userid",a[4]),o&8&&t.set_custom_element_data(i,"session",a[3]),o&32768&&t.set_custom_element_data(i,"timezone",a[15]),o&32&&t.set_custom_element_data(i,"lang",a[5]),o&128&&t.set_custom_element_data(i,"tablabels",a[7]),o&256&&t.set_custom_element_data(i,"limitsamount",a[8]),o&512&&t.set_custom_element_data(i,"limitsperiods",a[9]),o&2048&&t.set_custom_element_data(i,"currency",a[11]),o&4096&&t.set_custom_element_data(i,"customcurrencysymbols",a[12]),o&8192&&t.set_custom_element_data(i,"apiversion",a[13]),o&16384&&t.set_custom_element_data(i,"translationurl",a[14]),o&2&&t.set_custom_element_data(i,"clientstylingurl",a[1]),o&4&&t.set_custom_element_data(i,"mbsource",a[2]),o&1024&&t.set_custom_element_data(i,"limitformat",a[10])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s[24](null),C=!1,t.run_all(N)}}}function q(s,e,l){let i;t.component_subscribe(s,t.$format,n=>l(19,i=n));let{clientstyling:h=""}=e,{clientstylingurl:_=""}=e,{mbsource:f}=e,{session:S=""}=e,{userid:y=""}=e,{lang:k=""}=e,{endpoint:c=""}=e,{tablabels:u="Deposit Limits"}=e,{limitsamount:d="All(deposit):1-50000"}=e,{limitsperiods:w="All(deposit): D-W-M"}=e,{limitformat:M=""}=e,{currency:z=""}=e,{customcurrencysymbols:v=""}=e,{apiversion:A=""}=e,{translationurl:p=""}=e,{timezone:L="GMT"}=e,b=!0,x=!0,g=!1,r;const T=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimitsHistory2Nd-BEuKrge-.cjs");require("../stencil/ui-skeleton-BreIU6e5.cjs");function j(s,e){t.addMessages(s,e)}function F(s){t.$locale.set(s)}const G={en:{savePlayerLimit:"SAVE",skipLimitLimitDescription:"I do not wish to set a limit at this time.",skipLimitSuccessful:"Your account limit has been successfully set.",skipLimitFail:"Something went wrong while setting your account limits. Try again later."},fr:{savePlayerLimit:"SAUVEGARDER",skipLimitLimitDescription:"Je ne souhaite pas fixer de limite pour le moment.",skipLimitSuccessful:"La limite de votre compte a été définie avec succès.",skipLimitFail:"Quelque chose s'est mal passé lors de la définition des limites de votre compte. Veuillez réessayer plus tard."},ro:{savePlayerLimit:"SALVAȚI",skipLimitLimitDescription:"Nu doresc să stabilesc o limită în acest moment.",skipLimitSuccessful:"Limita contului dvs. a fost setată cu succes.",skipLimitFail:"Ceva nu a funcționat corect la setarea limitelor contului dvs. Încercați din nou mai târziu."},hu:{savePlayerLimit:"MENTÉS",skipLimitLimitDescription:"Jelenleg nem kívánok limitet beállítani.",skipLimitSuccessful:"Fiókkorlátja sikeresen beállítva.",skipLimitFail:"Hiba történt a fiókkorlátok beállítása során. Próbálja újra később."}};if(typeof window!="undefined"){let s=function(e){return function(...l){try{return e.apply(this,l)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsWrapper2Nd-DvAebAMB.cjs")).then(({default:e})=>{!customElements.get("player-account-gaming-limits-wrapper-2-nd")&&customElements.define("player-account-gaming-limits-wrapper-2-nd",e.element)})}function O(s){t.append_styles(s,"svelte-19al6x0",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-limit-modal{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;padding:0 10px;background-color:var(--emw--color-modal-background, rgba(0, 0, 0, 0.7))}.player-limit-modal .limit-modal-container{max-width:700px;min-width:300px;max-height:90vh;overflow-y:auto;position:relative;min-height:200px;border-radius:var(--emw--border-radius-medium, 10px)}.player-limit-modal .limit-submit-button{margin-top:20px;min-width:320px;height:40px;background-color:var(--emw--color-primary, #22b04e);border:none;border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));cursor:pointer;font-size:var(--emw--font-size-large, 20px)}.player-limit-modal .limit-submit-button.Mobile{font-size:var(--emw--font-size-small, 14px);padding:8px 0}.player-limit-modal .limit-submit-button:disabled{opacity:0.3;cursor:not-allowed}.player-limit-modal .toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.player-limit-modal .toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:14px;height:14px;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.player-limit-modal .toggle-content .skip-switch.checked .skip-switch-core::after{left:100%;margin-left:-12px}.player-limit-modal .toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.player-limit-modal .toggle-content .skip-switch .skip-switch-core{width:22px;margin:0;display:inline-block;position:relative;height:14px;border:1px solid #ababab;outline:none;border-radius:10px;box-sizing:border-box;border-color:var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);cursor:pointer;transition:border-color 0.3s, background-color 0.3s;vertical-align:middle}.player-limit-modal .toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all 0.3s;width:10px;height:10px;background:#fff}.player-limit-modal .limit-skeleton{width:100%;container-type:inline-size;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.player-limit-modal .limit-skeleton .skeleton-wrapper{display:flex;flex-direction:column;width:320px;gap:10px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-header{width:100%;margin-top:20px}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{width:40%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:100%;border-radius:30px;overflow:hidden}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{margin-top:20px}@container (max-width: 768px){.player-limit-modal .limit-skeleton .skeleton-wrapper{width:100%}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-period,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-input-amount,.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-button{width:inherit}.player-limit-modal .limit-skeleton .skeleton-wrapper .skeleton-sub-text{margin-top:10px}}')}function V(s){let e,l,i,h,_,f,S,y,k,c,u,d,w,M,z,v,N,p,L,b=s[19]("skipLimitLimitDescription")+"",x,g,r,T=s[19]("savePlayerLimit")+"",A,E,D,P;return{c(){e=t.element("div"),l=t.element("div"),i=t.element("player-account-gaming-limits-wrapper-2-nd"),h=t.element("section"),_=t.space(),f=t.element("section"),S=t.space(),y=t.element("section"),y.innerHTML='<div class="limit-skeleton"><div class="skeleton-wrapper"><div class="skeleton-header"><ui-skeleton width="auto" height="25px" structure="title" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-period"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-sub-text"><ui-skeleton width="auto" height="15px" structure="text" margin-right="auto"></ui-skeleton></div> <div class="skeleton-input-amount"><ui-skeleton width="auto" height="40px" structure="rectangle" margin-right="auto"></ui-skeleton></div> <div class="skeleton-button"><ui-skeleton width="auto" height="50px" structure="rectangle" margin-right="auto"></ui-skeleton></div></div></div>',k=t.space(),c=t.element("section"),u=t.element("button"),d=t.element("div"),w=t.element("input"),M=t.space(),z=t.element("span"),N=t.space(),p=t.element("div"),L=t.element("p"),x=t.text(b),g=t.space(),r=t.element("button"),A=t.text(T),t.attr(h,"slot","LimitWrapperTitle"),t.attr(f,"slot","LimitsList"),t.attr(y,"slot","LimitSkeleton"),t.attr(w,"type","checkbox"),t.attr(w,"class","skip-switch-input"),t.attr(z,"class","skip-switch-core"),t.attr(d,"class",v="skip-switch "+(s[16]?"checked":"")),t.attr(L,"class","label"),t.attr(p,"class","skip-limit-label"),t.attr(u,"class","toggle-content"),t.attr(r,"class","limit-submit-button"),t.attr(r,"type","submit"),r.disabled=s[18],t.attr(c,"slot","LimitSubmitButton"),t.set_custom_element_data(i,"historyenabled",!1),t.set_custom_element_data(i,"clientstyling",E=s[0]||s[20]),t.set_custom_element_data(i,"limitTabVisible",!0),t.set_custom_element_data(i,"endpoint",s[6]),t.set_custom_element_data(i,"userid",s[4]),t.set_custom_element_data(i,"session",s[3]),t.set_custom_element_data(i,"timezone",s[15]),t.set_custom_element_data(i,"lang",s[5]),t.set_custom_element_data(i,"tablabels",s[7]),t.set_custom_element_data(i,"limitsamount",s[8]),t.set_custom_element_data(i,"limitsperiods",s[9]),t.set_custom_element_data(i,"currency",s[11]),t.set_custom_element_data(i,"customcurrencysymbols",s[12]),t.set_custom_element_data(i,"apiversion",s[13]),t.set_custom_element_data(i,"translationurl",s[14]),t.set_custom_element_data(i,"clientstylingurl",s[1]),t.set_custom_element_data(i,"mbsource",s[2]),t.set_custom_element_data(i,"limitformat",s[10]),t.attr(l,"class","limit-modal-container"),t.attr(e,"class","player-limit-modal")},m(a,o){t.insert(a,e,o),t.append(e,l),t.append(l,i),t.append(i,h),t.append(i,_),t.append(i,f),t.append(i,S),t.append(i,y),t.append(i,k),t.append(i,c),t.append(c,u),t.append(u,d),t.append(d,w),t.append(d,M),t.append(d,z),t.append(u,N),t.append(u,p),t.append(p,L),t.append(L,x),t.append(c,g),t.append(c,r),t.append(r,A),s[24](e),D||(P=[t.listen(u,"click",s[22]),t.listen(r,"click",s[21])],D=!0)},p(a,[o]){o&65536&&v!==(v="skip-switch "+(a[16]?"checked":""))&&t.attr(d,"class",v),o&524288&&b!==(b=a[19]("skipLimitLimitDescription")+"")&&t.set_data(x,b),o&524288&&T!==(T=a[19]("savePlayerLimit")+"")&&t.set_data(A,T),o&262144&&(r.disabled=a[18]),o&1&&E!==(E=a[0]||a[20])&&t.set_custom_element_data(i,"clientstyling",E),o&64&&t.set_custom_element_data(i,"endpoint",a[6]),o&16&&t.set_custom_element_data(i,"userid",a[4]),o&8&&t.set_custom_element_data(i,"session",a[3]),o&32768&&t.set_custom_element_data(i,"timezone",a[15]),o&32&&t.set_custom_element_data(i,"lang",a[5]),o&128&&t.set_custom_element_data(i,"tablabels",a[7]),o&256&&t.set_custom_element_data(i,"limitsamount",a[8]),o&512&&t.set_custom_element_data(i,"limitsperiods",a[9]),o&2048&&t.set_custom_element_data(i,"currency",a[11]),o&4096&&t.set_custom_element_data(i,"customcurrencysymbols",a[12]),o&8192&&t.set_custom_element_data(i,"apiversion",a[13]),o&16384&&t.set_custom_element_data(i,"translationurl",a[14]),o&2&&t.set_custom_element_data(i,"clientstylingurl",a[1]),o&4&&t.set_custom_element_data(i,"mbsource",a[2]),o&1024&&t.set_custom_element_data(i,"limitformat",a[10])},i:t.noop,o:t.noop,d(a){a&&t.detach(e),s[24](null),D=!1,t.run_all(P)}}}function q(s,e,l){let i;t.component_subscribe(s,t.$format,n=>l(19,i=n));let{clientstyling:h=""}=e,{clientstylingurl:_=""}=e,{mbsource:f}=e,{session:S=""}=e,{userid:y=""}=e,{lang:k=""}=e,{endpoint:c=""}=e,{tablabels:u="Deposit Limits"}=e,{limitsamount:d="All(deposit):1-50000"}=e,{limitsperiods:w="All(deposit): D-W-M"}=e,{limitformat:M=""}=e,{currency:z=""}=e,{customcurrencysymbols:v=""}=e,{apiversion:N=""}=e,{translationurl:p=""}=e,{timezone:L="GMT"}=e,b=!0,x=!0,g=!1,r;const T=`
2
2
  .GamingLimitsWrapper div.GamingLimitsContent {
3
3
  min-height: revert;
4
4
  }
@@ -34,4 +34,4 @@
34
34
  font-size: 10px;
35
35
  margin-right: 5px;
36
36
  }
37
- `,D=()=>{O(k)},E=()=>{fetch(p).then(m=>m.json()).then(m=>{Object.keys(m).forEach(P=>{j(P,m[P])})}).catch(m=>{console.log(m)})};Object.keys(G).forEach(n=>{j(n,G[n])});const C=()=>{if(!x){if(g){N();return}window.postMessage({type:"SubmitLimitNotification"},window.location.href)}},N=()=>{const n=new URL(`${c}/api/pam/v1/player-notifications`);fetch(n,{headers:{"X-SessionId":S,"Content-Type":"application/json"},method:"PATCH",body:JSON.stringify({type:1,interval:5,ackNotification:!0,ackNotificationTimestamp:new Date().toISOString()})}).then(m=>{if(m.ok)return m.json();throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("skipLimitFail")}},window.location.href),new Error("Error while skipping the limit setting")}).then(()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("skipLimitSuccessful")}},window.location.href),window.postMessage({type:"SkipLimitSuccessful"},window.location.href)}).catch(m=>{console.error(m)})},a=()=>{l(16,g=!g),window.postMessage({type:"LimitDisableState",data:g},window.location.href)},o=n=>{if(n.data)switch(n.data.type){case"InValidLimit":{l(23,b=n.data.data);break}}};t.onMount(()=>(window.addEventListener("message",o),()=>{window.removeEventListener("message",o)}));function W(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,l(17,r)})}return s.$$set=n=>{"clientstyling"in n&&l(0,h=n.clientstyling),"clientstylingurl"in n&&l(1,_=n.clientstylingurl),"mbsource"in n&&l(2,f=n.mbsource),"session"in n&&l(3,S=n.session),"userid"in n&&l(4,y=n.userid),"lang"in n&&l(5,k=n.lang),"endpoint"in n&&l(6,c=n.endpoint),"tablabels"in n&&l(7,u=n.tablabels),"limitsamount"in n&&l(8,d=n.limitsamount),"limitsperiods"in n&&l(9,w=n.limitsperiods),"limitformat"in n&&l(10,M=n.limitformat),"currency"in n&&l(11,z=n.currency),"customcurrencysymbols"in n&&l(12,v=n.customcurrencysymbols),"apiversion"in n&&l(13,A=n.apiversion),"translationurl"in n&&l(14,p=n.translationurl),"timezone"in n&&l(15,L=n.timezone)},s.$$.update=()=>{s.$$.dirty&32&&k&&D(),s.$$.dirty&131073&&h&&r&&t.setClientStyling(r,h),s.$$.dirty&131074&&_&&r&&t.setClientStylingURL(r,_),s.$$.dirty&131076&&f&&r&&t.setStreamStyling(r,`${f}.Style`),s.$$.dirty&16384&&p&&E(),s.$$.dirty&8454144&&l(18,x=g?!1:b)},[h,_,f,S,y,k,c,u,d,w,M,z,v,A,p,L,g,r,x,i,T,C,a,b,W]}class I extends t.SvelteComponent{constructor(e){super(),t.init(this,e,q,V,t.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,session:3,userid:4,lang:5,endpoint:6,tablabels:7,limitsamount:8,limitsperiods:9,limitformat:10,currency:11,customcurrencysymbols:12,apiversion:13,translationurl:14,timezone:15},F)}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),t.flush()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),t.flush()}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get tablabels(){return this.$$.ctx[7]}set tablabels(e){this.$$set({tablabels:e}),t.flush()}get limitsamount(){return this.$$.ctx[8]}set limitsamount(e){this.$$set({limitsamount:e}),t.flush()}get limitsperiods(){return this.$$.ctx[9]}set limitsperiods(e){this.$$set({limitsperiods:e}),t.flush()}get limitformat(){return this.$$.ctx[10]}set limitformat(e){this.$$set({limitformat:e}),t.flush()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),t.flush()}get customcurrencysymbols(){return this.$$.ctx[12]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),t.flush()}get apiversion(){return this.$$.ctx[13]}set apiversion(e){this.$$set({apiversion:e}),t.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get timezone(){return this.$$.ctx[15]}set timezone(e){this.$$set({timezone:e}),t.flush()}}t.create_custom_element(I,{clientstyling:{},clientstylingurl:{},mbsource:{},session:{},userid:{},lang:{},endpoint:{},tablabels:{},limitsamount:{},limitsperiods:{},limitformat:{},currency:{},customcurrencysymbols:{},apiversion:{},translationurl:{},timezone:{}},[],[],!0);exports.default=I;
37
+ `,A=()=>{F(k)},E=()=>{fetch(p).then(m=>m.json()).then(m=>{Object.keys(m).forEach(C=>{j(C,m[C])})}).catch(m=>{console.log(m)})};Object.keys(G).forEach(n=>{j(n,G[n])});const D=()=>{if(!x){if(g){P();return}window.postMessage({type:"SubmitLimitNotification"},window.location.href)}},P=()=>{const n=new URL(`${c}/api/pam/v1/player-notifications`);n.searchParams.append("createNotificationIfNotFound","true"),fetch(n,{headers:{"X-SessionId":S,"Content-Type":"application/json"},method:"PATCH",body:JSON.stringify({type:1,interval:5,ackNotification:!0,ackNotificationTimestamp:new Date().toISOString()})}).then(m=>{if(m.ok)return m.json();throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("skipLimitFail")}},window.location.href),new Error("Error while skipping the limit setting")}).then(()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("skipLimitSuccessful")}},window.location.href),window.postMessage({type:"SkipLimitSuccessful"},window.location.href)}).catch(m=>{console.error(m)})},a=()=>{l(16,g=!g),window.postMessage({type:"LimitDisableState",data:g},window.location.href)},o=n=>{if(n.data)switch(n.data.type){case"InValidLimit":{l(23,b=n.data.data);break}}};t.onMount(()=>(window.addEventListener("message",o),()=>{window.removeEventListener("message",o)}));function W(n){t.binding_callbacks[n?"unshift":"push"](()=>{r=n,l(17,r)})}return s.$$set=n=>{"clientstyling"in n&&l(0,h=n.clientstyling),"clientstylingurl"in n&&l(1,_=n.clientstylingurl),"mbsource"in n&&l(2,f=n.mbsource),"session"in n&&l(3,S=n.session),"userid"in n&&l(4,y=n.userid),"lang"in n&&l(5,k=n.lang),"endpoint"in n&&l(6,c=n.endpoint),"tablabels"in n&&l(7,u=n.tablabels),"limitsamount"in n&&l(8,d=n.limitsamount),"limitsperiods"in n&&l(9,w=n.limitsperiods),"limitformat"in n&&l(10,M=n.limitformat),"currency"in n&&l(11,z=n.currency),"customcurrencysymbols"in n&&l(12,v=n.customcurrencysymbols),"apiversion"in n&&l(13,N=n.apiversion),"translationurl"in n&&l(14,p=n.translationurl),"timezone"in n&&l(15,L=n.timezone)},s.$$.update=()=>{s.$$.dirty&32&&k&&A(),s.$$.dirty&131073&&h&&r&&t.setClientStyling(r,h),s.$$.dirty&131074&&_&&r&&t.setClientStylingURL(r,_),s.$$.dirty&131076&&f&&r&&t.setStreamStyling(r,`${f}.Style`),s.$$.dirty&16384&&p&&E(),s.$$.dirty&8454144&&l(18,x=g?!1:b)},[h,_,f,S,y,k,c,u,d,w,M,z,v,N,p,L,g,r,x,i,T,D,a,b,W]}class I extends t.SvelteComponent{constructor(e){super(),t.init(this,e,q,V,t.safe_not_equal,{clientstyling:0,clientstylingurl:1,mbsource:2,session:3,userid:4,lang:5,endpoint:6,tablabels:7,limitsamount:8,limitsperiods:9,limitformat:10,currency:11,customcurrencysymbols:12,apiversion:13,translationurl:14,timezone:15},O)}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[2]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get session(){return this.$$.ctx[3]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[4]}set userid(e){this.$$set({userid:e}),t.flush()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),t.flush()}get endpoint(){return this.$$.ctx[6]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get tablabels(){return this.$$.ctx[7]}set tablabels(e){this.$$set({tablabels:e}),t.flush()}get limitsamount(){return this.$$.ctx[8]}set limitsamount(e){this.$$set({limitsamount:e}),t.flush()}get limitsperiods(){return this.$$.ctx[9]}set limitsperiods(e){this.$$set({limitsperiods:e}),t.flush()}get limitformat(){return this.$$.ctx[10]}set limitformat(e){this.$$set({limitformat:e}),t.flush()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),t.flush()}get customcurrencysymbols(){return this.$$.ctx[12]}set customcurrencysymbols(e){this.$$set({customcurrencysymbols:e}),t.flush()}get apiversion(){return this.$$.ctx[13]}set apiversion(e){this.$$set({apiversion:e}),t.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get timezone(){return this.$$.ctx[15]}set timezone(e){this.$$set({timezone:e}),t.flush()}}t.create_custom_element(I,{clientstyling:{},clientstylingurl:{},mbsource:{},session:{},userid:{},lang:{},endpoint:{},tablabels:{},limitsamount:{},limitsperiods:{},limitformat:{},currency:{},customcurrencysymbols:{},apiversion:{},translationurl:{},timezone:{}},[],[],!0);exports.default=I;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-Bsr5fxp5.cjs")).then(({default:t})=>{!customElements.get("player-limit-notification")&&customElements.define("player-limit-notification",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerLimitNotification-Cxu4sGDF.cjs")).then(({default:t})=>{!customElements.get("player-limit-notification")&&customElements.define("player-limit-notification",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-CE-sdiDW.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-CfjDK_Wf.js").then(({ default: t }) => {
14
14
  !customElements.get("player-limit-notification") && customElements.define("player-limit-notification", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as n } from "../components/PlayerLimitNotification-DMElKJoy.js";
1
+ import { P as n } from "../components/PlayerLimitNotification-CPXEQ8xC.js";
2
2
  function s(t) {
3
3
  return function(...i) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-limit-notification",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "main": "esnext/player-limit-notification.js",
6
6
  "module": "esnext/player-limit-notification.js",