@streamlayer/react 1.20.5 → 1.20.7

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 (49) hide show
  1. package/lib/cjs/advertisement.js +29 -29
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/index2.js +4 -4
  4. package/lib/cjs/insight.js +1 -1
  5. package/lib/cjs/masters2.js +7 -7
  6. package/lib/cjs/notification.js +1 -1
  7. package/lib/cjs/pause-ad.js +1 -1
  8. package/lib/cjs/points.js +1 -1
  9. package/lib/cjs/provider.js +15 -39
  10. package/lib/cjs/useStreamLayerApp2.js +16 -17
  11. package/lib/classic/cjs/advertisement.js +29 -29
  12. package/lib/classic/cjs/bet-pack.js +4 -4
  13. package/lib/classic/cjs/index.js +1 -1
  14. package/lib/classic/cjs/insight.js +1 -1
  15. package/lib/classic/cjs/notification.js +1 -1
  16. package/lib/classic/cjs/pause-ad.js +1 -1
  17. package/lib/classic/cjs/points.js +1 -1
  18. package/lib/classic/cjs/provider.js +10 -34
  19. package/lib/classic/cjs/useStreamLayerApp2.js +16 -17
  20. package/lib/classic/es/advertisement.js +2193 -2265
  21. package/lib/classic/es/bet-pack.js +14 -12
  22. package/lib/classic/es/index.js +16 -11
  23. package/lib/classic/es/insight.js +35 -30
  24. package/lib/classic/es/notification.js +108 -103
  25. package/lib/classic/es/pause-ad.js +91 -87
  26. package/lib/classic/es/points.js +28 -23
  27. package/lib/classic/es/provider.js +4285 -10085
  28. package/lib/classic/es/useStreamLayerApp.js +1 -1
  29. package/lib/classic/es/useStreamLayerApp2.js +3111 -5772
  30. package/lib/dist/cjs/gamification-feature2.js +1 -1
  31. package/lib/dist/cjs/index.js +1 -1
  32. package/lib/dist/cjs/masters.js +35 -60
  33. package/lib/dist/es/gamification-feature2.js +112 -105
  34. package/lib/dist/es/index.js +12 -7
  35. package/lib/dist/es/masters.js +9909 -18734
  36. package/lib/dist/style.css +1 -1
  37. package/lib/es/advertisement.js +2193 -2265
  38. package/lib/es/index.js +16 -11
  39. package/lib/es/index2.js +12 -10
  40. package/lib/es/insight.js +35 -30
  41. package/lib/es/masters2.js +28 -25
  42. package/lib/es/notification.js +135 -130
  43. package/lib/es/pause-ad.js +91 -87
  44. package/lib/es/points.js +28 -23
  45. package/lib/es/provider.js +4302 -10466
  46. package/lib/es/useStreamLayerApp.js +1 -1
  47. package/lib/es/useStreamLayerApp2.js +3111 -5772
  48. package/lib/style.css +1 -1
  49. package/package.json +15 -15
package/lib/es/index.js CHANGED
@@ -1,15 +1,20 @@
1
- import { Q as m, S, a4 as o, h as i, u as s, b as y, $ as L } from "./provider.js";
1
+ import { S as p, a as y, b as L, h as c, u as f, d as u, c as D } from "./provider.js";
2
+ import "nanostores";
2
3
  import "react/jsx-runtime";
3
4
  import "react";
4
- import { StreamLayerSDKNotification as p, StreamLayerSDKNotificationUI as u } from "./notification.js";
5
+ import "@nanostores/react";
6
+ import "lodash.throttle";
7
+ import "react-dom";
8
+ import "react-countup";
9
+ import { StreamLayerSDKNotification as d, StreamLayerSDKNotificationUI as h } from "./notification.js";
5
10
  export {
6
- m as StreamLayerProvider,
7
- S as StreamLayerSDKEvent,
8
- p as StreamLayerSDKNotification,
9
- u as StreamLayerSDKNotificationUI,
10
- o as StreamLayerSDKReact,
11
- i as StreamLayerThemeProvider,
12
- s as useStreamLayer,
13
- y as useStreamLayerTheme,
14
- L as useStreamLayerUI
11
+ p as StreamLayerProvider,
12
+ y as StreamLayerSDKEvent,
13
+ d as StreamLayerSDKNotification,
14
+ h as StreamLayerSDKNotificationUI,
15
+ L as StreamLayerSDKReact,
16
+ c as StreamLayerThemeProvider,
17
+ f as useStreamLayer,
18
+ u as useStreamLayerTheme,
19
+ D as useStreamLayerUI
15
20
  };
package/lib/es/index2.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import { jsx as P, jsxs as F } from "react/jsx-runtime";
2
- import { s as _, B as te, k as ft, l as ht, a as Se, n as gt, c as vt, j as Ee } from "./provider.js";
3
- import $, { forwardRef as Ae, useState as W, useRef as D, useEffect as X, useLayoutEffect as wt, createContext as Ve, useMemo as He, useCallback as Re, memo as bt } from "react";
4
- import { C as yt, a as St, S as qe } from "./useStreamLayerApp2.js";
2
+ import { s as _, B as te, o as ft, p as ht, f as Se, j as gt, n as Ee } from "./provider.js";
3
+ import $, { forwardRef as Ae, useState as W, useRef as D, useEffect as X, useLayoutEffect as vt, createContext as Ve, useMemo as He, useCallback as Re, memo as wt } from "react";
4
+ import { ConnectError as bt, Code as yt } from "@connectrpc/connect";
5
+ import St from "lodash.throttle";
6
+ import { S as qe } from "./useStreamLayerApp2.js";
5
7
  function _e(t) {
6
8
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
7
9
  }
@@ -2613,7 +2615,7 @@ function Xs(t, e, s) {
2613
2615
  }));
2614
2616
  }
2615
2617
  function ee(t, e) {
2616
- return typeof window > "u" ? X(t, e) : wt(t, e);
2618
+ return typeof window > "u" ? X(t, e) : vt(t, e);
2617
2619
  }
2618
2620
  const De = /* @__PURE__ */ Ve(null), Us = /* @__PURE__ */ Ve(null), lt = /* @__PURE__ */ Ae(function(t, e) {
2619
2621
  let {
@@ -3237,7 +3239,7 @@ const yr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3237
3239
  e.closeQuestion();
3238
3240
  }, [u, f] = W(1.1);
3239
3241
  return X(() => {
3240
- const g = gt(() => {
3242
+ const g = St(() => {
3241
3243
  var h;
3242
3244
  const b = (h = l.current) == null ? void 0 : h.size;
3243
3245
  if (!b)
@@ -3281,7 +3283,7 @@ const yr = ({ data: t, gamification: e, onEvent: s, swipeable: r, autoplay: n })
3281
3283
  {
3282
3284
  onEvent: n,
3283
3285
  actionFn: () => n({ type: "slHardRefresh" }),
3284
- description: l instanceof yt && l.code !== St.InvalidArgument ? `The event ID was not
3286
+ description: l instanceof bt && l.code !== yt.InvalidArgument ? `The event ID was not
3285
3287
  specified or is invalid.` : `The server is unable to
3286
3288
  handle this request.`
3287
3289
  }
@@ -3308,7 +3310,7 @@ handle this request.`
3308
3310
  name: "BetPackContainer",
3309
3311
  class: "b18vssq2",
3310
3312
  propsAsIs: !1
3311
- }), ie = "slBetPackCb", xr = vt("betPack-ui"), Tr = (t, e = {}) => {
3313
+ }), ie = "slBetPackCb", xr = gt("betPack-ui"), Tr = (t, e = {}) => {
3312
3314
  var s, r;
3313
3315
  const { questionId: n, answerId: i } = e, l = { questionId: n, answerId: i };
3314
3316
  xr.debug({ id: ie, type: t, ...l }), (s = window.top) == null || s.postMessage({ id: ie, type: t, ...l }, "*"), window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers[ie] && window.webkit.messageHandlers[ie].postMessage({ type: t, ...l }), (r = window.slBetPackCb) != null && r.postMessage && window.slBetPackCb.postMessage(JSON.stringify({ type: t, ...l, from: "base" }));
@@ -3350,7 +3352,7 @@ handle this request.`
3350
3352
  name: "SlideSwitchButton",
3351
3353
  class: "spp13y7",
3352
3354
  propsAsIs: !1
3353
- }), jr = Ae(({ sdk: t, onEvent: e, close: s }, r) => {
3355
+ }), Hr = Ae(({ sdk: t, onEvent: e, close: s }, r) => {
3354
3356
  const [n, i] = W(), [l, a] = W(), o = Re(
3355
3357
  (c) => {
3356
3358
  if (c.type === "slBetPackReady") {
@@ -3395,7 +3397,7 @@ handle this request.`
3395
3397
  description: `You are not authorized to
3396
3398
  view this resource.`
3397
3399
  }
3398
- ) : /* @__PURE__ */ P(Le, {}), Gr = bt(({ sdk: t, swipeable: e = !0, onEvent: s = Cr, overlay: r }) => {
3400
+ ) : /* @__PURE__ */ P(Le, {}), Gr = wt(({ sdk: t, swipeable: e = !0, onEvent: s = Cr, overlay: r }) => {
3399
3401
  const n = Se(t.featuresList.getStore()), i = He(() => t.getFeature(qe.GAMES), [n]), l = Se(t.getUserStore());
3400
3402
  return X(() => (t.writeOverlaySessionId(), () => {
3401
3403
  t.writeOverlaySessionId("");
@@ -3409,5 +3411,5 @@ view this resource.`
3409
3411
  });
3410
3412
  export {
3411
3413
  Gr as Q,
3412
- jr as n
3414
+ Hr as n
3413
3415
  };
package/lib/es/insight.js CHANGED
@@ -1,35 +1,40 @@
1
- import { jsx as u, jsxs as l } from "react/jsx-runtime";
2
- import { useRef as h, useEffect as p } from "react";
3
- import { a as m, s as f, T as S, u as I, b as g, h as v, S as k } from "./provider.js";
1
+ import { jsx as u, jsxs as c } from "react/jsx-runtime";
2
+ import { useRef as l, useEffect as h } from "react";
3
+ import "@nanostores/react";
4
+ import "nanostores";
5
+ import { f as m, s as f, T as S, u as I, d as g, h as v, a as k } from "./provider.js";
6
+ import "lodash.throttle";
7
+ import "react-dom";
8
+ import "react-countup";
4
9
  import { S as y } from "./useStreamLayerApp2.js";
5
- const Q = () => S, b = /* @__PURE__ */ f(Q())({
10
+ const Q = () => S, L = /* @__PURE__ */ f(Q())({
6
11
  name: "QuestionWrap",
7
12
  class: "q10hhsxv",
8
13
  propsAsIs: !0
9
- }), L = ({
14
+ }), b = ({
10
15
  gamification: e,
11
16
  sdk: n,
12
17
  persistent: i,
13
- skipAutoClose: a,
14
- hideHeader: o,
18
+ skipAutoClose: o,
19
+ hideHeader: a,
15
20
  insightId: t
16
21
  }) => {
17
- const r = h(""), c = m(e.openedQuestion.$store);
18
- return p(() => t ? (!i || e.isOpenedQuestion(t) || (r.current = t, e.getFeedItem(t).then((s) => {
22
+ const s = l(""), p = m(e.openedQuestion.$store);
23
+ return h(() => t ? (!i || e.isOpenedQuestion(t) || (s.current = t, e.getFeedItem(t).then((r) => {
19
24
  var d;
20
- r.current === t && ((d = s == null ? void 0 : s.attributes) == null ? void 0 : d.attributes.case) === "insight" && e.openQuestion(t, s);
25
+ s.current === t && ((d = r == null ? void 0 : r.attributes) == null ? void 0 : d.attributes.case) === "insight" && e.openQuestion(t, r);
21
26
  })), () => {
22
- r.current = "";
27
+ s.current = "";
23
28
  }) : (e.activeQuestionId.subscribe(({
24
- data: s
29
+ data: r
25
30
  }) => {
26
31
  var d;
27
- s && ((d = s.feedItem) == null ? void 0 : d.type) === "insight" && (!i || e.isOpenedQuestion(s.feedItem.id) || (r.current = s.feedItem.id, e.openQuestion(s.feedItem.id, s.feedItem))), !s && r.current && (e.closeQuestion(r.current), r.current = "");
32
+ r && ((d = r.feedItem) == null ? void 0 : d.type) === "insight" && (!i || e.isOpenedQuestion(r.feedItem.id) || (s.current = r.feedItem.id, e.openQuestion(r.feedItem.id, r.feedItem))), !r && s.current && (e.closeQuestion(s.current), s.current = "");
28
33
  }), () => {
29
- }), [e, i, t]), c ? /* @__PURE__ */ u(b, {
34
+ }), [e, i, t]), p ? /* @__PURE__ */ u(L, {
30
35
  sdk: n,
31
- skipAutoClose: a,
32
- hideHeader: o,
36
+ skipAutoClose: o,
37
+ hideHeader: a,
33
38
  gamification: e,
34
39
  hideSponsor: !0
35
40
  }) : null;
@@ -37,42 +42,42 @@ const Q = () => S, b = /* @__PURE__ */ f(Q())({
37
42
  sdk: e,
38
43
  persistent: n,
39
44
  skipAutoClose: i,
40
- insightId: a,
41
- hideHeader: o
45
+ insightId: o,
46
+ hideHeader: a
42
47
  }) => {
43
48
  if (!m(e.featuresList.getStore()))
44
49
  return null;
45
50
  const t = e.getFeature(y.GAMES);
46
- return t ? /* @__PURE__ */ u(L, {
47
- insightId: a,
51
+ return t ? /* @__PURE__ */ u(b, {
52
+ insightId: o,
48
53
  sdk: e,
49
54
  persistent: n,
50
- hideHeader: o,
55
+ hideHeader: a,
51
56
  gamification: t,
52
57
  skipAutoClose: i
53
58
  }) : null;
54
- }, H = ({
59
+ }, j = ({
55
60
  event: e,
56
61
  theme: n,
57
62
  hideHeader: i,
58
- skipAutoClose: a,
59
- persistent: o
63
+ skipAutoClose: o,
64
+ persistent: a
60
65
  }) => {
61
- const t = I(), r = g();
62
- return t ? /* @__PURE__ */ l("div", { className: "StreamLayerSDK", children: [
63
- /* @__PURE__ */ u(v, { customTheme: n ?? r.theme, themeMode: r.themeMode, children: /* @__PURE__ */ u(
66
+ const t = I(), s = g();
67
+ return t ? /* @__PURE__ */ c("div", { className: "StreamLayerSDK", children: [
68
+ /* @__PURE__ */ u(v, { customTheme: n ?? s.theme, themeMode: s.themeMode, children: /* @__PURE__ */ u(
64
69
  A,
65
70
  {
66
- skipAutoClose: a,
71
+ skipAutoClose: o,
67
72
  sdk: t,
68
73
  hideHeader: i,
69
- persistent: o
74
+ persistent: a
70
75
  }
71
76
  ) }),
72
77
  e !== void 0 && /* @__PURE__ */ u(k, { event: e })
73
78
  ] }) : null;
74
79
  };
75
80
  export {
76
- H as StreamLayerSDKInsight,
81
+ j as StreamLayerSDKInsight,
77
82
  A as StreamLayerSDKInsightUI
78
83
  };
@@ -1,8 +1,11 @@
1
1
  import { jsx as s, jsxs as h, Fragment as x } from "react/jsx-runtime";
2
- import { s as c, i as Y, a as m, A as N, n as V, F as a2, y as l2, o as d2, x as c2, p as p2, l as C2, t as u2, q as m2, z as f2, r as h2, R as j, v as P, j as A, B as X, I as g2, w as v2, C as E2, e as L2, N as w, D as M, E as S2, G as _2, H as T2, J as N2, K as b, L as z, M as J, O as e2, m as F, P as I2, Q as b2, S as R2, U as A2, V as y2 } from "./provider.js";
3
- import { useRef as I, useState as _, useEffect as v, createContext as k2, useContext as n2, lazy as w2, useMemo as y, Suspense as x2, forwardRef as D2, useLayoutEffect as F2, useCallback as $, Component as O2 } from "react";
4
- import { n as B2 } from "./index2.js";
5
- import { Q as V2, S as k } from "./useStreamLayerApp2.js";
2
+ import { s as c, k as Y, f as m, A as N, F as a2, v as l2, w as d2, x as c2, z as p2, p as C2, C as u2, D as m2, G as f2, H as h2, I as j, J as P, n as A, B as X, K as g2, L as v2, M as E2, e as L2, N as w, P as M, Q as S2, R as _2, U as T2, V as b, W as z, r as J, X as e2, m as F, Y as N2, S as I2, a as b2, Z as R2, _ as A2 } from "./provider.js";
3
+ import V from "lodash.throttle";
4
+ import { useRef as I, useState as _, useEffect as v, createContext as y2, useContext as n2, lazy as k2, useMemo as y, Suspense as w2, forwardRef as x2, useLayoutEffect as D2, useCallback as $, Component as F2 } from "react";
5
+ import { n as O2 } from "./index2.js";
6
+ import "nanostores";
7
+ import { Q as B2, S as k } from "./useStreamLayerApp2.js";
8
+ import { createPortal as V2 } from "react-dom";
6
9
  const $2 = /* @__PURE__ */ c("div")({
7
10
  name: "SDKContainer",
8
11
  class: "s8zgqze",
@@ -97,7 +100,7 @@ const $2 = /* @__PURE__ */ c("div")({
97
100
  });
98
101
  }
99
102
  return t;
100
- }, i2 = k2({
103
+ }, i2 = y2({
101
104
  sdk: null
102
105
  }), U = () => n2(i2), Z2 = /* @__PURE__ */ c("div")({
103
106
  name: "QuestionContainer",
@@ -144,7 +147,7 @@ const $2 = /* @__PURE__ */ c("div")({
144
147
  return /* @__PURE__ */ h(Z2, {
145
148
  children: [/* @__PURE__ */ s(l2, {
146
149
  close: n.closeQuestion,
147
- type: ((e = t.attributes) == null ? void 0 : e.type) || V2.UNSET,
150
+ type: ((e = t.attributes) == null ? void 0 : e.type) || B2.UNSET,
148
151
  mastersApp: !0
149
152
  }), o === "question" && /* @__PURE__ */ s(Y2, {
150
153
  vote: n.submitAnswer,
@@ -178,7 +181,7 @@ const $2 = /* @__PURE__ */ c("div")({
178
181
  name: "OpenedContainer",
179
182
  class: "o1seszvt",
180
183
  propsAsIs: !0
181
- }), s1 = ({
184
+ }), r1 = ({
182
185
  gamification: n,
183
186
  className: e
184
187
  }) => /* @__PURE__ */ s(e0, {
@@ -216,10 +219,10 @@ const $2 = /* @__PURE__ */ c("div")({
216
219
  })
217
220
  })
218
221
  });
219
- }, o0 = w2(() => import("./gamification-feature2.js")), r0 = ({ sdk: n, feature: e, className: t }) => {
222
+ }, o0 = k2(() => import("./gamification-feature2.js")), r0 = ({ sdk: n, feature: e, className: t }) => {
220
223
  const i = y(() => e && e.featureConfig.get().type === k.GAMES ? /* @__PURE__ */ s(Q2, { className: t, sdk: n, feature: e, children: /* @__PURE__ */ s(o0, { className: t, gamification: e }) }) : null, [n, e, t]);
221
224
  return /* @__PURE__ */ s(
222
- x2,
225
+ w2,
223
226
  {
224
227
  fallback: /* @__PURE__ */ s("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", width: "100%", height: "100%" }, children: "page loading..." }),
225
228
  children: i
@@ -246,7 +249,7 @@ const $2 = /* @__PURE__ */ c("div")({
246
249
  name: "Title",
247
250
  class: "t1bqnx9c",
248
251
  propsAsIs: !1
249
- }), p0 = "hlc2pcy", C0 = D2(({
252
+ }), p0 = "hlc2pcy", C0 = x2(({
250
253
  className: n
251
254
  }, e) => /* @__PURE__ */ h(l0, {
252
255
  className: A(n, p0),
@@ -408,7 +411,7 @@ const $2 = /* @__PURE__ */ c("div")({
408
411
  } = m(a, {
409
412
  keys: ["screen"]
410
413
  });
411
- (r = l == null ? void 0 : l.titleCard) != null && r.media && (l.titleCard.media.sponsorLogo = T0), F2(() => {
414
+ (r = l == null ? void 0 : l.titleCard) != null && r.media && (l.titleCard.media.sponsorLogo = T0), D2(() => {
412
415
  var L;
413
416
  t(((L = d.current) == null ? void 0 : L.getBoundingClientRect().height) || 0);
414
417
  }, [t]);
@@ -567,8 +570,8 @@ const $2 = /* @__PURE__ */ c("div")({
567
570
  a.get().sdkInDesktopView || d ? f < 50 && e(null) : f > -50 && e(null);
568
571
  }, [f, a, e, d]);
569
572
  const E = a.get().sdkInDesktopView ? t : i;
570
- return !n || !E.current ? null : _2.createPortal(/* @__PURE__ */ s(O0, {
571
- title: n.type === w.QUESTION_RESOLVED ? "Prediction result" : `New ${((C = T2[(l = n.data) == null ? void 0 : l.questionType]) == null ? void 0 : C.label) || "notification"}`,
573
+ return !n || !E.current ? null : V2(/* @__PURE__ */ s(O0, {
574
+ title: n.type === w.QUESTION_RESOLVED ? "Prediction result" : `New ${((C = _2[(l = n.data) == null ? void 0 : l.questionType]) == null ? void 0 : C.label) || "notification"}`,
572
575
  onClick: () => {
573
576
  var S;
574
577
  a.get().sdkInDesktopView ? (S = o.current) == null || S.scrollTo({
@@ -662,7 +665,7 @@ const $2 = /* @__PURE__ */ c("div")({
662
665
  };
663
666
  }, [e, n]), [e];
664
667
  }, G0 = {
665
- ...N2,
668
+ ...T2,
666
669
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
667
670
  // @ts-expect-error
668
671
  BG_TRANSPARENT: "rgba(0,0,0, .8)",
@@ -747,7 +750,7 @@ const $2 = /* @__PURE__ */ c("div")({
747
750
  --header-offset: 0px;
748
751
  `}`;
749
752
  const z0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ s("div", { className: A("masters-theme", z0), style: e, children: n }) }), q0 = ({ sdk: n, className: e }) => {
750
- const [, t] = I2(n);
753
+ const [, t] = N2(n);
751
754
  return /* @__PURE__ */ s(r0, { className: e, feature: t, sdk: n });
752
755
  }, Q0 = ({ sdk: n, className: e, appNode: t, responsiveStore: i, useContainer: o }) => {
753
756
  const a = m(n.featuresList.getStore());
@@ -768,7 +771,7 @@ const z0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("di
768
771
  }) : null;
769
772
  }, Z0 = (n) => {
770
773
  const e = I(null);
771
- return J(e, { enabled: !0, event: "click", listener: e2 }), /* @__PURE__ */ s(B2, { ref: e, ...n });
774
+ return J(e, { enabled: !0, event: "click", listener: e2 }), /* @__PURE__ */ s(O2, { ref: e, ...n });
772
775
  }, W0 = ({ sdk: n, useContainer: e }) => {
773
776
  const t = I(null), i = m(n.status), o = m(n.sdkStore.slStreamId), a = I(null), [r] = U0(t), [d, l] = q2(t, r, e), C = i === "ready" && !!o.data;
774
777
  return v(() => {
@@ -825,8 +828,8 @@ const z0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("di
825
828
  ),
826
829
  !i && /* @__PURE__ */ s(W0, { sdk: n, useContainer: t })
827
830
  ] });
828
- }, i1 = ({ sdkKey: n, plugins: e, children: t, event: i, onDeepLinkHandled: o, videoPlayerController: a, production: r = !0 }) => /* @__PURE__ */ h(
829
- b2,
831
+ }, a1 = ({ sdkKey: n, plugins: e, children: t, event: i, onDeepLinkHandled: o, videoPlayerController: a, production: r = !0 }) => /* @__PURE__ */ h(
832
+ I2,
830
833
  {
831
834
  sdkKey: n,
832
835
  plugins: e,
@@ -838,7 +841,7 @@ const z0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("di
838
841
  skipOnboarding: !0,
839
842
  hideFriends: !0,
840
843
  children: [
841
- /* @__PURE__ */ s(R2, { event: i }),
844
+ /* @__PURE__ */ s(b2, { event: i }),
842
845
  t
843
846
  ]
844
847
  }
@@ -846,10 +849,10 @@ const z0 = "m1ojpy2l", K0 = ({ children: n, style: e }) => /* @__PURE__ */ s("di
846
849
  betPack: n,
847
850
  useContainer: e
848
851
  }) => {
849
- const { sdk: t, status: i } = n2(A2);
850
- return i === y2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : t ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(K0, { style: { height: "100%" }, children: /* @__PURE__ */ s(Y0, { sdk: t, betPack: n, useContainer: e }) }) }) : null;
852
+ const { sdk: t, status: i } = n2(R2);
853
+ return i === A2.UNSET ? (console.error("Wrap app in `StreamLayerProvider`"), null) : t ? /* @__PURE__ */ s("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ s(K0, { style: { height: "100%" }, children: /* @__PURE__ */ s(Y0, { sdk: t, betPack: n, useContainer: e }) }) }) : null;
851
854
  };
852
- class o1 extends O2 {
855
+ class l1 extends F2 {
853
856
  constructor(e) {
854
857
  super(e), this.state = { hasError: !1 };
855
858
  }
@@ -864,7 +867,7 @@ class o1 extends O2 {
864
867
  }
865
868
  }
866
869
  export {
867
- s1 as C,
868
- i1 as M,
869
- o1 as a
870
+ r1 as C,
871
+ a1 as M,
872
+ l1 as a
870
873
  };