@everymatrix/casino-engagement-suite-tournament 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
  2. package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-tournament/p-00972ad5.js +2 -0
  4. package/dist/casino-engagement-suite-tournament/{p-9c24a103.entry.js → p-69ef97d1.entry.js} +1 -1
  5. package/dist/casino-engagement-suite-tournament/p-c1d0b870.js +1 -0
  6. package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +39 -13
  7. package/dist/cjs/{casino-engagement-suite-tournament-d2f62483.js → casino-engagement-suite-tournament-19a1c3b7.js} +200 -144
  8. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
  9. package/dist/cjs/{index-4eb9b2e6.js → index-79c59362.js} +253 -145
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +1 -1
  13. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +35 -4
  14. package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +39 -13
  15. package/dist/esm/{casino-engagement-suite-tournament-66512e26.js → casino-engagement-suite-tournament-f2131da2.js} +200 -144
  16. package/dist/esm/casino-engagement-suite-tournament.js +3 -3
  17. package/dist/esm/{index-3124114b.js → index-bc18616b.js} +253 -145
  18. package/dist/esm/index.js +2 -2
  19. package/dist/esm/loader.js +2 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
  22. package/package.json +1 -1
  23. package/dist/casino-engagement-suite-tournament/p-1cd75583.js +0 -2
  24. package/dist/casino-engagement-suite-tournament/p-94b7b68e.js +0 -1
  25. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
  26. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +0 -2
  27. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
  28. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  29. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  30. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-3124114b.js';
1
+ import { h as h$1, H as Host, r as registerInstance, c as createEvent } from './index-bc18616b.js';
2
2
 
3
3
  /******************************************************************************
4
4
  Copyright (c) Microsoft Corporation.
@@ -646,35 +646,35 @@ const renders = {
646
646
 
647
647
  function a() {
648
648
  }
649
- function N(t) {
649
+ function M(t) {
650
650
  return t();
651
651
  }
652
- function A() {
652
+ function O() {
653
653
  return /* @__PURE__ */ Object.create(null);
654
654
  }
655
655
  function y(t) {
656
- t.forEach(N);
656
+ t.forEach(M);
657
657
  }
658
- function P(t) {
658
+ function N(t) {
659
659
  return typeof t == "function";
660
660
  }
661
- function B(t, e) {
661
+ function R(t, e) {
662
662
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
663
663
  }
664
- function R(t) {
664
+ function T(t) {
665
665
  return Object.keys(t).length === 0;
666
666
  }
667
667
  function H(t, e) {
668
668
  t.appendChild(e);
669
669
  }
670
- function I(t, e, n) {
671
- const s = U(t);
670
+ function U(t, e, n) {
671
+ const s = I(t);
672
672
  if (!s.getElementById(e)) {
673
673
  const i = v("style");
674
- i.id = e, i.textContent = n, D(s, i);
674
+ i.id = e, i.textContent = n, z(s, i);
675
675
  }
676
676
  }
677
- function U(t) {
677
+ function I(t) {
678
678
  if (!t) return document;
679
679
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
680
680
  return e && /** @type {ShadowRoot} */
@@ -683,14 +683,14 @@ function U(t) {
683
683
  e
684
684
  ) : t.ownerDocument;
685
685
  }
686
- function D(t, e) {
686
+ function z(t, e) {
687
687
  return H(
688
688
  /** @type {Document} */
689
689
  t.head || t,
690
690
  e
691
691
  ), e.sheet;
692
692
  }
693
- function M(t, e, n) {
693
+ function B(t, e, n) {
694
694
  t.insertBefore(e, n || null);
695
695
  }
696
696
  function E(t) {
@@ -699,13 +699,13 @@ function E(t) {
699
699
  function v(t) {
700
700
  return document.createElement(t);
701
701
  }
702
- function G(t, e, n) {
702
+ function D(t, e, n) {
703
703
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
704
704
  }
705
- function J(t) {
705
+ function F(t) {
706
706
  return Array.from(t.childNodes);
707
707
  }
708
- function V(t) {
708
+ function G(t) {
709
709
  const e = {};
710
710
  return t.childNodes.forEach(
711
711
  /** @param {Element} node */
@@ -714,116 +714,123 @@ function V(t) {
714
714
  }
715
715
  ), e;
716
716
  }
717
- let C;
718
- function p(t) {
719
- C = t;
717
+ let p;
718
+ function _(t) {
719
+ p = t;
720
+ }
721
+ function J() {
722
+ if (!p) throw new Error("Function called outside component initialization");
723
+ return p;
720
724
  }
721
- const f = [], x = [];
725
+ function V(t) {
726
+ J().$$.on_mount.push(t);
727
+ }
728
+ const $ = [], w = [];
722
729
  let h = [];
723
- const S = [], z = /* @__PURE__ */ Promise.resolve();
724
- let w = !1;
725
- function F() {
726
- w || (w = !0, z.then(m));
730
+ const A = [], q = /* @__PURE__ */ Promise.resolve();
731
+ let x = !1;
732
+ function K() {
733
+ x || (x = !0, q.then(m));
727
734
  }
728
735
  function k(t) {
729
736
  h.push(t);
730
737
  }
731
738
  const b = /* @__PURE__ */ new Set();
732
- let $ = 0;
739
+ let f = 0;
733
740
  function m() {
734
- if ($ !== 0)
741
+ if (f !== 0)
735
742
  return;
736
- const t = C;
743
+ const t = p;
737
744
  do {
738
745
  try {
739
- for (; $ < f.length; ) {
740
- const e = f[$];
741
- $++, p(e), q(e.$$);
746
+ for (; f < $.length; ) {
747
+ const e = $[f];
748
+ f++, _(e), Q(e.$$);
742
749
  }
743
750
  } catch (e) {
744
- throw f.length = 0, $ = 0, e;
751
+ throw $.length = 0, f = 0, e;
745
752
  }
746
- for (p(null), f.length = 0, $ = 0; x.length; ) x.pop()();
753
+ for (_(null), $.length = 0, f = 0; w.length; ) w.pop()();
747
754
  for (let e = 0; e < h.length; e += 1) {
748
755
  const n = h[e];
749
756
  b.has(n) || (b.add(n), n());
750
757
  }
751
758
  h.length = 0;
752
- } while (f.length);
753
- for (; S.length; )
754
- S.pop()();
755
- w = !1, b.clear(), p(t);
759
+ } while ($.length);
760
+ for (; A.length; )
761
+ A.pop()();
762
+ x = !1, b.clear(), _(t);
756
763
  }
757
- function q(t) {
764
+ function Q(t) {
758
765
  if (t.fragment !== null) {
759
766
  t.update(), y(t.before_update);
760
767
  const e = t.dirty;
761
768
  t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
762
769
  }
763
770
  }
764
- function K(t) {
771
+ function W(t) {
765
772
  const e = [], n = [];
766
773
  h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
767
774
  }
768
- const Q = /* @__PURE__ */ new Set();
769
- function W(t, e) {
770
- t && t.i && (Q.delete(t), t.i(e));
775
+ const X = /* @__PURE__ */ new Set();
776
+ function Y(t, e) {
777
+ t && t.i && (X.delete(t), t.i(e));
771
778
  }
772
- function X(t, e, n) {
779
+ function Z(t, e, n) {
773
780
  const { fragment: s, after_update: i } = t.$$;
774
781
  s && s.m(e, n), k(() => {
775
- const l = t.$$.on_mount.map(N).filter(P);
776
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : y(l), t.$$.on_mount = [];
782
+ const r = t.$$.on_mount.map(M).filter(N);
783
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
777
784
  }), i.forEach(k);
778
785
  }
779
- function Y(t, e) {
786
+ function tt(t, e) {
780
787
  const n = t.$$;
781
- n.fragment !== null && (K(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
788
+ n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
782
789
  }
783
- function Z(t, e) {
784
- t.$$.dirty[0] === -1 && (f.push(t), F(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
790
+ function et(t, e) {
791
+ t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
785
792
  }
786
- function tt(t, e, n, s, i, l, u = null, c = [-1]) {
787
- const o = C;
788
- p(t);
789
- const r = t.$$ = {
793
+ function nt(t, e, n, s, i, r, o = null, l = [-1]) {
794
+ const c = p;
795
+ _(t);
796
+ const u = t.$$ = {
790
797
  fragment: null,
791
798
  ctx: [],
792
799
  // state
793
- props: l,
800
+ props: r,
794
801
  update: a,
795
802
  not_equal: i,
796
- bound: A(),
803
+ bound: O(),
797
804
  // lifecycle
798
805
  on_mount: [],
799
806
  on_destroy: [],
800
807
  on_disconnect: [],
801
808
  before_update: [],
802
809
  after_update: [],
803
- context: new Map(e.context || (o ? o.$$.context : [])),
810
+ context: new Map(e.context || (c ? c.$$.context : [])),
804
811
  // everything else
805
- callbacks: A(),
806
- dirty: c,
812
+ callbacks: O(),
813
+ dirty: l,
807
814
  skip_bound: !1,
808
- root: e.target || o.$$.root
815
+ root: e.target || c.$$.root
809
816
  };
810
- u && u(r.root);
811
- let _ = !1;
812
- if (r.ctx = n ? n(t, e.props || {}, (d, L, ...j) => {
813
- const O = j.length ? j[0] : L;
814
- return r.ctx && i(r.ctx[d], r.ctx[d] = O) && (!r.skip_bound && r.bound[d] && r.bound[d](O), _ && Z(t, d)), L;
815
- }) : [], r.update(), _ = !0, y(r.before_update), r.fragment = s ? s(r.ctx) : !1, e.target) {
817
+ o && o(u.root);
818
+ let L = !1;
819
+ if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
820
+ const j = S.length ? S[0] : C;
821
+ return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
822
+ }) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
816
823
  if (e.hydrate) {
817
- const d = J(e.target);
818
- r.fragment && r.fragment.l(d), d.forEach(E);
824
+ const d = F(e.target);
825
+ u.fragment && u.fragment.l(d), d.forEach(E);
819
826
  } else
820
- r.fragment && r.fragment.c();
821
- e.intro && W(t.$$.fragment), X(t, e.target, e.anchor), m();
827
+ u.fragment && u.fragment.c();
828
+ e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
822
829
  }
823
- p(o);
830
+ _(c);
824
831
  }
825
- let T;
826
- typeof HTMLElement == "function" && (T = class extends HTMLElement {
832
+ let P;
833
+ typeof HTMLElement == "function" && (P = class extends HTMLElement {
827
834
  /** The Svelte component constructor */
828
835
  $$ctor;
829
836
  /** Slots */
@@ -862,32 +869,32 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
862
869
  if (this.$$cn = !0, !this.$$c) {
863
870
  let t = function(i) {
864
871
  return () => {
865
- let l;
872
+ let r;
866
873
  return {
867
874
  c: function() {
868
- l = v("slot"), i !== "default" && G(l, "name", i);
875
+ r = v("slot"), i !== "default" && D(r, "name", i);
869
876
  },
870
877
  /**
871
878
  * @param {HTMLElement} target
872
879
  * @param {HTMLElement} [anchor]
873
880
  */
874
- m: function(o, r) {
875
- M(o, l, r);
881
+ m: function(c, u) {
882
+ B(c, r, u);
876
883
  },
877
- d: function(o) {
878
- o && E(l);
884
+ d: function(c) {
885
+ c && E(r);
879
886
  }
880
887
  };
881
888
  };
882
889
  };
883
890
  if (await Promise.resolve(), !this.$$cn || this.$$c)
884
891
  return;
885
- const e = {}, n = V(this);
892
+ const e = {}, n = G(this);
886
893
  for (const i of this.$$s)
887
894
  i in n && (e[i] = [t(i)]);
888
895
  for (const i of this.attributes) {
889
- const l = this.$$g_p(i.name);
890
- l in this.$$d || (this.$$d[l] = g(l, i.value, this.$$p_d, "toProp"));
896
+ const r = this.$$g_p(i.name);
897
+ r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
891
898
  }
892
899
  for (const i in this.$$p_d)
893
900
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -905,21 +912,21 @@ typeof HTMLElement == "function" && (T = class extends HTMLElement {
905
912
  this.$$r = !0;
906
913
  for (const i in this.$$p_d)
907
914
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
908
- const l = g(
915
+ const r = g(
909
916
  i,
910
917
  this.$$d[i],
911
918
  this.$$p_d,
912
919
  "toAttribute"
913
920
  );
914
- l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
921
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
915
922
  }
916
923
  this.$$r = !1;
917
924
  };
918
925
  this.$$c.$$.after_update.push(s), s();
919
926
  for (const i in this.$$l)
920
- for (const l of this.$$l[i]) {
921
- const u = this.$$c.$on(i, l);
922
- this.$$l_u.set(l, u);
927
+ for (const r of this.$$l[i]) {
928
+ const o = this.$$c.$on(i, r);
929
+ this.$$l_u.set(r, o);
923
930
  }
924
931
  this.$$l = {};
925
932
  }
@@ -969,36 +976,36 @@ function g(t, e, n, s) {
969
976
  return e;
970
977
  }
971
978
  }
972
- function et(t, e, n, s, i, l) {
973
- let u = class extends T {
979
+ function it(t, e, n, s, i, r) {
980
+ let o = class extends P {
974
981
  constructor() {
975
982
  super(t, n, i), this.$$p_d = e;
976
983
  }
977
984
  static get observedAttributes() {
978
985
  return Object.keys(e).map(
979
- (c) => (e[c].attribute || c).toLowerCase()
986
+ (l) => (e[l].attribute || l).toLowerCase()
980
987
  );
981
988
  }
982
989
  };
983
- return Object.keys(e).forEach((c) => {
984
- Object.defineProperty(u.prototype, c, {
990
+ return Object.keys(e).forEach((l) => {
991
+ Object.defineProperty(o.prototype, l, {
985
992
  get() {
986
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
993
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
987
994
  },
988
- set(o) {
989
- o = g(c, o, e), this.$$d[c] = o, this.$$c?.$set({ [c]: o });
995
+ set(c) {
996
+ c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
990
997
  }
991
998
  });
992
- }), s.forEach((c) => {
993
- Object.defineProperty(u.prototype, c, {
999
+ }), s.forEach((l) => {
1000
+ Object.defineProperty(o.prototype, l, {
994
1001
  get() {
995
- return this.$$c?.[c];
1002
+ return this.$$c?.[l];
996
1003
  }
997
1004
  });
998
1005
  }), t.element = /** @type {any} */
999
- u, u;
1006
+ o, o;
1000
1007
  }
1001
- class nt {
1008
+ class st {
1002
1009
  /**
1003
1010
  * ### PRIVATE API
1004
1011
  *
@@ -1017,7 +1024,7 @@ class nt {
1017
1024
  $$set = void 0;
1018
1025
  /** @returns {void} */
1019
1026
  $destroy() {
1020
- Y(this, 1), this.$destroy = a;
1027
+ tt(this, 1), this.$destroy = a;
1021
1028
  }
1022
1029
  /**
1023
1030
  * @template {Extract<keyof Events, string>} K
@@ -1026,7 +1033,7 @@ class nt {
1026
1033
  * @returns {() => void}
1027
1034
  */
1028
1035
  $on(e, n) {
1029
- if (!P(n))
1036
+ if (!N(n))
1030
1037
  return a;
1031
1038
  const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
1032
1039
  return s.push(n), () => {
@@ -1039,67 +1046,93 @@ class nt {
1039
1046
  * @returns {void}
1040
1047
  */
1041
1048
  $set(e) {
1042
- this.$$set && !R(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1049
+ this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
1050
+ }
1051
+ }
1052
+ const rt = "4";
1053
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
1054
+ function ct(t, e) {
1055
+ if (t) {
1056
+ const n = document.createElement("style");
1057
+ n.innerHTML = e, t.appendChild(n);
1058
+ }
1059
+ }
1060
+ function ot(t, e) {
1061
+ const n = new URL(e);
1062
+ fetch(n.href).then((s) => s.text()).then((s) => {
1063
+ const i = document.createElement("style");
1064
+ i.innerHTML = s, t && t.appendChild(i);
1065
+ }).catch((s) => {
1066
+ console.error("There was an error while trying to load client styling from URL", s);
1067
+ });
1068
+ }
1069
+ function lt(t, e, n) {
1070
+ if (window.emMessageBus) {
1071
+ const s = document.createElement("style");
1072
+ window.emMessageBus.subscribe(e, (i) => {
1073
+ s.innerHTML = i, t && t.appendChild(s);
1074
+ });
1043
1075
  }
1044
1076
  }
1045
- const it = "4";
1046
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(it);
1047
- function st(t) {
1048
- I(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1077
+ function ut(t) {
1078
+ U(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
1049
1079
  }
1050
- function rt(t) {
1080
+ function dt(t) {
1051
1081
  let e;
1052
1082
  return {
1053
1083
  c() {
1054
- e = v("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1084
+ e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
1055
1085
  },
1056
1086
  m(n, s) {
1057
- M(n, e, s), t[3](e);
1087
+ B(n, e, s), t[4](e);
1058
1088
  },
1059
1089
  p: a,
1060
1090
  i: a,
1061
1091
  o: a,
1062
1092
  d(n) {
1063
- n && E(e), t[3](null);
1093
+ n && E(e), t[4](null);
1064
1094
  }
1065
1095
  };
1066
1096
  }
1067
- function lt(t, e, n) {
1068
- let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, l;
1069
- const u = () => {
1070
- let r = document.createElement("style");
1071
- r.innerHTML = s, l.appendChild(r);
1072
- }, c = () => {
1073
- let r = new URL(i), _ = document.createElement("style");
1074
- fetch(r.href).then((d) => d.text()).then((d) => {
1075
- _.innerHTML = d, setTimeout(
1076
- () => {
1077
- l.appendChild(_);
1078
- },
1079
- 1
1080
- ), setTimeout(
1081
- () => {
1082
- },
1083
- 500
1084
- );
1085
- });
1086
- };
1087
- function o(r) {
1088
- x[r ? "unshift" : "push"](() => {
1089
- l = r, n(0, l);
1097
+ function ft(t, e, n) {
1098
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
1099
+ V(() => () => {
1100
+ });
1101
+ function l(c) {
1102
+ w[c ? "unshift" : "push"](() => {
1103
+ o = c, n(0, o);
1090
1104
  });
1091
1105
  }
1092
- return t.$$set = (r) => {
1093
- "clientstyling" in r && n(1, s = r.clientstyling), "clientstylingurl" in r && n(2, i = r.clientstylingurl);
1106
+ return t.$$set = (c) => {
1107
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
1094
1108
  }, t.$$.update = () => {
1095
1109
  t.$$.dirty & /*clientstyling, customStylingContainer*/
1096
- 3 && s && l && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1097
- 5 && i && l && c();
1098
- }, [l, s, i, o];
1110
+ 3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
1111
+ 5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
1112
+ 9 && r && o && lt(o, `${r}.Style`);
1113
+ }, [
1114
+ o,
1115
+ s,
1116
+ i,
1117
+ r,
1118
+ l
1119
+ ];
1099
1120
  }
1100
- class ct extends nt {
1121
+ class $t extends st {
1101
1122
  constructor(e) {
1102
- super(), tt(this, e, lt, rt, B, { clientstyling: 1, clientstylingurl: 2 }, st);
1123
+ super(), nt(
1124
+ this,
1125
+ e,
1126
+ ft,
1127
+ dt,
1128
+ R,
1129
+ {
1130
+ clientstyling: 1,
1131
+ clientstylingurl: 2,
1132
+ mbsource: 3
1133
+ },
1134
+ ut
1135
+ );
1103
1136
  }
1104
1137
  get clientstyling() {
1105
1138
  return this.$$.ctx[1];
@@ -1113,8 +1146,14 @@ class ct extends nt {
1113
1146
  set clientstylingurl(e) {
1114
1147
  this.$$set({ clientstylingurl: e }), m();
1115
1148
  }
1149
+ get mbsource() {
1150
+ return this.$$.ctx[3];
1151
+ }
1152
+ set mbsource(e) {
1153
+ this.$$set({ mbsource: e }), m();
1154
+ }
1116
1155
  }
1117
- et(ct, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
1156
+ it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
1118
1157
 
1119
1158
  function i(n) {
1120
1159
  return function(...t) {
@@ -1128,7 +1167,7 @@ function i(n) {
1128
1167
  };
1129
1168
  }
1130
1169
  customElements.define = i(customElements.define);
1131
- !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", ct.element);
1170
+ !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
1132
1171
 
1133
1172
  const casinoEngagementSuiteTournamentCss = ".Wrapper{height:100%;position:relative;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:24px;overflow-y:auto}.Wrapper.Mobile{border-radius:16px}.WrapperContent{padding-bottom:20px;transition:0.5s filter}.WrapperContent.faded{filter:brightness(53.3333333333%)}.Wrapper.Mobile .WrapperBar{padding:20px 8px 8px;margin-bottom:8px}.WrapperBar{display:flex;width:100%;padding:32px 20px 20px;margin-bottom:20px}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 12px);font-family:Inter}.Row{margin:24px 0;padding:0 20px}.Row:first-child{margin:0}.LeaderboardsItem{position:relative;margin:10px 0;border:1px solid rgb(64, 57, 86);border-radius:16px}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.Info{margin:24px 0;padding:0 20px}.TimeContainer{margin:24px 0;padding:0 20px}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 12px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 12px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.ShowInfo{margin:24px 0;padding:0 20px;cursor:pointer;color:rgb(102, 97, 120)}.ShowInfo p{display:flex;gap:4px}.TitleContainer{display:flex;justify-content:space-between;margin:24px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat}.TitleContainer .GradientRoundedButton{width:120px}.TabsContainer{margin:24px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 12px);margin-bottom:-1px}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:12px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:12px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:24px 0;padding:0 20px}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.Prizes{margin:24px 0;padding:0 20px}.Prizes .PrizesText{margin-left:3px;font-weight:600}.Prizes .PrizesHeader{align-items:center;display:flex}.Prizes .PrizesHeader img{width:12px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards td{opacity:0.6;padding:20px 5px}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2)}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47))}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.Games{margin:24px 0;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:4px 7.25px}.Games img{width:60px}dialog{position:absolute;top:30px;width:100%;height:100%;background:transparent;border:0;padding:0;color:var(--emw--color-typography, #FFFFFF)}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:10px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.PageConfirmContainer{text-align:center;width:80%;margin:0 auto}.PageConfirm{padding:40px 32px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 20px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirmButtonsGroup{width:150px;margin:0 auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-small, 14px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}";
1134
1173
  const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
@@ -1252,15 +1291,30 @@ const CasinoEngagementSuiteTournament = class {
1252
1291
  constructor(hostRef) {
1253
1292
  registerInstance(this, hostRef);
1254
1293
  this.close = createEvent(this, "close", 7);
1255
- this.gifts = [];
1256
- this.labels = [];
1294
+ /**
1295
+ * Language
1296
+ */
1257
1297
  this.language = 'en';
1298
+ /**
1299
+ * if widget is showing
1300
+ */
1258
1301
  this.show = false;
1302
+ /**
1303
+ * Client custom styling via string
1304
+ */
1259
1305
  this.clientStyling = '';
1306
+ /**
1307
+ * Client custom styling via url
1308
+ */
1260
1309
  this.clientStylingUrl = '';
1310
+ /**
1311
+ * Translation via url
1312
+ */
1261
1313
  this.translationUrl = '';
1314
+ /**
1315
+ * User's device type
1316
+ */
1262
1317
  this.device = 'Mobile';
1263
- this.leaderboardsInit = undefined;
1264
1318
  this.tab = Tab.info;
1265
1319
  this.locale = TRANSLATIONS;
1266
1320
  this.tournamentItem = undefined;
@@ -1278,7 +1332,9 @@ const CasinoEngagementSuiteTournament = class {
1278
1332
  onClose: undefined
1279
1333
  };
1280
1334
  this.time = 0;
1335
+ this.gifts = [];
1281
1336
  this.newIdList = [];
1337
+ this.labels = [];
1282
1338
  // bind all renders
1283
1339
  this.renders = {};
1284
1340
  Object.keys(renders).forEach((key) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-3124114b.js';
2
- export { s as setNonce } from './index-3124114b.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-bc18616b.js';
2
+ export { s as setNonce } from './index-bc18616b.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;