@streamlayer/react 1.22.3 → 1.23.1

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 (122) hide show
  1. package/lib/app/pause-ad.d.ts +2 -4
  2. package/lib/app/polymarket.d.ts +7 -0
  3. package/lib/cjs/Question.js +1 -1
  4. package/lib/cjs/advertisement.js +44 -40
  5. package/lib/cjs/analytics.js +1 -1
  6. package/lib/cjs/auth.js +1 -1
  7. package/lib/cjs/bet-pack.js +1 -1
  8. package/lib/cjs/feature.js +1 -0
  9. package/lib/cjs/hooks-WfHlJH12.js +1 -0
  10. package/lib/cjs/index-eShKGO10.js +5 -0
  11. package/lib/cjs/index.js +1 -1
  12. package/lib/cjs/index10.js +1 -1
  13. package/lib/cjs/index16.js +2 -2
  14. package/lib/cjs/index2.js +1 -1
  15. package/lib/cjs/index3.js +1 -1
  16. package/lib/cjs/index4.js +1 -1
  17. package/lib/cjs/index7.js +1 -5
  18. package/lib/cjs/insight.js +1 -1
  19. package/lib/cjs/masters.js +1 -1
  20. package/lib/cjs/masters2.js +5 -5
  21. package/lib/cjs/notification.js +1 -1
  22. package/lib/cjs/pause-ad.js +1 -1
  23. package/lib/cjs/points.js +1 -1
  24. package/lib/cjs/polymarket.js +19 -0
  25. package/lib/cjs/useStreamLayerApp2.js +17 -17
  26. package/lib/classic/app/pause-ad.d.ts +2 -4
  27. package/lib/classic/app/polymarket.d.ts +7 -0
  28. package/lib/classic/cjs/Question.js +1 -1
  29. package/lib/classic/cjs/advertisement.js +44 -40
  30. package/lib/classic/cjs/analytics.js +1 -1
  31. package/lib/classic/cjs/auth.js +1 -1
  32. package/lib/classic/cjs/bet-pack.js +3 -3
  33. package/lib/classic/cjs/feature.js +1 -0
  34. package/lib/classic/cjs/hooks-WfHlJH12.js +1 -0
  35. package/lib/classic/cjs/index-eShKGO10.js +5 -0
  36. package/lib/classic/cjs/index.js +1 -1
  37. package/lib/classic/cjs/index10.js +1 -1
  38. package/lib/classic/cjs/index11.js +1 -1
  39. package/lib/classic/cjs/index12.js +1 -1
  40. package/lib/classic/cjs/index13.js +1 -1
  41. package/lib/classic/cjs/index2.js +2 -2
  42. package/lib/classic/cjs/index3.js +1 -1
  43. package/lib/classic/cjs/index4.js +1 -1
  44. package/lib/classic/cjs/index5.js +1 -1
  45. package/lib/classic/cjs/index6.js +1 -5
  46. package/lib/classic/cjs/index9.js +1 -1
  47. package/lib/classic/cjs/insight.js +1 -1
  48. package/lib/classic/cjs/notification.js +1 -1
  49. package/lib/classic/cjs/notification2.js +1 -1
  50. package/lib/classic/cjs/pause-ad.js +1 -1
  51. package/lib/classic/cjs/points.js +1 -1
  52. package/lib/classic/cjs/polymarket.js +19 -0
  53. package/lib/classic/cjs/useStreamLayerApp2.js +17 -17
  54. package/lib/classic/es/Question.js +50 -50
  55. package/lib/classic/es/advertisement.js +15547 -10742
  56. package/lib/classic/es/analytics.js +74 -18
  57. package/lib/classic/es/auth.js +1 -1
  58. package/lib/classic/es/bet-pack.js +19 -18
  59. package/lib/classic/es/feature.js +63 -0
  60. package/lib/classic/es/hooks-WfHlJH12.js +98 -0
  61. package/lib/classic/es/index-eShKGO10.js +3757 -0
  62. package/lib/classic/es/index.js +1 -1
  63. package/lib/classic/es/index10.js +1 -1
  64. package/lib/classic/es/index11.js +767 -755
  65. package/lib/classic/es/index12.js +1 -1
  66. package/lib/classic/es/index13.js +2 -2
  67. package/lib/classic/es/index2.js +125 -125
  68. package/lib/classic/es/index3.js +16 -61
  69. package/lib/classic/es/index4.js +282 -16
  70. package/lib/classic/es/index5.js +4 -283
  71. package/lib/classic/es/index6.js +5 -3758
  72. package/lib/classic/es/index9.js +1 -1
  73. package/lib/classic/es/insight.js +1 -1
  74. package/lib/classic/es/notification.js +1 -1
  75. package/lib/classic/es/notification2.js +476 -451
  76. package/lib/classic/es/pause-ad.js +174 -208
  77. package/lib/classic/es/points.js +16 -15
  78. package/lib/classic/es/polymarket.js +6670 -0
  79. package/lib/classic/es/useStreamLayerApp2.js +5088 -4030
  80. package/lib/dist/cjs/index-eShKGO10.js +5 -0
  81. package/lib/dist/cjs/masters.js +36 -36
  82. package/lib/dist/es/index-eShKGO10.js +3757 -0
  83. package/lib/dist/es/masters.js +9243 -8192
  84. package/lib/dist/index.d.ts +30 -7
  85. package/lib/dist/style.css +1 -1
  86. package/lib/es/Question.js +3 -3
  87. package/lib/es/advertisement.js +15547 -10742
  88. package/lib/es/analytics.js +74 -18
  89. package/lib/es/auth.js +1 -1
  90. package/lib/es/bet-pack.js +1 -1
  91. package/lib/es/feature.js +63 -0
  92. package/lib/es/hooks-WfHlJH12.js +98 -0
  93. package/lib/es/index-eShKGO10.js +3757 -0
  94. package/lib/es/index.js +1 -1
  95. package/lib/es/index10.js +9 -9
  96. package/lib/es/index16.js +2 -2
  97. package/lib/es/index2.js +118 -118
  98. package/lib/es/index3.js +3 -61
  99. package/lib/es/index4.js +1 -1
  100. package/lib/es/index7.js +5 -3758
  101. package/lib/es/insight.js +1 -1
  102. package/lib/es/masters.js +1 -1
  103. package/lib/es/masters2.js +23 -23
  104. package/lib/es/notification.js +450 -425
  105. package/lib/es/pause-ad.js +174 -208
  106. package/lib/es/points.js +5 -4
  107. package/lib/es/polymarket.js +6670 -0
  108. package/lib/es/useStreamLayerApp2.js +5088 -4030
  109. package/lib/style.css +1 -1
  110. package/package.json +27 -17
  111. package/lib/cjs/hooks-B0Qttldg.js +0 -1
  112. package/lib/cjs/index-DSi8Qgfs.js +0 -1
  113. package/lib/cjs/vast-client.min.js +0 -1
  114. package/lib/classic/cjs/hooks-B0Qttldg.js +0 -1
  115. package/lib/classic/cjs/index-DSi8Qgfs.js +0 -1
  116. package/lib/classic/cjs/vast-client.min.js +0 -1
  117. package/lib/classic/es/hooks-B0Qttldg.js +0 -98
  118. package/lib/classic/es/index-DSi8Qgfs.js +0 -65
  119. package/lib/classic/es/vast-client.min.js +0 -1060
  120. package/lib/es/hooks-B0Qttldg.js +0 -98
  121. package/lib/es/index-DSi8Qgfs.js +0 -65
  122. package/lib/es/vast-client.min.js +0 -1060
@@ -1,31 +1,32 @@
1
1
  var we = Object.defineProperty;
2
2
  var Le = (e, t, n) => t in e ? we(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var T = (e, t, n) => Le(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { useState as L, useEffect as y, useRef as V, useCallback as U, Component as ke, createElement as _e, PureComponent as Te, lazy as Se, useMemo as M, Suspense as Ne, forwardRef as ie, useLayoutEffect as xe, useContext as f2 } from "react";
5
- import { c as g2, F as Re, z as Ee, Y as I2 } from "./hooks-B0Qttldg.js";
6
- import { jsx as s, jsxs as h, Fragment as R } from "react/jsx-runtime";
7
- import { I as re, l as Ve, S as H, e as B, p as b2, Q as S, a as He } from "./useStreamLayerApp2.js";
3
+ var S = (e, t, n) => Le(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { useState as L, useEffect as y, useRef as V, useCallback as U, Component as ke, createElement as _e, PureComponent as Se, lazy as Te, useMemo as M, Suspense as Ne, forwardRef as ie, useLayoutEffect as xe, useContext as f2 } from "react";
5
+ import { i as g2, F as Re, z as Ee, Y as I2 } from "./hooks-WfHlJH12.js";
6
+ import { jsx as s, jsxs as h, Fragment as x } from "react/jsx-runtime";
7
+ import { I as re, l as Ve, S as H, e as B, p as b2, Q as E, a as He } from "./useStreamLayerApp2.js";
8
8
  import { m as Q, h as ze } from "./index7.js";
9
9
  import { u as A, A as D, s as i, b as Me, c as F, a as e2 } from "./sl-types.js";
10
10
  import { l as Oe, S as De, m as Fe, d as Be, n as qe, C as Ue, a as Pe, b as We, f as i2, p as je, c as Ze } from "./index13.js";
11
- import { F as t2, c as G, e as Ge } from "./index3.js";
12
- import { atom as Qe } from "nanostores";
11
+ import { F as t2, c as G } from "./feature.js";
12
+ import { atom as Ge } from "nanostores";
13
13
  import c2 from "lodash.throttle";
14
- import { i as ae } from "./index-DSi8Qgfs.js";
15
- import { f as oe, b as Ke, A as Ye } from "./analytics.js";
16
- import { O as Je, p as u2, h as Xe, y as e0, e as t0 } from "./Question.js";
14
+ import { f as ae, c as oe, b as Qe, A as Ke } from "./analytics.js";
15
+ import { O as Ye, p as u2, h as Je, y as Xe, e as e0 } from "./Question.js";
17
16
  import { i as O } from "./index8.js";
18
17
  import { I as m2, s as le, b as ce, e as de } from "./index12.js";
19
18
  import { createPortal as s2 } from "react-dom";
20
- import { u as s0 } from "./utils.js";
21
- import { B as _ } from "./index5.js";
22
- import n0 from "react-infinite-scroller";
23
- import { r as pe, S as i0, R as r0, D as a0 } from "./notification2.js";
24
- import { w as o0, E as l0 } from "./index9.js";
19
+ import { u as t0 } from "./utils.js";
20
+ import { B as _ } from "./index4.js";
21
+ import s0 from "react-infinite-scroller";
22
+ import { r as pe, S as n0, R as i0, D as r0 } from "./notification2.js";
23
+ import { w as a0, E as o0 } from "./index9.js";
25
24
  import "uuid";
26
25
  import "@nanostores/query";
27
- import { d as c0 } from "./index4.js";
28
- const he = (e) => Qe(e), d0 = (e) => {
26
+ import "./index6.js";
27
+ import { e as l0 } from "./index5.js";
28
+ import { d as c0 } from "./index3.js";
29
+ const he = (e) => Ge(e), d0 = (e) => {
29
30
  const t = A(e.getActiveFeature()), n = A(e.streamStore()), [r, a] = L(null);
30
31
  return y(() => {
31
32
  const o = e.getFeatures();
@@ -201,11 +202,11 @@ const he = (e) => Qe(e), d0 = (e) => {
201
202
  name: "UserName",
202
203
  class: "u1q6roj0",
203
204
  propsAsIs: !1
204
- }), T0 = /* @__PURE__ */ i("div")({
205
+ }), S0 = /* @__PURE__ */ i("div")({
205
206
  name: "UserRating",
206
207
  class: "ui0m425",
207
208
  propsAsIs: !1
208
- }), S0 = /* @__PURE__ */ i("img")({
209
+ }), T0 = /* @__PURE__ */ i("img")({
209
210
  name: "TrophyIcon",
210
211
  class: "t1el3mrn",
211
212
  propsAsIs: !1
@@ -270,10 +271,10 @@ const he = (e) => Qe(e), d0 = (e) => {
270
271
  ] }),
271
272
  /* @__PURE__ */ h(k0, { children: [
272
273
  /* @__PURE__ */ s(_0, { children: r }),
273
- /* @__PURE__ */ h(T0, { children: [
274
+ /* @__PURE__ */ h(S0, { children: [
274
275
  /* @__PURE__ */ h(N0, { children: [
275
276
  /* @__PURE__ */ h(R0, { children: [
276
- /* @__PURE__ */ s(S0, { alt: "rank-icon", src: O0 }),
277
+ /* @__PURE__ */ s(T0, { alt: "rank-icon", src: O0 }),
277
278
  /* @__PURE__ */ h(L2, { children: [
278
279
  le(a),
279
280
  /* @__PURE__ */ s(k2, { children: "PTS" })
@@ -285,7 +286,7 @@ const he = (e) => Qe(e), d0 = (e) => {
285
286
  /* @__PURE__ */ s(k2, { children: "global rank" })
286
287
  ] })
287
288
  ] }),
288
- !t && /* @__PURE__ */ h(R, { children: [
289
+ !t && /* @__PURE__ */ h(x, { children: [
289
290
  /* @__PURE__ */ s(E0, {}),
290
291
  /* @__PURE__ */ h("div", { children: [
291
292
  "TOP ",
@@ -349,11 +350,11 @@ const he = (e) => Qe(e), d0 = (e) => {
349
350
  }, [o]), !t.current || !o ? null : n ? s2(/* @__PURE__ */ h(D0, {
350
351
  className: "StaticContainer",
351
352
  children: [e, /* @__PURE__ */ s("style", {
352
- children: s0
353
+ children: t0
353
354
  }), /* @__PURE__ */ s("style", {
354
355
  children: F0
355
356
  })]
356
- }), t.current, "modal-node") : s2(/* @__PURE__ */ h(R, {
357
+ }), t.current, "modal-node") : s2(/* @__PURE__ */ h(x, {
357
358
  children: [e, /* @__PURE__ */ s("style", {
358
359
  children: r
359
360
  })]
@@ -376,13 +377,13 @@ const he = (e) => Qe(e), d0 = (e) => {
376
377
  propsAsIs: !1
377
378
  });
378
379
  var j = /* @__PURE__ */ ((e) => (e.HOME = "home", e.LEADERBOARD = "leaderboard", e))(j || {});
379
- const T2 = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ s(U0, { "data-a": "intr", onClick: n, "data-selected": t, children: /* @__PURE__ */ s(P0, { "data-a": "intr", children: e }) }), W0 = ({ activePage: e = "home", toggleActivePage: t }) => /* @__PURE__ */ s(B0, { children: /* @__PURE__ */ h(q0, { "data-position": e === "home" ? "left" : "right", children: [
380
- /* @__PURE__ */ s(T2, { title: "Home", active: e === "home", onClick: () => t(
380
+ const S2 = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ s(U0, { "data-a": "intr", onClick: n, "data-selected": t, children: /* @__PURE__ */ s(P0, { "data-a": "intr", children: e }) }), W0 = ({ activePage: e = "home", toggleActivePage: t }) => /* @__PURE__ */ s(B0, { children: /* @__PURE__ */ h(q0, { "data-position": e === "home" ? "left" : "right", children: [
381
+ /* @__PURE__ */ s(S2, { title: "Home", active: e === "home", onClick: () => t(
381
382
  "home"
382
383
  /* HOME */
383
384
  ) }),
384
385
  /* @__PURE__ */ s(
385
- T2,
386
+ S2,
386
387
  {
387
388
  title: "Friends",
388
389
  active: e === "leaderboard",
@@ -468,12 +469,12 @@ const T2 = ({ title: e, active: t, onClick: n }) => /* @__PURE__ */ s(U0, { "dat
468
469
  /* @__PURE__ */ s(nt, { name: "icon-copy" })
469
470
  ] });
470
471
  };
471
- let E;
472
- typeof window < "u" ? E = window : typeof self < "u" ? E = self : E = Ve;
472
+ let R;
473
+ typeof window < "u" ? R = window : typeof self < "u" ? R = self : R = Ve;
473
474
  let d2 = null, p2 = null;
474
- const S2 = 20, o2 = E.clearTimeout, N2 = E.setTimeout, l2 = E.cancelAnimationFrame || E.mozCancelAnimationFrame || E.webkitCancelAnimationFrame, x2 = E.requestAnimationFrame || E.mozRequestAnimationFrame || E.webkitRequestAnimationFrame;
475
+ const T2 = 20, o2 = R.clearTimeout, N2 = R.setTimeout, l2 = R.cancelAnimationFrame || R.mozCancelAnimationFrame || R.webkitCancelAnimationFrame, x2 = R.requestAnimationFrame || R.mozRequestAnimationFrame || R.webkitRequestAnimationFrame;
475
476
  l2 == null || x2 == null ? (d2 = o2, p2 = function(t) {
476
- return N2(t, S2);
477
+ return N2(t, T2);
477
478
  }) : (d2 = function([t, n]) {
478
479
  l2(t), o2(n);
479
480
  }, p2 = function(t) {
@@ -481,7 +482,7 @@ l2 == null || x2 == null ? (d2 = o2, p2 = function(t) {
481
482
  o2(r), t();
482
483
  }), r = N2(function() {
483
484
  l2(n), t();
484
- }, S2);
485
+ }, T2);
485
486
  return [n, r];
486
487
  });
487
488
  function rt(e) {
@@ -489,8 +490,8 @@ function rt(e) {
489
490
  const d = typeof document < "u" && document.attachEvent;
490
491
  if (!d) {
491
492
  c = function($) {
492
- const b = $.__resizeTriggers__, k = b.firstElementChild, w = b.lastElementChild, x = k.firstElementChild;
493
- w.scrollLeft = w.scrollWidth, w.scrollTop = w.scrollHeight, x.style.width = k.offsetWidth + 1 + "px", x.style.height = k.offsetHeight + 1 + "px", k.scrollLeft = k.scrollWidth, k.scrollTop = k.scrollHeight;
493
+ const b = $.__resizeTriggers__, k = b.firstElementChild, w = b.lastElementChild, N = k.firstElementChild;
494
+ w.scrollLeft = w.scrollWidth, w.scrollTop = w.scrollHeight, N.style.width = k.offsetWidth + 1 + "px", N.style.height = k.offsetHeight + 1 + "px", k.scrollLeft = k.scrollWidth, k.scrollTop = k.scrollHeight;
494
495
  }, o = function($) {
495
496
  return $.offsetWidth !== $.__resizeLast__.width || $.offsetHeight !== $.__resizeLast__.height;
496
497
  }, l = function($) {
@@ -498,8 +499,8 @@ function rt(e) {
498
499
  return;
499
500
  const b = this;
500
501
  c(this), this.__resizeRAF__ && d2(this.__resizeRAF__), this.__resizeRAF__ = p2(function() {
501
- o(b) && (b.__resizeLast__.width = b.offsetWidth, b.__resizeLast__.height = b.offsetHeight, b.__resizeListeners__.forEach(function(x) {
502
- x.call(b, $);
502
+ o(b) && (b.__resizeLast__.width = b.offsetWidth, b.__resizeLast__.height = b.offsetHeight, b.__resizeListeners__.forEach(function(N) {
503
+ N.call(b, $);
503
504
  }));
504
505
  });
505
506
  };
@@ -531,7 +532,7 @@ function rt(e) {
531
532
  p.attachEvent("onresize", C);
532
533
  else {
533
534
  if (!p.__resizeTriggers__) {
534
- const g = p.ownerDocument, I = E.getComputedStyle(p);
535
+ const g = p.ownerDocument, I = R.getComputedStyle(p);
535
536
  I && I.position === "static" && (p.style.position = "relative"), u(g), p.__resizeLast__ = {}, p.__resizeListeners__ = [], (p.__resizeTriggers__ = g.createElement("div")).className = "resize-triggers";
536
537
  const f = g.createElement("div");
537
538
  f.className = "expand-trigger", f.appendChild(g.createElement("div"));
@@ -756,7 +757,7 @@ var ct = function(e, t) {
756
757
  c(l);
757
758
  }
758
759
  }]), t;
759
- })(Te);
760
+ })(Se);
760
761
  const ht = /* @__PURE__ */ i("div")({
761
762
  name: "Container",
762
763
  class: "culdu4a",
@@ -823,7 +824,7 @@ const ht = /* @__PURE__ */ i("div")({
823
824
  const d = l.target.getAttribute("data-name");
824
825
  d && n(d);
825
826
  }, [n]);
826
- return /* @__PURE__ */ s(n0, {
827
+ return /* @__PURE__ */ s(s0, {
827
828
  loadMore: r,
828
829
  initialLoad: !1,
829
830
  hasMore: o,
@@ -850,11 +851,11 @@ const ht = /* @__PURE__ */ i("div")({
850
851
  name: "InviteGameIcon",
851
852
  class: "i19m85r1",
852
853
  propsAsIs: !0
853
- }), Tt = /* @__PURE__ */ i("div")({
854
+ }), St = /* @__PURE__ */ i("div")({
854
855
  name: "Content",
855
856
  class: "c1mbu204",
856
857
  propsAsIs: !1
857
- }), St = /* @__PURE__ */ i("div")({
858
+ }), Tt = /* @__PURE__ */ i("div")({
858
859
  name: "Heading",
859
860
  class: "h1amdqtv",
860
861
  propsAsIs: !1
@@ -898,8 +899,8 @@ const ht = /* @__PURE__ */ i("div")({
898
899
  });
899
900
  return /* @__PURE__ */ h(wt, { className: a, children: [
900
901
  /* @__PURE__ */ s(Lt, { style: { backgroundColor: r }, children: /* @__PURE__ */ s(_t, { name: "invite-game-icon" }) }),
901
- /* @__PURE__ */ h(Tt, { children: [
902
- /* @__PURE__ */ s(St, { children: t || "" }),
902
+ /* @__PURE__ */ h(St, { children: [
903
+ /* @__PURE__ */ s(Tt, { children: t || "" }),
903
904
  /* @__PURE__ */ s(Nt, { children: n || "" })
904
905
  ] }),
905
906
  e && /* @__PURE__ */ h(xt, { ref: o, "data-a": "intr", onClick: d(() => c(e)), children: [
@@ -943,7 +944,7 @@ const ht = /* @__PURE__ */ i("div")({
943
944
  } = A(e.deepLink.$store), [v, m] = Ce(a);
944
945
  return !o.length && !l ? /* @__PURE__ */ s(Ot, {
945
946
  deepLink: u
946
- }) : /* @__PURE__ */ h(R, {
947
+ }) : /* @__PURE__ */ h(x, {
947
948
  children: [/* @__PURE__ */ s(yt, {
948
949
  items: o,
949
950
  scrollNode: t,
@@ -975,12 +976,12 @@ const ht = /* @__PURE__ */ i("div")({
975
976
  name: "Container",
976
977
  class: "cll3md7",
977
978
  propsAsIs: !0
978
- }), Pt = () => i0, Wt = /* @__PURE__ */ i(Pt())({
979
+ }), Pt = () => n0, Wt = /* @__PURE__ */ i(Pt())({
979
980
  name: "ActionBtn",
980
981
  class: "a10g1iik",
981
982
  propsAsIs: !0
982
983
  }), jt = ({ questionId: e, ...t }) => /* @__PURE__ */ h(Ut, { "data-a": "intr", "data-name": e, children: [
983
- /* @__PURE__ */ s(Je, { questionId: e, ...t }),
984
+ /* @__PURE__ */ s(Ye, { questionId: e, ...t }),
984
985
  /* @__PURE__ */ s(Wt, { "data-a": "intr", "data-name": e, children: "View Insight" })
985
986
  ] }), Zt = () => pe, Gt = /* @__PURE__ */ i(Zt())({
986
987
  name: "Container",
@@ -1004,12 +1005,12 @@ const ht = /* @__PURE__ */ i("div")({
1004
1005
  propsAsIs: !1
1005
1006
  }), Jt = ({ questions: e, openQuestion: t, controlVideo: n }) => e ? /* @__PURE__ */ s(E2, { "data-a": "intr", onClick: (a) => {
1006
1007
  const o = a.target.getAttribute("data-name");
1007
- o && (o0(), t(o, { openedFrom: "list" }));
1008
+ o && (a0(), t(o, { openedFrom: "list" }));
1008
1009
  }, children: e == null ? void 0 : e.map((a) => {
1009
1010
  var o, c, l;
1010
1011
  if (a.type === "question" && ((o = a.attributes) == null ? void 0 : o.attributes.case) === "question") {
1011
1012
  const d = a.attributes.attributes.value;
1012
- return /* @__PURE__ */ s(r0, { ...d }, d.questionId);
1013
+ return /* @__PURE__ */ s(i0, { ...d }, d.questionId);
1013
1014
  }
1014
1015
  if (a.type === "insight" && ((c = a.attributes) == null ? void 0 : c.attributes.case) === "insight") {
1015
1016
  const d = a.attributes.attributes.value;
@@ -1020,7 +1021,7 @@ const ht = /* @__PURE__ */ i("div")({
1020
1021
  return /* @__PURE__ */ s(Yt, { controlVideo: n, ...d, tweetId: u }, u);
1021
1022
  }
1022
1023
  return null;
1023
- }) }) : /* @__PURE__ */ s(E2, { children: Array.from({ length: 5 }).map((a, o) => /* @__PURE__ */ s(a0, {}, o)) }), Xt = ({ store: e, openQuestion: t }) => {
1024
+ }) }) : /* @__PURE__ */ s(E2, { children: Array.from({ length: 5 }).map((a, o) => /* @__PURE__ */ s(r0, {}, o)) }), Xt = ({ store: e, openQuestion: t }) => {
1024
1025
  const { sdk: n } = u2(), r = A(e);
1025
1026
  return /* @__PURE__ */ s(Jt, { openQuestion: t, questions: r.data, controlVideo: n == null ? void 0 : n.controlVideoPlayer });
1026
1027
  }, es = ({ userSummary: e }) => {
@@ -1061,7 +1062,7 @@ const ht = /* @__PURE__ */ i("div")({
1061
1062
  children: /* @__PURE__ */ s(W0, { activePage: u, toggleActivePage: g })
1062
1063
  }
1063
1064
  ),
1064
- u === j.HOME && /* @__PURE__ */ h(R, { children: [
1065
+ u === j.HOME && /* @__PURE__ */ h(x, { children: [
1065
1066
  /* @__PURE__ */ s(Fe, { children: /* @__PURE__ */ s(Be, { children: /* @__PURE__ */ s(es, { userSummary: e.userSummary }) }) }),
1066
1067
  /* @__PURE__ */ s(qe, { style: { flex: 1 }, children: /* @__PURE__ */ s(Xt, { openQuestion: e.openQuestion, store: e.feedList.getStore() }) })
1067
1068
  ] }),
@@ -1081,7 +1082,7 @@ const ht = /* @__PURE__ */ i("div")({
1081
1082
  }) => {
1082
1083
  const n = e + t;
1083
1084
  return n === 0 ? 0 : Math.round(e / n * 100);
1084
- }, D1 = ({
1085
+ }, F1 = ({
1085
1086
  gamification: e,
1086
1087
  scrollStore: t,
1087
1088
  className: n,
@@ -1119,7 +1120,7 @@ const ht = /* @__PURE__ */ i("div")({
1119
1120
  className: F(r, !c && H2),
1120
1121
  hiding: m,
1121
1122
  onAnimationEnd: p,
1122
- children: /* @__PURE__ */ s(Xe, {
1123
+ children: /* @__PURE__ */ s(Je, {
1123
1124
  muted: t,
1124
1125
  sdk: n,
1125
1126
  gamification: e
@@ -1129,7 +1130,7 @@ const ht = /* @__PURE__ */ i("div")({
1129
1130
  hiding: m,
1130
1131
  onAnimationEnd: p,
1131
1132
  children: /* @__PURE__ */ h(ns, {
1132
- children: [/* @__PURE__ */ s(e0, {
1133
+ children: [/* @__PURE__ */ s(Xe, {
1133
1134
  label: "Friend's Rank",
1134
1135
  close: e.closeUser
1135
1136
  }), /* @__PURE__ */ s(We, {
@@ -1145,7 +1146,7 @@ const ht = /* @__PURE__ */ i("div")({
1145
1146
  useContainer: !v,
1146
1147
  children: C
1147
1148
  });
1148
- }, as = Se(() => import("./gamification-feature.js")), os = ({ sdk: e, feature: t, className: n, scrollStore: r, appNode: a, scrollNode: o, responsiveStore: c }) => {
1149
+ }, as = Te(() => import("./gamification-feature.js")), os = ({ sdk: e, feature: t, className: n, scrollStore: r, appNode: a, scrollNode: o, responsiveStore: c }) => {
1149
1150
  const l = M(() => t && t.featureConfig.get().type === H.GAMES ? /* @__PURE__ */ s(m0, { className: n, sdk: e, feature: t, children: /* @__PURE__ */ s(
1150
1151
  as,
1151
1152
  {
@@ -1186,15 +1187,15 @@ function cs(e) {
1186
1187
  }
1187
1188
  class ds {
1188
1189
  constructor(t = "main", n = window.localStorage) {
1189
- T(this, "delimiter", ":");
1190
- T(this, "prefix");
1191
- T(this, "storage");
1192
- T(this, "clear", () => {
1190
+ S(this, "delimiter", ":");
1191
+ S(this, "prefix");
1192
+ S(this, "storage");
1193
+ S(this, "clear", () => {
1193
1194
  for (const t in window.localStorage)
1194
1195
  t.startsWith(this.prefix) && this.storage.removeItem(t);
1195
1196
  });
1196
- T(this, "generateKey", (t) => `${this.prefix}${this.delimiter}${t.join(this.delimiter)}`);
1197
- T(this, "write", (...t) => {
1197
+ S(this, "generateKey", (t) => `${this.prefix}${this.delimiter}${t.join(this.delimiter)}`);
1198
+ S(this, "write", (...t) => {
1198
1199
  const n = t.pop() || "", r = this.generateKey(t);
1199
1200
  try {
1200
1201
  this.storage.setItem(r, n);
@@ -1202,11 +1203,11 @@ class ds {
1202
1203
  cs(a) && this.storage === window.sessionStorage && (window.sessionStorage.removeItem("slstreamlogs"), this.storage.setItem(r, n));
1203
1204
  }
1204
1205
  });
1205
- T(this, "read", (...t) => {
1206
+ S(this, "read", (...t) => {
1206
1207
  const n = this.storage.getItem(this.generateKey(t));
1207
1208
  return n === null ? void 0 : n;
1208
1209
  });
1209
- T(this, "remove", (...t) => {
1210
+ S(this, "remove", (...t) => {
1210
1211
  this.storage.removeItem(this.generateKey(t));
1211
1212
  });
1212
1213
  this.prefix = `sl-sdk${this.delimiter}${t}`, this.storage = n;
@@ -1228,21 +1229,21 @@ class ps extends ds {
1228
1229
  constructor() {
1229
1230
  super("user");
1230
1231
  // Schema
1231
- T(this, "setSchema", (n) => {
1232
+ S(this, "setSchema", (n) => {
1232
1233
  this.write(z.SCHEMA, n);
1233
1234
  });
1234
- T(this, "getSchema", () => this.read(z.SCHEMA));
1235
+ S(this, "getSchema", () => this.read(z.SCHEMA));
1235
1236
  // Token
1236
- T(this, "setToken", (n) => {
1237
+ S(this, "setToken", (n) => {
1237
1238
  this.write(z.TOKEN, n);
1238
1239
  });
1239
- T(this, "getToken", () => this.read(z.TOKEN));
1240
+ S(this, "getToken", () => this.read(z.TOKEN));
1240
1241
  // External Token
1241
- T(this, "setExternalToken", (n) => {
1242
+ S(this, "setExternalToken", (n) => {
1242
1243
  this.write(z.EXTERNAL_TOKEN, n);
1243
1244
  });
1244
- T(this, "getExternalToken", () => this.read(z.EXTERNAL_TOKEN));
1245
- T(this, "removeToken", () => {
1245
+ S(this, "getExternalToken", () => this.read(z.EXTERNAL_TOKEN));
1246
+ S(this, "removeToken", () => {
1246
1247
  this.remove(z.TOKEN);
1247
1248
  });
1248
1249
  }
@@ -1271,12 +1272,11 @@ G("deep_link");
1271
1272
  G("bypass");
1272
1273
  new ps();
1273
1274
  G("video_player");
1274
- S.FACTOID + "", S.POLL + "", S.TRIVIA + "", S.PREDICTION + "", S.TWEET + "";
1275
1275
  var q2;
1276
1276
  (function(e) {
1277
1277
  e.Unset = "unset", e.Required = "required", e.Optional = "optional", e.Completed = "completed", e.Disabled = "disabled", e.Unavailable = "unavailable";
1278
1278
  })(q2 || (q2 = {}));
1279
- S.POLL, S.PREDICTION, S.TRIVIA;
1279
+ E.POLL, E.PREDICTION, E.TRIVIA;
1280
1280
  const hs = {
1281
1281
  [H.GAMES]: !0
1282
1282
  }, us = /* @__PURE__ */ i("div")({
@@ -1320,7 +1320,7 @@ const hs = {
1320
1320
  !t && (o === "channels" || o === "featuredGroups") && bs,
1321
1321
  !t && o === "leaderboard" && $s
1322
1322
  ),
1323
- children: /* @__PURE__ */ h(R, { children: [
1323
+ children: /* @__PURE__ */ h(x, { children: [
1324
1324
  a && /* @__PURE__ */ s(fs, { children: a }),
1325
1325
  /* @__PURE__ */ s(gs, { children: r })
1326
1326
  ] })
@@ -1341,11 +1341,11 @@ const hs = {
1341
1341
  name: "CloseIconWrap",
1342
1342
  class: "c17srj38",
1343
1343
  propsAsIs: !1
1344
- }), _s = () => _, Ts = /* @__PURE__ */ i(_s())({
1344
+ }), _s = () => _, Ss = /* @__PURE__ */ i(_s())({
1345
1345
  name: "CloseIcon",
1346
1346
  class: "clqia8k",
1347
1347
  propsAsIs: !0
1348
- }), Ss = () => _, Ns = /* @__PURE__ */ i(Ss())({
1348
+ }), Ts = () => _, Ns = /* @__PURE__ */ i(Ts())({
1349
1349
  name: "DashboardIcon",
1350
1350
  class: "df5w958",
1351
1351
  propsAsIs: !0
@@ -1366,7 +1366,7 @@ const hs = {
1366
1366
  }), /* @__PURE__ */ s(ks, {
1367
1367
  "data-a": "intr",
1368
1368
  onClick: r,
1369
- children: /* @__PURE__ */ s(Ts, {
1369
+ children: /* @__PURE__ */ s(Ss, {
1370
1370
  name: "icon-cross"
1371
1371
  })
1372
1372
  })]
@@ -1458,7 +1458,7 @@ const hs = {
1458
1458
  class: "a12495er",
1459
1459
  propsAsIs: !1
1460
1460
  }), Bs = ({ video: e, image: t, imageMode: n, heading: r, body: a, action: o, controlVideo: c }) => /* @__PURE__ */ h(Vs, { children: [
1461
- (e == null ? void 0 : e.url) && /* @__PURE__ */ s(l0, { source: e.url, poster: e.thumbnailUrl, controlVideo: c }),
1461
+ (e == null ? void 0 : e.url) && /* @__PURE__ */ s(o0, { source: e.url, poster: e.thumbnailUrl, controlVideo: c }),
1462
1462
  t && !(e != null && e.url) && /* @__PURE__ */ s(zs, { "data-rounded": n === He.ROUNDED, children: /* @__PURE__ */ s(Hs, { src: t, alt: r }) }),
1463
1463
  /* @__PURE__ */ h(Ms, { children: [
1464
1464
  /* @__PURE__ */ s(Os, { children: r }),
@@ -1524,7 +1524,7 @@ const hs = {
1524
1524
  data: { questionType: r, question: a, insight: o, tweet: c }
1525
1525
  }) => {
1526
1526
  const l = de[r];
1527
- return l ? /* @__PURE__ */ h(qs, { onClick: t, style: r === S.TWEET ? { paddingTop: "12px" } : {}, children: [
1527
+ return l ? /* @__PURE__ */ h(qs, { onClick: t, style: r === E.TWEET ? { paddingTop: "12px" } : {}, children: [
1528
1528
  /* @__PURE__ */ s(
1529
1529
  Us,
1530
1530
  {
@@ -1535,20 +1535,20 @@ const hs = {
1535
1535
  children: /* @__PURE__ */ s(Ws, { name: "icon-cross" })
1536
1536
  }
1537
1537
  ),
1538
- r !== S.TWEET && /* @__PURE__ */ h(js, { children: [
1538
+ r !== E.TWEET && /* @__PURE__ */ h(js, { children: [
1539
1539
  /* @__PURE__ */ s(
1540
1540
  Gs,
1541
1541
  {
1542
- "data-type-trivia": r === S.TRIVIA,
1543
- "data-type-poll": r === S.POLL,
1542
+ "data-type-trivia": r === E.TRIVIA,
1543
+ "data-type-poll": r === E.POLL,
1544
1544
  name: l.iconName
1545
1545
  }
1546
1546
  ),
1547
1547
  /* @__PURE__ */ s(Qs, { children: l.label })
1548
1548
  ] }),
1549
- r === S.FACTOID && o && /* @__PURE__ */ s(Bs, { ...o, action: t, controlVideo: n }),
1550
- r === S.TWEET && c && /* @__PURE__ */ s(sn, { ...c, action: t, controlVideo: n }),
1551
- r !== S.FACTOID && r !== S.TWEET && /* @__PURE__ */ h(R, { children: [
1549
+ r === E.FACTOID && o && /* @__PURE__ */ s(Bs, { ...o, action: t, controlVideo: n }),
1550
+ r === E.TWEET && c && /* @__PURE__ */ s(sn, { ...c, action: t, controlVideo: n }),
1551
+ r !== E.FACTOID && r !== E.TWEET && /* @__PURE__ */ h(x, { children: [
1552
1552
  /* @__PURE__ */ s(Ks, { children: a == null ? void 0 : a.title }),
1553
1553
  /* @__PURE__ */ s(Ys, { children: "Answer" })
1554
1554
  ] })
@@ -1557,67 +1557,67 @@ const hs = {
1557
1557
  name: "BGWrap",
1558
1558
  class: "b1dqe0sz",
1559
1559
  propsAsIs: !1
1560
- }), N = /* @__PURE__ */ i("div")({
1560
+ }), T = /* @__PURE__ */ i("div")({
1561
1561
  name: "BGLineBase",
1562
1562
  class: "b1v6w7ni",
1563
1563
  propsAsIs: !1
1564
- }), nn = () => N, rn = /* @__PURE__ */ i(nn())({
1564
+ }), nn = () => T, rn = /* @__PURE__ */ i(nn())({
1565
1565
  name: "BGOneLineOne",
1566
1566
  class: "b2nqb1p",
1567
1567
  propsAsIs: !0
1568
- }), an = () => N, on = /* @__PURE__ */ i(an())({
1568
+ }), an = () => T, on = /* @__PURE__ */ i(an())({
1569
1569
  name: "BGOneLineTwo",
1570
1570
  class: "b1xxgmbk",
1571
1571
  propsAsIs: !0
1572
- }), ln = () => N, cn = /* @__PURE__ */ i(ln())({
1572
+ }), ln = () => T, cn = /* @__PURE__ */ i(ln())({
1573
1573
  name: "BGOneLineThree",
1574
1574
  class: "b63lwcb",
1575
1575
  propsAsIs: !0
1576
- }), dn = () => N, W2 = /* @__PURE__ */ i(dn())({
1576
+ }), dn = () => T, W2 = /* @__PURE__ */ i(dn())({
1577
1577
  name: "BGTwoLineOne",
1578
1578
  class: "b2iah4",
1579
1579
  propsAsIs: !0
1580
- }), pn = () => N, j2 = /* @__PURE__ */ i(pn())({
1580
+ }), pn = () => T, j2 = /* @__PURE__ */ i(pn())({
1581
1581
  name: "BGTwoLineTwo",
1582
1582
  class: "b1xezvf6",
1583
1583
  propsAsIs: !0
1584
- }), hn = () => N, Z2 = /* @__PURE__ */ i(hn())({
1584
+ }), hn = () => T, Z2 = /* @__PURE__ */ i(hn())({
1585
1585
  name: "BGTwoLineThree",
1586
1586
  class: "b1jz1hg0",
1587
1587
  propsAsIs: !0
1588
- }), un = () => N, G2 = /* @__PURE__ */ i(un())({
1588
+ }), un = () => T, G2 = /* @__PURE__ */ i(un())({
1589
1589
  name: "BGThreeLineOne",
1590
1590
  class: "b18ho1tk",
1591
1591
  propsAsIs: !0
1592
- }), mn = () => N, Q2 = /* @__PURE__ */ i(mn())({
1592
+ }), mn = () => T, Q2 = /* @__PURE__ */ i(mn())({
1593
1593
  name: "BGThreeLineTwo",
1594
1594
  class: "b14uvjfm",
1595
1595
  propsAsIs: !0
1596
- }), vn = () => N, K2 = /* @__PURE__ */ i(vn())({
1596
+ }), vn = () => T, K2 = /* @__PURE__ */ i(vn())({
1597
1597
  name: "BGThreeLineThree",
1598
1598
  class: "b11c3ns7",
1599
1599
  propsAsIs: !0
1600
- }), Cn = () => N, Y2 = /* @__PURE__ */ i(Cn())({
1600
+ }), Cn = () => T, Y2 = /* @__PURE__ */ i(Cn())({
1601
1601
  name: "BGThreeLineFour",
1602
1602
  class: "b1bqhhet",
1603
1603
  propsAsIs: !0
1604
- }), fn = () => N, gn = /* @__PURE__ */ i(fn())({
1604
+ }), fn = () => T, gn = /* @__PURE__ */ i(fn())({
1605
1605
  name: "BGFourLineOne",
1606
1606
  class: "b1xyzi7o",
1607
1607
  propsAsIs: !0
1608
- }), In = () => N, bn = /* @__PURE__ */ i(In())({
1608
+ }), In = () => T, bn = /* @__PURE__ */ i(In())({
1609
1609
  name: "BGFourLineTwo",
1610
1610
  class: "byo0rup",
1611
1611
  propsAsIs: !0
1612
- }), $n = () => N, An = /* @__PURE__ */ i($n())({
1612
+ }), $n = () => T, An = /* @__PURE__ */ i($n())({
1613
1613
  name: "BGFourLineThree",
1614
1614
  class: "b1oyiqgv",
1615
1615
  propsAsIs: !0
1616
- }), yn = () => N, wn = /* @__PURE__ */ i(yn())({
1616
+ }), yn = () => T, wn = /* @__PURE__ */ i(yn())({
1617
1617
  name: "BGFourLineFour",
1618
1618
  class: "bx3ddqw",
1619
1619
  propsAsIs: !0
1620
- }), Ln = ({ step: e, correct: t }) => /* @__PURE__ */ h(R, { children: [
1620
+ }), Ln = ({ step: e, correct: t }) => /* @__PURE__ */ h(x, { children: [
1621
1621
  /* @__PURE__ */ h(P, { "data-active": e === 1, "data-first-screen": "true", children: [
1622
1622
  /* @__PURE__ */ s(rn, {}),
1623
1623
  /* @__PURE__ */ s(on, {}),
@@ -1633,7 +1633,7 @@ const hs = {
1633
1633
  /* @__PURE__ */ s(j2, {}),
1634
1634
  /* @__PURE__ */ s(Z2, {})
1635
1635
  ] }),
1636
- t ? /* @__PURE__ */ h(R, { children: [
1636
+ t ? /* @__PURE__ */ h(x, { children: [
1637
1637
  /* @__PURE__ */ h(P, { "data-active": e === 4, "data-correct": "true", children: [
1638
1638
  /* @__PURE__ */ s(G2, {}),
1639
1639
  /* @__PURE__ */ s(Q2, {}),
@@ -1652,11 +1652,11 @@ const hs = {
1652
1652
  /* @__PURE__ */ s(An, {}),
1653
1653
  /* @__PURE__ */ s(wn, {})
1654
1654
  ] })
1655
- ] }), kn = 118, _n = () => i2, Tn = /* @__PURE__ */ i(_n())({
1655
+ ] }), kn = 118, _n = () => i2, Sn = /* @__PURE__ */ i(_n())({
1656
1656
  name: "Container",
1657
1657
  class: "c10131zw",
1658
1658
  propsAsIs: !0
1659
- }), Sn = /* @__PURE__ */ i("div")({
1659
+ }), Tn = /* @__PURE__ */ i("div")({
1660
1660
  name: "InnerContainer",
1661
1661
  class: "ir6k2eo",
1662
1662
  propsAsIs: !1
@@ -1718,8 +1718,8 @@ const hs = {
1718
1718
  const p = (I) => (f) => {
1719
1719
  m.current && (m.current[I] = f);
1720
1720
  }, C = (I) => ({ transform: Dn(I, u, l.height) }), g = { ...l };
1721
- return n && g.height && typeof g.height == "number" && (g.height += 32), /* @__PURE__ */ s(Tn, { style: l.height ? g : { ...l, paddingTop: 0, paddingBottom: 0 }, hiding: d, children: /* @__PURE__ */ h(
1722
- Sn,
1721
+ return n && g.height && typeof g.height == "number" && (g.height += 32), /* @__PURE__ */ s(Sn, { style: l.height ? g : { ...l, paddingTop: 0, paddingBottom: 0 }, hiding: d, children: /* @__PURE__ */ h(
1722
+ Tn,
1723
1723
  {
1724
1724
  style: {
1725
1725
  height: l.height,
@@ -1745,7 +1745,7 @@ const hs = {
1745
1745
  t == null ? void 0 : t.title
1746
1746
  ] }) })
1747
1747
  ] }),
1748
- r ? /* @__PURE__ */ h(R, { children: [
1748
+ r ? /* @__PURE__ */ h(x, { children: [
1749
1749
  /* @__PURE__ */ h(
1750
1750
  q,
1751
1751
  {
@@ -2006,11 +2006,11 @@ const hs = {
2006
2006
  name: "IconClose",
2007
2007
  class: "i1mavjt2",
2008
2008
  propsAsIs: !0
2009
- }), Ti = /* @__PURE__ */ i("div")({
2009
+ }), Si = /* @__PURE__ */ i("div")({
2010
2010
  name: "OnboardingFooter",
2011
2011
  class: "o1x0dyzv",
2012
2012
  propsAsIs: !1
2013
- }), Si = () => $i, Ni = /* @__PURE__ */ i(Si())({
2013
+ }), Ti = () => $i, Ni = /* @__PURE__ */ i(Ti())({
2014
2014
  name: "OnboardingActionBtn",
2015
2015
  class: "o1jfi9c3",
2016
2016
  propsAsIs: !0
@@ -2036,13 +2036,13 @@ const hs = {
2036
2036
  sdk: g,
2037
2037
  onClose: I
2038
2038
  }) => {
2039
- const [f, $] = L(0), [b, k] = L(!1), [w, x] = L(W);
2039
+ const [f, $] = L(0), [b, k] = L(!1), [w, N] = L(W);
2040
2040
  y(() => {
2041
- t != null && t.length ? x({ ...W, steps: !0 }) : n != null && n.length ? x({ ...W, rules: !0 }) : x({ ...W, inviteCard: !0 });
2041
+ t != null && t.length ? N({ ...W, steps: !0 }) : n != null && n.length ? N({ ...W, rules: !0 }) : N({ ...W, inviteCard: !0 });
2042
2042
  }, []);
2043
2043
  const $e = M(() => w.steps && f === 0 ? "Continue" : w.rules ? b || !r ? "Got it" : r : w.inviteCard ? m || "Play Now" : "Next", [w, f, b, r, m]), Ae = U(() => {
2044
- t != null && t.length && f < t.length - 1 ? $((r2) => ++r2) : n != null && n.length && w.steps ? x({ ...W, rules: !0 }) : w.rules && x({ ...W, inviteCard: !0 });
2045
- }, [f, t == null ? void 0 : t.length, n == null ? void 0 : n.length, w, $, x]), ye = async () => {
2044
+ t != null && t.length && f < t.length - 1 ? $((r2) => ++r2) : n != null && n.length && w.steps ? N({ ...W, rules: !0 }) : w.rules && N({ ...W, inviteCard: !0 });
2045
+ }, [f, t == null ? void 0 : t.length, n == null ? void 0 : n.length, w, $, N]), ye = async () => {
2046
2046
  w.inviteCard ? await e.onboardingStatus.submitInplay() : w.rules && b ? k(!1) : Ae();
2047
2047
  };
2048
2048
  return y(() => {
@@ -2080,7 +2080,7 @@ const hs = {
2080
2080
  }
2081
2081
  )
2082
2082
  ] }),
2083
- /* @__PURE__ */ s(Ti, { children: /* @__PURE__ */ s(O, { loading: p, style: { width: "100%" }, children: /* @__PURE__ */ s(Ni, { "data-a": "intr", onClick: ye, children: $e }) }) })
2083
+ /* @__PURE__ */ s(Si, { children: /* @__PURE__ */ s(O, { loading: p, style: { width: "100%" }, children: /* @__PURE__ */ s(Ni, { "data-a": "intr", onClick: ye, children: $e }) }) })
2084
2084
  ] }) });
2085
2085
  }, Ri = /* @__PURE__ */ i("div")({
2086
2086
  name: "Container",
@@ -2133,7 +2133,7 @@ const hs = {
2133
2133
  }, h2 = [{
2134
2134
  graphicSrc: "https://cdn.streamlayer.io/assets/sdk-web/onboarding-steps/dark/step_1.png",
2135
2135
  tagline: "",
2136
- headline: /* @__PURE__ */ h(R, {
2136
+ headline: /* @__PURE__ */ h(x, {
2137
2137
  children: ["Welcome to ", /* @__PURE__ */ s("br", {}), " Live Challenge"]
2138
2138
  })
2139
2139
  }, {
@@ -2174,8 +2174,8 @@ const hs = {
2174
2174
  var b, k;
2175
2175
  const w = o.getInviter();
2176
2176
  return w ? (k = (b = g.data) == null ? void 0 : b.find(({
2177
- slId: x
2178
- }) => x === w)) == null ? void 0 : k.name : "";
2177
+ slId: N
2178
+ }) => N === w)) == null ? void 0 : k.name : "";
2179
2179
  }, [g.data, o]);
2180
2180
  return y(() => {
2181
2181
  const b = e.$store.subscribe((k) => {
@@ -2254,7 +2254,7 @@ const hs = {
2254
2254
  renderToNode: a,
2255
2255
  sdk: e
2256
2256
  })
2257
- }) : /* @__PURE__ */ h(R, {
2257
+ }) : /* @__PURE__ */ h(x, {
2258
2258
  children: [/* @__PURE__ */ s(ne, {
2259
2259
  ref: l,
2260
2260
  style: {
@@ -2362,7 +2362,7 @@ const hs = {
2362
2362
  sdk: d
2363
2363
  } = u2(), [u, v, m] = r1(t.id);
2364
2364
  let p = v;
2365
- return a || (p = "auto"), t.type === e2.QUESTION ? /* @__PURE__ */ h(R, {
2365
+ return a || (p = "auto"), t.type === e2.QUESTION ? /* @__PURE__ */ h(x, {
2366
2366
  children: [/* @__PURE__ */ s(t1, {
2367
2367
  ref: u,
2368
2368
  children: /* @__PURE__ */ s(P2, {
@@ -2451,7 +2451,7 @@ const hs = {
2451
2451
  }) => {
2452
2452
  const [l] = L(e.getNotificationsStore()), d = A(l), [u, v] = L(null), m = M(() => e.getActiveNotification(), [e, d]);
2453
2453
  return y(() => {
2454
- m && Ge.emit("notification", {
2454
+ m && l0.emit("notification", {
2455
2455
  action: "rendered",
2456
2456
  payload: {
2457
2457
  questionId: m.data.questionId,
@@ -2468,7 +2468,7 @@ const hs = {
2468
2468
  }));
2469
2469
  }, [m]), y(() => {
2470
2470
  m || v(null);
2471
- }, [m]), /* @__PURE__ */ h(R, {
2471
+ }, [m]), /* @__PURE__ */ h(x, {
2472
2472
  children: [!u && m && /* @__PURE__ */ s(a1, {
2473
2473
  appNode: a,
2474
2474
  sdk: e,
@@ -2545,10 +2545,10 @@ const hs = {
2545
2545
  activeFeature: p,
2546
2546
  isLogged: C
2547
2547
  } = d1(e), g = !!m;
2548
- Ke(o, {
2548
+ Qe(o, {
2549
2549
  enabled: g,
2550
2550
  event: "click",
2551
- listener: Ye
2551
+ listener: Ke
2552
2552
  });
2553
2553
  const I = M(() => ({
2554
2554
  sdk: e,
@@ -2556,7 +2556,7 @@ const hs = {
2556
2556
  }), [e, n]);
2557
2557
  return y(() => {
2558
2558
  import("./gamification-feature.js");
2559
- }, []), /* @__PURE__ */ s(t0.Provider, {
2559
+ }, []), /* @__PURE__ */ s(e0.Provider, {
2560
2560
  value: I,
2561
2561
  children: /* @__PURE__ */ h(je, {
2562
2562
  ref: (f) => {
@@ -2609,13 +2609,13 @@ const hs = {
2609
2609
  })]
2610
2610
  })
2611
2611
  });
2612
- }, F1 = ({ event: e, topNavigation: t, theme: n, muted: r, withSidebarNotification: a = !0 }) => {
2612
+ }, B1 = ({ event: e, topNavigation: t, theme: n, muted: r, withSidebarNotification: a = !0 }) => {
2613
2613
  const { sdk: o, status: c } = f2(g2), l = Re(), d = Ee(), { event: u } = f2(g2);
2614
2614
  if (c === I2.UNSET)
2615
2615
  throw new Error("Wrap app in `StreamLayerProvider`");
2616
2616
  return c === I2.CONNECTED ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "wait" }) : o === null ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : !l.app && !l.appNotification && !l.appSidebar || !l.app && !l.appSidebar && l.appNotification && !a ? null : /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(ze, { customTheme: n ?? d.theme, themeMode: d.themeMode, children: /* @__PURE__ */ s(u1, { sdk: o, muted: r, event: (u == null ? void 0 : u.current) || e, topNavigation: t }) }) });
2617
2617
  };
2618
2618
  export {
2619
- D1 as B,
2620
- F1 as b
2619
+ F1 as B,
2620
+ B1 as b
2621
2621
  };