@streamlayer/react 1.11.3-rc.5 → 1.11.3

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 (96) hide show
  1. package/lib/app/advertisement.d.ts +18 -0
  2. package/lib/app/app.d.ts +19 -0
  3. package/lib/{auth.d.ts → app/auth.d.ts} +4 -13
  4. package/lib/app/event.d.ts +4 -0
  5. package/lib/app/insight.d.ts +13 -0
  6. package/lib/app/masters.d.ts +28 -0
  7. package/lib/app/notification.d.ts +5 -0
  8. package/lib/app/points.d.ts +3 -0
  9. package/lib/app/provider.d.ts +43 -0
  10. package/lib/app/useStreamLayerApp.d.ts +19 -0
  11. package/lib/cjs/advertisement.js +1 -1
  12. package/lib/cjs/auth.js +1 -1
  13. package/lib/cjs/gamification-feature.js +1 -1
  14. package/lib/cjs/gamification-feature2.js +1 -0
  15. package/lib/cjs/index.js +1 -1
  16. package/lib/cjs/insight.js +1 -1
  17. package/lib/cjs/masters.js +1 -0
  18. package/lib/cjs/masters2.js +9 -0
  19. package/lib/cjs/notification.js +1 -1
  20. package/lib/cjs/points.js +1 -1
  21. package/lib/cjs/provider.js +98 -85
  22. package/lib/cjs/useStreamLayerApp2.js +17 -15
  23. package/lib/classic/app/advertisement.d.ts +18 -0
  24. package/lib/classic/app/app.d.ts +19 -0
  25. package/lib/classic/{auth.d.ts → app/auth.d.ts} +4 -13
  26. package/lib/classic/app/event.d.ts +4 -0
  27. package/lib/classic/app/insight.d.ts +13 -0
  28. package/lib/classic/app/masters.d.ts +28 -0
  29. package/lib/classic/app/notification.d.ts +5 -0
  30. package/lib/classic/app/points.d.ts +3 -0
  31. package/lib/classic/app/provider.d.ts +43 -0
  32. package/lib/classic/app/useStreamLayerApp.d.ts +19 -0
  33. package/lib/classic/cjs/advertisement.js +1 -1
  34. package/lib/classic/cjs/auth.js +1 -1
  35. package/lib/classic/cjs/gamification-feature.js +1 -1
  36. package/lib/classic/cjs/gamification-feature2.js +1 -0
  37. package/lib/classic/cjs/index.js +1 -1
  38. package/lib/classic/cjs/insight.js +1 -1
  39. package/lib/classic/cjs/masters.js +1 -0
  40. package/lib/classic/cjs/masters2.js +9 -0
  41. package/lib/classic/cjs/notification.js +1 -1
  42. package/lib/classic/cjs/points.js +1 -1
  43. package/lib/classic/cjs/provider.js +98 -85
  44. package/lib/classic/cjs/useStreamLayerApp2.js +17 -15
  45. package/lib/classic/es/advertisement.js +619 -719
  46. package/lib/classic/es/auth.js +2 -5
  47. package/lib/classic/es/gamification-feature.js +1 -1
  48. package/lib/classic/es/gamification-feature2.js +4 -0
  49. package/lib/classic/es/index.js +14 -11
  50. package/lib/classic/es/insight.js +33 -33
  51. package/lib/classic/es/masters.js +8 -0
  52. package/lib/classic/es/masters2.js +1106 -0
  53. package/lib/classic/es/notification.js +378 -453
  54. package/lib/classic/es/points.js +39 -64
  55. package/lib/classic/es/provider.js +15850 -13307
  56. package/lib/classic/es/useStreamLayerApp2.js +8135 -4692
  57. package/lib/classic/index.d.ts +14 -218
  58. package/lib/classic/masters.d.ts +5 -0
  59. package/lib/classic/style.css +1 -455
  60. package/lib/dist/cjs/gamification-feature.js +1 -0
  61. package/lib/dist/cjs/gamification-feature2.js +1 -0
  62. package/lib/dist/cjs/index.js +1 -0
  63. package/lib/dist/cjs/masters.js +219 -0
  64. package/lib/dist/cjs/package.json +1 -0
  65. package/lib/dist/es/gamification-feature.js +4 -0
  66. package/lib/dist/es/gamification-feature2.js +123 -0
  67. package/lib/dist/es/index.js +9 -0
  68. package/lib/dist/es/masters.js +42736 -0
  69. package/lib/dist/es/package.json +1 -0
  70. package/lib/dist/style.css +1 -0
  71. package/lib/es/advertisement.js +619 -719
  72. package/lib/es/auth.js +2 -5
  73. package/lib/es/gamification-feature.js +1 -1
  74. package/lib/es/gamification-feature2.js +4 -0
  75. package/lib/es/index.js +14 -11
  76. package/lib/es/insight.js +33 -33
  77. package/lib/es/masters.js +8 -0
  78. package/lib/es/masters2.js +1106 -0
  79. package/lib/es/notification.js +378 -453
  80. package/lib/es/points.js +39 -64
  81. package/lib/es/provider.js +15856 -13306
  82. package/lib/es/useStreamLayerApp2.js +8135 -4692
  83. package/lib/index.d.ts +14 -218
  84. package/lib/masters.d.ts +5 -0
  85. package/lib/style.css +1 -1
  86. package/package.json +57 -3
  87. package/lib/advertisement.d.ts +0 -146
  88. package/lib/classic/advertisement.d.ts +0 -146
  89. package/lib/classic/insight.d.ts +0 -136
  90. package/lib/classic/notification.d.ts +0 -120
  91. package/lib/classic/points.d.ts +0 -12
  92. package/lib/classic/useStreamLayerApp.d.ts +0 -167
  93. package/lib/insight.d.ts +0 -136
  94. package/lib/notification.d.ts +0 -120
  95. package/lib/points.d.ts +0 -12
  96. package/lib/useStreamLayerApp.d.ts +0 -167
@@ -1,855 +1,755 @@
1
- import { jsx as o, jsxs as v, Fragment as ce } from "react/jsx-runtime";
2
- import { s, e as pe, L as Se, g as L, i as D, j as me, k as Le, p as Ce, u as _e, c as Me, d as xe, a as E, h as Oe } from "./provider.js";
3
- import { useEffect as M, useRef as G, useState as w, useCallback as Be } from "react";
4
- import { N, S as Re, a as ue, P, b as ve, c as Ae, C as fe, d as _, A as we, e as De } from "./useStreamLayerApp2.js";
5
- import "@bufbuild/protobuf";
6
- const qe = () => Xe, Ve = () => W, ze = /* @__PURE__ */ s("div")({
7
- name: "Ue",
8
- class: "uyu7xk0",
9
- propsAsIs: !1
10
- }), Ue = "fqz8iof", je = "gxr1krc", Ge = "h13v49g2", Fe = "wa4hjtn", We = "q1ymob7l", He = (e) => e === "left" || e === "right" ? je : Fe, $e = (e) => e === "left" || e === "right" ? Ge : We, Ke = (e) => e === "left" ? "q1fdesan" : e === "right" ? "qbseob7" : e === "top" ? "q75ycmf" : "q4whugf", F = ({
11
- children: e,
12
- style: t,
13
- className: a,
14
- enabled: n = !0,
15
- hiding: r,
16
- direction: i = "left",
1
+ import { jsx as e, jsxs as v, Fragment as po } from "react/jsx-runtime";
2
+ import { useRef as F, useState as R, useCallback as Mo, useEffect as L } from "react";
3
+ import { e as M, s as n, f as Po, g as mo, i as D, Y as ko, a as uo, L as Lo, u as Oo, j as _o, b as Bo, S as T, h as xo } from "./provider.js";
4
+ import { N, a as vo, b as Ao, C as go, c as ho, P as k, d as S, A as Ro, e as Do, S as qo } from "./useStreamLayerApp2.js";
5
+ const wo = /* @__PURE__ */ n("div")({
6
+ name: "Container",
7
+ class: "c5b6wdg",
8
+ propsAsIs: !1
9
+ }), Vo = "a1rlj479", jo = "s35f1di", Uo = "sj4471g", Fo = "b12050d8", zo = "b1d5ybek", Go = (o) => o === "left" || o === "right" ? jo : Fo, Wo = (o) => o === "left" || o === "right" ? Uo : zo, Ho = (o) => o === "left" ? "avdxyl3" : o === "right" ? "a1bisd08" : o === "top" ? "a1u9y2aj" : "a1qqaks", z = ({
10
+ children: o,
11
+ style: s,
12
+ className: i,
13
+ enabled: t = !0,
14
+ hiding: l,
15
+ direction: r = "left",
17
16
  onAnimationEnd: c
18
- }) => /* @__PURE__ */ o(ze, {
19
- style: t,
20
- className: L(a, Ue, Ke(i), n && !r && He(i), n && r && $e(i)),
17
+ }) => /* @__PURE__ */ e(wo, {
18
+ style: s,
19
+ className: M(i, Vo, Ho(r), t && !l && Go(r), t && l && Wo(r)),
21
20
  onAnimationEnd: c,
22
- children: e
23
- }), Xe = /* @__PURE__ */ s("a")({
24
- name: "Ve",
25
- class: "vgopyvs",
26
- propsAsIs: !1
27
- }), Ye = /* @__PURE__ */ s("div")({
28
- name: "Xe",
29
- class: "x1l2v9sz",
30
- propsAsIs: !1
31
- }), Je = /* @__PURE__ */ s(qe())({
32
- name: "Ye",
33
- class: "y1rsbbux",
21
+ children: o
22
+ }), Ko = /* @__PURE__ */ n("a")({
23
+ name: "Link",
24
+ class: "l1sgte8c",
25
+ propsAsIs: !1
26
+ }), Yo = /* @__PURE__ */ n("div")({
27
+ name: "BannerContainer",
28
+ class: "b7yfc72",
29
+ propsAsIs: !1
30
+ }), Jo = () => Ko, Zo = /* @__PURE__ */ n(Jo())({
31
+ name: "BannerLink",
32
+ class: "bejjq94",
34
33
  propsAsIs: !0
35
- }), Qe = ({
36
- promotion: e,
37
- promotionId: t,
38
- hiding: a,
39
- direction: n = "bottom"
40
- }) => {
41
- var r, i;
42
- if (!((r = e.additionalBanner) != null && r.imageUrl)) return null;
43
- let c = (i = e.additionalBanner) == null ? void 0 : i.url;
44
- return c && c.indexOf("http") !== 0 && (c = `https://${c}`), /* @__PURE__ */ o(F, {
45
- direction: n,
46
- hiding: a,
47
- children: /* @__PURE__ */ o(Ye, {
48
- className: "BannerContainer",
49
- children: /* @__PURE__ */ o(Je, {
50
- as: c ? "a" : "span",
51
- className: "BannerLink",
52
- href: c,
53
- style: {
54
- backgroundImage: `url(${e.additionalBanner.imageUrl})`,
55
- cursor: c ? "pointer" : "default"
56
- },
57
- "data-promo-id": t,
58
- "data-promo-type": e.type,
59
- "data-analytics": "banner",
60
- target: "_blank"
61
- })
62
- })
63
- });
64
- }, Ze = /* @__PURE__ */ s("div")({
65
- name: "ye",
66
- class: "yi8uu2r",
67
- propsAsIs: !1
68
- }), eo = /* @__PURE__ */ s("div")({
69
- name: "we",
70
- class: "wen854k",
71
- propsAsIs: !1
72
- }), oo = /* @__PURE__ */ s("div")({
73
- name: "Ne",
74
- class: "nlclczp",
75
- propsAsIs: !1
76
- }), so = /* @__PURE__ */ s("div")({
77
- name: "Ie",
78
- class: "i1pzq9dr",
79
- propsAsIs: !1
80
- }), W = /* @__PURE__ */ s("div")({
81
- name: "S",
82
- class: "s5vuv05",
83
- propsAsIs: !1
84
- }), to = /* @__PURE__ */ s(Ve())({
85
- name: "Ae",
86
- class: "a1g1k4vx",
34
+ }), Qo = ({ promotion: o, promotionId: s, hiding: i, direction: t = "bottom" }) => {
35
+ var l, r;
36
+ if (!((l = o.additionalBanner) != null && l.imageUrl))
37
+ return null;
38
+ let c = (r = o.additionalBanner) == null ? void 0 : r.url;
39
+ return c && c.indexOf("http") !== 0 && (c = `https://${c}`), /* @__PURE__ */ e(z, { direction: t, hiding: i, children: /* @__PURE__ */ e(Yo, { className: "BannerContainer", children: /* @__PURE__ */ e(
40
+ Zo,
41
+ {
42
+ as: c ? "a" : "span",
43
+ className: "BannerLink",
44
+ href: c,
45
+ style: {
46
+ backgroundImage: `url(${o.additionalBanner.imageUrl})`,
47
+ cursor: c ? "pointer" : "default"
48
+ },
49
+ "data-promo-id": s,
50
+ "data-promo-type": o.type,
51
+ "data-analytics": "banner",
52
+ target: "_blank"
53
+ }
54
+ ) }) });
55
+ }, Xo = /* @__PURE__ */ n("div")({
56
+ name: "NotificationContent",
57
+ class: "n18wsqoo",
58
+ propsAsIs: !1
59
+ }), oe = /* @__PURE__ */ n("div")({
60
+ name: "Body",
61
+ class: "b1ia90c2",
62
+ propsAsIs: !1
63
+ }), ee = /* @__PURE__ */ n("div")({
64
+ name: "Title",
65
+ class: "tg2z08v",
66
+ propsAsIs: !1
67
+ }), ne = /* @__PURE__ */ n("div")({
68
+ name: "Text",
69
+ class: "t59zdk1",
70
+ propsAsIs: !1
71
+ }), G = /* @__PURE__ */ n("div")({
72
+ name: "MediaImgBottom",
73
+ class: "m1ab9fq",
74
+ propsAsIs: !1
75
+ }), se = () => G, te = /* @__PURE__ */ n(se())({
76
+ name: "MediaImgMiddle",
77
+ class: "m9fsr0y",
87
78
  propsAsIs: !0
88
- }), no = /* @__PURE__ */ s("img")({
89
- name: "et",
90
- class: "e1o3sc8x",
91
- propsAsIs: !1
92
- }), ao = /* @__PURE__ */ s("button")({
93
- name: "Te",
94
- class: "tlks1dc",
95
- propsAsIs: !1
96
- }), lo = /* @__PURE__ */ s("div")({
97
- name: "tt",
98
- class: "t1pckims",
99
- propsAsIs: !1
100
- }), io = /* @__PURE__ */ s("div")({
101
- name: "it",
102
- class: "i11ap48y",
103
- propsAsIs: !1
104
- }), ro = /* @__PURE__ */ s("div")({
105
- name: "ot",
106
- class: "o1n7skcl",
107
- propsAsIs: !1
108
- }), co = /* @__PURE__ */ s("div")({
109
- name: "nt",
110
- class: "n1c1yghr",
111
- propsAsIs: !1
112
- }), po = {
113
- [N.BOTTOM]: W,
114
- [N.MIDDLE]: to
115
- }, mo = ({
116
- src: e,
117
- imagePosition: t
118
- }) => {
119
- const a = po[t] || W;
120
- return /* @__PURE__ */ o(a, {
121
- children: /* @__PURE__ */ o("img", {
122
- src: e,
123
- alt: ""
124
- })
125
- });
126
- }, uo = ({
127
- notification: e,
128
- open: t
129
- }) => {
130
- if (!e || !e.promotion || e.enabled !== ve.NOTIFICATION_ENABLED) return null;
131
- const {
132
- title: a,
133
- body: n,
134
- image: r,
135
- promotion: i
136
- } = e, {
137
- sponsorLogo: c,
138
- sponsorLogoMode: m,
139
- imagePosition: A,
140
- ctaButton: l
141
- } = i;
142
- return /* @__PURE__ */ v(co, {
143
- className: "SL_Lower_Third_Notification",
144
- onClick: t,
145
- children: [/* @__PURE__ */ v(Ze, {
146
- children: [/* @__PURE__ */ o(mo, {
147
- src: r,
148
- imagePosition: A
149
- }), /* @__PURE__ */ v(eo, {
150
- children: [a && /* @__PURE__ */ o(oo, {
151
- children: a
152
- }), n && /* @__PURE__ */ o(so, {
153
- children: n
154
- })]
155
- })]
156
- }), /* @__PURE__ */ v(io, {
157
- children: [m !== Ae.NOTIFICATION_SPONSOR_LOGO_NONE && /* @__PURE__ */ v(ce, {
158
- children: [/* @__PURE__ */ o(lo, {
159
- children: /* @__PURE__ */ o("img", {
160
- src: c,
161
- alt: a
162
- })
163
- }), /* @__PURE__ */ o(ro, {})]
164
- }), /* @__PURE__ */ v(ao, {
165
- name: "promo-button",
166
- style: {
167
- color: l == null ? void 0 : l.textColor,
168
- backgroundColor: l == null ? void 0 : l.color
169
- },
170
- children: [(l == null ? void 0 : l.ctaIcon) && (l == null ? void 0 : l.ctaIconMode) === fe.CTA_ICON_TRANSPARENT && /* @__PURE__ */ o(no, {
171
- src: l == null ? void 0 : l.ctaIcon,
172
- alt: "cta-icon"
173
- }), (l == null ? void 0 : l.label) || "Open"]
174
- })]
175
- })]
176
- });
177
- }, vo = () => q, Ao = () => q, fo = () => he, ho = () => q, go = () => q, yo = () => Ce, Io = /* @__PURE__ */ s("div")({
178
- name: "st",
179
- class: "skov865",
180
- propsAsIs: !1
181
- }), bo = /* @__PURE__ */ s("div")({
182
- name: "lt",
183
- class: "lw55zje",
184
- propsAsIs: !1
185
- }), No = /* @__PURE__ */ s("div")({
186
- name: "ct",
187
- class: "cp3zokn",
188
- propsAsIs: !1
189
- }), ko = /* @__PURE__ */ s("div")({
190
- name: "ht",
191
- class: "hleka6v",
192
- propsAsIs: !1
193
- }), To = /* @__PURE__ */ s("div")({
194
- name: "mt",
195
- class: "m1dpdc6q",
196
- propsAsIs: !1
197
- }), q = /* @__PURE__ */ s("div")({
198
- name: "_",
199
- class: "_xhq0ob",
200
- propsAsIs: !1
201
- }), ae = /* @__PURE__ */ s(vo())({
202
- name: "se",
203
- class: "s17r872u",
79
+ }), ie = /* @__PURE__ */ n("img")({
80
+ name: "CtaIcon",
81
+ class: "cvi9y5q",
82
+ propsAsIs: !1
83
+ }), ae = /* @__PURE__ */ n("button")({
84
+ name: "Button",
85
+ class: "bgl6boa",
86
+ propsAsIs: !1
87
+ }), re = /* @__PURE__ */ n("div")({
88
+ name: "Logo",
89
+ class: "l5mq0z",
90
+ propsAsIs: !1
91
+ }), le = /* @__PURE__ */ n("div")({
92
+ name: "Footer",
93
+ class: "f1mse0ft",
94
+ propsAsIs: !1
95
+ }), de = /* @__PURE__ */ n("div")({
96
+ name: "Vector",
97
+ class: "v1hcloah",
98
+ propsAsIs: !1
99
+ }), ce = /* @__PURE__ */ n("div")({
100
+ name: "NotificationContainer",
101
+ class: "n3n65jf",
102
+ propsAsIs: !1
103
+ }), pe = {
104
+ [N.BOTTOM]: G,
105
+ [N.MIDDLE]: te
106
+ }, me = ({ src: o, imagePosition: s }) => {
107
+ const i = pe[s] || G;
108
+ return /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e("img", { src: o, alt: "" }) });
109
+ }, ue = ({ notification: o, open: s }) => {
110
+ if (!o || !o.promotion || o.enabled !== vo.NOTIFICATION_ENABLED)
111
+ return null;
112
+ const { title: i, body: t, image: l, promotion: r } = o, { sponsorLogo: c, sponsorLogoMode: m, imagePosition: A, ctaButton: a } = r;
113
+ return /* @__PURE__ */ v(ce, { className: "SL_Lower_Third_Notification", onClick: s, children: [
114
+ /* @__PURE__ */ v(Xo, { children: [
115
+ /* @__PURE__ */ e(me, { src: l, imagePosition: A }),
116
+ /* @__PURE__ */ v(oe, { children: [
117
+ i && /* @__PURE__ */ e(ee, { children: i }),
118
+ t && /* @__PURE__ */ e(ne, { children: t })
119
+ ] })
120
+ ] }),
121
+ /* @__PURE__ */ v(le, { children: [
122
+ m !== Ao.NOTIFICATION_SPONSOR_LOGO_NONE && /* @__PURE__ */ v(po, { children: [
123
+ /* @__PURE__ */ e(re, { children: /* @__PURE__ */ e("img", { src: c, alt: i }) }),
124
+ /* @__PURE__ */ e(de, {})
125
+ ] }),
126
+ /* @__PURE__ */ v(ae, { name: "promo-button", style: { color: a == null ? void 0 : a.textColor, backgroundColor: a == null ? void 0 : a.color }, children: [
127
+ (a == null ? void 0 : a.ctaIcon) && (a == null ? void 0 : a.ctaIconMode) === go.CTA_ICON_TRANSPARENT && /* @__PURE__ */ e(ie, { src: a == null ? void 0 : a.ctaIcon, alt: "cta-icon" }),
128
+ (a == null ? void 0 : a.label) || "Open"
129
+ ] })
130
+ ] })
131
+ ] });
132
+ }, ve = /* @__PURE__ */ n("div")({
133
+ name: "NotificationContent",
134
+ class: "n1ku6hz",
135
+ propsAsIs: !1
136
+ }), Ae = /* @__PURE__ */ n("div")({
137
+ name: "NotificationContainer",
138
+ class: "nbxqmol",
139
+ propsAsIs: !1
140
+ }), ge = /* @__PURE__ */ n("div")({
141
+ name: "Body",
142
+ class: "b1gu3eml",
143
+ propsAsIs: !1
144
+ }), he = /* @__PURE__ */ n("div")({
145
+ name: "Title",
146
+ class: "t1u17zva",
147
+ propsAsIs: !1
148
+ }), Ie = /* @__PURE__ */ n("div")({
149
+ name: "Text",
150
+ class: "t10ko1g",
151
+ propsAsIs: !1
152
+ }), q = /* @__PURE__ */ n("div")({
153
+ name: "Media",
154
+ class: "mntc42e",
155
+ propsAsIs: !1
156
+ }), ye = () => q, io = /* @__PURE__ */ n(ye())({
157
+ name: "MediaImgFit",
158
+ class: "ml060eo",
204
159
  propsAsIs: !0
205
- }), he = /* @__PURE__ */ s(Ao())({
206
- name: "Le",
207
- class: "lqkz0nn",
160
+ }), be = () => q, Io = /* @__PURE__ */ n(be())({
161
+ name: "MediaImgCentered",
162
+ class: "m1vqlvig",
208
163
  propsAsIs: !0
209
- }), Eo = /* @__PURE__ */ s(fo())({
210
- name: "pt",
211
- class: "pxp52sw",
164
+ }), fe = () => Io, Ne = /* @__PURE__ */ n(fe())({
165
+ name: "MediaImgBottom",
166
+ class: "m1e7tvi5",
212
167
  propsAsIs: !0
213
- }), Po = /* @__PURE__ */ s(ho())({
214
- name: "gt",
215
- class: "g1nj4e4m",
168
+ }), $e = () => q, Ce = /* @__PURE__ */ n($e())({
169
+ name: "MediaImgSolid",
170
+ class: "mqvntt2",
216
171
  propsAsIs: !0
217
- }), So = /* @__PURE__ */ s(go())({
218
- name: "ft",
219
- class: "f2xx3so",
172
+ }), Te = () => q, Se = /* @__PURE__ */ n(Te())({
173
+ name: "MediaImgMiddle",
174
+ class: "m12jtj3u",
220
175
  propsAsIs: !0
221
- }), Lo = /* @__PURE__ */ s("img")({
222
- name: "xt",
223
- class: "xsepra4",
176
+ }), Ee = /* @__PURE__ */ n("img")({
177
+ name: "CtaIcon",
178
+ class: "ckq1frv",
224
179
  propsAsIs: !1
225
- }), Co = /* @__PURE__ */ s("button")({
226
- name: "vt",
227
- class: "vjnv577",
180
+ }), Me = /* @__PURE__ */ n("button")({
181
+ name: "Button",
182
+ class: "bis90pl",
228
183
  propsAsIs: !1
229
- }), _o = /* @__PURE__ */ s(yo())({
230
- name: "ut",
231
- class: "u1720p2l",
184
+ }), Pe = () => Po, ke = /* @__PURE__ */ n(Pe())({
185
+ name: "StyledChevronRight",
186
+ class: "s9mjmz3",
232
187
  propsAsIs: !0
233
- }), Mo = /* @__PURE__ */ s("div")({
234
- name: "bt",
235
- class: "b58k3cq",
236
- propsAsIs: !1
237
- }), xo = {
238
- [N.UNSET]: ae,
239
- [N.FIT]: ae,
240
- [N.CENTERED]: he,
241
- [N.BOTTOM]: Eo,
242
- [N.SOLID]: Po,
243
- [N.MIDDLE]: So
244
- }, Oo = ({
245
- src: e,
246
- imagePosition: t
247
- }) => {
248
- const a = xo[t];
249
- return /* @__PURE__ */ o(a, {
250
- children: /* @__PURE__ */ o("img", {
251
- src: e,
252
- alt: ""
253
- })
254
- });
255
- }, Bo = ({
256
- notification: e,
257
- open: t,
258
- promotionId: a,
259
- hiding: n,
260
- direction: r = "left"
188
+ }), Le = /* @__PURE__ */ n("div")({
189
+ name: "Logo",
190
+ class: "l1cf50a7",
191
+ propsAsIs: !1
192
+ }), Oe = {
193
+ [N.UNSET]: io,
194
+ [N.FIT]: io,
195
+ [N.CENTERED]: Io,
196
+ [N.BOTTOM]: Ne,
197
+ [N.SOLID]: Ce,
198
+ [N.MIDDLE]: Se
199
+ }, _e = ({ src: o, imagePosition: s }) => {
200
+ const i = Oe[s];
201
+ return /* @__PURE__ */ e(i, { children: /* @__PURE__ */ e("img", { src: o, alt: "" }) });
202
+ }, Be = ({ notification: o, open: s, promotionId: i, hiding: t, direction: l = "left" }) => {
203
+ if (!o || !o.promotion || o.enabled !== vo.NOTIFICATION_ENABLED)
204
+ return null;
205
+ if (o.promotion.mode === ho.LOWER_THIRD)
206
+ return /* @__PURE__ */ e(ue, { notification: o, open: s });
207
+ const { title: r, body: c, image: m, promotion: A } = o, { sponsorLogo: a, sponsorLogoMode: g, imagePosition: u, ctaButton: p } = A;
208
+ return /* @__PURE__ */ e(z, { className: "SL_Rich_Notification", direction: l, hiding: t, children: /* @__PURE__ */ v(Ae, { onClick: s, children: [
209
+ g !== Ao.NOTIFICATION_SPONSOR_LOGO_NONE && /* @__PURE__ */ e(Le, { children: /* @__PURE__ */ e("img", { src: a, alt: r }) }),
210
+ /* @__PURE__ */ v(ve, { children: [
211
+ /* @__PURE__ */ e(_e, { src: m, imagePosition: u }),
212
+ /* @__PURE__ */ v(ge, { children: [
213
+ r && /* @__PURE__ */ e(he, { children: r }),
214
+ c && /* @__PURE__ */ e(Ie, { children: c })
215
+ ] }),
216
+ /* @__PURE__ */ v(Me, { name: "promo-button", style: { color: p == null ? void 0 : p.textColor, backgroundColor: p == null ? void 0 : p.color }, children: [
217
+ (p == null ? void 0 : p.ctaIcon) && (p == null ? void 0 : p.ctaIconMode) === go.CTA_ICON_TRANSPARENT && /* @__PURE__ */ e(Ee, { src: p == null ? void 0 : p.ctaIcon, alt: "cta-icon" }),
218
+ (p == null ? void 0 : p.label) || "Open"
219
+ ] }),
220
+ /* @__PURE__ */ e(ke, { name: "chevronRight" })
221
+ ] })
222
+ ] }) });
223
+ }, xe = /* @__PURE__ */ n("div")({
224
+ name: "OverlayContainer",
225
+ class: "okzhq2w",
226
+ propsAsIs: !1
227
+ }), yo = /* @__PURE__ */ n("div")({
228
+ name: "PromoOverlay",
229
+ class: "pmgz5i",
230
+ propsAsIs: !1
231
+ }), bo = /* @__PURE__ */ n("div")({
232
+ name: "Header",
233
+ class: "hyxi3jt",
234
+ propsAsIs: !1
235
+ }), fo = /* @__PURE__ */ n("div")({
236
+ name: "HeaderContent",
237
+ class: "h149e3gp",
238
+ propsAsIs: !1
239
+ }), No = "h10toh7", ao = /* @__PURE__ */ n("img")({
240
+ name: "SponsorLogo",
241
+ class: "s1jyea6t",
242
+ propsAsIs: !1
243
+ }), Re = /* @__PURE__ */ n("div")({
244
+ name: "SponsorName",
245
+ class: "szpfa3h",
246
+ propsAsIs: !1
247
+ }), $o = /* @__PURE__ */ n("div")({
248
+ name: "Media",
249
+ class: "m1crmu01",
250
+ propsAsIs: !1
251
+ }), De = /* @__PURE__ */ n("img")({
252
+ name: "PromoImg",
253
+ class: "p1l37r8s",
254
+ propsAsIs: !1
255
+ }), qe = "s1nmch9k", ro = /* @__PURE__ */ n("div")({
256
+ name: "Content",
257
+ class: "c1er0ljd",
258
+ propsAsIs: !1
259
+ }), we = /* @__PURE__ */ n("div")({
260
+ name: "Description",
261
+ class: "dydopmr",
262
+ propsAsIs: !1
263
+ }), Ve = /* @__PURE__ */ n("div")({
264
+ name: "Sponsor",
265
+ class: "s1w6nt04",
266
+ propsAsIs: !1
267
+ }), je = /* @__PURE__ */ n("div")({
268
+ name: "SponsorText",
269
+ class: "s1evcmtq",
270
+ propsAsIs: !1
271
+ }), Co = /* @__PURE__ */ n("div")({
272
+ name: "ADLogo",
273
+ class: "awodx0x",
274
+ propsAsIs: !1
275
+ }), Ue = /* @__PURE__ */ n("span")({
276
+ name: "SponsoredText",
277
+ class: "s1q3n6oi",
278
+ propsAsIs: !1
279
+ }), Fe = /* @__PURE__ */ n("div")({
280
+ name: "ActionBtnWrap",
281
+ class: "a8d4xfk",
282
+ propsAsIs: !1
283
+ }), ze = /* @__PURE__ */ n("a")({
284
+ name: "ActionButton",
285
+ class: "at6oobh",
286
+ propsAsIs: !1
287
+ }), Ge = /* @__PURE__ */ n("div")({
288
+ name: "Title",
289
+ class: "t1gyg7tt",
290
+ propsAsIs: !1
291
+ }), We = "h17rwbtk", He = /* @__PURE__ */ n("div")({
292
+ name: "Container",
293
+ class: "c10m2bce",
294
+ propsAsIs: !1
295
+ }), lo = /* @__PURE__ */ n("div")({
296
+ name: "Item",
297
+ class: "ig23yq5",
298
+ propsAsIs: !1
299
+ }), Ke = /* @__PURE__ */ n("div")({
300
+ name: "Dot",
301
+ class: "d1f6aqua",
302
+ propsAsIs: !1
303
+ }), Ye = ({
304
+ time: o,
305
+ adCount: s,
306
+ adPosition: i
261
307
  }) => {
262
- if (!e || !e.promotion || e.enabled !== ve.NOTIFICATION_ENABLED) return null;
263
- if (e.promotion.mode === ue.LOWER_THIRD) return /* @__PURE__ */ o(uo, {
264
- notification: e,
265
- open: t
266
- });
267
- const {
268
- title: i,
269
- body: c,
270
- image: m,
271
- promotion: A
272
- } = e, {
273
- sponsorLogo: l,
274
- sponsorLogoMode: f,
275
- imagePosition: u,
276
- ctaButton: p
277
- } = A;
278
- return /* @__PURE__ */ o(F, {
279
- className: "SL_Rich_Notification",
280
- direction: r,
281
- hiding: n,
282
- children: /* @__PURE__ */ v(bo, {
283
- onClick: t,
284
- children: [f !== Ae.NOTIFICATION_SPONSOR_LOGO_NONE && /* @__PURE__ */ o(Mo, {
285
- children: /* @__PURE__ */ o("img", {
286
- src: l,
287
- alt: i
288
- })
289
- }), /* @__PURE__ */ v(Io, {
290
- children: [/* @__PURE__ */ o(Oo, {
291
- src: m,
292
- imagePosition: u
293
- }), /* @__PURE__ */ v(No, {
294
- children: [i && /* @__PURE__ */ o(ko, {
295
- children: i
296
- }), c && /* @__PURE__ */ o(To, {
297
- children: c
298
- })]
299
- }), /* @__PURE__ */ v(Co, {
300
- name: "promo-button",
301
- style: {
302
- color: p == null ? void 0 : p.textColor,
303
- backgroundColor: p == null ? void 0 : p.color
304
- },
305
- children: [(p == null ? void 0 : p.ctaIcon) && (p == null ? void 0 : p.ctaIconMode) === fe.CTA_ICON_TRANSPARENT && /* @__PURE__ */ o(Lo, {
306
- src: p == null ? void 0 : p.ctaIcon,
307
- alt: "cta-icon"
308
- }), (p == null ? void 0 : p.label) || "Open"]
309
- }), /* @__PURE__ */ o(_o, {
310
- name: "chevronRight"
311
- })]
312
- })]
313
- })
308
+ const t = Math.floor(o / 60), l = o - t * 60;
309
+ return t === 0 && l === 0 && s === i ? null : /* @__PURE__ */ v(He, {
310
+ children: [s > 1 && /* @__PURE__ */ v(po, {
311
+ children: [/* @__PURE__ */ v(lo, {
312
+ children: [i, " of ", s]
313
+ }), /* @__PURE__ */ e(Ke, {})]
314
+ }), /* @__PURE__ */ v(lo, {
315
+ children: [t, ":", l < 10 ? `0${l}` : l]
316
+ })]
314
317
  });
315
- }, Ro = (e, t, {
316
- onPlay: a,
317
- onStop: n,
318
- onProgress: r
319
- }) => {
320
- const i = google.ima;
321
- let c = new i.AdDisplayContainer(e), m = new i.AdsLoader(c), A = new i.AdsRequest(), l;
322
- m.addEventListener(i.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED, (u) => {
323
- l = u.getAdsManager(e), a && l.addEventListener(i.AdEvent.Type.STARTED, a), n && l.addEventListener(i.AdEvent.Type.COMPLETE, n), r && l.addEventListener(i.AdEvent.Type.AD_PROGRESS, (p) => r(p.getAdData())), l.init(e.clientWidth, e.clientHeight, i.ViewMode.NORMAL), l.start();
324
- }, !1), m.addEventListener(i.AdErrorEvent.Type.AD_ERROR, () => {
325
- console.log("ad error"), n == null || n();
326
- }, !1), A.linearAdSlotWidth = e.clientWidth, A.linearAdSlotHeight = e.clientHeight, A.adTagUrl = t, m.requestAds(A);
327
- const f = () => {
328
- l == null || l.destroy(), m == null || m.destroy(), c == null || c.destroy(), c = void 0, m = void 0, A = void 0, l = void 0;
318
+ }, Je = (o, s, { onPlay: i, onStop: t, onProgress: l }) => {
319
+ const r = google.ima;
320
+ let c = new r.AdDisplayContainer(o), m = new r.AdsLoader(c), A = new r.AdsRequest(), a;
321
+ m.addEventListener(
322
+ r.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,
323
+ (u) => {
324
+ a = u.getAdsManager(o), i && a.addEventListener(r.AdEvent.Type.STARTED, i), t && a.addEventListener(r.AdEvent.Type.COMPLETE, t), l && a.addEventListener(r.AdEvent.Type.AD_PROGRESS, (p) => l(p.getAdData())), a.init(o.clientWidth, o.clientHeight, r.ViewMode.NORMAL), a.start();
325
+ },
326
+ !1
327
+ ), m.addEventListener(
328
+ r.AdErrorEvent.Type.AD_ERROR,
329
+ () => {
330
+ console.log("ad error"), t == null || t();
331
+ },
332
+ !1
333
+ ), A.linearAdSlotWidth = o.clientWidth, A.linearAdSlotHeight = o.clientHeight, A.adTagUrl = s, m.requestAds(A);
334
+ const g = () => {
335
+ a == null || a.destroy(), m == null || m.destroy(), c == null || c.destroy(), c = void 0, m = void 0, A = void 0, a = void 0;
329
336
  };
330
337
  return () => {
331
338
  try {
332
339
  c.initialize();
333
340
  } catch (u) {
334
- n == null || n(), console.log("AdsManager could not be started", u);
341
+ t == null || t(), console.log("AdsManager could not be started", u);
335
342
  }
336
- return f;
343
+ return g;
337
344
  };
338
- }, wo = /* @__PURE__ */ s("div")({
339
- name: "At",
340
- class: "adac9vz",
341
- propsAsIs: !1
342
- }), ge = /* @__PURE__ */ s("div")({
343
- name: "Me",
344
- class: "mkswgvt",
345
- propsAsIs: !1
346
- }), ye = /* @__PURE__ */ s("div")({
347
- name: "Oe",
348
- class: "o192mgxa",
349
- propsAsIs: !1
350
- }), Ie = /* @__PURE__ */ s("div")({
351
- name: "ke",
352
- class: "k1gnq24q",
353
- propsAsIs: !1
354
- }), be = "coq8lkc", le = /* @__PURE__ */ s("img")({
355
- name: "le",
356
- class: "l4v1wna",
357
- propsAsIs: !1
358
- }), Do = /* @__PURE__ */ s("div")({
359
- name: "Tt",
360
- class: "tmkv3p8",
361
- propsAsIs: !1
362
- }), Ne = /* @__PURE__ */ s("div")({
363
- name: "Pe",
364
- class: "p2t6hr7",
365
- propsAsIs: !1
366
- }), qo = /* @__PURE__ */ s("img")({
367
- name: "Et",
368
- class: "e1pcxfds",
369
- propsAsIs: !1
370
- }), Vo = "liwzk4s", ie = /* @__PURE__ */ s("div")({
371
- name: "ce",
372
- class: "c1a201jb",
373
- propsAsIs: !1
374
- }), zo = /* @__PURE__ */ s("div")({
375
- name: "Mt",
376
- class: "m15ldj84",
377
- propsAsIs: !1
378
- }), Uo = /* @__PURE__ */ s("div")({
379
- name: "Ot",
380
- class: "o476kyw",
381
- propsAsIs: !1
382
- }), jo = /* @__PURE__ */ s("div")({
383
- name: "kt",
384
- class: "k1hywf8s",
385
- propsAsIs: !1
386
- }), ke = /* @__PURE__ */ s("div")({
387
- name: "Se",
388
- class: "sdkny8g",
389
- propsAsIs: !1
390
- }), Go = /* @__PURE__ */ s("span")({
391
- name: "Ct",
392
- class: "cbdjlwu",
393
- propsAsIs: !1
394
- }), Fo = /* @__PURE__ */ s("div")({
395
- name: "Pt",
396
- class: "p1f1xars",
397
- propsAsIs: !1
398
- }), Wo = /* @__PURE__ */ s("a")({
399
- name: "St",
400
- class: "sutwicq",
401
- propsAsIs: !1
402
- }), Ho = /* @__PURE__ */ s("div")({
403
- name: "_t",
404
- class: "_1okt91f",
405
- propsAsIs: !1
406
- }), $o = "jhfc43o", Ko = /* @__PURE__ */ s("div")({
407
- name: "Rt",
408
- class: "rxbm36u",
409
- propsAsIs: !1
410
- }), re = /* @__PURE__ */ s("div")({
411
- name: "he",
412
- class: "har3kpv",
413
- propsAsIs: !1
414
- }), Xo = /* @__PURE__ */ s("div")({
415
- name: "$t",
416
- class: "_113zdc5",
417
- propsAsIs: !1
418
- }), Yo = ({
419
- time: e,
420
- adCount: t,
421
- adPosition: a
422
- }) => {
423
- const n = Math.floor(e / 60), r = e - n * 60;
424
- return n === 0 && r === 0 && t === a ? null : /* @__PURE__ */ v(Ko, {
425
- children: [t > 1 && /* @__PURE__ */ v(ce, {
426
- children: [/* @__PURE__ */ v(re, {
427
- children: [a, " of ", t]
428
- }), /* @__PURE__ */ o(Xo, {})]
429
- }), /* @__PURE__ */ v(re, {
430
- children: [n, ":", r < 10 ? `0${r}` : r]
431
- })]
432
- });
433
- }, Jo = /* @__PURE__ */ s("div")({
434
- name: "zt",
435
- class: "z1brcd18",
436
- propsAsIs: !1
437
- }), Qo = /* @__PURE__ */ s("div")({
438
- name: "Bt",
439
- class: "b1xio38j",
440
- propsAsIs: !1
441
- }), Zo = "u849s5c", es = "f1yp4da5", os = "gjcla8p", ss = ({
442
- promotion: e,
443
- controlVideo: t,
444
- promotionId: a,
445
- onClose: n,
446
- externalAd: r,
447
- skipAutoClose: i
345
+ }, Ze = /* @__PURE__ */ n("div")({
346
+ name: "Container",
347
+ class: "c4q6dw1",
348
+ propsAsIs: !1
349
+ }), Qe = /* @__PURE__ */ n("div")({
350
+ name: "ControlsContainer",
351
+ class: "c1la67r",
352
+ propsAsIs: !1
353
+ }), Xe = "m3guev", on = "m7099mt", en = "mmm6o5s", nn = ({
354
+ promotion: o,
355
+ controlVideo: s,
356
+ promotionId: i,
357
+ onClose: t,
358
+ externalAd: l,
359
+ skipAutoClose: r
448
360
  }) => {
449
361
  var c;
450
- const m = G(null), [A, l] = w(!1), [f, u] = w(0), [p, g] = w(0), [k, h] = w(0), y = G(), I = Be(() => {
451
- u(0), g(0), h(0), l(!1), t == null || t({
362
+ const m = F(null), [A, a] = R(!1), [g, u] = R(0), [p, I] = R(0), [$, h] = R(0), y = F(), b = Mo(() => {
363
+ u(0), I(0), h(0), a(!1), s == null || s({
452
364
  muted: !1
453
365
  });
454
- }, [t]);
455
- M(() => {
456
- if (r != null && r.url && m.current) {
457
- I();
458
- const b = Ro(m.current, r.url, {
366
+ }, [s]);
367
+ L(() => {
368
+ if (l != null && l.url && m.current) {
369
+ b();
370
+ const f = Je(m.current, l.url, {
459
371
  onPlay: () => {
460
372
  D.emit("advertisement", {
461
373
  action: "videoPlay",
462
374
  payload: {
463
- id: a,
464
- type: e.type,
465
- hasBanner: !1
375
+ id: i,
376
+ type: o.type
466
377
  }
467
- }), t == null || t({
378
+ }), s == null || s({
468
379
  muted: !0
469
- }), l(!0);
380
+ }), a(!0);
470
381
  },
471
382
  onStop: () => {
472
- n == null || n(), I();
383
+ t == null || t(), b();
473
384
  },
474
- onProgress: (T) => {
475
- u(Math.round(T.duration - T.currentTime)), g(T.totalAds), h(T.adPosition);
385
+ onProgress: (C) => {
386
+ u(Math.round(C.duration - C.currentTime)), I(C.totalAds), h(C.adPosition);
476
387
  }
477
388
  })();
478
- return y.current = b, () => {
479
- y.current = void 0, b();
389
+ return y.current = f, () => {
390
+ y.current = void 0, f();
480
391
  };
481
392
  }
482
- }, [r == null ? void 0 : r.url, t, I, a, e.type, n]);
483
- const x = ((c = e.sponsor) == null ? void 0 : c.logo) && e.logoMode === _.CENTER;
484
- return /* @__PURE__ */ v(ge, {
393
+ }, [l == null ? void 0 : l.url, s, b, i, o.type, t]);
394
+ const O = ((c = o.sponsor) == null ? void 0 : c.logo) && o.logoMode === k.CENTER;
395
+ return /* @__PURE__ */ v(yo, {
485
396
  className: "PromoOverlay",
486
- children: [/* @__PURE__ */ v(ye, {
487
- children: [/* @__PURE__ */ o(Ie, {
488
- className: L(!x && be),
489
- children: /* @__PURE__ */ o(ke, {
397
+ children: [/* @__PURE__ */ v(bo, {
398
+ children: [/* @__PURE__ */ e(fo, {
399
+ className: M(!O && No),
400
+ children: /* @__PURE__ */ e(Co, {
490
401
  style: {
491
402
  transform: "scale(1.5)"
492
403
  },
493
404
  children: "Ad"
494
405
  })
495
- }), /* @__PURE__ */ v(Qo, {
496
- children: [/* @__PURE__ */ o(Yo, {
497
- time: f,
406
+ }), /* @__PURE__ */ v(Qe, {
407
+ children: [/* @__PURE__ */ e(Ye, {
408
+ time: g,
498
409
  adCount: p,
499
- adPosition: k
500
- }), i && /* @__PURE__ */ o(me, {
410
+ adPosition: $
411
+ }), r && /* @__PURE__ */ e(mo, {
501
412
  className: "ClosePromoIcon",
502
413
  close: () => {
503
- var b;
504
- (b = y.current) == null || b.call(y), n == null || n(), I();
414
+ var f;
415
+ (f = y.current) == null || f.call(y), t == null || t(), b();
505
416
  }
506
417
  })]
507
418
  })]
508
- }), /* @__PURE__ */ o(Ne, {
509
- className: L(Zo, A && es, !A && os),
510
- children: /* @__PURE__ */ o(Jo, {
419
+ }), /* @__PURE__ */ e($o, {
420
+ className: M(Xe, A && on, !A && en),
421
+ children: /* @__PURE__ */ e(Ze, {
511
422
  ref: m
512
423
  })
513
424
  })]
514
425
  });
515
- }, de = (e) => {
516
- var t, a, n, r, i, c, m, A, l, f, u, p, g, k, h, y, I, x, b, T, H, $, K, X, Y, J, Q, Z, ee, oe;
426
+ }, co = (o) => {
427
+ var s, i, t, l, r, c, m, A, a, g, u, p, I, $, h, y, b, O, f, C, W, H, K, Y, J, Z, Q, X, oo, eo;
517
428
  const {
518
429
  promotion: d,
519
- open: se,
520
- advertisementPaused: Te,
521
- togglePause: S,
522
- controlVideo: O,
523
- skipAutoClose: Ee,
430
+ open: no,
431
+ advertisementPaused: To,
432
+ togglePause: E,
433
+ controlVideo: _,
434
+ skipAutoClose: So,
524
435
  promotionId: B,
525
- onClose: Pe,
526
- markAsViewed: V,
527
- externalAd: te
528
- } = e, z = d.type === P.INGAME_IAB11_LBAR || d.type === P.INGAME_IAB11, U = ((t = d.sponsor) == null ? void 0 : t.logo) && d.logoMode === _.CENTER, ne = !!((n = (a = d.banner) == null ? void 0 : a.video) != null && n.url), R = d.autoPlayVideo === we.ENABLED;
529
- if (M(() => {
530
- S == null || S(ne || R), se == null || se();
531
- }, []), M(() => {
532
- B && d.type && V && V();
533
- }, [B, d.type, V]), M(() => () => {
534
- O == null || O({
535
- muted: !1
536
- });
537
- }, [O]), te) return /* @__PURE__ */ o(ss, {
538
- ...e,
539
- externalAd: te
540
- });
541
- let C = (r = d.banner) == null ? void 0 : r.url;
542
- C && C.indexOf("http") !== 0 && (C = `https://${C}`);
543
- let j = !0;
544
- return ne && (!Te || !R ? j = !0 : j = !1), /* @__PURE__ */ v(ge, {
545
- className: "PromoOverlay",
546
- children: [/* @__PURE__ */ v(ye, {
547
- children: [/* @__PURE__ */ v(Ie, {
548
- className: L(!U && be),
549
- children: [((i = d.sponsor) == null ? void 0 : i.logo) && d.logoMode === _.LEFT && /* @__PURE__ */ o(le, {
550
- className: "PromoSponsorLogo",
551
- src: (c = d.sponsor) == null ? void 0 : c.logo,
552
- alt: "promo"
553
- }), /* @__PURE__ */ v(Uo, {
554
- style: {
555
- paddingLeft: (m = d.sponsor) != null && m.logo && d.logoMode === _.LEFT ? "0px" : "8px"
556
- },
557
- children: [((A = d.sponsor) == null ? void 0 : A.logo) && d.logoMode === _.LEFT && /* @__PURE__ */ o(Do, {
558
- children: (l = d.sponsor) == null ? void 0 : l.name
559
- }), /* @__PURE__ */ v(jo, {
560
- className: "SponsorText",
561
- children: [/* @__PURE__ */ o(ke, {
562
- children: "AD"
563
- }), /* @__PURE__ */ o(Go, {
564
- children: "SPONSORED"
565
- })]
566
- })]
567
- })]
568
- }), /* @__PURE__ */ o(me, {
569
- className: "ClosePromoIcon",
570
- close: Pe,
571
- autoClose: (f = d.closeTimer) == null ? void 0 : f.auto,
572
- duration: Ee ? 0 : (u = d.closeTimer) == null ? void 0 : u.seconds,
573
- isPlaying: j
574
- })]
575
- }), /* @__PURE__ */ v(Ne, {
576
- children: [U && /* @__PURE__ */ o(le, {
577
- className: Vo,
578
- src: (p = d.sponsor) == null ? void 0 : p.logo,
579
- alt: "promo"
580
- }), /* @__PURE__ */ o(ie, {
581
- children: (k = (g = d.banner) == null ? void 0 : g.video) != null && k.url ? /* @__PURE__ */ o(Le, {
436
+ onClose: Eo,
437
+ markAsViewed: w,
438
+ externalAd: so
439
+ } = o, V = d.type === S.INGAME_IAB11_LBAR || d.type === S.INGAME_IAB11, j = ((s = d.sponsor) == null ? void 0 : s.logo) && d.logoMode === k.CENTER, to = !!((t = (i = d.banner) == null ? void 0 : i.video) != null && t.url), x = d.autoPlayVideo === Ro.ENABLED;
440
+ if (L(() => {
441
+ E == null || E(to || x), no == null || no();
442
+ }, []), L(() => {
443
+ B && d.type && w && w();
444
+ }, [B, d.type, w]), L(() => () => {
445
+ _ == null || _({ muted: !1 });
446
+ }, [_]), so)
447
+ return /* @__PURE__ */ e(nn, { ...o, externalAd: so });
448
+ let P = (l = d.banner) == null ? void 0 : l.url;
449
+ P && P.indexOf("http") !== 0 && (P = `https://${P}`);
450
+ let U = !0;
451
+ return to && (!To || !x ? U = !0 : U = !1), /* @__PURE__ */ v(yo, { className: "PromoOverlay", children: [
452
+ /* @__PURE__ */ v(bo, { children: [
453
+ /* @__PURE__ */ v(fo, { className: M(!j && No), children: [
454
+ ((r = d.sponsor) == null ? void 0 : r.logo) && d.logoMode === k.LEFT && /* @__PURE__ */ e(ao, { className: "PromoSponsorLogo", src: (c = d.sponsor) == null ? void 0 : c.logo, alt: "promo" }),
455
+ /* @__PURE__ */ v(
456
+ Ve,
457
+ {
458
+ style: {
459
+ paddingLeft: (m = d.sponsor) != null && m.logo && d.logoMode === k.LEFT ? "0px" : "8px"
460
+ },
461
+ children: [
462
+ ((A = d.sponsor) == null ? void 0 : A.logo) && d.logoMode === k.LEFT && /* @__PURE__ */ e(Re, { children: (a = d.sponsor) == null ? void 0 : a.name }),
463
+ /* @__PURE__ */ v(je, { className: "SponsorText", children: [
464
+ /* @__PURE__ */ e(Co, { children: "AD" }),
465
+ /* @__PURE__ */ e(Ue, { children: "SPONSORED" })
466
+ ] })
467
+ ]
468
+ }
469
+ )
470
+ ] }),
471
+ /* @__PURE__ */ e(
472
+ mo,
473
+ {
474
+ className: "ClosePromoIcon",
475
+ close: Eo,
476
+ autoClose: (g = d.closeTimer) == null ? void 0 : g.auto,
477
+ duration: So ? 0 : (u = d.closeTimer) == null ? void 0 : u.seconds,
478
+ isPlaying: U
479
+ }
480
+ )
481
+ ] }),
482
+ /* @__PURE__ */ v($o, { children: [
483
+ j && /* @__PURE__ */ e(ao, { className: qe, src: (p = d.sponsor) == null ? void 0 : p.logo, alt: "promo" }),
484
+ /* @__PURE__ */ e(ro, { children: ($ = (I = d.banner) == null ? void 0 : I.video) != null && $.url ? /* @__PURE__ */ e(
485
+ ko,
486
+ {
582
487
  source: (y = (h = d.banner) == null ? void 0 : h.video) == null ? void 0 : y.url,
583
- poster: (x = (I = d.banner) == null ? void 0 : I.video) == null ? void 0 : x.thumbnailUrl,
584
- aspectRatio: z ? "1/1" : "16/9",
488
+ poster: (O = (b = d.banner) == null ? void 0 : b.video) == null ? void 0 : O.thumbnailUrl,
489
+ aspectRatio: V ? "1/1" : "16/9",
585
490
  onPause: () => {
586
- R && (S == null || S(!0));
491
+ x && (E == null || E(!0));
587
492
  },
588
493
  onPlay: () => {
589
494
  D.emit("advertisement", {
590
495
  action: "videoPlay",
591
496
  payload: {
592
497
  id: B,
593
- type: d.type,
594
- hasBanner: !1
498
+ type: d.type
595
499
  }
596
- }), S == null || S(!1);
500
+ }), E == null || E(!1);
597
501
  },
598
- controlVideo: O,
599
- autoPlay: R
600
- }) : (b = d.banner) != null && b.imageUrl ? /* @__PURE__ */ o(qo, {
601
- style: z ? {
602
- aspectRatio: "1/1"
603
- } : {},
604
- src: (T = d.banner) == null ? void 0 : T.imageUrl,
605
- alt: "promo"
606
- }) : null
607
- }), !z && /* @__PURE__ */ v(ie, {
608
- children: [((H = d.banner) == null ? void 0 : H.title) && /* @__PURE__ */ o(Ho, {
609
- className: L("AdvTitle", U && $o),
610
- children: ($ = d.banner) == null ? void 0 : $.title
611
- }), ((K = d.banner) == null ? void 0 : K.body) && /* @__PURE__ */ o(zo, {
612
- className: "AdvDescription",
613
- children: (X = d.banner) == null ? void 0 : X.body
614
- })]
615
- })]
616
- }), d.buttonType !== De.NO_BUTTON && /* @__PURE__ */ o(Fo, {
617
- children: /* @__PURE__ */ o(Wo, {
618
- href: C,
502
+ controlVideo: _,
503
+ autoPlay: x
504
+ }
505
+ ) : (f = d.banner) != null && f.imageUrl ? /* @__PURE__ */ e(De, { style: V ? { aspectRatio: "1/1" } : {}, src: (C = d.banner) == null ? void 0 : C.imageUrl, alt: "promo" }) : null }),
506
+ !V && /* @__PURE__ */ v(ro, { children: [
507
+ ((W = d.banner) == null ? void 0 : W.title) && /* @__PURE__ */ e(Ge, { className: M("AdvTitle", j && We), children: (H = d.banner) == null ? void 0 : H.title }),
508
+ ((K = d.banner) == null ? void 0 : K.body) && /* @__PURE__ */ e(we, { className: "AdvDescription", children: (Y = d.banner) == null ? void 0 : Y.body })
509
+ ] })
510
+ ] }),
511
+ d.buttonType !== Do.NO_BUTTON && /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e(
512
+ ze,
513
+ {
514
+ href: P,
619
515
  style: {
620
- backgroundColor: ((J = (Y = d.banner) == null ? void 0 : Y.ctaButton) == null ? void 0 : J.color) || "#009dc4",
621
- color: ((Z = (Q = d.banner) == null ? void 0 : Q.ctaButton) == null ? void 0 : Z.textColor) || "#fff"
516
+ backgroundColor: ((Z = (J = d.banner) == null ? void 0 : J.ctaButton) == null ? void 0 : Z.color) || "#009dc4",
517
+ color: ((X = (Q = d.banner) == null ? void 0 : Q.ctaButton) == null ? void 0 : X.textColor) || "#fff"
622
518
  },
623
519
  "data-analytics": "button",
624
520
  "data-promo-id": B,
625
521
  "data-promo-type": d.type,
626
522
  target: "_blank",
627
- children: (oe = (ee = d.banner) == null ? void 0 : ee.ctaButton) == null ? void 0 : oe.label
628
- })
629
- })]
630
- });
631
- }, ts = /* @__PURE__ */ s("div")({
632
- name: "Wt",
633
- class: "wbguw5z",
634
- propsAsIs: !1
635
- }), ns = ({
636
- children: e,
637
- direction: t,
638
- style: a,
639
- className: n,
640
- hiding: r
641
- }) => /* @__PURE__ */ o(F, {
642
- direction: t,
643
- style: a,
644
- hiding: r,
645
- className: n,
646
- children: /* @__PURE__ */ o(ts, {
647
- children: e
523
+ children: (eo = (oo = d.banner) == null ? void 0 : oo.ctaButton) == null ? void 0 : eo.label
524
+ }
525
+ ) })
526
+ ] });
527
+ }, sn = /* @__PURE__ */ n("div")({
528
+ name: "SidebarContainer",
529
+ class: "s1abskp8",
530
+ propsAsIs: !1
531
+ }), tn = ({
532
+ children: o,
533
+ direction: s,
534
+ style: i,
535
+ className: t,
536
+ hiding: l
537
+ }) => /* @__PURE__ */ e(z, {
538
+ direction: s,
539
+ style: i,
540
+ hiding: l,
541
+ className: t,
542
+ children: /* @__PURE__ */ e(sn, {
543
+ children: o
648
544
  })
649
- }), as = (e) => (e == null ? void 0 : e.type) === P.INGAME_IAB11_LBAR || (e == null ? void 0 : e.type) === P.INGAME_IAB21_LBAR, ls = (e) => (e == null ? void 0 : e.type) === P.INGAME_IAB11 || (e == null ? void 0 : e.type) === P.INGAME_IAB21, is = ({
650
- advertisement: e,
651
- close: t,
652
- skipTypeCheck: a,
653
- skipAutoClose: n,
654
- layoutMode: r = "side-by-side",
655
- sidebar: i,
545
+ }), an = (o) => (o == null ? void 0 : o.type) === S.INGAME_IAB11_LBAR || (o == null ? void 0 : o.type) === S.INGAME_IAB21_LBAR, rn = (o) => (o == null ? void 0 : o.type) === S.INGAME_IAB11 || (o == null ? void 0 : o.type) === S.INGAME_IAB21, ln = ({
546
+ advertisement: o,
547
+ close: s,
548
+ skipTypeCheck: i,
549
+ skipAutoClose: t,
550
+ layoutMode: l = "side-by-side",
551
+ sidebar: r,
656
552
  isNotification: c,
657
553
  banner: m,
658
554
  markAsViewed: A,
659
- open: l,
660
- externalAd: f,
555
+ open: a,
556
+ externalAd: g,
661
557
  controlVideo: u,
662
558
  advertisementPaused: p,
663
- togglePause: g
664
- }) => e.promotion ? c && e.notification ? /* @__PURE__ */ o(Bo, {
665
- open: () => l == null ? void 0 : l({
666
- fromNotification: !0
667
- }),
668
- notification: e.notification,
669
- promotionId: e.question.id
670
- }) : !i && !m && (a || ls(e.promotion)) ? /* @__PURE__ */ o(wo, {
671
- className: "PromoOverlayContainer",
672
- children: /* @__PURE__ */ o(de, {
559
+ togglePause: I
560
+ }) => o.promotion ? c && o.notification ? /* @__PURE__ */ e(
561
+ Be,
562
+ {
563
+ open: () => a == null ? void 0 : a({ fromNotification: !0 }),
564
+ notification: o.notification,
565
+ promotionId: o.question.id
566
+ }
567
+ ) : !r && !m && (i || rn(o.promotion)) ? /* @__PURE__ */ e(xe, { className: "PromoOverlayContainer", children: /* @__PURE__ */ e(
568
+ co,
569
+ {
673
570
  markAsViewed: A,
674
- promotionId: e.question.id,
675
- promotion: e.promotion,
676
- onClose: t,
677
- open: l,
678
- skipAutoClose: n,
679
- externalAd: f,
571
+ promotionId: o.question.id,
572
+ promotion: o.promotion,
573
+ onClose: s,
574
+ open: a,
575
+ skipAutoClose: t,
576
+ externalAd: g,
680
577
  controlVideo: u,
681
578
  advertisementPaused: p,
682
- togglePause: g
683
- })
684
- }) : i && (a || as(e.promotion)) ? /* @__PURE__ */ o(ns, {
685
- className: "PromoSidebarContainer",
686
- direction: i,
687
- hiding: !1,
688
- children: /* @__PURE__ */ o(de, {
579
+ togglePause: I
580
+ }
581
+ ) }) : r && (i || an(o.promotion)) ? /* @__PURE__ */ e(tn, { className: "PromoSidebarContainer", direction: r, hiding: !1, children: /* @__PURE__ */ e(
582
+ co,
583
+ {
689
584
  markAsViewed: A,
690
- promotionId: e.question.id,
691
- promotion: e.promotion,
692
- externalAd: f,
693
- onClose: t,
694
- open: l,
585
+ promotionId: o.question.id,
586
+ promotion: o.promotion,
587
+ externalAd: g,
588
+ onClose: s,
589
+ open: a,
695
590
  controlVideo: u,
696
- skipAutoClose: n,
591
+ skipAutoClose: t,
697
592
  advertisementPaused: p,
698
- togglePause: g
699
- })
700
- }) : m ? /* @__PURE__ */ o(Qe, {
701
- promotionId: e.question.id,
702
- hiding: !1,
703
- promotion: e.promotion,
704
- direction: m
705
- }) : null : null, rs = /* @__PURE__ */ s("div")({
706
- name: "Vt",
707
- class: "v13knq7z",
708
- propsAsIs: !1
709
- }), ds = (e) => {
710
- const t = e.target;
711
- if (t instanceof HTMLAnchorElement && t.target === "_blank") {
712
- const a = t.getAttribute("data-promo-id") || "", n = t.getAttribute("data-promo-type") || P.UNSET;
713
- t.getAttribute("data-analytics") === "button" && D.emit("advertisement", {
593
+ togglePause: I
594
+ }
595
+ ) }) : m ? /* @__PURE__ */ e(
596
+ Qo,
597
+ {
598
+ promotionId: o.question.id,
599
+ hiding: !1,
600
+ promotion: o.promotion,
601
+ direction: m
602
+ }
603
+ ) : null : null, dn = /* @__PURE__ */ n("div")({
604
+ name: "AdvertisementUIWrap",
605
+ class: "aa6pjif",
606
+ propsAsIs: !1
607
+ }), cn = (o) => {
608
+ const s = o.target;
609
+ if (s instanceof HTMLAnchorElement && s.target === "_blank") {
610
+ const i = s.getAttribute("data-promo-id") || "", t = s.getAttribute("data-promo-type") || S.UNSET;
611
+ s.getAttribute("data-analytics") === "button" && D.emit("advertisement", {
714
612
  action: "buttonSelect",
715
613
  payload: {
716
- id: a,
717
- type: n,
718
- hasBanner: !1
614
+ id: i,
615
+ type: t
719
616
  }
720
- }), t.getAttribute("data-analytics") === "banner" && D.emit("advertisement", {
617
+ }), s.getAttribute("data-analytics") === "banner" && D.emit("advertisement", {
721
618
  action: "bannerSelect",
722
619
  payload: {
723
- id: a,
724
- type: n,
725
- hasBanner: !1
620
+ id: i,
621
+ type: t
726
622
  }
727
623
  });
728
624
  }
729
- }, cs = ({
730
- gamification: e,
731
- layoutMode: t,
732
- skipAutoClose: a,
733
- skipTypeCheck: n,
734
- sidebar: r,
735
- banner: i,
625
+ }, pn = ({
626
+ gamification: o,
627
+ layoutMode: s,
628
+ skipAutoClose: i,
629
+ skipTypeCheck: t,
630
+ sidebar: l,
631
+ banner: r,
736
632
  notification: c,
737
633
  isMobileScreen: m,
738
634
  persistent: A,
739
- externalAd: l,
740
- controlVideo: f
635
+ externalAd: a,
636
+ controlVideo: g
741
637
  }) => {
742
- var u, p, g;
743
- const k = G(null), h = pe(e.advertisement.$store);
744
- Se(k, {
638
+ var u, p, I;
639
+ const $ = F(null), h = uo(o.advertisement.$store);
640
+ Lo($, {
745
641
  enabled: !!h.data,
746
642
  event: "click",
747
- listener: ds
643
+ listener: cn
748
644
  });
749
- const y = !i && !r;
750
- if (h.data === void 0 || !A && h.isViewed) return null;
751
- const I = ((g = (p = (u = h == null ? void 0 : h.data) == null ? void 0 : u.notification) == null ? void 0 : p.promotion) == null ? void 0 : g.mode) === ue.LOWER_THIRD;
752
- return /* @__PURE__ */ o(rs, {
753
- ref: k,
645
+ const y = !r && !l;
646
+ if (h.data === void 0 || !A && h.isViewed)
647
+ return null;
648
+ const b = ((I = (p = (u = h == null ? void 0 : h.data) == null ? void 0 : u.notification) == null ? void 0 : p.promotion) == null ? void 0 : I.mode) === ho.LOWER_THIRD;
649
+ return /* @__PURE__ */ e(dn, {
650
+ ref: $,
754
651
  style: {
755
652
  height: y ? "auto" : "100%"
756
653
  },
757
- className: L("SL-AdvertisementUIWrap", m && "mobile-view", I && "SL-AdvertisementUIWrap--lower-third"),
758
- children: /* @__PURE__ */ o(is, {
759
- skipTypeCheck: n,
760
- sidebar: r,
761
- banner: i,
654
+ className: M("SL-AdvertisementUIWrap", m && "mobile-view", b && "SL-AdvertisementUIWrap--lower-third"),
655
+ children: /* @__PURE__ */ e(ln, {
656
+ skipTypeCheck: t,
657
+ sidebar: l,
658
+ banner: r,
762
659
  advertisement: h.data,
763
660
  advertisementPaused: h.isPaused,
764
661
  togglePause: h.togglePause,
765
662
  close: h.close,
766
- externalAd: l ? h.externalAd : void 0,
767
- markAsViewed: e.advertisement.markAsViewed,
768
- open: e.advertisement.open,
769
- layoutMode: t,
663
+ externalAd: a ? h.externalAd : void 0,
664
+ markAsViewed: o.advertisement.markAsViewed,
665
+ open: o.advertisement.open,
666
+ layoutMode: s,
770
667
  isNotification: c,
771
- skipAutoClose: a,
772
- controlVideo: f
668
+ skipAutoClose: i,
669
+ controlVideo: g
773
670
  })
774
671
  });
775
- }, ps = ({
776
- sdk: e,
777
- sidebar: t,
778
- externalAd: a,
779
- banner: n,
780
- skipAutoClose: r,
781
- skipTypeCheck: i,
672
+ }, mn = ({
673
+ sdk: o,
674
+ sidebar: s,
675
+ externalAd: i,
676
+ banner: t,
677
+ skipAutoClose: l,
678
+ skipTypeCheck: r,
782
679
  layoutMode: c,
783
680
  isMobileScreen: m,
784
681
  persistent: A,
785
- notification: l
682
+ notification: a
786
683
  }) => {
787
- const f = pe(e.featuresList.getStore());
788
- if (M(() => {
789
- if (a) {
684
+ const g = uo(o.featuresList.getStore());
685
+ if (L(() => {
686
+ if (i) {
790
687
  const p = document.createElement("script");
791
688
  p.async = !0, p.src = "https://imasdk.googleapis.com/js/sdkloader/ima3.js", document.body.appendChild(p);
792
689
  }
793
- }, [a]), t && n) return /* @__PURE__ */ o("div", {
794
- style: {
795
- color: "red"
796
- },
797
- children: "define either sidebar or banner, not both."
798
- });
799
- if (n && a) return /* @__PURE__ */ o("div", {
800
- style: {
801
- color: "red"
802
- },
803
- children: "externalAd is not supported with banner"
804
- });
805
- if (!f) return null;
806
- const u = e.getFeature(Re.GAMES);
807
- return u ? /* @__PURE__ */ o(cs, {
690
+ }, [i]), s && t)
691
+ return /* @__PURE__ */ e("div", {
692
+ style: {
693
+ color: "red"
694
+ },
695
+ children: "define either sidebar or banner, not both."
696
+ });
697
+ if (t && i)
698
+ return /* @__PURE__ */ e("div", {
699
+ style: {
700
+ color: "red"
701
+ },
702
+ children: "externalAd is not supported with banner"
703
+ });
704
+ if (!g)
705
+ return null;
706
+ const u = o.getFeature(qo.GAMES);
707
+ return u ? /* @__PURE__ */ e(pn, {
808
708
  gamification: u,
809
- sidebar: t,
810
- banner: n,
709
+ sidebar: s,
710
+ banner: t,
811
711
  layoutMode: c,
812
712
  isMobileScreen: m,
813
713
  persistent: A,
814
- notification: l,
815
- skipTypeCheck: i,
816
- skipAutoClose: r,
817
- externalAd: a,
818
- controlVideo: e.controlVideoPlayer
714
+ notification: a,
715
+ skipTypeCheck: r,
716
+ skipAutoClose: l,
717
+ externalAd: i,
718
+ controlVideo: o.controlVideoPlayer
819
719
  }) : null;
820
- }, hs = ({
821
- event: e,
822
- sidebar: t,
823
- banner: a,
824
- isMobileScreen: n,
825
- skipAutoClose: r,
826
- persistent: i,
720
+ }, hn = ({
721
+ event: o,
722
+ sidebar: s,
723
+ banner: i,
724
+ isMobileScreen: t,
725
+ skipAutoClose: l,
726
+ persistent: r,
827
727
  theme: c,
828
728
  notification: m,
829
729
  skipTypeCheck: A,
830
- externalAd: l
730
+ externalAd: a
831
731
  }) => {
832
- const f = _e(), u = Me(), p = xe();
833
- return f ? l && !u.promotionExternalAd ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : !l && u.promotionExternalAd ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : t && !u.promotionSidebar ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : a && !u.promotionBanner ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : m && !u.promotionNotification ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : !a && !t && !m && !u.promotionOverlay ? e !== void 0 && /* @__PURE__ */ o(E, { event: e }) : /* @__PURE__ */ v("div", { className: "StreamLayerSDK", children: [
834
- /* @__PURE__ */ o(Oe, { customTheme: c ?? p.theme, themeMode: p.themeMode, children: /* @__PURE__ */ o(
835
- ps,
732
+ const g = Oo(), u = _o(), p = Bo();
733
+ return g ? a && !u.promotionExternalAd ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : !a && u.promotionExternalAd ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : s && !u.promotionSidebar ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : i && !u.promotionBanner ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : m && !u.promotionNotification ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : !i && !s && !m && !u.promotionOverlay ? o !== void 0 && /* @__PURE__ */ e(T, { event: o }) : /* @__PURE__ */ v("div", { className: "StreamLayerSDK", children: [
734
+ /* @__PURE__ */ e(xo, { customTheme: c ?? p.theme, themeMode: p.themeMode, children: /* @__PURE__ */ e(
735
+ mn,
836
736
  {
837
- sdk: f,
838
- sidebar: t,
839
- banner: a,
840
- isMobileScreen: n,
841
- persistent: i,
737
+ sdk: g,
738
+ sidebar: s,
739
+ banner: i,
740
+ isMobileScreen: t,
741
+ persistent: r,
842
742
  notification: m,
843
743
  skipTypeCheck: A,
844
- skipAutoClose: r,
744
+ skipAutoClose: l,
845
745
  layoutMode: "side-by-side",
846
- externalAd: l
746
+ externalAd: a
847
747
  }
848
748
  ) }),
849
- e !== void 0 && /* @__PURE__ */ o(E, { event: e })
749
+ o !== void 0 && /* @__PURE__ */ e(T, { event: o })
850
750
  ] }) : null;
851
751
  };
852
752
  export {
853
- hs as StreamLayerSDKAdvertisement,
854
- ps as StreamLayerSDKAdvertisementUI
753
+ hn as StreamLayerSDKAdvertisement,
754
+ mn as StreamLayerSDKAdvertisementUI
855
755
  };