@streamlayer/react 1.24.6 → 1.24.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.
- package/lib/cjs/advertisement.js +19607 -203
- package/lib/cjs/auth.js +4459 -1
- package/lib/cjs/bet-pack.js +15691 -1
- package/lib/cjs/index.js +19411 -1
- package/lib/cjs/insight.js +13509 -1
- package/lib/cjs/masters.js +20696 -1
- package/lib/cjs/notification.js +13087 -1
- package/lib/cjs/package.json +1 -0
- package/lib/cjs/pause-ad.js +8390 -1
- package/lib/cjs/points.js +7189 -1
- package/lib/cjs/polyfills.js +69 -0
- package/lib/cjs/polymarket.js +16394 -14
- package/lib/cjs/style.css +1 -0
- package/lib/cjs/useStreamLayerApp.js +4711 -1
- package/lib/dist/cjs/index.js +20696 -1
- package/lib/dist/es/index.js +20669 -10
- package/lib/dist/es/polyfills.js +92 -0
- package/lib/es/advertisement.js +2821 -2746
- package/lib/es/analytics.js +1 -1
- package/lib/es/feature.js +60 -56
- package/lib/es/index.js +1 -1
- package/lib/es/index10.js +181 -7
- package/lib/es/index11.js +371 -181
- package/lib/es/index12.js +3 -3
- package/lib/es/index13.js +4 -4
- package/lib/es/index14.js +2 -2
- package/lib/es/index15.js +384 -414
- package/lib/es/index16.js +45 -46
- package/lib/es/index2.js +11 -13
- package/lib/es/index3.js +34 -4
- package/lib/es/index4.js +3 -3
- package/lib/es/index5.js +3 -19
- package/lib/es/index6.js +7 -4
- package/lib/es/index7.js +284 -5
- package/lib/es/index8.js +236 -281
- package/lib/es/index9.js +8 -179
- package/lib/es/insight.js +1 -1
- package/lib/es/masters2.js +9 -10
- package/lib/es/notification.js +5 -5
- package/lib/es/pause-ad.js +1 -1
- package/lib/es/points.js +3 -3
- package/lib/es/polymarket.js +2 -2
- package/lib/es/storage.js +3 -3
- package/lib/es/style.css +1 -0
- package/lib/es/useStreamLayerApp2.js +5654 -4604
- package/lib/source.css +1 -120
- package/package.json +99 -83
- package/lib/cjs/Question.js +0 -1
- package/lib/cjs/analytics.js +0 -1
- package/lib/cjs/feature.js +0 -1
- package/lib/cjs/gamification-feature.js +0 -1
- package/lib/cjs/gamification-feature2.js +0 -1
- package/lib/cjs/hooks-n9ax4LRT.js +0 -1
- package/lib/cjs/index-CfSdnrfA.js +0 -5
- package/lib/cjs/index10.js +0 -1
- package/lib/cjs/index11.js +0 -1
- package/lib/cjs/index12.js +0 -1
- package/lib/cjs/index13.js +0 -4
- package/lib/cjs/index14.js +0 -1
- package/lib/cjs/index15.js +0 -1
- package/lib/cjs/index16.js +0 -5
- package/lib/cjs/index2.js +0 -1
- package/lib/cjs/index3.js +0 -1
- package/lib/cjs/index4.js +0 -5
- package/lib/cjs/index5.js +0 -1
- package/lib/cjs/index6.js +0 -1
- package/lib/cjs/index7.js +0 -1
- package/lib/cjs/index8.js +0 -1
- package/lib/cjs/index9.js +0 -7
- package/lib/cjs/masters2.js +0 -8
- package/lib/cjs/storage.js +0 -1
- package/lib/cjs/theme.js +0 -1
- package/lib/cjs/useStreamLayerApp2.js +0 -17
- package/lib/cjs/utils.js +0 -47
- package/lib/classic/app/advertisement.d.ts +0 -19
- package/lib/classic/app/app.d.ts +0 -23
- package/lib/classic/app/auth.d.ts +0 -4
- package/lib/classic/app/bet-pack.d.ts +0 -10
- package/lib/classic/app/insight.d.ts +0 -13
- package/lib/classic/app/masters.d.ts +0 -19
- package/lib/classic/app/notification.d.ts +0 -5
- package/lib/classic/app/pause-ad.d.ts +0 -27
- package/lib/classic/app/points.d.ts +0 -3
- package/lib/classic/app/polymarket.d.ts +0 -7
- package/lib/classic/app/useStreamLayerApp.d.ts +0 -1
- package/lib/classic/cjs/Question.js +0 -1
- package/lib/classic/cjs/advertisement.js +0 -203
- package/lib/classic/cjs/analytics.js +0 -1
- package/lib/classic/cjs/auth.js +0 -1
- package/lib/classic/cjs/bet-pack.js +0 -5
- package/lib/classic/cjs/feature.js +0 -1
- package/lib/classic/cjs/gamification-feature.js +0 -1
- package/lib/classic/cjs/hooks-n9ax4LRT.js +0 -1
- package/lib/classic/cjs/index-CfSdnrfA.js +0 -5
- package/lib/classic/cjs/index.js +0 -1
- package/lib/classic/cjs/index10.js +0 -1
- package/lib/classic/cjs/index11.js +0 -1
- package/lib/classic/cjs/index12.js +0 -1
- package/lib/classic/cjs/index13.js +0 -4
- package/lib/classic/cjs/index2.js +0 -5
- package/lib/classic/cjs/index3.js +0 -1
- package/lib/classic/cjs/index4.js +0 -1
- package/lib/classic/cjs/index5.js +0 -1
- package/lib/classic/cjs/index6.js +0 -1
- package/lib/classic/cjs/index7.js +0 -7
- package/lib/classic/cjs/index8.js +0 -1
- package/lib/classic/cjs/index9.js +0 -1
- package/lib/classic/cjs/insight.js +0 -1
- package/lib/classic/cjs/notification.js +0 -1
- package/lib/classic/cjs/notification2.js +0 -1
- package/lib/classic/cjs/pause-ad.js +0 -1
- package/lib/classic/cjs/points.js +0 -1
- package/lib/classic/cjs/polymarket.js +0 -14
- package/lib/classic/cjs/useStreamLayerApp.js +0 -1
- package/lib/classic/cjs/useStreamLayerApp2.js +0 -17
- package/lib/classic/cjs/utils.js +0 -47
- package/lib/classic/es/Question.js +0 -503
- package/lib/classic/es/advertisement.js +0 -38792
- package/lib/classic/es/analytics.js +0 -84
- package/lib/classic/es/auth.js +0 -11
- package/lib/classic/es/bet-pack.js +0 -3418
- package/lib/classic/es/feature.js +0 -210
- package/lib/classic/es/gamification-feature.js +0 -4
- package/lib/classic/es/hooks-n9ax4LRT.js +0 -97
- package/lib/classic/es/index.js +0 -15
- package/lib/classic/es/index10.js +0 -321
- package/lib/classic/es/index11.js +0 -2592
- package/lib/classic/es/index12.js +0 -185
- package/lib/classic/es/index13.js +0 -820
- package/lib/classic/es/index2.js +0 -2605
- package/lib/classic/es/index3.js +0 -19
- package/lib/classic/es/index4.js +0 -6
- package/lib/classic/es/index5.js +0 -4
- package/lib/classic/es/index6.js +0 -285
- package/lib/classic/es/index7.js +0 -181
- package/lib/classic/es/index8.js +0 -7
- package/lib/classic/es/index9.js +0 -11
- package/lib/classic/es/insight.js +0 -79
- package/lib/classic/es/notification.js +0 -9
- package/lib/classic/es/notification2.js +0 -1126
- package/lib/classic/es/pause-ad.js +0 -232
- package/lib/classic/es/points.js +0 -76
- package/lib/classic/es/polymarket.js +0 -6617
- package/lib/classic/es/useStreamLayerApp.js +0 -4
- package/lib/classic/es/useStreamLayerApp2.js +0 -11627
- package/lib/classic/es/utils.js +0 -76
- package/lib/classic/index.d.ts +0 -6
- package/lib/classic/masters.d.ts +0 -8
- package/lib/classic/source.css +0 -110
- package/lib/dist/cjs/gamification-feature.js +0 -1
- package/lib/dist/cjs/index-CfSdnrfA.js +0 -5
- package/lib/dist/cjs/masters.js +0 -69
- package/lib/dist/es/gamification-feature.js +0 -4
- package/lib/dist/es/index-CfSdnrfA.js +0 -3775
- package/lib/dist/es/masters.js +0 -22387
- package/lib/dist/index.d.ts +0 -1357
- package/lib/dist/source.css +0 -64
- package/lib/es/index-CfSdnrfA.js +0 -3775
- package/lib/style.css +0 -1
- /package/lib/{classic/es/index-CfSdnrfA.js → es/index-D8wyDNJD.js} +0 -0
package/lib/es/index16.js
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { atom as b2 } from "nanostores";
|
|
2
1
|
import { u as Y, F as W, s } from "./feature.js";
|
|
3
|
-
import {
|
|
2
|
+
import { h as b2, i as y2, I as T2, d as H2, Q as k } from "./useStreamLayerApp2.js";
|
|
3
|
+
import { useState as T, useEffect as V, useRef as Z, useCallback as N, Component as V2, createElement as k2, useMemo as z2 } from "react";
|
|
4
4
|
import { jsxs as n, jsx as e, Fragment as S } from "react/jsx-runtime";
|
|
5
|
-
import { i as z } from "./
|
|
6
|
-
import { I as g2, s as
|
|
5
|
+
import { i as z } from "./index9.js";
|
|
6
|
+
import { I as g2, s as x2, N as v2, e as R2 } from "./index10.js";
|
|
7
7
|
import { createPortal as P } from "react-dom";
|
|
8
|
-
import { A as K } from "./
|
|
9
|
-
import { u as
|
|
10
|
-
import { r as I2, S as
|
|
11
|
-
import { $ as
|
|
12
|
-
import { O as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { p as Z2 } from "./index5.js";
|
|
8
|
+
import { A as K } from "./index8.js";
|
|
9
|
+
import { u as F2 } from "./utils.js";
|
|
10
|
+
import { r as I2, S as S2, R as M2, D as q2 } from "./storage.js";
|
|
11
|
+
import { $ as B2 } from "./index12.js";
|
|
12
|
+
import { O as E2, V as N2 } from "./index14.js";
|
|
13
|
+
import { B as H } from "./index7.js";
|
|
14
|
+
import { p as Z2 } from "./index11.js";
|
|
16
15
|
import { f as O2 } from "./index13.js";
|
|
17
16
|
import { u as W2 } from "./analytics.js";
|
|
18
|
-
const
|
|
17
|
+
const re = (t) => b2(t), le = (t) => {
|
|
19
18
|
const i = Y(t.getActiveFeature()), a = Y(t.streamStore()), [l, c] = T(null);
|
|
20
19
|
return V(() => {
|
|
21
20
|
const o = t.getFeatures();
|
|
@@ -135,7 +134,7 @@ const le = (t) => b2(t), oe = (t) => {
|
|
|
135
134
|
name: "UserAccountBtn",
|
|
136
135
|
class: "u32nfkp",
|
|
137
136
|
propsAsIs: !1
|
|
138
|
-
}), C0 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e",
|
|
137
|
+
}), C0 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Trophy'%3e%3cpath%20id='Combined%20Shape'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.69197%204.66662C3.69197%205.99705%203.92914%207.17787%204.4035%208.20912C3.49966%208.02451%202.74487%207.66486%202.1391%207.13014C1.53333%206.59542%201.23046%206.0798%201.23046%205.58328V4.66662H3.69197ZM14.7686%204.66662V5.58328C14.7686%206.0798%2014.4658%206.59542%2013.86%207.13014C13.2542%207.66486%2012.4994%208.02451%2011.5956%208.20912C12.0699%207.17787%2012.3071%205.99705%2012.3071%204.66662H14.7686ZM15.9998%205.58329V4.36108C15.9998%204.10645%2015.9101%203.89002%2015.7306%203.71178C15.5511%203.53354%2015.3332%203.44442%2015.0768%203.44442H12.3076V2.52776C12.3076%202.10763%2012.1569%201.74797%2011.8556%201.44878C11.5544%201.14959%2011.1922%201%2010.7691%201H5.23072C4.80764%201%204.44547%201.14959%204.14419%201.44878C3.84291%201.74797%203.69227%202.10763%203.69227%202.52776V3.44442H0.923068C0.666659%203.44442%200.448714%203.53354%200.269228%203.71178C0.0897418%203.89002%200%204.10645%200%204.36108V5.58329C0%206.03525%200.13301%206.49039%200.399034%206.94872C0.665059%207.40705%201.02403%207.82082%201.47595%208.19003C1.92787%208.55924%202.48234%208.86957%203.13939%209.12101C3.79644%209.37246%204.48713%209.51409%205.21149%209.54592C5.48071%209.88967%205.7852%2010.192%206.12494%2010.453C6.36853%2010.6695%206.53679%2010.9002%206.62974%2011.1453C6.72269%2011.3904%206.76916%2011.6752%206.76916%2011.9999C6.76916%2012.3436%206.67141%2012.6333%206.4759%2012.8688C6.28038%2013.1043%205.96789%2013.2221%205.53841%2013.2221C5.05764%2013.2221%204.62976%2013.3669%204.25476%2013.6566C3.87977%2013.9462%203.69227%2014.3106%203.69227%2014.7499V15.361C3.69227%2015.4501%203.72112%2015.5233%203.77881%2015.5806C3.8365%2015.6379%203.91022%2015.6665%203.99996%2015.6665H11.9999C12.0896%2015.6665%2012.1633%2015.6379%2012.221%2015.5806C12.2787%2015.5233%2012.3076%2015.4501%2012.3076%2015.361V14.7499C12.3076%2014.3106%2012.1201%2013.9462%2011.7451%2013.6566C11.3701%2013.3669%2010.9422%2013.2221%2010.4614%2013.2221C10.0319%2013.2221%209.71945%2013.1043%209.52394%2012.8688C9.32843%2012.6333%209.23068%2012.3436%209.23068%2011.9999C9.23068%2011.6752%209.27715%2011.3904%209.3701%2011.1453C9.46305%2010.9002%209.63131%2010.6695%209.8749%2010.453C10.2146%2010.192%2010.5191%209.88967%2010.7884%209.54592C11.5127%209.51409%2012.2034%209.37246%2012.8604%209.12101C13.5175%208.86957%2014.072%208.55924%2014.5239%208.19003C14.9758%207.82082%2015.3348%207.40705%2015.6008%206.94872C15.8668%206.49039%2015.9998%206.03525%2015.9998%205.58329ZM6.76047%207.1798L8.05109%206.49997L9.3417%207.1798L9.09521%205.73989L10.1393%204.72015L8.69639%204.51007L8.05109%203.2L7.40578%204.51007L5.96283%204.72015L7.00696%205.73989L6.76047%207.1798Z'%20fill='%23F2C94C'/%3e%3c/g%3e%3c/svg%3e", oe = ({
|
|
139
138
|
loading: t,
|
|
140
139
|
hideFriendsRank: i,
|
|
141
140
|
avatar: a,
|
|
@@ -161,7 +160,7 @@ const le = (t) => b2(t), oe = (t) => {
|
|
|
161
160
|
/* @__PURE__ */ n(l0, { children: [
|
|
162
161
|
/* @__PURE__ */ e(a0, { alt: "rank-icon", src: C0 }),
|
|
163
162
|
/* @__PURE__ */ n(X, { children: [
|
|
164
|
-
|
|
163
|
+
x2(c),
|
|
165
164
|
/* @__PURE__ */ e(e2, { children: "PTS" })
|
|
166
165
|
] })
|
|
167
166
|
] }),
|
|
@@ -205,7 +204,7 @@ const le = (t) => b2(t), oe = (t) => {
|
|
|
205
204
|
`, A2 = () => window.innerWidth >= K.md && window.innerWidth < K.lg ? 76 : 53, s2 = (t) => {
|
|
206
205
|
const i = A2();
|
|
207
206
|
return Math.round((t.current?.getBoundingClientRect().y || 0) - i) <= 0;
|
|
208
|
-
},
|
|
207
|
+
}, ce = ({
|
|
209
208
|
children: t,
|
|
210
209
|
container: i,
|
|
211
210
|
useContainer: a,
|
|
@@ -234,7 +233,7 @@ const le = (t) => b2(t), oe = (t) => {
|
|
|
234
233
|
}, [o]), !i.current || !o ? null : a ? P(/* @__PURE__ */ n(m0, {
|
|
235
234
|
className: "StaticContainer",
|
|
236
235
|
children: [t, /* @__PURE__ */ e("style", {
|
|
237
|
-
children:
|
|
236
|
+
children: F2
|
|
238
237
|
}), /* @__PURE__ */ e("style", {
|
|
239
238
|
children: f0
|
|
240
239
|
})]
|
|
@@ -279,7 +278,7 @@ const le = (t) => b2(t), oe = (t) => {
|
|
|
279
278
|
}, []), [c, a];
|
|
280
279
|
};
|
|
281
280
|
let b;
|
|
282
|
-
typeof window < "u" ? b = window : typeof self < "u" ? b = self : b =
|
|
281
|
+
typeof window < "u" ? b = window : typeof self < "u" ? b = self : b = y2;
|
|
283
282
|
let D = null, U = null;
|
|
284
283
|
const t2 = 20, j = b.clearTimeout, i2 = b.setTimeout, G = b.cancelAnimationFrame || b.mozCancelAnimationFrame || b.webkitCancelAnimationFrame, a2 = b.requestAnimationFrame || b.mozRequestAnimationFrame || b.webkitRequestAnimationFrame;
|
|
285
284
|
G == null || a2 == null ? (D = j, U = function(i) {
|
|
@@ -366,7 +365,7 @@ function L0(t) {
|
|
|
366
365
|
}
|
|
367
366
|
};
|
|
368
367
|
}
|
|
369
|
-
class _0 extends
|
|
368
|
+
class _0 extends V2 {
|
|
370
369
|
constructor(...i) {
|
|
371
370
|
super(...i), this.state = {
|
|
372
371
|
height: this.props.defaultHeight || 0,
|
|
@@ -435,7 +434,7 @@ class _0 extends y2 {
|
|
|
435
434
|
overflow: "visible"
|
|
436
435
|
}, m = {};
|
|
437
436
|
let C = !1;
|
|
438
|
-
return c || (r === 0 && (C = !0), g.height = 0, m.height = r, m.scaledHeight = h), o || (u === 0 && (C = !0), g.width = 0, m.width = u, m.scaledWidth = f), d && (C = !1),
|
|
437
|
+
return c || (r === 0 && (C = !0), g.height = 0, m.height = r, m.scaledHeight = h), o || (u === 0 && (C = !0), g.width = 0, m.width = u, m.scaledWidth = f), d && (C = !1), k2(_, {
|
|
439
438
|
ref: this._setRef,
|
|
440
439
|
style: {
|
|
441
440
|
...g,
|
|
@@ -500,7 +499,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
500
499
|
type: "invitation",
|
|
501
500
|
action: "sent",
|
|
502
501
|
payload: {
|
|
503
|
-
from:
|
|
502
|
+
from: T2.MENU
|
|
504
503
|
}
|
|
505
504
|
});
|
|
506
505
|
return /* @__PURE__ */ n(w0, { className: c, children: [
|
|
@@ -522,12 +521,12 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
522
521
|
name: "Container",
|
|
523
522
|
class: "cll3md7",
|
|
524
523
|
propsAsIs: !0
|
|
525
|
-
}), E0 = () =>
|
|
524
|
+
}), E0 = () => S2, N0 = /* @__PURE__ */ s(E0())({
|
|
526
525
|
name: "ActionBtn",
|
|
527
526
|
class: "a10g1iik",
|
|
528
527
|
propsAsIs: !0
|
|
529
528
|
}), Z0 = ({ questionId: t, ...i }) => /* @__PURE__ */ n(B0, { "data-a": "intr", "data-name": t, children: [
|
|
530
|
-
/* @__PURE__ */ e(
|
|
529
|
+
/* @__PURE__ */ e(B2, { questionId: t, ...i }),
|
|
531
530
|
/* @__PURE__ */ e(N0, { "data-a": "intr", "data-name": t, children: "View Insight" })
|
|
532
531
|
] }), O0 = () => I2, W0 = /* @__PURE__ */ s(O0())({
|
|
533
532
|
name: "Container",
|
|
@@ -549,13 +548,13 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
549
548
|
name: "QuestionsContainer",
|
|
550
549
|
class: "qvghv3l",
|
|
551
550
|
propsAsIs: !1
|
|
552
|
-
}),
|
|
551
|
+
}), de = ({ questions: t, openQuestion: i, controlVideo: a }) => t ? /* @__PURE__ */ e(n2, { "data-a": "intr", onClick: (c) => {
|
|
553
552
|
const o = c.target.getAttribute("data-name");
|
|
554
|
-
o && (
|
|
553
|
+
o && (E2(), i(o, { openedFrom: "list" }));
|
|
555
554
|
}, children: t?.map((c) => {
|
|
556
555
|
if (c.type === "question" && c.attributes?.attributes.case === "question") {
|
|
557
556
|
const o = c.attributes.attributes.value;
|
|
558
|
-
return /* @__PURE__ */ e(
|
|
557
|
+
return /* @__PURE__ */ e(M2, { ...o }, o.questionId);
|
|
559
558
|
}
|
|
560
559
|
if (c.type === "insight" && c.attributes?.attributes.case === "insight") {
|
|
561
560
|
const o = c.attributes.attributes.value;
|
|
@@ -566,7 +565,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
566
565
|
return /* @__PURE__ */ e(P0, { controlVideo: a, ...o, tweetId: d }, d);
|
|
567
566
|
}
|
|
568
567
|
return null;
|
|
569
|
-
}) }) : /* @__PURE__ */ e(n2, { children: Array.from({ length: 5 }).map((c, o) => /* @__PURE__ */ e(
|
|
568
|
+
}) }) : /* @__PURE__ */ e(n2, { children: Array.from({ length: 5 }).map((c, o) => /* @__PURE__ */ e(q2, {}, o)) }), D0 = /* @__PURE__ */ s("div")({
|
|
570
569
|
name: "InsightContainer",
|
|
571
570
|
class: "i1pqqgpo",
|
|
572
571
|
propsAsIs: !1
|
|
@@ -595,8 +594,8 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
595
594
|
class: "a12495er",
|
|
596
595
|
propsAsIs: !1
|
|
597
596
|
}), e1 = ({ video: t, image: i, imageMode: a, heading: l, body: c, action: o, controlVideo: d }) => /* @__PURE__ */ n(D0, { children: [
|
|
598
|
-
t?.url && /* @__PURE__ */ e(
|
|
599
|
-
i && !t?.url && /* @__PURE__ */ e(Q0, { "data-rounded": a ===
|
|
597
|
+
t?.url && /* @__PURE__ */ e(N2, { source: t.url, poster: t.thumbnailUrl, controlVideo: d }),
|
|
598
|
+
i && !t?.url && /* @__PURE__ */ e(Q0, { "data-rounded": a === H2.ROUNDED, children: /* @__PURE__ */ e(U0, { src: i, alt: l }) }),
|
|
600
599
|
/* @__PURE__ */ n(Y0, { children: [
|
|
601
600
|
/* @__PURE__ */ e(K0, { children: l }),
|
|
602
601
|
/* @__PURE__ */ e(J0, { children: c }),
|
|
@@ -654,13 +653,13 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
654
653
|
i.title && /* @__PURE__ */ e(C1, { children: /* @__PURE__ */ e(m1, { children: i.title }) }),
|
|
655
654
|
/* @__PURE__ */ e(v2, { ...i }),
|
|
656
655
|
t && /* @__PURE__ */ e(h1, { onClick: t, children: "View Insight" })
|
|
657
|
-
] }),
|
|
656
|
+
] }), pe = ({
|
|
658
657
|
close: t,
|
|
659
658
|
action: i,
|
|
660
659
|
controlVideo: a,
|
|
661
660
|
data: { questionType: l, question: c, insight: o, tweet: d }
|
|
662
661
|
}) => {
|
|
663
|
-
const p =
|
|
662
|
+
const p = R2[l];
|
|
664
663
|
return p ? /* @__PURE__ */ n(s1, { onClick: i, style: l === k.TWEET ? { paddingTop: "12px" } : {}, children: [
|
|
665
664
|
/* @__PURE__ */ e(
|
|
666
665
|
t1,
|
|
@@ -841,7 +840,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
841
840
|
name: "CloseIcon",
|
|
842
841
|
class: "c115o126",
|
|
843
842
|
propsAsIs: !0
|
|
844
|
-
}), Q1 = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", Y1 = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", K1 = (t, i, a) => t === i ? "translateY(0px)" : t > i ? `translateY(${a}px)` : "translateY(-100%)", Ce = ({ close: t, votedAnswer: i, mastersApp: a, correct: l, correctAnswerTitle: c, questionTitle: o, saveHeight: d, style: p, hiding: v }) => {
|
|
843
|
+
}), Q1 = "data:image/svg+xml,%3csvg%20width='154'%20height='37'%20viewBox='0%200%20154%2037'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M70.9776%2030.8796L74.668%2018.1381C75.0696%2016.7473%2076.1186%2015.6318%2077.4936%2015.1371L77.5928%2014.7217H72.466L63.7623%2024.9662L60.431%2014.7217H55.7389L55.6255%2015.1371C56.4288%2015.5291%2056.8683%2016.7052%2056.8683%2017.662V17.7227C56.8683%2023.1787%2052.781%2032.5598%2047.0352%2032.5598C44.8002%2032.5598%2043.6425%2031.0009%2043.6425%2029.7035C43.6425%2028.1306%2044.975%2027.0105%2046.3831%2027.0105C47.744%2027.0105%2047.9519%2027.5099%2048.741%2027.5099C49.2182%2027.5099%2049.6766%2027.2672%2049.9081%2026.8518C50.2672%2026.1984%2049.9931%2025.4049%2049.3363%2025.0922L48.9772%2024.9242C45.6271%2023.3327%2041.7383%2025.7457%2041.7383%2029.4188V29.4701C41.7383%2032.1444%2043.8646%2034.38%2046.5674%2034.4733C53.5417%2034.716%2058.2055%2025.4236%2058.9473%2018.6188L59.486%2020.4577L62.2313%2028.5927H63.2709L71.8518%2018.4741L68.2512%2030.8936C67.8401%2032.3171%2066.6966%2033.4232%2065.2412%2033.7966L65.142%2034.212H72.0408L72.1542%2033.7966C71.1383%2033.2039%2070.6516%2032.0044%2070.9776%2030.8796Z'%20fill='white'/%3e%3cpath%20d='M88.2952%2021.6521H88.2385C85.016%2021.6568%2081.5571%2021.9648%2079.7143%2027.1361C78.1692%2031.4813%2077.7487%2033.2828%2076.539%2033.2828C75.7641%2033.2828%2075.9531%2031.794%2074.7954%2031.794C74.2709%2031.794%2073.7275%2032.2094%2073.6897%2032.8068C73.6236%2033.8429%2075.0317%2034.4683%2076.0949%2034.4683C79.3316%2034.4683%2080.5696%2032.1347%2080.9759%2031.0472C81.0279%2030.9072%2081.3162%2030.1371%2081.6517%2029.2317H85.0538L84.4773%2031.3273C84.1749%2032.4334%2083.5464%2033.3388%2082.488%2033.8009L82.3982%2034.2163H87.9597L88.0637%2033.8009C87.3124%2033.1848%2086.9816%2032.2%2087.2273%2031.2853L89.3206%2023.4257C89.4812%2022.8236%2089.9018%2022.3242%2090.4783%2022.0628L90.568%2021.6475H88.7536H88.2952V21.6521ZM85.3231%2028.2189H82.0202C82.3935%2027.2108%2082.7526%2026.2493%2082.8755%2025.9366C83.7118%2023.757%2085.2995%2022.8749%2086.8399%2022.7536L86.8257%2022.7676L85.3231%2028.2189Z'%20fill='white'/%3e%3cpath%20d='M116.358%2022.5486C116.538%2022.2545%20116.708%2021.8112%20116.708%2021.5591C116.732%2021.0877%20116.297%2020.7237%20115.829%2020.8217C115.456%2020.9011%20115.187%2021.2324%20115.191%2021.6058C115.196%2021.9978%20115.12%2022.4226%20114.95%2022.6279C114.558%2023.104%20113.934%2023.062%20111.062%2022.2452V22.2405C110.797%2022.1659%20110.509%2022.0819%20110.206%2021.9978C110.187%2021.9932%20110.173%2021.9885%20110.159%2021.9838C108.723%2021.6011%20106.941%2021.2464%20105.774%2021.8205C105.765%2021.8252%20105.755%2021.8298%20105.746%2021.8345C104.602%2022.3992%20103.808%2023.4727%20103.567%2024.7142C103.53%2024.8962%20103.506%2025.0455%20103.501%2025.0969C103.468%2025.7456%20104.068%2026.2544%20104.711%2026.1143C105.235%2026.0023%20105.604%2025.5403%20105.59%2025.0129C105.58%2024.4808%20105.472%2023.7667%20105.765%2023.286C106.237%2022.6279%20106.729%2022.5812%20108.935%2023.3047L106.544%2031.323C106.214%2032.4291%20105.406%2033.3345%20104.338%2033.7966L104.238%2034.212H109.961L110.074%2033.7966C109.337%2033.1852%20109.03%2032.1957%20109.299%2031.2809L111.392%2024.0561C112.309%2024.2428%20113.24%2024.2941%20114.147%2024.0374L114.473%2023.9441C115.196%2023.7527%20115.943%2023.2347%20116.358%2022.5486Z'%20fill='white'/%3e%3cpath%20d='M118.649%2021.6523L118.536%2022.0677C119.245%2022.5531%20119.561%2023.4259%20119.335%2024.2427L117.208%2031.3228C116.877%2032.429%20116.069%2033.3344%20115.002%2033.7964L114.902%2034.2118H117.931H118.21H125.18L126.101%2030.8934H125.666L125.51%2031.2108C124.934%2032.3963%20123.72%2033.1524%20122.382%2033.1524H119.429L121.003%2027.5937H122.259C123.105%2027.5937%20123.743%2028.3545%20123.582%2029.1759H124.012L125.043%2025.4188H124.613C124.362%2026.1142%20123.696%2026.5763%20122.949%2026.5809H121.291L122.382%2022.7258L125.515%2022.7211C126.536%2022.7211%20127.301%2023.6452%20127.098%2024.6347H127.528L128.35%2021.6523H118.649Z'%20fill='white'/%3e%3cpath%20d='M138.251%2021.6582H131.333L131.22%2022.0736C131.881%2022.5263%20132.207%2023.3197%20132.056%2024.0898L129.892%2031.324C129.561%2032.4301%20128.753%2033.3356%20127.685%2033.7976L127.586%2034.213H133.303L133.417%2033.7976C132.68%2033.1862%20132.373%2032.2014%20132.637%2031.282L133.686%2027.5949H134.126C134.787%2027.5949%20135.34%2028.085%20135.416%2028.7337C135.439%2028.9437%20135.77%2031.506%20136.035%2032.3881C136.379%2033.5409%20136.833%2034.213%20137.868%2034.213H140.453L140.552%2033.7976L140.183%2033.5829C139.451%2033.1536%20138.922%2032.4908%20138.685%2031.6087C138.463%2030.7779%20138.043%2029.2284%20137.84%2028.4117C137.736%2027.9916%20137.202%2027.5996%20136.654%2027.5996H137.523C139.087%2027.5996%20140.457%2026.5681%20140.878%2025.0839C141.365%2023.3617%20140.056%2021.6582%20138.251%2021.6582ZM138.369%2024.6872C138.029%2025.812%20136.98%2026.5868%20135.789%2026.5868H133.974L135.071%2022.7317H136.89C137.925%2022.727%20138.662%2023.7118%20138.369%2024.6872Z'%20fill='white'/%3e%3cpath%20d='M100.265%2022.2961C100.081%2022.2961%2099.6794%2022.1701%2099.0651%2021.9181C98.4508%2021.6661%2097.8318%2021.54%2097.2034%2021.54C95.904%2021.54%2094.8219%2021.9554%2093.9336%2022.8422C93.1964%2023.5796%2092.8704%2024.401%2092.8704%2025.1105C92.8704%2025.8665%2093.3193%2026.7533%2094.2124%2027.4721C95.0582%2028.1488%2095.937%2028.8022%2096.8206%2029.465C97.7468%2030.1977%2098.2098%2030.8745%2098.2098%2031.4252C98.2098%2032.634%2097.416%2033.2828%2095.7669%2033.2828C94.0942%2033.2828%2092.9366%2032.074%2092.568%2029.8057H92.1144L90.8008%2034.2162H91.226C91.7694%2033.8382%2092.1569%2033.6001%2092.946%2033.6001C93.6973%2033.6001%2094.5006%2034.4729%2096.2158%2034.4729C97.5814%2034.4729%2098.6682%2034.1929%2099.5943%2033.2781C100.383%2032.4753%20100.776%2031.3552%20100.776%2030.4404C100.776%2029.591%20100.237%2028.6062%2099.2966%2027.8921C98.4886%2027.2807%2097.6286%2026.7347%2096.7923%2026.1419C95.8898%2025.4792%2095.4362%2024.9144%2095.4362%2024.2937C95.4362%2023.9483%2095.611%2023.6076%2095.9559%2023.2622C96.3954%2022.8282%2096.986%2022.7302%2097.7751%2022.7302C99.3581%2022.7302%20100.464%2023.5983%20100.558%2025.4325H100.974L102.08%2021.5447H101.664C101.215%2022.0441%20100.752%2022.2961%20100.265%2022.2961Z'%20fill='white'/%3e%3cpath%20d='M149.201%2022.7304C150.784%2022.7304%20151.89%2023.6032%20151.984%2025.4327H152.4L153.501%2021.5449H153.085C152.646%2022.049%20152.182%2022.301%20151.696%2022.301C151.512%2022.301%20151.11%2022.175%20150.496%2021.923C149.881%2021.6709%20149.262%2021.5449%20148.634%2021.5449C147.334%2021.5449%20146.252%2021.9603%20145.364%2022.8471C144.627%2023.5845%20144.296%2024.4059%20144.296%2025.1153C144.296%2025.8714%20144.745%2026.7582%20145.638%2027.477C146.484%2028.1537%20147.363%2028.8071%20148.246%2029.4699C149.173%2030.2026%20149.636%2030.8794%20149.636%2031.4301C149.636%2032.6389%20148.842%2033.2876%20147.193%2033.2876C145.52%2033.2876%20144.362%2032.0788%20143.994%2029.8106H143.54L142.227%2034.2211H142.642C143.186%2033.843%20143.573%2033.605%20144.358%2033.605C145.109%2033.605%20145.912%2034.4778%20147.627%2034.4778C148.993%2034.4778%20150.075%2034.1978%20151.006%2033.283C151.795%2032.4802%20152.187%2031.3601%20152.187%2030.4453C152.187%2029.6005%20151.649%2028.6111%20150.708%2027.897C149.9%2027.2856%20149.04%2026.7395%20148.204%2026.1468C147.301%2025.4841%20146.848%2024.9193%20146.848%2024.2986C146.848%2023.9532%20147.023%2023.6125%20147.368%2023.2671C147.826%2022.8237%20148.412%2022.7304%20149.201%2022.7304Z'%20fill='white'/%3e%3cpath%20d='M26.5433%202.60035C26.0377%202.44633%2025.5321%202.72169%2025.0265%203.00173C24.8469%203.09974%2024.7194%203.27243%2024.6768%203.46845L23.883%207.13222C23.8547%207.26757%2023.9775%207.38891%2024.1145%207.36091C24.9509%207.17422%2025.7447%206.4508%2026.5811%206.70283C27.5167%206.98753%2028.4522%205.81606%2029.3878%205.83006V1.60156C28.4475%201.60623%2027.4789%202.88505%2026.5433%202.60035Z'%20fill='white'/%3e%3cpath%20d='M38.4856%2013.8398C38.2871%2013.7044%2038.1643%2013.4851%2038.1643%2013.2471V12.5796C38.1643%2011.9822%2037.6729%2011.4922%2037.0633%2011.4922H36.6239C36.0994%2011.4922%2035.6174%2011.7536%2035.3339%2012.1876L33.9164%2014.3485C33.7746%2014.5632%2033.5383%2014.6892%2033.2832%2014.6892H32.3287C31.8562%2014.6892%2031.4215%2014.9459%2031.1947%2015.3566C30.9631%2015.7814%2030.552%2016.0754%2030.0843%2016.1734V1.1403C30.0843%200.94894%2029.9283%200.794922%2029.7346%200.794922C29.5409%200.794922%2029.3849%200.94894%2029.3849%201.1403V1.60702V5.83552V16.1827C28.9171%2016.0847%2028.506%2015.7907%2028.2745%2015.3613C28.0524%2014.9506%2027.6177%2014.6939%2027.1405%2014.6939H26.4979C25.9875%2014.6939%2025.5292%2014.9879%2025.3213%2015.45L24.7873%2016.6308C24.7023%2016.8175%2024.5133%2016.9388%2024.3054%2016.9388C24.0975%2016.9388%2023.9085%2016.8175%2023.8234%2016.6308L23.2895%2015.45C23.0816%2014.9926%2022.6232%2014.6939%2022.1129%2014.6939H4.00135C3.85487%2014.6939%203.73674%2014.8106%203.73674%2014.9553C3.73674%2015.2633%203.48158%2015.5107%203.17444%2015.5107H2.39007C2.24359%2015.5107%202.12546%2015.6273%202.12546%2015.772V16.6728C2.12546%2017.5176%201.96008%2018.339%201.62931%2019.1184L1.15207%2020.2526C0.707907%2021.3027%200.5%2022.3901%200.5%2023.4589V26.0726C0.5%2026.7773%200.603954%2027.4914%200.811861%2028.1868C1.39306%2030.1377%202.7161%2031.7339%204.53529%2032.6767L7.43182%2034.1842C7.46962%2034.2029%207.51214%2034.2122%207.55467%2034.2122L9.69517%2034.2309C10.196%2034.2355%2010.6875%2034.3616%2011.1269%2034.6043L12.2751%2035.239C12.3129%2035.2623%2012.3602%2035.2717%2012.4074%2035.2717H13.9431C14.4818%2035.2717%2015.0157%2035.4163%2015.474%2035.6917C15.474%2035.6917%2016.2253%2036.1444%2016.4805%2036.2891C16.8869%2036.5225%2017.3783%2036.7465%2018.2335%2036.7932C18.4273%2036.8025%2018.621%2036.7325%2018.7675%2036.5972C18.9092%2036.4618%2018.9943%2036.2704%2018.9943%2036.0791V35.0616C18.9943%2034.3242%2019.4337%2033.6521%2020.1189%2033.3581L22.4673%2032.3406C22.7886%2032.2006%2023.1477%2032.1773%2023.4832%2032.28L24.3621%2032.5367C24.7354%2032.644%2025.1323%2032.6487%2025.5056%2032.5367L27.5846%2031.9253C27.8587%2031.8459%2028.1517%2031.8459%2028.4304%2031.9299L29.2763%2032.1633C29.6684%2032.2706%2029.9472%2032.6347%2029.9472%2033.0361V35.071C29.9472%2036.0184%2030.7269%2036.7932%2031.6861%2036.7932C32.4043%2036.7932%2033.0328%2036.3405%2033.2501%2035.6637C33.6423%2034.4456%2033.8408%2033.1761%2033.8408%2031.8973V31.0292C33.8408%2030.4131%2034.1006%2029.8204%2034.5543%2029.3956L35.419%2028.5882C36.0002%2028.0421%2036.3356%2027.2674%2036.3356%2026.474V21.6481C36.3356%2020.9013%2036.5625%2020.1779%2036.9972%2019.5618C37.0302%2019.5198%2037.0444%2019.4638%2037.0444%2019.4125V18.2737C37.0444%2017.5316%2037.2712%2016.8128%2037.6965%2016.2014L38.5517%2014.9739C38.5848%2014.9319%2038.599%2014.8806%2038.599%2014.8246V14.0545C38.6037%2013.9098%2038.5139%2013.8585%2038.4856%2013.8398ZM30.0843%2025.2838C30.6654%2025.3725%2031.1002%2025.6665%2031.1002%2026.0212C31.1002%2026.3759%2030.6702%2026.67%2030.0843%2026.7587V25.2838ZM5.22516%2032.4433L4.78572%2032.2146C3.59026%2031.5939%202.63577%2030.6698%201.9837%2029.545V28.1355C2.73028%2029.2043%203.74619%2030.1144%204.98891%2030.7631L5.22516%2030.8845V32.4433ZM7.43654%2033.5961L6.2647%2032.9894V31.4305L7.43182%2032.0373H7.43654V33.5961ZM12.3129%2034.6556L11.3868%2034.1422C10.8812%2033.8622%2010.3142%2033.7128%209.73297%2033.7035V32.0793C10.2197%2032.0886%2010.7016%2032.2146%2011.1269%2032.448L12.2751%2033.0827C12.2846%2033.0874%2012.2987%2033.0874%2012.3129%2033.0921V34.6556ZM18.4603%2035.0616V35.8551V36.0791C18.4603%2036.1304%2018.4367%2036.1818%2018.3989%2036.2191C18.3611%2036.2564%2018.3139%2036.2705%2018.2619%2036.2705C17.52%2036.2331%2017.0948%2036.0418%2016.7498%2035.8411C16.4994%2035.6964%2015.7528%2035.2483%2015.7481%2035.2483C15.2803%2034.9683%2014.7511%2034.8143%2014.2077%2034.7723V33.1387C14.6519%2033.1808%2015.0866%2033.3114%2015.474%2033.5401L16.1214%2033.9228C16.8302%2034.3429%2017.6382%2034.5809%2018.4603%2034.6276V35.0616ZM24.8582%2032.0886C24.7448%2032.084%2024.6267%2032.0653%2024.5133%2032.0326L23.6344%2031.7713C23.4454%2031.7152%2023.2517%2031.6966%2023.0579%2031.6966V30.0677C23.1997%2030.0677%2023.3414%2030.0817%2023.4832%2030.1237L24.3621%2030.3804C24.5227%2030.4271%2024.6928%2030.4504%2024.8582%2030.4598V32.0886ZM30.363%2032.4807C30.1929%2032.0886%2029.8574%2031.7759%2029.4275%2031.6592L28.5864%2031.4259C28.3879%2031.3652%2028.18%2031.3419%2027.9721%2031.3419V29.7177C28.1328%2029.713%2028.2934%2029.7317%2028.4493%2029.783L29.1392%2029.9977C29.8716%2030.2264%2030.363%2030.8891%2030.363%2031.6452V32.4807ZM32.787%2035.365C32.7729%2035.4117%2032.7634%2035.4584%2032.7492%2035.505C32.6028%2035.9624%2032.1775%2036.2658%2031.6955%2036.2658C31.653%2036.2658%2031.6105%2036.2564%2031.568%2036.2518V34.6323C31.601%2034.6369%2031.6294%2034.6416%2031.6625%2034.6416C32.135%2034.6416%2032.565%2034.3802%2032.7918%2033.9835V35.365H32.787ZM37.3232%2015.0486C36.794%2015.8047%2036.5152%2016.6915%2036.5152%2017.6109V18.4137L36.1041%2019.0017C35.5702%2019.7625%2035.2867%2020.6539%2035.2867%2021.578V25.6245C35.2867%2026.2779%2035.0126%2026.9173%2034.5306%2027.3654L33.6659%2028.1775C33.0847%2028.7236%2032.7634%2029.489%2032.787%2030.2824L32.7918%2030.4644C32.8248%2031.5146%2032.6878%2032.56%2032.3901%2033.5681C32.2956%2033.8902%2031.9932%2034.1142%2031.6577%2034.1142C31.2372%2034.1142%2030.8923%2033.7782%2030.8923%2033.3581V31.6452C30.8923%2030.6558%2030.2496%2029.7923%2029.2952%2029.4983L28.6053%2029.2836C28.2225%2029.1669%2027.8209%2029.1623%2027.4334%2029.2743L25.3544%2029.881C25.0803%2029.9604%2024.7873%2029.9604%2024.5133%2029.881L23.6344%2029.6243C23.1808%2029.489%2022.6894%2029.5217%2022.2547%2029.7083L20.4071%2030.5111C19.2258%2031.0245%2018.4651%2032.1773%2018.4651%2033.4515V34.1095C17.7374%2034.0675%2017.0286%2033.8528%2016.4002%2033.4795L15.7528%2033.0967C15.2047%2032.7747%2014.581%2032.602%2013.9431%2032.602H12.4736L11.3868%2031.9999C10.8717%2031.7152%2010.2905%2031.5659%209.69989%2031.5612L7.62082%2031.5472L5.23461%2030.3057C1.61514%2028.4249%200.0700101%2024.1917%201.64349%2020.4579L2.12073%2019.3238C2.47512%2018.4837%202.6594%2017.5922%202.6594%2016.6775V16.0427H3.17444C3.68476%2016.0427%204.11948%2015.6927%204.2376%2015.2213H22.1176C22.4153%2015.2213%2022.6894%2015.394%2022.8075%2015.6647L23.3414%2016.8455C23.5115%2017.2235%2023.8896%2017.4662%2024.3101%2017.4662C24.7259%2017.4662%2025.1087%2017.2235%2025.2788%2016.8455L25.8127%2015.66C25.9356%2015.3893%2026.2049%2015.2166%2026.5026%2015.2166H27.1452C27.424%2015.2166%2027.6791%2015.366%2027.8114%2015.6087C28.1375%2016.2061%2028.7234%2016.6075%2029.3897%2016.7148V24.145C28.317%2024.2617%2027.4949%2024.8918%2027.4949%2025.6572C27.4949%2026.5066%2028.4966%2027.1927%2029.7346%2027.1927C30.9726%2027.1927%2031.9743%2026.5066%2031.9743%2025.6572C31.9743%2024.8918%2031.1521%2024.257%2030.0795%2024.145V16.7101C30.7458%2016.6028%2031.3317%2016.2014%2031.6577%2015.604C31.79%2015.3613%2032.0452%2015.212%2032.324%2015.212H33.2785C33.7179%2015.212%2034.1195%2014.9926%2034.3605%2014.6286L35.7781%2012.4676C35.9624%2012.1829%2036.2789%2012.0149%2036.6239%2012.0149H37.0633C37.3752%2012.0149%2037.6303%2012.2669%2037.6303%2012.575V13.2424C37.6303%2013.5644%2037.7579%2013.8725%2037.98%2014.1012L37.3232%2015.0486ZM29.3849%2025.2838V26.7587C28.8037%2026.67%2028.3737%2026.3759%2028.3737%2026.0212C28.3737%2025.6665%2028.8037%2025.3678%2029.3849%2025.2838Z'%20fill='white'/%3e%3c/svg%3e", Y1 = "data:image/svg+xml,%3csvg%20width='159'%20height='28'%20viewBox='0%200%20159%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_71839)'%3e%3cpath%20d='M4.13243%2025.9198C5.34921%2026.9052%207.05161%2027.0267%208.39597%2026.224L22.9838%2017.5138C25.4013%2016.0703%2025.4117%2012.5721%2023.0028%2011.1144L17.4686%207.76522C15.4767%206.55981%2012.8918%207.10053%2011.5501%209.00325L3.27399%2020.7399C2.14132%2022.3462%202.44805%2024.5556%203.97544%2025.7926L4.13243%2025.9198Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M4.11673%202.57147C5.33939%201.58127%207.0516%201.46387%208.39797%202.27791L22.9843%2011.0971C25.3835%2012.5477%2025.3874%2016.0265%2022.9914%2017.4824L17.5405%2020.7946C15.5485%2022.005%2012.9594%2021.4661%2011.6157%2019.5615L3.27518%207.7386C2.142%206.1323%202.44856%203.92248%203.97619%202.68529L4.11673%202.57147Z'%20stroke='white'%20style='stroke:white;stroke-opacity:1;'%20stroke-width='2.33333'/%3e%3cpath%20d='M49.8088%2020.0063C47.924%2020.0063%2046.7521%2018.7437%2046.7521%2016.6748V13.1359H50.1977V10.9296H46.7521V7.34668L44.2736%209.18483V10.9271H42.8892V13.1333H44.2736V16.6515C44.2736%2020.2137%2046.3632%2022.4174%2049.8321%2022.4174H50.361V20.0063H49.8088Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M30.4704%2019.5631L32.6818%2017.8339C33.6722%2019.4231%2035.01%2020.2761%2036.7159%2020.2761C38.5826%2020.2761%2039.757%2019.0783%2039.757%2017.5798C39.757%2015.8505%2037.9137%2015.2983%2035.977%2014.6761C33.6956%2013.9398%2031.23%2013.0168%2031.23%209.92907C31.23%207.37018%2033.5115%205.34277%2036.6226%205.34277C39.1815%205.34277%2040.7707%206.33314%2042.0618%207.83166L40.0111%209.35351C39.2515%208.17907%2038.1211%207.55685%2036.6226%207.55685C34.9167%207.55685%2033.8096%208.57055%2033.8096%209.88499C33.8096%2011.4976%2035.5856%2012.0291%2037.5196%2012.6746C39.8244%2013.4576%2042.3367%2014.4506%2042.3367%2017.585C42.3367%2020.1672%2040.2159%2022.6328%2036.7367%2022.6328C33.8563%2022.6328%2031.8963%2021.4117%2030.4678%2019.5683L30.4704%2019.5631Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M58.9189%2016.7007C58.9189%2013.3225%2061.5141%2010.6807%2064.8923%2010.6807C68.2704%2010.6807%2070.7982%2013.1384%2070.7982%2016.5399V17.5044H61.286C61.6075%2019.2725%2062.9867%2020.4444%2064.9856%2020.4444C66.5489%2020.4444%2067.7441%2019.6173%2068.3404%2018.3755L70.3627%2019.5007C69.3515%2021.3855%2067.5367%2022.6247%2064.9856%2022.6247C61.356%2022.6247%2058.9189%2020.0296%2058.9189%2016.6981V16.7007ZM61.4001%2015.4147H68.2938C67.9256%2013.7607%2066.663%2012.8403%2064.8923%2012.8403C63.1215%2012.8403%2061.8589%2013.8981%2061.4001%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M51.8955%2016.6752C51.8955%2013.113%2053.9851%2010.9326%2057.454%2010.9326H58.5559V13.323H57.4307C55.5459%2013.323%2054.33%2014.6322%2054.3533%2016.7011V22.423H51.8955V16.6804V16.6752Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M72.0138%2016.6774C72.0138%2013.3226%2074.6557%2010.7041%2077.9638%2010.7041C81.272%2010.7041%2083.8672%2013.3226%2083.8672%2016.6774V22.42H81.456V20.9267C80.6523%2022.0052%2079.4105%2022.6274%2077.8938%2022.6274C74.609%2022.6274%2072.0112%2020.0556%2072.0112%2016.6774H72.0138ZM81.5027%2016.6774C81.5027%2014.6319%2079.9394%2013.0011%2077.9638%2013.0011C75.9883%2013.0011%2074.4249%2014.6319%2074.4249%2016.6774C74.4249%2018.723%2075.9649%2020.3537%2077.9638%2020.3537C79.9627%2020.3537%2081.5027%2018.6997%2081.5027%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M85.4155%2015.978C85.4155%2012.9214%2087.5052%2010.6943%2090.6085%2010.6943C92.3766%2010.6943%2093.8026%2011.4073%2094.697%2012.6025C95.5474%2011.4073%2096.9266%2010.6943%2098.6948%2010.6943C101.819%2010.6943%20104.002%2012.8773%20104.002%2015.978V22.4103H101.544V16.0014C101.544%2014.2566%20100.372%2013.038%2098.6948%2013.038C97.0174%2013.038%2095.9155%2014.2799%2095.9389%2015.934V22.4129H93.4811V16.004C93.4811%2014.2592%2092.2859%2013.0406%2090.6085%2013.0406C88.9311%2013.0406%2087.8526%2014.2825%2087.8733%2015.9366V22.4154H85.4155V15.9832V15.978Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M105.578%205.6416H108.082V20.0227H114.859V22.4131H105.578V5.6416Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M138.483%2016.7007C138.483%2013.3225%20141.078%2010.6807%20144.456%2010.6807C147.834%2010.6807%20150.362%2013.1384%20150.362%2016.5399V17.5044H140.85C141.171%2019.2725%20142.551%2020.4444%20144.55%2020.4444C146.113%2020.4444%20147.308%2019.6173%20147.904%2018.3755L149.927%2019.5007C148.916%2021.3855%20147.101%2022.6247%20144.55%2022.6247C140.92%2022.6247%20138.483%2020.0296%20138.483%2016.6981V16.7007ZM140.964%2015.4147H147.858C147.49%2013.7607%20146.227%2012.8403%20144.456%2012.8403C142.685%2012.8403%20141.423%2013.8981%20140.964%2015.4147Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M115.269%2016.6774C115.269%2013.3226%20117.911%2010.7041%20121.219%2010.7041C124.527%2010.7041%20127.122%2013.3226%20127.122%2016.6774V22.42H124.711V20.9267C123.907%2022.0052%20122.665%2022.6274%20121.149%2022.6274C117.864%2022.6274%20115.266%2020.0556%20115.266%2016.6774H115.269ZM124.758%2016.6774C124.758%2014.6319%20123.194%2013.0011%20121.219%2013.0011C119.243%2013.0011%20117.68%2014.6319%20117.68%2016.6774C117.68%2018.723%20119.22%2020.3537%20121.219%2020.3537C123.218%2020.3537%20124.758%2018.6997%20124.758%2016.6774Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M131.67%2021.8547L126.915%2010.9658H129.557L132.912%2018.938L136.082%2010.9658H138.678L131.74%2027.7606H129.212L131.67%2021.8573V21.8547Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3cpath%20d='M151.897%2016.6674C151.897%2013.1052%20153.987%2010.9248%20157.455%2010.9248H158.557V13.3152H157.432C155.547%2013.3152%20154.331%2014.6244%20154.355%2016.6933V22.4152H151.897V16.6726V16.6674Z'%20fill='white'%20style='fill:white;fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6919_71839'%3e%3crect%20width='158.12'%20height='28'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.44043)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", K1 = (t, i, a) => t === i ? "translateY(0px)" : t > i ? `translateY(${a}px)` : "translateY(-100%)", he = ({ close: t, votedAnswer: i, mastersApp: a, correct: l, correctAnswerTitle: c, questionTitle: o, saveHeight: d, style: p, hiding: v }) => {
|
|
845
844
|
const [I, _] = T(1), L = Z({});
|
|
846
845
|
V(() => {
|
|
847
846
|
const u = setInterval(() => {
|
|
@@ -944,7 +943,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
944
943
|
]
|
|
945
944
|
}
|
|
946
945
|
) });
|
|
947
|
-
},
|
|
946
|
+
}, Ce = (t) => {
|
|
948
947
|
const [i, a] = T(!1), [l, c] = T(!1), o = Z(null), d = N(() => {
|
|
949
948
|
c(!0), o.current && clearTimeout(o.current), o.current = setTimeout(() => {
|
|
950
949
|
c(!1);
|
|
@@ -1154,7 +1153,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
1154
1153
|
steps: !1,
|
|
1155
1154
|
rules: !1,
|
|
1156
1155
|
inviteCard: !1
|
|
1157
|
-
},
|
|
1156
|
+
}, me = ({
|
|
1158
1157
|
gamification: t,
|
|
1159
1158
|
steps: i,
|
|
1160
1159
|
rules: a,
|
|
@@ -1176,7 +1175,7 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
1176
1175
|
V(() => {
|
|
1177
1176
|
i?.length ? y({ ...F, steps: !0 }) : a?.length ? y({ ...F, rules: !0 }) : y({ ...F, inviteCard: !0 });
|
|
1178
1177
|
}, []);
|
|
1179
|
-
const _2 =
|
|
1178
|
+
const _2 = z2(() => A.steps && g === 0 ? "Continue" : A.rules ? C || !l ? "Got it" : l : A.inviteCard ? L || "Play Now" : "Next", [A, g, C, l, L]), w2 = N(() => {
|
|
1180
1179
|
i?.length && g < i.length - 1 ? m((O) => ++O) : a?.length && A.steps ? y({ ...F, rules: !0 }) : A.rules && y({ ...F, inviteCard: !0 });
|
|
1181
1180
|
}, [g, i?.length, a?.length, A, m, y]), $2 = async () => {
|
|
1182
1181
|
A.inviteCard ? await t.onboardingStatus.submitInplay() : A.rules && C ? $(!1) : w2();
|
|
@@ -1230,21 +1229,21 @@ const w0 = /* @__PURE__ */ s("div")({
|
|
|
1230
1229
|
name: "Title",
|
|
1231
1230
|
class: "t154z7mh",
|
|
1232
1231
|
propsAsIs: !1
|
|
1233
|
-
}),
|
|
1232
|
+
}), fe = ({ title: t, onClick: i, className: a, style: l }) => /* @__PURE__ */ e(Z3, { "data-a": "intr", onClick: i, className: a, style: l, children: /* @__PURE__ */ n(O3, { "data-a": "intr", children: [
|
|
1234
1233
|
/* @__PURE__ */ e(H, { "data-a": "intr", name: "iconUp" }),
|
|
1235
1234
|
t && /* @__PURE__ */ e(W3, { "data-a": "intr", children: t })
|
|
1236
1235
|
] }) });
|
|
1237
1236
|
export {
|
|
1238
|
-
|
|
1237
|
+
Ce as I,
|
|
1239
1238
|
M0 as M,
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1239
|
+
de as Q,
|
|
1240
|
+
ce as T,
|
|
1241
|
+
he as a,
|
|
1243
1242
|
A0 as b,
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1243
|
+
re as c,
|
|
1244
|
+
fe as f,
|
|
1245
|
+
me as n,
|
|
1246
|
+
le as p,
|
|
1247
|
+
pe as w,
|
|
1248
|
+
oe as z
|
|
1250
1249
|
};
|
package/lib/es/index2.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import { h as ye } from "./
|
|
1
|
+
import { h as ye } from "./index6.js";
|
|
2
2
|
import { jsx as o, jsxs as v, Fragment as R } from "react/jsx-runtime";
|
|
3
3
|
import { u as f, F as Ne, s as p, b as Se, c as w, a as T, N as M } from "./feature.js";
|
|
4
4
|
import { l as we, S as $e, m as Ae, d as Ce, n as Ee, C as Re, y as xe, a as Le, f as V, p as De, c as Te } from "./index13.js";
|
|
5
5
|
import { M as Oe, b as _e, Q as Me, z as me, c as he, T as fe, I as Be, n as Ue, f as Pe, w as Q, a as Fe, p as ze } from "./index16.js";
|
|
6
6
|
import F from "lodash.throttle";
|
|
7
7
|
import { useState as N, useEffect as I, useRef as E, PureComponent as Ve, useCallback as z, useMemo as $, Suspense as qe, lazy as je, forwardRef as ve, useLayoutEffect as Qe, useContext as K } from "react";
|
|
8
|
-
import { A as L } from "./
|
|
8
|
+
import { A as L } from "./index8.js";
|
|
9
9
|
import { f as ge, u as Ke, A as He, a as We } from "./analytics.js";
|
|
10
10
|
import { m as O } from "./theme.js";
|
|
11
|
-
import "nanostores";
|
|
12
11
|
import { p as q, _ as Ge, e as Je } from "./Question.js";
|
|
13
12
|
import { O as Ze } from "./index12.js";
|
|
14
|
-
import { B as x } from "./
|
|
15
|
-
import { I as Xe, S as y,
|
|
13
|
+
import { B as x } from "./index7.js";
|
|
14
|
+
import { I as Xe, S as y, g as C, j as H, Q as U } from "./useStreamLayerApp2.js";
|
|
15
|
+
import "@storybook/blocks";
|
|
16
16
|
import Ye from "react-infinite-scroller";
|
|
17
|
-
import { I as et, s as tt, e as st } from "./
|
|
18
|
-
import "uuid";
|
|
19
|
-
import "@nanostores/query";
|
|
17
|
+
import { I as et, s as tt, e as st } from "./index10.js";
|
|
20
18
|
import "./storage.js";
|
|
21
|
-
import "./
|
|
19
|
+
import "./index5.js";
|
|
22
20
|
import { createPortal as nt } from "react-dom";
|
|
23
21
|
import { e as ot } from "./index3.js";
|
|
24
22
|
import { i as W, q as at, _ as rt, j as G } from "./hooks-n9ax4LRT.js";
|
|
@@ -529,7 +527,7 @@ const xt = /* @__PURE__ */ p("div")({
|
|
|
529
527
|
}) => {
|
|
530
528
|
const s = e + t;
|
|
531
529
|
return s === 0 ? 0 : Math.round(e / s * 100);
|
|
532
|
-
},
|
|
530
|
+
}, xn = ({
|
|
533
531
|
gamification: e,
|
|
534
532
|
scrollStore: t,
|
|
535
533
|
className: s,
|
|
@@ -1376,13 +1374,13 @@ const rs = {
|
|
|
1376
1374
|
})]
|
|
1377
1375
|
})
|
|
1378
1376
|
});
|
|
1379
|
-
},
|
|
1377
|
+
}, Ln = ({ event: e, topNavigation: t, theme: s, muted: a, withSidebarNotification: n = !0 }) => {
|
|
1380
1378
|
const { sdk: r, status: d } = K(W), l = at(), i = rt(), { event: c } = K(W);
|
|
1381
1379
|
if (d === G.UNSET)
|
|
1382
1380
|
throw new Error("Wrap app in `StreamLayerProvider`");
|
|
1383
1381
|
return d === G.CONNECTED ? /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: "wait" }) : r === null ? /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: "sdk not initialized" }) : !l.app && !l.appNotification && !l.appSidebar || !l.app && !l.appSidebar && l.appNotification && !n ? null : /* @__PURE__ */ o("div", { className: "StreamLayerSDK", children: /* @__PURE__ */ o(ye, { customTheme: s ?? i.theme, themeMode: i.themeMode, children: /* @__PURE__ */ o(an, { sdk: r, muted: a, event: c?.current || e, topNavigation: t }) }) });
|
|
1384
1382
|
};
|
|
1385
1383
|
export {
|
|
1386
|
-
|
|
1387
|
-
|
|
1384
|
+
xn as B,
|
|
1385
|
+
Ln as D
|
|
1388
1386
|
};
|
package/lib/es/index3.js
CHANGED
|
@@ -1,6 +1,36 @@
|
|
|
1
|
-
import { E as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { E as s } from "./feature.js";
|
|
2
|
+
var a = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3
|
+
function f(e) {
|
|
4
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
5
|
+
}
|
|
6
|
+
function c(e) {
|
|
7
|
+
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
8
|
+
var n = e.default;
|
|
9
|
+
if (typeof n == "function") {
|
|
10
|
+
var t = function o() {
|
|
11
|
+
var r = !1;
|
|
12
|
+
try {
|
|
13
|
+
r = this instanceof o;
|
|
14
|
+
} catch {
|
|
15
|
+
}
|
|
16
|
+
return r ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
|
|
17
|
+
};
|
|
18
|
+
t.prototype = n.prototype;
|
|
19
|
+
} else t = {};
|
|
20
|
+
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
|
|
21
|
+
var r = Object.getOwnPropertyDescriptor(e, o);
|
|
22
|
+
Object.defineProperty(t, o, r.get ? r : {
|
|
23
|
+
enumerable: !0,
|
|
24
|
+
get: function() {
|
|
25
|
+
return e[o];
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}), t;
|
|
29
|
+
}
|
|
30
|
+
const l = new s();
|
|
4
31
|
export {
|
|
5
|
-
|
|
32
|
+
f as a,
|
|
33
|
+
a as c,
|
|
34
|
+
l as e,
|
|
35
|
+
c as g
|
|
6
36
|
};
|
package/lib/es/index4.js
CHANGED
|
@@ -2,10 +2,10 @@ import { jsx as P, jsxs as F } from "react/jsx-runtime";
|
|
|
2
2
|
import { s as _, u as Se, a as mt, c as Ee } from "./feature.js";
|
|
3
3
|
import $, { forwardRef as Ae, useRef as D, useState as W, useEffect as X, useLayoutEffect as ht, createContext as je, useMemo as He, useCallback as Re, memo as gt } from "react";
|
|
4
4
|
import vt from "lodash.throttle";
|
|
5
|
-
import { B as te } from "./
|
|
6
|
-
import { d as wt } from "./
|
|
5
|
+
import { B as te } from "./index7.js";
|
|
6
|
+
import { d as wt } from "./index8.js";
|
|
7
7
|
import { Q as yt } from "./index13.js";
|
|
8
|
-
import {
|
|
8
|
+
import { f as bt, g as St, S as qe } from "./useStreamLayerApp2.js";
|
|
9
9
|
function _e(t) {
|
|
10
10
|
return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
|
|
11
11
|
}
|
package/lib/es/index5.js
CHANGED
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
const [, s] = e.toString().split("."), a = r ?? (s?.length || 0);
|
|
5
|
-
return /* @__PURE__ */ i(
|
|
6
|
-
n,
|
|
7
|
-
{
|
|
8
|
-
end: e,
|
|
9
|
-
...o,
|
|
10
|
-
duration: l,
|
|
11
|
-
decimals: a,
|
|
12
|
-
enableScrollSpy: !1,
|
|
13
|
-
preserveValue: t
|
|
14
|
-
}
|
|
15
|
-
);
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
m as p
|
|
19
|
-
};
|
|
1
|
+
import "./feature.js";
|
|
2
|
+
import { Q as i } from "./useStreamLayerApp2.js";
|
|
3
|
+
i.FACTOID + "", i.POLL + "", i.TRIVIA + "", i.PREDICTION + "", i.TWEET + "";
|
package/lib/es/index6.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { c as o } from "./feature.js";
|
|
3
|
+
import { h as a } from "./theme.js";
|
|
4
|
+
const l = ({ children: m, customTheme: r, themeMode: s, style: t }) => /* @__PURE__ */ e("div", { className: "StreamLayerSDKTheme", children: /* @__PURE__ */ e("div", { className: o(a, s, r), style: t, children: m }) });
|
|
5
|
+
export {
|
|
6
|
+
l as h
|
|
7
|
+
};
|