@streamlayer/react 1.23.0 → 1.23.2
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/app/pause-ad.d.ts +2 -4
- package/lib/app/polymarket.d.ts +7 -0
- package/lib/cjs/Question.js +1 -1
- package/lib/cjs/advertisement.js +28 -223
- package/lib/cjs/analytics.js +1 -1
- package/lib/cjs/auth.js +1 -1
- package/lib/cjs/bet-pack.js +1 -1
- package/lib/cjs/feature.js +1 -0
- package/lib/cjs/gamification-feature.js +1 -1
- package/lib/cjs/gamification-feature2.js +1 -1
- package/lib/cjs/hooks-WfHlJH12.js +1 -0
- package/lib/cjs/index-eShKGO10.js +1 -5
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/index10.js +1 -4
- package/lib/cjs/index11.js +3 -1
- package/lib/cjs/index12.js +1 -1
- package/lib/cjs/index13.js +3 -1
- package/lib/cjs/index14.js +1 -1
- package/lib/cjs/index15.js +1 -5
- package/lib/cjs/index16.js +3 -0
- package/lib/cjs/index2.js +1 -1
- package/lib/cjs/index3.js +1 -1
- package/lib/cjs/index4.js +3 -5
- package/lib/cjs/index5.js +1 -1
- package/lib/cjs/index6.js +1 -1
- package/lib/cjs/index7.js +1 -1
- package/lib/cjs/index8.js +1 -1
- package/lib/cjs/index9.js +1 -1
- package/lib/cjs/insight.js +1 -1
- package/lib/cjs/masters.js +1 -1
- package/lib/cjs/masters2.js +1 -13
- package/lib/cjs/notification.js +1 -1
- package/lib/cjs/pause-ad.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/cjs/polymarket.js +9 -0
- package/lib/cjs/sl-types.js +1 -15
- package/lib/cjs/storage.js +1 -1
- package/lib/cjs/style.css +1 -0
- package/lib/cjs/theme.js +1 -17
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/cjs/useStreamLayerApp2.js +3 -17
- package/lib/cjs/utils.js +1 -47
- package/lib/classic/app/pause-ad.d.ts +2 -4
- package/lib/classic/app/polymarket.d.ts +7 -0
- package/lib/classic/cjs/Question.js +1 -1
- package/lib/classic/cjs/advertisement.js +28 -223
- package/lib/classic/cjs/analytics.js +1 -1
- package/lib/classic/cjs/auth.js +1 -1
- package/lib/classic/cjs/bet-pack.js +3 -5
- package/lib/classic/cjs/feature.js +1 -0
- package/lib/classic/cjs/gamification-feature.js +1 -1
- package/lib/classic/cjs/hooks-WfHlJH12.js +1 -0
- package/lib/classic/cjs/index-eShKGO10.js +1 -5
- package/lib/classic/cjs/index.js +1 -1
- package/lib/classic/cjs/index10.js +1 -1
- package/lib/classic/cjs/index11.js +1 -1
- package/lib/classic/cjs/index12.js +1 -4
- package/lib/classic/cjs/index13.js +3 -0
- package/lib/classic/cjs/index2.js +3 -5
- package/lib/classic/cjs/index3.js +1 -1
- package/lib/classic/cjs/index4.js +1 -1
- package/lib/classic/cjs/index5.js +1 -1
- package/lib/classic/cjs/index6.js +1 -1
- package/lib/classic/cjs/index7.js +1 -1
- package/lib/classic/cjs/index8.js +1 -1
- package/lib/classic/cjs/index9.js +3 -1
- package/lib/classic/cjs/insight.js +1 -1
- package/lib/classic/cjs/notification.js +1 -1
- package/lib/classic/cjs/notification2.js +1 -1
- package/lib/classic/cjs/pause-ad.js +1 -1
- package/lib/classic/cjs/points.js +1 -1
- package/lib/classic/cjs/polymarket.js +9 -0
- package/lib/classic/cjs/sl-types.js +1 -15
- package/lib/classic/cjs/style.css +1 -0
- package/lib/classic/cjs/useStreamLayerApp.js +1 -1
- package/lib/classic/cjs/useStreamLayerApp2.js +3 -17
- package/lib/classic/cjs/utils.js +1 -47
- package/lib/classic/es/Question.js +277 -264
- package/lib/classic/es/advertisement.js +34990 -18881
- package/lib/classic/es/analytics.js +58 -56
- package/lib/classic/es/auth.js +14 -8
- package/lib/classic/es/bet-pack.js +2448 -2418
- package/lib/classic/es/feature.js +108 -0
- package/lib/classic/es/gamification-feature.js +2 -2
- package/lib/classic/es/hooks-WfHlJH12.js +98 -0
- package/lib/classic/es/index-eShKGO10.js +948 -948
- package/lib/classic/es/index.js +13 -13
- package/lib/classic/es/index10.js +83 -2295
- package/lib/classic/es/index11.js +3095 -179
- package/lib/classic/es/index12.js +174 -821
- package/lib/classic/es/index13.js +850 -0
- package/lib/classic/es/index2.js +2099 -1763
- package/lib/classic/es/index3.js +11 -11
- package/lib/classic/es/index4.js +127 -127
- package/lib/classic/es/index5.js +3 -5
- package/lib/classic/es/index6.js +10 -11
- package/lib/classic/es/index7.js +6 -62
- package/lib/classic/es/index8.js +9 -316
- package/lib/classic/es/index9.js +316 -82
- package/lib/classic/es/insight.js +58 -53
- package/lib/classic/es/notification.js +5 -5
- package/lib/classic/es/notification2.js +765 -722
- package/lib/classic/es/pause-ad.js +190 -167
- package/lib/classic/es/points.js +55 -47
- package/lib/classic/es/polymarket.js +6848 -0
- package/lib/classic/es/sl-types.js +193 -125
- package/lib/classic/es/useStreamLayerApp.js +2 -2
- package/lib/classic/es/useStreamLayerApp2.js +9727 -7592
- package/lib/classic/es/utils.js +28 -28
- package/lib/classic/index.d.ts +1 -0
- package/lib/classic/style.css +1 -0
- package/lib/dist/cjs/gamification-feature.js +1 -1
- package/lib/dist/cjs/index-eShKGO10.js +1 -5
- package/lib/dist/cjs/index.js +1 -1
- package/lib/dist/cjs/masters.js +3 -77
- package/lib/dist/es/gamification-feature.js +2 -2
- package/lib/dist/es/index-eShKGO10.js +948 -948
- package/lib/dist/es/index.js +7 -8
- package/lib/dist/es/masters.js +18212 -14741
- package/lib/dist/index.d.ts +29 -8
- package/lib/dist/style.css +1 -1
- package/lib/es/Question.js +108 -106
- package/lib/es/advertisement.js +34990 -18881
- package/lib/es/analytics.js +58 -56
- package/lib/es/auth.js +14 -8
- package/lib/es/bet-pack.js +29 -17
- package/lib/es/feature.js +108 -0
- package/lib/es/gamification-feature.js +2 -2
- package/lib/es/gamification-feature2.js +2 -2
- package/lib/es/hooks-WfHlJH12.js +98 -0
- package/lib/es/index-eShKGO10.js +948 -948
- package/lib/es/index.js +14 -13
- package/lib/es/index10.js +258 -816
- package/lib/es/index11.js +837 -170
- package/lib/es/index12.js +181 -312
- package/lib/es/index13.js +316 -82
- package/lib/es/index14.js +83 -2350
- package/lib/es/index15.js +3069 -1224
- package/lib/es/index16.js +1453 -0
- package/lib/es/index2.js +1118 -984
- package/lib/es/index3.js +3 -62
- package/lib/es/index4.js +2424 -2407
- package/lib/es/index5.js +11 -11
- package/lib/es/index6.js +127 -127
- package/lib/es/index7.js +10 -7
- package/lib/es/index8.js +5 -9
- package/lib/es/index9.js +10 -265
- package/lib/es/insight.js +58 -53
- package/lib/es/masters.js +6 -5
- package/lib/es/masters2.js +696 -558
- package/lib/es/notification.js +697 -655
- package/lib/es/pause-ad.js +190 -167
- package/lib/es/points.js +56 -48
- package/lib/es/polymarket.js +6848 -0
- package/lib/es/sl-types.js +200 -132
- package/lib/es/storage.js +75 -74
- package/lib/es/theme.js +177 -31
- package/lib/es/useStreamLayerApp.js +2 -2
- package/lib/es/useStreamLayerApp2.js +9727 -7592
- package/lib/es/utils.js +28 -28
- package/lib/index.d.ts +1 -0
- package/lib/style.css +1 -1
- package/package.json +33 -20
- package/lib/cjs/hooks-B0Qttldg.js +0 -1
- package/lib/classic/cjs/hooks-B0Qttldg.js +0 -1
- package/lib/classic/es/hooks-B0Qttldg.js +0 -98
- package/lib/es/hooks-B0Qttldg.js +0 -98
package/lib/cjs/utils.js
CHANGED
|
@@ -1,47 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
.sl-hide-on-modal {
|
|
3
|
-
height: 0 !important;
|
|
4
|
-
opacity: 0 !important;
|
|
5
|
-
overflow: hidden !important;
|
|
6
|
-
transition: none;
|
|
7
|
-
}
|
|
8
|
-
`,l=({containerId:n="SlLayoutContainer",url:o})=>`
|
|
9
|
-
#${n||"SlLayoutContainer"},
|
|
10
|
-
#${n||"SlLayoutContainer"} .StreamLayerSDK>.StreamLayerSDKTheme > * {
|
|
11
|
-
--color-sdk-container-bg: transparent !important;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
#${n||"SlLayoutContainer"}::before {
|
|
15
|
-
content: '';
|
|
16
|
-
display: block;
|
|
17
|
-
position: absolute;
|
|
18
|
-
inset: 0;
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
background-color: #1a1a1a;
|
|
22
|
-
background-size: cover !important;
|
|
23
|
-
background-position: center !important;
|
|
24
|
-
background-repeat: no-repeat !important;
|
|
25
|
-
background-image: ${o} !important;
|
|
26
|
-
z-index: 0;
|
|
27
|
-
|
|
28
|
-
opacity: 0;
|
|
29
|
-
animation: fade-sl-bg-in 0.3s linear forwards;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
#${n||"SlLayoutContainer"} > div {
|
|
33
|
-
position: relative;
|
|
34
|
-
z-index: 1;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
@keyframes fade-sl-bg-in {
|
|
38
|
-
from {
|
|
39
|
-
opacity: 0;
|
|
40
|
-
}
|
|
41
|
-
to {
|
|
42
|
-
opacity: 1;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
${s}
|
|
47
|
-
`,p=({containerId:n,landscapeUrl:o,portraitUrl:a})=>{const[i,c]=r.useState(!1),e=r.useMemo(()=>{const t=window.innerWidth,u=window.innerHeight;return c(!1),t>u?o:a},[o,a]);return r.useEffect(()=>{if(e){const t=new Image;t.src=e,t.onload=function(){c(!0)}}},[e]),r.useMemo(()=>{const t=e?`url("${e}")`:void 0;return t&&i?d.jsx("style",{children:l({containerId:n,url:t})}):null},[n,e,i])};exports.u=s;exports.y=p;
|
|
1
|
+
"use strict";require("core-js/modules/es.symbol.js"),require("core-js/modules/es.symbol.description.js"),require("core-js/modules/es.symbol.iterator.js"),require("core-js/modules/es.array.concat.js"),require("core-js/modules/es.array.from.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.array.slice.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.regexp.exec.js"),require("core-js/modules/es.regexp.to-string.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.iterator.js");function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,e){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var t,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(r)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(t=i.call(n)).done)&&(s.push(t.value),s.length!==e);c=!0);}catch(l){u=!0,o=l}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(r,n)||function(r,n){if(r){if("string"==typeof r)return e(r,n);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?e(r,n):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(r,e){(null==e||e>r.length)&&(e=r.length);for(var n=0,t=Array(e);n<e;n++)t[n]=r[n];return t}var n=require("react/jsx-runtime"),t=require("react"),o="\n .sl-hide-on-modal {\n height: 0 !important;\n opacity: 0 !important;\n overflow: hidden !important;\n transition: none;\n }\n",i=function(r){var e=r.containerId,n=void 0===e?"SlLayoutContainer":e,t=r.url;return"\n #".concat(n||"SlLayoutContainer",",\n #").concat(n||"SlLayoutContainer"," .StreamLayerSDK>.StreamLayerSDKTheme > * {\n --color-sdk-container-bg: transparent !important;\n }\n\n #").concat(n||"SlLayoutContainer","::before {\n content: '';\n display: block;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n background-color: #1a1a1a;\n background-size: cover !important;\n background-position: center !important;\n background-repeat: no-repeat !important;\n background-image: ").concat(t," !important;\n z-index: 0;\n\n opacity: 0;\n animation: fade-sl-bg-in 0.3s linear forwards;\n }\n\n #").concat(n||"SlLayoutContainer"," > div {\n position: relative;\n z-index: 1;\n }\n\n @keyframes fade-sl-bg-in {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n ").concat(o,"\n")};exports.u=o,exports.y=function(e){var o=e.containerId,a=e.landscapeUrl,s=e.portraitUrl,c=r(t.useState(!1),2),u=c[0],l=c[1],d=t.useMemo(function(){var r=window.innerWidth,e=window.innerHeight;return l(!1),r>e?a:s},[a,s]);return t.useEffect(function(){if(d){var r=new Image;r.src=d,r.onload=function(){l(!0)}}},[d]),t.useMemo(function(){var r=d?'url("'.concat(d,'")'):void 0;return r&&u?n.jsx("style",{children:i({containerId:o,url:r})}):null},[o,d,u])};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StreamLayerSDKTvOptions } from '@streamlayer/react-ui/webos';
|
|
1
2
|
import { Component } from 'react';
|
|
2
3
|
import { VideoPlayerCallback } from '@streamlayer/react-ui/core/provider';
|
|
3
4
|
export type StreamLayerPauseAdProps = {
|
|
@@ -12,10 +13,7 @@ export type StreamLayerPauseAdProps = {
|
|
|
12
13
|
onRenderPauseAd?: (params: {
|
|
13
14
|
rendered: boolean;
|
|
14
15
|
}) => void;
|
|
15
|
-
options?:
|
|
16
|
-
showPauseButton?: boolean;
|
|
17
|
-
pauseAdDelay?: number;
|
|
18
|
-
};
|
|
16
|
+
options?: StreamLayerSDKTvOptions;
|
|
19
17
|
};
|
|
20
18
|
export declare class StreamLayerPauseAd extends Component<StreamLayerPauseAdProps, {
|
|
21
19
|
hasError: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),l=require("./sl-types.js"),p=require("react"),e0=require("./index9.js"),T=require("./index8.js"),U=require("./index11.js"),x=require("./index4.js"),c=require("./useStreamLayerApp2.js"),S=require("./index12.js"),s0=require("./utils.js"),O=p.createContext({sdk:null,topNavigation:!1}),R=()=>p.useContext(O),l0=l.styled_default("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),t0=l.styled_default("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),o0=()=>x.B1,i0=l.styled_default(o0())({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),a0=l.styled_default("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),n0=l.styled_default("button")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),d0=()=>x.B1,C0=l.styled_default(d0())({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),c0=e0.O(n0,{}),W=({webos:e,type:t,closeTimer:o,close:a,label:n,mastersApp:i})=>{const d=t?U.e[t]:{label:n,iconName:void 0};return s.jsxs(l0,{children:[s.jsxs(t0,{children:[(d==null?void 0:d.iconName)&&s.jsx(i0,{"data-type-trivia":t===c.QuestionType.TRIVIA,"data-type-poll":t===c.QuestionType.POLL,"data-type-prediction":t===c.QuestionType.PREDICTION,"data-masters-app":!!i,name:d.iconName}),(d==null?void 0:d.label)&&s.jsx(a0,{children:d.label})]}),o!=null&&o.seconds?s.jsx(T.y,{close:a,autoClose:o.auto,duration:o.seconds}):s.jsx(c0,{webos:e,"data-a":"intr",onClick:a,type:"button","data-close-btn":"true",children:s.jsx(C0,{"data-a":"intr",name:"icon-cross"})})]})},r0="data:image/svg+xml,%3csvg%20width='103'%20height='18'%20viewBox='0%200%20103%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_104497)'%3e%3cpath%20d='M9.89618%203.45801C9.91951%203.45801%209.94451%203.46134%209.96784%203.46134C9.97618%203.46134%209.98284%203.46134%209.99118%203.46467H9.99784C10.0095%203.46467%2010.0212%203.46801%2010.0312%203.46801C10.0412%203.46801%2010.0462%203.46801%2010.0545%203.47134C10.0762%203.47467%2010.0962%203.47467%2010.1178%203.47634C10.1412%203.47967%2010.1662%203.48134%2010.1895%203.48467H10.2012C10.2462%203.48967%2010.2945%203.49634%2010.3395%203.50467C10.4512%203.52467%2010.5595%203.54801%2010.6662%203.57801C10.6928%203.58301%2010.7178%203.59301%2010.7445%203.60134H10.7478C10.7745%203.60967%2010.7995%203.61801%2010.8262%203.62467C10.8528%203.63301%2010.8778%203.64134%2010.9045%203.65134C10.9312%203.65967%2010.9562%203.66801%2010.9795%203.67967C11.0012%203.68801%2011.0212%203.69634%2011.0428%203.70634C11.0495%203.70967%2011.0578%203.71134%2011.0645%203.71467C11.0828%203.72301%2011.1012%203.72967%2011.1195%203.73801C11.1262%203.74134%2011.1312%203.74301%2011.1378%203.74634C11.1562%203.75467%2011.1712%203.76134%2011.1895%203.76967C11.1962%203.77301%2011.2045%203.77467%2011.2128%203.78134C11.2345%203.78967%2011.2528%203.79801%2011.2728%203.80967C11.2762%203.80967%2011.2795%203.81301%2011.2812%203.81301C11.3045%203.82467%2011.3295%203.83634%2011.3512%203.84801C11.3695%203.85634%2011.3878%203.86801%2011.4062%203.87634C11.4212%203.88134%2011.4328%203.89134%2011.4462%203.89967C11.4645%203.91134%2011.4828%203.91967%2011.5012%203.93134C11.5045%203.93467%2011.5078%203.93467%2011.5095%203.93634L11.5728%203.97467H11.5762L15.2178%206.18801L15.4412%206.32467C16.3228%206.90801%2016.9028%207.88467%2016.9028%208.99301C16.9028%2010.1013%2016.3262%2011.0763%2015.4445%2011.6613L15.2095%2011.803L11.5745%2014.0113H11.5712L11.5078%2014.0497C11.5078%2014.0497%2011.5012%2014.053%2011.4995%2014.0547C11.4812%2014.0663%2011.4628%2014.0747%2011.4445%2014.0863C11.4595%2014.078%2011.4745%2014.0697%2011.4895%2014.0597L5.94951%2017.433C5.94951%2017.433%205.94618%2017.433%205.94618%2017.4363L5.74451%2017.558H5.74118C5.19784%2017.863%204.55784%2018.0247%203.87784%2017.993C2.73618%2017.938%201.75784%2017.3463%201.19284%2016.4847C0.837844%2015.9413%200.64451%2015.2913%200.681177%2014.6013C0.71451%2013.983%200.922844%2013.4147%201.26118%2012.9397L1.26951%2012.9247L4.04451%208.99634L6.77784%205.12634C6.81118%205.07967%206.84784%205.03301%206.87784%204.98467C6.87451%204.98967%206.86951%204.99967%206.86284%205.00467C6.87118%204.98967%206.88118%204.97634%206.88951%204.96134C6.88951%204.95801%206.89284%204.95801%206.89284%204.95634C6.89618%204.95301%206.89951%204.94801%206.90118%204.94467C6.90118%204.94467%206.90118%204.94134%206.90451%204.94134C6.91951%204.92134%206.93451%204.90134%206.94618%204.87801C6.96118%204.85801%206.97618%204.83801%206.99118%204.81634C7.00618%204.79634%207.02118%204.77634%207.03618%204.75467C7.03951%204.75134%207.03951%204.74967%207.04284%204.74634C7.04618%204.74301%207.04618%204.74134%207.04951%204.74134C7.06451%204.72134%207.07951%204.70134%207.09784%204.67967C7.10951%204.66467%207.12118%204.65134%207.13451%204.63634C7.16784%204.59801%207.20118%204.56134%207.23784%204.52301C7.25284%204.50801%207.26451%204.49467%207.27951%204.47967C7.30118%204.45634%207.32118%204.43634%207.34618%204.41634C7.36451%204.39967%207.38284%204.38134%207.40118%204.36467C7.41951%204.34801%207.43451%204.33301%207.45284%204.31801C7.45618%204.31467%207.45951%204.31301%207.45951%204.31301C7.47118%204.30134%207.48118%204.29301%207.49284%204.28467C7.50451%204.27301%207.51951%204.26134%207.53284%204.25301C7.53618%204.24967%207.53951%204.24801%207.54118%204.24801C7.55951%204.23301%207.57451%204.21967%207.59284%204.20467C7.60784%204.18967%207.62618%204.17801%207.64118%204.16634C7.65618%204.15467%207.66784%204.14634%207.68284%204.13467C7.70118%204.11967%207.71951%204.10801%207.73784%204.09467C7.75284%204.08634%207.76451%204.07467%207.77951%204.06634C7.78618%204.06134%207.79451%204.05467%207.80284%204.05134C7.81784%204.03967%207.83284%204.03134%207.84784%204.02301C7.85118%204.01967%207.85618%204.01801%207.85951%204.01467C7.87784%204.00301%207.89618%203.99134%207.91118%203.98301C7.91784%203.97801%207.92618%203.97467%207.93284%203.96801C7.94784%203.95967%207.95951%203.95134%207.97451%203.94134C7.98284%203.93634%207.99284%203.92967%208.00118%203.92467C8.01618%203.91634%208.03451%203.90801%208.04951%203.89634C8.05284%203.89301%208.05784%203.89134%208.06451%203.88801C8.08618%203.87634%208.10451%203.86467%208.12451%203.85634C8.12784%203.85301%208.13118%203.85301%208.13618%203.85134C8.15784%203.83967%208.17784%203.82801%208.19951%203.81967C8.19951%203.81967%208.20284%203.81967%208.20284%203.81634C8.22618%203.80467%208.24784%203.79301%208.27284%203.78134C8.27284%203.78134%208.27618%203.78134%208.27618%203.77801C8.29451%203.76967%208.31284%203.76134%208.33284%203.75134C8.34118%203.74801%208.35118%203.74301%208.35951%203.73967C8.37118%203.73467%208.38284%203.72801%208.39618%203.72467C8.41118%203.71967%208.42284%203.71301%208.43784%203.70801C8.46118%203.69967%208.48284%203.69134%208.50784%203.68134C8.52284%203.67634%208.53451%203.66967%208.54951%203.66634C8.57118%203.65801%208.59118%203.65134%208.61284%203.64301C8.63118%203.63801%208.65284%203.63134%208.66951%203.62301C8.75451%203.59634%208.83784%203.57134%208.92284%203.54967C8.94118%203.54467%208.96284%203.54134%208.97951%203.53801C9.08451%203.51467%209.19451%203.49467%209.30284%203.48301C9.32951%203.47967%209.35784%203.47801%209.38451%203.47467C9.42118%203.47134%209.45951%203.46967%209.49618%203.46634C9.51118%203.46634%209.52284%203.46301%209.53784%203.46301H9.55951C9.58951%203.46301%209.61618%203.45967%209.64784%203.45967H9.73784C9.79451%203.45967%209.84284%203.45967%209.89451%203.46301L9.89618%203.45801ZM10.6662%2014.413C10.5612%2014.4413%2010.4512%2014.4647%2010.3395%2014.4863C10.4512%2014.4663%2010.5595%2014.443%2010.6662%2014.413ZM9.56118%2014.5313H9.56951C9.56118%2014.5313%209.54784%2014.5313%209.53951%2014.528C9.54618%2014.528%209.55451%2014.5313%209.56118%2014.5313ZM7.08784%2013.293C7.05451%2013.253%207.02451%2013.2147%206.99451%2013.1747C7.02451%2013.2147%207.05784%2013.253%207.08784%2013.293ZM6.90284%2013.043C6.90284%2013.043%206.90618%2013.0463%206.90618%2013.048C6.90284%2013.0447%206.90284%2013.043%206.89951%2013.0363C6.89618%2013.033%206.89618%2013.0297%206.89284%2013.0247C6.86951%2012.9897%206.84784%2012.953%206.82284%2012.918C6.84451%2012.953%206.86784%2012.9913%206.88951%2013.0247C6.89618%2013.0297%206.89784%2013.0363%206.90118%2013.0413L6.90284%2013.043ZM6.89451%2013.0263C6.85784%2012.968%206.81951%2012.913%206.77618%2012.858L6.89451%2013.0263Z'%20fill='%231652A8'%20style='fill:%231652A8;fill:color(display-p3%200.0863%200.3216%200.6588);fill-opacity:1;'/%3e%3cg%20opacity='0.85'%3e%3cpath%20d='M5.77088%200.453306L5.97588%200.578306L5.97921%200.581639L11.5225%203.94997C11.5075%203.94164%2011.4925%203.93331%2011.4775%203.92331C11.4959%203.93497%2011.5142%203.94331%2011.5325%203.95497C11.5359%203.95831%2011.5392%203.95831%2011.5409%203.95997L11.6042%203.99831H11.6075L15.2492%206.21164L15.4725%206.34831C16.3542%206.93164%2016.9342%207.9083%2016.9342%209.01664C16.9342%2010.125%2016.3575%2011.1%2015.4759%2011.685L15.2409%2011.8266L11.6059%2014.035H11.6025L11.5392%2014.0733C11.5392%2014.0733%2011.5325%2014.0766%2011.5309%2014.0783C11.5125%2014.09%2011.4942%2014.0983%2011.4759%2014.11C11.4642%2014.1183%2011.4492%2014.125%2011.4359%2014.1333C11.4175%2014.145%2011.3992%2014.1533%2011.3809%2014.1616C11.3575%2014.1733%2011.3359%2014.185%2011.3109%2014.1966C11.3075%2014.2%2011.3042%2014.2%2011.3025%2014.2C11.2842%2014.2116%2011.2625%2014.22%2011.2425%2014.2283C11.2359%2014.2316%2011.2275%2014.2333%2011.2192%2014.24C11.2009%2014.2483%2011.1859%2014.255%2011.1675%2014.2633C11.1609%2014.2666%2011.1592%2014.2683%2011.1525%2014.2683C11.1309%2014.2766%2011.1109%2014.285%2011.0859%2014.2966C11.0625%2014.3083%2011.0342%2014.3166%2011.0109%2014.325C10.9875%2014.3333%2010.9592%2014.345%2010.9359%2014.3533C10.9092%2014.3616%2010.8842%2014.37%2010.8575%2014.38C10.8309%2014.3883%2010.8059%2014.3966%2010.7792%2014.4033H10.7759C10.7492%2014.4116%2010.7242%2014.4183%2010.6975%2014.4266C10.5925%2014.455%2010.4825%2014.4783%2010.3709%2014.4983C10.3259%2014.5066%2010.2775%2014.5133%2010.2325%2014.5183C10.2259%2014.5183%2010.2242%2014.5183%2010.2209%2014.5216C10.1975%2014.525%2010.1725%2014.5283%2010.1492%2014.53C10.1009%2014.5366%2010.0525%2014.5383%2010.0042%2014.5416C9.92921%2014.5483%209.85254%2014.5483%209.77754%2014.5483H9.68088C9.65421%2014.5483%209.62921%2014.545%209.60254%2014.545C9.59421%2014.545%209.58088%2014.545%209.57254%2014.5416C9.53254%2014.5383%209.49088%2014.5366%209.45254%2014.5333C9.27421%2014.5166%209.09588%2014.4866%208.92754%2014.4466C8.90421%2014.44%208.87921%2014.435%208.85254%2014.4266C8.81921%2014.4183%208.78588%2014.41%208.74921%2014.3983C8.73088%2014.3933%208.70921%2014.3866%208.69254%2014.3816C8.66588%2014.3733%208.64088%2014.365%208.61421%2014.355C8.58754%2014.3466%208.56254%2014.3383%208.53921%2014.3266C8.51588%2014.3183%208.48754%2014.3066%208.46421%2014.2983C8.44088%2014.29%208.41921%2014.2816%208.39754%2014.27C8.38921%2014.2666%208.38254%2014.265%208.37421%2014.2583C8.35588%2014.25%208.33754%2014.2416%208.31754%2014.2316C8.31754%2014.2316%208.31421%2014.2316%208.31421%2014.2283C8.29088%2014.2166%208.26588%2014.205%208.24254%2014.1933C8.21921%2014.1816%208.19421%2014.17%208.17088%2014.155C8.14754%2014.1433%208.12254%2014.1283%208.10088%2014.1166C8.07754%2014.105%208.05254%2014.09%208.03088%2014.0766C8.00754%2014.0616%207.98588%2014.0483%207.96088%2014.0366C7.93754%2014.0216%207.91588%2014.0083%207.89421%2013.9933C7.87254%2013.9783%207.85254%2013.965%207.83088%2013.95C7.82754%2013.95%207.82754%2013.9466%207.82421%2013.945C7.80588%2013.9333%207.78754%2013.9183%207.76754%2013.905C7.76421%2013.9016%207.76088%2013.9016%207.75921%2013.9C7.74088%2013.885%207.72254%2013.8733%207.70421%2013.86C7.70088%2013.8566%207.69588%2013.855%207.69254%2013.8483C7.67421%2013.8333%207.65588%2013.82%207.63754%2013.805C7.63754%2013.805%207.63421%2013.805%207.63421%2013.8016C7.61588%2013.7866%207.59754%2013.7733%207.57754%2013.755C7.57421%2013.7516%207.57088%2013.7516%207.56921%2013.7483C7.55421%2013.7366%207.53921%2013.7216%207.52421%2013.71C7.51754%2013.705%207.51254%2013.6983%207.50588%2013.695C7.49421%2013.6833%207.47921%2013.6716%207.46588%2013.66C7.43921%2013.6366%207.41421%2013.6133%207.39088%2013.5866C7.37254%2013.57%207.35754%2013.5516%207.33921%2013.535C7.32754%2013.5233%207.31754%2013.5116%207.30588%2013.5C7.29421%2013.4883%207.28421%2013.48%207.27588%2013.4683C7.25754%2013.4516%207.24254%2013.43%207.22421%2013.4133C7.19088%2013.375%207.15754%2013.3383%207.12421%2013.2966C7.09088%2013.2566%207.06088%2013.2183%207.03088%2013.1783C7.01588%2013.1583%207.00088%2013.1383%206.98588%2013.1166C6.97088%2013.0966%206.95588%2013.0766%206.94421%2013.0533C6.94088%2013.05%206.94088%2013.0483%206.93754%2013.0416C6.93421%2013.0383%206.93421%2013.0366%206.93088%2013.03C6.90754%2012.995%206.88588%2012.9583%206.86088%2012.9233C6.88254%2012.9583%206.90588%2012.995%206.92754%2013.03C6.89088%2012.9716%206.85254%2012.9166%206.80921%2012.8616L4.07921%208.99664L1.34088%205.12997L1.23254%204.97664L1.22921%204.97164C0.92421%204.51164%200.737543%203.97497%200.707543%203.39497C0.670877%202.70497%200.86421%202.05164%201.22088%201.50997C1.78588%200.648306%202.76588%200.0566391%203.90421%20-2.75556e-05C4.58421%20-0.0150276%205.22421%200.148306%205.77088%200.453306Z'%20fill='url(%23paint0_linear_6919_104497)'%20style=''/%3e%3c/g%3e%3cpath%20d='M32.4132%2012.862C31.2015%2012.862%2030.4482%2012.0503%2030.4482%2010.7203V8.4453H32.6632V7.02697H30.4482V4.72363L28.8548%205.9053V7.0253H27.9648V8.44363H28.8548V10.7053C28.8548%2012.9953%2030.1982%2014.412%2032.4282%2014.412H32.7682V12.862H32.4132Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M19.9812%2012.5767L21.4028%2011.4651C22.0395%2012.4867%2022.8995%2013.0351%2023.9962%2013.0351C25.1962%2013.0351%2025.9512%2012.2651%2025.9512%2011.3017C25.9512%2010.1901%2024.7662%209.83506%2023.5212%209.43506C22.0545%208.96172%2020.4695%208.36839%2020.4695%206.38339C20.4695%204.73839%2021.9362%203.43506%2023.9362%203.43506C25.5812%203.43506%2026.6028%204.07172%2027.4328%205.03506L26.1145%206.01339C25.6262%205.25839%2024.8995%204.85839%2023.9362%204.85839C22.8395%204.85839%2022.1278%205.51006%2022.1278%206.35506C22.1278%207.39172%2023.2695%207.73339%2024.5128%208.14839C25.9945%208.65172%2027.6095%209.29006%2027.6095%2011.3051C27.6095%2012.9651%2026.2462%2014.5501%2024.0095%2014.5501C22.1578%2014.5501%2020.8978%2013.7651%2019.9795%2012.5801L19.9812%2012.5767Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M38.2695%2010.7367C38.2695%208.56503%2039.9379%206.8667%2042.1095%206.8667C44.2812%206.8667%2045.9062%208.4467%2045.9062%2010.6334V11.2534H39.7912C39.9979%2012.39%2040.8845%2013.1434%2042.1695%2013.1434C43.1745%2013.1434%2043.9429%2012.6117%2044.3262%2011.8134L45.6262%2012.5367C44.9762%2013.7484%2043.8095%2014.545%2042.1695%2014.545C39.8362%2014.545%2038.2695%2012.8767%2038.2695%2010.735V10.7367ZM39.8645%209.91003H44.2962C44.0595%208.8467%2043.2479%208.25503%2042.1095%208.25503C40.9712%208.25503%2040.1595%208.93503%2039.8645%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M33.7549%2010.72C33.7549%208.42999%2035.0982%207.02832%2037.3282%207.02832H38.0366V8.56499H37.3132C36.1016%208.56499%2035.3199%209.40665%2035.3349%2010.7367V14.415H33.7549V10.7233V10.72Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M46.6882%2010.7218C46.6882%208.56517%2048.3865%206.88184%2050.5132%206.88184C52.6399%206.88184%2054.3082%208.56517%2054.3082%2010.7218V14.4135H52.7582V13.4535C52.2415%2014.1468%2051.4432%2014.5468%2050.4682%2014.5468C48.3565%2014.5468%2046.6865%2012.8935%2046.6865%2010.7218H46.6882ZM52.7882%2010.7218C52.7882%209.40684%2051.7832%208.3585%2050.5132%208.3585C49.2432%208.3585%2048.2382%209.40684%2048.2382%2010.7218C48.2382%2012.0368%2049.2282%2013.0852%2050.5132%2013.0852C51.7982%2013.0852%2052.7882%2012.0218%2052.7882%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M55.3027%2010.2717C55.3027%208.30667%2056.6461%206.875%2058.6411%206.875C59.7777%206.875%2060.6944%207.33333%2061.2694%208.10167C61.8161%207.33333%2062.7027%206.875%2063.8394%206.875C65.8477%206.875%2067.2511%208.27833%2067.2511%2010.2717V14.4067H65.6711V10.2867C65.6711%209.165%2064.9177%208.38167%2063.8394%208.38167C62.7611%208.38167%2062.0527%209.18%2062.0677%2010.2433V14.4083H60.4877V10.2883C60.4877%209.16667%2059.7194%208.38333%2058.6411%208.38333C57.5627%208.38333%2056.8694%209.18167%2056.8827%2010.245V14.41H55.3027V10.275V10.2717Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M68.2646%203.62695H69.8746V12.872H74.2313V14.4086H68.2646V3.62695Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M89.418%2010.7367C89.418%208.56503%2091.0863%206.8667%2093.258%206.8667C95.4296%206.8667%2097.0546%208.4467%2097.0546%2010.6334V11.2534H90.9396C91.1463%2012.39%2092.033%2013.1434%2093.318%2013.1434C94.323%2013.1434%2095.0913%2012.6117%2095.4746%2011.8134L96.7746%2012.5367C96.1246%2013.7484%2094.958%2014.545%2093.318%2014.545C90.9846%2014.545%2089.418%2012.8767%2089.418%2010.735V10.7367ZM91.013%209.91003H95.4446C95.208%208.8467%2094.3963%208.25503%2093.258%208.25503C92.1196%208.25503%2091.308%208.93503%2091.013%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M74.4948%2010.7218C74.4948%208.56517%2076.1932%206.88184%2078.3198%206.88184C80.4465%206.88184%2082.1148%208.56517%2082.1148%2010.7218V14.4135H80.5648V13.4535C80.0482%2014.1468%2079.2498%2014.5468%2078.2748%2014.5468C76.1632%2014.5468%2074.4932%2012.8935%2074.4932%2010.7218H74.4948ZM80.5948%2010.7218C80.5948%209.40684%2079.5898%208.3585%2078.3198%208.3585C77.0498%208.3585%2076.0448%209.40684%2076.0448%2010.7218C76.0448%2012.0368%2077.0348%2013.0852%2078.3198%2013.0852C79.6048%2013.0852%2080.5948%2012.0218%2080.5948%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M85.0381%2014.0498L81.9814%207.0498H83.6798L85.8364%2012.1748L87.8748%207.0498H89.5431L85.0831%2017.8465H83.4581L85.0381%2014.0515V14.0498Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M98.041%2010.7151C98.041%208.4251%2099.3843%207.02344%20101.614%207.02344H102.323V8.5601H101.599C100.388%208.5601%2099.606%209.40177%2099.621%2010.7318V14.4101H98.041V10.7184V10.7151Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_6919_104497'%20x1='4.31754'%20y1='8.70664'%20x2='13.6359'%20y2='3.59497'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.2'%20stop-color='%231589EE'%20style='stop-color:%231589EE;stop-color:color(display-p3%200.0824%200.5373%200.9333);stop-opacity:1;'/%3e%3cstop%20offset='1'%20stop-color='%235EB4FF'%20style='stop-color:%235EB4FF;stop-color:color(display-p3%200.3686%200.7059%201.0000);stop-opacity:1;'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_6919_104497'%3e%3crect%20width='101.648'%20height='18'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.675781)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",M=l.styled_default("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),p0=()=>x.B1,u0=l.styled_default(p0())({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),y0=l.styled_default("img")({name:"AdSponsorLogo",class:"a1dflj8e",propsAsIs:!1}),v0=({mastersApp:e,sponsorLogo:t})=>e?s.jsx(M,{children:s.jsx(u0,{name:"mastersLogo"})}):t?s.jsx(M,{children:s.jsx(y0,{src:t,alt:"ad-sponsor-logo"})}):s.jsx(M,{children:s.jsx("img",{src:r0,alt:"stream-layer-logo"})}),f0=l.styled_default("div")({name:"Container",class:"cq8qxhy",propsAsIs:!1}),m0=l.styled_default("div")({name:"VideoWrapper",class:"v18kj6dc",propsAsIs:!1}),x0=()=>T.Et,h0=l.styled_default(x0())({name:"FocusableVideo",class:"fv2nwib",propsAsIs:!0}),D=l.styled_default("div")({name:"VideoStatus",class:"v8ptucg",propsAsIs:!1}),Z="caip8y5",g0=l.styled_default("div")({name:"Content",class:"ccgc65e",propsAsIs:!1}),j0=l.styled_default("h3")({name:"Title",class:"t1q3iml2",propsAsIs:!1}),L0=l.styled_default("div")({name:"Description",class:"d1y2pxs8",propsAsIs:!1}),A0=l.styled_default("img")({name:"Image",class:"ig2j4fc",propsAsIs:!1}),V0=l.styled_default("div")({name:"ImageContainer",class:"i3dd6iy",propsAsIs:!1}),I0=({instantView:e,isDetail:t,notification:o,controlVideo:a,muted:n})=>{var i,d;const u=p.useRef(null),[v,r]=p.useState(!1),[f,m]=p.useState(void 0),h=(e==null?void 0:e.playVideoMuted)===c.PlayVideoMuted.ENABLED,V=t&&(e==null?void 0:e.autoPlayVideo)===c.AutoPlayVideo.ENABLED,I=h&&V,g=e==null?void 0:e.heading,j=e==null?void 0:e.body,L=g||j,[A,b]=p.useState(!0),_=o==null?void 0:o.title,H=o==null?void 0:o.body;return s.jsxs(f0,{children:[((i=e==null?void 0:e.video)==null?void 0:i.url)&&s.jsxs(m0,{children:[s.jsx(h0,{className:Z,source:e.video.url,poster:e.video.thumbnailUrl,controlVideo:a,muted:n,autoPlay:t&&e.autoPlayVideo===c.AutoPlayVideo.ENABLED,ref:u,onPause:()=>{r==null||r(!0),b(!1)},onMute:w=>{m(w)},onPlay:()=>{r==null||r(!1)},playMuted:h,hasNotPausedVideo:A,webos:!0}),v&&!A&&s.jsxs(D,{children:[s.jsx(x.B1,{name:"icon-pause"}),"PAUSED"]}),f&&I&&s.jsxs(D,{children:[s.jsx(x.B1,{name:"iconMute"}),"MUTED"]})]}),(e==null?void 0:e.image)&&!((d=e==null?void 0:e.video)!=null&&d.url)&&s.jsx(V0,{className:Z,"data-rounded":e.imageMode===c.QuestionImages.ROUNDED,children:s.jsx(A0,{src:e==null?void 0:e.image})}),s.jsxs(g0,{children:[s.jsx(j0,{children:t&&L?g:_}),s.jsx(L0,{children:t&&L?j:H})]})]})},b0=l.styled_default("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),k="c1px8nt6",_0=l.styled_default("div")({name:"Content",class:"c5et2jt",propsAsIs:!1}),H0=l.styled_default("h3")({name:"Title",class:"t1i2kpk2",propsAsIs:!1}),w0=l.styled_default("div")({name:"Description",class:"dd3lh3p",propsAsIs:!1}),B0=l.styled_default("img")({name:"Image",class:"i1gfjeu5",propsAsIs:!1}),$0=l.styled_default("div")({name:"ImageContainer",class:"i58y999",propsAsIs:!1}),F=({instantView:e,isDetail:t,notification:o,controlVideo:a,muted:n})=>{var i,d;const u=e==null?void 0:e.heading,v=e==null?void 0:e.body,r=u||v,f=o==null?void 0:o.title,m=o==null?void 0:o.body;return s.jsxs(b0,{children:[((i=e==null?void 0:e.video)==null?void 0:i.url)&&s.jsx(T.Et,{className:k,source:e.video.url,poster:e.video.thumbnailUrl,controlVideo:a,muted:n,autoPlay:t&&e.autoPlayVideo===c.AutoPlayVideo.ENABLED}),(e==null?void 0:e.image)&&!((d=e==null?void 0:e.video)!=null&&d.url)&&s.jsx($0,{className:k,"data-rounded":e.imageMode===c.QuestionImages.ROUNDED,children:s.jsx(B0,{src:e==null?void 0:e.image})}),s.jsxs(_0,{children:[s.jsx(H0,{children:t&&r?u:f}),s.jsx(w0,{children:t&&r?v:m})]})]})},M0=l.styled_default("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),T0=l.styled_default("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),E0=()=>x.B1,q0=l.styled_default(E0())({name:"WebLinkIcon",class:"wyg5v7z",propsAsIs:!0}),N0=({instantView:e,...t})=>s.jsxs(M0,{children:[t.SL-CardWebOs?s.jsx(I0,{instantView:e,...t,isDetail:!0}):s.jsx(F,{instantView:e,...t,isDetail:!0}),(e==null?void 0:e.webLink)&&s.jsxs(T0,{href:e==null?void 0:e.webLink.url,target:"_blank","data-a":"web-link",children:[e==null?void 0:e.webLink.label,s.jsx(q0,{name:"icon-external-link"})]})]}),Q0=l.styled_default("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),S0=l.styled_default("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1}),D0=e=>s.jsxs(Q0,{children:[e.title&&s.jsx(S0,{children:e.title}),s.jsx(U.b,{...e,isDetail:!0})]}),Z0=l.styled_default("div")({name:"QuestionAdvertisementContainer",class:"qwludgs",propsAsIs:!1}),k0=l.styled_default("div")({name:"QuestionAdvertisementText",class:"qvce6pv",propsAsIs:!1}),P0=l.styled_default("div")({name:"QuestionAdvertisementImage",class:"qsid7hx",propsAsIs:!1}),U0=({sponsorLogo:e,id:t,hasBanner:o,setAdShowed:a})=>{const n=p.useRef();return p.useEffect(()=>(n.current=setTimeout(()=>{a(!0)},5e3),()=>{clearTimeout(n.current)}),[a,t,o]),s.jsxs(Z0,{children:[s.jsx(k0,{children:"PRESENTED BY"}),s.jsx(P0,{children:s.jsx("img",{src:e,alt:"ad-sponsor-logo"})})]})},P=l.styled_default("div")({name:"QuestionContainer",class:"q14ckf9e",propsAsIs:!1}),O0=({openedQuestion:e,muted:t,webos:o})=>{var a,n;const{sdk:i}=R();return((a=e==null?void 0:e.attributes)==null?void 0:a.attributes.case)==="insight"?s.jsx(N0,{...e.attributes.attributes.value,muted:t,controlVideo:i==null?void 0:i.controlVideoPlayer,webos:o}):((n=e==null?void 0:e.attributes)==null?void 0:n.attributes.case)==="tweet"?s.jsx(D0,{...e.attributes.attributes.value,muted:t,controlVideo:i==null?void 0:i.controlVideoPlayer}):null},R0=({extendedQuestion:e,vote:t,close:o,webos:a})=>{const{loading:n,data:i}=e;return i?s.jsx(S.ee,{webos:a,vote:t,close:o,openedQuestion:i,isLoading:!!n}):s.jsx(S.te,{})},W0=({gamification:e,sdk:t,muted:o,skipAutoClose:a,hideSponsor:n,className:i,hideHeader:d,webos:u})=>{var v,r,f,m,h,V,I,g,j,L,A,b,_,H,w,E;const y=l.useStore(e.openedQuestion.$store),C=l.useStore(e.openedQuestion.$extendedStore),[z,G]=p.useState(!1),Y=l.useStore(t.options),q=((v=y==null?void 0:y.attributes)==null?void 0:v.type)===c.QuestionType.FACTOID,B=(r=y==null?void 0:y.attributes)==null?void 0:r.backgroundImage,$=(f=C.data)==null?void 0:f.backgroundImage,J=q?B==null?void 0:B.landscapeUrl:$==null?void 0:$.landscapeUrl,K=q?B==null?void 0:B.portraitUrl:$==null?void 0:$.portraitUrl,N=s0.y({containerId:Y.containerId,landscapeUrl:J,portraitUrl:K});if(!y)return null;const Q=y.type,X=((h=(m=C.data)==null?void 0:m.options)==null?void 0:h.options.case)==="factoid"?C.data.options.options.value.closeTimer:void 0;return C.data&&C.data.adUnit===c.AdUnit.STANDART&&!z?s.jsxs(P,{className:i,children:[N,s.jsx(U0,{id:C.data.id,hasBanner:!!((I=(V=C.data.promotion)==null?void 0:V.banner)!=null&&I.imageUrl),setAdShowed:G,sponsorLogo:((j=(g=C.data.promotion)==null?void 0:g.sponsor)==null?void 0:j.logo)||((L=C.data.sponsorship)==null?void 0:L.logo)||""})]}):s.jsxs(P,{className:i,children:[N,!d&&s.jsx(W,{closeTimer:a?void 0:X,close:e.closeQuestion,type:((A=y.attributes)==null?void 0:A.type)||c.QuestionType.UNSET,webos:u}),Q==="question"&&s.jsx(R0,{webos:u,vote:e.submitAnswer,close:e.closeQuestion,extendedQuestion:C}),Q!=="question"&&s.jsx(O0,{muted:o,openedQuestion:y,webos:u}),!n&&s.jsx(v0,{sponsorLogo:((H=(_=(b=C.data)==null?void 0:b.promotion)==null?void 0:_.sponsor)==null?void 0:H.logo)||((E=(w=C.data)==null?void 0:w.sponsorship)==null?void 0:E.logo)})]})};exports.O=F;exports.e=O;exports.ht=W0;exports.p=R;exports.y=W;
|
|
1
|
+
"use strict";require("core-js/modules/es.symbol.js"),require("core-js/modules/es.symbol.description.js"),require("core-js/modules/es.symbol.iterator.js"),require("core-js/modules/es.symbol.to-primitive.js"),require("core-js/modules/es.array.filter.js"),require("core-js/modules/es.array.from.js"),require("core-js/modules/es.array.index-of.js"),require("core-js/modules/es.array.iterator.js"),require("core-js/modules/es.array.slice.js"),require("core-js/modules/es.date.to-primitive.js"),require("core-js/modules/es.number.constructor.js"),require("core-js/modules/es.object.define-properties.js"),require("core-js/modules/es.object.define-property.js"),require("core-js/modules/es.object.get-own-property-descriptor.js"),require("core-js/modules/es.object.get-own-property-descriptors.js"),require("core-js/modules/es.object.keys.js"),require("core-js/modules/es.object.to-string.js"),require("core-js/modules/es.regexp.exec.js"),require("core-js/modules/es.regexp.to-string.js"),require("core-js/modules/es.string.iterator.js"),require("core-js/modules/web.dom-collections.for-each.js"),require("core-js/modules/web.dom-collections.iterator.js");function e(s){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(s)}var s=["instantView"];function t(e,s){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);s&&(l=l.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,l)}return t}function l(e){for(var s=1;s<arguments.length;s++){var l=null!=arguments[s]?arguments[s]:{};s%2?t(Object(l),!0).forEach(function(s){o(e,s,l[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):t(Object(l)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(l,s))})}return e}function o(s,t,l){return(t=function(s){var t=function(s,t){if("object"!=e(s)||!s)return s;var l=s[Symbol.toPrimitive];if(void 0!==l){var o=l.call(s,t||"default");if("object"!=e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(s)}(s,"string");return"symbol"==e(t)?t:t+""}(t))in s?Object.defineProperty(s,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):s[t]=l,s}function i(e,s){return function(e){if(Array.isArray(e))return e}(e)||function(e,s){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var l,o,i,r,n=[],a=!0,d=!1;try{if(i=(t=t.call(e)).next,0===s){if(Object(t)!==t)return;a=!1}else for(;!(a=(l=i.call(t)).done)&&(n.push(l.value),n.length!==s);a=!0);}catch(u){d=!0,o=u}finally{try{if(!a&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(d)throw o}}return n}}(e,s)||function(e,s){if(e){if("string"==typeof e)return r(e,s);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,s):void 0}}(e,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,s){(null==s||s>e.length)&&(s=e.length);for(var t=0,l=Array(s);t<s;t++)l[t]=e[t];return l}var n=require("react/jsx-runtime"),a=require("./sl-types.js"),d=require("react"),u=require("./index10.js"),c=require("./index9.js"),p=require("./index12.js"),C=require("./index4.js"),f=require("./useStreamLayerApp2.js"),y=require("./index13.js"),m=require("./utils.js"),v=d.createContext({sdk:null,topNavigation:!1}),j=function(){return d.useContext(v)},b=a.styled_default("div")({name:"Container",class:"c1vwopgc",propsAsIs:!1}),g=a.styled_default("div")({name:"QuestionTypeWrap",class:"qyktpt0",propsAsIs:!1}),h=a.styled_default(C.B1)({name:"QuestionTypeIcon",class:"q951jdx",propsAsIs:!0}),x=a.styled_default("span")({name:"QuestionTypeTitle",class:"qss5f0e",propsAsIs:!1}),A=a.styled_default("button")({name:"CloseIconWrap",class:"c1ao1jtv",propsAsIs:!1}),V=a.styled_default(C.B1)({name:"CloseIcon",class:"cvsl7l3",propsAsIs:!0}),w=u.O(A,{}),L=function(e){var s=e.webos,t=e.type,l=e.closeTimer,o=e.close,i=e.label,r=e.mastersApp,a=t?p.e[t]:{label:i,iconName:void 0};return n.jsxs(b,{children:[n.jsxs(g,{children:[(null==a?void 0:a.iconName)&&n.jsx(h,{"data-type-trivia":t===f.QuestionType.TRIVIA,"data-type-poll":t===f.QuestionType.POLL,"data-type-prediction":t===f.QuestionType.PREDICTION,"data-masters-app":!!r,name:a.iconName}),(null==a?void 0:a.label)&&n.jsx(x,{children:a.label})]}),null!=l&&l.seconds?n.jsx(c.y,{close:o,autoClose:l.auto,duration:l.seconds}):n.jsx(w,{webos:s,"data-a":"intr",onClick:o,type:"button","data-close-btn":"true",children:n.jsx(V,{"data-a":"intr",name:"icon-cross"})})]})},I=a.styled_default("div")({name:"SponsorLogoWrap",class:"s8p5v5z",propsAsIs:!1}),q=a.styled_default(C.B1)({name:"SponsorLogo",class:"s755yti",propsAsIs:!0}),_=a.styled_default("img")({name:"AdSponsorLogo",class:"a1dflj8e",propsAsIs:!1}),H=function(e){var s=e.mastersApp,t=e.sponsorLogo;return s?n.jsx(I,{children:n.jsx(q,{name:"mastersLogo"})}):t?n.jsx(I,{children:n.jsx(_,{src:t,alt:"ad-sponsor-logo"})}):n.jsx(I,{children:n.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='103'%20height='18'%20viewBox='0%200%20103%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6919_104497)'%3e%3cpath%20d='M9.89618%203.45801C9.91951%203.45801%209.94451%203.46134%209.96784%203.46134C9.97618%203.46134%209.98284%203.46134%209.99118%203.46467H9.99784C10.0095%203.46467%2010.0212%203.46801%2010.0312%203.46801C10.0412%203.46801%2010.0462%203.46801%2010.0545%203.47134C10.0762%203.47467%2010.0962%203.47467%2010.1178%203.47634C10.1412%203.47967%2010.1662%203.48134%2010.1895%203.48467H10.2012C10.2462%203.48967%2010.2945%203.49634%2010.3395%203.50467C10.4512%203.52467%2010.5595%203.54801%2010.6662%203.57801C10.6928%203.58301%2010.7178%203.59301%2010.7445%203.60134H10.7478C10.7745%203.60967%2010.7995%203.61801%2010.8262%203.62467C10.8528%203.63301%2010.8778%203.64134%2010.9045%203.65134C10.9312%203.65967%2010.9562%203.66801%2010.9795%203.67967C11.0012%203.68801%2011.0212%203.69634%2011.0428%203.70634C11.0495%203.70967%2011.0578%203.71134%2011.0645%203.71467C11.0828%203.72301%2011.1012%203.72967%2011.1195%203.73801C11.1262%203.74134%2011.1312%203.74301%2011.1378%203.74634C11.1562%203.75467%2011.1712%203.76134%2011.1895%203.76967C11.1962%203.77301%2011.2045%203.77467%2011.2128%203.78134C11.2345%203.78967%2011.2528%203.79801%2011.2728%203.80967C11.2762%203.80967%2011.2795%203.81301%2011.2812%203.81301C11.3045%203.82467%2011.3295%203.83634%2011.3512%203.84801C11.3695%203.85634%2011.3878%203.86801%2011.4062%203.87634C11.4212%203.88134%2011.4328%203.89134%2011.4462%203.89967C11.4645%203.91134%2011.4828%203.91967%2011.5012%203.93134C11.5045%203.93467%2011.5078%203.93467%2011.5095%203.93634L11.5728%203.97467H11.5762L15.2178%206.18801L15.4412%206.32467C16.3228%206.90801%2016.9028%207.88467%2016.9028%208.99301C16.9028%2010.1013%2016.3262%2011.0763%2015.4445%2011.6613L15.2095%2011.803L11.5745%2014.0113H11.5712L11.5078%2014.0497C11.5078%2014.0497%2011.5012%2014.053%2011.4995%2014.0547C11.4812%2014.0663%2011.4628%2014.0747%2011.4445%2014.0863C11.4595%2014.078%2011.4745%2014.0697%2011.4895%2014.0597L5.94951%2017.433C5.94951%2017.433%205.94618%2017.433%205.94618%2017.4363L5.74451%2017.558H5.74118C5.19784%2017.863%204.55784%2018.0247%203.87784%2017.993C2.73618%2017.938%201.75784%2017.3463%201.19284%2016.4847C0.837844%2015.9413%200.64451%2015.2913%200.681177%2014.6013C0.71451%2013.983%200.922844%2013.4147%201.26118%2012.9397L1.26951%2012.9247L4.04451%208.99634L6.77784%205.12634C6.81118%205.07967%206.84784%205.03301%206.87784%204.98467C6.87451%204.98967%206.86951%204.99967%206.86284%205.00467C6.87118%204.98967%206.88118%204.97634%206.88951%204.96134C6.88951%204.95801%206.89284%204.95801%206.89284%204.95634C6.89618%204.95301%206.89951%204.94801%206.90118%204.94467C6.90118%204.94467%206.90118%204.94134%206.90451%204.94134C6.91951%204.92134%206.93451%204.90134%206.94618%204.87801C6.96118%204.85801%206.97618%204.83801%206.99118%204.81634C7.00618%204.79634%207.02118%204.77634%207.03618%204.75467C7.03951%204.75134%207.03951%204.74967%207.04284%204.74634C7.04618%204.74301%207.04618%204.74134%207.04951%204.74134C7.06451%204.72134%207.07951%204.70134%207.09784%204.67967C7.10951%204.66467%207.12118%204.65134%207.13451%204.63634C7.16784%204.59801%207.20118%204.56134%207.23784%204.52301C7.25284%204.50801%207.26451%204.49467%207.27951%204.47967C7.30118%204.45634%207.32118%204.43634%207.34618%204.41634C7.36451%204.39967%207.38284%204.38134%207.40118%204.36467C7.41951%204.34801%207.43451%204.33301%207.45284%204.31801C7.45618%204.31467%207.45951%204.31301%207.45951%204.31301C7.47118%204.30134%207.48118%204.29301%207.49284%204.28467C7.50451%204.27301%207.51951%204.26134%207.53284%204.25301C7.53618%204.24967%207.53951%204.24801%207.54118%204.24801C7.55951%204.23301%207.57451%204.21967%207.59284%204.20467C7.60784%204.18967%207.62618%204.17801%207.64118%204.16634C7.65618%204.15467%207.66784%204.14634%207.68284%204.13467C7.70118%204.11967%207.71951%204.10801%207.73784%204.09467C7.75284%204.08634%207.76451%204.07467%207.77951%204.06634C7.78618%204.06134%207.79451%204.05467%207.80284%204.05134C7.81784%204.03967%207.83284%204.03134%207.84784%204.02301C7.85118%204.01967%207.85618%204.01801%207.85951%204.01467C7.87784%204.00301%207.89618%203.99134%207.91118%203.98301C7.91784%203.97801%207.92618%203.97467%207.93284%203.96801C7.94784%203.95967%207.95951%203.95134%207.97451%203.94134C7.98284%203.93634%207.99284%203.92967%208.00118%203.92467C8.01618%203.91634%208.03451%203.90801%208.04951%203.89634C8.05284%203.89301%208.05784%203.89134%208.06451%203.88801C8.08618%203.87634%208.10451%203.86467%208.12451%203.85634C8.12784%203.85301%208.13118%203.85301%208.13618%203.85134C8.15784%203.83967%208.17784%203.82801%208.19951%203.81967C8.19951%203.81967%208.20284%203.81967%208.20284%203.81634C8.22618%203.80467%208.24784%203.79301%208.27284%203.78134C8.27284%203.78134%208.27618%203.78134%208.27618%203.77801C8.29451%203.76967%208.31284%203.76134%208.33284%203.75134C8.34118%203.74801%208.35118%203.74301%208.35951%203.73967C8.37118%203.73467%208.38284%203.72801%208.39618%203.72467C8.41118%203.71967%208.42284%203.71301%208.43784%203.70801C8.46118%203.69967%208.48284%203.69134%208.50784%203.68134C8.52284%203.67634%208.53451%203.66967%208.54951%203.66634C8.57118%203.65801%208.59118%203.65134%208.61284%203.64301C8.63118%203.63801%208.65284%203.63134%208.66951%203.62301C8.75451%203.59634%208.83784%203.57134%208.92284%203.54967C8.94118%203.54467%208.96284%203.54134%208.97951%203.53801C9.08451%203.51467%209.19451%203.49467%209.30284%203.48301C9.32951%203.47967%209.35784%203.47801%209.38451%203.47467C9.42118%203.47134%209.45951%203.46967%209.49618%203.46634C9.51118%203.46634%209.52284%203.46301%209.53784%203.46301H9.55951C9.58951%203.46301%209.61618%203.45967%209.64784%203.45967H9.73784C9.79451%203.45967%209.84284%203.45967%209.89451%203.46301L9.89618%203.45801ZM10.6662%2014.413C10.5612%2014.4413%2010.4512%2014.4647%2010.3395%2014.4863C10.4512%2014.4663%2010.5595%2014.443%2010.6662%2014.413ZM9.56118%2014.5313H9.56951C9.56118%2014.5313%209.54784%2014.5313%209.53951%2014.528C9.54618%2014.528%209.55451%2014.5313%209.56118%2014.5313ZM7.08784%2013.293C7.05451%2013.253%207.02451%2013.2147%206.99451%2013.1747C7.02451%2013.2147%207.05784%2013.253%207.08784%2013.293ZM6.90284%2013.043C6.90284%2013.043%206.90618%2013.0463%206.90618%2013.048C6.90284%2013.0447%206.90284%2013.043%206.89951%2013.0363C6.89618%2013.033%206.89618%2013.0297%206.89284%2013.0247C6.86951%2012.9897%206.84784%2012.953%206.82284%2012.918C6.84451%2012.953%206.86784%2012.9913%206.88951%2013.0247C6.89618%2013.0297%206.89784%2013.0363%206.90118%2013.0413L6.90284%2013.043ZM6.89451%2013.0263C6.85784%2012.968%206.81951%2012.913%206.77618%2012.858L6.89451%2013.0263Z'%20fill='%231652A8'%20style='fill:%231652A8;fill:color(display-p3%200.0863%200.3216%200.6588);fill-opacity:1;'/%3e%3cg%20opacity='0.85'%3e%3cpath%20d='M5.77088%200.453306L5.97588%200.578306L5.97921%200.581639L11.5225%203.94997C11.5075%203.94164%2011.4925%203.93331%2011.4775%203.92331C11.4959%203.93497%2011.5142%203.94331%2011.5325%203.95497C11.5359%203.95831%2011.5392%203.95831%2011.5409%203.95997L11.6042%203.99831H11.6075L15.2492%206.21164L15.4725%206.34831C16.3542%206.93164%2016.9342%207.9083%2016.9342%209.01664C16.9342%2010.125%2016.3575%2011.1%2015.4759%2011.685L15.2409%2011.8266L11.6059%2014.035H11.6025L11.5392%2014.0733C11.5392%2014.0733%2011.5325%2014.0766%2011.5309%2014.0783C11.5125%2014.09%2011.4942%2014.0983%2011.4759%2014.11C11.4642%2014.1183%2011.4492%2014.125%2011.4359%2014.1333C11.4175%2014.145%2011.3992%2014.1533%2011.3809%2014.1616C11.3575%2014.1733%2011.3359%2014.185%2011.3109%2014.1966C11.3075%2014.2%2011.3042%2014.2%2011.3025%2014.2C11.2842%2014.2116%2011.2625%2014.22%2011.2425%2014.2283C11.2359%2014.2316%2011.2275%2014.2333%2011.2192%2014.24C11.2009%2014.2483%2011.1859%2014.255%2011.1675%2014.2633C11.1609%2014.2666%2011.1592%2014.2683%2011.1525%2014.2683C11.1309%2014.2766%2011.1109%2014.285%2011.0859%2014.2966C11.0625%2014.3083%2011.0342%2014.3166%2011.0109%2014.325C10.9875%2014.3333%2010.9592%2014.345%2010.9359%2014.3533C10.9092%2014.3616%2010.8842%2014.37%2010.8575%2014.38C10.8309%2014.3883%2010.8059%2014.3966%2010.7792%2014.4033H10.7759C10.7492%2014.4116%2010.7242%2014.4183%2010.6975%2014.4266C10.5925%2014.455%2010.4825%2014.4783%2010.3709%2014.4983C10.3259%2014.5066%2010.2775%2014.5133%2010.2325%2014.5183C10.2259%2014.5183%2010.2242%2014.5183%2010.2209%2014.5216C10.1975%2014.525%2010.1725%2014.5283%2010.1492%2014.53C10.1009%2014.5366%2010.0525%2014.5383%2010.0042%2014.5416C9.92921%2014.5483%209.85254%2014.5483%209.77754%2014.5483H9.68088C9.65421%2014.5483%209.62921%2014.545%209.60254%2014.545C9.59421%2014.545%209.58088%2014.545%209.57254%2014.5416C9.53254%2014.5383%209.49088%2014.5366%209.45254%2014.5333C9.27421%2014.5166%209.09588%2014.4866%208.92754%2014.4466C8.90421%2014.44%208.87921%2014.435%208.85254%2014.4266C8.81921%2014.4183%208.78588%2014.41%208.74921%2014.3983C8.73088%2014.3933%208.70921%2014.3866%208.69254%2014.3816C8.66588%2014.3733%208.64088%2014.365%208.61421%2014.355C8.58754%2014.3466%208.56254%2014.3383%208.53921%2014.3266C8.51588%2014.3183%208.48754%2014.3066%208.46421%2014.2983C8.44088%2014.29%208.41921%2014.2816%208.39754%2014.27C8.38921%2014.2666%208.38254%2014.265%208.37421%2014.2583C8.35588%2014.25%208.33754%2014.2416%208.31754%2014.2316C8.31754%2014.2316%208.31421%2014.2316%208.31421%2014.2283C8.29088%2014.2166%208.26588%2014.205%208.24254%2014.1933C8.21921%2014.1816%208.19421%2014.17%208.17088%2014.155C8.14754%2014.1433%208.12254%2014.1283%208.10088%2014.1166C8.07754%2014.105%208.05254%2014.09%208.03088%2014.0766C8.00754%2014.0616%207.98588%2014.0483%207.96088%2014.0366C7.93754%2014.0216%207.91588%2014.0083%207.89421%2013.9933C7.87254%2013.9783%207.85254%2013.965%207.83088%2013.95C7.82754%2013.95%207.82754%2013.9466%207.82421%2013.945C7.80588%2013.9333%207.78754%2013.9183%207.76754%2013.905C7.76421%2013.9016%207.76088%2013.9016%207.75921%2013.9C7.74088%2013.885%207.72254%2013.8733%207.70421%2013.86C7.70088%2013.8566%207.69588%2013.855%207.69254%2013.8483C7.67421%2013.8333%207.65588%2013.82%207.63754%2013.805C7.63754%2013.805%207.63421%2013.805%207.63421%2013.8016C7.61588%2013.7866%207.59754%2013.7733%207.57754%2013.755C7.57421%2013.7516%207.57088%2013.7516%207.56921%2013.7483C7.55421%2013.7366%207.53921%2013.7216%207.52421%2013.71C7.51754%2013.705%207.51254%2013.6983%207.50588%2013.695C7.49421%2013.6833%207.47921%2013.6716%207.46588%2013.66C7.43921%2013.6366%207.41421%2013.6133%207.39088%2013.5866C7.37254%2013.57%207.35754%2013.5516%207.33921%2013.535C7.32754%2013.5233%207.31754%2013.5116%207.30588%2013.5C7.29421%2013.4883%207.28421%2013.48%207.27588%2013.4683C7.25754%2013.4516%207.24254%2013.43%207.22421%2013.4133C7.19088%2013.375%207.15754%2013.3383%207.12421%2013.2966C7.09088%2013.2566%207.06088%2013.2183%207.03088%2013.1783C7.01588%2013.1583%207.00088%2013.1383%206.98588%2013.1166C6.97088%2013.0966%206.95588%2013.0766%206.94421%2013.0533C6.94088%2013.05%206.94088%2013.0483%206.93754%2013.0416C6.93421%2013.0383%206.93421%2013.0366%206.93088%2013.03C6.90754%2012.995%206.88588%2012.9583%206.86088%2012.9233C6.88254%2012.9583%206.90588%2012.995%206.92754%2013.03C6.89088%2012.9716%206.85254%2012.9166%206.80921%2012.8616L4.07921%208.99664L1.34088%205.12997L1.23254%204.97664L1.22921%204.97164C0.92421%204.51164%200.737543%203.97497%200.707543%203.39497C0.670877%202.70497%200.86421%202.05164%201.22088%201.50997C1.78588%200.648306%202.76588%200.0566391%203.90421%20-2.75556e-05C4.58421%20-0.0150276%205.22421%200.148306%205.77088%200.453306Z'%20fill='url(%23paint0_linear_6919_104497)'%20style=''/%3e%3c/g%3e%3cpath%20d='M32.4132%2012.862C31.2015%2012.862%2030.4482%2012.0503%2030.4482%2010.7203V8.4453H32.6632V7.02697H30.4482V4.72363L28.8548%205.9053V7.0253H27.9648V8.44363H28.8548V10.7053C28.8548%2012.9953%2030.1982%2014.412%2032.4282%2014.412H32.7682V12.862H32.4132Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M19.9812%2012.5767L21.4028%2011.4651C22.0395%2012.4867%2022.8995%2013.0351%2023.9962%2013.0351C25.1962%2013.0351%2025.9512%2012.2651%2025.9512%2011.3017C25.9512%2010.1901%2024.7662%209.83506%2023.5212%209.43506C22.0545%208.96172%2020.4695%208.36839%2020.4695%206.38339C20.4695%204.73839%2021.9362%203.43506%2023.9362%203.43506C25.5812%203.43506%2026.6028%204.07172%2027.4328%205.03506L26.1145%206.01339C25.6262%205.25839%2024.8995%204.85839%2023.9362%204.85839C22.8395%204.85839%2022.1278%205.51006%2022.1278%206.35506C22.1278%207.39172%2023.2695%207.73339%2024.5128%208.14839C25.9945%208.65172%2027.6095%209.29006%2027.6095%2011.3051C27.6095%2012.9651%2026.2462%2014.5501%2024.0095%2014.5501C22.1578%2014.5501%2020.8978%2013.7651%2019.9795%2012.5801L19.9812%2012.5767Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M38.2695%2010.7367C38.2695%208.56503%2039.9379%206.8667%2042.1095%206.8667C44.2812%206.8667%2045.9062%208.4467%2045.9062%2010.6334V11.2534H39.7912C39.9979%2012.39%2040.8845%2013.1434%2042.1695%2013.1434C43.1745%2013.1434%2043.9429%2012.6117%2044.3262%2011.8134L45.6262%2012.5367C44.9762%2013.7484%2043.8095%2014.545%2042.1695%2014.545C39.8362%2014.545%2038.2695%2012.8767%2038.2695%2010.735V10.7367ZM39.8645%209.91003H44.2962C44.0595%208.8467%2043.2479%208.25503%2042.1095%208.25503C40.9712%208.25503%2040.1595%208.93503%2039.8645%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M33.7549%2010.72C33.7549%208.42999%2035.0982%207.02832%2037.3282%207.02832H38.0366V8.56499H37.3132C36.1016%208.56499%2035.3199%209.40665%2035.3349%2010.7367V14.415H33.7549V10.7233V10.72Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M46.6882%2010.7218C46.6882%208.56517%2048.3865%206.88184%2050.5132%206.88184C52.6399%206.88184%2054.3082%208.56517%2054.3082%2010.7218V14.4135H52.7582V13.4535C52.2415%2014.1468%2051.4432%2014.5468%2050.4682%2014.5468C48.3565%2014.5468%2046.6865%2012.8935%2046.6865%2010.7218H46.6882ZM52.7882%2010.7218C52.7882%209.40684%2051.7832%208.3585%2050.5132%208.3585C49.2432%208.3585%2048.2382%209.40684%2048.2382%2010.7218C48.2382%2012.0368%2049.2282%2013.0852%2050.5132%2013.0852C51.7982%2013.0852%2052.7882%2012.0218%2052.7882%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M55.3027%2010.2717C55.3027%208.30667%2056.6461%206.875%2058.6411%206.875C59.7777%206.875%2060.6944%207.33333%2061.2694%208.10167C61.8161%207.33333%2062.7027%206.875%2063.8394%206.875C65.8477%206.875%2067.2511%208.27833%2067.2511%2010.2717V14.4067H65.6711V10.2867C65.6711%209.165%2064.9177%208.38167%2063.8394%208.38167C62.7611%208.38167%2062.0527%209.18%2062.0677%2010.2433V14.4083H60.4877V10.2883C60.4877%209.16667%2059.7194%208.38333%2058.6411%208.38333C57.5627%208.38333%2056.8694%209.18167%2056.8827%2010.245V14.41H55.3027V10.275V10.2717Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M68.2646%203.62695H69.8746V12.872H74.2313V14.4086H68.2646V3.62695Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M89.418%2010.7367C89.418%208.56503%2091.0863%206.8667%2093.258%206.8667C95.4296%206.8667%2097.0546%208.4467%2097.0546%2010.6334V11.2534H90.9396C91.1463%2012.39%2092.033%2013.1434%2093.318%2013.1434C94.323%2013.1434%2095.0913%2012.6117%2095.4746%2011.8134L96.7746%2012.5367C96.1246%2013.7484%2094.958%2014.545%2093.318%2014.545C90.9846%2014.545%2089.418%2012.8767%2089.418%2010.735V10.7367ZM91.013%209.91003H95.4446C95.208%208.8467%2094.3963%208.25503%2093.258%208.25503C92.1196%208.25503%2091.308%208.93503%2091.013%209.91003Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M74.4948%2010.7218C74.4948%208.56517%2076.1932%206.88184%2078.3198%206.88184C80.4465%206.88184%2082.1148%208.56517%2082.1148%2010.7218V14.4135H80.5648V13.4535C80.0482%2014.1468%2079.2498%2014.5468%2078.2748%2014.5468C76.1632%2014.5468%2074.4932%2012.8935%2074.4932%2010.7218H74.4948ZM80.5948%2010.7218C80.5948%209.40684%2079.5898%208.3585%2078.3198%208.3585C77.0498%208.3585%2076.0448%209.40684%2076.0448%2010.7218C76.0448%2012.0368%2077.0348%2013.0852%2078.3198%2013.0852C79.6048%2013.0852%2080.5948%2012.0218%2080.5948%2010.7218Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M85.0381%2014.0498L81.9814%207.0498H83.6798L85.8364%2012.1748L87.8748%207.0498H89.5431L85.0831%2017.8465H83.4581L85.0381%2014.0515V14.0498Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3cpath%20d='M98.041%2010.7151C98.041%208.4251%2099.3843%207.02344%20101.614%207.02344H102.323V8.5601H101.599C100.388%208.5601%2099.606%209.40177%2099.621%2010.7318V14.4101H98.041V10.7184V10.7151Z'%20fill='%23687C8B'%20style='fill:%23687C8B;fill:color(display-p3%200.4078%200.4863%200.5451);fill-opacity:1;'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_6919_104497'%20x1='4.31754'%20y1='8.70664'%20x2='13.6359'%20y2='3.59497'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.2'%20stop-color='%231589EE'%20style='stop-color:%231589EE;stop-color:color(display-p3%200.0824%200.5373%200.9333);stop-opacity:1;'/%3e%3cstop%20offset='1'%20stop-color='%235EB4FF'%20style='stop-color:%235EB4FF;stop-color:color(display-p3%200.3686%200.7059%201.0000);stop-opacity:1;'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_6919_104497'%3e%3crect%20width='101.648'%20height='18'%20fill='white'%20style='fill:white;fill-opacity:1;'%20transform='translate(0.675781)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",alt:"stream-layer-logo"})})},B=a.styled_default("div")({name:"Container",class:"cq8qxhy",propsAsIs:!1}),S=a.styled_default("div")({name:"VideoWrapper",class:"v18kj6dc",propsAsIs:!1}),O=a.styled_default(c.Et)({name:"FocusableVideo",class:"fv2nwib",propsAsIs:!0}),P=a.styled_default("div")({name:"VideoStatus",class:"v8ptucg",propsAsIs:!1}),E="caip8y5",M=a.styled_default("div")({name:"Content",class:"ccgc65e",propsAsIs:!1}),T=a.styled_default("h3")({name:"Title",class:"t1q3iml2",propsAsIs:!1}),D=a.styled_default("div")({name:"Description",class:"d1y2pxs8",propsAsIs:!1}),Q=a.styled_default("img")({name:"Image",class:"ig2j4fc",propsAsIs:!1}),k=a.styled_default("div")({name:"ImageContainer",class:"i3dd6iy",propsAsIs:!1}),N=function(e){var s,t,l=e.instantView,o=e.isDetail,r=e.notification,a=e.controlVideo,u=e.muted,c=d.useRef(null),p=i(d.useState(!1),2),y=p[0],m=p[1],v=i(d.useState(void 0),2),j=v[0],b=v[1],g=(null==l?void 0:l.playVideoMuted)===f.PlayVideoMuted.ENABLED,h=o&&(null==l?void 0:l.autoPlayVideo)===f.AutoPlayVideo.ENABLED,x=g&&h,A=null==l?void 0:l.heading,V=null==l?void 0:l.body,w=A||V,L=i(d.useState(!0),2),I=L[0],q=L[1],_=null==r?void 0:r.title,H=null==r?void 0:r.body;return n.jsxs(B,{children:[(null==(s=null==l?void 0:l.video)?void 0:s.url)&&n.jsxs(S,{children:[n.jsx(O,{className:E,source:l.video.url,poster:l.video.thumbnailUrl,controlVideo:a,muted:u,autoPlay:o&&l.autoPlayVideo===f.AutoPlayVideo.ENABLED,ref:c,onPause:function(){null==m||m(!0),q(!1)},onMute:function(e){b(e)},onPlay:function(){null==m||m(!1)},playMuted:g,hasNotPausedVideo:I,webos:!0}),y&&!I&&n.jsxs(P,{children:[n.jsx(C.B1,{name:"icon-pause"}),"PAUSED"]}),j&&x&&n.jsxs(P,{children:[n.jsx(C.B1,{name:"iconMute"}),"MUTED"]})]}),(null==l?void 0:l.image)&&!(null!=(t=null==l?void 0:l.video)&&t.url)&&n.jsx(k,{className:E,"data-rounded":l.imageMode===f.QuestionImages.ROUNDED,children:n.jsx(Q,{src:null==l?void 0:l.image})}),n.jsxs(M,{children:[n.jsx(T,{children:o&&w?A:_}),n.jsx(D,{children:o&&w?V:H})]})]})},Z=a.styled_default("div")({name:"Container",class:"cgn5uen",propsAsIs:!1}),U="c1px8nt6",R=a.styled_default("div")({name:"Content",class:"c5et2jt",propsAsIs:!1}),F=a.styled_default("h3")({name:"Title",class:"t1i2kpk2",propsAsIs:!1}),W=a.styled_default("div")({name:"Description",class:"dd3lh3p",propsAsIs:!1}),z=a.styled_default("img")({name:"Image",class:"i1gfjeu5",propsAsIs:!1}),$=a.styled_default("div")({name:"ImageContainer",class:"i58y999",propsAsIs:!1}),G=function(e){var s,t,l=e.instantView,o=e.isDetail,i=e.notification,r=e.controlVideo,a=e.muted,d=null==l?void 0:l.heading,u=null==l?void 0:l.body,p=d||u,C=null==i?void 0:i.title,y=null==i?void 0:i.body;return n.jsxs(Z,{children:[(null==(s=null==l?void 0:l.video)?void 0:s.url)&&n.jsx(c.Et,{className:U,source:l.video.url,poster:l.video.thumbnailUrl,controlVideo:r,muted:a,autoPlay:o&&l.autoPlayVideo===f.AutoPlayVideo.ENABLED}),(null==l?void 0:l.image)&&!(null!=(t=null==l?void 0:l.video)&&t.url)&&n.jsx($,{className:U,"data-rounded":l.imageMode===f.QuestionImages.ROUNDED,children:n.jsx(z,{src:null==l?void 0:l.image})}),n.jsxs(R,{children:[n.jsx(F,{children:o&&p?d:C}),n.jsx(W,{children:o&&p?u:y})]})]})},Y=a.styled_default("div")({name:"Container",class:"c1euiow",propsAsIs:!1}),J=a.styled_default("a")({name:"WebLinkBtn",class:"w19zie3h",propsAsIs:!1}),K=a.styled_default(C.B1)({name:"WebLinkIcon",class:"wyg5v7z",propsAsIs:!0}),X=function(e){var t=e.instantView,o=function(e,s){if(null==e)return{};var t,l,o=function(e,s){if(null==e)return{};var t={};for(var l in e)if({}.hasOwnProperty.call(e,l)){if(-1!==s.indexOf(l))continue;t[l]=e[l]}return t}(e,s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t=i[l],-1===s.indexOf(t)&&{}.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,s);return n.jsxs(Y,{children:[o.webos?n.jsx(N,l(l({instantView:t},o),{},{isDetail:!0})):n.jsx(G,l(l({instantView:t},o),{},{isDetail:!0})),(null==t?void 0:t.webLink)&&n.jsxs(J,{href:null==t?void 0:t.webLink.url,target:"_blank","data-a":"web-link",children:[null==t?void 0:t.webLink.label,n.jsx(K,{name:"icon-external-link"})]})]})},ee=a.styled_default("div")({name:"Container",class:"c1dcxmvf",propsAsIs:!1}),se=a.styled_default("blockquote")({name:"Quote",class:"qb4q22c",propsAsIs:!1}),te=function(e){return n.jsxs(ee,{children:[e.title&&n.jsx(se,{children:e.title}),n.jsx(p.b,l(l({},e),{},{isDetail:!0}))]})},le=a.styled_default("div")({name:"QuestionAdvertisementContainer",class:"qwludgs",propsAsIs:!1}),oe=a.styled_default("div")({name:"QuestionAdvertisementText",class:"qvce6pv",propsAsIs:!1}),ie=a.styled_default("div")({name:"QuestionAdvertisementImage",class:"qsid7hx",propsAsIs:!1}),re=function(e){var s=e.sponsorLogo,t=e.id,l=e.hasBanner,o=e.setAdShowed,i=d.useRef();return d.useEffect(function(){return i.current=setTimeout(function(){o(!0)},5e3),function(){clearTimeout(i.current)}},[o,t,l]),n.jsxs(le,{children:[n.jsx(oe,{children:"PRESENTED BY"}),n.jsx(ie,{children:n.jsx("img",{src:s,alt:"ad-sponsor-logo"})})]})},ne=a.styled_default("div")({name:"QuestionContainer",class:"q14ckf9e",propsAsIs:!1}),ae=function(e){var s,t,o=e.openedQuestion,i=e.muted,r=e.webos,a=j().sdk;return"insight"===(null==(s=null==o?void 0:o.attributes)?void 0:s.attributes.case)?n.jsx(X,l(l({},o.attributes.attributes.value),{},{muted:i,controlVideo:null==a?void 0:a.controlVideoPlayer,webos:r})):"tweet"===(null==(t=null==o?void 0:o.attributes)?void 0:t.attributes.case)?n.jsx(te,l(l({},o.attributes.attributes.value),{},{muted:i,controlVideo:null==a?void 0:a.controlVideoPlayer})):null},de=function(e){var s=e.extendedQuestion,t=e.vote,l=e.close,o=e.webos,i=s.loading,r=s.data;return r?n.jsx(y.ee,{webos:o,vote:t,close:l,openedQuestion:r,isLoading:!!i}):n.jsx(y.te,{})};exports.O=G,exports.e=v,exports.ht=function(e){var s,t,l,o,r,u,c,p,C,y,v,j,b,g,h,x,A=e.gamification,V=e.sdk,w=e.muted,I=e.skipAutoClose,q=e.hideSponsor,_=e.className,B=e.hideHeader,S=e.webos,O=a.useStore(A.openedQuestion.$store),P=a.useStore(A.openedQuestion.$extendedStore),E=i(d.useState(!1),2),M=E[0],T=E[1],D=a.useStore(V.options),Q=(null==(s=null==O?void 0:O.attributes)?void 0:s.type)===f.QuestionType.FACTOID,k=null==(t=null==O?void 0:O.attributes)?void 0:t.backgroundImage,N=null==(l=P.data)?void 0:l.backgroundImage,Z=Q?null==k?void 0:k.landscapeUrl:null==N?void 0:N.landscapeUrl,U=Q?null==k?void 0:k.portraitUrl:null==N?void 0:N.portraitUrl,R=m.y({containerId:D.containerId,landscapeUrl:Z,portraitUrl:U});if(!O)return null;var F=O.type,W="factoid"===(null==(r=null==(o=P.data)?void 0:o.options)?void 0:r.options.case)?P.data.options.options.value.closeTimer:void 0;return P.data&&P.data.adUnit===f.AdUnit.STANDART&&!M?n.jsxs(ne,{className:_,children:[R,n.jsx(re,{id:P.data.id,hasBanner:!(null==(c=null==(u=P.data.promotion)?void 0:u.banner)||!c.imageUrl),setAdShowed:T,sponsorLogo:(null==(C=null==(p=P.data.promotion)?void 0:p.sponsor)?void 0:C.logo)||(null==(y=P.data.sponsorship)?void 0:y.logo)||""})]}):n.jsxs(ne,{className:_,children:[R,!B&&n.jsx(L,{closeTimer:I?void 0:W,close:A.closeQuestion,type:(null==(v=O.attributes)?void 0:v.type)||f.QuestionType.UNSET,webos:S}),"question"===F&&n.jsx(de,{webos:S,vote:A.submitAnswer,close:A.closeQuestion,extendedQuestion:P}),"question"!==F&&n.jsx(ae,{muted:w,openedQuestion:O,webos:S}),!q&&n.jsx(H,{sponsorLogo:(null==(g=null==(b=null==(j=P.data)?void 0:j.promotion)?void 0:b.sponsor)?void 0:g.logo)||(null==(x=null==(h=P.data)?void 0:h.sponsorship)?void 0:x.logo)})]})},exports.p=j,exports.y=L;
|