@streamlayer/react 1.24.5 → 1.24.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.
Files changed (103) hide show
  1. package/lib/cjs/Question.js +1 -1
  2. package/lib/cjs/advertisement.js +26 -26
  3. package/lib/cjs/bet-pack.js +1 -1
  4. package/lib/cjs/feature.js +1 -1
  5. package/lib/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  6. package/lib/cjs/index10.js +1 -1
  7. package/lib/cjs/index11.js +1 -1
  8. package/lib/cjs/index12.js +1 -1
  9. package/lib/cjs/index13.js +4 -1
  10. package/lib/cjs/index14.js +1 -4
  11. package/lib/cjs/index15.js +1 -1
  12. package/lib/cjs/index16.js +2 -2
  13. package/lib/cjs/index2.js +1 -1
  14. package/lib/cjs/index4.js +3 -3
  15. package/lib/cjs/index6.js +1 -1
  16. package/lib/cjs/index7.js +1 -1
  17. package/lib/cjs/index9.js +2 -2
  18. package/lib/cjs/insight.js +1 -1
  19. package/lib/cjs/masters2.js +3 -3
  20. package/lib/cjs/notification.js +1 -1
  21. package/lib/cjs/pause-ad.js +1 -1
  22. package/lib/cjs/points.js +1 -1
  23. package/lib/cjs/polymarket.js +1 -1
  24. package/lib/cjs/storage.js +1 -1
  25. package/lib/cjs/useStreamLayerApp2.js +13 -13
  26. package/lib/classic/cjs/Question.js +1 -1
  27. package/lib/classic/cjs/advertisement.js +26 -26
  28. package/lib/classic/cjs/bet-pack.js +3 -3
  29. package/lib/classic/cjs/feature.js +1 -1
  30. package/lib/classic/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  31. package/lib/classic/cjs/index10.js +1 -1
  32. package/lib/classic/cjs/index11.js +1 -1
  33. package/lib/classic/cjs/index12.js +1 -1
  34. package/lib/classic/cjs/index13.js +1 -1
  35. package/lib/classic/cjs/index2.js +2 -2
  36. package/lib/classic/cjs/index5.js +1 -1
  37. package/lib/classic/cjs/index7.js +2 -2
  38. package/lib/classic/cjs/index8.js +1 -1
  39. package/lib/classic/cjs/index9.js +1 -1
  40. package/lib/classic/cjs/insight.js +1 -1
  41. package/lib/classic/cjs/notification2.js +1 -1
  42. package/lib/classic/cjs/pause-ad.js +1 -1
  43. package/lib/classic/cjs/points.js +1 -1
  44. package/lib/classic/cjs/polymarket.js +1 -1
  45. package/lib/classic/cjs/useStreamLayerApp2.js +13 -13
  46. package/lib/classic/es/Question.js +313 -198
  47. package/lib/classic/es/advertisement.js +1988 -1955
  48. package/lib/classic/es/bet-pack.js +12 -13
  49. package/lib/classic/es/feature.js +188 -37
  50. package/lib/{es/index-DvqmgCor.js → classic/es/index-CfSdnrfA.js} +1 -1
  51. package/lib/classic/es/index10.js +309 -2580
  52. package/lib/classic/es/index11.js +2580 -305
  53. package/lib/classic/es/index12.js +12 -12
  54. package/lib/classic/es/index13.js +2 -2
  55. package/lib/classic/es/index2.js +129 -121
  56. package/lib/classic/es/index5.js +0 -1
  57. package/lib/classic/es/index7.js +2 -2
  58. package/lib/classic/es/index8.js +1 -1
  59. package/lib/classic/es/index9.js +1 -1
  60. package/lib/classic/es/insight.js +1 -1
  61. package/lib/classic/es/notification2.js +137 -138
  62. package/lib/classic/es/pause-ad.js +124 -149
  63. package/lib/classic/es/points.js +3 -4
  64. package/lib/classic/es/polymarket.js +1 -1
  65. package/lib/classic/es/useStreamLayerApp2.js +2931 -2877
  66. package/lib/classic/source.css +1 -1
  67. package/lib/dist/cjs/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  68. package/lib/dist/cjs/masters.js +31 -31
  69. package/lib/dist/es/{index-DvqmgCor.js → index-CfSdnrfA.js} +1 -1
  70. package/lib/dist/es/masters.js +7957 -7774
  71. package/lib/dist/index.d.ts +2 -0
  72. package/lib/es/Question.js +66 -65
  73. package/lib/es/advertisement.js +1988 -1955
  74. package/lib/es/bet-pack.js +1 -1
  75. package/lib/es/feature.js +188 -37
  76. package/lib/{classic/es/index-DvqmgCor.js → es/index-CfSdnrfA.js} +1 -1
  77. package/lib/es/index10.js +1 -1
  78. package/lib/es/index11.js +12 -12
  79. package/lib/es/index12.js +366 -2579
  80. package/lib/es/index13.js +789 -234
  81. package/lib/es/index14.js +293 -792
  82. package/lib/es/index15.js +2580 -305
  83. package/lib/es/index16.js +41 -42
  84. package/lib/es/index2.js +279 -271
  85. package/lib/es/index4.js +15 -16
  86. package/lib/es/index6.js +0 -1
  87. package/lib/es/index7.js +1 -1
  88. package/lib/es/index9.js +2 -2
  89. package/lib/es/insight.js +1 -1
  90. package/lib/es/masters2.js +194 -183
  91. package/lib/es/notification.js +22 -23
  92. package/lib/es/pause-ad.js +124 -149
  93. package/lib/es/points.js +20 -21
  94. package/lib/es/polymarket.js +1 -1
  95. package/lib/es/storage.js +1 -1
  96. package/lib/es/useStreamLayerApp2.js +2931 -2877
  97. package/lib/source.css +1 -1
  98. package/lib/style.css +1 -1
  99. package/package.json +72 -53
  100. package/lib/cjs/sl-types.js +0 -1
  101. package/lib/classic/cjs/sl-types.js +0 -1
  102. package/lib/classic/es/sl-types.js +0 -156
  103. package/lib/es/sl-types.js +0 -156
@@ -1,13 +1,12 @@
1
1
  import { jsx as P, jsxs as F } from "react/jsx-runtime";
2
2
  import { e as gt } from "./index4.js";
3
3
  import $, { forwardRef as Ae, useRef as D, useState as W, useEffect as Y, useLayoutEffect as vt, createContext as He, useMemo as Re, useCallback as qe, memo as wt } from "react";
4
- import { s as _, u as Se, c as Ee } from "./sl-types.js";
5
- import yt from "lodash.throttle";
4
+ import { s as _, u as Se, a as yt, c as Ee } from "./feature.js";
5
+ import bt from "lodash.throttle";
6
6
  import { B as te } from "./index6.js";
7
- import { d as bt } from "./index7.js";
8
- import { Q as St } from "./index13.js";
9
- import { d as Et, e as Tt, S as We } from "./useStreamLayerApp2.js";
10
- import { c as xt } from "./feature.js";
7
+ import { d as St } from "./index7.js";
8
+ import { Q as Et } from "./index13.js";
9
+ import { d as Tt, e as xt, S as We } from "./useStreamLayerApp2.js";
11
10
  import { Y as Ct } from "./hooks-n9ax4LRT.js";
12
11
  function _e(t) {
13
12
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
@@ -2897,8 +2896,8 @@ const er = () => ot, tr = /* @__PURE__ */ _(er())({
2897
2896
  className: t
2898
2897
  }) => /* @__PURE__ */ P(mr, {
2899
2898
  className: t,
2900
- children: /* @__PURE__ */ P(bt, {})
2901
- }), hr = ({ question: t, vote: e }) => t ? /* @__PURE__ */ P(St, { close: () => {
2899
+ children: /* @__PURE__ */ P(St, {})
2900
+ }), hr = ({ question: t, vote: e }) => t ? /* @__PURE__ */ P(Et, { close: () => {
2902
2901
  }, openedQuestion: t, vote: e, isLoading: !1, isEarlyPrediction: !0 }) : null, gr = /* @__PURE__ */ _("span")({
2903
2902
  name: "NextButton",
2904
2903
  class: "n991vvm",
@@ -3234,7 +3233,7 @@ const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3234
3233
  e.closeQuestion();
3235
3234
  }, [p, h] = W(1.1);
3236
3235
  return Y(() => {
3237
- const g = yt(() => {
3236
+ const g = bt(() => {
3238
3237
  const m = l.current?.size;
3239
3238
  if (!m)
3240
3239
  return;
@@ -3277,7 +3276,7 @@ const xr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3277
3276
  {
3278
3277
  onEvent: n,
3279
3278
  actionFn: () => n({ type: "slHardRefresh" }),
3280
- description: l instanceof Et && l.code !== Tt.InvalidArgument ? `The event ID was not
3279
+ description: l instanceof Tt && l.code !== xt.InvalidArgument ? `The event ID was not
3281
3280
  specified or is invalid.` : `The server is unable to
3282
3281
  handle this request.`
3283
3282
  }
@@ -3304,7 +3303,7 @@ handle this request.`
3304
3303
  name: "BetPackContainer",
3305
3304
  class: "b18vssq2",
3306
3305
  propsAsIs: !1
3307
- }), ie = "slBetPackCb", Mr = xt("betPack-ui"), kr = (t, e = {}) => {
3306
+ }), ie = "slBetPackCb", Mr = yt("betPack-ui"), kr = (t, e = {}) => {
3308
3307
  const { questionId: s, answerId: r } = e, n = { questionId: s, answerId: r };
3309
3308
  Mr.debug({ id: ie, type: t, ...n }), window.top?.postMessage({ id: ie, type: t, ...n }, "*"), window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers[ie] && window.webkit.messageHandlers[ie].postMessage({ type: t, ...n }), window.slBetPackCb?.postMessage && window.slBetPackCb.postMessage(JSON.stringify({ type: t, ...n, from: "base" }));
3310
3309
  }, Ir = (t) => {
@@ -3408,12 +3407,12 @@ view this resource.`
3408
3407
  action: "tap",
3409
3408
  payload: {}
3410
3409
  });
3411
- }, Kr = () => {
3410
+ }, Qr = () => {
3412
3411
  const t = Ct();
3413
3412
  return Y(() => (document?.addEventListener("click", je), () => {
3414
3413
  document?.removeEventListener("click", je);
3415
3414
  }), []), t ? /* @__PURE__ */ P(ft, { sdk: t }) : null;
3416
3415
  };
3417
3416
  export {
3418
- Kr as BetPackProvider
3417
+ Qr as BetPackProvider
3419
3418
  };
@@ -1,59 +1,210 @@
1
- import { pino as a } from "pino";
2
- import "./sl-types.js";
3
- import "nanostores";
4
- import { S as s } from "./useStreamLayerApp2.js";
5
- const d = a({
1
+ import y, { forwardRef as A, createElement as O } from "react";
2
+ import { listenKeys as _ } from "nanostores";
3
+ import { pino as M } from "pino";
4
+ import { S as g } from "./useStreamLayerApp2.js";
5
+ var B = function() {
6
+ const t = Array.prototype.slice.call(arguments).filter(Boolean), n = {}, r = [];
7
+ t.forEach((a) => {
8
+ (a ? a.split(" ") : []).forEach((c) => {
9
+ if (c.startsWith("atm_")) {
10
+ const [, p] = c.split("_");
11
+ n[p] = c;
12
+ } else
13
+ r.push(c);
14
+ });
15
+ });
16
+ const o = [];
17
+ for (const a in n)
18
+ Object.prototype.hasOwnProperty.call(n, a) && o.push(n[a]);
19
+ return o.push(...r), o.join(" ");
20
+ }, R = B;
21
+ function D(e) {
22
+ var t = /* @__PURE__ */ Object.create(null);
23
+ return function(n) {
24
+ return t[n] === void 0 && (t[n] = e(n)), t[n];
25
+ };
26
+ }
27
+ var H = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, x = /* @__PURE__ */ D(
28
+ function(e) {
29
+ return H.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
30
+ }
31
+ /* Z+1 */
32
+ ), j = (e) => e.toUpperCase() === e, q = (e) => (t) => e.indexOf(t) === -1, U = (e, t) => {
33
+ const n = {};
34
+ return Object.keys(e).filter(q(t)).forEach((r) => {
35
+ n[r] = e[r];
36
+ }), n;
37
+ };
38
+ function z(e, t, n) {
39
+ const r = U(t, n);
40
+ if (!e) {
41
+ const o = typeof x == "function" ? { default: x } : x;
42
+ Object.keys(r).forEach((a) => {
43
+ o.default(a) || delete r[a];
44
+ });
45
+ }
46
+ return r;
47
+ }
48
+ var V = (e, t) => {
49
+ };
50
+ function F(e) {
51
+ let t = "";
52
+ return (n) => {
53
+ const r = (a, d) => {
54
+ const { as: c = e, class: p = t } = a, v = n.propsAsIs === void 0 ? !(typeof c == "string" && c.indexOf("-") === -1 && !j(c[0])) : n.propsAsIs, u = z(v, a, [
55
+ "as",
56
+ "class"
57
+ ]);
58
+ u.ref = d, u.className = n.atomic ? R(n.class, u.className || p) : R(u.className || p, n.class);
59
+ const { vars: i } = n;
60
+ if (i) {
61
+ const s = {};
62
+ for (const l in i) {
63
+ const h = i[l], S = h[0], N = h[1] || "", b = typeof S == "function" ? S(a) : S;
64
+ V(b, n.name), s[`--${l}`] = `${b}${N}`;
65
+ }
66
+ const f = u.style || {}, m = Object.keys(f);
67
+ m.length > 0 && m.forEach((l) => {
68
+ s[l] = f[l];
69
+ }), u.style = s;
70
+ }
71
+ return e.__wyw_meta && e !== c ? (u.as = c, O(e, u)) : O(c, u);
72
+ }, o = A ? A(r) : (
73
+ // React.forwardRef won't available on older React versions and in Preact
74
+ // Fallback to a innerRef prop in that case
75
+ ((a) => {
76
+ const d = U(a, ["innerRef"]);
77
+ return r(d, a.innerRef);
78
+ })
79
+ );
80
+ return o.displayName = n.name, o.__wyw_meta = {
81
+ className: n.class || t,
82
+ extends: e
83
+ }, o;
84
+ };
85
+ }
86
+ var ae = F, E = { exports: {} }, k = {};
87
+ var T;
88
+ function G() {
89
+ if (T) return k;
90
+ T = 1;
91
+ var e = y;
92
+ function t(i, s) {
93
+ return i === s && (i !== 0 || 1 / i === 1 / s) || i !== i && s !== s;
94
+ }
95
+ var n = typeof Object.is == "function" ? Object.is : t, r = e.useState, o = e.useEffect, a = e.useLayoutEffect, d = e.useDebugValue;
96
+ function c(i, s) {
97
+ var f = s(), m = r({ inst: { value: f, getSnapshot: s } }), l = m[0].inst, h = m[1];
98
+ return a(
99
+ function() {
100
+ l.value = f, l.getSnapshot = s, p(l) && h({ inst: l });
101
+ },
102
+ [i, f, s]
103
+ ), o(
104
+ function() {
105
+ return p(l) && h({ inst: l }), i(function() {
106
+ p(l) && h({ inst: l });
107
+ });
108
+ },
109
+ [i]
110
+ ), d(f), f;
111
+ }
112
+ function p(i) {
113
+ var s = i.getSnapshot;
114
+ i = i.value;
115
+ try {
116
+ var f = s();
117
+ return !n(i, f);
118
+ } catch {
119
+ return !0;
120
+ }
121
+ }
122
+ function v(i, s) {
123
+ return s();
124
+ }
125
+ var u = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
126
+ return k.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : u, k;
127
+ }
128
+ var C;
129
+ function W() {
130
+ return C || (C = 1, E.exports = G()), E.exports;
131
+ }
132
+ var $ = W();
133
+ const w = (e, t) => (n) => {
134
+ e.current !== n && (e.current = n, t());
135
+ };
136
+ function X(e, { keys: t, deps: n = [e, t] } = {}) {
137
+ const r = y.useRef();
138
+ r.current = e.get();
139
+ const o = y.useCallback((d) => (w(r, d)(e.value), t?.length > 0 ? _(e, t, w(r, d)) : e.listen(w(r, d))), n), a = () => r.current;
140
+ return y.useSyncExternalStore ? y.useSyncExternalStore(o, a, a) : $.useSyncExternalStore(o, a, a);
141
+ }
142
+ const ie = X, K = () => [
143
+ !1,
144
+ (e) => {
145
+ window.requestAnimationFrame(() => e());
146
+ }
147
+ ], se = y.useTransition || K, Y = M({
6
148
  level: "trace",
7
149
  enabled: typeof window < "u" && !!window.localStorage.getItem("SL_DEBUG"),
8
150
  browser: {
9
- write: (t) => {
10
- console.log(t);
151
+ write: (e) => {
152
+ console.log(e);
11
153
  }
12
154
  }
13
- }), l = (t, e) => d.child({ name: t }, e);
14
- class c extends Event {
155
+ }), Q = (e, t) => Y.child({ name: e }, t);
156
+ class Z extends Event {
15
157
  slEventBus;
16
- constructor(e, n) {
17
- super(e), this.slEventBus = n;
158
+ constructor(t, n) {
159
+ super(t), this.slEventBus = n;
18
160
  }
19
161
  }
20
- const v = l("event-bus");
21
- class h {
162
+ const J = Q("event-bus");
163
+ class oe {
22
164
  name;
23
165
  listeners;
24
- constructor(e = "sl-event-bus") {
25
- this.name = e, this.listeners = /* @__PURE__ */ new Set();
166
+ constructor(t = "sl-event-bus") {
167
+ this.name = t, this.listeners = /* @__PURE__ */ new Set();
26
168
  }
27
- emit = (e, n) => {
28
- const i = new c(this.name, { ...n, type: e });
29
- v.debug(i, "Emitting event"), window.dispatchEvent(i);
169
+ emit = (t, n) => {
170
+ const r = new Z(this.name, { ...n, type: t });
171
+ J.debug(r, "Emitting event"), window.dispatchEvent(r);
30
172
  };
31
- listen(e) {
32
- return window.addEventListener(this.name, e), this.listeners.add(e), () => {
33
- this.off(e);
173
+ listen(t) {
174
+ return window.addEventListener(this.name, t), this.listeners.add(t), () => {
175
+ this.off(t);
34
176
  };
35
177
  }
36
- off(e) {
37
- window.removeEventListener(this.name, e), this.listeners.delete(e);
178
+ off(t) {
179
+ window.removeEventListener(this.name, t), this.listeners.delete(t);
38
180
  }
39
181
  destroy = () => {
40
- this.listeners.forEach((e) => {
41
- window.removeEventListener(this.name, e), this.listeners.delete(e);
182
+ this.listeners.forEach((t) => {
183
+ window.removeEventListener(this.name, t), this.listeners.delete(t);
42
184
  }), this.listeners.clear();
43
185
  };
44
186
  }
187
+ var I;
188
+ (function(e) {
189
+ e[e.ONBOARDING = 1] = "ONBOARDING", e[e.QUESTION = 2] = "QUESTION", e[e.QUESTION_RESOLVED = 3] = "QUESTION_RESOLVED";
190
+ })(I || (I = {}));
45
191
  window.slStore = /* @__PURE__ */ Object.create(null);
46
- var o;
47
- (function(t) {
48
- t.ORGANIZATION = "ORGANIZATION", t.STREAM = "STREAM";
49
- })(o || (o = {}));
50
- s.BETTING + "", s.GAMES + "", s.PUBLIC_CHAT + "", s.TWITTER + "";
51
- var r;
52
- (function(t) {
53
- t.Ready = "ready", t.Suspended = "suspended";
54
- })(r || (r = {}));
192
+ var P;
193
+ (function(e) {
194
+ e.ORGANIZATION = "ORGANIZATION", e.STREAM = "STREAM";
195
+ })(P || (P = {}));
196
+ g.BETTING + "", g.GAMES + "", g.PUBLIC_CHAT + "", g.TWITTER + "";
197
+ var L;
198
+ (function(e) {
199
+ e.Ready = "ready", e.Suspended = "suspended";
200
+ })(L || (L = {}));
55
201
  export {
56
- h as E,
57
- r as F,
58
- l as c
202
+ oe as E,
203
+ L as F,
204
+ I as N,
205
+ Q as a,
206
+ se as b,
207
+ R as c,
208
+ ae as s,
209
+ ie as u
59
210
  };
@@ -1,4 +1,4 @@
1
- import { r as ir } from "./useStreamLayerApp2.js";
1
+ import { u as ir } from "./useStreamLayerApp2.js";
2
2
  function sr(A, S) {
3
3
  for (var G = 0; G < S.length; G++) {
4
4
  const X = S[G];