@everymatrix/player-limit-notification 0.3.6 → 0.3.8

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 K, $ as Z, S as $, i as tt, f as a, s as it, Q as et, b as nt, w as F, d as st, z as lt, p as r, A as R, h as ot, j as s, D as V, k as m, l as T, E as H, m as at, o as rt, G as U, R as mt, N as ct, O as ut, P as dt } from "./PlayerAccountGamingLimitsHistory2Nd-B2G860pn.js";
1
+ import { a as Z, $, S as tt, i as it, f as o, s as et, Q as nt, b as st, w as F, d as lt, z as ot, p as a, A as R, h as at, j as s, D as V, k as c, l as j, E as H, m as rt, o as mt, G as U, R as ct, N as ut, O as dt, P as pt } from "./PlayerAccountGamingLimitsHistory2Nd-B2G860pn.js";
2
2
  import "../stencil/ui-skeleton-xXZA3rYO.js";
3
3
  function J(e, t) {
4
- K(e, t);
4
+ Z(e, t);
5
5
  }
6
- function pt(e) {
7
- Z.set(e);
6
+ function gt(e) {
7
+ $.set(e);
8
8
  }
9
9
  const q = {
10
10
  en: {
@@ -44,40 +44,40 @@ if (typeof window != "undefined") {
44
44
  }
45
45
  };
46
46
  };
47
- customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-DaPxdRcG.js").then(({ default: t }) => {
47
+ customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsWrapper2Nd-Cdueg9oj.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 gt(e) {
55
- nt(e, "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
- }
57
54
  function ht(e) {
58
- let t, n, l, b, w, y, A, x, L, u, d, p, v, N, C, S, M, g, _, z = (
55
+ st(e, "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
+ }
57
+ function ft(e) {
58
+ let t, n, l, b, w, y, A, x, L, d, p, g, v, M, C, S, N, h, _, z = (
59
59
  /*$_*/
60
60
  e[4]("skipLimitLimitDescription") + ""
61
- ), D, k, o, h = (
61
+ ), D, T, r, m = (
62
62
  /*$_*/
63
63
  e[4]("savePlayerLimit") + ""
64
- ), j, P, G;
64
+ ), k, P, G;
65
65
  return {
66
66
  c() {
67
- t = m("div"), n = m("div"), l = m("player-account-gaming-limits-wrapper-2-nd"), b = m("section"), w = T(), y = m("section"), A = T(), x = m("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>', L = T(), u = m("section"), d = m("button"), p = m("div"), v = m("input"), N = T(), C = m("span"), M = T(), g = m("div"), _ = m("p"), D = H(z), k = T(), o = m("button"), j = H(h), r(b, "slot", "LimitWrapperTitle"), r(y, "slot", "LimitsList"), r(x, "slot", "LimitSkeleton"), r(v, "type", "checkbox"), r(v, "class", "skip-switch-input"), r(C, "class", "skip-switch-core"), r(p, "class", S = "skip-switch " + /*skipLimit*/
68
- (e[0] ? "checked" : "")), r(_, "class", "label"), r(g, "class", "skip-limit-label"), r(d, "class", "toggle-content"), r(o, "class", "limit-submit-button"), r(o, "type", "submit"), o.disabled = /*disableSaveLimit*/
69
- e[3], r(u, "slot", "LimitSubmitButton"), r(n, "class", "limit-modal-container"), r(t, "class", "player-limit-modal");
67
+ t = c("div"), n = c("div"), l = c("player-account-gaming-limits-wrapper-2-nd"), b = c("section"), w = j(), y = c("section"), A = j(), x = c("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>', L = j(), d = c("section"), p = c("button"), g = c("div"), v = c("input"), M = j(), C = c("span"), N = j(), h = c("div"), _ = c("p"), D = H(z), T = j(), r = c("button"), k = H(m), a(b, "slot", "LimitWrapperTitle"), a(y, "slot", "LimitsList"), a(x, "slot", "LimitSkeleton"), a(v, "type", "checkbox"), a(v, "class", "skip-switch-input"), a(C, "class", "skip-switch-core"), a(g, "class", S = "skip-switch " + /*skipLimit*/
68
+ (e[0] ? "checked" : "")), a(_, "class", "label"), a(h, "class", "skip-limit-label"), a(p, "class", "toggle-content"), a(r, "class", "limit-submit-button"), a(r, "type", "submit"), r.disabled = /*disableSaveLimit*/
69
+ e[3], a(d, "slot", "LimitSubmitButton"), a(n, "class", "limit-modal-container"), a(t, "class", "player-limit-modal");
70
70
  },
71
71
  m(f, E) {
72
- ot(f, t, E), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, A), s(l, x), s(l, L), s(l, u), s(u, d), s(d, p), s(p, v), s(p, N), s(p, C), s(d, M), s(d, g), s(g, _), s(_, D), s(u, k), s(u, o), s(o, j), e[24](l), e[25](t), P || (G = [
72
+ at(f, t, E), s(t, n), s(n, l), s(l, b), s(l, w), s(l, y), s(l, A), s(l, x), s(l, L), s(l, d), s(d, p), s(p, g), s(g, v), s(g, M), s(g, C), s(p, N), s(p, h), s(h, _), s(_, D), s(d, T), s(d, r), s(r, k), e[25](l), e[26](t), P || (G = [
73
73
  V(
74
- d,
74
+ p,
75
75
  "click",
76
76
  /*toggleSkipLimit*/
77
77
  e[6]
78
78
  ),
79
79
  V(
80
- o,
80
+ r,
81
81
  "click",
82
82
  /*submitLimit*/
83
83
  e[5]
@@ -87,26 +87,26 @@ function ht(e) {
87
87
  p(f, E) {
88
88
  E[0] & /*skipLimit*/
89
89
  1 && S !== (S = "skip-switch " + /*skipLimit*/
90
- (f[0] ? "checked" : "")) && r(p, "class", S), E[0] & /*$_*/
90
+ (f[0] ? "checked" : "")) && a(g, "class", S), E[0] & /*$_*/
91
91
  16 && z !== (z = /*$_*/
92
92
  f[4]("skipLimitLimitDescription") + "") && R(D, z), E[0] & /*$_*/
93
- 16 && h !== (h = /*$_*/
94
- f[4]("savePlayerLimit") + "") && R(j, h), E[0] & /*disableSaveLimit*/
95
- 8 && (o.disabled = /*disableSaveLimit*/
93
+ 16 && m !== (m = /*$_*/
94
+ f[4]("savePlayerLimit") + "") && R(k, m), E[0] & /*disableSaveLimit*/
95
+ 8 && (r.disabled = /*disableSaveLimit*/
96
96
  f[3]);
97
97
  },
98
98
  i: F,
99
99
  o: F,
100
100
  d(f) {
101
- f && st(t), e[24](null), e[25](null), P = !1, lt(G);
101
+ f && lt(t), e[25](null), e[26](null), P = !1, ot(G);
102
102
  }
103
103
  };
104
104
  }
105
- function ft(e, t, n) {
105
+ function bt(e, t, n) {
106
106
  let l;
107
- at(e, mt, (i) => n(4, l = i));
108
- let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: A = "" } = t, { userid: x = "" } = t, { lang: L = "" } = t, { endpoint: u = "" } = t, { tablabels: d = "Deposit Limits" } = t, { limitsamount: p = "All(deposit):1-50000" } = t, { limitsperiods: v = "All(deposit): D-W-M" } = t, { limitformat: N = "" } = t, { currency: C = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: M = "" } = t, { translationurl: g = "" } = t, { timezone: _ = "GMT" } = t, z = !0, D = !0, k = !1, o, h;
109
- const j = `
107
+ rt(e, ct, (i) => n(4, l = i));
108
+ let { clientstyling: b = "" } = t, { clientstylingurl: w = "" } = t, { mbsource: y } = t, { session: A = "" } = t, { userid: x = "" } = t, { lang: L = "" } = t, { endpoint: d = "" } = t, { tablabels: p = "Deposit Limits" } = t, { limitsamount: g = "All(deposit):1-50000" } = t, { limitsperiods: v = "All(deposit): D-W-M" } = t, { limitformat: M = "" } = t, { currency: C = "" } = t, { customcurrencysymbols: S = "" } = t, { apiversion: N = "" } = t, { translationurl: h = "" } = t, { timezone: _ = "GMT" } = t, { defaultperiod: z = "Monthly" } = t, D = !0, T = !0, r = !1, m, k;
109
+ const P = `
110
110
  .GamingLimitsWrapper div.GamingLimitsContent {
111
111
  min-height: revert;
112
112
  }
@@ -142,30 +142,30 @@ function ft(e, t, n) {
142
142
  font-size: 10px;
143
143
  margin-right: 5px;
144
144
  }
145
- `, P = () => {
146
- pt(L);
147
- }, G = () => {
148
- fetch(g).then((c) => c.json()).then((c) => {
149
- Object.keys(c).forEach((I) => {
150
- J(I, c[I]);
145
+ `, G = () => {
146
+ gt(L);
147
+ }, f = () => {
148
+ fetch(h).then((u) => u.json()).then((u) => {
149
+ Object.keys(u).forEach((I) => {
150
+ J(I, u[I]);
151
151
  });
152
- }).catch((c) => {
153
- console.log(c);
152
+ }).catch((u) => {
153
+ console.log(u);
154
154
  });
155
155
  };
156
156
  Object.keys(q).forEach((i) => {
157
157
  J(i, q[i]);
158
158
  });
159
- const f = () => {
160
- if (!D) {
161
- if (k) {
162
- E();
159
+ const E = () => {
160
+ if (!T) {
161
+ if (r) {
162
+ Q();
163
163
  return;
164
164
  }
165
165
  window.postMessage({ type: "SubmitLimitNotification" }, window.location.href);
166
166
  }
167
- }, E = () => {
168
- const i = new URL(`${u}/api/pam/v1/player-notifications`);
167
+ }, Q = () => {
168
+ const i = new URL(`${d}/api/pam/v1/player-notifications`);
169
169
  i.searchParams.append("createNotificationIfNotFound", "true"), fetch(i, {
170
170
  headers: {
171
171
  "X-SessionId": A,
@@ -178,9 +178,9 @@ function ft(e, t, n) {
178
178
  ackNotification: !0,
179
179
  ackNotificationTimestamp: (/* @__PURE__ */ new Date()).toISOString()
180
180
  })
181
- }).then((c) => {
182
- if (c.ok)
183
- return c.json();
181
+ }).then((u) => {
182
+ if (u.ok)
183
+ return u.json();
184
184
  throw window.postMessage(
185
185
  {
186
186
  type: "WidgetNotification",
@@ -202,14 +202,14 @@ function ft(e, t, n) {
202
202
  },
203
203
  window.location.href
204
204
  ), window.postMessage({ type: "SkipLimitSuccessful" }, window.location.href);
205
- }).catch((c) => {
206
- console.error(c);
205
+ }).catch((u) => {
206
+ console.error(u);
207
207
  });
208
- }, Q = () => {
209
- n(0, k = !k), window.postMessage(
208
+ }, B = () => {
209
+ n(0, r = !r), window.postMessage(
210
210
  {
211
211
  type: "LimitDisableState",
212
- data: k
212
+ data: r
213
213
  },
214
214
  window.location.href
215
215
  );
@@ -217,98 +217,100 @@ function ft(e, t, n) {
217
217
  if (i.data)
218
218
  switch (i.data.type) {
219
219
  case "InValidLimit": {
220
- n(23, z = i.data.data);
220
+ n(24, D = i.data.data);
221
221
  break;
222
222
  }
223
223
  }
224
224
  };
225
- function B(i) {
225
+ function X(i) {
226
226
  if (!i)
227
227
  return;
228
228
  Object.entries({
229
229
  historyenabled: "false",
230
- clientstyling: b || j,
230
+ clientstyling: b || P,
231
231
  limittabvisible: "true",
232
- endpoint: u,
232
+ endpoint: d,
233
233
  userid: x,
234
234
  session: A,
235
235
  timezone: _,
236
236
  lang: L,
237
- tablabels: d,
238
- limitsamount: p,
237
+ tablabels: p,
238
+ limitsamount: g,
239
239
  limitsperiods: v,
240
240
  currency: C,
241
241
  customcurrencysymbols: S,
242
- apiversion: M,
243
- translationurl: g,
242
+ apiversion: N,
243
+ translationurl: h,
244
244
  clientstylingurl: w,
245
245
  mbsource: y,
246
- limitformat: N
246
+ defaultperiod: z,
247
+ limitformat: M
247
248
  }).forEach(([I, W]) => {
248
249
  W != null && i.setAttribute(I, W.toString());
249
250
  });
250
251
  }
251
- rt(() => (window.addEventListener("message", O), () => {
252
+ mt(() => (window.addEventListener("message", O), () => {
252
253
  window.removeEventListener("message", O);
253
254
  }));
254
- function X(i) {
255
+ function Y(i) {
255
256
  U[i ? "unshift" : "push"](() => {
256
- h = i, n(2, h);
257
+ k = i, n(2, k);
257
258
  });
258
259
  }
259
- function Y(i) {
260
+ function K(i) {
260
261
  U[i ? "unshift" : "push"](() => {
261
- o = i, n(1, o);
262
+ m = i, n(1, m);
262
263
  });
263
264
  }
264
265
  return e.$$set = (i) => {
265
- "clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, A = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, L = i.lang), "endpoint" in i && n(13, u = i.endpoint), "tablabels" in i && n(14, d = i.tablabels), "limitsamount" in i && n(15, p = i.limitsamount), "limitsperiods" in i && n(16, v = i.limitsperiods), "limitformat" in i && n(17, N = i.limitformat), "currency" in i && n(18, C = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, M = i.apiversion), "translationurl" in i && n(21, g = i.translationurl), "timezone" in i && n(22, _ = i.timezone);
266
+ "clientstyling" in i && n(7, b = i.clientstyling), "clientstylingurl" in i && n(8, w = i.clientstylingurl), "mbsource" in i && n(9, y = i.mbsource), "session" in i && n(10, A = i.session), "userid" in i && n(11, x = i.userid), "lang" in i && n(12, L = i.lang), "endpoint" in i && n(13, d = i.endpoint), "tablabels" in i && n(14, p = i.tablabels), "limitsamount" in i && n(15, g = i.limitsamount), "limitsperiods" in i && n(16, v = i.limitsperiods), "limitformat" in i && n(17, M = i.limitformat), "currency" in i && n(18, C = i.currency), "customcurrencysymbols" in i && n(19, S = i.customcurrencysymbols), "apiversion" in i && n(20, N = i.apiversion), "translationurl" in i && n(21, h = i.translationurl), "timezone" in i && n(22, _ = i.timezone), "defaultperiod" in i && n(23, z = i.defaultperiod);
266
267
  }, e.$$.update = () => {
267
268
  e.$$.dirty[0] & /*lang*/
268
- 4096 && L && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
269
- 130 && b && o && ct(o, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
270
- 258 && w && o && ut(o, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
271
- 514 && y && o && dt(o, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
272
- 2097152 && g && G(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
273
- 8388609 && n(3, D = k ? !1 : z), e.$$.dirty[0] & /*innerComponent*/
274
- 4 && h && B(h);
269
+ 4096 && L && G(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
270
+ 130 && b && m && ut(m, b), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
271
+ 258 && w && m && dt(m, w), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
272
+ 514 && y && m && pt(m, `${y}.Style`), e.$$.dirty[0] & /*translationurl*/
273
+ 2097152 && h && f(), e.$$.dirty[0] & /*skipLimit, invalidLimitInput*/
274
+ 16777217 && n(3, T = r ? !1 : D), e.$$.dirty[0] & /*innerComponent*/
275
+ 4 && k && X(k);
275
276
  }, [
277
+ r,
278
+ m,
276
279
  k,
277
- o,
278
- h,
279
- D,
280
+ T,
280
281
  l,
281
- f,
282
- Q,
282
+ E,
283
+ B,
283
284
  b,
284
285
  w,
285
286
  y,
286
287
  A,
287
288
  x,
288
289
  L,
289
- u,
290
290
  d,
291
291
  p,
292
+ g,
292
293
  v,
293
- N,
294
+ M,
294
295
  C,
295
296
  S,
296
- M,
297
- g,
297
+ N,
298
+ h,
298
299
  _,
299
300
  z,
300
- X,
301
- Y
301
+ D,
302
+ Y,
303
+ K
302
304
  ];
303
305
  }
304
- class bt extends $ {
306
+ class yt extends tt {
305
307
  constructor(t) {
306
- super(), tt(
308
+ super(), it(
307
309
  this,
308
310
  t,
311
+ bt,
309
312
  ft,
310
- ht,
311
- it,
313
+ et,
312
314
  {
313
315
  clientstyling: 7,
314
316
  clientstylingurl: 8,
@@ -325,9 +327,10 @@ class bt extends $ {
325
327
  customcurrencysymbols: 19,
326
328
  apiversion: 20,
327
329
  translationurl: 21,
328
- timezone: 22
330
+ timezone: 22,
331
+ defaultperiod: 23
329
332
  },
330
- gt,
333
+ ht,
331
334
  [-1, -1]
332
335
  );
333
336
  }
@@ -335,100 +338,106 @@ class bt extends $ {
335
338
  return this.$$.ctx[7];
336
339
  }
337
340
  set clientstyling(t) {
338
- this.$$set({ clientstyling: t }), a();
341
+ this.$$set({ clientstyling: t }), o();
339
342
  }
340
343
  get clientstylingurl() {
341
344
  return this.$$.ctx[8];
342
345
  }
343
346
  set clientstylingurl(t) {
344
- this.$$set({ clientstylingurl: t }), a();
347
+ this.$$set({ clientstylingurl: t }), o();
345
348
  }
346
349
  get mbsource() {
347
350
  return this.$$.ctx[9];
348
351
  }
349
352
  set mbsource(t) {
350
- this.$$set({ mbsource: t }), a();
353
+ this.$$set({ mbsource: t }), o();
351
354
  }
352
355
  get session() {
353
356
  return this.$$.ctx[10];
354
357
  }
355
358
  set session(t) {
356
- this.$$set({ session: t }), a();
359
+ this.$$set({ session: t }), o();
357
360
  }
358
361
  get userid() {
359
362
  return this.$$.ctx[11];
360
363
  }
361
364
  set userid(t) {
362
- this.$$set({ userid: t }), a();
365
+ this.$$set({ userid: t }), o();
363
366
  }
364
367
  get lang() {
365
368
  return this.$$.ctx[12];
366
369
  }
367
370
  set lang(t) {
368
- this.$$set({ lang: t }), a();
371
+ this.$$set({ lang: t }), o();
369
372
  }
370
373
  get endpoint() {
371
374
  return this.$$.ctx[13];
372
375
  }
373
376
  set endpoint(t) {
374
- this.$$set({ endpoint: t }), a();
377
+ this.$$set({ endpoint: t }), o();
375
378
  }
376
379
  get tablabels() {
377
380
  return this.$$.ctx[14];
378
381
  }
379
382
  set tablabels(t) {
380
- this.$$set({ tablabels: t }), a();
383
+ this.$$set({ tablabels: t }), o();
381
384
  }
382
385
  get limitsamount() {
383
386
  return this.$$.ctx[15];
384
387
  }
385
388
  set limitsamount(t) {
386
- this.$$set({ limitsamount: t }), a();
389
+ this.$$set({ limitsamount: t }), o();
387
390
  }
388
391
  get limitsperiods() {
389
392
  return this.$$.ctx[16];
390
393
  }
391
394
  set limitsperiods(t) {
392
- this.$$set({ limitsperiods: t }), a();
395
+ this.$$set({ limitsperiods: t }), o();
393
396
  }
394
397
  get limitformat() {
395
398
  return this.$$.ctx[17];
396
399
  }
397
400
  set limitformat(t) {
398
- this.$$set({ limitformat: t }), a();
401
+ this.$$set({ limitformat: t }), o();
399
402
  }
400
403
  get currency() {
401
404
  return this.$$.ctx[18];
402
405
  }
403
406
  set currency(t) {
404
- this.$$set({ currency: t }), a();
407
+ this.$$set({ currency: t }), o();
405
408
  }
406
409
  get customcurrencysymbols() {
407
410
  return this.$$.ctx[19];
408
411
  }
409
412
  set customcurrencysymbols(t) {
410
- this.$$set({ customcurrencysymbols: t }), a();
413
+ this.$$set({ customcurrencysymbols: t }), o();
411
414
  }
412
415
  get apiversion() {
413
416
  return this.$$.ctx[20];
414
417
  }
415
418
  set apiversion(t) {
416
- this.$$set({ apiversion: t }), a();
419
+ this.$$set({ apiversion: t }), o();
417
420
  }
418
421
  get translationurl() {
419
422
  return this.$$.ctx[21];
420
423
  }
421
424
  set translationurl(t) {
422
- this.$$set({ translationurl: t }), a();
425
+ this.$$set({ translationurl: t }), o();
423
426
  }
424
427
  get timezone() {
425
428
  return this.$$.ctx[22];
426
429
  }
427
430
  set timezone(t) {
428
- this.$$set({ timezone: t }), a();
431
+ this.$$set({ timezone: t }), o();
432
+ }
433
+ get defaultperiod() {
434
+ return this.$$.ctx[23];
435
+ }
436
+ set defaultperiod(t) {
437
+ this.$$set({ defaultperiod: t }), o();
429
438
  }
430
439
  }
431
- et(bt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, session: {}, userid: {}, lang: {}, endpoint: {}, tablabels: {}, limitsamount: {}, limitsperiods: {}, limitformat: {}, currency: {}, customcurrencysymbols: {}, apiversion: {}, translationurl: {}, timezone: {} }, [], [], !0);
440
+ nt(yt, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, session: {}, userid: {}, lang: {}, endpoint: {}, tablabels: {}, limitsamount: {}, limitsperiods: {}, limitformat: {}, currency: {}, customcurrencysymbols: {}, apiversion: {}, translationurl: {}, timezone: {}, defaultperiod: {} }, [], [], !0);
432
441
  export {
433
- bt as default
442
+ yt as default
434
443
  };
@@ -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-BSXIKvkA.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-DmzC9tSa.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-Cj4OkFU7.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerLimitNotification-w-X8knI5.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-CX6yzEz1.js";
1
+ import { P as n } from "../components/PlayerLimitNotification-CbrAl95T.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.3.6",
3
+ "version": "0.3.8",
4
4
  "type": "module",
5
5
  "main": "esnext/player-limit-notification.js",
6
6
  "module": "esnext/player-limit-notification.js",