@everymatrix/player-profile-info 1.94.4 → 1.94.6

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,4 +1,4 @@
1
- import { a as W, $ as G, S as J, i as Q, f as u, s as V, c as Y, b as Z, n as R, d as k, e as E, g as $, h as ee, o as ie, j as w, k as te, l as se, m as X, p as j, t as ne, q as S, r as f, u as oe, v as ae, w as re, x as ce } from "./PlayerProfileInfo-D7JsveZr.js";
1
+ import { b as W, a as G, S as J, m as Q, l as u, s as V, h as Y, d as Z, p as I, i as k, n as E, k as $, g as ee, r as ie, j as w, f as te, w as se, c as X, o as j, z as ne, e as S, A as f, $ as oe, t as ae, u as re, v as ce } from "./PlayerProfileInfo-CfceOj6y.js";
2
2
  function le(t, e) {
3
3
  W(t, e);
4
4
  }
@@ -90,7 +90,7 @@ function ue(t, e, i) {
90
90
  function de(t) {
91
91
  Z(t, "svelte-4r3z7g", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));color:var(--emw--button-typography, var(--emw--color-white, #ffffff));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}');
92
92
  }
93
- function z(t) {
93
+ function R(t) {
94
94
  let e;
95
95
  function i(c, a) {
96
96
  if (
@@ -229,7 +229,7 @@ function fe(t) {
229
229
  function he(t) {
230
230
  let e, i = (
231
231
  /*isNativeApp*/
232
- t[0] && z(t)
232
+ t[0] && R(t)
233
233
  );
234
234
  return {
235
235
  c() {
@@ -240,10 +240,10 @@ function he(t) {
240
240
  },
241
241
  p(o, [s]) {
242
242
  /*isNativeApp*/
243
- o[0] ? i ? i.p(o, s) : (i = z(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
243
+ o[0] ? i ? i.p(o, s) : (i = R(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
244
244
  },
245
- i: R,
246
- o: R,
245
+ i: I,
246
+ o: I,
247
247
  d(o) {
248
248
  o && k(e), i && i.d(o);
249
249
  }
@@ -267,7 +267,7 @@ function Be(t, e, i) {
267
267
  D(me);
268
268
  const U = () => {
269
269
  be(s);
270
- }, N = {
270
+ }, A = {
271
271
  BIOMETRICS_RESPONSE: 3e3,
272
272
  SHAKE_DURATION: 500
273
273
  };
@@ -277,28 +277,28 @@ function Be(t, e, i) {
277
277
  () => {
278
278
  i(6, M = !1);
279
279
  },
280
- N.SHAKE_DURATION
280
+ A.SHAKE_DURATION
281
281
  );
282
- }, v = () => {
282
+ }, N = () => {
283
283
  d && clearTimeout(d), d = setTimeout(
284
284
  () => {
285
- i(5, g = !1), H(), I("error", o("errorMessage"));
285
+ i(5, g = !1), H(), z("error", o("errorMessage"));
286
286
  },
287
- N.BIOMETRICS_RESPONSE
287
+ A.BIOMETRICS_RESPONSE
288
288
  );
289
- }, A = async () => {
289
+ }, v = async () => {
290
290
  g || (i(5, g = !0), _ = !0, window.postMessage({
291
291
  type: "ToggleBiometrics",
292
292
  data: `${!y}`,
293
293
  isFromLogin: p
294
- }), v());
294
+ }), N());
295
295
  }, x = (n) => {
296
- n.data?.type === "NativeAppReady" && (i(0, B = !0), O()), n.data?.type === "BiometricsStatus" && (i(4, y = n.data.status || !1), i(5, g = !1), d && (clearTimeout(d), d = null), _ && (p || I("success", o(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
296
+ n.data?.type === "NativeAppReady" && (i(0, B = !0), O()), n.data?.type === "BiometricsStatus" && (i(4, y = n.data.status || !1), i(5, g = !1), d && (clearTimeout(d), d = null), _ && (p || z("success", o(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
297
297
  }, O = () => {
298
- i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }), v();
299
- }, q = () => {
298
+ i(5, g = !0), window.postMessage({ type: "GetBiometricsStatus" }), N();
299
+ }, P = () => {
300
300
  window.postMessage({ type: "CheckNativeApp" });
301
- }, I = (n, b) => {
301
+ }, z = (n, b) => {
302
302
  window.postMessage(
303
303
  {
304
304
  type: "WidgetNotification",
@@ -311,10 +311,10 @@ function Be(t, e, i) {
311
311
  window.location.href
312
312
  );
313
313
  };
314
- ie(() => (window.addEventListener("message", x), B === !0 ? O() : q(), () => {
314
+ ie(() => (window.addEventListener("message", x), B === !0 ? O() : P(), () => {
315
315
  window.removeEventListener("message", x), h && h.unsubscribe(), d && clearTimeout(d);
316
316
  }));
317
- const P = () => A();
317
+ const q = () => v();
318
318
  function K(n) {
319
319
  te[n ? "unshift" : "push"](() => {
320
320
  m = n, i(3, m);
@@ -339,7 +339,7 @@ function Be(t, e, i) {
339
339
  g,
340
340
  M,
341
341
  o,
342
- A,
342
+ v,
343
343
  s,
344
344
  c,
345
345
  a,
@@ -347,7 +347,7 @@ function Be(t, e, i) {
347
347
  l,
348
348
  p,
349
349
  h,
350
- P,
350
+ q,
351
351
  K
352
352
  ];
353
353
  }
@@ -1,4 +1,4 @@
1
- var z = (t, e, i) => new Promise((n, s) => {
1
+ var R = (t, e, i) => new Promise((n, s) => {
2
2
  var c = (l) => {
3
3
  try {
4
4
  a(i.next(l));
@@ -14,7 +14,7 @@ var z = (t, e, i) => new Promise((n, s) => {
14
14
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(c, r);
15
15
  a((i = i.apply(t, e)).next());
16
16
  });
17
- import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as X, d as k, c as E, e as ee, g as ie, o as te, h as w, j as se, k as ne, l as C, m as F, t as oe, p as S, q as h, r as ae, u as re, v as ce, w as le, x as be } from "./PlayerProfileInfo-BD3Smhlz.js";
17
+ import { b as J, a as Q, S as V, m as Y, s as Z, l as u, d as $, p as X, i as k, n as E, k as ee, g as ie, r as te, j as w, f as se, w as ne, c as C, o as F, z as oe, e as S, A as h, t as ae, u as re, v as ce, h as le, $ as be } from "./PlayerProfileInfo-CPEK_zIz.js";
18
18
  function me(t, e) {
19
19
  J(t, e);
20
20
  }
@@ -281,41 +281,41 @@ function ye(t, e, i) {
281
281
  });
282
282
  };
283
283
  D(de);
284
- const q = () => {
284
+ const P = () => {
285
285
  ue(s);
286
- }, N = {
286
+ }, A = {
287
287
  BIOMETRICS_RESPONSE: 3e3,
288
288
  SHAKE_DURATION: 500
289
289
  };
290
290
  let M = !1;
291
- const P = () => {
291
+ const q = () => {
292
292
  i(6, M = !0), setTimeout(
293
293
  () => {
294
294
  i(6, M = !1);
295
295
  },
296
- N.SHAKE_DURATION
296
+ A.SHAKE_DURATION
297
297
  );
298
- }, v = () => {
298
+ }, N = () => {
299
299
  g && clearTimeout(g), g = setTimeout(
300
300
  () => {
301
- i(5, f = !1), P(), I("error", n("errorMessage"));
301
+ i(5, f = !1), q(), z("error", n("errorMessage"));
302
302
  },
303
- N.BIOMETRICS_RESPONSE
303
+ A.BIOMETRICS_RESPONSE
304
304
  );
305
- }, A = () => z(this, null, function* () {
305
+ }, v = () => R(this, null, function* () {
306
306
  f || (i(5, f = !0), _ = !0, window.postMessage({
307
307
  type: "ToggleBiometrics",
308
308
  data: `${!y}`,
309
309
  isFromLogin: p
310
- }), v());
310
+ }), N());
311
311
  }), x = (o) => {
312
- var b, R;
313
- ((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((R = o.data) == null ? void 0 : R.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || I("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
312
+ var b, I;
313
+ ((b = o.data) == null ? void 0 : b.type) === "NativeAppReady" && (i(0, d = !0), O()), ((I = o.data) == null ? void 0 : I.type) === "BiometricsStatus" && (i(4, y = o.data.status || !1), i(5, f = !1), g && (clearTimeout(g), g = null), _ && (p || z("success", n(y ? "successEnableBiometrics" : "successDisableBiometrics"))), _ = !1);
314
314
  }, O = () => {
315
- i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), v();
315
+ i(5, f = !0), window.postMessage({ type: "GetBiometricsStatus" }), N();
316
316
  }, K = () => {
317
317
  window.postMessage({ type: "CheckNativeApp" });
318
- }, I = (o, b) => {
318
+ }, z = (o, b) => {
319
319
  window.postMessage(
320
320
  {
321
321
  type: "WidgetNotification",
@@ -331,7 +331,7 @@ function ye(t, e, i) {
331
331
  te(() => (window.addEventListener("message", x), d === !0 ? O() : K(), () => {
332
332
  window.removeEventListener("message", x), B && B.unsubscribe(), g && clearTimeout(g);
333
333
  }));
334
- const W = () => A();
334
+ const W = () => v();
335
335
  function G(o) {
336
336
  se[o ? "unshift" : "push"](() => {
337
337
  m = o, i(3, m);
@@ -341,7 +341,7 @@ function ye(t, e, i) {
341
341
  "lang" in o && i(9, s = o.lang), "clientstyling" in o && i(10, c = o.clientstyling), "clientstylingurl" in o && i(11, r = o.clientstylingurl), "mbsource" in o && i(12, a = o.mbsource), "translationurl" in o && i(13, l = o.translationurl), "isNativeApp" in o && i(0, d = o.isNativeApp), "mode" in o && i(1, T = o.mode), "isFromLogin" in o && i(14, p = o.isFromLogin), "isLoading" in o && i(2, L = o.isLoading);
342
342
  }, t.$$.update = () => {
343
343
  t.$$.dirty & /*lang*/
344
- 512 && s && q(), t.$$.dirty & /*clientstyling, customStylingContainer*/
344
+ 512 && s && P(), t.$$.dirty & /*clientstyling, customStylingContainer*/
345
345
  1032 && c && m && ae(m, c), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
346
346
  2056 && r && m && re(m, r), t.$$.dirty & /*mbsource, customStylingContainer*/
347
347
  4104 && a && m && ce(m, `${a}.Style`, U), t.$$.dirty & /*translationurl*/
@@ -356,7 +356,7 @@ function ye(t, e, i) {
356
356
  f,
357
357
  M,
358
358
  n,
359
- A,
359
+ v,
360
360
  s,
361
361
  c,
362
362
  r,
@@ -5204,7 +5204,7 @@ if (typeof window != "undefined") {
5204
5204
  }
5205
5205
  };
5206
5206
  };
5207
- customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-BAGMeJ7n.js").then(({ default: t }) => {
5207
+ customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-D84bJsoj.js").then(({ default: t }) => {
5208
5208
  !customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
5209
5209
  });
5210
5210
  }
@@ -5220,7 +5220,7 @@ if (typeof window != "undefined") {
5220
5220
  }
5221
5221
  };
5222
5222
  };
5223
- customElements.define = e(customElements.define), import("./QrSessionGenerator-mkYXTmck.js").then(({ default: t }) => {
5223
+ customElements.define = e(customElements.define), import("./QrSessionGenerator-BP4T74Zs.js").then(({ default: t }) => {
5224
5224
  !customElements.get("qr-session-generator") && customElements.define("qr-session-generator", t.element);
5225
5225
  });
5226
5226
  }
@@ -7650,34 +7650,34 @@ const wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7650
7650
  default: _s
7651
7651
  }, Symbol.toStringTag, { value: "Module" }));
7652
7652
  export {
7653
- ir as $,
7654
- gc as A,
7653
+ Mu as $,
7654
+ _c as A,
7655
7655
  wc as P,
7656
7656
  Qs as S,
7657
- us as a,
7658
- Is as b,
7659
- O as c,
7660
- B as d,
7661
- Zn as e,
7662
- ie as f,
7657
+ ir as a,
7658
+ us as b,
7659
+ s as c,
7660
+ Is as d,
7661
+ u as e,
7662
+ Xr as f,
7663
7663
  ks as g,
7664
- m as h,
7665
- Vs as i,
7666
- Xr as j,
7667
- I as k,
7668
- s as l,
7669
- L as m,
7670
- Me as n,
7671
- Ns as o,
7672
- u as p,
7673
- _c as q,
7674
- Lu as r,
7664
+ Ws as h,
7665
+ B as i,
7666
+ m as j,
7667
+ Zn as k,
7668
+ ie as l,
7669
+ Vs as m,
7670
+ O as n,
7671
+ L as o,
7672
+ Me as p,
7673
+ Cc as q,
7674
+ Ns as r,
7675
7675
  Ra as s,
7676
- A as t,
7676
+ Lu as t,
7677
7677
  Uu as u,
7678
7678
  ju as v,
7679
- Ws as w,
7680
- Mu as x,
7681
- w as y,
7682
- Cc as z
7679
+ I as w,
7680
+ w as x,
7681
+ gc as y,
7682
+ A as z
7683
7683
  };
@@ -5167,7 +5167,7 @@ if (typeof window < "u") {
5167
5167
  }
5168
5168
  };
5169
5169
  };
5170
- customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-Dyt5-VKL.js").then(({ default: t }) => {
5170
+ customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-CEFAlJ_j.js").then(({ default: t }) => {
5171
5171
  !customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
5172
5172
  });
5173
5173
  }
@@ -5183,7 +5183,7 @@ if (typeof window < "u") {
5183
5183
  }
5184
5184
  };
5185
5185
  };
5186
- customElements.define = e(customElements.define), import("./QrSessionGenerator-_j3dUSs4.js").then(({ default: t }) => {
5186
+ customElements.define = e(customElements.define), import("./QrSessionGenerator-Zbytphce.js").then(({ default: t }) => {
5187
5187
  !customElements.get("qr-session-generator") && customElements.define("qr-session-generator", t.element);
5188
5188
  });
5189
5189
  }
@@ -7576,34 +7576,34 @@ class pu extends Fa {
7576
7576
  }
7577
7577
  Ra(pu, { userid: {}, sessionid: {}, endpoint: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, custominputtextswitch: {}, showwelcomepanel: {}, showlocationdetailsdescription: {}, disabledfields: {}, marketingconsentstitle: {}, biometricenabled: {}, showaliasasusername: {}, qrsessiongeneratorenabled: {}, biometricactionmode: {} }, [], [], !0);
7578
7578
  export {
7579
- Jt as $,
7580
- hu as A,
7579
+ Ol as $,
7580
+ mu as A,
7581
7581
  pu as P,
7582
7582
  Fa as S,
7583
- ca as a,
7584
- Sa as b,
7585
- Ra as c,
7586
- O as d,
7587
- T as e,
7588
- ie as f,
7589
- dn as g,
7590
- wa as h,
7591
- ja as i,
7583
+ Jt as a,
7584
+ ca as b,
7585
+ s as c,
7586
+ Sa as d,
7587
+ u as e,
7588
+ pr as f,
7589
+ wa as g,
7590
+ Ra as h,
7591
+ O as i,
7592
7592
  m as j,
7593
- pr as k,
7594
- k as l,
7595
- s as m,
7596
- Me as n,
7597
- Ba as o,
7598
- L as p,
7599
- u as q,
7600
- mu as r,
7593
+ dn as k,
7594
+ ie as l,
7595
+ ja as m,
7596
+ T as n,
7597
+ L as o,
7598
+ Me as p,
7599
+ bu as q,
7600
+ Ba as r,
7601
7601
  Fo as s,
7602
- E as t,
7603
- Ol as u,
7604
- Hl as v,
7605
- xl as w,
7606
- Nl as x,
7607
- C as y,
7608
- bu as z
7602
+ Hl as t,
7603
+ xl as u,
7604
+ Nl as v,
7605
+ k as w,
7606
+ C as x,
7607
+ hu as y,
7608
+ E as z
7609
7609
  };
@@ -14,7 +14,7 @@ var j = (e, t, n) => new Promise((o, r) => {
14
14
  }, l = (a) => a.done ? o(a.value) : Promise.resolve(a.value).then(i, s);
15
15
  l((n = n.apply(e, t)).next());
16
16
  });
17
- import { a as Wt, $ as Xt, S as Zt, i as xt, s as $t, f as F, b as te, n as ht, d as nt, k as mt, c as rt, l as P, m as ee, h as U, t as wt, y as It, p as _, g as ne, z as re, j as oe, A as Nt, r as ie, u as se, v as ae, w as le, x as ue } from "./PlayerProfileInfo-BD3Smhlz.js";
17
+ import { b as Wt, a as Xt, S as Zt, m as xt, s as $t, l as F, d as te, p as ht, i as nt, w as mt, n as rt, c as P, o as ee, j as U, z as wt, x as It, e as _, g as ne, q as re, f as oe, y as Nt, t as ie, u as se, v as ae, h as le, $ as ue } from "./PlayerProfileInfo-CPEK_zIz.js";
18
18
  function Rt(e, t) {
19
19
  Wt(e, t);
20
20
  }
@@ -1,4 +1,4 @@
1
- import { a as Yt, $ as qt, S as Wt, i as Xt, s as Zt, f as z, b as xt, n as dt, d as tt, l as gt, e as et, m as P, p as $t, j as D, t as ht, y as At, q as _, h as te, z as ee, k as ne, A as Tt, v as re, w as oe, x as ie, c as se, u as ae } from "./PlayerProfileInfo-D7JsveZr.js";
1
+ import { b as Yt, a as qt, S as Wt, m as Xt, s as Zt, l as z, d as xt, p as dt, i as tt, w as gt, n as et, c as P, o as $t, j as D, z as ht, x as At, e as _, g as te, q as ee, f as ne, y as Tt, t as re, u as oe, v as ie, h as se, $ as ae } from "./PlayerProfileInfo-CfceOj6y.js";
2
2
  function It(e, t) {
3
3
  Yt(e, t);
4
4
  }
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-BD3Smhlz.js").then((e) => e.P).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/PlayerProfileInfo-CPEK_zIz.js").then((e) => e.P).then(({ default: e }) => {
14
14
  !customElements.get("player-profile-info") && customElements.define("player-profile-info", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { P as s } from "../components/PlayerProfileInfo-D7JsveZr.js";
1
+ import { P as s } from "../components/PlayerProfileInfo-CfceOj6y.js";
2
2
  function r(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.94.4",
3
+ "version": "1.94.6",
4
4
  "type": "module",
5
5
  "main": "es2015/player-profile-info.cjs",
6
6
  "module": "esnext/player-profile-info.js",