@vkontakte/videoplayer 1.1.36-dev.35d4a782.0 → 1.1.36-dev.3e8d23ea.0
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/es2015.cjs.js +16 -16
- package/es2015.esm.js +16 -16
- package/es2018.cjs.js +16 -16
- package/es2018.esm.js +16 -16
- package/esnext.cjs.js +12 -12
- package/esnext.esm.js +14 -14
- package/evergreen.esm.js +14 -14
- package/index.d.ts +7 -2
- package/package.json +4 -4
package/es2018.esm.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.36-dev.
|
|
3
|
-
*
|
|
2
|
+
* @vkontakte/videoplayer v1.1.36-dev.3e8d23ea.0
|
|
3
|
+
* Mon, 03 Jun 2024 08:07:02 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
|
|
5
5
|
*/
|
|
6
|
-
var y0=Object.defineProperty;var k0=(i,e,t)=>e in i?y0(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Hl=(i,e,t)=>(k0(i,typeof e!="symbol"?e+"":e,t),t);import{VERSION as C0,ChromecastState as Vn,PlaybackState as Yt,VideoQuality as yo,Player as S0,VideoFormat as Oo}from"@vkontakte/videoplayer-core/es2018.esm.js";import{VideoFormat as $6,VideoQuality as e8}from"@vkontakte/videoplayer-core/es2018.esm.js";import{InterfaceLanguage as qo,VideoQuality as bl,fillWithDefault as T0,VERSION as P0,assertNonNullable as gt,safeStorage as Pn,isNullable as kl,Subscription as $n,isNonNullable as Sn,isMacLike as ts,debounceFn as E0,ValueSubject as yr,getCurrentBrowser as kr,CurrentClientBrowser as N1,noop as Xe,checkNever as A0,timeCodeToString as I0,Subject as wn,addScript as L0,Logger as O1,merge as V0,Observable as M0,map as B0,loadVKLangPack as R0,isIOS as Cr,getHighestQuality as N0,throttleFn as Pl,CurrentClientDevice as O0,getIOSVersion as D0,detectEmbed as z0,observeElementSize as F0,isMobile as H0,cloneDeepWith as U0}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{InterfaceLanguage as i8,VKNumericLanguage as n8,loadVKLangPack as o8}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{VERSION as q0,SeekAction as Wt,OneStat as j0,InteractiveInterfaceClick as Do}from"@vkontakte/videoplayer-statistics/es2018.esm.js";import"@vkontakte/videoplayer-interactive/es2018.esm.js";function K(){}function D1(i,e){for(const t in e)i[t]=e[t];return i}function z1(i){return i()}function is(){return Object.create(null)}function it(i){i.forEach(z1)}function Tn(i){return typeof i=="function"}function ge(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ol;function ns(i,e){return ol||(ol=document.createElement("a")),ol.href=e,i===ol.href}function W0(i){return Object.keys(i).length===0}function ei(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function tt(i){let e;return ei(i,t=>e=t)(),e}function O(i,e,t){i.$$.on_destroy.push(ei(e,t))}function Fn(i,e,t,n){if(i){const l=F1(i,e,t,n);return i[0](l)}}function F1(i,e,t,n){return i[1]&&n?D1(t.ctx.slice(),i[1](n(e))):t.ctx}function Hn(i,e,t,n){if(i[2]&&n){const l=i[2](n(t));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Un(i,e,t,n,l,r){if(l){const o=F1(e,t,n,r);i.p(o,l)}}function qn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function Z0(i){return i==null?"":i}const El=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ze(i,e,t){const n=K0(i);if(!n.getElementById(e)){const l=E("style");l.id=e,l.textContent=t,G0(n,l)}}function K0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function G0(i,e){return p(i.head||i,e),e.sheet}function P(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode&&i.parentNode.removeChild(i)}function En(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function E(i){return document.createElement(i)}function B(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function De(i){return document.createTextNode(i)}function N(){return De(" ")}function pt(){return De("")}function he(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ii(i){return function(e){return e.preventDefault(),i.call(this,e)}}function st(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function Y0(i){return Array.from(i.childNodes)}function et(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ht(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let ll;function Q0(){if(ll===void 0){ll=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){ll=!0}}return ll}function Sr(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=E("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=Q0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=he(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=he(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(l||r&&n.contentWindow)&&r(),T(n)}}function M(i,e,t){i.classList.toggle(e,!!t)}function Mn(i,e){return new i(e)}let Ho;function Fo(i){Ho=i}function jo(){if(!Ho)throw new Error("Function called outside component initialization");return Ho}function vn(i){jo().$$.on_mount.push(i)}function Al(i){jo().$$.on_destroy.push(i)}function dr(i,e){return jo().$$.context.set(i,e),e}function Tr(i){return jo().$$.context.get(i)}function H1(){return jo().$$.context}function Eo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ko=[],ke=[];let To=[];const mr=[],U1=Promise.resolve();let pr=!1;function q1(){pr||(pr=!0,U1.then(j1))}function Wo(){return q1(),U1}function Ao(i){To.push(i)}function je(i){mr.push(i)}const Ul=new Set;let ho=0;function j1(){if(ho!==0)return;const i=Ho;do{try{for(;ho<ko.length;){const e=ko[ho];ho++,Fo(e),X0(e.$$)}}catch(e){throw ko.length=0,ho=0,e}for(Fo(null),ko.length=0,ho=0;ke.length;)ke.pop()();for(let e=0;e<To.length;e+=1){const t=To[e];Ul.has(t)||(Ul.add(t),t())}To.length=0}while(ko.length);for(;mr.length;)mr.pop()();pr=!1,Ul.clear(),Fo(i)}function X0(i){if(i.fragment!==null){i.update(),it(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ao)}}function J0(i){const e=[],t=[];To.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),To=e}const _l=new Set;let lo;function fe(){lo={r:0,c:[],p:lo}}function de(){lo.r||it(lo.c),lo=lo.p}function d(i,e){i&&i.i&&(_l.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(_l.has(i))return;_l.add(i),lo.c.push(()=>{_l.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Qt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function x0(i,e){const t={},n={},l={$$scope:1};let r=i.length;for(;r--;){const o=i[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(t[a]=s[a],l[a]=1);i[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in t||(t[o]=void 0);return t}function $0(i){return typeof i=="object"&&i!==null?i:{}}function We(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function U(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),Ao(()=>{const r=i.$$.on_mount.map(z1).filter(Tn);i.$$.on_destroy?i.$$.on_destroy.push(...r):it(r),i.$$.on_mount=[]}),l.forEach(Ao)}function F(i,e){const t=i.$$;t.fragment!==null&&(J0(t.after_update),it(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ed(i,e){i.$$.dirty[0]===-1&&(ko.push(i),q1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function be(i,e,t,n,l,r,o,s=[-1]){const a=Ho;Fo(i);const c=i.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:is(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:is(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,..._)=>{const v=_.length?_[0]:h;return c.ctx&&l(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&ed(i,m)),h}):[],c.update(),f=!0,it(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=Y0(e.target);c.fragment&&c.fragment.l(m),m.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),z(i,e.target,e.anchor),j1()}Fo(a)}class _e{constructor(){Hl(this,"$$");Hl(this,"$$set")}$destroy(){F(this,1),this.$destroy=K}$on(e,t){if(!Tn(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const l=n.indexOf(t);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!W0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const td="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(td);var Io;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Io||(Io={}));const id={isMobile:void 0,defaultLanguage:qo.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Io.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:bl.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},nd=i=>T0(i,id),od=i=>dr("ui-config",i),gn=()=>Tr("ui-config"),hr="vk_player_debug_panel_opened",W1=300,ld=100,rd="videoplayer",sd="videoplayer";var Ee;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ee||(Ee={}));const Zo={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},ad=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),ud=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),cd=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var dt;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(dt||(dt={}));const os=40,Z1=260,fd=60,rl=8,K1=[dt.TIMELINE],wl=[...K1,dt.GRAPH_BUTTON],ls=[...K1,dt.PLAY_BUTTON],G1=[...wl,dt.PLAY_BUTTON];var Co;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Co||(Co={}));var Mt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Mt||(Mt={}));const Lo={[Mt.XS]:0,[Mt.S]:1,[Mt.M]:2,[Mt.L]:3,[Mt.XL]:4},vo=[];function Ln(i,e){return{subscribe:Be(i,e).subscribe}}function Be(i,e=K){let t;const n=new Set;function l(s){if(ge(i,s)&&(i=s,t)){const a=!vo.length;for(const c of n)c[1](),vo.push(c,i);if(a){for(let c=0;c<vo.length;c+=2)vo[c][0](vo[c+1]);vo.length=0}}}function r(s){l(s(i))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(l,r)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:l,update:r,subscribe:o}}function Oi(i,e,t){const n=!Array.isArray(i),l=n?[i]:i;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Ln(t,(o,s)=>{let a=!1;const c=[];let f=0,m=K;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,o,s);r?o(v):m=Tn(v)?v:K},_=l.map((v,w)=>ei(v,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){it(_),m(),a=!1}})}const dd="prod",Pr="1.1.36-dev.35d4a782.0",Y1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},Q1=Symbol("storeContext"),X1=Symbol("microStoresContext"),md=(i,e)=>{dr(Q1,i),dr(X1,e)},Ct=()=>{const i=Tr(Q1);return gt(i,"Store context is empty!"),i},Il=()=>{const i=Tr(X1);return gt(i,"MicroStores context is empty!"),i},kt=(i,e)=>J1(i,i.getValue(),e),J1=(i,e,t)=>Ln(e,n=>{const l=i.subscribe(r=>{n(r),t==null||t(r)});return()=>l.unsubscribe()}),pd=(i,e,t)=>{var n,l,r,o;const s=i.info,{width:a,height:c}=tt(t.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,m=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${Pr} (core: ${C0}, stat: ${q0}, shared: ${P0})`,v=tt(t.state.errorLog$),w=v.length?`
|
|
7
|
-
`+
|
|
8
|
-
`,
|
|
9
|
-
`,
|
|
10
|
-
`;return
|
|
11
|
-
`):void 0,b=
|
|
12
|
-
`)},hd=(i,e,t)=>{const n=i.info,{width:l,height:r}=tt(t.ui.playerSize),o={version:Pr,viewport:`${l}x${r}`,volume:Math.round(tt(t.state.volume$)*100)};o.id=t.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-tt(t.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(o.speed=m);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},vd=(i,e)=>Y1(i,e,"mp4"),x1="vk_player_prefer_traffic_saving_enabled",$1="vk_player_preferred_volume",ec="vk_player_prefer_volume_mute",Er="vk_player_preferred_quality",tc=i=>i>1?1:i<0?0:i,rs=i=>Pn.set($1,tc(i).toString(10)),ic=()=>{const i=Pn.get($1);return kl(i)?void 0:tc(parseFloat(i))},gd=(i,e)=>Pn.set(Er,JSON.stringify({videoId:i,value:e})),nc=()=>Pn.remove(Er),bd=i=>{const e=Pn.get(Er);if(kl(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){nc();return}return n},oc=(i,e)=>{e?Pn.set(i,"true"):Pn.remove(i)},lc=i=>Pn.get(i)==="true",ql=i=>oc(ec,i),_d=()=>lc(ec),wd=i=>oc(x1,i),yd=()=>lc(x1);function kd(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("path"),o=B("path"),s=B("path"),a=B("defs"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),_=B("feGaussianBlur"),v=B("feColorMatrix"),w=B("feBlend"),b=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_618_12297"),u(b,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!i[0]||null),u(e,"aria-label",y=i[0]||null)},m(k,V){P(k,e,V),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,v),p(c,w),p(c,b)},p(k,[V]){V&1&&C!==(C=!k[0]||null)&&u(e,"aria-hidden",C),V&1&&y!==(y=k[0]||null)&&u(e,"aria-label",y)},i:K,o:K,d(k){k&&T(e)}}}function Cd(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=l=>{"ariaLabel"in l&&t(0,n=l.ariaLabel)},[n]}class rc extends _e{constructor(e){super(),be(this,e,Cd,kd,ge,{ariaLabel:0})}}var jl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Sd(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var sl=function(i){return i&&i.Math==Math&&i},eo=sl(typeof globalThis=="object"&&globalThis)||sl(typeof window=="object"&&window)||sl(typeof self=="object"&&self)||sl(typeof jl=="object"&&jl)||function(){return this}()||jl||Function("return this")(),ao=function(i){try{return!!i()}catch(e){return!0}},Td=ao,Ll=!Td(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),Pd=Ll,sc=Function.prototype,ss=sc.apply,as=sc.call,Ed=typeof Reflect=="object"&&Reflect.apply||(Pd?as.bind(ss):function(){return as.apply(ss,arguments)}),ac=Ll,uc=Function.prototype,vr=uc.call,Ad=ac&&uc.bind.bind(vr,vr),to=ac?Ad:function(i){return function(){return vr.apply(i,arguments)}},cc=to,Id=cc({}.toString),Ld=cc("".slice),Vl=function(i){return Ld(Id(i),8,-1)},Vd=Vl,Md=to,fc=function(i){if(Vd(i)==="Function")return Md(i)},gr=typeof document=="object"&&document.all,Bd=typeof gr=="undefined"&&gr!==void 0,dc={all:gr,IS_HTMLDDA:Bd},mc=dc,Rd=mc.all,jn=mc.IS_HTMLDDA?function(i){return typeof i=="function"||i===Rd}:function(i){return typeof i=="function"},pc={},Nd=ao,Ko=!Nd(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Od=Ll,al=Function.prototype.call,Go=Od?al.bind(al):function(){return al.apply(al,arguments)},hc={},vc={}.propertyIsEnumerable,gc=Object.getOwnPropertyDescriptor,Dd=gc&&!vc.call({1:2},1);hc.f=Dd?function(e){var t=gc(this,e);return!!t&&t.enumerable}:vc;var bc=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},zd=to,Fd=ao,Hd=Vl,Wl=Object,Ud=zd("".split),qd=Fd(function(){return!Wl("z").propertyIsEnumerable(0)})?function(i){return Hd(i)=="String"?Ud(i,""):Wl(i)}:Wl,Ar=function(i){return i==null},jd=Ar,Wd=TypeError,Ir=function(i){if(jd(i))throw Wd("Can't call method on "+i);return i},Zd=qd,Kd=Ir,Gd=function(i){return Zd(Kd(i))},us=jn,_c=dc,Yd=_c.all,Yo=_c.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:us(i)||i===Yd}:function(i){return typeof i=="object"?i!==null:us(i)},wc={},Zl=wc,Kl=eo,Qd=jn,cs=function(i){return Qd(i)?i:void 0},yc=function(i,e){return arguments.length<2?cs(Zl[i])||cs(Kl[i]):Zl[i]&&Zl[i][e]||Kl[i]&&Kl[i][e]},Xd=to,kc=Xd({}.isPrototypeOf),Jd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Cc=eo,Gl=Jd,fs=Cc.process,ds=Cc.Deno,ms=fs&&fs.versions||ds&&ds.version,ps=ms&&ms.v8,Cn,Cl;ps&&(Cn=ps.split("."),Cl=Cn[0]>0&&Cn[0]<4?1:+(Cn[0]+Cn[1]));!Cl&&Gl&&(Cn=Gl.match(/Edge\/(\d+)/),(!Cn||Cn[1]>=74)&&(Cn=Gl.match(/Chrome\/(\d+)/),Cn&&(Cl=+Cn[1])));var xd=Cl,hs=xd,$d=ao,e2=eo,t2=e2.String,Sc=!!Object.getOwnPropertySymbols&&!$d(function(){var i=Symbol();return!t2(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&hs&&hs<41}),i2=Sc,Tc=i2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",n2=yc,o2=jn,l2=kc,r2=Tc,s2=Object,Pc=r2?function(i){return typeof i=="symbol"}:function(i){var e=n2("Symbol");return o2(e)&&l2(e.prototype,s2(i))},a2=String,u2=function(i){try{return a2(i)}catch(e){return"Object"}},c2=jn,f2=u2,d2=TypeError,Ec=function(i){if(c2(i))return i;throw d2(f2(i)+" is not a function")},m2=Ec,p2=Ar,Ac=function(i,e){var t=i[e];return p2(t)?void 0:m2(t)},Yl=Go,Ql=jn,Xl=Yo,h2=TypeError,v2=function(i,e){var t,n;if(e==="string"&&Ql(t=i.toString)&&!Xl(n=Yl(t,i))||Ql(t=i.valueOf)&&!Xl(n=Yl(t,i))||e!=="string"&&Ql(t=i.toString)&&!Xl(n=Yl(t,i)))return n;throw h2("Can't convert object to primitive value")},Ic={exports:{}},vs=eo,g2=Object.defineProperty,b2=function(i,e){try{g2(vs,i,{value:e,configurable:!0,writable:!0})}catch(t){vs[i]=e}return e},_2=eo,w2=b2,gs="__core-js_shared__",y2=_2[gs]||w2(gs,{}),k2=y2,bs=k2;(Ic.exports=function(i,e){return bs[i]||(bs[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var C2=Ic.exports,S2=Ir,T2=Object,Lc=function(i){return T2(S2(i))},P2=to,E2=Lc,A2=P2({}.hasOwnProperty),Ml=Object.hasOwn||function(e,t){return A2(E2(e),t)},I2=to,L2=0,V2=Math.random(),M2=I2(1 .toString),B2=function(i){return"Symbol("+(i===void 0?"":i)+")_"+M2(++L2+V2,36)},R2=eo,N2=C2,_s=Ml,O2=B2,D2=Sc,z2=Tc,So=R2.Symbol,Jl=N2("wks"),F2=z2?So.for||So:So&&So.withoutSetter||O2,Qo=function(i){return _s(Jl,i)||(Jl[i]=D2&&_s(So,i)?So[i]:F2("Symbol."+i)),Jl[i]},H2=Go,ws=Yo,ys=Pc,U2=Ac,q2=v2,j2=Qo,W2=TypeError,Z2=j2("toPrimitive"),K2=function(i,e){if(!ws(i)||ys(i))return i;var t=U2(i,Z2),n;if(t){if(e===void 0&&(e="default"),n=H2(t,i,e),!ws(n)||ys(n))return n;throw W2("Can't convert object to primitive value")}return e===void 0&&(e="number"),q2(i,e)},G2=K2,Y2=Pc,Vc=function(i){var e=G2(i,"string");return Y2(e)?e:e+""},Q2=eo,ks=Yo,br=Q2.document,X2=ks(br)&&ks(br.createElement),J2=function(i){return X2?br.createElement(i):{}},x2=Ko,$2=ao,em=J2,Mc=!x2&&!$2(function(){return Object.defineProperty(em("div"),"a",{get:function(){return 7}}).a!=7}),tm=Ko,im=Go,nm=hc,om=bc,lm=Gd,rm=Vc,sm=Ml,am=Mc,Cs=Object.getOwnPropertyDescriptor;pc.f=tm?Cs:function(e,t){if(e=lm(e),t=rm(t),am)try{return Cs(e,t)}catch(n){}if(sm(e,t))return om(!im(nm.f,e,t),e[t])};var um=ao,cm=jn,fm=/#|\.prototype\./,Xo=function(i,e){var t=mm[dm(i)];return t==hm?!0:t==pm?!1:cm(e)?um(e):!!e},dm=Xo.normalize=function(i){return String(i).replace(fm,".").toLowerCase()},mm=Xo.data={},pm=Xo.NATIVE="N",hm=Xo.POLYFILL="P",vm=Xo,Ss=fc,gm=Ec,bm=Ll,_m=Ss(Ss.bind),wm=function(i,e){return gm(i),e===void 0?i:bm?_m(i,e):function(){return i.apply(e,arguments)}},Bc={},ym=Ko,km=ao,Cm=ym&&km(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Sm=Yo,Tm=String,Pm=TypeError,Rc=function(i){if(Sm(i))return i;throw Pm(Tm(i)+" is not an object")},Em=Ko,Am=Mc,Im=Cm,ul=Rc,Ts=Vc,Lm=TypeError,xl=Object.defineProperty,Vm=Object.getOwnPropertyDescriptor,$l="enumerable",er="configurable",tr="writable";Bc.f=Em?Im?function(e,t,n){if(ul(e),t=Ts(t),ul(n),typeof e=="function"&&t==="prototype"&&"value"in n&&tr in n&&!n[tr]){var l=Vm(e,t);l&&l[tr]&&(e[t]=n.value,n={configurable:er in n?n[er]:l[er],enumerable:$l in n?n[$l]:l[$l],writable:!1})}return xl(e,t,n)}:xl:function(e,t,n){if(ul(e),t=Ts(t),ul(n),Am)try{return xl(e,t,n)}catch(l){}if("get"in n||"set"in n)throw Lm("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Mm=Ko,Bm=Bc,Rm=bc,Nm=Mm?function(i,e,t){return Bm.f(i,e,Rm(1,t))}:function(i,e,t){return i[e]=t,i},cl=eo,Om=Ed,Dm=fc,zm=jn,Fm=pc.f,Hm=vm,go=wc,Um=wm,bo=Nm,Ps=Ml,qm=function(i){var e=function(t,n,l){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,l)}return Om(i,this,arguments)};return e.prototype=i.prototype,e},jm=function(i,e){var t=i.target,n=i.global,l=i.stat,r=i.proto,o=n?cl:l?cl[t]:(cl[t]||{}).prototype,s=n?go:go[t]||bo(go,t,{})[t],a=s.prototype,c,f,m,h,_,v,w,b,C;for(h in e)c=Hm(n?h:t+(l?".":"#")+h,i.forced),f=!c&&o&&Ps(o,h),v=s[h],f&&(i.dontCallGetSet?(C=Fm(o,h),w=C&&C.value):w=o[h]),_=f&&w?w:e[h],!(f&&typeof v==typeof _)&&(i.bind&&f?b=Um(_,cl):i.wrap&&f?b=qm(_):r&&zm(_)?b=Dm(_):b=_,(i.sham||_&&_.sham||v&&v.sham)&&bo(b,"sham",!0),bo(s,h,b),r&&(m=t+"Prototype",Ps(go,m)||bo(go,m,{}),bo(go[m],h,_),i.real&&a&&(c||!a[h])&&bo(a,h,_)))},Wm=Yo,Zm=Vl,Km=Qo,Gm=Km("match"),Ym=function(i){var e;return Wm(i)&&((e=i[Gm])!==void 0?!!e:Zm(i)=="RegExp")},Qm=Qo,Xm=Qm("toStringTag"),Nc={};Nc[Xm]="z";var Jm=String(Nc)==="[object z]",xm=Jm,$m=jn,yl=Vl,e4=Qo,t4=e4("toStringTag"),i4=Object,n4=yl(function(){return arguments}())=="Arguments",o4=function(i,e){try{return i[e]}catch(t){}},l4=xm?yl:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=o4(e=i4(i),t4))=="string"?t:n4?yl(e):(n=yl(e))=="Object"&&$m(e.callee)?"Arguments":n},r4=l4,s4=String,a4=function(i){if(r4(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return s4(i)},u4=Rc,c4=function(){var i=u4(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},f4=Go,d4=Ml,m4=kc,p4=c4,Es=RegExp.prototype,h4=function(i){var e=i.flags;return e===void 0&&!("flags"in Es)&&!d4(i,"flags")&&m4(Es,i)?f4(p4,i):e},Lr=to,v4=Lc,g4=Math.floor,ir=Lr("".charAt),b4=Lr("".replace),nr=Lr("".slice),_4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,w4=/\$([$&'`]|\d{1,2})/g,y4=function(i,e,t,n,l,r){var o=t+i.length,s=n.length,a=w4;return l!==void 0&&(l=v4(l),a=_4),b4(r,a,function(c,f){var m;switch(ir(f,0)){case"$":return"$";case"&":return i;case"`":return nr(e,0,t);case"'":return nr(e,o);case"<":m=l[nr(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var _=g4(h/10);return _===0?c:_<=s?n[_-1]===void 0?ir(f,1):n[_-1]+ir(f,1):c}m=n[h-1]}return m===void 0?"":m})},k4=jm,C4=Go,Vr=to,As=Ir,S4=jn,T4=Ar,P4=Ym,_o=a4,E4=Ac,A4=h4,I4=y4,L4=Qo,V4=L4("replace"),M4=TypeError,Oc=Vr("".indexOf),B4=Vr("".replace),Is=Vr("".slice),R4=Math.max,Ls=function(i,e,t){return t>i.length?-1:e===""?t:Oc(i,e,t)};k4({target:"String",proto:!0},{replaceAll:function(e,t){var n=As(this),l,r,o,s,a,c,f,m,h,_=0,v=0,w="";if(!T4(e)){if(l=P4(e),l&&(r=_o(As(A4(e))),!~Oc(r,"g")))throw M4("`.replaceAll` does not allow non-global regexes");if(o=E4(e,V4),o)return C4(o,e,n,t);if(l)return B4(_o(n),e,t)}for(s=_o(n),a=_o(e),c=S4(t),c||(t=_o(t)),f=a.length,m=R4(1,f),_=Ls(s,a,0);_!==-1;)h=c?_o(t(a,_,s)):I4(a,s,_,[],void 0,t),w+=Is(s,v,_)+h,v=_+f,_=Ls(s,a,_+m);return v<s.length&&(w+=Is(s,v)),w}});var N4=yc,O4=N4,D4=O4,z4=D4("String","replaceAll"),F4=z4,H4=F4,U4=H4,q4=U4,j4=Sd(q4);const W4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},Z4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},On=new Map;On.set(qo.EN,Z4);On.set(qo.RU,W4);const Dc=new Map,Vs=({language:i,pack:e,fallback:t})=>{if(On.has(i)){const n=On.get(i);On.set(i,{...n,...e})}else On.set(i,e);Dc.set(i,t)},Ms=i=>On.has(i),zc=(i,e,t,n)=>{var l;const r=On.get(i);let o=r==null?void 0:r[e];if(kl(o)){const s=(l=Dc.get(i))!==null&&l!==void 0?l:n,a=s?On.get(s):void 0;o=a==null?void 0:a[e]}return kl(o)?e+Object.values(t!=null?t:{}).join(" "):t?j4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):o},G=(i,e)=>{const{interfaceLanguage$:t}=Ct(),n=tt(t),l=gn();return zc(n,i,e,l.defaultLanguage)};var Sl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Sl||(Sl={}));const K4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,G4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Y4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fl="?",Q4="X-Sentry-Auth",X4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function J4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
|
|
13
|
-
`);let n,l;for(let r=0;r<
|
|
14
|
-
`).filter(t=>!!t)[0]}function x4(i){try{const e=J4(i);if(e)return e}catch(e){}return{value:Fc(i),type:i&&i.name,stacktrace:{frames:[]}}}function $4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class e3{constructor(e){if(e&&e.dsn){const t=X4.exec(e.dsn),n=t?t.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[x4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(Q4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:$4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Bs(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function t3(){return window}class Mr extends e3{constructor(e,t=t3()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Mr({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>Bs(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Bs(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return{...t,[n]:r||s?[...r||[],...s||[]]:{...typeof l!="string"?l:{},...typeof o!="string"?o:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let dl=null;class _r{constructor(e,t,n={}){!dl&&e.dsn&&(this.sentryClient=new Mr({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new $n,this.options=e,this.context=n,dl=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),dl=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=o,{errorType:h,category:_}=t;if(Sn(_)&&m.includes(_)||Sn(h)&&f.includes(h))return;if(Math.random()<=s||Sn(_)&&c.includes(_)||Sn(h)&&a.includes(h)){Object.keys(t).length&&l.setTags({version:this.version,...t}),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras({...r,...n});try{h&&l.captureMessage(h,t.fatal?Sl.fatal:Sl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return dl}}var Po;(function(i){i.AUTO="auto"})(Po||(Po={}));var Oe;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Oe||(Oe={}));var Nn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Nn||(Nn={}));var ti;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(ti||(ti={}));var Dn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Dn||(Dn={}));var Ye;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ye||(Ye={}));var ro;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(ro||(ro={}));const Hc=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Uc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),i3=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Uo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},qc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},jc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},n3=i=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(i))},o3=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:ts()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:ts()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class Br{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:E0(this.onResize.bind(this),W1)},this.info={isActive$:new yr(this.isActive()),type:Dn.PictureInPicture}}isSupported(){const e=kr().browser===N1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(t){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function Tl(i){return i instanceof Br}function l3(i){const e=Ct();return vn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class r3 extends _e{constructor(e){super(),be(this,e,l3,null,ge,{})}}function s3(i){Ze(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function a3(i){let e=G("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=De(e)},m(n,l){P(n,t,l)},p(n,l){l&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&et(t,e)},d(n){n&&T(t)}}}function u3(i){let e,t=G("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=E("div"),n=De(t),l=N(),r=B("svg"),o=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){P(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=he(e,"click",st(function(){Tn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&T(e),s=!1,a()}}}function c3(i){let e;function t(r,o){return r[3]?u3:a3}let n=t(i),l=n(i);return{c(){e=E("div"),l.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",i[4]),M(e,"skippable",i[3])},m(r,o){P(r,e,o),l.m(e,null)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&M(e,"container-mobile",r[4]),o&8&&M(e,"skippable",r[3])},i:K,o:K,d(r){r&&T(e),l.d()}}}function f3(i,e,t){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=Xe}=e;const a=Ct().ui.isMobile;O(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,l=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,o=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class d3 extends _e{constructor(e){super(),be(this,e,f3,c3,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},s3)}}function m3(i){Ze(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function p3(i){let e;return{c(){e=E("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){P(t,e,n)},p:K,i:K,o:K,d(t){t&&T(e)}}}class h3 extends _e{constructor(e){super(),be(this,e,null,p3,ge,{},m3)}}function v3(i){Ze(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
6
|
+
var h0=Object.defineProperty;var v0=(t,e,i)=>e in t?h0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var zl=(t,e,i)=>(v0(t,typeof e!="symbol"?e+"":e,i),i);import{VERSION as g0,ChromecastState as zn,PlaybackState as Xt,VideoQuality as Po,Player as b0,VideoFormat as Do}from"@vkontakte/videoplayer-core/es2018.esm.js";import{VideoFormat as Q6,VideoQuality as X6}from"@vkontakte/videoplayer-core/es2018.esm.js";import{InterfaceLanguage as jo,VideoQuality as kl,fillWithDefault as _0,VERSION as w0,assertNonNullable as vt,safeStorage as Vn,isNullable as Pl,Subscription as io,isNonNullable as Ln,isMacLike as Xr,debounceFn as k0,ValueSubject as br,getCurrentBrowser as _r,CurrentClientBrowser as I1,noop as Ye,checkNever as y0,timeCodeToString as C0,Subject as Pn,addScript as T0,Logger as A1,merge as P0,Observable as S0,map as E0,loadVKLangPack as I0,isIOS as wr,getHighestQuality as A0,throttleFn as Al,CurrentClientDevice as L0,getIOSVersion as M0,detectEmbed as V0,observeElementSize as B0,isMobile as R0,cloneDeepWith as N0}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{InterfaceLanguage as x6,VKNumericLanguage as $6,loadVKLangPack as e8}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{VERSION as O0,SeekAction as Zt,OneStat as D0,InteractiveInterfaceClick as zo}from"@vkontakte/videoplayer-statistics/es2018.esm.js";import"@vkontakte/videoplayer-interactive/es2018.esm.js";function K(){}function L1(t,e){for(const i in e)t[i]=e[i];return t}function M1(t){return t()}function Jr(){return Object.create(null)}function nt(t){t.forEach(M1)}function Mn(t){return typeof t=="function"}function ge(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let al;function xr(t,e){return al||(al=document.createElement("a")),al.href=e,t===al.href}function z0(t){return Object.keys(t).length===0}function ii(t,...e){if(t==null){for(const n of e)n(void 0);return K}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function et(t){let e;return ii(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(ii(e,i))}function Wn(t,e,i,n){if(t){const l=V1(t,e,i,n);return t[0](l)}}function V1(t,e,i,n){return t[1]&&n?L1(i.ctx.slice(),t[1](n(e))):i.ctx}function Zn(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Kn(t,e,i,n,l,r){if(l){const o=V1(e,i,n,r);t.p(o,l)}}function Gn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function F0(t){return t==null?"":t}const B1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(t,e){t.appendChild(e)}function Ze(t,e,i){const n=H0(t);if(!n.getElementById(e)){const l=E("style");l.id=e,l.textContent=i,U0(n,l)}}function H0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function U0(t,e){return p(t.head||t,e),e.sheet}function P(t,e,i){t.insertBefore(e,i||null)}function T(t){t.parentNode&&t.parentNode.removeChild(t)}function Bn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function E(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Fe(t){return document.createTextNode(t)}function N(){return Fe(" ")}function pt(){return Fe("")}function he(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function oi(t){return function(e){return e.preventDefault(),t.call(this,e)}}function ot(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function q0(t){return Array.from(t.childNodes)}function tt(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ut(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let ul;function j0(){if(ul===void 0){ul=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){ul=!0}}return ul}function kr(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=E("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=j0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=he(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=he(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(l||r&&n.contentWindow)&&r(),T(n)}}function V(t,e,i){t.classList.toggle(e,!!i)}function Fn(t,e){return new t(e)}let Uo;function Ho(t){Uo=t}function Wo(){if(!Uo)throw new Error("Function called outside component initialization");return Uo}function pn(t){Wo().$$.on_mount.push(t)}function Zo(t){Wo().$$.on_destroy.push(t)}function ur(t,e){return Wo().$$.context.set(t,e),e}function yr(t){return Wo().$$.context.get(t)}function R1(){return Wo().$$.context}function uo(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const So=[],Ce=[];let Ao=[];const cr=[],N1=Promise.resolve();let fr=!1;function O1(){fr||(fr=!0,N1.then(D1))}function Ko(){return O1(),N1}function Mo(t){Ao.push(t)}function Ue(t){cr.push(t)}const Fl=new Set;let _o=0;function D1(){if(_o!==0)return;const t=Uo;do{try{for(;_o<So.length;){const e=So[_o];_o++,Ho(e),W0(e.$$)}}catch(e){throw So.length=0,_o=0,e}for(Ho(null),So.length=0,_o=0;Ce.length;)Ce.pop()();for(let e=0;e<Ao.length;e+=1){const i=Ao[e];Fl.has(i)||(Fl.add(i),i())}Ao.length=0}while(So.length);for(;cr.length;)cr.pop()();fr=!1,Fl.clear(),Ho(t)}function W0(t){if(t.fragment!==null){t.update(),nt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(Mo)}}function Z0(t){const e=[],i=[];Ao.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),Ao=e}const yl=new Set;let so;function fe(){so={r:0,c:[],p:so}}function de(){so.r||nt(so.c),so=so.p}function m(t,e){t&&t.i&&(yl.delete(t),t.i(e))}function v(t,e,i,n){if(t&&t.o){if(yl.has(t))return;yl.add(t),so.c.push(()=>{yl.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Jt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function K0(t,e){const i={},n={},l={$$scope:1};let r=t.length;for(;r--;){const o=t[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(i[a]=s[a],l[a]=1);t[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in i||(i[o]=void 0);return i}function G0(t){return typeof t=="object"&&t!==null?t:{}}function qe(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:l}=t.$$;n&&n.m(e,i),Mo(()=>{const r=t.$$.on_mount.map(M1).filter(Mn);t.$$.on_destroy?t.$$.on_destroy.push(...r):nt(r),t.$$.on_mount=[]}),l.forEach(Mo)}function H(t,e){const i=t.$$;i.fragment!==null&&(Z0(i.after_update),nt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Y0(t,e){t.$$.dirty[0]===-1&&(So.push(t),O1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function _e(t,e,i,n,l,r,o,s=[-1]){const a=Uo;Ho(t);const c=t.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:Jr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Jr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(d,h,..._)=>{const g=_.length?_[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=g)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](g),f&&Y0(t,d)),h}):[],c.update(),f=!0,nt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=q0(e.target);c.fragment&&c.fragment.l(d),d.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&m(t.$$.fragment),F(t,e.target,e.anchor),D1()}Ho(a)}class we{constructor(){zl(this,"$$");zl(this,"$$set")}$destroy(){H(this,1),this.$destroy=K}$on(e,i){if(!Mn(i))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!z0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Q0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Q0);var Vo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(Vo||(Vo={}));const X0={isMobile:void 0,defaultLanguage:jo.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Vo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:kl.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},J0=t=>_0(t,X0),x0=t=>ur("ui-config",t),bn=()=>yr("ui-config"),dr="vk_player_debug_panel_opened",z1=300,$0=100,ed="videoplayer",td="videoplayer";var Se;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Se||(Se={}));const Go={[Se.KeyF]:"f",[Se.KeyK]:"k",[Se.KeyC]:"c",[Se.KeyM]:"m"},id=new Set([Se.ArrowLeft,Se.ArrowRight,Se.KeyL,Se.KeyJ]),nd=new Set([Se.Tab,Se.Space,Se.ArrowLeft,Se.ArrowRight,Se.ArrowUp,Se.ArrowDown]),od=new Set([Se.ShiftRight,Se.ShiftLeft]);var ft;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(ft||(ft={}));const $r=40,F1=260,ld=60,cl=8,H1=[ft.TIMELINE],Cl=[...H1,ft.GRAPH_BUTTON],es=[...H1,ft.PLAY_BUTTON],U1=[...Cl,ft.PLAY_BUTTON];var Eo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(Eo||(Eo={}));var Bt;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(Bt||(Bt={}));const Bo={[Bt.XS]:0,[Bt.S]:1,[Bt.M]:2,[Bt.L]:3,[Bt.XL]:4},wo=[];function Dn(t,e){return{subscribe:Me(t,e).subscribe}}function Me(t,e=K){let i;const n=new Set;function l(s){if(ge(t,s)&&(t=s,i)){const a=!wo.length;for(const c of n)c[1](),wo.push(c,t);if(a){for(let c=0;c<wo.length;c+=2)wo[c][0](wo[c+1]);wo.length=0}}}function r(s){l(s(t))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(i=e(l,r)||K),s(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:l,update:r,subscribe:o}}function Zi(t,e,i){const n=!Array.isArray(t),l=n?[t]:t;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Dn(i,(o,s)=>{let a=!1;const c=[];let f=0,d=K;const h=()=>{if(f)return;d();const g=e(n?c[0]:c,o,s);r?o(g):d=Mn(g)?g:K},_=l.map((g,w)=>ii(g,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){nt(_),d(),a=!1}})}const rd="prod",Cr="1.1.36-dev.3e8d23ea.0",q1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},j1=Symbol("storeContext"),W1=Symbol("microStoresContext"),sd=(t,e)=>{ur(j1,t),ur(W1,e)},Ct=()=>{const t=yr(j1);return vt(t,"Store context is empty!"),t},Yo=()=>{const t=yr(W1);return vt(t,"MicroStores context is empty!"),t},yt=(t,e)=>Z1(t,t.getValue(),e),Z1=(t,e,i)=>Dn(e,n=>{const l=t.subscribe(r=>{n(r),i==null||i(r)});return()=>l.unsubscribe()}),ad=(t,e,i)=>{var n,l,r,o;const s=t.info,{width:a,height:c}=et(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${Cr} (core: ${g0}, stat: ${O0}, shared: ${w0})`,g=et(i.state.errorLog$),w=g.length?`
|
|
7
|
+
`+g.map((k,y)=>{var M;const Q=`${y}) Type: ${k.id}
|
|
8
|
+
`,A=`Message: ${k.message} (${k.thrown})
|
|
9
|
+
`,z=`Trace: ${(M=k.thrown)===null||M===void 0?void 0:M.stack}
|
|
10
|
+
`;return Q+A+z}).join(`
|
|
11
|
+
`):void 0,b=i.state.isAudioDisabled?"disabled":et(i.state.isAudioAvailable$)?void 0:"unavailable",C={Version:_,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:b,Position:`${et(i.state.positionExact$)}s`,State:`${et(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(C).filter(([k,y])=>y!==void 0).map(([k,y])=>`${k}: ${y}`).join(`
|
|
12
|
+
`)},ud=(t,e,i)=>{const n=t.info,{width:l,height:r}=et(i.ui.playerSize),o={version:Cr,viewport:`${l}x${r}`,volume:Math.round(et(i.state.volume$)*100)};o.id=i.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-et(i.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},cd=(t,e)=>q1(t,e,"mp4"),K1="vk_player_prefer_traffic_saving_enabled",G1="vk_player_preferred_volume",Y1="vk_player_prefer_volume_mute",Tr="vk_player_preferred_quality",Q1=t=>t>1?1:t<0?0:t,ts=t=>Vn.set(G1,Q1(t).toString(10)),X1=()=>{const t=Vn.get(G1);return Pl(t)?void 0:Q1(parseFloat(t))},fd=(t,e)=>Vn.set(Tr,JSON.stringify({videoId:t,value:e})),J1=()=>Vn.remove(Tr),dd=t=>{const e=Vn.get(Tr);if(Pl(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){J1();return}return n},x1=(t,e)=>{e?Vn.set(t,"true"):Vn.remove(t)},$1=t=>Vn.get(t)==="true",Hl=t=>x1(Y1,t),md=()=>$1(Y1),pd=t=>x1(K1,t),hd=()=>$1(K1);function vd(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("path"),o=R("path"),s=R("path"),a=R("defs"),c=R("filter"),f=R("feFlood"),d=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),g=R("feColorMatrix"),w=R("feBlend"),b=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_618_12297"),u(b,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(y,M){P(y,e,M),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},p(y,[M]){M&1&&C!==(C=!y[0]||null)&&u(e,"aria-hidden",C),M&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:K,o:K,d(y){y&&T(e)}}}function gd(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=l=>{"ariaLabel"in l&&i(0,n=l.ariaLabel)},[n]}class ec extends we{constructor(e){super(),_e(this,e,gd,vd,ge,{ariaLabel:0})}}var Ul=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var fl=function(t){return t&&t.Math==Math&&t},no=fl(typeof globalThis=="object"&&globalThis)||fl(typeof window=="object"&&window)||fl(typeof self=="object"&&self)||fl(typeof Ul=="object"&&Ul)||function(){return this}()||Ul||Function("return this")(),fo=function(t){try{return!!t()}catch(e){return!0}},_d=fo,Ll=!_d(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),wd=Ll,tc=Function.prototype,is=tc.apply,ns=tc.call,kd=typeof Reflect=="object"&&Reflect.apply||(wd?ns.bind(is):function(){return ns.apply(is,arguments)}),ic=Ll,nc=Function.prototype,mr=nc.call,yd=ic&&nc.bind.bind(mr,mr),oo=ic?yd:function(t){return function(){return mr.apply(t,arguments)}},oc=oo,Cd=oc({}.toString),Td=oc("".slice),Ml=function(t){return Td(Cd(t),8,-1)},Pd=Ml,Sd=oo,lc=function(t){if(Pd(t)==="Function")return Sd(t)},pr=typeof document=="object"&&document.all,Ed=typeof pr=="undefined"&&pr!==void 0,rc={all:pr,IS_HTMLDDA:Ed},sc=rc,Id=sc.all,Yn=sc.IS_HTMLDDA?function(t){return typeof t=="function"||t===Id}:function(t){return typeof t=="function"},ac={},Ad=fo,Qo=!Ad(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Ld=Ll,dl=Function.prototype.call,Xo=Ld?dl.bind(dl):function(){return dl.apply(dl,arguments)},uc={},cc={}.propertyIsEnumerable,fc=Object.getOwnPropertyDescriptor,Md=fc&&!cc.call({1:2},1);uc.f=Md?function(e){var i=fc(this,e);return!!i&&i.enumerable}:cc;var dc=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},Vd=oo,Bd=fo,Rd=Ml,ql=Object,Nd=Vd("".split),Od=Bd(function(){return!ql("z").propertyIsEnumerable(0)})?function(t){return Rd(t)=="String"?Nd(t,""):ql(t)}:ql,Pr=function(t){return t==null},Dd=Pr,zd=TypeError,Sr=function(t){if(Dd(t))throw zd("Can't call method on "+t);return t},Fd=Od,Hd=Sr,Ud=function(t){return Fd(Hd(t))},os=Yn,mc=rc,qd=mc.all,Jo=mc.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:os(t)||t===qd}:function(t){return typeof t=="object"?t!==null:os(t)},pc={},jl=pc,Wl=no,jd=Yn,ls=function(t){return jd(t)?t:void 0},hc=function(t,e){return arguments.length<2?ls(jl[t])||ls(Wl[t]):jl[t]&&jl[t][e]||Wl[t]&&Wl[t][e]},Wd=oo,vc=Wd({}.isPrototypeOf),Zd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",gc=no,Zl=Zd,rs=gc.process,ss=gc.Deno,as=rs&&rs.versions||ss&&ss.version,us=as&&as.v8,An,Sl;us&&(An=us.split("."),Sl=An[0]>0&&An[0]<4?1:+(An[0]+An[1]));!Sl&&Zl&&(An=Zl.match(/Edge\/(\d+)/),(!An||An[1]>=74)&&(An=Zl.match(/Chrome\/(\d+)/),An&&(Sl=+An[1])));var Kd=Sl,cs=Kd,Gd=fo,Yd=no,Qd=Yd.String,bc=!!Object.getOwnPropertySymbols&&!Gd(function(){var t=Symbol();return!Qd(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&cs&&cs<41}),Xd=bc,_c=Xd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Jd=hc,xd=Yn,$d=vc,e2=_c,t2=Object,wc=e2?function(t){return typeof t=="symbol"}:function(t){var e=Jd("Symbol");return xd(e)&&$d(e.prototype,t2(t))},i2=String,n2=function(t){try{return i2(t)}catch(e){return"Object"}},o2=Yn,l2=n2,r2=TypeError,kc=function(t){if(o2(t))return t;throw r2(l2(t)+" is not a function")},s2=kc,a2=Pr,yc=function(t,e){var i=t[e];return a2(i)?void 0:s2(i)},Kl=Xo,Gl=Yn,Yl=Jo,u2=TypeError,c2=function(t,e){var i,n;if(e==="string"&&Gl(i=t.toString)&&!Yl(n=Kl(i,t))||Gl(i=t.valueOf)&&!Yl(n=Kl(i,t))||e!=="string"&&Gl(i=t.toString)&&!Yl(n=Kl(i,t)))return n;throw u2("Can't convert object to primitive value")},Cc={exports:{}},fs=no,f2=Object.defineProperty,d2=function(t,e){try{f2(fs,t,{value:e,configurable:!0,writable:!0})}catch(i){fs[t]=e}return e},m2=no,p2=d2,ds="__core-js_shared__",h2=m2[ds]||p2(ds,{}),v2=h2,ms=v2;(Cc.exports=function(t,e){return ms[t]||(ms[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var g2=Cc.exports,b2=Sr,_2=Object,Tc=function(t){return _2(b2(t))},w2=oo,k2=Tc,y2=w2({}.hasOwnProperty),Vl=Object.hasOwn||function(e,i){return y2(k2(e),i)},C2=oo,T2=0,P2=Math.random(),S2=C2(1 .toString),E2=function(t){return"Symbol("+(t===void 0?"":t)+")_"+S2(++T2+P2,36)},I2=no,A2=g2,ps=Vl,L2=E2,M2=bc,V2=_c,Io=I2.Symbol,Ql=A2("wks"),B2=V2?Io.for||Io:Io&&Io.withoutSetter||L2,xo=function(t){return ps(Ql,t)||(Ql[t]=M2&&ps(Io,t)?Io[t]:B2("Symbol."+t)),Ql[t]},R2=Xo,hs=Jo,vs=wc,N2=yc,O2=c2,D2=xo,z2=TypeError,F2=D2("toPrimitive"),H2=function(t,e){if(!hs(t)||vs(t))return t;var i=N2(t,F2),n;if(i){if(e===void 0&&(e="default"),n=R2(i,t,e),!hs(n)||vs(n))return n;throw z2("Can't convert object to primitive value")}return e===void 0&&(e="number"),O2(t,e)},U2=H2,q2=wc,Pc=function(t){var e=U2(t,"string");return q2(e)?e:e+""},j2=no,gs=Jo,hr=j2.document,W2=gs(hr)&&gs(hr.createElement),Z2=function(t){return W2?hr.createElement(t):{}},K2=Qo,G2=fo,Y2=Z2,Sc=!K2&&!G2(function(){return Object.defineProperty(Y2("div"),"a",{get:function(){return 7}}).a!=7}),Q2=Qo,X2=Xo,J2=uc,x2=dc,$2=Ud,em=Pc,tm=Vl,im=Sc,bs=Object.getOwnPropertyDescriptor;ac.f=Q2?bs:function(e,i){if(e=$2(e),i=em(i),im)try{return bs(e,i)}catch(n){}if(tm(e,i))return x2(!X2(J2.f,e,i),e[i])};var nm=fo,om=Yn,lm=/#|\.prototype\./,$o=function(t,e){var i=sm[rm(t)];return i==um?!0:i==am?!1:om(e)?nm(e):!!e},rm=$o.normalize=function(t){return String(t).replace(lm,".").toLowerCase()},sm=$o.data={},am=$o.NATIVE="N",um=$o.POLYFILL="P",cm=$o,_s=lc,fm=kc,dm=Ll,mm=_s(_s.bind),pm=function(t,e){return fm(t),e===void 0?t:dm?mm(t,e):function(){return t.apply(e,arguments)}},Ec={},hm=Qo,vm=fo,gm=hm&&vm(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),bm=Jo,_m=String,wm=TypeError,Ic=function(t){if(bm(t))return t;throw wm(_m(t)+" is not an object")},km=Qo,ym=Sc,Cm=gm,ml=Ic,ws=Pc,Tm=TypeError,Xl=Object.defineProperty,Pm=Object.getOwnPropertyDescriptor,Jl="enumerable",xl="configurable",$l="writable";Ec.f=km?Cm?function(e,i,n){if(ml(e),i=ws(i),ml(n),typeof e=="function"&&i==="prototype"&&"value"in n&&$l in n&&!n[$l]){var l=Pm(e,i);l&&l[$l]&&(e[i]=n.value,n={configurable:xl in n?n[xl]:l[xl],enumerable:Jl in n?n[Jl]:l[Jl],writable:!1})}return Xl(e,i,n)}:Xl:function(e,i,n){if(ml(e),i=ws(i),ml(n),ym)try{return Xl(e,i,n)}catch(l){}if("get"in n||"set"in n)throw Tm("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var Sm=Qo,Em=Ec,Im=dc,Am=Sm?function(t,e,i){return Em.f(t,e,Im(1,i))}:function(t,e,i){return t[e]=i,t},pl=no,Lm=kd,Mm=lc,Vm=Yn,Bm=ac.f,Rm=cm,ko=pc,Nm=pm,yo=Am,ks=Vl,Om=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return Lm(t,this,arguments)};return e.prototype=t.prototype,e},Dm=function(t,e){var i=t.target,n=t.global,l=t.stat,r=t.proto,o=n?pl:l?pl[i]:(pl[i]||{}).prototype,s=n?ko:ko[i]||yo(ko,i,{})[i],a=s.prototype,c,f,d,h,_,g,w,b,C;for(h in e)c=Rm(n?h:i+(l?".":"#")+h,t.forced),f=!c&&o&&ks(o,h),g=s[h],f&&(t.dontCallGetSet?(C=Bm(o,h),w=C&&C.value):w=o[h]),_=f&&w?w:e[h],!(f&&typeof g==typeof _)&&(t.bind&&f?b=Nm(_,pl):t.wrap&&f?b=Om(_):r&&Vm(_)?b=Mm(_):b=_,(t.sham||_&&_.sham||g&&g.sham)&&yo(b,"sham",!0),yo(s,h,b),r&&(d=i+"Prototype",ks(ko,d)||yo(ko,d,{}),yo(ko[d],h,_),t.real&&a&&(c||!a[h])&&yo(a,h,_)))},zm=Jo,Fm=Ml,Hm=xo,Um=Hm("match"),qm=function(t){var e;return zm(t)&&((e=t[Um])!==void 0?!!e:Fm(t)=="RegExp")},jm=xo,Wm=jm("toStringTag"),Ac={};Ac[Wm]="z";var Zm=String(Ac)==="[object z]",Km=Zm,Gm=Yn,Tl=Ml,Ym=xo,Qm=Ym("toStringTag"),Xm=Object,Jm=Tl(function(){return arguments}())=="Arguments",xm=function(t,e){try{return t[e]}catch(i){}},$m=Km?Tl:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=xm(e=Xm(t),Qm))=="string"?i:Jm?Tl(e):(n=Tl(e))=="Object"&&Gm(e.callee)?"Arguments":n},e4=$m,t4=String,i4=function(t){if(e4(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return t4(t)},n4=Ic,o4=function(){var t=n4(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},l4=Xo,r4=Vl,s4=vc,a4=o4,ys=RegExp.prototype,u4=function(t){var e=t.flags;return e===void 0&&!("flags"in ys)&&!r4(t,"flags")&&s4(ys,t)?l4(a4,t):e},Er=oo,c4=Tc,f4=Math.floor,er=Er("".charAt),d4=Er("".replace),tr=Er("".slice),m4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,p4=/\$([$&'`]|\d{1,2})/g,h4=function(t,e,i,n,l,r){var o=i+t.length,s=n.length,a=p4;return l!==void 0&&(l=c4(l),a=m4),d4(r,a,function(c,f){var d;switch(er(f,0)){case"$":return"$";case"&":return t;case"`":return tr(e,0,i);case"'":return tr(e,o);case"<":d=l[tr(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var _=f4(h/10);return _===0?c:_<=s?n[_-1]===void 0?er(f,1):n[_-1]+er(f,1):c}d=n[h-1]}return d===void 0?"":d})},v4=Dm,g4=Xo,Ir=oo,Cs=Sr,b4=Yn,_4=Pr,w4=qm,Co=i4,k4=yc,y4=u4,C4=h4,T4=xo,P4=T4("replace"),S4=TypeError,Lc=Ir("".indexOf),E4=Ir("".replace),Ts=Ir("".slice),I4=Math.max,Ps=function(t,e,i){return i>t.length?-1:e===""?i:Lc(t,e,i)};v4({target:"String",proto:!0},{replaceAll:function(e,i){var n=Cs(this),l,r,o,s,a,c,f,d,h,_=0,g=0,w="";if(!_4(e)){if(l=w4(e),l&&(r=Co(Cs(y4(e))),!~Lc(r,"g")))throw S4("`.replaceAll` does not allow non-global regexes");if(o=k4(e,P4),o)return g4(o,e,n,i);if(l)return E4(Co(n),e,i)}for(s=Co(n),a=Co(e),c=b4(i),c||(i=Co(i)),f=a.length,d=I4(1,f),_=Ps(s,a,0);_!==-1;)h=c?Co(i(a,_,s)):C4(a,s,_,[],void 0,i),w+=Ts(s,g,_)+h,g=_+f,_=Ps(s,a,_+d);return g<s.length&&(w+=Ts(s,g)),w}});var A4=hc,L4=A4,M4=L4,V4=M4("String","replaceAll"),B4=V4,R4=B4,N4=R4,O4=N4,D4=bd(O4);const z4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_interactive_interaction_time_indicator:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},F4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_interactive_interaction_time_indicator:"Press the interactive element",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},Un=new Map;Un.set(jo.EN,F4);Un.set(jo.RU,z4);const Mc=new Map,Ss=({language:t,pack:e,fallback:i})=>{if(Un.has(t)){const n=Un.get(t);Un.set(t,{...n,...e})}else Un.set(t,e);Mc.set(t,i)},Es=t=>Un.has(t),Vc=(t,e,i,n)=>{var l;const r=Un.get(t);let o=r==null?void 0:r[e];if(Pl(o)){const s=(l=Mc.get(t))!==null&&l!==void 0?l:n,a=s?Un.get(s):void 0;o=a==null?void 0:a[e]}return Pl(o)?e+Object.values(i!=null?i:{}).join(" "):i?D4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=i[a])!==null&&c!==void 0?c:""}):o},G=(t,e)=>{const{interfaceLanguage$:i}=Ct(),n=et(i),l=bn();return Vc(n,t,e,l.defaultLanguage)};var El;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(El||(El={}));const H4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,U4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,q4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,hl="?",j4="X-Sentry-Auth",W4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Z4(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
|
|
13
|
+
`);let n,l;for(let r=0;r<i.length;++r){if(n=H4.exec(i[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||hl,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=q4.exec(i[r]))l={filename:n[2],function:n[1]||hl,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=U4.exec(i[r]))r===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),l={filename:n[3],function:n[1]||hl,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=hl),e.push(l)}return e.length?{value:Bc(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function Bc(t){return(t&&t.message||"No error message").split(`
|
|
14
|
+
`).filter(i=>!!i)[0]}function K4(t){try{const e=Z4(t);if(e)return e}catch(e){}return{value:Bc(t),type:t&&t.name,stacktrace:{frames:[]}}}function G4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Y4{constructor(e){if(e&&e.dsn){const i=W4.exec(e.dsn),n=i?i.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[K4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(j4,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:G4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Is(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Q4(){return window}class Ar extends Y4{constructor(e,i=Q4()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Ar({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>Is(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch(i){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>Is(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(i){return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return{...i,[n]:r||s?[...r||[],...s||[]]:{...typeof l!="string"?l:{},...typeof o!="string"?o:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let vl=null;class vr{constructor(e,i,n={}){!vl&&e.dsn&&(this.sentryClient=new Ar({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new io,this.options=e,this.context=n,vl=this)}destroy(){var e,i;(e=this.sentryClient)===null||e===void 0||e.destroy(),(i=this.sentrySubscription)===null||i===void 0||i.unsubscribe(),vl=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:_}=i;if(Ln(_)&&d.includes(_)||Ln(h)&&f.includes(h))return;if(Math.random()<=s||Ln(_)&&c.includes(_)||Ln(h)&&a.includes(h)){Object.keys(i).length&&l.setTags({version:this.version,...i}),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras({...r,...n});try{h&&l.captureMessage(h,i.fatal?El.fatal:El.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return vl}}var Lo;(function(t){t.AUTO="auto"})(Lo||(Lo={}));var Oe;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Oe||(Oe={}));var Hn;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(Hn||(Hn={}));var ni;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(ni||(ni={}));var qn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(qn||(qn={}));var Qe;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Qe||(Qe={}));var ao;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(ao||(ao={}));const Rc=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Nc=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),X4=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},qo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},Oc=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},Dc=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},J4=t=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},x4=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:Xr()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:Xr()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class Lr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:k0(this.onResize.bind(this),z1)},this.info={isActive$:new br(this.isActive()),type:qn.PictureInPicture}}isSupported(){const e=_r().browser===I1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(i){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var i,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e))}onLeavePictureInPicture(e){var i,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}function Il(t){return t instanceof Lr}function $4(t){const e=Ct();return pn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class e3 extends we{constructor(e){super(),_e(this,e,$4,null,ge,{})}}function t3(t){Ze(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function i3(t){let e=G("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=Fe(e)},m(n,l){P(n,i,l)},p(n,l){l&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&tt(i,e)},d(n){n&&T(i)}}}function n3(t){let e,i=G("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=E("div"),n=Fe(i),l=N(),r=R("svg"),o=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){P(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=he(e,"click",ot(function(){Mn(t[2])&&t[2].apply(this,arguments)})),s=!0)},p(c,f){t=c},d(c){c&&T(e),s=!1,a()}}}function o3(t){let e;function i(r,o){return r[3]?n3:i3}let n=i(t),l=n(t);return{c(){e=E("div"),l.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",t[4]),V(e,"skippable",t[3])},m(r,o){P(r,e,o),l.m(e,null)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&V(e,"container-mobile",r[4]),o&8&&V(e,"skippable",r[3])},i:K,o:K,d(r){r&&T(e),l.d()}}}function l3(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=Ye}=e;const a=Ct().ui.isMobile;D(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,o=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class r3 extends we{constructor(e){super(),_e(this,e,l3,o3,ge,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},t3)}}function s3(t){Ze(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function a3(t){let e;return{c(){e=E("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){P(i,e,n)},p:K,i:K,o:K,d(i){i&&T(e)}}}class u3 extends we{constructor(e){super(),_e(this,e,null,a3,ge,{},s3)}}function c3(t){Ze(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
|
|
15
15
|
360deg,
|
|
16
16
|
rgba(0, 0, 0, 0) 0%,
|
|
17
17
|
rgba(0, 0, 0, 0.05) 12%,
|
|
@@ -21,15 +21,15 @@ var y0=Object.defineProperty;var k0=(i,e,t)=>e in i?y0(i,e,{enumerable:!0,config
|
|
|
21
21
|
rgba(0, 0, 0, 0.5) 77%,
|
|
22
22
|
rgba(0, 0, 0, 0.55) 88%,
|
|
23
23
|
rgba(0, 0, 0, 0.65) 100%
|
|
24
|
-
)}`)}function Rs(i){let e;return{c(){e=E("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){P(t,e,n)},d(t){t&&T(e)}}}function Ns(i){let e,t;return e=new d3({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Os(i){let e,t;return e=new r3({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ds(i){let e,t;return e=new h3({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function g3(i){let e,t,n,l,r,o,s,a=i[0]&&Rs(),c=i[3]&&Ns(i),f=i[7]&&Os(),m=i[4]&&Ds();return{c(){e=E("div"),a&&a.c(),t=N(),n=E("video"),l=N(),c&&c.c(),r=N(),f&&f.c(),o=N(),m&&m.c(),Ht(n,"width","100%"),Ht(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){P(h,e,_),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),m&&m.m(e,null),i[20](e),s=!0},p(h,[_]){h[0]?a||(a=Rs(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=Ns(h),c.c(),d(c,1),c.m(e,r)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[7]?f?_&128&&d(f,1):(f=Os(),f.c(),d(f,1),f.m(e,o)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?m?_&16&&d(m,1):(m=Ds(),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){g(c),g(f),g(m),s=!1},d(h){h&&T(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function b3(i,e,t){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=Ct(),_=h.state.isEnded$;O(i,_,R=>t(7,s=R));const v=h.ui.isMobile;O(i,v,R=>t(0,l=R));let w,b,C=!1;const y=h.ads.playbackState;O(i,y,R=>t(18,n=R));const k=h.ads.canSkip,V=h.ads.position;O(i,V,R=>t(5,r=R));const q=h.ads.secondsToWatchBeforeSkip;O(i,q,R=>t(6,o=R));let L,j;vn(()=>{const R=new AbortController;let ie=()=>{R.abort()};const Z=h.getAdmanWrapper();if(!a){Z.onAdmanLoadingError();return}const{width:I,height:X}=tt(h.ui.playerSize),S=tt(h.ui.isFullscreen),$=tt(h.ui.isAutoplay),D={width:I,height:X,isFullscreen:S,isAutoplay:$,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(Z.initAdman(D),C=!0):Z.loadAdman(R.signal).then(()=>{Z.initAdman(D),C=!0}).catch(()=>{Z.onAdmanLoadingError()}),()=>{!C&&ie()}});function re(R){ke[R?"unshift":"push"](()=>{b=R,t(2,b)})}function le(R){ke[R?"unshift":"push"](()=>{w=R,t(1,w)})}return i.$$set=R=>{"adsSlotId"in R&&t(14,a=R.adsSlotId),"adsParams"in R&&t(15,c=R.adsParams),"adsPreviewParam"in R&&t(16,f=R.adsPreviewParam),"duration"in R&&t(17,m=R.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,L=k&&n!==ti.INACTIVE),i.$$.dirty&262145&&t(4,j=l&&n!==ti.INACTIVE)},[l,w,b,L,j,r,o,s,h,_,v,y,V,q,a,c,f,m,n,re,le]}class Wc extends _e{constructor(e){super(),be(this,e,b3,g3,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},v3)}}const zn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function _3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){P(l,e,r),p(e,t),p(e,n)},d(l){l&&T(e)}}}function w3(i){let e,t,n;return{c(){e=B("svg"),t=B("rect"),n=B("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){P(l,e,r),p(e,t),p(e,n)},d(l){l&&T(e)}}}function y3(i){let e;function t(r,o){return r[0]?w3:_3}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function k3(i,e,t){let{isActive:n=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,n=l.isActive)},[n]}class Zc extends _e{constructor(e){super(),be(this,e,k3,y3,ge,{isActive:0})}}function C3(i){Ze(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function S3(i){let e=zn(i[4]-i[3])+"",t;return{c(){t=De(e)},m(n,l){P(n,t,l)},p(n,l){l&24&&e!==(e=zn(n[4]-n[3])+"")&&et(t,e)},i:K,o:K,d(n){n&&T(t)}}}function T3(i){let e,t,n;return t=new Zc({props:{isActive:!0}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){P(l,e,r),z(t,e,null),n=!0},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function P3(i){let e,t,n,l,r,o,s;const a=[T3,S3],c=[];function f(m,h){return m[1]?0:1}return r=f(i),o=c[r]=a[r](i),{c(){e=E("div"),t=E("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),l=E("span"),o.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),M(e,"live",i[1]),M(e,"hidden",i[0]),M(e,"playing",i[2])},m(m,h){P(m,e,h),p(e,t),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(m,[h]){let _=r;r=f(m),r===_?c[r].p(m,h):(fe(),g(c[_],1,1,()=>{c[_]=null}),de(),o=c[r],o?o.p(m,h):(o=c[r]=a[r](m),o.c()),d(o,1),o.m(l,null)),(!s||h&2)&&M(e,"live",m[1]),(!s||h&1)&&M(e,"hidden",m[0]),(!s||h&4)&&M(e,"playing",m[2])},i(m){s||(d(o),s=!0)},o(m){g(o),s=!1},d(m){m&&T(e),c[r].d()}}}function E3(i,e,t){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,l=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,o=a.position),"duration"in a&&t(4,s=a.duration)},[n,l,r,o,s]}class Kc extends _e{constructor(e){super(),be(this,e,E3,P3,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},C3)}}const wr=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},so=i=>{i.stopPropagation(),i.preventDefault()},A3=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},I3=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},L3=i=>{const e=i.code;return e===Ee.Tab&&!i.shiftKey||e===Ee.ArrowDown},V3=i=>{const e=i.code;return e===Ee.Tab||e===Ee.ArrowUp},Gc=i=>i.code===Ee.Escape,M3=i=>i.code===Ee.ArrowLeft,Yc=(i,e=!0)=>{const t=i.code;return[Ee.Enter,Ee.Space].includes(t)||!e&&t===Ee.ArrowRight},Qc=i=>{if(L3(i)){so(i),I3(i.target);return}V3(i)&&(so(i),A3(i.target))},Rr=i=>(i==null?void 0:i.detail)===0,Nr=async(i,e,t)=>{await Wo(),i&&!i.classList.contains("opened")&&!e&&tt(t)&&(t.set(!1),i.focus())},Or=async(i,e,t)=>{await Wo(),!!i&&e&&t&&i.firstChild.focus()},ml=async(i,e,t)=>{!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},ld))},Xc=(i,e)=>{Qc(i),Gc(i)&&(so(i),e())},pl=async(i,e,t)=>{if(Yc(i,!1)){so(i),e(),await Wo();const n=t();n==null||n.focus()}},hl=async(i,e,t,n)=>{if(Qc(i),M3(i)){so(i),e(),t.set(!0);return}Gc(i)&&(so(i),n())},ln=(i,e)=>{Yc(i)&&(so(i),e())};function B3(i){Ze(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function zs(i){var V;let e,t,n,l,r,o,s=(i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,m=G("menu_debug_overlay")+"",h,_,v,w,b=i[9].features.copyVideoLink&&((V=i[8].callbacks)==null?void 0:V.onCopyVideoLink)&&R3(i),C=i[11]&&i[5]!==Vn.CONNECTED&&!i[16]&&Hs(i),y=i[9].features.videoRotate&&!i[16]&&N3(i),k=i[9].showSupport&&!i[6]&&Us(i);return{c(){e=E("ul"),b&&b.c(),t=N(),C&&C.c(),n=N(),y&&y.c(),l=N(),k&&k.c(),r=N(),o=E("li"),a=De(s),c=N(),f=E("li"),h=De(m),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",i[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=i[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ht(e,"top",i[3]+"px"),Ht(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(q,L){P(q,e,L),b&&b.m(e,null),p(e,t),C&&C.m(e,null),p(e,n),y&&y.m(e,null),p(e,l),k&&k.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(w=[he(o,"click",st(i[19])),he(o,"keydown",i[29]),he(f,"click",st(i[20])),he(f,"keydown",i[30]),he(e,"contextmenu",ii(i[37])),he(e,"keydown",i[23])],v=!0)},p(q,L){var j;q[9].features.copyVideoLink&&((j=q[8].callbacks)!=null&&j.onCopyVideoLink)&&b.p(q,L),q[11]&&q[5]!==Vn.CONNECTED&&!q[16]?C?C.p(q,L):(C=Hs(q),C.c(),C.m(e,n)):C&&(C.d(1),C=null),q[9].features.videoRotate&&!q[16]&&y.p(q,L),q[9].showSupport&&!q[6]?k?k.p(q,L):(k=Us(q),k.c(),k.m(e,r)):k&&(k.d(1),k=null),L[0]&128&&_!==(_=q[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),L[0]&8&&Ht(e,"top",q[3]+"px"),L[0]&4&&Ht(e,"left",q[2]+"px")},d(q){q&&T(e),b&&b.d(),C&&C.d(),y&&y.d(),k&&k.d(),i[40](null),v=!1,it(w)}}}function R3(i){let e,t=G("menu_copy_video_link")+"",n,l,r,o,s,a=!i[4]&&!i[16]&&Fs(i);return{c(){e=E("li"),n=De(t),l=N(),a&&a.c(),r=pt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){P(c,e,f),p(e,n),P(c,l,f),a&&a.m(c,f),P(c,r,f),o||(s=[he(e,"click",st(i[38])),he(e,"keydown",i[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Fs(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(T(e),T(l),T(r)),a&&a.d(c),o=!1,it(s)}}}function Fs(i){let e,t=G("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=E("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[39])),he(e,"keydown",i[25])],l=!0)},p:K,d(o){o&&T(e),l=!1,it(r)}}}function Hs(i){let e,t=G("menu_pip")+"",n,l,r;return{c(){e=E("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[21])),he(e,"keydown",i[26])],l=!0)},p:K,d(o){o&&T(e),l=!1,it(r)}}}function N3(i){let e,t=G("menu_video_rotate")+"",n,l,r;return{c(){e=E("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[17])),he(e,"keydown",i[27])],l=!0)},p:K,d(o){o&&T(e),l=!1,it(r)}}}function Us(i){let e,t=G("menu_report")+"",n,l,r;return{c(){e=E("li"),n=De(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",st(i[18])),he(e,"keydown",i[28])],l=!0)},p:K,d(o){o&&T(e),l=!1,it(r)}}}function O3(i){let e,t=i[1]&&zs(i);return{c(){t&&t.c(),e=pt()},m(n,l){t&&t.m(n,l),P(n,e,l)},p(n,l){n[1]?t?t.p(n,l):(t=zs(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:K,o:K,d(n){n&&T(e),t&&t.d(n)}}}function D3(i,e,t){var Ae;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:w}=e,b=0,C=0;const y=Ct(),k=gn(),V=y.ui.contextMenuVisible,q=y.ui.debugPanelVisible;O(i,q,ae=>t(7,s=ae));const L=y.webApi.pictureInPictureApi,j=(Ae=y.webApi.pictureInPictureApi)==null?void 0:Ae.info.isActive$;O(i,j,ae=>t(6,o=ae));const re=y.state.chromecastState$;O(i,re,ae=>t(5,r=ae));const le=y.state.isLive$;O(i,le,ae=>t(4,l=ae));const R=y.state.positionExact$;O(i,R,ae=>t(41,n=ae));const ie=y.state.isInteractive,Z=()=>{V.set(!1)},I=(ae,pe)=>{if(!v||!h||!_)return;const oe=v.getBoundingClientRect(),Te=h.getBoundingClientRect();t(2,b=ae-Te.left),t(3,C=pe-Te.top),b+oe.width>Te.width&&t(2,b=Te.width-oe.width),C+oe.height>Te.height&&t(3,C=Te.height-oe.height),t(2,b=Math.max(b,0)),t(3,C=Math.max(C,0))},X=()=>{Z(),y.actions.internal.videoRotate()},S=()=>{window.open(c,"_blank"),Z(),y.actions.internal.pause()},$=()=>{const ae=y.actions.internal.getDebugTextData();if(k.features.saveDebugInfoToFile){const pe=new Blob([...ae],{type:"plain/text"}),oe=window.URL.createObjectURL(pe);Y1(oe,"vk_player_debug_info","txt")}else wr(y.actions.internal.getDebugTextData());Z(),w==null||w()},D=()=>{q.set(!0),Z(),w==null||w()},Y=async()=>{try{L!=null&&L.isActive()?await(L==null?void 0:L.remove()):await(L==null?void 0:L.request())}finally{Z(),w==null||w()}},Pe=(ae=!1)=>{var pe,oe;if((pe=y.callbacks)!=null&&pe.onCopyVideoLink){const Te=(oe=y.callbacks)==null?void 0:oe.onCopyVideoLink(ae,n);Te&&wr(Te)}Z()},ye=ae=>{Xc(ae,Z)},Ie=ae=>{ln(ae,()=>Pe())},Ve=ae=>{ln(ae,()=>Pe(!0))},we=ae=>{ln(ae,()=>Y())},Ce=ae=>{ln(ae,()=>X())},Q=ae=>{ln(ae,()=>S())},ee=ae=>{ln(ae,()=>$())},ue=ae=>{ln(ae,()=>D())};function se(ae){Eo.call(this,i,ae)}const Ue=()=>Pe(),Ne=()=>Pe(!0);function Le(ae){ke[ae?"unshift":"push"](()=>{v=ae,t(0,v)})}return i.$$set=ae=>{"visible"in ae&&t(1,a=ae.visible),"supportLink"in ae&&t(31,c=ae.supportLink),"x"in ae&&t(32,f=ae.x),"y"in ae&&t(33,m=ae.y),"playerContainerRef"in ae&&t(34,h=ae.playerContainerRef),"controlsContainerRef"in ae&&t(35,_=ae.controlsContainerRef),"menuElementRef"in ae&&t(0,v=ae.menuElementRef),"returnFocus"in ae&&t(36,w=ae.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&1|i.$$.dirty[1]&30&&v&&h&&_&&I(f,m)},[v,a,b,C,l,r,o,s,y,k,q,L,j,re,le,R,ie,X,S,$,D,Y,Pe,ye,Ie,Ve,we,Ce,Q,ee,ue,c,f,m,h,_,w,se,Ue,Ne,Le]}class z3 extends _e{constructor(e){super(),be(this,e,D3,O3,ge,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},B3,[-1,-1])}}class F3{constructor(e){this.value=e,this.next=null}}class or{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new F3(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function H3(i){Ze(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function U3(i){let e,t;return{c(){e=E("div"),t=E("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){P(n,e,l),p(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&T(e),i[3](null)}}}const lr=16,rr=120,qs=60;function q3(i,e,t,n,l){l===0&&(l=1),i.fillStyle="#fff",i.fillRect(e,t,n,l)}function j3(i,e,t){let{values:n=[]}=e,l,r;const o=rr/qs;vn(()=>{t(0,l.width=rr,l),t(0,l.height=lr,l),t(2,r=l.getContext("2d"))});function s(a){ke[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,rr,lr);let c=qs-1;for(let f=n.length-1;f>=0;f--){const m=c*o,h=a>0?lr*(n[f]/a):0;q3(r,m,0,o,h),c--}}},[l,n,r,s]}class Dr extends _e{constructor(e){super(),be(this,e,j3,U3,ge,{values:1},H3)}}function W3(i){Ze(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function js(i){let e,t,n,l,r=i[0].id+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Video id",n=N(),l=E("span"),o=De(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&et(o,r)},d(s){s&&T(e)}}}function Ws(i){let e,t,n,l,r=i[0].provider+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Provider",n=N(),l=E("span"),o=De(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&et(o,r)},d(s){s&&T(e)}}}function Zs(i){let e,t,n,l,r=i[0].viewport+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Viewport",n=N(),l=E("span"),o=De(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&et(o,r)},d(s){s&&T(e)}}}function Ks(i){let e,t,n,l,r=i[0].videoSize+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="Video size",n=N(),l=E("span"),o=De(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&et(o,r)},d(s){s&&T(e)}}}function Gs(i){let e,t,n,l,r=i[0].cdn+"",o;return{c(){e=E("div"),t=E("div"),t.textContent="CDN host",n=N(),l=E("span"),o=De(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,t),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&et(o,r)},d(s){s&&T(e)}}}function Ys(i){let e,t,n,l,r=i[0].volume+"",o,s;return{c(){e=E("div"),t=E("div"),t.textContent="Volume",n=N(),l=E("span"),o=De(r),s=De(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&et(o,r)},d(a){a&&T(e)}}}function Qs(i){let e,t,n,l,r=i[0].buffer.toFixed(2)+"",o,s;return{c(){e=E("div"),t=E("div"),t.textContent="Buffer",n=N(),l=E("span"),o=De(r),s=De(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,t),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&et(o,r)},d(a){a&&T(e)}}}function Xs(i){let e,t,n,l,r,o,s=i[0].speed.toFixed(2)+"",a,c,f;return l=new Dr({props:{values:i[5]}}),{c(){e=E("div"),t=E("div"),t.textContent="Network",n=N(),U(l.$$.fragment),r=N(),o=E("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){P(m,e,h),p(e,t),p(e,n),z(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(m,h){const _={};h&32&&(_.values=m[5]),l.$set(_),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&et(a,s)},i(m){f||(d(l.$$.fragment,m),f=!0)},o(m){g(l.$$.fragment,m),f=!1},d(m){m&&T(e),F(l)}}}function Js(i){let e,t,n,l,r,o,s=i[0].bitrate.toFixed(2)+"",a,c,f;return l=new Dr({props:{values:i[6]}}),{c(){e=E("div"),t=E("div"),t.textContent="V bitrate",n=N(),U(l.$$.fragment),r=N(),o=E("span"),a=De(s),c=De(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){P(m,e,h),p(e,t),p(e,n),z(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(m,h){const _={};h&64&&(_.values=m[6]),l.$set(_),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&et(a,s)},i(m){f||(d(l.$$.fragment,m),f=!0)},o(m){g(l.$$.fragment,m),f=!1},d(m){m&&T(e),F(l)}}}function Z3(i){let e,t,n,l,r,o,s,a,c=i[0].version+"",f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe,ye,Ie,Ve,we,Ce=i[0].id&&js(i),Q=i[0].provider&&Ws(i),ee=i[0].viewport&&Zs(i),ue=i[0].videoSize&&Ks(i),se=i[0].cdn&&Gs(i),Ue=i[0].volume&&Ys(i),Ne=i[0].buffer&&Qs(i),Le=i[0].speed&&Xs(i),Ae=i[0].bitrate&&Js(i);return D=new Dr({props:{values:i[4]}}),{c(){e=E("div"),t=E("button"),t.textContent="[x]",n=N(),l=E("div"),r=E("div"),o=E("div"),o.textContent="Version",s=N(),a=E("span"),f=De(c),m=N(),Ce&&Ce.c(),h=N(),Q&&Q.c(),_=N(),ee&&ee.c(),v=N(),ue&&ue.c(),w=N(),se&&se.c(),b=N(),Ue&&Ue.c(),C=N(),Ne&&Ne.c(),y=N(),k=E("div"),V=E("div"),V.textContent="Dropped",q=N(),L=E("span"),j=De(i[2]),re=De(" / "),le=De(i[1]),R=De(" frames"),ie=N(),Le&&Le.c(),Z=N(),Ae&&Ae.c(),I=N(),X=E("div"),S=E("div"),S.textContent="FPS",$=N(),U(D.$$.fragment),Y=N(),Pe=E("span"),ye=De(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(k,"class","v-1gy2e68"),u(S,"class","v-1gy2e68"),u(X,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),M(e,"container-mobile",i[7])},m(ae,pe){P(ae,e,pe),p(e,t),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,m),Ce&&Ce.m(l,null),p(l,h),Q&&Q.m(l,null),p(l,_),ee&&ee.m(l,null),p(l,v),ue&&ue.m(l,null),p(l,w),se&&se.m(l,null),p(l,b),Ue&&Ue.m(l,null),p(l,C),Ne&&Ne.m(l,null),p(l,y),p(l,k),p(k,V),p(k,q),p(k,L),p(L,j),p(L,re),p(L,le),p(L,R),p(l,ie),Le&&Le.m(l,null),p(l,Z),Ae&&Ae.m(l,null),p(l,I),p(l,X),p(X,S),p(X,$),z(D,X,null),p(X,Y),p(X,Pe),p(Pe,ye),Ie=!0,Ve||(we=he(t,"click",st(i[9])),Ve=!0)},p(ae,[pe]){(!Ie||pe&1)&&c!==(c=ae[0].version+"")&&et(f,c),ae[0].id?Ce?Ce.p(ae,pe):(Ce=js(ae),Ce.c(),Ce.m(l,h)):Ce&&(Ce.d(1),Ce=null),ae[0].provider?Q?Q.p(ae,pe):(Q=Ws(ae),Q.c(),Q.m(l,_)):Q&&(Q.d(1),Q=null),ae[0].viewport?ee?ee.p(ae,pe):(ee=Zs(ae),ee.c(),ee.m(l,v)):ee&&(ee.d(1),ee=null),ae[0].videoSize?ue?ue.p(ae,pe):(ue=Ks(ae),ue.c(),ue.m(l,w)):ue&&(ue.d(1),ue=null),ae[0].cdn?se?se.p(ae,pe):(se=Gs(ae),se.c(),se.m(l,b)):se&&(se.d(1),se=null),ae[0].volume?Ue?Ue.p(ae,pe):(Ue=Ys(ae),Ue.c(),Ue.m(l,C)):Ue&&(Ue.d(1),Ue=null),ae[0].buffer?Ne?Ne.p(ae,pe):(Ne=Qs(ae),Ne.c(),Ne.m(l,y)):Ne&&(Ne.d(1),Ne=null),(!Ie||pe&4)&&et(j,ae[2]),(!Ie||pe&2)&&et(le,ae[1]),ae[0].speed?Le?(Le.p(ae,pe),pe&1&&d(Le,1)):(Le=Xs(ae),Le.c(),d(Le,1),Le.m(l,Z)):Le&&(fe(),g(Le,1,1,()=>{Le=null}),de()),ae[0].bitrate?Ae?(Ae.p(ae,pe),pe&1&&d(Ae,1)):(Ae=Js(ae),Ae.c(),d(Ae,1),Ae.m(l,I)):Ae&&(fe(),g(Ae,1,1,()=>{Ae=null}),de());const oe={};pe&16&&(oe.values=ae[4]),D.$set(oe),(!Ie||pe&8)&&et(ye,ae[3]),(!Ie||pe&128)&&M(e,"container-mobile",ae[7])},i(ae){Ie||(d(Le),d(Ae),d(D.$$.fragment,ae),Ie=!0)},o(ae){g(Le),g(Ae),g(D.$$.fragment,ae),Ie=!1},d(ae){ae&&T(e),Ce&&Ce.d(),Q&&Q.d(),ee&&ee.d(),ue&&ue.d(),se&&se.d(),Ue&&Ue.d(),Ne&&Ne.d(),Le&&Le.d(),Ae&&Ae.d(),F(D),Ve=!1,we()}}}function K3(i,e,t){let n;const l=Ct(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;O(i,o,k=>t(7,n=k));const s=()=>{Pn.remove(hr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,m=0,h=0;const _=new or(60),v=new or(60),w=new or(60);let b=[],C=[],y=[];return vn(()=>{Pn.set(hr,"true"),l.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const k=window.setInterval(()=>{t(0,a=l.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const q=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=q-f),t(1,f=q),_.push(h),a.speed&&v.push(a.speed),a.bitrate&&w.push(a.bitrate),t(4,b=_.getValuesFromBottom()),t(5,C=v.getValuesFromBottom()),t(6,y=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(k),V&&clearInterval(V)}}),[a,f,m,h,b,C,y,n,o,s]}class Jc extends _e{constructor(e){super(),be(this,e,K3,Z3,ge,{},W3)}}function G3(i){Ze(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function Y3(i){let e,t,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(l,r){P(l,e,r),t||(n=he(e,"click",st(i[0])),t=!0)},p:K,i:K,o:K,d(l){l&&T(e),t=!1,n()}}}function Q3(i){function e(t){Eo.call(this,i,t)}return[e]}class X3 extends _e{constructor(e){super(),be(this,e,Q3,Y3,ge,{},G3)}}function J3(i){Ze(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
-
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function x3(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("canvas"),n=N(),l=B("svg"),r=B("g"),o=B("g"),s=B("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){P(a,e,c),p(e,t),i[2](t),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&T(e),i[2](null)}}}const $3=5e3;function ep(i,e,t){let{onTimerEnded:n=Xe}=e,l;vn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/$3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){ke[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"onTimerEnded"in o&&t(1,n=o.onTimerEnded)},[l,n,r]}class tp extends _e{constructor(e){super(),be(this,e,ep,x3,ge,{onTimerEnded:1},J3)}}function ip(i){Ze(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function xs(i){let e,t;return e=new tp({props:{onTimerEnded:i[2]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function np(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q;s=new X3({}),s.$on("click",i[4]);let L=i[3]&&xs(i);return{c(){e=E("div"),t=N(),n=E("div"),l=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=N(),U(s.$$.fragment),a=N(),c=E("div"),f=E("div"),m=E("div"),h=E("div"),_=N(),L&&L.c(),w=N(),b=E("div"),C=E("div"),y=De(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(b,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(j,re){P(j,e,re),P(j,t,re),P(j,n,re),p(n,l),p(l,r),p(l,o),z(s,l,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,_),L&&L.m(m,null),p(c,w),p(c,b),p(b,C),p(C,y),k=!0,V||(q=he(c,"click",function(){Tn(i[2])&&i[2].apply(this,arguments)}),V=!0)},p(j,[re]){i=j,i[3]?L?(L.p(i,re),re&8&&d(L,1)):(L=xs(i),L.c(),d(L,1),L.m(m,null)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),(!k||re&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!k||re&1)&&et(y,i[0])},i(j){k||(d(s.$$.fragment,j),d(L),k=!0)},o(j){g(s.$$.fragment,j),g(L),k=!1},d(j){j&&(T(e),T(t),T(n)),F(s),L&&L.d(),V=!1,q()}}}function op(i,e,t){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>t(3,o=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,l=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,l,r,o,s]}class lp extends _e{constructor(e){super(),be(this,e,op,np,ge,{title:0,thumb:1,playNextVideo:2},ip)}}const xc=(i,e)=>Math.min(+(i+e).toFixed(2),1),$c=(i,e)=>Math.max(+(i-e).toFixed(2),0),ef=(i,e,t)=>{const n=xc(e,t);e<1&&i.actions.internal.setVolume(n)},tf=(i,e,t)=>{const n=$c(e,t);e>0&&i.actions.internal.setVolume(n)};function rp(i){Ze(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function sp(i){let e,t,n,l;const r=i[22].default,o=Fn(r,i,i[21],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player"))},m(s,a){P(s,e,a),o&&o.m(e,null),i[23](e),t=!0,n||(l=[he(e,"keyup",i[13]),he(e,"keydown",i[12])],n=!0)},p(s,a){o&&o.p&&(!t||a[0]&2097152)&&Un(o,r,s,s[21],t?Hn(r,s[21],a,null):qn(s[21]),null)},i(s){t||(d(o,s),t=!0)},o(s){g(o,s),t=!1},d(s){s&&T(e),o&&o.d(s),i[23](null),n=!1,it(l)}}}function ap(i,e,t){let n,l,r,o,s,a,c,f,m,h,_,{$$slots:v={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:k}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:q}=e;const L=Ct(),j=gn(),re=L.getLogger().createComponentLog("KeyboardControls component"),le=L.state.playbackState$;O(i,le,se=>t(27,l=se));const R=L.ads.playbackState;O(i,R,se=>t(26,n=se));const ie=L.state.positionExact$;O(i,ie,se=>t(33,f=se));const Z=L.state.duration$;O(i,Z,se=>t(32,c=se));const I=L.state.volume$;O(i,I,se=>t(36,_=se));const X=L.ui.controls.disabledControls$;O(i,X,se=>t(31,a=se));const S=L.state.muted$;O(i,S,se=>t(29,o=se));const $=L.state.currentSubtitle$;O(i,$,se=>t(28,r=se));const D=L.state.currentPlaybackRate$;O(i,D,se=>t(34,m=se));const Y=L.state.availablePlaybackRates$;O(i,Y,se=>t(35,h=se));const Pe=L.state.isEnded$;O(i,Pe,se=>t(30,s=se));let ye=0,Ie=!0,Ve;const we=()=>Ve==null?void 0:Ve.focus(),Ce=se=>(se!==Ie&&(Ie=se,ye=0),ye+=1,(j.controls.seekStepKeyboard+j.controls.seekStepKeyboard*ye)/1e3),Q=se=>{var Ke;const Ue=se.target,Ne=(Ke=Ue==null?void 0:Ue.getAttribute("role"))==null?void 0:Ke.includes("menuitem"),Le=Ue.classList.contains("btn"),Ae=se.code;if(Le&&Ae===Ee.Space)return;const ae=ud.has(Ae);if(Ne&&ae)return;const pe=!ad.has(Ae);if(se.ctrlKey&&pe||se.altKey&&pe||se.metaKey)return;const oe=Ne&&Ae===Ee.Escape;cd.has(Ae)||oe||C();const Te=l===Yt.PLAYING||l===Yt.PAUSED,me=b&&(n===ti.PAUSED||n===ti.PLAYING),Se=!me&&!a.has(dt.TIMELINE);if(Te||me)switch(re({message:`key down, code: ${Ae}`}),Ae){case Ee.KeyJ:case Ee.ArrowLeft:{if(!Se)break;if(se.ctrlKey||se.altKey){const Re=L.actions.internal.getPrevEpisode();L.actions.internal.seekToPrevEpisode(Re),Re&&k({type:Ye.EPISODE_PREV,text:Re.text}),se.preventDefault()}else{const Re=se.shiftKey?Ce(!1):j.controls.seekStepKeyboard/1e3,Je=Math.max(f-Re,0);f>0&&(L.actions.internal.seekTime(Je,Wt.DOUBLE_TAP),k({type:Ye.BACKWARD_SEEK,text:Re.toString()}),se.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!Se)break;if(se.ctrlKey||se.altKey){const Re=L.actions.internal.getNextEpisode();L.actions.internal.seekToNextEpisode(Re),Re&&k({type:Ye.EPISODE_NEXT,text:Re.text}),se.preventDefault()}else{const Re=se.shiftKey?Ce(!0):j.controls.seekStepKeyboard/1e3,Je=Math.min(f+Re,c);Math.round(f)<Math.round(c)&&(L.actions.internal.seekTime(Je,Wt.DOUBLE_TAP),k({type:Ye.FORWARD_SEEK,text:Re.toString()}),se.preventDefault())}break}case Ee.ArrowUp:{const Re=_,Je=j.controls.volumeStepKeyboard,xe=Re<=1;if(ef(L,Re,Je),xe){const nt=Math.round(xc(Re,Je)*100).toString();k({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:nt}})}se.preventDefault();break}case Ee.ArrowDown:{const Re=_,Je=j.controls.volumeStepKeyboard,xe=Re>=0;if(tf(L,Re,Je),xe){const nt=Math.round($c(Re,Je)*100).toString();k({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:nt}})}se.preventDefault();break}case Ee.Comma:{if(se.shiftKey){L.actions.internal.decrementPlaybackRate();const Re=h.find(Je=>Je.value===m);k({type:Ye.RATE_DOWN,text:Re==null?void 0:Re.displayValue}),se.preventDefault()}else{if(me||l!==Yt.PAUSED)break;const Re=Math.max(f-j.controls.seekStepFrame/1e3,0);f>0&&(k({type:Ye.BACKWARD_SEEK}),L.actions.internal.clearDelayedBufferingCheckTimeout(),L.actions.internal.seekTime(Re,Wt.DOUBLE_TAP),se.preventDefault())}break}case Ee.Period:{if(se.shiftKey){L.actions.internal.incrementPlaybackRate();const Re=h.find(Je=>Je.value===m);k({type:Ye.RATE_UP,text:Re==null?void 0:Re.displayValue}),se.preventDefault()}else{if(me||l!==Yt.PAUSED)break;const Re=Math.min(f+j.controls.seekStepFrame/1e3,c);f<c&&(k({type:Ye.FORWARD_SEEK}),L.actions.internal.clearDelayedBufferingCheckTimeout(),L.actions.internal.seekTime(Re,Wt.DOUBLE_TAP),se.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(dt.PLAY_BUTTON))if(q)q();else{L.actions.internal.togglePlay();let Re=Ye.PLAY;l===Yt.PAUSED?Re=Ye.PAUSE:s&&(Re=Ye.REPLAY),k({type:Re})}se.preventDefault();break;case Ee.KeyM:{k({type:o?Ye.VOLUME:Ye.MUTE}),L.actions.internal.toggleMuted(),se.preventDefault();break}case Ee.KeyF:y(),se.preventDefault();break;case Ee.KeyC:L.actions.internal.toggleSubtitle(),r.value!=="off"?k({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):k({type:Ye.SUBTITLES_OFF}),se.preventDefault();break;case Ee.KeyI:L.actions.internal.togglePictureInPicture(),se.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:k(),L.actions.internal.seekToPercent(.1,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:k(),L.actions.internal.seekToPercent(.2,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:k(),L.actions.internal.seekToPercent(.3,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:k(),L.actions.internal.seekToPercent(.4,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:k(),L.actions.internal.seekToPercent(.5,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:k(),L.actions.internal.seekToPercent(.6,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:k(),L.actions.internal.seekToPercent(.7,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:k(),L.actions.internal.seekToPercent(.8,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:k(),L.actions.internal.seekToPercent(.9,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:k(),L.actions.internal.seekToPercent(0,Wt.DOUBLE_TAP),se.preventDefault();break;case Ee.Slash:{se.shiftKey&&j.features.hotKeyMapModal&&(V(),se.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:se.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:A0(Ae);break}},ee=se=>{const Ue=se.code;if(se.ctrlKey||se.altKey||se.metaKey)return;const Ne=l===Yt.PLAYING||l===Yt.PAUSED,Le=b&&(n===ti.PAUSED||n===ti.PLAYING);if(Ne||Le)switch(Ue){case Ee.ShiftLeft:case Ee.ShiftRight:ye=0;break}};function ue(se){ke[se?"unshift":"push"](()=>{Ve=se,t(0,Ve)})}return i.$$set=se=>{"isAds"in se&&t(14,b=se.isAds),"hideContextMenu"in se&&t(15,C=se.hideContextMenu),"toggleFullscreen"in se&&t(16,y=se.toggleFullscreen),"showHotKeyHelpers"in se&&t(17,k=se.showHotKeyHelpers),"showKeyMap"in se&&t(18,V=se.showKeyMap),"fakePlayButtonHandler"in se&&t(19,q=se.fakePlayButtonHandler),"$$scope"in se&&t(21,w=se.$$scope)},[Ve,le,R,ie,Z,I,X,S,$,D,Y,Pe,Q,ee,b,C,y,k,V,q,we,w,v,ue]}class up extends _e{constructor(e){super(),be(this,e,ap,sp,ge,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},rp,[-1,-1])}get focus(){return this.$$.ctx[20]}}function cp(i){Ze(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function fp(i){let e;return{c(){e=E("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){P(t,e,n)},p:K,i:K,o:K,d(t){t&&T(e)}}}class nf extends _e{constructor(e){super(),be(this,e,null,fp,ge,{},cp)}}function dp(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("defs"),o=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),_=B("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,w){P(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p:K,i:K,o:K,d(v){v&&T(e)}}}class mp extends _e{constructor(e){super(),be(this,e,null,dp,ge,{})}}function pp(i){Ze(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function hp(i){let e,t,n,l,r,o,s,a,c,f,m,h;const _=i[14].default,v=Fn(_,i,i[13],null);return{c(){var w,b,C,y,k,V;e=E("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=l=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(b=i[5])!=null?b:null),u(e,"aria-label",o=(C=i[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(y=i[7])!=null?y:null),u(e,"aria-expanded",a=(k=i[8])!=null?k:null),u(e,"data-testid",c=(V=i[4])!=null?V:null),u(e,"tabindex",i[9])},m(w,b){P(w,e,b),v&&v.m(e,null),i[16](e),f=!0,m||(h=[he(e,"pointerdown",st(ii(i[15]))),he(e,"click",st(ii(function(){Tn(i[10]===Xe?null:i[10])&&(i[10]===Xe?null:i[10]).apply(this,arguments)}))),he(e,"focus",ii(function(){Tn(i[11]===Xe?null:i[11])&&(i[11]===Xe?null:i[11]).apply(this,arguments)})),he(e,"blur",ii(function(){Tn(i[12]===Xe?null:i[12])&&(i[12]===Xe?null:i[12]).apply(this,arguments)}))],m=!0)},p(w,[b]){var C,y,k,V,q,L;i=w,v&&v.p&&(!f||b&8192)&&Un(v,_,i,i[13],f?Hn(_,i[13],b,null):qn(i[13]),null),(!f||b&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||b&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||b&8&&l!==(l=(C=i[3])!=null?C:null))&&(e.disabled=l),(!f||b&32&&r!==(r=(y=i[5])!=null?y:null))&&u(e,"aria-hidden",r),(!f||b&64&&o!==(o=(k=i[6])!=null?k:null))&&u(e,"aria-label",o),(!f||b&128&&s!==(s=(V=i[7])!=null?V:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(q=i[8])!=null?q:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(L=i[4])!=null?L:null))&&u(e,"data-testid",c),(!f||b&512)&&u(e,"tabindex",i[9])},i(w){f||(d(v,w),f=!0)},o(w){g(v,w),f=!1},d(w){w&&T(e),v&&v.d(w),i[16](null),m=!1,it(h)}}}function vp(i,e,t){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:v=0}=e,{click:w=Xe}=e,{focus:b=Xe}=e,{blur:C=Xe}=e;function y(V){Eo.call(this,i,V)}function k(V){ke[V?"unshift":"push"](()=>{m=V,t(0,m)})}return i.$$set=V=>{"className"in V&&t(1,r=V.className),"style"in V&&t(2,o=V.style),"disabled"in V&&t(3,s=V.disabled),"testId"in V&&t(4,a=V.testId),"ariaHidden"in V&&t(5,c=V.ariaHidden),"ariaLabel"in V&&t(6,f=V.ariaLabel),"ref"in V&&t(0,m=V.ref),"ariaKeyShortCut"in V&&t(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&t(8,_=V.ariaExpanded),"tabIndex"in V&&t(9,v=V.tabIndex),"click"in V&&t(10,w=V.click),"focus"in V&&t(11,b=V.focus),"blur"in V&&t(12,C=V.blur),"$$scope"in V&&t(13,l=V.$$scope)},[m,r,o,s,a,c,f,h,_,v,w,b,C,l,n,y,k]}class Ai extends _e{constructor(e){super(),be(this,e,vp,hp,ge,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},pp)}}function gp(i){Ze(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function $s(i){let e,t,n,l,r,o=i[2]&&ea(i);return{c(){e=E("div"),t=E("h3"),n=De(i[3]),l=N(),o&&o.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){P(s,e,a),p(e,t),p(t,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&et(n,s[3]),s[2]?o?(o.p(s,a),a&4&&d(o,1)):(o=ea(s),o.c(),d(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de())},i(s){r||(d(o),r=!0)},o(s){g(o),r=!1},d(s){s&&T(e),o&&o.d()}}}function ea(i){let e,t;return e=new Ai({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[bp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function bp(i){let e,t;return e=new mp({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _p(i){let e,t,n,l,r,o,s=i[1]&&$s(i);const a=i[4].default,c=Fn(a,i,i[5],null);return{c(){e=E("div"),t=E("div"),s&&s.c(),n=N(),l=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){P(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=$s(f),s.c(),d(s,1),s.m(t,n)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),c&&c.p&&(!o||m&32)&&Un(c,a,f,f[5],o?Hn(a,f[5],m,null):qn(f[5]),null)},i(f){o||(d(s),d(c,f),o=!0)},o(f){g(s),g(c,f),o=!1},d(f){f&&T(e),s&&s.d(),c&&c.d(f)}}}function wp(i,e,t){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,o=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,l=c.$$scope)},[r,o,s,a,n,l]}class yp extends _e{constructor(e){super(),be(this,e,wp,_p,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},gp)}}const kp=new Set(["BR"]),ta=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;kp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function Cp(i){Ze(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function ia(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function na(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function oa(i){let e,t,n=ta(i[9])+"",l,r,o=i[10]+"",s,a;return{c(){e=E("li"),t=E("span"),l=N(),r=E("span"),s=De(o),a=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){P(c,e,f),p(e,t),t.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=ta(c[9])+"")&&(t.innerHTML=n),f&1&&o!==(o=c[10]+"")&&et(s,o)},d(c){c&&T(e)}}}function la(i){let e,t,n=i[5]+"",l,r,o,s,a=Qt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=oa(na(i,a,f));return{c(){e=E("div"),t=E("h5"),l=De(n),r=N(),o=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){P(f,e,m),p(e,t),p(t,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&et(l,n),m&1){a=Qt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=na(f,a,h);c[h]?c[h].p(_,m):(c[h]=oa(_),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&T(e),En(c,f)}}}function Sp(i){let e,t=Qt(i[0].groups),n=[];for(let l=0;l<t.length;l+=1)n[l]=la(ia(i,t,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){t=Qt(l[0].groups);let o;for(o=0;o<t.length;o+=1){const s=ia(l,t,o);n[o]?n[o].p(s,r):(n[o]=la(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&T(e),En(n,l)}}}function Tp(i){let e,t;return e=new yp({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Sp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Pp(i,e,t){let n;const l=Ct(),{data:r,show:o}=l.ui.modals.hotKeyMap;return O(i,r,a=>t(0,n=a)),[n,r,()=>{o.set(!1)}]}class Ep extends _e{constructor(e){super(),be(this,e,Pp,Tp,ge,{},Cp)}}function Ap(i){Ze(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Ip(i){let e,t;const n=i[1].default,l=Fn(n,i,i[0],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){P(r,e,o),l&&l.m(e,null),t=!0},p(r,[o]){l&&l.p&&(!t||o&1)&&Un(l,n,r,r[0],t?Hn(n,r[0],o,null):qn(r[0]),null)},i(r){t||(d(l,r),t=!0)},o(r){g(l,r),t=!1},d(r){r&&T(e),l&&l.d(r)}}}function Lp(i,e,t){let{$$slots:n={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&t(0,l=r.$$scope)},[l,n]}class Vp extends _e{constructor(e){super(),be(this,e,Lp,Ip,ge,{},Ap)}}function Mp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class Bp extends _e{constructor(e){super(),be(this,e,null,Mp,ge,{})}}function Rp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class Np extends _e{constructor(e){super(),be(this,e,null,Rp,ge,{})}}function Op(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Dp extends _e{constructor(e){super(),be(this,e,null,Op,ge,{})}}function zp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class of extends _e{constructor(e){super(),be(this,e,null,zp,ge,{})}}function Fp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class lf extends _e{constructor(e){super(),be(this,e,null,Fp,ge,{})}}const Vo=i=>{switch(i){case yo.Q_720P:return Dp;case yo.Q_1080P:return of;case yo.Q_1440P:return lf;case yo.Q_2160P:return Bp;case yo.Q_4320P:return Np}};function Hp(i){Ze(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Up(i){let e,t,n,l,r,o,s=i[1]&&ra(i);return{c(){e=E("div"),s&&s.c(),t=N(),n=B("svg"),l=B("path"),r=B("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),M(r,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),M(e,"triple",i[2])},m(a,c){P(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=ra(a),s.c(),d(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!o||c&2)&&M(r,"hidden",!!a[1]),(!o||c&4)&&M(e,"triple",a[2])},i(a){o||(d(s),o=!0)},o(a){g(s),o=!1},d(a){a&&T(e),s&&s.d()}}}function qp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}function ra(i){let e,t;return e=new Vp({props:{$$slots:{default:[jp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function jp(i){let e,t,n;var l=i[1];function r(o){return{}}return l&&(e=Mn(l,r())),{c(){e&&U(e.$$.fragment),t=pt()},m(o,s){e&&z(e,o,s),P(o,t,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(e=Mn(l,r()),U(e.$$.fragment),d(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(o){n||(e&&d(e.$$.fragment,o),n=!0)},o(o){e&&g(e.$$.fragment,o),n=!1},d(o){o&&T(t),e&&F(e,o)}}}function Wp(i){let e,t,n,l;const r=[qp,Up],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Zp(i,e,t){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return i.$$set=s=>{"isMobile"in s&&t(0,l=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Vo(r)),i.$$.dirty&2&&t(2,o=!!n&&[of,lf].includes(n))},[l,n,o,r]}class rf extends _e{constructor(e){super(),be(this,e,Zp,Wp,ge,{isMobile:0,currentQuality:3},Hp)}}function Kp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class sf extends _e{constructor(e){super(),be(this,e,null,Kp,ge,{})}}function Gp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Yp extends _e{constructor(e){super(),be(this,e,null,Gp,ge,{})}}function Qp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Xp extends _e{constructor(e){super(),be(this,e,null,Qp,ge,{})}}function Jp(i){let e,t,n,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){P(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class xp extends _e{constructor(e){super(),be(this,e,null,Jp,ge,{})}}function $p(i){Ze(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function eh(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(l,r){P(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&T(e)}}}function th(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),M(e,"reverted",i[2])},m(l,r){P(l,e,r),p(e,t)},p(l,r){r&1&&u(t,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&T(e)}}}function ih(i){let e;function t(r,o){return r[1]?th:eh}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function nh(i,e,t){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,l=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,o=["right","down"].includes(n)))},[l,r,o,n]}class xn extends _e{constructor(e){super(),be(this,e,nh,ih,ge,{direction:3,color:0},$p)}}function oh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class lh extends _e{constructor(e){super(),be(this,e,null,oh,ge,{})}}function rh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Jo extends _e{constructor(e){super(),be(this,e,null,rh,ge,{})}}function sh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class ah extends _e{constructor(e){super(),be(this,e,null,sh,ge,{})}}function uh(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class ch extends _e{constructor(e){super(),be(this,e,null,uh,ge,{})}}function fh(i){Ze(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function sa(i,e,t){const n=i.slice();return n[142]=e[t],n}function aa(i,e,t){const n=i.slice();return n[145]=e[t],n}function ua(i,e,t){const n=i.slice();return n[148]=e[t],n}function ca(i){let e,t,n,l,r,o,s,a,c,f,m,h=i[8]&&fa(i),_=i[28]&&da(i),v=i[27]&&pa(i),w=i[26]&&ha(i),b=i[25]&&va(i),C=i[24]&&ga(i),y=i[8]&&ba(i);return{c(){e=E("div"),h&&h.c(),t=N(),n=E("ul"),_&&_.c(),l=N(),v&&v.c(),r=N(),w&&w.c(),o=N(),b&&b.c(),s=N(),C&&C.c(),a=N(),y&&y.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),M(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8]),M(e,"hidden",!i[15])},m(k,V){P(k,e,V),h&&h.m(e,null),p(e,t),p(e,n),_&&_.m(n,null),p(n,l),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),y&&y.m(n,null),i[116](n),c=!0,f||(m=[he(e,"keydown",i[79]),he(e,"mouseenter",i[73]),he(e,"mouseleave",i[74])],f=!0)},p(k,V){k[8]?h?h.p(k,V):(h=fa(k),h.c(),h.m(e,t)):h&&(h.d(1),h=null),k[28]?_?(_.p(k,V),V[0]&268435456&&d(_,1)):(_=da(k),_.c(),d(_,1),_.m(n,l)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),k[27]?v?(v.p(k,V),V[0]&134217728&&d(v,1)):(v=pa(k),v.c(),d(v,1),v.m(n,r)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),k[26]?w?(w.p(k,V),V[0]&67108864&&d(w,1)):(w=ha(k),w.c(),d(w,1),w.m(n,o)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),k[25]?b?(b.p(k,V),V[0]&33554432&&d(b,1)):(b=va(k),b.c(),d(b,1),b.m(n,s)):b&&(fe(),g(b,1,1,()=>{b=null}),de()),k[24]?C?(C.p(k,V),V[0]&16777216&&d(C,1)):(C=ga(k),C.c(),d(C,1),C.m(n,a)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),k[8]?y?(y.p(k,V),V[0]&256&&d(y,1)):(y=ba(k),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!c||V[0]&256)&&M(n,"items-mobile",k[8]),(!c||V[0]&256)&&M(e,"menu-desktop",!k[8]),(!c||V[0]&256)&&M(e,"menu-mobile",k[8]),(!c||V[0]&32768)&&M(e,"hidden",!k[15])},i(k){c||(d(_),d(v),d(w),d(b),d(C),d(y),c=!0)},o(k){g(_),g(v),g(w),g(b),g(C),g(y),c=!1},d(k){k&&T(e),h&&h.d(),_&&_.d(),v&&v.d(),w&&w.d(),b&&b.d(),C&&C.d(),y&&y.d(),i[116](null),f=!1,it(m)}}}function fa(i){let e,t,n,l,r,o,s,a;return{c(){e=E("div"),t=E("div"),t.textContent=`${G("submenu_settings")}`,n=N(),l=E("div"),r=N(),o=E("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",i[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){P(c,e,f),p(e,t),p(e,n),p(e,l),P(c,r,f),P(c,o,f),s||(a=he(l,"click",st(i[59])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(T(e),T(r),T(o)),s=!1,a()}}}function da(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;n=new rf({});let v=i[36]&&!i[8]&&ma(i);return{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_quality")}`,o=N(),s=E("div"),a=De(i[20]),c=N(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(w,b){P(w,e,b),p(e,t),z(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(_=[he(e,"click",st(i[60])),he(e,"keydown",i[80])],h=!0)},p(w,b){(!m||b[0]&1048576)&&et(a,w[20]),w[36]&&!w[8]?v?(v.p(w,b),b[0]&256|b[1]&32&&d(v,1)):(v=ma(w),v.c(),d(v,1),v.m(s,null)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!m||b[0]&1073741824&&f!==(f=G("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||b[0]&256)&&M(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(v),m=!0)},o(w){g(n.$$.fragment,w),g(v),m=!1},d(w){w&&T(e),F(n),v&&v.d(),i[112](null),h=!1,it(_)}}}function ma(i){let e,t,n;var l=i[36];function r(o){return{}}return l&&(t=Mn(l,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){P(o,e,s),t&&z(t,e,null),n=!0},p(o,s){if(s[1]&32&&l!==(l=o[36])){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(t=Mn(l,r()),U(t.$$.fragment),d(t.$$.fragment,1),z(t,e,null)):t=null}},i(o){n||(t&&d(t.$$.fragment,o),n=!0)},o(o){t&&g(t.$$.fragment,o),n=!1},d(o){o&&T(e),t&&F(t)}}}function pa(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;return n=new xp({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_playback_rate")}`,o=N(),s=E("div"),a=De(i[13]),c=De("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,w){P(v,e,w),p(e,t),z(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(_=[he(e,"click",st(ii(i[64]))),he(e,"keydown",i[83])],h=!0)},p(v,w){(!m||w[0]&8192)&&et(a,v[13]),(!m||w[1]&1&&f!==(f=G("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&T(e),F(n),i[113](null),h=!1,it(_)}}}function ha(i){let e,t,n,l,r,o,s,a=i[37].displayValue+"",c,f,m,h,_;return n=new sf({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=N(),s=E("div"),c=De(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(v,w){P(v,e,w),p(e,t),z(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),i[114](e),m=!0,h||(_=[he(e,"click",st(i[66])),he(e,"keydown",i[86])],h=!0)},p(v,w){(!m||w[1]&64)&&a!==(a=v[37].displayValue+"")&&et(c,a),(!m||w[1]&64&&f!==(f=G("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&M(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&T(e),F(n),i[114](null),h=!1,it(_)}}}function va(i){let e,t,n,l,r,o,s,a,c,f,m,h;return n=new Xp({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_traffic_saving")}`,o=N(),s=E("div"),a=De(i[29]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",i[8])},m(_,v){P(_,e,v),p(e,t),z(n,t,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[he(e,"click",st(i[61])),he(e,"keydown",i[89])],m=!0)},p(_,v){(!f||v[0]&536870912)&&et(a,_[29]),(!f||v[0]&536870912&&c!==(c=G("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&M(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&T(e),F(n),i[115](null),m=!1,it(h)}}}function ga(i){let e,t,n,l,r,o,s,a;return n=new Yp({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),M(e,"item-mobile",i[8])},m(c,f){P(c,e,f),p(e,t),z(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",st(i[69])),he(e,"keydown",i[92])],s=!0)},p(c,f){(!o||f[0]&256)&&M(e,"item-mobile",c[8])},i(c){o||(d(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&T(e),F(n),s=!1,it(a)}}}function ba(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C=i[39].showSupport&&dh(i);return l=new ah({}),f=new ch({}),{c(){C&&C.c(),e=N(),t=E("li"),n=E("div"),U(l.$$.fragment),r=N(),o=E("div"),o.textContent=`${G("menu_copy_debug")}`,s=N(),a=E("li"),c=E("div"),U(f.$$.fragment),m=N(),h=E("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",G("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=i[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(y,k){C&&C.m(y,k),P(y,e,k),P(y,t,k),p(t,n),z(l,n,null),p(t,r),p(t,o),P(y,s,k),P(y,a,k),p(a,c),z(f,c,null),p(a,m),p(a,h),v=!0,w||(b=[he(t,"click",st(i[71])),he(t,"keydown",i[94]),he(a,"click",st(i[72])),he(a,"keydown",i[95])],w=!0)},p(y,k){y[39].showSupport&&C.p(y,k),(!v||k[1]&128&&_!==(_=y[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(y){v||(d(C),d(l.$$.fragment,y),d(f.$$.fragment,y),v=!0)},o(y){g(C),g(l.$$.fragment,y),g(f.$$.fragment,y),v=!1},d(y){y&&(T(e),T(t),T(s),T(a)),C&&C.d(y),F(l),F(f),w=!1,it(b)}}}function dh(i){let e,t,n,l,r,o,s,a;return n=new lh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){P(c,e,f),p(e,t),z(n,t,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",st(i[70])),he(e,"keydown",i[93])],s=!0)},p:K,i(c){o||(d(n.$$.fragment,c),o=!0)},o(c){g(n.$$.fragment,c),o=!1},d(c){c&&T(e),F(n),s=!1,it(a)}}}function _a(i){let e,t,n,l,r,o,s,a,c,f,m,h;n=new xn({props:{direction:"left"}});let _=Qt(i[12]),v=[];for(let b=0;b<_.length;b+=1)v[b]=ka(ua(i,_,b));const w=b=>g(v[b],1,1,()=>{v[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_quality")}`,o=N(),s=E("div"),a=N(),c=E("ul");for(let b=0;b<v.length;b+=1)v[b].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[21]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(b,C){P(b,e,C),p(e,t),z(n,t,null),p(t,l),p(t,r),i[117](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);i[120](c),f=!0,m||(h=[he(t,"click",st(i[68])),he(c,"keydown",i[81])],m=!0)},p(b,C){if((!f||C[0]&256)&&M(t,"item-mobile",b[8]),C[0]&4352|C[2]&1048577){_=Qt(b[12]);let y;for(y=0;y<_.length;y+=1){const k=ua(b,_,y);v[y]?(v[y].p(k,C),d(v[y],1)):(v[y]=ka(k),v[y].c(),d(v[y],1),v[y].m(c,null))}for(fe(),y=_.length;y<v.length;y+=1)w(y);de()}(!f||C[0]&2097152)&&u(c,"style",b[21]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){d(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)d(v[C]);f=!0}},o(b){g(n.$$.fragment,b),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(b){b&&T(e),F(n),i[117](null),En(v,b),i[120](null),m=!1,it(h)}}}function wa(i){let e,t,n;return t=new Jo({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),z(t,e,null),n=!0},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function ya(i){let e,t,n;var l=Vo(i[148].value);function r(o){return{}}return l&&(t=Mn(l,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){P(o,e,s),t&&z(t,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Vo(o[148].value))){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{F(a,1)}),de()}l?(t=Mn(l,r()),U(t.$$.fragment),d(t.$$.fragment,1),z(t,e,null)):t=null}},i(o){n||(t&&d(t.$$.fragment,o),n=!0)},o(o){t&&g(t.$$.fragment,o),n=!1},d(o){o&&T(e),t&&F(t)}}}function ka(i){let e,t,n,l=i[148].displayValue+"",r,o,s=!i[8]&&Vo(i[148].value),a,c,f,m,h,_,v=i[148].selected&&wa(),w=s&&ya(i);function b(){return i[118](i[148])}function C(...y){return i[119](i[148],...y)}return{c(){e=E("li"),v&&v.c(),t=N(),n=E("div"),r=De(l),o=N(),w&&w.c(),a=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=i[148].displayValue),M(e,"item-mobile",i[8])},m(y,k){P(y,e,k),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),m=!0,h||(_=[he(e,"click",st(b)),he(e,"keydown",C)],h=!0)},p(y,k){i=y,i[148].selected?v?k[0]&4096&&d(v,1):(v=wa(),v.c(),d(v,1),v.m(e,t)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!m||k[0]&4096)&&l!==(l=i[148].displayValue+"")&&et(r,l),(!m||k[0]&256)&&M(n,"quality-title-mobile",i[8]),k[0]&4352&&(s=!i[8]&&Vo(i[148].value)),s?w?(w.p(i,k),k[0]&4352&&d(w,1)):(w=ya(i),w.c(),d(w,1),w.m(e,a)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),(!m||k[0]&4096&&c!==(c=i[148].value))&&u(e,"data-value",c),(!m||k[0]&4096&&f!==(f=i[148].displayValue))&&u(e,"aria-label",f),(!m||k[0]&256)&&M(e,"item-mobile",i[8])},i(y){m||(d(v),d(w),m=!0)},o(y){g(v),g(w),m=!1},d(y){y&&T(e),v&&v.d(),w&&w.d(),h=!1,it(_)}}}function Ca(i){let e,t,n,l,r,o,s,a,c,f,m,h;n=new xn({props:{direction:"left"}});let _=Qt(i[11]),v=[];for(let b=0;b<_.length;b+=1)v[b]=Ta(aa(i,_,b));const w=b=>g(v[b],1,1,()=>{v[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_playback_rate")}`,o=N(),s=E("div"),a=N(),c=E("ul");for(let b=0;b<v.length;b+=1)v[b].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[22]),M(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(b,C){P(b,e,C),p(e,t),z(n,t,null),p(t,l),p(t,r),i[121](t),p(e,o),p(e,s),p(e,a),p(e,c);for(let y=0;y<v.length;y+=1)v[y]&&v[y].m(c,null);i[124](c),f=!0,m||(h=[he(t,"click",st(i[68])),he(c,"keydown",i[84])],m=!0)},p(b,C){if((!f||C[0]&256)&&M(t,"item-mobile",b[8]),C[0]&2304|C[2]&8388616){_=Qt(b[11]);let y;for(y=0;y<_.length;y+=1){const k=aa(b,_,y);v[y]?(v[y].p(k,C),d(v[y],1)):(v[y]=Ta(k),v[y].c(),d(v[y],1),v[y].m(c,null))}for(fe(),y=_.length;y<v.length;y+=1)w(y);de()}(!f||C[0]&4194304)&&u(c,"style",b[22]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){d(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)d(v[C]);f=!0}},o(b){g(n.$$.fragment,b),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(b){b&&T(e),F(n),i[121](null),En(v,b),i[124](null),m=!1,it(h)}}}function Sa(i){let e,t,n;return t=new Jo({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),z(t,e,null),n=!0},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function Ta(i){let e,t,n,l=i[145].displayValue+"",r,o,s,a,c,f,m,h=i[145].selected&&Sa();function _(){return i[122](i[145])}function v(...w){return i[123](i[145],...w)}return{c(){e=E("li"),h&&h.c(),t=N(),n=E("div"),r=De(l),o=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[145].displayValue),M(e,"item-mobile",i[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(m=[he(e,"click",st(_)),he(e,"keydown",v)],f=!0)},p(w,b){i=w,i[145].selected?h?b[0]&2048&&d(h,1):(h=Sa(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&2048)&&l!==(l=i[145].displayValue+"")&&et(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||b[0]&2048&&s!==(s=i[145].value))&&u(e,"data-value",s),(!c||b[0]&2048&&a!==(a=i[145].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,it(m)}}}function Pa(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re;n=new xn({props:{direction:"left"}});let le=!i[9]&&Ea(),R=i[9]&&Aa();return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_traffic_saving")}`,o=N(),s=E("div"),a=N(),c=E("ul"),f=E("li"),le&&le.c(),m=N(),h=E("div"),h.textContent=`${G("traffic_saving_disable")}`,_=N(),v=E("li"),R&&R.c(),w=N(),b=E("div"),b.textContent=`${G("traffic_saving_enable")}`,C=N(),y=E("div"),k=N(),V=E("div"),q=E("span"),q.textContent=`${G("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",i[8]),u(b,"class","v-5r0p3"),M(b,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),M(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),M(c,"items-mobile",i[8]),u(y,"class","menu-divider v-5r0p3"),u(q,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),M(V,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(ie,Z){P(ie,e,Z),p(e,t),z(n,t,null),p(t,l),p(t,r),i[125](t),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),le&&le.m(f,null),p(f,m),p(f,h),p(c,_),p(c,v),R&&R.m(v,null),p(v,w),p(v,b),i[130](c),p(e,C),p(e,y),p(e,k),p(e,V),p(V,q),L=!0,j||(re=[he(t,"click",st(i[68])),he(f,"click",st(i[126])),he(f,"keydown",i[127]),he(v,"click",st(i[128])),he(v,"keydown",i[129]),he(c,"keydown",i[90])],j=!0)},p(ie,Z){(!L||Z[0]&256)&&M(t,"item-mobile",ie[8]),ie[9]?le&&(fe(),g(le,1,1,()=>{le=null}),de()):le?Z[0]&512&&d(le,1):(le=Ea(),le.c(),d(le,1),le.m(f,m)),(!L||Z[0]&256)&&M(h,"quality-title-mobile",ie[8]),(!L||Z[0]&256)&&M(f,"item-mobile",ie[8]),ie[9]?R?Z[0]&512&&d(R,1):(R=Aa(),R.c(),d(R,1),R.m(v,w)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),(!L||Z[0]&256)&&M(b,"quality-title-mobile",ie[8]),(!L||Z[0]&256)&&M(v,"item-mobile",ie[8]),(!L||Z[0]&8388608)&&u(c,"style",ie[23]),(!L||Z[0]&256)&&M(c,"items-mobile",ie[8]),(!L||Z[0]&256)&&M(V,"item-mobile",ie[8]),(!L||Z[0]&256)&&M(e,"menu-desktop",!ie[8]),(!L||Z[0]&256)&&M(e,"menu-mobile",ie[8])},i(ie){L||(d(n.$$.fragment,ie),d(le),d(R),L=!0)},o(ie){g(n.$$.fragment,ie),g(le),g(R),L=!1},d(ie){ie&&T(e),F(n),i[125](null),le&&le.d(),R&&R.d(),i[130](null),j=!1,it(re)}}}function Ea(i){let e,t,n;return t=new Jo({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),z(t,e,null),n=!0},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function Aa(i){let e,t,n;return t=new Jo({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),z(t,e,null),n=!0},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function Ia(i){let e,t,n,l,r,o,s,a,c,f;n=new xn({props:{direction:"left"}});let m=Qt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=Va(sa(i,m,v));const _=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=N(),s=E("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",G("aria_label_submenu_back")),M(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),M(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!i[8]),M(e,"menu-mobile",i[8])},m(v,w){P(v,e,w),p(e,t),z(n,t,null),p(t,l),p(t,r),p(e,o),p(e,s);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(s,null);i[133](s),a=!0,c||(f=[he(t,"click",st(i[68])),he(s,"keydown",i[87])],c=!0)},p(v,w){if((!a||w[0]&256)&&M(t,"item-mobile",v[8]),w[0]&1280|w[2]&67108896){m=Qt(v[10]);let b;for(b=0;b<m.length;b+=1){const C=sa(v,m,b);h[b]?(h[b].p(C,w),d(h[b],1)):(h[b]=Va(C),h[b].c(),d(h[b],1),h[b].m(s,null))}for(fe(),b=m.length;b<h.length;b+=1)_(b);de()}(!a||w[0]&256)&&M(s,"items-mobile",v[8]),(!a||w[0]&256)&&M(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&M(e,"menu-mobile",v[8])},i(v){if(!a){d(n.$$.fragment,v);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(v){v&&T(e),F(n),En(h,v),i[133](null),c=!1,it(f)}}}function La(i){let e,t,n;return t=new Jo({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),z(t,e,null),n=!0},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function Va(i){let e,t,n,l=i[142].displayValue+"",r,o,s,a,c,f,m,h=i[142].selected&&La();function _(){return i[131](i[142])}function v(...w){return i[132](i[142],...w)}return{c(){e=E("li"),h&&h.c(),t=N(),n=E("div"),r=De(l),o=N(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=i[142].displayValue),M(e,"item-mobile",i[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,o),c=!0,f||(m=[he(e,"click",st(_)),he(e,"keydown",v)],f=!0)},p(w,b){i=w,i[142].selected?h?b[0]&1024&&d(h,1):(h=La(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&1024)&&l!==(l=i[142].displayValue+"")&&et(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",i[8]),(!c||b[0]&1024&&s!==(s=i[142].value))&&u(e,"data-value",s),(!c||b[0]&1024&&a!==(a=i[142].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,it(m)}}}function mh(i){let e,t,n,l,r,o,s=i[14]&&ca(i),a=i[16]&&_a(i),c=i[17]&&Ca(i),f=i[19]&&Pa(i),m=i[18]&&Ia(i);return{c(){e=E("div"),s&&s.c(),t=N(),a&&a.c(),n=N(),c&&c.c(),l=N(),f&&f.c(),r=N(),m&&m.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!i[14]),M(e,"container-mobile",i[8])},m(h,_){P(h,e,_),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),m&&m.m(e,null),o=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&d(s,1)):(s=ca(h),s.c(),d(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=_a(h),a.c(),d(a,1),a.m(e,n)):a&&(fe(),g(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=Ca(h),c.c(),d(c,1),c.m(e,l)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=Pa(h),f.c(),d(f,1),f.m(e,r)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[18]?m?(m.p(h,_),_[0]&262144&&d(m,1)):(m=Ia(h),m.c(),d(m,1),m.m(e,null)):m&&(fe(),g(m,1,1,()=>{m=null}),de()),(!o||_[0]&16384)&&M(e,"hidden",!h[14]),(!o||_[0]&256)&&M(e,"container-mobile",h[8])},i(h){o||(d(s),d(a),d(c),d(f),d(m),o=!0)},o(h){g(s),g(a),g(c),g(f),g(m),o=!1},d(h){h&&T(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const sr=18;function ph(i,e,t){let n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,{ref:ie=void 0}=e,{supportLink:Z}=e,{playerControlsHeight:I=0}=e,{returnFocus:X}=e;const S=Ct(),$=gn(),D=S.state.currentQuality$;O(i,D,te=>t(103,w=te));const Y=S.state.availableQualities$;O(i,Y,te=>t(12,_=te));const Pe=S.state.autoQualityLimitingAvailable$;O(i,Pe,te=>t(107,k=te));const ye=S.state.isAutoQualityEnabled$;O(i,ye,te=>t(104,b=te));const Ie=S.state.currentPlaybackRate$;O(i,Ie,te=>t(13,v=te));const Ve=S.state.availablePlaybackRates$;O(i,Ve,te=>t(11,m=te));const we=S.state.currentSubtitle$;O(i,we,te=>t(37,le=te));const Ce=S.state.availableSubtitlesList$;O(i,Ce,te=>t(10,c=te));const Q=S.state.canDownload,ee=S.state.hasMpegSources$;O(i,ee,te=>t(108,V=te));const ue=S.ui.settingsMenuVisible;O(i,ue,te=>t(14,re=te));const se=S.ui.settingsMenuOpenedByKeyboard;O(i,se,te=>t(135,l=te));const Ue=S.ui.isMobile;O(i,Ue,te=>t(8,r=te));const Ne=S.ui.mobileNotReportControlHidden$;O(i,Ne,te=>t(105,C=te));const Le=S.state.canChangePlaybackSpeed$;O(i,Le,te=>t(106,y=te));const Ae=S.ui.isFullscreen;O(i,Ae,te=>t(111,j=te));const ae=S.state.trafficSavingEnabled$;O(i,ae,te=>t(9,s=te));const pe=S.ui.playerSize;O(i,pe,te=>t(110,L=te));const oe=S.ui.debugPanelVisible;O(i,oe,te=>t(38,R=te));const Te=S.ui.playerSize;O(i,Te,te=>t(109,q=te));const me=S.state.isInteractiveTime$,Se=S.actions.internal.downloadVideo,Ke=S.actions.internal.closeSettingsMenu;let Re=!0,Je=!1,xe=!1,nt=!1,at=!1,Pt=!1;function ht(){l||X==null||X(),Ke(),Pt=!1}function Fe(){t(15,Re=!1),t(16,Je=!0)}function _t(){t(15,Re=!1),t(19,at=!0)}function Ut(te){S.actions.internal.setQuality(te),ht()}function ce(te){S.actions.internal.setTrafficSavingEnabled(te),ht()}function wt(){t(15,Re=!1),t(17,xe=!0)}function ot(te){S.actions.internal.setPlaybackRate(te),ht()}function Lt(){t(15,Re=!1),t(18,nt=!0)}function ut(te){S.actions.internal.setSubtitle(te),ht()}function Et(){t(15,Re=!0),t(16,Je=!1),t(17,xe=!1),t(18,nt=!1),t(19,at=!1)}function $e(){Se(),ht()}function He(){window.open(Z,"_blank"),ht(),S.actions.internal.pause()}function St(){wr(S.actions.internal.getDebugTextData()),ht()}function Ki(){oe.set(!0),ht()}function ci(){Pt=!0}function fi(){Pt=!1}function rn(te,rt,jt){if(!te)return"...";const Ei=rt.find(dn=>dn.value===te),vt=Ei?Ei.displayValue:te;return jt?te===yo.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:vt}):vt}let di,Xt,ni,Ot,oi,Di,li,mi,pi,Jt,zi,hi,Bt,vi,Fi,It,Kt,gi=Be(!1);O(i,gi,te=>t(102,h=te));let Ii,lt,mt=Be(!1);O(i,mt,te=>t(101,f=te));let ri,Rt,bi=Be(!1);O(i,bi,te=>t(100,a=te));let Li,Dt,zt=Be(!1);O(i,zt,te=>t(99,o=te));const Gi=te=>{Xc(te,Ke)},_i=async te=>{pl(te,Fe,()=>{const rt=_.findIndex(jt=>jt.selected);return Kt.childNodes[rt]})},Xi=async te=>{hl(te,Et,gi,Ke)},Vi=(te,rt)=>{ln(te,()=>Ut(rt))},Ji=async te=>{pl(te,wt,()=>{const rt=m.findIndex(jt=>jt.selected);return lt.childNodes[rt]})},si=async te=>{hl(te,Et,mt,Ke)},Mi=(te,rt)=>{ln(te,()=>ot(rt))},Nt=async te=>{pl(te,Lt,()=>{const rt=c.findIndex(jt=>jt.selected);return Rt.childNodes[rt]})},qt=async te=>{hl(te,Et,bi,Ke)},wi=(te,rt)=>{ln(te,()=>ut(rt))},yi=async te=>{pl(te,_t,()=>{const rt=s?2:0;return Dt.childNodes[rt]})},Bi=async te=>{hl(te,Et,zt,Ke)},At=(te,rt)=>{ln(te,()=>ce(rt))},Hi=te=>{ln(te,()=>$e())},Ui=te=>{ln(te,()=>He())},ki=te=>{ln(te,()=>St())},qi=te=>{ln(te,()=>Ki())};vn(()=>{const te=me.subscribe(rt=>{rt&&!r&&!Pt&&!l&&ht()});return()=>{te()}});function ji(te){ke[te?"unshift":"push"](()=>{It=te,t(4,It)})}function Wi(te){ke[te?"unshift":"push"](()=>{Ii=te,t(5,Ii)})}function Ci(te){ke[te?"unshift":"push"](()=>{ri=te,t(6,ri)})}function Si(te){ke[te?"unshift":"push"](()=>{Li=te,t(7,Li)})}function xt(te){ke[te?"unshift":"push"](()=>{ie=te,t(0,ie)})}function $t(te){ke[te?"unshift":"push"](()=>{Xt=te,t(1,Xt)})}const Me=te=>Ut(te.value),Ri=(te,rt)=>Vi(rt,te.value);function Zi(te){ke[te?"unshift":"push"](()=>{Kt=te,t(32,Kt)})}function qe(te){ke[te?"unshift":"push"](()=>{ni=te,t(2,ni)})}const xi=te=>ot(te.value),Ti=(te,rt)=>Mi(rt,te.value);function $i(te){ke[te?"unshift":"push"](()=>{lt=te,t(33,lt)})}function en(te){ke[te?"unshift":"push"](()=>{Ot=te,t(3,Ot)})}const sn=()=>ce(!1),Gt=te=>At(te,!1),ai=()=>ce(!0),ui=te=>At(te,!0);function an(te){ke[te?"unshift":"push"](()=>{Dt=te,t(35,Dt)})}const Yi=te=>ut(te),tn=(te,rt)=>wi(rt,te);function Pi(te){ke[te?"unshift":"push"](()=>{Rt=te,t(34,Rt)})}return i.$$set=te=>{"ref"in te&&t(0,ie=te.ref),"supportLink"in te&&t(96,Z=te.supportLink),"playerControlsHeight"in te&&t(97,I=te.playerControlsHeight),"returnFocus"in te&&t(98,X=te.returnFocus)},i.$$.update=()=>{var te,rt,jt,Ei;if(i.$$.dirty[0]&16384&&re&&(t(15,Re=!0),t(16,Je=!1),t(17,xe=!1),t(18,nt=!1),t(19,at=!1)),i.$$.dirty[3]&1024&&t(36,n=Vo(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,di=rn(w,_,b)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&j)t(21,oi=`max-height: ${Math.round(L.height*.6)}px`);else if(r)t(21,oi="");else{const vt=q.height-sr-((te=Xt==null?void 0:Xt.clientHeight)!=null?te:0)-I;t(21,oi=`max-height: ${vt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,Di="");else{const vt=q.height-sr-((rt=ni==null?void 0:ni.clientHeight)!=null?rt:0)-I;t(22,Di=`max-height: ${vt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,li="");else{const vt=q.height-sr-((jt=Ot==null?void 0:Ot.clientHeight)!=null?jt:0)-I;t(23,li=`max-height: ${vt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,mi=Q&&V&&!C),i.$$.dirty[3]&20480&&t(25,pi=$.features.trafficSaving&&!C&&k),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,Jt=c.length>0&&!C),i.$$.dirty[3]&12288&&t(27,zi=!!y&&!C),i.$$.dirty[3]&4096&&t(28,hi=!C),i.$$.dirty[0]&512&&t(29,Bt=G(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,vi=b?G("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(31,Fi=(Ei=m.find(vt=>vt.value===v))==null?void 0:Ei.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&ml(It,gi,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&ml(Ii,mt,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&ml(ri,bi,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&ml(Li,zt,o)},[ie,Xt,ni,Ot,It,Ii,ri,Li,r,s,c,m,_,v,re,Re,Je,xe,nt,at,di,oi,Di,li,mi,pi,Jt,zi,hi,Bt,vi,Fi,Kt,lt,Rt,Dt,n,le,R,$,D,Y,Pe,ye,Ie,Ve,we,Ce,ee,ue,se,Ue,Ne,Le,Ae,ae,pe,oe,Te,ht,Fe,_t,Ut,ce,wt,ot,Lt,ut,Et,$e,He,St,Ki,ci,fi,gi,mt,bi,zt,Gi,_i,Xi,Vi,Ji,si,Mi,Nt,qt,wi,yi,Bi,At,Hi,Ui,ki,qi,Z,I,X,o,a,f,h,w,b,C,y,k,V,q,L,j,ji,Wi,Ci,Si,xt,$t,Me,Ri,Zi,qe,xi,Ti,$i,en,sn,Gt,ai,ui,an,Yi,tn,Pi]}class af extends _e{constructor(e){super(),be(this,e,ph,mh,ge,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},fh,[-1,-1,-1,-1,-1])}}function hh(i){Ze(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function vh(i){let e,t,n;return t=new rf({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=E("span"),U(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){P(l,e,r),z(t,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),t.$set(o)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function gh(i){let e,t,n;function l(o){i[9](o)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[vh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function bh(i,e,t){let n,l,r,{ref:o=void 0}=e;const s=Ct(),a=s.state.currentQuality$;O(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;O(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;O(i,m,w=>t(3,l=w));let h;function _(w){const b=Rr(w);f(b)}function v(w){o=w,t(0,o)}return i.$$set=w=>{"ref"in w&&t(0,o=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,m,_,v]}class zr extends _e{constructor(e){super(),be(this,e,bh,gh,ge,{ref:0},hh)}}function _h(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class wh extends _e{constructor(e){super(),be(this,e,null,_h,ge,{})}}function yh(i){let e,t;return e=new sf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function kh(i){let e,t;return e=new wh({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ch(i){let e,t,n,l;const r=[kh,yh],o=[];function s(a,c){return a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t||(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Sh(i){let e,t;return e=new Ai({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Zo[Ee.KeyC],$$slots:{default:[Ch]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Th(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return i.$$set=o=>{"isSubtitlesEnabled"in o&&t(0,n=o.isSubtitlesEnabled),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class Ph extends _e{constructor(e){super(),be(this,e,Th,Sh,ge,{isSubtitlesEnabled:0,click:1})}}function Eh(i){Ze(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Ma(i){let e,t;return{c(){e=E("span"),t=De(i[3]),u(e,"class","duration v-19o2urr")},m(n,l){P(n,e,l),p(e,t)},p(n,l){l&8&&et(t,n[3])},d(n){n&&T(e)}}}function Ah(i){let e,t,n,l,r=i[2]&&Ma(i);return{c(){e=E("div"),t=E("span"),n=De(i[4]),l=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",i[1])},m(o,s){P(o,e,s),p(e,t),p(t,n),p(e,l),r&&r.m(e,null),i[7](e)},p(o,[s]){s&16&&et(n,o[4]),o[2]?r?r.p(o,s):(r=Ma(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",o[1])},i:K,o:K,d(o){o&&T(e),r&&r.d(),i[7](null)}}}function Ih(i,e,t){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(m){ke[m?"unshift":"push"](()=>{s=m,t(0,s)})}return i.$$set=m=>{"isMobile"in m&&t(1,n=m.isMobile),"duration"in m&&t(5,l=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,o=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=zn(l)),i.$$.dirty&64&&t(4,c=zn(r))},[s,n,o,a,c,l,r,f]}class uf extends _e{constructor(e){super(),be(this,e,Ih,Ah,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Eh)}}function Lh(i){Ze(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Vh(i){let e,t,n,l,r,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",o="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){P(s,e,a),p(e,t),p(t,n),p(t,l),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&T(e)}}}function Mh(i,e,t){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,l=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,o=r(n,l))},[o,n,l]}class Bl extends _e{constructor(e){super(),be(this,e,Mh,Vh,ge,{volume:1,muted:2},Lh)}}function Bh(i){let e,t;const n=i[4].default,l=Fn(n,i,i[3],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){P(r,e,o),l&&l.m(e,null),i[5](e),t=!0},p(r,[o]){l&&l.p&&(!t||o&8)&&Un(l,n,r,r[3],t?Hn(n,r[3],o,null):qn(r[3]),null)},i(r){t||(d(l,r),t=!0)},o(r){g(l,r),t=!1},d(r){r&&T(e),l&&l.d(r),i[5](null)}}}function Rh(i,e,t){let n,{$$slots:l={},$$scope:r}=e;const s=Ct().ui.overlayContainer$;O(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};vn(()=>(f(n),()=>c(n)));function m(h){ke[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,l,m]}class Nh extends _e{constructor(e){super(),be(this,e,Rh,Bh,ge,{})}}function Oh(i){Ze(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function Ba(i){let e,t;return e=new Nh({props:{$$slots:{default:[Dh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&262387&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Dh(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("div"),n=De(i[1]),l=N(),r=E("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",o=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),M(e,"active",i[0])},m(a,c){P(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),i[17](e)},p(a,c){c&2&&et(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&T(e),i[17](null)}}}function zh(i){let e,t,n,l,r,o;const s=i[15].default,a=Fn(s,i,i[18],null);let c=i[1]&&Ba(i);return{c(){e=E("div"),a&&a.c(),t=N(),c&&c.c(),n=pt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),M(e,"full-width",i[2])},m(f,m){P(f,e,m),a&&a.m(e,null),i[16](e),P(f,t,m),c&&c.m(f,m),P(f,n,m),l=!0,r||(o=[he(e,"mouseenter",i[11]),he(e,"mousemove",i[11]),he(e,"mouseleave",i[12]),he(e,"mousedown",i[12]),he(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!l||m&262144)&&Un(a,s,f,f[18],l?Hn(s,f[18],m,null):qn(f[18]),null),(!l||m&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Ba(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){l||(d(a,f),d(c),l=!0)},o(f){g(a,f),g(c),l=!1},d(f){f&&(T(e),T(t),T(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,it(o)}}}const vl=5;function Fh(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,_,v,w=0,b=vl,C=0,y=0;const k=gn(),V=Ct(),q=V.ui.playerSize;O(i,q,S=>t(21,l=S));const L=V.ui.overlayContainer$;O(i,L,S=>t(20,n=S));const j=V.getLogger().createComponentLog("Tooltip component"),re=()=>{if(!n)return;const S=n.getBoundingClientRect(),$=h.getBoundingClientRect(),D=$.width,Y=_.clientWidth,Pe=l.width,ye=(D-Y)/2,Ie=$.left+c-S.left;let Ve=Ie+ye;const we=$.top+f-S.top;let Ce=Y/2-vl;const Q=Ve<rl,ee=Ve+Y>Pe-rl;Q&&(Ve=rl,Ce=Ie+$.width/2-2.5*vl),ee&&(Ve=Pe-rl-Y,Ce=$.left-S.left+$.width/2-Ve-vl),t(6,C=Ve),t(7,y=we),t(5,w=Ce)},le=()=>{try{if(!n||!h)return;re(),t(0,a=!0)}catch(S){j({message:String(S)})}},R=()=>{t(0,a=!1)},ie=()=>{_&&(v||(v=window.setTimeout(le,k.controls.hideTimeoutTooltips)),a&&le())},Z=()=>{R(),window.clearTimeout(v),v=void 0};Al(()=>window.clearTimeout(v));function I(S){ke[S?"unshift":"push"](()=>{h=S,t(3,h)})}function X(S){ke[S?"unshift":"push"](()=>{_=S,t(4,_)})}return i.$$set=S=>{"content"in S&&t(1,s=S.content),"active"in S&&t(0,a=S.active),"translateX"in S&&t(13,c=S.translateX),"translateY"in S&&t(14,f=S.translateY),"isFullWidthWrapper"in S&&t(2,m=S.isFullWidthWrapper),"$$scope"in S&&t(18,o=S.$$scope)},[a,s,m,h,_,w,C,y,b,q,L,ie,Z,c,f,r,I,X,o]}class cf extends _e{constructor(e){super(),be(this,e,Fh,zh,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Oh)}}function Hh(i){Ze(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function Uh(i){let e;const t=i[16].default,n=Fn(t,i,i[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Un(n,t,l,l[21],e?Hn(t,l[21],r,null):qn(l[21]),null)},i(l){e||(d(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function qh(i){let e,t;return e=new cf({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[jh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&512&&(r.content=n[9]),l&128&&(r.translateX=n[7]),l&256&&(r.translateY=n[8]),l&16&&(r.isFullWidthWrapper=n[4]),l&2097152&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function jh(i){let e;const t=i[16].default,n=Fn(t,i,i[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&Un(n,t,l,l[21],e?Hn(t,l[21],r,null):qn(l[21]),null)},i(l){e||(d(n,l),e=!0)},o(l){g(n,l),e=!1},d(l){n&&n.d(l)}}}function Wh(i){let e,t,n,l,r,o,s,a,c;const f=[qh,Uh],m=[];function h(_,v){return _[3]&&_[5]&&!_[10]?0:1}return t=h(i),n=m[t]=f[t](i),{c(){e=E("div"),n.c(),u(e,"class",l="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),Ao(()=>i[20].call(e))},m(_,v){P(_,e,v),m[t].m(e,null),i[19](e),o=Sr(e,i[20].bind(e)),s=!0,a||(c=[he(e,"pointerdown",st(ii(i[17]))),he(e,"click",st(ii(i[18])))],a=!0)},p(_,[v]){let w=t;t=h(_),t===w?m[t].p(_,v):(fe(),g(m[w],1,1,()=>{m[w]=null}),de(),n=m[t],n?n.p(_,v):(n=m[t]=f[t](_),n.c()),d(n,1),n.m(e,null)),(!s||v&4&&l!==(l="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",l),(!s||v&64&&r!==(r=_[6]||null))&&u(e,"aria-hidden",r)},i(_){s||(d(n),s=!0)},o(_){g(n),s=!1},d(_){_&&T(e),m[t].d(),i[19](null),o(),a=!1,it(c)}}}function Zh(i,e,t){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{disabledTooltipContent:v=G("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:b=0}=e,{initialTranslateYPx:C=-18}=e;const y=Ct(),k=y.ui.isMobile;O(i,k,R=>t(10,l=R));const V=y.state.graphIsOpened$;O(i,V,R=>t(15,n=R));let q;function L(R){Eo.call(this,i,R)}function j(R){Eo.call(this,i,R)}function re(R){ke[R?"unshift":"push"](()=>{f=R,t(0,f)})}function le(){m=this.clientWidth,t(1,m)}return i.$$set=R=>{"className"in R&&t(2,s=R.className),"disabled"in R&&t(13,a=R.disabled),"hasTooltip"in R&&t(3,c=R.hasTooltip),"ref"in R&&t(0,f=R.ref),"width"in R&&t(1,m=R.width),"isFullWidthTooltip"in R&&t(4,h=R.isFullWidthTooltip),"tooltipContent"in R&&t(5,_=R.tooltipContent),"disabledTooltipContent"in R&&t(14,v=R.disabledTooltipContent),"isAriaHidden"in R&&t(6,w=R.isAriaHidden),"initialTranslateXPx"in R&&t(7,b=R.initialTranslateXPx),"initialTranslateYPx"in R&&t(8,C=R.initialTranslateYPx),"$$scope"in R&&t(21,o=R.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,q=n?G("tooltip_disabled_when_graph_on"):v):t(9,q=_))},[f,m,s,c,h,_,w,b,C,q,l,k,V,a,v,n,r,L,j,re,le,o]}class Zt extends _e{constructor(e){super(),be(this,e,Zh,Wh,ge,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Hh)}}function Kh(i){let e,t,n,l,r;return{c(){e=B("svg"),t=B("rect"),l=B("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){P(o,e,s),p(e,t),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&T(e)}}}function Gh(i,e,t){let{completed:n}=e;return i.$$set=l=>{"completed"in l&&t(0,n=l.completed)},[n]}class ff extends _e{constructor(e){super(),be(this,e,Gh,Kh,ge,{completed:0})}}function Yh(i){Ze(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Qh(i){let e,t,n,l,r;return t=new ff({props:{completed:!!i[0].completed}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Ao(()=>i[3].call(e)),M(e,"disabled",i[1])},m(o,s){P(o,e,s),z(t,e,null),l=Sr(e,i[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",o[1])},i(o){r||(d(t.$$.fragment,o),r=!0)},o(o){g(t.$$.fragment,o),r=!1},d(o){o&&T(e),F(t),l()}}}function Xh(i){let e,t;return e=new Zt({props:{tooltipContent:G(i[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:i[1],width:i[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[Qh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Jh(i,e,t){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,l=s.disabled)},[n,l,r,o]}class xh extends _e{constructor(e){super(),be(this,e,Jh,Xh,ge,{videoEpisode:0,disabled:1},Yh)}}function $h(i){Ze(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Ra(i,e,t){const n=i.slice();return n[2]=e[t],n}function Na(i){let e,t,n,l,r,o,s,a,c;return{c(){e=E("div"),t=E("div"),n=E("div"),r=N(),o=E("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),M(o,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),M(e,"mobile",i[1])},m(f,m){P(f,e,m),p(e,t),p(t,n),p(t,r),p(t,o),p(e,a)},p(f,m){m&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),m&2&&M(o,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&M(e,"mobile",f[1])},d(f){f&&T(e)}}}function ev(i){let e,t=Qt(i[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Na(Ra(i,t,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){t=Qt(l[0]);let o;for(o=0;o<t.length;o+=1){const s=Ra(l,t,o);n[o]?n[o].p(s,r):(n[o]=Na(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},i:K,o:K,d(l){l&&T(e),En(n,l)}}}function tv(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class iv extends _e{constructor(e){super(),be(this,e,tv,ev,ge,{videoEpisodes:0,isMobile:1},$h)}}function nv(i){Ze(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Oa(i,e,t){const n=i.slice();return n[48]=e[t],n}function Da(i){let e,t,n=Qt(i[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=Fa(Oa(i,n,o));const r=o=>g(l[o],1,1,()=>{l[o]=null});return{c(){e=E("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),M(e,"mobile",i[5]),M(e,"hidden",i[5]&&!i[20])},m(o,s){P(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);t=!0},p(o,s){if(s[0]&2097664){n=Qt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=Oa(o,n,a);l[a]?(l[a].p(c,s),d(l[a],1)):(l[a]=Fa(c),l[a].c(),d(l[a],1),l[a].m(e,null))}for(fe(),a=n.length;a<l.length;a+=1)r(a);de()}(!t||s[0]&32)&&M(e,"mobile",o[5]),(!t||s[0]&1048608)&&M(e,"hidden",o[5]&&!o[20])},i(o){if(!t){for(let s=0;s<n.length;s+=1)d(l[s]);t=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)g(l[s]);t=!1},d(o){o&&T(e),En(l,o)}}}function za(i){let e,t;return e=new xh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Fa(i){let e,t,n=i[48].interactive&&za(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),t=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&d(n,1)):(n=za(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(d(n),t=!0)},o(l){g(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function ov(i){let e,t,n,l,r,o;return{c(){e=E("div"),t=E("div"),l=N(),r=E("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${i[12]*100}%);`),M(r,"active-live",i[4]),M(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){P(s,e,a),p(e,t),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:K,o:K,d(s){s&&T(e)}}}function lv(i){let e,t;return e=new iv({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function rv(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v=i[8]&&Da(i);const w=[lv,ov],b=[];function C(y,k){return y[21].length?0:1}return n=C(i),l=b[n]=w[n](i),{c(){var y;v&&v.c(),e=N(),t=E("div"),l.c(),r=N(),o=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",i[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${i[13]*100}%);`),M(o,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(y=i[1])!=null?y:null),M(t,"disabled",i[9]),M(t,"slider-dragging",i[20]),M(t,"hidden",i[2]),M(t,"slider-vertical",i[3]),M(t,"no-handle",i[10]),M(t,"square",i[7])},m(y,k){v&&v.m(y,k),P(y,e,k),P(y,t,k),b[n].m(t,null),p(t,r),p(t,o),p(o,s),i[42](t),m=!0,h||(_=[he(t,"pointerdown",ii(i[22])),he(t,"pointermove",ii(i[23])),he(t,"pointerup",ii(i[24])),he(t,"pointerenter",ii(i[25])),he(t,"pointerleave",ii(i[26])),he(t,"click",st(Xe)),he(t,"wheel",i[27])],h=!0)},p(y,k){var q;y[8]?v?(v.p(y,k),k[0]&256&&d(v,1)):(v=Da(y),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(fe(),g(v,1,1,()=>{v=null}),de());let V=n;n=C(y),n===V?b[n].p(y,k):(fe(),g(b[V],1,1,()=>{b[V]=null}),de(),l=b[n],l?l.p(y,k):(l=b[n]=w[n](y),l.c()),d(l,1),l.m(t,r)),(!m||k[0]&16)&&M(s,"active-live",y[4]),(!m||k[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(o,"style",a),(!m||k[0]&1024)&&M(o,"hidden",y[10]),(!m||k[0]&1&&c!==(c="slider "+y[0]+" v-1golz1y"))&&u(t,"class",c),(!m||k[0]&16384)&&u(t,"aria-label",y[14]),(!m||k[0]&32768)&&u(t,"aria-valuemin",y[15]),(!m||k[0]&65536)&&u(t,"aria-valuemax",y[16]),(!m||k[0]&131072)&&u(t,"aria-valuenow",y[17]),(!m||k[0]&262144)&&u(t,"aria-valuetext",y[18]),(!m||k[0]&2&&f!==(f=(q=y[1])!=null?q:null))&&u(t,"data-testid",f),(!m||k[0]&513)&&M(t,"disabled",y[9]),(!m||k[0]&1048577)&&M(t,"slider-dragging",y[20]),(!m||k[0]&5)&&M(t,"hidden",y[2]),(!m||k[0]&9)&&M(t,"slider-vertical",y[3]),(!m||k[0]&1025)&&M(t,"no-handle",y[10]),(!m||k[0]&129)&&M(t,"square",y[7])},i(y){m||(d(v),d(l),m=!0)},o(y){g(v),g(l),m=!1},d(y){y&&(T(e),T(t)),v&&v.d(y),b[n].d(),i[42](null),h=!1,it(_)}}}function sv(i,e,t){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:w=!1}=e,{disabled:b=!1}=e,{hideHandel:C=!1}=e,y,k,{onPointerDown:V=Xe}=e,{onHandleMove:q=Xe}=e,{onPointerUp:L=Xe}=e,{onPointerEnter:j=Xe}=e,{onPointerMove:re=Xe}=e,{onPointerLeave:le=Xe}=e,{onWheelUp:R=Xe}=e,{onWheelDown:ie=Xe}=e,{onWheelLeft:Z=Xe}=e,{onWheelRight:I=Xe}=e,{loadedProgress:X=0}=e,{filledProgress:S=0}=e,{handleProgress:$=0}=e,{ariaLabel:D=""}=e,{ariaValueMin:Y=void 0}=e,{ariaValueMax:Pe=void 0}=e,{ariaValueNow:ye=void 0}=e,{ariaValueText:Ie=""}=e;const Ve=gn();let we=!1,Ce;function Q(oe){if(we)return;t(20,we=!0),k=y.getBoundingClientRect();const Te=Le(oe.clientX,oe.clientY);V(Te),y.setPointerCapture(oe.pointerId)}function ee(oe){const Te=Le(oe.clientX,oe.clientY),me=Ae(oe.clientX);re(Te,me,k.width),we&&q(Te)}function ue(oe){if(!we)return;t(20,we=!1);const Te=Le(oe.clientX,oe.clientY);L(Te)}function se(oe){k=y.getBoundingClientRect();const Te=Le(oe.clientX,oe.clientY),me=Ae(oe.clientX);j(Te,me,k.width)}function Ue(){le()}function Ne(oe){v&&(oe.preventDefault(),oe.deltaY<0?R():oe.deltaY>0?ie():oe.deltaX>0?I():Z())}function Le(oe,Te){return a?Math.max(0,Math.min(1,(k.height-(Te-k.top))/k.height)):Math.min(Math.max(oe-k.x,0),k.width)/k.width}function Ae(oe){return Math.min(Math.max(oe-k.x,0),k.width)}function ae(oe,Te){const me=Ve.features.episodesClustering&&!w?Ve.episodeMinWidthPc:0,Se=[];let Ke=0,Re=0,Je=0;for(let at=1;at<_.length;at++)Re=_[at].time/Ce*100,Re-Ke>me&&(Se.push({from:Ke,width:Math.max(0,Re-Ke),loadedWidth:Math.max(0,Math.min(Re,oe)-Ke),filledWidth:Math.max(0,Math.min(Re,Te)-Ke),interactive:_[at-1].interactive,completed:_[at-1].completed}),Ke=_[at].time/Ce*100,Je++);const xe={from:Ke,width:Math.max(0,100-Ke),loadedWidth:Math.max(0,Math.min(oe,100)-Ke),filledWidth:Math.max(0,Math.min(Te,100)-Ke),interactive:_[Je].interactive,completed:_[Je].completed};100-Ke<me?(Je-=1,Se[Je].width+=100-Ke,Se[Je].loadedWidth+=Math.max(0,Math.min(oe,100)-Ke),Se[Je].filledWidth+=Math.max(0,Math.min(Te,100)-Ke)):Se[Je]=xe;const nt=_[0].time;if(nt!==0){const at=nt/Ce*100;Se.unshift({from:0,width:at,loadedWidth:Math.min(at,oe),filledWidth:Math.min(at,Te)})}return Se}function pe(oe){ke[oe?"unshift":"push"](()=>{y=oe,t(19,y)})}return i.$$set=oe=>{"className"in oe&&t(0,r=oe.className),"testId"in oe&&t(1,o=oe.testId),"isHidden"in oe&&t(2,s=oe.isHidden),"isVertical"in oe&&t(3,a=oe.isVertical),"isActiveLive"in oe&&t(4,c=oe.isActiveLive),"isMobile"in oe&&t(5,f=oe.isMobile),"isAds"in oe&&t(6,m=oe.isAds),"squareBorders"in oe&&t(7,h=oe.squareBorders),"videoEpisodes"in oe&&t(28,_=oe.videoEpisodes),"withWheelHandler"in oe&&t(29,v=oe.withWheelHandler),"isInteractive"in oe&&t(8,w=oe.isInteractive),"disabled"in oe&&t(9,b=oe.disabled),"hideHandel"in oe&&t(10,C=oe.hideHandel),"onPointerDown"in oe&&t(30,V=oe.onPointerDown),"onHandleMove"in oe&&t(31,q=oe.onHandleMove),"onPointerUp"in oe&&t(32,L=oe.onPointerUp),"onPointerEnter"in oe&&t(33,j=oe.onPointerEnter),"onPointerMove"in oe&&t(34,re=oe.onPointerMove),"onPointerLeave"in oe&&t(35,le=oe.onPointerLeave),"onWheelUp"in oe&&t(36,R=oe.onWheelUp),"onWheelDown"in oe&&t(37,ie=oe.onWheelDown),"onWheelLeft"in oe&&t(38,Z=oe.onWheelLeft),"onWheelRight"in oe&&t(39,I=oe.onWheelRight),"loadedProgress"in oe&&t(11,X=oe.loadedProgress),"filledProgress"in oe&&t(12,S=oe.filledProgress),"handleProgress"in oe&&t(13,$=oe.handleProgress),"ariaLabel"in oe&&t(14,D=oe.ariaLabel),"ariaValueMin"in oe&&t(15,Y=oe.ariaValueMin),"ariaValueMax"in oe&&t(16,Pe=oe.ariaValueMax),"ariaValueNow"in oe&&t(17,ye=oe.ariaValueNow),"ariaValueText"in oe&&t(18,Ie=oe.ariaValueText)},i.$$.update=()=>{var oe;i.$$.dirty[0]&65536&&t(40,Ce=Pe!=null?Pe:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((oe=_[_.length-1])==null?void 0:oe.time)<Ce),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,l=_.length&&n&&Ce?ae(X*100,S*100):[])},[r,o,s,a,c,f,m,h,w,b,C,X,S,$,D,Y,Pe,ye,Ie,y,we,l,Q,ee,ue,se,Ue,Ne,_,v,V,q,L,j,re,le,R,ie,Z,I,Ce,n,pe]}class Fr extends _e{constructor(e){super(),be(this,e,sv,rv,ge,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},nv,[-1,-1])}}const kn=(i,e)=>Lo[i]>=Lo[e],av=(i,e)=>Lo[i]<Lo[e],df=(i,e)=>Lo[i]<=Lo[e],uv=i=>i>Co.L?Mt.XL:i>Co.M?Mt.L:i>Co.S?Mt.M:i>Co.XS?Mt.S:Mt.XS;function cv(i){Ze(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function fv(i){let e,t;return e=new Bl({props:{volume:i[4],muted:i[2]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&16&&(r.volume=n[4]),l[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function dv(i){let e,t;return e=new Ai({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Zo[Ee.KeyM],$$slots:{default:[fv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&1&&(r.disabled=!n[0]),l[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&2&&(r.click=n[1]),l[0]&20|l[1]&1&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ha(i){let e,t,n;return t=new Fr({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:Xe,onPointerLeave:i[3]?i[18]:Xe,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",i[3])},m(l,r){P(l,e,r),z(t,e,null),n=!0},p(l,r){const o={};r[0]&8&&(o.className=l[3]?"volumeBar-slider-vertical":""),r[0]&40&&(o.isHidden=l[3]&&!l[5]),r[0]&8&&(o.isVertical=l[3]),r[0]&8&&(o.onPointerEnter=l[3]?l[17]:Xe),r[0]&8&&(o.onPointerLeave=l[3]?l[18]:Xe),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&8&&(o.testId=l[3]?"volume-slider-vertical":"volume-slider"),t.$set(o),(!n||r[0]&8)&&M(e,"volumeBar-vertical",l[3])},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function mv(i){let e,t,n,l,r,o;t=new cf({props:{content:i[6],translateY:-18,$$slots:{default:[dv]},$$scope:{ctx:i}}});let s=i[0]&&Ha(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",i[3])},m(a,c){P(a,e,c),z(t,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[he(e,"mouseenter",function(){Tn(i[3]?i[19]:Xe)&&(i[3]?i[19]:Xe).apply(this,arguments)}),he(e,"mouseleave",function(){Tn(i[3]?i[20]:Xe)&&(i[3]?i[20]:Xe).apply(this,arguments)}),he(e,"wheel",ii(i[21]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=Ha(i),s.c(),d(s,1),s.m(e,null)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!l||c[0]&8)&&M(e,"vertical",i[3])},i(a){l||(d(t.$$.fragment,a),d(s),l=!0)},o(a){g(t.$$.fragment,a),g(s),l=!1},d(a){a&&T(e),F(t),s&&s.d(),r=!1,it(o)}}}function pv(i,e,t){let n,l,r,{isAudioAvailable:o=!0}=e,{click:s}=e;const a=Ct(),c=gn(),f=a.state.volume$;O(i,f,Y=>t(4,n=Y));const m=a.state.muted$;O(i,m,Y=>t(23,r=Y));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;O(i,_,Y=>t(22,l=Y));let v=!1,w,b,C,y,k,V,q=1,L=!1;function j(Y){q=n,h(Y)}function re(){ef(a,n,c.controls.volumeStepWheel)}function le(){tf(a,n,c.controls.volumeStepWheel)}function R(Y){h(Y)}function ie(Y){const Pe=Y;h(Pe,Pe===0?q:Pe)}function Z(){L=!0}function I(){L=!1,$()}function X(){clearTimeout(w),t(5,v=!0)}function S(){$()}function $(){w=window.setTimeout(()=>{L||t(5,v=!1)},c.controls.volumeBarTimeout)}function D(Y){Y.deltaY<0?re():Y.deltaY>0&&le()}return i.$$set=Y=>{"isAudioAvailable"in Y&&t(0,o=Y.isAudioAvailable),"click"in Y&&t(1,s=Y.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,y=!o||r),i.$$.dirty[0]&4194304&&t(3,k=df(l,Mt.S)),i.$$.dirty[0]&12&&(k?t(6,b=""):t(6,b=G(y?"tooltip_volume":"tooltip_volume_muted")),t(7,C=G(y?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,V=y?0:n)},[o,s,y,k,n,v,b,C,V,f,m,_,j,re,le,R,ie,Z,I,X,S,D,l,r]}class hv extends _e{constructor(e){super(),be(this,e,pv,mv,ge,{isAudioAvailable:0,click:1},cv,[-1,-1])}}function vv(i){let e;return{c(){e=B("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){P(t,e,n)},d(t){t&&T(e)}}}function gv(i){let e;return{c(){e=B("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){P(t,e,n)},d(t){t&&T(e)}}}function bv(i){let e,t,n;function l(s,a){return s[0]?gv:vv}let r=l(i),o=r(i);return{c(){e=B("svg"),t=B("g"),o.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){P(s,e,a),p(e,t),o.m(t,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&T(e),o.d()}}}function _v(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen)},[n]}class wv extends _e{constructor(e){super(),be(this,e,_v,bv,ge,{isFullscreen:0})}}function yv(i){let e,t;return e=new wv({props:{isFullscreen:i[0]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function kv(i){let e,t;return e=new Ai({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Zo[Ee.KeyF],$$slots:{default:[yv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Cv(i,e,t){let{isFullscreen:n=!1}=e,{click:l=Xe}=e,r;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen),"click"in o&&t(1,l=o.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class mf extends _e{constructor(e){super(),be(this,e,Cv,kv,ge,{isFullscreen:0,click:1})}}function Sv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Hr extends _e{constructor(e){super(),be(this,e,null,Sv,ge,{})}}function Tv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class pf extends _e{constructor(e){super(),be(this,e,null,Tv,ge,{})}}function Pv(i){Ze(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ua(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){P(t,e,n)},d(t){t&&T(e)}}}function Ev(i){let e,t,n,l,r=i[1]&&Ua();var o=i[8];function s(a){return{}}return o&&(n=Mn(o,s())),{c(){r&&r.c(),e=N(),t=E("div"),n&&U(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),P(a,e,c),P(a,t,c),n&&z(n,t,null),l=!0},p(a,c){if(a[1]?r||(r=Ua(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}o?(n=Mn(o,s()),U(n.$$.fragment),d(n.$$.fragment,1),z(n,t,null)):n=null}(!l||c&2)&&M(t,"mobile",a[1])},i(a){l||(n&&d(n.$$.fragment,a),l=!0)},o(a){n&&g(n.$$.fragment,a),l=!1},d(a){a&&(T(e),T(t)),r&&r.d(a),n&&F(n)}}}function Av(i){let e,t,n;function l(o){i[13](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:Zo[Ee.KeyK],$$slots:{default:[Ev]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Iv(i,e,t){let n,l;const{fakeIsPlaying$:r}=Il();O(i,r,y=>t(12,l=y));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=Xe}=e;const{toggle:h}=r;let _,v,w,b;function C(y){o=y,t(0,o)}return i.$$set=y=>{"ref"in y&&t(0,o=y.ref),"isMobile"in y&&t(1,s=y.isMobile),"isPlaying"in y&&t(10,a=y.isPlaying),"disabled"in y&&t(2,c=y.disabled),"className"in y&&t(3,f=y.className),"click"in y&&t(4,m=y.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=l!==null),i.$$.dirty&5152&&t(11,w=v?l:a),i.$$.dirty&2048&&t(7,b=G(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?pf:Hr)},t(6,_=h),[o,s,c,f,m,v,_,b,n,r,a,w,l,C]}class Ur extends _e{constructor(e){super(),be(this,e,Iv,Av,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Pv)}}function Lv(i){Ze(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Vv(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),M(e,"prev",i[0]),M(e,"mobile",i[1])},m(l,r){P(l,e,r),p(e,t)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",l[0]),r&2&&M(e,"mobile",l[1])},i:K,o:K,d(l){l&&T(e)}}}function Mv(i,e,t){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,l=r.isMobile)},[n,l]}class Bv extends _e{constructor(e){super(),be(this,e,Mv,Vv,ge,{isPrev:0,isMobile:1},Lv)}}function Rv(i){let e,t;return e=new Bv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Nv(i){let e,t,n;function l(o){i[6](o)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Rv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Ov(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,l=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,o=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Rl extends _e{constructor(e){super(),be(this,e,Ov,Nv,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Dv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class zv extends _e{constructor(e){super(),be(this,e,null,Dv,ge,{})}}function Fv(i){Ze(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function qa(i){let e,t,n,l,r,o,s;return{c(){e=B("path"),t=B("path"),n=B("path"),l=B("path"),r=B("path"),o=B("path"),s=B("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){P(a,e,c),P(a,t,c),P(a,n,c),P(a,l,c),P(a,r,c),P(a,o,c),P(a,s,c)},d(a){a&&(T(e),T(t),T(n),T(l),T(r),T(o),T(s))}}}function Hv(i){let e,t,n,l=!i[0]&&qa();return{c(){e=B("svg"),t=B("path"),l&&l.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),M(e,"mobile",i[1])},m(r,o){P(r,e,o),p(e,t),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=qa(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&M(e,"mobile",r[1])},i:K,o:K,d(r){r&&T(e),l&&l.d()}}}function Uv(i,e,t){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,l=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class qv extends _e{constructor(e){super(),be(this,e,Uv,Hv,ge,{short:0,isMobile:1},Fv)}}function jv(i){let e,t;return e=new zv({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p:K,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Wv(i){let e,t;return e=new qv({props:{short:i[4],isMobile:!!i[7]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Zv(i){let e,t,n,l;const r=[Wv,jv],o=[];function s(a,c){return a[2]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Kv(i){let e,t,n;function l(o){i[13](o)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[Zv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Gv(i,e,t){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=gn(),{logoLink:m,addTimeToLogoLink:h}=f,_=Ct(),v=_.state.positionWithScrubbing$;O(i,v,L=>t(14,n=L));const w=_.ui.currentGridType$;O(i,w,L=>t(11,l=L));const b=_.ui.isMobile;O(i,b,L=>t(12,r=L));let C,y,k;const V=()=>{let L;if(y||!a)L=m;else{const j=Math.round(n);if(h&&j){const re=new URL(a);re.searchParams.append("t",I0(j)),L=re.toString()}else L=a}c(),window.open(L,"_blank")};function q(L){o=L,t(0,o)}return i.$$set=L=>{"ref"in L&&t(0,o=L.ref),"logoClickable"in L&&t(1,s=L.logoClickable),"videoLogoUrl"in L&&t(9,a=L.videoLogoUrl),"click"in L&&t(10,c=L.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,k=(r||df(l,Mt.L))&&y)},t(3,C=f.logoType===Io.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),t(2,y=f.logoType===Io.VK_VIDEO),[o,s,y,C,k,v,w,b,V,a,c,l,r,q]}class hf extends _e{constructor(e){super(),be(this,e,Gv,Kv,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Yv(i){Ze(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Qv(i){let e,t,n,l,r,o,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("path"),o=B("path"),s=B("path"),a=B("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),M(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),M(e,"connecting",i[2])},m(c,f){P(c,e,f),p(e,t),p(t,n),p(t,l),p(t,r),p(t,o),p(t,s),p(t,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&T(e)}}}function Xv(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q;return{c(){e=B("svg"),t=B("g"),n=B("mask"),l=B("path"),o=B("path"),s=B("path"),c=B("path"),f=B("defs"),m=B("clipPath"),h=B("path"),v=B("filter"),w=B("feFlood"),b=B("feColorMatrix"),C=B("feOffset"),y=B("feGaussianBlur"),k=B("feColorMatrix"),V=B("feBlend"),q=B("feBlend"),u(l,"fill",r=i[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",_=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(b,"in","SourceAlpha"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(b,"result","hardAlpha"),u(y,"stdDeviation","2.5"),u(k,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(V,"in2","BackgroundImageFix"),u(V,"result","effect1_dropShadow_4085_178456"),u(q,"in","SourceGraphic"),u(q,"in2","effect1_dropShadow_4085_178456"),u(q,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(L,j){P(L,e,j),p(e,t),p(t,n),p(n,l),p(n,o),p(t,s),p(t,c),p(e,f),p(f,m),p(m,h),p(f,v),p(v,w),p(v,b),p(v,C),p(v,y),p(v,k),p(v,V),p(v,q)},p(L,j){j&2&&r!==(r=L[1]?"#2688EB":"#fff")&&u(l,"fill",r),j&2&&a!==(a=L[1]?"#2688EB":"#fff")&&u(s,"fill",a),j&2&&_!==(_=L[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(L){L&&T(e)}}}function Jv(i){let e;function t(r,o){return r[0]?Xv:Qv}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function xv(i,e,t){let{isMobile:n=!1}=e,{state:l}=e,r,o;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,l=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,o=l===Vn.CONNECTING),t(1,r=l===Vn.CONNECTED))},[n,r,o,l]}class $v extends _e{constructor(e){super(),be(this,e,xv,Jv,ge,{isMobile:0,state:3},Yv)}}function e5(i){let e,t;return e=new $v({props:{isMobile:i[1],state:i[2]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function t5(i){let e,t,n;function l(o){i[5](o)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[e5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function i5(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=Xe}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,o=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===Vn.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class vf extends _e{constructor(e){super(),be(this,e,i5,t5,ge,{ref:0,isMobile:1,state:2,click:3})}}function n5(i){let e,t;return e=new Zc({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function o5(i){let e,t;return e=new Ai({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Yt.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[n5]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===Yt.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function l5(i,e,t){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Ct(),a=s.state.playbackState$;O(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return i.$$set=h=>{"isMobile"in h&&t(0,l=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,o=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===Yt.PAUSED&&f()})},[l,r,o,n,m,a]}class gf extends _e{constructor(e){super(),be(this,e,l5,o5,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function r5(i){Ze(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function s5(i){let e,t,n,l;const r=i[9].default,o=Fn(r,i,i[8],null);return{c(){e=E("div"),t=E("div"),o&&o.c(),u(t,"class","tooltip v-5ygsa2"),M(t,"active",i[0]),M(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){P(s,e,a),p(e,t),o&&o.m(t,null),i[10](t),i[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Un(o,r,s,s[8],l?Hn(r,s[8],a,null):qn(s[8]),null),(!l||a&1)&&M(t,"active",s[0]),(!l||a&2)&&M(t,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(d(o,s),l=!0)},o(s){g(o,s),l=!1},d(s){s&&T(e),o&&o.d(s),i[10](null),i[11](null)}}}function a5(i,e,t){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function _(b){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),y=C/2;return b<y?y:b>f-y?f-y:b}function v(b){ke[b?"unshift":"push"](()=>{h=b,t(4,h)})}function w(b){ke[b?"unshift":"push"](()=>{m=b,t(3,m)})}return i.$$set=b=>{"active"in b&&t(0,o=b.active),"pointer"in b&&t(1,s=b.pointer),"translateXPx"in b&&t(6,a=b.translateXPx),"translateYPx"in b&&t(2,c=b.translateYPx),"containerWidth"in b&&t(7,f=b.containerWidth),"$$scope"in b&&t(8,r=b.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=_(a))},[o,s,c,m,h,n,a,f,r,l,v,w]}class u5 extends _e{constructor(e){super(),be(this,e,a5,s5,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},r5)}}const bf=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function c5(i){Ze(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function ja(i){let e;function t(r,o){return r[2]&&r[10].completed===!1?d5:f5}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function f5(i){let e=(i[10].text||"")+"",t;return{c(){t=De(e)},m(n,l){P(n,t,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&et(t,e)},d(n){n&&T(t)}}}function d5(i){let e=G("tooltip_episode_unfinished")+"",t;return{c(){t=De(e)},m(n,l){P(n,t,l)},p:K,d(n){n&&T(t)}}}function m5(i){let e,t,n,l,r,o,s,a,c=i[10]&&ja(i);return{c(){e=E("div"),t=E("div"),l=N(),r=E("div"),c&&c.c(),o=N(),s=E("div"),a=De(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",i[1])},m(f,m){P(f,e,m),p(e,t),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[m]){m&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,m):(c=ja(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&et(a,f[0]),m&2&&M(e,"mobile",f[1])},i:K,o:K,d(f){f&&T(e),c&&c.d()}}}const wo=150;function p5(i,e,t){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Ct().ui.rotateAlpha;O(i,h,j=>t(11,n=j));let _,v,w,b,C,y,k,V;function q(){let j=s.frameWidth,re=s.frameHeight;return j>wo?(re=re/j*wo,j=wo):re>wo&&(j=j/re*wo,re=wo),{width:j,height:re}}function L(j){let re;s.isUV?re=Math.floor(c*j/s.frequency):re=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*j)));const le=Math.floor(re/s.countPerImage),R=Math.floor(re%s.countPerImage/s.countPerRow),ie=re%s.countPerRow;let Z=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&le===Math.floor(s.countTotal/s.countPerImage)&&(Z=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&Z++);let I=s.countPerRow;!s.isUV&&le===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(I=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const X=_*I,S=v*Z,$=-ie*_,D=-R*v;return{imgSrc:s.links[le],imgWidth:X,imgHeight:S,imgOffsetX:$,imgOffsetY:D}}return i.$$set=j=>{"time"in j&&t(0,l=j.time),"isMobile"in j&&t(1,r=j.isMobile),"videoEpisodes"in j&&t(13,o=j.videoEpisodes),"previewThumbsData"in j&&t(14,s=j.previewThumbsData),"progress"in j&&t(15,a=j.progress),"duration"in j&&t(16,c=j.duration),"isInteractive"in j&&t(2,f=j.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:y,imgOffsetY:k}=L(a),w,(t(6,b),t(15,a)),(t(7,C),t(15,a)),(t(8,y),t(15,a)),(t(9,k),t(15,a))),i.$$.dirty&106496&&t(10,V=bf(a,c,o))},t(3,{width:_,height:v}=q(),_,t(4,v)),[l,r,f,_,v,w,b,C,y,k,V,n,h,o,s,a,c]}class h5 extends _e{constructor(e){super(),be(this,e,p5,m5,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},c5)}}function v5(i){Ze(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function g5(i){let e,t;return{c(){e=E("span"),t=De(i[7]),u(e,"class","time v-5lzly8")},m(n,l){P(n,e,l),p(e,t)},p(n,l){l[0]&128&&et(t,n[7])},i:K,o:K,d(n){n&&T(e)}}}function b5(i){let e,t;return e=new h5({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _5(i){let e,t,n,l;const r=[b5,g5],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function w5(i){let e,t,n,l;const r=[i[9]];let o={$$slots:{default:[_5]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)o=D1(o,r[s]);return e=new u5({props:o}),n=new Fr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:G("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(dt.TIMELINE),hideHandel:i[2]}}),{c(){U(e.$$.fragment),t=N(),U(n.$$.fragment)},m(s,a){z(e,s,a),P(s,t,a),z(n,s,a),l=!0},p(s,a){const c=a[0]&512?x0(r,[$0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=G("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(dt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(d(e.$$.fragment,s),d(n.$$.fragment,s),l=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),l=!1},d(s){s&&T(t),F(e,s),F(n,s)}}}function y5(i,e,t){let n,l,r,o,s,a,c,f,m,h,_,{showTimeline:v=!1}=e;const w=Ct(),b=gn(),C=w.state.bufferedProgress$;O(i,C,pe=>t(12,h=pe));const y=w.state.positionWithScrubbing$;O(i,y,pe=>t(39,a=pe));const k=w.state.duration$;O(i,k,pe=>t(1,r=pe));const V=w.state.isLive$;O(i,V,pe=>t(0,l=pe));const q=w.state.isActiveLive$;O(i,q,pe=>t(11,m=pe));const L=w.ui.isMobile;O(i,L,pe=>t(10,f=pe));const j=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,re=w.actions.internal.getPreviewThumbsData(),le=w.state.interactiveEpisodes$;O(i,le,pe=>t(40,c=pe));const R=w.state.isInteractive,ie=w.state.isInteractiveTime$;O(i,ie,pe=>t(2,o=pe));const Z=w.state.isInteractiveExpectation$;O(i,Z,pe=>t(38,s=pe));const I=w.actions.internal.correctSeekTimeToInteractive,X=w.ui.controls.disabledControls$;O(i,X,pe=>t(13,_=pe));let S,$,D,Y,Pe=!1,ye="",Ie=0,Ve=0,we=0,Ce;function Q(pe){return!I||!R?pe:I(pe*r)/r}function ee(pe){w.actions.internal.startScrubbing(Q(pe))}function ue(pe){o||w.actions.internal.progressScrubbing(Q(pe))}function se(pe){w.actions.internal.completeScrubbing(Q(pe)),t(34,Pe=!1)}function Ue(pe,oe,Te){Ae(pe,oe,Te),t(34,Pe=!0)}function Ne(pe,oe,Te){Ae(pe,oe,Te),t(34,Pe=!0)}function Le(){t(34,Pe=!1)}function Ae(pe,oe,Te){t(8,we=pe),t(35,Ie=oe),Te&&t(36,Ve=Te),t(7,ye=ae(pe))}function ae(pe){const oe=zn((l?1-pe:pe)*r);return l?`-${oe}`:oe}return i.$$set=pe=>{"showTimeline"in pe&&t(33,v=pe.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,S=R?c:j),i.$$.dirty[0]&2&&t(4,$=zn(r)),i.$$.dirty[1]&256&&t(5,D=zn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,Y=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Ce=s||o),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Ve,translateXPx:Ie,translateYPx:R&&re?-36:-16,active:Pe&&v&&!Ce,pointer:!b.features.timelinePreview||!re||l})},[l,r,o,S,$,D,Y,ye,we,n,f,m,h,_,b,C,y,k,V,q,L,re,le,R,ie,Z,X,ee,ue,se,Ue,Ne,Le,v,Pe,Ie,Ve,Ce,s,a,c]}let k5=class extends _e{constructor(e){super(),be(this,e,y5,w5,ge,{showTimeline:33},v5,[-1,-1])}};function C5(i){let e,t;return e=new Fr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:G("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=G("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function S5(i,e,t){let n,{position:l=0}=e,{duration:r=0}=e;const s=Ct().ui.isMobile;O(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,l=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=zn(r)),i.$$.dirty&64&&t(2,c=zn(l)),i.$$.dirty&65&&t(3,f=l/r)},[r,a,c,f,n,s,l]}class _f extends _e{constructor(e){super(),be(this,e,S5,C5,ge,{position:6,duration:0})}}function T5(i){Ze(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function P5(i){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",i[2])},m(t,n){P(t,e,n)},p(t,n){n&4&&M(e,"mobile",t[2])},i:K,o:K,d(t){t&&T(e)}}}function E5(i){let e,t,n,l;const r=[I5,A5],o=[];function s(a,c){return a[0]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",i[2])},m(a,c){P(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!l||c&4)&&M(e,"mobile",a[2])},i(a){l||(d(n),l=!0)},o(a){g(n),l=!1},d(a){a&&T(e),o[t].d()}}}function A5(i){let e,t;return e=new k5({props:{showTimeline:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function I5(i){let e,t;return e=new _f({props:{position:i[3],duration:i[4]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function L5(i){let e,t,n,l;const r=[E5,P5],o=[];function s(a,c){return a[1]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function V5(i,e,t){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=Ct(),h=m.state.isLive$;O(i,h,C=>t(12,n=C));const _=m.ads.duration;O(i,_,C=>t(4,o=C));const v=m.ads.position;O(i,v,C=>t(3,r=C));const w=m.ui.isMobile;O(i,w,C=>t(2,l=C));let b;return i.$$set=C=>{"isAds"in C&&t(0,s=C.isAds),"canRewindLive"in C&&t(9,a=C.canRewindLive),"isRewindableLive"in C&&t(10,c=C.isRewindableLive),"isHidden"in C&&t(11,f=C.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,b=!f&&(!n||n&&a&&c||s))},[s,b,l,r,o,h,_,v,w,a,c,f,n]}class wf extends _e{constructor(e){super(),be(this,e,V5,L5,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},T5)}}function M5(i){let e,t,n,l;return{c(){e=B("svg"),t=B("path"),n=B("path"),l=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ht(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){P(r,e,o),p(e,t),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class B5 extends _e{constructor(e){super(),be(this,e,null,M5,ge,{})}}function R5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class N5 extends _e{constructor(e){super(),be(this,e,null,R5,ge,{})}}function O5(i){Ze(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function D5(i){let e,t,n,l;e=new B5({});function r(a,c){if(a[4]===ro.FULL)return H5;if(a[4]===ro.COUNT)return F5}let o=r(i),s=o&&o(i);return{c(){U(e.$$.fragment),t=N(),s&&s.c(),n=pt()},m(a,c){z(e,a,c),P(a,t,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(d(e.$$.fragment,a),l=!0)},o(a){g(e.$$.fragment,a),l=!1},d(a){a&&(T(t),T(n)),F(e,a),s&&s.d(a)}}}function z5(i){let e,t,n,l,r,o;return r=new N5({}),{c(){e=E("span"),t=De(i[2]),n=N(),l=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){P(s,e,a),p(e,t),P(s,n,a),P(s,l,a),z(r,l,null),o=!0},p(s,a){(!o||a&4)&&et(t,s[2])},i(s){o||(d(r.$$.fragment,s),o=!0)},o(s){g(r.$$.fragment,s),o=!1},d(s){s&&(T(e),T(n),T(l)),F(r)}}}function F5(i){let e,t=i[0].length+"",n;return{c(){e=E("span"),n=De(t),u(e,"class","text count v-1yhs2ga")},m(l,r){P(l,e,r),p(e,n)},p(l,r){r&1&&t!==(t=l[0].length+"")&&et(n,t)},d(l){l&&T(e)}}}function H5(i){let e,t;return{c(){e=E("span"),t=De(i[2]),u(e,"class","text v-1yhs2ga")},m(n,l){P(n,e,l),p(e,t)},p(n,l){l&4&&et(t,n[2])},d(n){n&&T(e)}}}function U5(i){let e,t,n,l;const r=[z5,D5],o=[];function s(a,c){return a[6]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function q5(i){let e,t,n;function l(o){i[19](o)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[U5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!t&&s&2&&(t=!0,a.ref=o[1],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function j5(i,e,t){var R,ie,Z;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=Ct(),_=(ie=(R=h.callbacks)==null?void 0:R.onEpisodeChanged)!=null?ie:Xe,v=!!((Z=h.callbacks)!=null&&Z.onEpisodeClicked),w=h.ui.currentGridType$;O(i,w,I=>t(18,s=I));const b=h.ui.episodes.openedByKeyboard$;O(i,b,I=>t(17,o=I));const C=h.ui.episodes.panelOpened$;O(i,C,I=>t(3,r=I));const y=h.ui.isMobile;O(i,y,I=>t(6,a=I));let k;const V=I=>{var S,$,D;if(!!((S=h.callbacks)!=null&&S.onEpisodeClicked)){const Y=Rr(I);b.set(Y),C.set(!0),(D=($=h.callbacks)==null?void 0:$.onEpisodeClicked)==null||D.call($,Y)}};let q,L,j;const re=async(I,X,S)=>{await Wo(),(I==null?void 0:I.getAttribute("aria-expanded"))==="false"&&X&&!S&&(b.set(!1),I.focus())};function le(I){k=I,t(1,k)}return i.$$set=I=>{"position"in I&&t(13,c=I.position),"duration"in I&&t(14,f=I.duration),"timeCodes"in I&&t(0,m=I.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const I=bf(n,f,m);I&&(q==null?void 0:q.text)!==I.text&&(_(I),t(15,q=I))}i.$$.dirty&32768&&t(2,l=(q==null?void 0:q.text)||""),i.$$.dirty&262144&&(kn(s,Mt.XL)?t(4,L=ro.FULL):kn(s,Mt.M)&&av(s,Mt.XL)?t(4,L=ro.COUNT):t(4,L=ro.SHORT)),i.$$.dirty&4&&t(5,j=`${G("tooltip_episodes")}: ${l}`),i.$$.dirty&131082&&re(k,o,r)},[m,k,l,r,L,j,a,v,w,b,C,y,V,c,f,q,n,o,s,le]}class yf extends _e{constructor(e){super(),be(this,e,j5,q5,ge,{position:13,duration:14,timeCodes:0},O5)}}function W5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class Z5 extends _e{constructor(e){super(),be(this,e,null,W5,ge,{})}}function K5(i){let e,t;return e=new Z5({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function G5(i){let e,t,n;function l(o){i[4](o)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[K5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Y5(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,l=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,o=a.click)},[n,l,r,o,s]}class kf extends _e{constructor(e){super(),be(this,e,Y5,G5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function Q5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),M(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p(l,[r]){r&1&&M(n,"hidden",!l[0])},i:K,o:K,d(l){l&&T(e)}}}function X5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=l=>{"isOpened"in l&&t(0,n=l.isOpened)},[n]}class J5 extends _e{constructor(e){super(),be(this,e,X5,Q5,ge,{isOpened:0})}}function x5(i){let e,t;return e=new J5({props:{isOpened:i[3]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function $5(i){let e,t,n;function l(o){i[6](o)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[x5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function eg(i,e,t){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,l=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,o=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=G(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class Cf extends _e{constructor(e){super(),be(this,e,eg,$5,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function tg(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Sf extends _e{constructor(e){super(),be(this,e,null,tg,ge,{})}}function ig(i){Ze(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Wa(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){P(t,e,n)},d(t){t&&T(e)}}}function ng(i){let e,t,n,l,r=i[1]&&Wa();return n=new Sf({}),{c(){r&&r.c(),e=N(),t=E("div"),U(n.$$.fragment),u(t,"class","v-1ot3duq"),M(t,"mobile",i[1])},m(o,s){r&&r.m(o,s),P(o,e,s),P(o,t,s),z(n,t,null),l=!0},p(o,s){o[1]?r||(r=Wa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&M(t,"mobile",o[1])},i(o){l||(d(n.$$.fragment,o),l=!0)},o(o){g(n.$$.fragment,o),l=!1},d(o){o&&(T(e),T(t)),r&&r.d(o),F(n)}}}function og(i){let e,t,n;function l(o){i[5](o)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:G("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:Zo[Ee.KeyK],$$slots:{default:[ng]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function lg(i,e,t){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=Xe}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,l=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,o=c.className),"click"in c&&t(4,s=c.click)},[n,l,r,o,s,a]}class qr extends _e{constructor(e){super(),be(this,e,lg,og,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},ig)}}function rg(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class sg extends _e{constructor(e){super(),be(this,e,null,rg,ge,{})}}function ag(i){let e,t;return e=new sg({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ug(i){let e,t;return e=new Ai({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[ag]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"hidden":""),l&2&&(r.disabled=n[1]),l&4&&(r.click=n[2]),l&8&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function cg(i,e,t){let{hidden:n=!1}=e,{disabled:l=!1}=e,{click:r}=e;return i.$$set=o=>{"hidden"in o&&t(0,n=o.hidden),"disabled"in o&&t(1,l=o.disabled),"click"in o&&t(2,r=o.click)},[n,l,r]}class Tf extends _e{constructor(e){super(),be(this,e,cg,ug,ge,{hidden:0,disabled:1,click:2})}}function fg(i){Ze(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function dg(i){let e,t,n,l;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),ns(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),n||(l=he(e,"error",i[7]),n=!0)},p(r,o){o&1&&!ns(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&T(e),n=!1,l()}}}function mg(i){let e;return{c(){e=E("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){P(t,e,n)},p:K,d(t){t&&T(e)}}}function pg(i){let e;function t(r,o){return r[5]?mg:dg}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=t(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function hg(i){let e,t;return e=new Ai({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[pg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function vg(i,e,t){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Xe}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,o=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===Xe),i.$$.dirty&272&&t(6,l=n||a)},t(5,r=!1),[o,s,c,f,n,r,l,m,a]}class Pf extends _e{constructor(e){super(),be(this,e,vg,hg,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},fg)}}class Za{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===t){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class Ef extends Za{constructor(){super(),this.listeners||Za.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let gg=class{constructor(){Object.defineProperty(this,"signal",{value:new Ef,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(gg.prototype[Symbol.toStringTag]="AbortController",Ef.prototype[Symbol.toStringTag]="AbortSignal");function Af(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function bg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=i;if(!Af({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new t(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=t.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch(_){m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((_,v)=>{f.addEventListener("abort",()=>v(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const jr=Af({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),If=jr?bg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,_g=jr?If.fetch:window.fetch;jr?If.Request:window.Request;const wg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,yg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class kg{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new wn,started$:new wn,paused$:new wn,resumed$:new wn,ended$:new wn,skipped$:new wn,clicked$:new wn},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};L0(yg,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{gt(this.adsState),gt(this.playerState),gt(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),tt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(ti.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{gt(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{gt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ti.PAUSED)},this.onAdPlayed=()=>{gt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ti.PLAYING)},this.onAdMidrollPoint=()=>{gt(this.adman),gt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Nn.Midroll,this.adman.start(Nn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const _=this.playerState&&tt(this.playerState.vsid);_&&(h=parseInt(_,36));const v={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:wg(t,n),puid11:l?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(w),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}gt(this.actions),gt(this.adsState),gt(this.playerState);const t=this.currentAdSection===Nn.Postroll;this.adsState.playbackState.set(ti.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){gt(this.adsState),this.log({message:"toggle play"});const e=tt(this.adsState.playbackState);e===ti.PLAYING?this.pause():e===ti.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){gt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Nn.Preroll,this.adman.start(Nn.Preroll)}startPostroll(){gt(this.adman),gt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Nn.Postroll,this.adman.start(Nn.Postroll)}play(){gt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){gt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){gt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const Cg=i=>{const e=Math.round(i);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class Sg{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new Lf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new Tg,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class Lf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(t)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class Tg{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,m)=>{const h=o.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new Lf;for(const o of l)r.isTime(o)?t.texts.push({type:"timestamp",value:r.parseTime(o)}):t.texts.push({type:"text",value:o});return t}}let Jn,Ft,ar=0,ur=!1;const Pg=(i,e,t)=>{var n;const l=i>=ar,r=i<ar,o=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(ar=i,r&&(ur=!1),Sn(Jn)&&s(i,Jn.startTime,Jn.endTime)&&Jn.lang===e.value)return Jn;if(!Sn(Ft)&&(c!=null&&c.length)&&!ur){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||l&&o(i,m,h));Ft=f&&{...f,lang:e.value},Jn=void 0,!Sn(Ft)&&c[c.length-1].endTime<i&&(ur=!0);return}else{if(s(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))return Jn=Ft,Ft=void 0,Jn;(l&&a(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime)||r&&o(i,Ft==null?void 0:Ft.startTime,Ft==null?void 0:Ft.endTime))&&(Ft=void 0)}},cr={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let gl=null;class zo{constructor(e,t){if(!gl){const n=new j0(e,t),l=new $n;gl=Object.freeze({oneStat:n,statSubscription:l,destroy:()=>{n==null||n.destroy(),l==null||l.unsubscribe(),gl=null}})}}static getInstance(){return gl}}const Eg=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:_,disabledControls:v,isInteractive:w,interactiveRanges$:b,isInteractiveTime$:C,replayInteractive:y,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:V,additionalButtons:q,looped:L=!1})=>{var j,re,le,R;const ie={...h,configName:[...(j=h.configName)!==null&&j!==void 0?j:[],"ui"],isAudioDisabled:r,live:{...(re=h.live)!==null&&re!==void 0?re:{},isLiveCatchUpMode:!!n}},Z=m,I=_||new S0(ie);I.setLooped(L);const X=new O1,S=new kg(X,{loadTimeout:Z.ads.loadTimeout,initTimeout:Z.ads.initTimeout}),$=zo.getInstance(),D=_r.getInstance(),Y=a==null?void 0:a.pictureInPictureApi,Pe=a==null?void 0:a.annotationsApi,ye=X.createComponentLog("Store");let Ie,Ve,we={};const Ce=kr(),Q=$?kt($.oneStat.vsid$):Ln(void 0),ee=Be(Uo()),ue=(le=Y==null?void 0:Y.info.isActive$)!==null&&le!==void 0?le:new yr(!1),se=Y==null?void 0:Y.info.type,Ue=Be(0),Ne=Be([]),Le=V0(I.events.fatalError$,I.events.managedError$).subscribe(A=>Ne.update(ne=>[...ne,A])),Ae=Ln(!1,A=>{const ne=I.events.fatalError$.subscribe(()=>A(!0));return()=>ne.unsubscribe()}),ae=async A=>{var ne;const ve=Object.values(qo).includes(A);if(Z.downloadVKLanguages&&(ve&&Z.updateBuiltinLanguages||!Ms(A))){let Qe;try{Qe=await R0(A,rd,sd)}catch(ft){(ne=$==null?void 0:$.oneStat)===null||ne===void 0||ne.logError({errorType:"VKLangPack",fatal:!1}),D==null||D.report(ft,{errorType:"VKLangPack",fatal:!1})}Qe&&(Vs({language:A,pack:Qe,fallback:Z.defaultLanguage}),pe.set(A))}Ms(A)&&pe.set(A)},pe=Be(i);ae(i);const oe=(A,ne)=>{const ve=tt(pe);return zc(ve,A,ne,Z.defaultLanguage)},Te=Be(Oe.Thumb),me=(()=>{const A=Oi([Ae,Te],([ne,ve])=>ne?Oe.Crashed:ve);return{...A,is:ne=>tt(A)===ne}})(),Se=(()=>{const A=Be(new Set(v));return{...A,add:ne=>{A.update(ve=>new Set([...ve].concat(ne)))},remove:ne=>{A.update(ve=>{const ze=[...ve];return new Set(Array.isArray(ne)?ze.filter(Qe=>!ne.includes(Qe)):ze.filter(Qe=>Qe!==ne))})},includes:ne=>{const ve=tt(A);return Array.isArray(ne)?ne.every(ze=>ve.has(ze)):ve.has(ne)}}})();ye({message:"create store"});const Ke=A=>{ye({message:`init video, config: ${JSON.stringify(A)}`}),w?A.container.append(I.experimental.element$.getValue()):I.initVideo(A),A.subtitles&&I.setExternalTextTracks(A.subtitles),Ie=A},Re=new wn,Je=A=>Re.next(A),xe=new wn,nt=new wn,at=new wn,Pt={actionRewind$:xe,actionSeek$:nt,inPiP$:ue,inFullscreen$:new M0(A=>ee.subscribe(ne=>A.next(ne))),actionSetSubtitle$:at,nextMovie$:Re};if($){const{oneStat:A,statSubscription:ne}=$;ne.add(A.attachTo(I)),ne.add(A.attachToUi(Pt)),ne.add(A.attachToAds(S.events)),A.authorize(l).catch(ve=>{ye({message:`onestat auth error ${String(ve)}`})})}if(D){const A=new $n,ne=(ve,ze)=>A.add(ve.subscribe(ze));if(ne(I.events.managedError$,ve=>{D.logIError(ve)}),ne(I.events.fatalError$,ve=>{D.logIError(ve,!0)}),$){const{oneStat:ve}=$;ne(ve.experimental.error$,ze=>{D.logIError(ze)})}D.sentrySubscription.add(A)}const ht=()=>{Cr()&&Ve&&i3(Ve)},Fe=new $n().add(I.experimental.element$.subscribe(A=>{A&&(Ve=A,A.classList.add("player-media"),Tl(Y)&&(Y.updateVideoElement(),Y.registryEventHandlers()),w&&A.setAttribute("pip","false"))})).add(I.events.ended$.subscribe(()=>{var A;ht(),(A=s==null?void 0:s.onEnded)===null||A===void 0||A.call(s)})).add(I.events.started$.subscribe(async()=>{var A,ne;Tl(Y)&&await(Y==null?void 0:Y.revealPictureInPicture());const ve=I.info.muted$.getValue();(A=s==null?void 0:s.onStarted)===null||A===void 0||A.call(s),(ne=we.onStarted)===null||ne===void 0||ne.call(we,ve)})).add(I.events.willSeek$.subscribe(({from:A,to:ne})=>{var ve;(ve=s==null?void 0:s.onSeek)===null||ve===void 0||ve.call(s,A,ne)})).add(I.info.position$.subscribe(A=>{var ne;const ve=I.info.duration$.getValue();(ne=s==null?void 0:s.onTimeupdate)===null||ne===void 0||ne.call(s,ve,A),S.setPosition(A,ve)})).add(I.events.fatalError$.subscribe(()=>{var A;(A=s==null?void 0:s.onCrashed)===null||A===void 0||A.call(s)})).add(I.info.is3DVideo$.subscribe(A=>{bt.ui.is3DVideo.set(A)})).add(I.info.isEnded$.subscribe(A=>{w&&(A?(C!=null&&C.getValue()&&Se.add(G1),Se.add(dt.PLAY_BUTTON)):Se.remove(dt.PLAY_BUTTON))})).add(I.info.liveTime$.subscribe(A=>{var ne;(ne=s==null?void 0:s.onLiveTime)===null||ne===void 0||ne.call(s,A)})).add(I.info.isStalled$.subscribe(A=>{var ne;(ne=s==null?void 0:s.onStalledChanged)===null||ne===void 0||ne.call(s,A)})),_t=new $n,Ut=()=>{_t.add(I.events.log$.subscribe(A=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${A.component}`,A.message)})).add(X.log$.subscribe(A=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${A.component}.`,A.message)}))},ce=()=>{_t.unsubscribe()},wt=(A,ne)=>{I.startCameraManualRotation(A,ne)},ot=(A=!1)=>{I.stopCameraManualRotation(A)},Lt=(A,ne,ve)=>{I.moveCameraFocusPX(A,ne,ve)},ut=()=>{I.holdCamera()},Et=()=>{I.releaseCamera()},$e=Ln(I.info.position$.getValue(),A=>{let ne,ve;const ze=()=>{const Qe=I.info.playbackState$.getValue(),ft=I.info.isLive$.getValue(),Vt=I.info.duration$.getValue(),yt=I.info.position$.getValue();if([Yt.PLAYING,Yt.PAUSED].includes(Qe)){const Ni=ft?yt-Vt:I.getExactTime();Ni!==ve&&A(Ni),ve=Ni}ne=requestAnimationFrame(ze)};return ze(),()=>cancelAnimationFrame(ne)}),He=kt(ue),St=kt(I.info.playbackState$),Ki=kt(I.info.currentBuffer$),ci=kt(I.info.isEnded$),fi=kt(I.info.isLive$),rn=Z.features.playbackRate?kt(I.info.canChangePlaybackSpeed$):Ln(!1),di=kt(I.info.liveBufferTime$),Xt=kt(I.info.volume$),ni=kt(I.info.muted$),Ot=J1(I.info.autoQualityLimits$.pipe(B0(({max:A})=>A!==void 0)),((R=I.info.autoQualityLimits$.getValue())===null||R===void 0?void 0:R.max)!==void 0),oi=kt(I.info.autoQualityLimitingAvailable$),Di=kt(I.info.availableQualities$),li=kt(I.info.availableQualitiesFps$),mi=kt(I.info.chromecastState$),pi=kt(I.info.chromecastDeviceName$),Jt=kt(I.info.currentFormat$),zi=kt(I.info.throughputEstimation$),hi=kt(I.info.videoBitrate$),Bt=kt(I.info.intrinsicVideoSize$),vi=kt(I.info.duration$),Fi=kt(I.info.isAudioAvailable$);let It=null;const Kt=I.info.isBuffering$,gi=Ln(Kt.getValue(),A=>{const ne=Kt.subscribe(ve=>{ve&&It===null?It=window.setTimeout(()=>{A(Kt.getValue()),It=null},Z.loaderDelay):A(ve)});return()=>{ne.unsubscribe(),It&&clearTimeout(It)}}),Ii=()=>{It&&clearTimeout(It),It=null},lt=Oi([vi,fi],([A,ne])=>ne?-A:A),mt=Oi([St],([A])=>A===Yt.PLAYING),ri=kt(I.info.atLiveEdge$),Rt=kt(I.info.atLiveDurationEdge$),bi=kt(I.info.position$),Li=Oi([bi,vi],([A,ne])=>isFinite(A)&&isFinite(ne)&&!!ne),Dt=Oi([mi],([A])=>A===Vn.CONNECTED),zt=Be(void 0),Gi=kt(I.info.isAutoQualityEnabled$,A=>A&&zt.set(void 0)),_i=kt(I.info.currentQuality$,()=>zt.set(void 0)),Xi=Oi([zt,_i],([A,ne])=>A!=null?A:ne),Vi=Oi([Di,li,Gi,Xi,Jt],([A,ne,ve,ze,Qe])=>{const ft=[];Qe!==Oo.MPEG&&ft.push({value:Po.AUTO,displayValue:oe("auto_quality_option"),selected:ve});const Vt=A.filter(yt=>yt!==bl.INVARIANT);for(const yt of Vt){const Ni=ne[yt],Xn=yt===bl.INVARIANT?oe("auto_quality_option"):yt;ft.push({value:yt,displayValue:`${Xn}${Ni?Cg(Ni):""}`,selected:ve?!1:yt===ze})}return ft}),Ji=kt(I.info.currentPlaybackRate$),si=Oi([Ji,ri,Rt],([A,ne,ve])=>{const ze=ve||w?1:Z.controls.playbackRateMin,Qe=ne?1:Z.controls.playbackRateMax,ft=Z.controls.playbackRateStep,Vt=[];for(let yt=ze;yt<=Qe;yt+=ft)Vt.push({value:yt,displayValue:yt===1?oe("playback_rate_1"):oe("playback_rate",{multiplier:yt.toString(10)}),selected:A===yt});return Vt}),Mi=Z.features.subtitles?kt(I.info.availableTextTracks$):Ln([]),Nt=Oi([Mi],([A],ne)=>{const ve=[],ze=[];for(const Qe of A)Qe.url&&ve.push(_g(Qe.url));Promise.allSettled(ve).then(Qe=>{for(const[ft,Vt]of Qe.entries())Vt.status==="fulfilled"&&Vt.value.text().then(yt=>{const Ni=new Sg,Xn=A[ft].language,$o=!!A[ft].isAuto,po=Ni.parse(yt);Xn&&po&&ze.push({lang:Xn,subtitles:po,isAuto:$o}),ft===Qe.length-1&&ne(ze)})})}),qt={displayValue:oe("subtitles_off"),value:"off"},wi=Be({...qt}),yi=Oi([Nt,wi,Nt],([A,ne])=>{if((A==null?void 0:A.length)>0){const ve=[{...qt,selected:(ne==null?void 0:ne.value)===qt.value}];for(const{lang:ze,isAuto:Qe}of A)cr[ze]&&ve.push({displayValue:Qe?oe("subtitles_auto",{language:cr[ze]}):cr[ze],value:ze,selected:(ne==null?void 0:ne.value)===ze,isAuto:Qe});return ve}else return[]}),Bi=Oi([$e,wi,Nt],([A,ne,ve])=>{if(ne&&ne.value!==qt.value)return Pg(A,ne,ve)}),At=Oi([Bi],([A])=>A!=null&&A.texts?A.texts:[]),Hi=Be(!0),Ui=Oi([Ki,lt,bi,di],([A,ne,ve,ze])=>{var Qe;const ft=(Qe=A==null?void 0:A.end)!==null&&Qe!==void 0?Qe:0;if(!ze)return ft/ne;const yt=-ve+ze-ne;return(ft-yt)/ne}),ki=kt(I.info.availableSources$),qi=Oi([ki],([A])=>Object.keys((A==null?void 0:A[Oo.MPEG])||{}).length>0),ji=()=>{var A,ne,ve;const ze=Object.keys(((ne=(A=I.info.availableSources$)===null||A===void 0?void 0:A.getValue())===null||ne===void 0?void 0:ne[Oo.MPEG])||{}),Qe=N0(ze)||bl.Q_144P;return(ve=Ie.sources[Oo.MPEG])===null||ve===void 0?void 0:ve[Qe]},Wi=()=>{var A;const ne=ji();ne?vd(ne,((A=Ie==null?void 0:Ie.meta)===null||A===void 0?void 0:A.title)||"video"):ye({message:"There is no URL for download video"})},Ci=()=>{ye({message:"toggle muted"});const A=I.info.muted$.getValue(),ze=!(I.info.volume$.getValue()===0||A);Ri(ze)},Si=()=>{bt.ui.settingsMenuVisible.set(!1)},xt=A=>{bt.ui.settingsMenuOpenedByKeyboard.set(!!A),bt.ui.settingsMenuVisible.set(!0)},$t=A=>{tt(bt.ui.settingsMenuVisible)?Si():xt(A)},Me=(A,ne=A,ve=!1)=>{var ze,Qe,ft;const Vt=!ve,yt=I.info.muted$.getValue();ye({message:`set volume, volume: ${A}, preferredVolume: ${ne}, internalCall: ${Vt}`}),I.setVolume(A),S.setVolume(A),Vt&&((ze=s==null?void 0:s.onVolumeChange)===null||ze===void 0||ze.call(s,A)),rs(ne),yt?(I.setMuted(!1),Vt&&((Qe=s==null?void 0:s.onUnmute)===null||Qe===void 0||Qe.call(s)),ql(!1)):!yt&&A===0&&(I.setMuted(!0),Vt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),ql(!0))},Ri=(A,ne=!1)=>{var ve,ze,Qe,ft;const Vt=!ne,yt=I.info.volume$.getValue();if(ye({message:`set muted, currentVolume: ${yt}, mute: ${A}, internalCall: ${Vt}`}),I.setMuted(A),S.setVolume(A?0:yt),ql(A),Vt&&(A?(ve=s==null?void 0:s.onMute)===null||ve===void 0||ve.call(s):(ze=s==null?void 0:s.onUnmute)===null||ze===void 0||ze.call(s)),yt===0){let Ni=(Qe=ic())!==null&&Qe!==void 0?Qe:Z.volumeDefault;Ni===0&&(Ni=Z.volumeMinRestore,rs(Ni)),I.setVolume(Ni),S.setVolume(Ni),Vt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Ni))}},Zi=()=>{I.prepare()},qe=()=>{var A,ne;if(gt(bt),!tt(bt.ui.controls.disabledControls$).has(dt.PLAY_BUTTON)){if(ye({message:"toggle play"}),tt(bt.playerPhase)===Oe.Ads){S.togglePlay();return}if(I.info.playbackState$.getValue()!==Yt.PLAYING){if(I.info.isEnded$.getValue()){if(ye({message:"toggle play, video ended, seek to 0"}),xe.next(),nt.next(Wt.REWIND),w){y==null||y();return}I.seekTime(0)}ye({message:"toggle play, call player.play"}),I.play(),(A=s==null?void 0:s.onPlay)===null||A===void 0||A.call(s)}else ye({message:"toggle play, call player.pause"}),I.pause(),(ne=s==null?void 0:s.onPause)===null||ne===void 0||ne.call(s)}},xi=A=>{ye({message:`set quality, quality: ${A}`}),I.setAutoQuality(A===Po.AUTO),A!==Po.AUTO?(gd(e,A),zt.set(A),I.setQuality(A)):nc()},Ti=A=>{ye({message:`set trafficSavingEnabled, value: ${A}`}),I.setAutoQualityLimits({max:A?Z.trafficSavingLimit:void 0}),wd(A)},$i=A=>{I.setPlaybackRate(A)},en=()=>{const A=tt(si),ne=A.findIndex(({selected:ze})=>ze);if(ne===A.length-1)return;const ve=A[ne+1];$i(ve.value)},sn=()=>{const A=tt(si),ne=A.findIndex(({selected:ze})=>ze);if(ne===0)return;const ve=A[ne-1];$i(ve.value)},Gt=A=>{A&&A.value!==qt.value&&at.next(A.isAuto?A.value+"_auto":A.value),wi.set(A)},ai=()=>{const A=tt(yi),ne=tt(wi),ve=tt(pe);if((ne==null?void 0:ne.value)===qt.value){const ze=A.filter(Qe=>Qe.value!==qt.value).find(Qe=>Qe.value===ve)||A[1];Gt(ze!=null?ze:{...qt})}else Gt({...qt,selected:!1})},ui=(A,ne,ve=!0)=>{if(ye({message:`seek to time, time: ${A}`}),nt.next(ne),I.info.isLive$.getValue()){const ze=I.info.duration$.getValue(),Qe=Math.min(0,ze+A);I.seekTime(Qe,ve)}else{if(C!=null&&C.getValue())return;I.seekTime(In(A),ve)}},an=A=>{ye({message:`seek to episode start time: ${A}`}),ui(A,Wt.EPISODE,!0)},Yi=(A,ne)=>{ye({message:`seek to percent, percent: ${A}`});const ve=Math.round(tt(lt)*A);ui(ve,ne,!1)},tn=A=>{ye({message:`seek external, time: ${A}`}),nt.next(Wt.UNKNOWN),I.seekTime(I.info.isLive$.getValue()?-A:A)},Pi=A=>{var ne,ve;ye({message:`set auto quality limitation. Max: ${(ne=A.max)!==null&&ne!==void 0?ne:"none"}. Min: ${(ve=A.min)!==null&&ve!==void 0?ve:"none"}`}),I.setAutoQualityLimits(A)},te=A=>{ye({message:`seek external to episode start time: ${A}`}),ui(A,Wt.EPISODE,!0)},rt=A=>{ye({message:`set playback rate to: ${A}`}),I.setPlaybackRate(A)},jt=Be(void 0),Ei=Be(!1),vt=A=>{ye({message:`start scrubbing, progress: ${A}`}),Ei.set(!0),dn(A)},dn=A=>{jt.set(A)};let bn,mn;const _n=()=>{jt.set(void 0),Ei.set(!1)},un=()=>{clearTimeout(mn),clearTimeout(bn),bn=window.setTimeout(()=>{_n()},500),Ve==null||Ve.removeEventListener("seeked",un)},x=A=>{ye({message:`complete scrubbing, progress: ${A}`}),Yi(A,Wt.SLIDER),tt(bt.ui.isMobile)&&tt(bt.state.currentFormat$)===Oo.HLS?(Ve==null||Ve.addEventListener("seeked",un),mn=window.setTimeout(()=>{un()},300)):_n()},ct=Oi([$e,lt,jt],([A,ne,ve],ze)=>{ze(Sn(ve)?ve*ne:A)}),cn=Be({width:0,height:0}),Qi=Oi([cn],([{width:A}],ne)=>{const ve=uv(A);ne(ve)}),nn=Be(!1),fn=Oi([Qi,nn],([A,ne])=>ne?q.filter(ve=>!ve.hideOnMobile):q.filter(ve=>{var ze;return!(!((ze=ve.hideOnDesktopGridTypes)===null||ze===void 0)&&ze.includes(A))})),Wn=Oi([nn,Ae],([A,ne],ve)=>{ve(A&&ne)}),Zn=()=>{nt.next(Wt.LIVE),ye({message:"switch to active live"}),I.seekTime(0),I.info.playbackState$.getValue()!==Yt.PLAYING&&bt.actions.internal.togglePlay()},Kn=()=>S.skip(),An=(A=!0)=>{gt(bt),ye({message:`switch from ads to video, callPlay: ${A}`}),Te.set(Oe.Video),A&&I.play()},Bn=()=>{gt(bt),ye({message:"switch from video to ads"}),bt.actions.internal.pause(),ht(),Te.set(Oe.Ads)},J=A=>{gt(bt);const ne=A?Oe.WaitingLive:Oe.Thumb;Te.set(ne)},Gn=A=>{gt(bt);const ne=A?Oe.WaitingRecord:Oe.Thumb;Te.set(ne)},uo=()=>(gt(bt),pd(I,Ie,bt)),co=()=>(gt(bt),hd(I,Ie,bt)),Yn=()=>Ve,io=()=>{ye({message:"toggle chromecast"}),I.toggleChromecast()},Rn=A=>{var ne;gt(bt);const ve=!A;if(tt(bt.playerPhase)===Oe.Ads){ye({message:`pause ads, internalCall: ${ve}`}),S.pause();return}ye({message:`pause video, internalCall: ${ve}`}),ve&&((ne=s==null?void 0:s.onPause)===null||ne===void 0||ne.call(s)),I.pause()},Mo=A=>{var ne;gt(bt);const ve=!A;if(tt(bt.playerPhase)===Oe.Ads){ye({message:`play ads, internalCall: ${ve}`}),S.play();return}ye({message:`play video, internalCall: ${ve}`}),ve&&((ne=s==null?void 0:s.onPlay)===null||ne===void 0||ne.call(s)),I.play()},pn=(A,ne)=>{gt(bt),ye({message:`first start, show ads: ${A}, internalCall: ${!ne}`}),A?Te.set(Oe.Ads):(Te.set(Oe.Video),ne?I.play():bt.actions.internal.togglePlay())},Qn=()=>(ye({message:"getting time codes"}),c),no=()=>{const A=Qn();if(!A||[0,1].includes(A.length))return;const ne=I.info.position$.getValue();return A.find(ve=>ve.time>ne)},Bo=A=>{let ne=A;ne||(ne=no()),ne&&(ye({message:"seek to next episode"}),ui(ne.time,Wt.EPISODE,!0))},fo=()=>{const A=Qn();if(!A||[0,1].includes(A.length))return;const ne=I.info.position$.getValue(),ve=A.findIndex(Qe=>Qe.time>ne),ze=ve===-1?A.length-2:ve-2;if(!(ze<0))return A[ze]},Ro=A=>{let ne=A;ne||(ne=fo()),ne&&(ye({message:"seek to prev episode"}),ui(ne.time,Wt.EPISODE,!0))},mo=()=>(ye({message:"getting preview thumbs data"}),f),W=async()=>{Y!=null&&Y.isActive()?await(Y==null?void 0:Y.remove()):await(Y==null?void 0:Y.request())},Tt=(A=-90)=>{Ue.update(ne=>ne+A)},on=Be([]);b==null||b.subscribe(A=>{const ne=[];for(let ve=0;ve<A.length;ve++){const{range:[ze,Qe],subjects:ft}=A[ve];ve===0&&ze!==0&&ne.push({time:0,text:"",interactive:!1,completed:!0}),ne.push({time:ze/1e3,text:"",interactive:!0,completed:!ft.length}),Qe!==1/0&&ne.push({time:Qe/1e3,text:"",interactive:!1,completed:!0})}on.set(ne)});const hn=Be(!1);C==null||C.subscribe(A=>{A&&tt(Ei)&&_n()});const In=A=>{if(!w)return A;const ne=tt(on),ve=tt(lt),Qe=tt(bi)/ve,ft=ne.find(Vt=>Vt.interactive&&!Vt.completed&&Vt.time>Qe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(A,ft.time-.05):A},oo=()=>{bt.ui.episodes.panelOpened$.set(!1)},xo=()=>{clearTimeout(mn),clearTimeout(bn),Fe.unsubscribe(),_t.unsubscribe(),I.destroy(),S.destroy(),$==null||$.destroy(),D==null||D.destroy(),Le.unsubscribe()},bt={interfaceLanguage$:pe,initVideo:Ke,videoId:e,isClip:t,playerPhase:me,vsid:Q,state:{positionExact$:$e,positionWithScrubbing$:ct,duration$:lt,playbackState$:St,isPlaying$:mt,isLoaderVisible:gi,bufferedProgress$:Ui,isLive$:fi,canChangePlaybackSpeed$:rn,isActiveLive$:ri,isOldestAvailableLive$:Rt,isRewindableLive$:Li,isEnded$:ci,muted$:ni,volume$:Xt,trafficSavingEnabled$:Ot,autoQualityLimitingAvailable$:oi,currentQuality$:Xi,isAutoQualityEnabled$:Gi,availableQualities$:Vi,currentPlaybackRate$:Ji,availablePlaybackRates$:si,currentSubtitle$:wi,availableSubtitlesList$:yi,currentSubtitleCaptions$:At,isAutoSubtitleCaptionVisible$:Hi,chromecastState$:mi,chromecastDeviceName$:pi,chromecastConnected$:Dt,currentFormat$:Jt,throughputEstimation$:zi,videoBitrate$:hi,videoSize$:Bt,errorLog$:Ne,crashed$:Ae,isAudioAvailable$:Fi,isAudioDisabled:!!r,canDownload:Z.features.download&&!!o,availableSources$:ki,hasMpegSources$:qi,isInteractive:w,isInteractiveGraphEnabled:Z.features.interactiveGraph,isSeekToInteractiveEnable:Z.features.seekToInteractive,isPlayPrevChapterEnabled:Z.features.interactivePlayPrevChapter,interactiveEpisodes$:on,isInteractiveTime$:C?kt(C):Be(!1),graphIsOpened$:Be(!1),isInteractiveExpectation$:hn,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:V},ui:{controlsVisible:Be(!1),touched:Be(!1),controls:{prevButton:Be(void 0),playButton:Be(void 0),replayButton:Be(void 0),nextButton:Be(void 0),playPrevChapterButton:Be(void 0),seekToInteractiveButton:Be(void 0),interactiveGraphButton:Be(void 0),liveButton:Be(void 0),time:Be(void 0),episodes:Be(void 0),volume:Be(void 0),subtitles:Be(void 0),settings:Be(void 0),context:Be(void 0),chromecast:Be(void 0),pip:Be(void 0),fullscreen:Be(void 0),vkLogo:Be(void 0),interactiveTimeIcon:Be(void 0),additionalButtons:q.length?q.reduce(A=>[...A,Be(void 0)],[]):[],disabledControls$:Se},modals:{hotKeyMap:{show:Be(!1),data:Be({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ee,rotateAlpha:Ue,isAutoplay:Be(!1),contextMenuVisible:Be(!1),debugPanelVisible:Be(!1),episodes:{panelOpened$:Be(!1),openedByKeyboard$:Be(!1)},contextMenu:{btnRef$:Be(void 0),openedByKeyboard$:Be(!1),showContextMenuBtn$:Be(!1)},playerSize:cn,isMobile:nn,mobileNotReportControlHidden$:Wn,mobileUnmuteButtonExpanded:Be(!1),mobileUnmuteButtonVisible:Be(!1),icon3DVideoVisible:Be(!1),settingsMenuVisible:Be(!1),settingsMenuOpenedByKeyboard:Be(!1),scrubbingInProgress:Ei,is3DVideo:Be(!1),isPictureInPictureActive$:He,pictureInPictureType$:Ln(se),clientInfo$:Ln(Ce),currentGridType$:Qi,additionalButtons$:fn,interactiveHideMobileControls:Be(!1),overlayContainer$:Be(void 0),startedByKeyboard$:Be(!1)},ads:{position:Be(0),duration:Be(0),playbackState:Be(ti.INACTIVE),canSkip:Be(!1),secondsToWatchBeforeSkip:Be(0),postrollPassed:Be(!1)},webApi:{pictureInPictureApi:Y,annotationsApi:Pe},actions:{internal:{preload:Zi,firstStart:A=>pn(A,!1),pause:()=>Rn(!1),togglePlay:qe,toggleMuted:Ci,toggleSettingsMenu:$t,openSettingsMenu:xt,closeSettingsMenu:Si,setVolume:Me,setQuality:xi,setTrafficSavingEnabled:A=>Ti(A),setPlaybackRate:$i,incrementPlaybackRate:en,decrementPlaybackRate:sn,setSubtitle:Gt,toggleSubtitle:ai,togglePictureInPicture:W,startScrubbing:vt,progressScrubbing:dn,completeScrubbing:x,toggleChromecast:io,switchToActiveLive:Zn,switchFromAdsToVideo:An,switchFromVideoToAds:Bn,skipAd:Kn,setWaitingLive:J,setWaitingRecord:Gn,getDebugTextData:uo,getDebugPanelData:co,getVideoElement:Yn,seekTime:(A,ne,ve)=>ui(A,ne,ve),clearDelayedBufferingCheckTimeout:Ii,seekEpisodeStartTime:an,seekToPercent:Yi,getNextEpisode:no,seekToNextEpisode:Bo,getPrevEpisode:fo,seekToPrevEpisode:Ro,startLogging:Ut,stopLogging:ce,startCameraManualRotation:wt,stopCameraManualRotation:ot,moveCameraFocusPX:Lt,holdCamera:ut,releaseCamera:Et,getVideoEpisodes:Qn,getPreviewThumbsData:mo,downloadVideo:Wi,addLanguage:Vs,setLanguage:ae,nextMovie:Je,videoRotate:Tt,correctSeekTimeToInteractive:In,replayInteractive:y},external:{firstStart:A=>pn(A,!0),play:()=>Mo(!0),pause:()=>Rn(!0),seekTime:A=>tn(A),seekEpisodeStartTime:A=>te(A),setPlaybackRate:A=>rt(A),setAutoQualityLimits:A=>Pi(A),setMuted:A=>Ri(A,!0),setVolume:A=>Me(A,A,!0),returnFocusToEpisodes:oo}},callbacks:s,setUiCallbacks:A=>{we={...A}},getAdmanWrapper:()=>S,getLogger:()=>X,destroy:xo};return bt},Vf=(i,e,t,n)=>{var l;if(!i)return;const r=["interactiveTimeIcon"],o=i.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=t[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},Mf=async(i,e,t)=>{await Wo(),e&&t&&(t.focus(),i.set(!1))};function Ag(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Ig extends _e{constructor(e){super(),be(this,e,null,Ag,ge,{})}}function Lg(i){let e,t;return e=new Ig({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Vg(i){let e,t,n;function l(o){i[8](o)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],ariaExpanded:i[3],$$slots:{default:[Lg]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s&4&&(t=!0,a.ref=o[2],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Mg(i,e,t){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Ct(),s=o.ui.contextMenuVisible;O(i,s,b=>t(3,n=b));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,m=b=>{const C=Rr(b);a.set(C),s.set(!n)};let h;const _=()=>{c.set(!0)},v=()=>{c.set(!1)};function w(b){h=b,t(2,h)}return i.$$set=b=>{"disabled"in b&&t(0,l=b.disabled),"ariaLabel"in b&&t(1,r=b.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,m,_,v,w]}class Bg extends _e{constructor(e){super(),be(this,e,Mg,Vg,ge,{disabled:0,ariaLabel:1})}}function Rg(i){Ze(i,"v-1syq7kl",".interactive-episode-icon-animated.v-1syq7kl{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-1syq7kl{opacity:0;visibility:hidden}.fullscreen.v-1syq7kl:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-1syq7kl{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-1syq7kl{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-1syq7kl{top:40px;right:16px}}@keyframes v-1syq7kl-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-1syq7kl:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-1syq7kl-pulse infinite;transition:0.3ms}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-1syq7kl{position:absolute;top:0;width:100%;height:100%}.hidden.v-1syq7kl{display:none}")}function Ng(i){let e,t,n,l,r,o,s;return t=new ff({props:{completed:!0}}),{c(){e=E("div"),U(t.$$.fragment),n=N(),l=E("div"),u(l,"class","ref-block v-1syq7kl"),M(l,"hidden",i[2]),u(e,"class","interactive-episode-icon-animated v-1syq7kl"),M(e,"mobile",i[1]),M(e,"fullscreen",i[3]),M(e,"invisible",i[2])},m(a,c){P(a,e,c),z(t,e,null),p(e,n),p(e,l),i[14](l),r=!0,o||(s=he(e,"click",i[9]),o=!0)},p(a,[c]){(!r||c&4)&&M(l,"hidden",a[2]),(!r||c&2)&&M(e,"mobile",a[1]),(!r||c&8)&&M(e,"fullscreen",a[3]),(!r||c&4)&&M(e,"invisible",a[2])},i(a){r||(d(t.$$.fragment,a),r=!0)},o(a){g(t.$$.fragment,a),r=!1},d(a){a&&T(e),F(t),i[14](null),o=!1,s()}}}function Og(i,e,t){var V;let n,l,r,o,s,{ref:a=void 0}=e;const c=Ct(),f=c.ui.isMobile;O(i,f,q=>t(1,o=q));const m=c.ui.isFullscreen;O(i,m,q=>t(3,s=q));const h=c.state.isInteractiveTime$;O(i,h,q=>t(12,l=q));const _=c.ui.controlsVisible;O(i,_,q=>t(13,r=q));const v=(V=c.callbacks)==null?void 0:V.onInteractiveTimeIconClick,{interactiveControlsOpacity$:w}=Il();O(i,w,q=>t(11,n=q));let b,C;const y=()=>{C||v==null||v()};function k(q){ke[q?"unshift":"push"](()=>{a=q,t(0,a)})}return i.$$set=q=>{"ref"in q&&t(0,a=q.ref)},i.$$.update=()=>{i.$$.dirty&8194&&t(10,b=!o&&r),i.$$.dirty&7168&&t(2,C=!l||!!n||b)},[a,o,C,s,f,m,h,_,w,y,b,n,l,r,k]}class Bf extends _e{constructor(e){super(),be(this,e,Og,Ng,ge,{ref:0},Rg)}}const{Boolean:Dg}=El;function zg(i){Ze(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ka(i,e,t){const n=i.slice();return n[211]=e[t].iconUrl,n[212]=e[t].ariaLabel,n[213]=e[t].testId,n[214]=e[t].onClick,n[215]=e[t].tooltip,n}function Ga(i){let e,t,n;function l(o){i[175](o)}let r={disabled:!i[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[Fg]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].prevButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Fg(i){let e,t;return e=new Rl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ya(i){let e,t,n;function l(o){i[176](o)}let r={disabled:i[75],tooltipContent:G("tooltip_restart"),$$slots:{default:[Hg]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[2]&8192&&(a.disabled=o[75]),s[2]&8192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].replayButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Hg(i){let e,t;return e=new qr({props:{click:i[130],disabled:i[75]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[2]&8192&&(r.disabled=n[75]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Qa(i){let e,t,n;function l(o){i[178](o)}let r={tooltipContent:i[48],disabled:i[76],$$slots:{default:[Ug]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&16384&&(a.disabled=o[76]),s[0]&67108864|s[1]&16|s[2]&16384|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Ug(i){let e,t,n;function l(o){i[177](o)}let r={isMobile:!1,isPlaying:i[35],click:i[87],disabled:i[76]};return i[26]!==void 0&&(r.ref=i[26]),e=new Ur({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.isPlaying=o[35]),s[2]&16384&&(a.disabled=o[76]),!t&&s[0]&67108864&&(t=!0,a.ref=o[26],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Xa(i){let e,t,n;function l(o){i[179](o)}let r={disabled:!i[8],tooltipContent:G("tooltip_next"),$$slots:{default:[qg]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].nextButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function qg(i){let e,t;return e=new Rl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function jg(i){let e,t,n,l,r=i[124]&&Wg(i),o=i[123]&&Kg(i),s=i[122]&&Yg(i);return{c(){r&&r.c(),e=N(),o&&o.c(),t=N(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,t,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[124]&&r.p(a,c),a[123]&&o.p(a,c),a[122]&&s.p(a,c)},i(a){l||(d(r),d(o),d(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(T(e),T(t),T(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Wg(i){let e,t,n;function l(o){i[180](o)}let r={disabled:i[74],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(i[126]),$$slots:{default:[Zg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[0]&131072|s[2]&4096|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].playPrevChapterButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Zg(i){let e,t;return e=new Tf({props:{disabled:i[74],click:i[17]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Kg(i){let e,t,n;function l(o){i[181](o)}let r={disabled:i[77],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(i[80]),$$slots:{default:[Gg]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[2]&32768&&(a.disabled=o[77]),s[2]&262144&&(a.disabledTooltipContent=G(o[80])),s[0]&32768|s[2]&32768|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].seekToInteractiveButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Gg(i){let e,t;return e=new kf({props:{disabled:i[77],click:i[15]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[2]&32768&&(r.disabled=n[77]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Yg(i){let e,t,n;function l(o){i[182](o)}let r={tooltipContent:i[49],disabled:i[78],$$slots:{default:[Qg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.tooltipContent=o[49]),s[2]&65536&&(a.disabled=o[78]),s[0]&65536|s[1]&1|s[2]&65536|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveGraphButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Qg(i){let e,t;return e=new Cf({props:{click:i[16],graphIsOpened:i[31],disabled:i[78]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&65536&&(r.disabled=n[78]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ja(i){let e,t,n;function l(o){i[183](o)}let r={tooltipContent:i[51],$$slots:{default:[Xg]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&2097152|s[1]&1048576|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].liveButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Xg(i){let e,t;return e=new gf({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[51]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&1048576&&(r.ariaLabel=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function xa(i){let e,t,n;function l(o){i[184](o)}let r={isMobile:!1,showDuration:i[56],position:i[4]?i[81]:i[82],duration:i[4]?i[83]:i[84]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new uf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&33554432&&(a.showDuration=o[56]),s[0]&16|s[2]&1572864&&(a.position=o[4]?o[81]:o[82]),s[0]&16|s[2]&6291456&&(a.duration=o[4]?o[83]:o[84]),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].time,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function $a(i){let e,t;return e=new yf({props:{position:i[82],duration:i[84],timeCodes:i[103]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[2]&1048576&&(r.position=n[82]),l[2]&4194304&&(r.duration=n[84]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Jg(i){let e,t,n=i[20]&&$a(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),t=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&d(n,1)):(n=$a(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(d(n),t=!0)},o(l){g(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function xg(i){var n;let e,t;return e=new Pf({props:{iconUrl:i[211],ariaLabel:(n=i[212])!=null?n:i[215],testId:i[213],onClick:i[214]}}),{c(){U(e.$$.fragment)},m(l,r){z(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[211]),r[0]&268435456&&(o.ariaLabel=(s=l[212])!=null?s:l[215]),r[0]&268435456&&(o.testId=l[213]),r[0]&268435456&&(o.onClick=l[214]),e.$set(o)},i(l){t||(d(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){F(e,l)}}}function eu(i){let e,t;return e=new Zt({props:{tooltipContent:i[215],width:40,$$slots:{default:[xg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[215]),l[0]&268435456|l[7]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function tu(i){let e,t,n;function l(o){i[187](o)}let r={disabled:!i[6],tooltipContent:i[52],$$slots:{default:[$g]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].vkLogo,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function $g(i){let e,t;return e=new hf({props:{click:i[88],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function eb(i){let e,t;return e=new hv({props:{isAudioAvailable:i[79],click:i[129]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[2]&131072&&(r.isAudioAvailable=n[79]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function iu(i){let e,t,n;function l(o){i[189](o)}let r={tooltipContent:i[53],$$slots:{default:[tb]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&262144|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].subtitles,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function tb(i){let e,t;return e=new Ph({props:{isSubtitlesEnabled:i[18],click:i[89]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function nu(i){var s;let e,t,n,l;function r(a){i[190](a)}let o={supportLink:i[10],playerControlsHeight:(s=i[47])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(o.ref=i[24]),t=new af({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){P(a,e,c),z(t,e,null),l=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&65536&&(f.playerControlsHeight=(m=a[47])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],je(()=>n=!1)),t.$set(f)},i(a){l||(d(t.$$.fragment,a),l=!0)},o(a){g(t.$$.fragment,a),l=!1},d(a){a&&T(e),F(t)}}}function ou(i){let e,t,n;function l(o){i[192](o)}let r={tooltipContent:i[27]?void 0:G("tooltip_settings_off"),$$slots:{default:[ib]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].settings,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function ib(i){let e,t,n;function l(o){i[191](o)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new zr({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=o[25],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function nb(i){let e,t,n;function l(o){i[193](o)}let r={className:i[42]?"":"out-of-view",tooltipContent:i[50],$$slots:{default:[ob]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&2048&&(a.className=o[42]?"":"out-of-view"),s[1]&524288&&(a.tooltipContent=o[50]),s[1]&524288|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].context,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function ob(i){let e,t;return e=new Bg({props:{ariaLabel:i[50]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function lu(i){let e,t,n;function l(o){i[194](o)}let r={tooltipContent:i[54],$$slots:{default:[lb]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&1073750016|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].fullscreen,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function lb(i){let e,t;return e=new mf({props:{click:i[13],isFullscreen:i[30]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ru(i){let e,t,n;function l(o){i[195](o)}let r={tooltipContent:i[55],$$slots:{default:[rb]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.tooltipContent=o[55]),s[0]&536870912|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&8388608&&(t=!0,a.ref=o[23].chromecast,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function rb(i){let e,t;return e=new vf({props:{isMobile:!1,state:i[29],click:i[128]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function su(i){let e,t,n;function l(o){i[198](o)}let r={};return i[23].interactiveTimeIcon!==void 0&&(r.ref=i[23].interactiveTimeIcon),e=new Bf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&8388608&&(t=!0,a.ref=o[23].interactiveTimeIcon,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function sb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X;t=new wf({props:{isHidden:!i[46],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let S=i[39]&&Ga(i),$=i[36]&&Ya(i),D=i[37]&&Qa(i),Y=i[38]&&Xa(i),Pe=i[119]&&jg(i),ye=!i[4]&&i[33]&&Ja(i),Ie=i[19]&&xa(i);function Ve(me){i[185](me)}let we={className:"w-max",disabled:!i[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[Jg]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(we.ref=i[23].episodes),_=new Zt({props:we}),ke.push(()=>We(_,"ref",Ve));let Ce=Qt(i[28]),Q=[];for(let me=0;me<Ce.length;me+=1)Q[me]=eu(Ka(i,Ce,me));const ee=me=>g(Q[me],1,1,()=>{Q[me]=null});let ue=i[44]&&tu(i);function se(me){i[188](me)}let Ue={$$slots:{default:[eb]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Ue.ref=i[23].volume),V=new Zt({props:Ue}),ke.push(()=>We(V,"ref",se));let Ne=i[41]&&iu(i),Le=!i[85]&&!i[4]&&nu(i),Ae=i[43]&&ou(i),ae=i[86].features.contextMenuButton&&nb(i),pe=i[45]&&lu(i),oe=i[40]&&ru(i),Te=i[34]&&su(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),l=E("div"),r=E("div"),S&&S.c(),o=N(),$&&$.c(),s=N(),D&&D.c(),a=N(),Y&&Y.c(),c=N(),Pe&&Pe.c(),f=N(),ye&&ye.c(),m=N(),Ie&&Ie.c(),h=N(),U(_.$$.fragment),b=N(),C=E("div");for(let me=0;me<Q.length;me+=1)Q[me].c();y=N(),ue&&ue.c(),k=N(),U(V.$$.fragment),L=N(),Ne&&Ne.c(),j=N(),Le&&Le.c(),re=N(),Ae&&Ae.c(),le=N(),ae&&ae.c(),R=N(),pe&&pe.c(),ie=N(),oe&&oe.c(),Z=N(),Te&&Te.c(),I=pt(),u(r,"class","controls-left v-st0uzk"),Ao(()=>i[186].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",i[1]),M(e,"controls-hidden",!i[3]),M(e,"no-smooth",i[2])},m(me,Se){P(me,e,Se),z(t,e,null),p(e,n),p(e,l),p(l,r),S&&S.m(r,null),p(r,o),$&&$.m(r,null),p(r,s),D&&D.m(r,null),p(r,a),Y&&Y.m(r,null),p(r,c),Pe&&Pe.m(r,null),p(r,f),ye&&ye.m(r,null),p(r,m),Ie&&Ie.m(r,null),p(r,h),z(_,r,null),w=Sr(r,i[186].bind(r)),p(l,b),p(l,C);for(let Ke=0;Ke<Q.length;Ke+=1)Q[Ke]&&Q[Ke].m(C,null);p(C,y),ue&&ue.m(C,null),p(C,k),z(V,C,null),p(C,L),Ne&&Ne.m(C,null),p(C,j),Le&&Le.m(C,null),p(C,re),Ae&&Ae.m(C,null),p(C,le),ae&&ae.m(C,null),p(C,R),pe&&pe.m(C,null),p(C,ie),oe&&oe.m(C,null),i[196](l),i[197](e),P(me,Z,Se),Te&&Te.m(me,Se),P(me,I,Se),X=!0},p(me,Se){const Ke={};Se[1]&32768&&(Ke.isHidden=!me[46]),Se[0]&16&&(Ke.isAds=me[4]),Se[0]&32&&(Ke.canRewindLive=me[5]),Se[1]&2&&(Ke.isRewindableLive=me[32]),t.$set(Ke),me[39]?S?(S.p(me,Se),Se[1]&256&&d(S,1)):(S=Ga(me),S.c(),d(S,1),S.m(r,o)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),me[36]?$?($.p(me,Se),Se[1]&32&&d($,1)):($=Ya(me),$.c(),d($,1),$.m(r,s)):$&&(fe(),g($,1,1,()=>{$=null}),de()),me[37]?D?(D.p(me,Se),Se[1]&64&&d(D,1)):(D=Qa(me),D.c(),d(D,1),D.m(r,a)):D&&(fe(),g(D,1,1,()=>{D=null}),de()),me[38]?Y?(Y.p(me,Se),Se[1]&128&&d(Y,1)):(Y=Xa(me),Y.c(),d(Y,1),Y.m(r,c)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),me[119]&&Pe.p(me,Se),!me[4]&&me[33]?ye?(ye.p(me,Se),Se[0]&16|Se[1]&4&&d(ye,1)):(ye=Ja(me),ye.c(),d(ye,1),ye.m(r,m)):ye&&(fe(),g(ye,1,1,()=>{ye=null}),de()),me[19]?Ie?(Ie.p(me,Se),Se[0]&524288&&d(Ie,1)):(Ie=xa(me),Ie.c(),d(Ie,1),Ie.m(r,h)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de());const Re={};if(Se[0]&1048576&&(Re.disabled=!me[20]),Se[0]&1048576|Se[2]&5242880|Se[7]&2&&(Re.$$scope={dirty:Se,ctx:me}),!v&&Se[0]&8388608&&(v=!0,Re.ref=me[23].episodes,je(()=>v=!1)),_.$set(Re),Se[0]&268435456){Ce=Qt(me[28]);let xe;for(xe=0;xe<Ce.length;xe+=1){const nt=Ka(me,Ce,xe);Q[xe]?(Q[xe].p(nt,Se),d(Q[xe],1)):(Q[xe]=eu(nt),Q[xe].c(),d(Q[xe],1),Q[xe].m(C,y))}for(fe(),xe=Ce.length;xe<Q.length;xe+=1)ee(xe);de()}me[44]?ue?(ue.p(me,Se),Se[1]&8192&&d(ue,1)):(ue=tu(me),ue.c(),d(ue,1),ue.m(C,k)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de());const Je={};Se[2]&131072|Se[7]&2&&(Je.$$scope={dirty:Se,ctx:me}),!q&&Se[0]&8388608&&(q=!0,Je.ref=me[23].volume,je(()=>q=!1)),V.$set(Je),me[41]?Ne?(Ne.p(me,Se),Se[1]&1024&&d(Ne,1)):(Ne=iu(me),Ne.c(),d(Ne,1),Ne.m(C,j)):Ne&&(fe(),g(Ne,1,1,()=>{Ne=null}),de()),!me[85]&&!me[4]?Le?(Le.p(me,Se),Se[0]&16|Se[2]&8388608&&d(Le,1)):(Le=nu(me),Le.c(),d(Le,1),Le.m(C,re)):Le&&(fe(),g(Le,1,1,()=>{Le=null}),de()),me[43]?Ae?(Ae.p(me,Se),Se[1]&4096&&d(Ae,1)):(Ae=ou(me),Ae.c(),d(Ae,1),Ae.m(C,le)):Ae&&(fe(),g(Ae,1,1,()=>{Ae=null}),de()),me[86].features.contextMenuButton&&ae.p(me,Se),me[45]?pe?(pe.p(me,Se),Se[1]&16384&&d(pe,1)):(pe=lu(me),pe.c(),d(pe,1),pe.m(C,ie)):pe&&(fe(),g(pe,1,1,()=>{pe=null}),de()),me[40]?oe?(oe.p(me,Se),Se[1]&512&&d(oe,1)):(oe=ru(me),oe.c(),d(oe,1),oe.m(C,null)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),(!X||Se[0]&2)&&M(e,"hidden",me[1]),(!X||Se[0]&8)&&M(e,"controls-hidden",!me[3]),(!X||Se[0]&4)&&M(e,"no-smooth",me[2]),me[34]?Te?(Te.p(me,Se),Se[1]&8&&d(Te,1)):(Te=su(me),Te.c(),d(Te,1),Te.m(I.parentNode,I)):Te&&(fe(),g(Te,1,1,()=>{Te=null}),de())},i(me){if(!X){d(t.$$.fragment,me),d(S),d($),d(D),d(Y),d(Pe),d(ye),d(Ie),d(_.$$.fragment,me);for(let Se=0;Se<Ce.length;Se+=1)d(Q[Se]);d(ue),d(V.$$.fragment,me),d(Ne),d(Le),d(Ae),d(ae),d(pe),d(oe),d(Te),X=!0}},o(me){g(t.$$.fragment,me),g(S),g($),g(D),g(Y),g(Pe),g(ye),g(Ie),g(_.$$.fragment,me),Q=Q.filter(Dg);for(let Se=0;Se<Q.length;Se+=1)g(Q[Se]);g(ue),g(V.$$.fragment,me),g(Ne),g(Le),g(Ae),g(ae),g(pe),g(oe),g(Te),X=!1},d(me){me&&(T(e),T(Z),T(I)),F(t),S&&S.d(),$&&$.d(),D&&D.d(),Y&&Y.d(),Pe&&Pe.d(),ye&&ye.d(),Ie&&Ie.d(),F(_),w(),En(Q,me),ue&&ue.d(),F(V),Ne&&Ne.d(),Le&&Le.d(),Ae&&Ae.d(),ae&&ae.d(),pe&&pe.d(),oe&&oe.d(),i[196](null),i[197](null),Te&&Te.d(me)}}}function ab(i,e,t){var $r,es;let n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe=K,ye=()=>(Pe(),Pe=ei(le,H=>t(146,Y=H)),le),Ie,Ve=K,we=()=>(Ve(),Ve=ei(re,H=>t(147,Ie=H)),re),Ce,Q=K,ee=()=>(Q(),Q=ei(j,H=>t(148,Ce=H)),j),ue,se=K,Ue=()=>(se(),se=ei(L,H=>t(149,ue=H)),L),Ne,Le=K,Ae=()=>(Le(),Le=ei(q,H=>t(150,Ne=H)),q),ae,pe=K,oe=()=>(pe(),pe=ei(V,H=>t(151,ae=H)),V),Te,me=K,Se=()=>(me(),me=ei(k,H=>t(152,Te=H)),k),Ke,Re=K,Je=()=>(Re(),Re=ei(y,H=>t(153,Ke=H)),y),xe,nt=K,at=()=>(nt(),nt=ei(C,H=>t(154,xe=H)),C),Pt,ht=K,Fe=()=>(ht(),ht=ei(b,H=>t(155,Pt=H)),b),_t,Ut=K,ce=()=>(Ut(),Ut=ei(w,H=>t(156,_t=H)),w),wt,ot=K,Lt=()=>(ot(),ot=ei(v,H=>t(157,wt=H)),v),ut,Et=K,$e=()=>(Et(),Et=ei(_,H=>t(158,ut=H)),_),He,St=K,Ki=()=>(St(),St=ei(h,H=>t(159,He=H)),h),ci,fi=K,rn=()=>(fi(),fi=ei(m,H=>t(160,ci=H)),m),di,Xt=K,ni=()=>(Xt(),Xt=ei(f,H=>t(161,di=H)),f),Ot,oi=K,Di=()=>(oi(),oi=ei(c,H=>t(162,Ot=H)),c),li,mi,pi,Jt,zi,hi,Bt,vi,Fi,It,Kt,gi,Ii,lt,mt,ri,Rt,bi,Li,Dt,zt,Gi,_i,Xi;i.$$.on_destroy.push(()=>Pe()),i.$$.on_destroy.push(()=>Ve()),i.$$.on_destroy.push(()=>Q()),i.$$.on_destroy.push(()=>se()),i.$$.on_destroy.push(()=>Le()),i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>me()),i.$$.on_destroy.push(()=>Re()),i.$$.on_destroy.push(()=>nt()),i.$$.on_destroy.push(()=>ht()),i.$$.on_destroy.push(()=>Ut()),i.$$.on_destroy.push(()=>ot()),i.$$.on_destroy.push(()=>Et()),i.$$.on_destroy.push(()=>St()),i.$$.on_destroy.push(()=>fi()),i.$$.on_destroy.push(()=>Xt()),i.$$.on_destroy.push(()=>oi());let{bottomHidden:Vi}=e,{bottomNoSmooth:Ji}=e,{showControls:si}=e,{controlsElementRef:Mi=void 0}=e,{isAds:Nt=!1}=e,{canRewindLive:qt}=e,{logoClickable:wi}=e,{logoHidden:yi}=e,{videoLogoUrl:Bi}=e,{showNextPrevButtons:At}=e,{nextButtonActive:Hi}=e,{prevButtonActive:Ui}=e,{isOneVideoPlaylist:ki=!1}=e,{supportLink:qi}=e,{customFullscreenSupported:ji=!0}=e,{playNextVideo:Wi}=e,{playPrevVideo:Ci}=e,{repeatPlaylist:Si}=e,{toggleFullscreen:xt}=e,{returnFocus:$t}=e,{seekToInteractive:Me}=e,{toggleGraph:Ri}=e,{playPrevChapter:Zi}=e;const qe=Ct(),xi=Il(),Ti=gn(),$i=qe.actions.internal.toggleMuted,en=qe.actions.internal.togglePlay,sn=qe.actions.internal.pause,Gt=qe.actions.internal.toggleSubtitle,ai=($r=qe.callbacks)==null?void 0:$r.onAudioDoesNotExistHint,ui=(es=qe.callbacks)==null?void 0:es.onAudioDisabledHint,an=qe.state.duration$;O(i,an,H=>t(84,_i=H));const Yi=qe.state.positionWithScrubbing$;O(i,Yi,H=>t(82,zt=H));const tn=qe.state.playbackState$;O(i,tn,H=>t(163,pi=H));const Pi=qe.state.chromecastConnected$;O(i,Pi,H=>t(85,Xi=H));const te=qe.state.isAudioAvailable$;O(i,te,H=>t(79,R=H));const rt=qe.state.isAudioDisabled,jt=qe.state.isEnded$;O(i,jt,H=>t(171,lt=H));const Ei=qe.state.isLive$;O(i,Ei,H=>t(33,vi=H));const vt=qe.state.isActiveLive$;O(i,vt,H=>t(165,hi=H));const dn=qe.state.isRewindableLive$;O(i,dn,H=>t(32,Bt=H));const bn=qe.ui.isPictureInPictureActive$;O(i,bn,H=>t(167,It=H));const mn=qe.ui.pictureInPictureType$;O(i,mn,H=>t(166,Fi=H));const _n=qe.ui.settingsMenuVisible;O(i,_n,H=>t(27,I=H));const un=qe.ui.settingsMenuOpenedByKeyboard;O(i,un,H=>t(142,Z=H));const x=qe.ui.controls,ct=qe.actions.internal.getVideoEpisodes(),cn=qe.state.chromecastState$;O(i,cn,H=>t(29,li=H));const Qi=qe.state.availableSubtitlesList$;O(i,Qi,H=>t(170,Ii=H));const nn=qe.state.currentSubtitle$;O(i,nn,H=>t(172,mt=H));const fn=x.disabledControls$;O(i,fn,H=>t(174,Rt=H));const Wn=qe.ui.contextMenuVisible;O(i,Wn,H=>t(164,Jt=H));const Zn=qe.ui.contextMenu.showContextMenuBtn$;O(i,Zn,H=>t(168,Kt=H));const Kn=qe.ui.contextMenu.openedByKeyboard$;O(i,Kn,H=>t(169,gi=H));const An=qe.ui.startedByKeyboard$;O(i,An,H=>t(141,ie=H));const Bn=qe.ads.duration;O(i,Bn,H=>t(83,Gi=H));const J=qe.ads.position;O(i,J,H=>t(81,Dt=H));const Gn=qe.ads.playbackState;O(i,Gn,H=>t(173,ri=H));const uo=qe.ui.isFullscreen;O(i,uo,H=>t(30,mi=H));const co=qe.ui.playerSize;O(i,co,H=>t(144,S=H));const Yn=qe.ui.currentGridType$;O(i,Yn,H=>t(145,$=H));const io=qe.ui.additionalButtons$;O(i,io,H=>t(28,D=H));const Rn=qe.actions.internal.getVideoElement,Mo=qe.actions.internal.replayInteractive,pn=qe.state.isInteractive,Qn=qe.state.isInteractiveTime$;O(i,Qn,H=>t(143,X=H));const no=qe.state.interactiveEpisodes$;O(i,no,H=>t(199,bi=H));const Bo=qe.state.isInteractiveGraphEnabled,fo=qe.state.isSeekToInteractiveEnable,Ro=qe.state.isPlayPrevChapterEnabled,mo=qe.state.graphIsOpened$;O(i,mo,H=>t(31,zi=H));const W=qe.state.playPrevChapterDisabledTooltip,Tt=xi.seekToInteractiveDisabledTooltip$;O(i,Tt,H=>t(80,Li=H));let on;on=!!(pn&&bi.length);const hn=()=>qe.actions.internal.toggleChromecast();let In,oo,xo,bt,A,ne,ve,ze,Qe,ft,Vt,yt,Ni,Xn,$o,po,Nl,Ol,Zr,Kr,Gr,Dl="";const Gf=(H,Fl)=>{if(!H){t(51,Dl=G("tooltip_live"));return}Fl===Yt.PAUSED&&t(51,Dl=G("tooltip_play"))};let Yr,Qr,Xr,Jr,el;const Ge={};let yn,No,zl,xr;const Yf=Pl(Vf,Z1,{leading:!1});let tl,il,nl;function Qf(){rt?ui==null||ui():R?$i():ai==null||ai()}const Xf=pn?Mo:ki?en:Si;function Jf(H){i.$$.not_equal(Ge.prevButton,H)&&(Ge.prevButton=H,t(23,Ge))}function xf(H){i.$$.not_equal(Ge.replayButton,H)&&(Ge.replayButton=H,t(23,Ge))}function $f(H){nl=H,t(26,nl)}function e0(H){i.$$.not_equal(Ge.playButton,H)&&(Ge.playButton=H,t(23,Ge))}function t0(H){i.$$.not_equal(Ge.nextButton,H)&&(Ge.nextButton=H,t(23,Ge))}function i0(H){i.$$.not_equal(Ge.playPrevChapterButton,H)&&(Ge.playPrevChapterButton=H,t(23,Ge))}function n0(H){i.$$.not_equal(Ge.seekToInteractiveButton,H)&&(Ge.seekToInteractiveButton=H,t(23,Ge))}function o0(H){i.$$.not_equal(Ge.interactiveGraphButton,H)&&(Ge.interactiveGraphButton=H,t(23,Ge))}function l0(H){i.$$.not_equal(Ge.liveButton,H)&&(Ge.liveButton=H,t(23,Ge))}function r0(H){i.$$.not_equal(Ge.time,H)&&(Ge.time=H,t(23,Ge))}function s0(H){i.$$.not_equal(Ge.episodes,H)&&(Ge.episodes=H,t(23,Ge))}function a0(){el=this.clientWidth,t(22,el)}function u0(H){i.$$.not_equal(Ge.vkLogo,H)&&(Ge.vkLogo=H,t(23,Ge))}function c0(H){i.$$.not_equal(Ge.volume,H)&&(Ge.volume=H,t(23,Ge))}function f0(H){i.$$.not_equal(Ge.subtitles,H)&&(Ge.subtitles=H,t(23,Ge))}function d0(H){tl=H,t(24,tl)}function m0(H){il=H,t(25,il)}function p0(H){i.$$.not_equal(Ge.settings,H)&&(Ge.settings=H,t(23,Ge))}function h0(H){i.$$.not_equal(Ge.context,H)&&(Ge.context=H,t(23,Ge))}function v0(H){i.$$.not_equal(Ge.fullscreen,H)&&(Ge.fullscreen=H,t(23,Ge))}function g0(H){i.$$.not_equal(Ge.chromecast,H)&&(Ge.chromecast=H,t(23,Ge))}function b0(H){ke[H?"unshift":"push"](()=>{Nl=H,t(47,Nl)})}function _0(H){ke[H?"unshift":"push"](()=>{Mi=H,t(0,Mi)})}function w0(H){i.$$.not_equal(Ge.interactiveTimeIcon,H)&&(Ge.interactiveTimeIcon=H,t(23,Ge))}return i.$$set=H=>{"bottomHidden"in H&&t(1,Vi=H.bottomHidden),"bottomNoSmooth"in H&&t(2,Ji=H.bottomNoSmooth),"showControls"in H&&t(3,si=H.showControls),"controlsElementRef"in H&&t(0,Mi=H.controlsElementRef),"isAds"in H&&t(4,Nt=H.isAds),"canRewindLive"in H&&t(5,qt=H.canRewindLive),"logoClickable"in H&&t(6,wi=H.logoClickable),"logoHidden"in H&&t(131,yi=H.logoHidden),"videoLogoUrl"in H&&t(7,Bi=H.videoLogoUrl),"showNextPrevButtons"in H&&t(132,At=H.showNextPrevButtons),"nextButtonActive"in H&&t(8,Hi=H.nextButtonActive),"prevButtonActive"in H&&t(9,Ui=H.prevButtonActive),"isOneVideoPlaylist"in H&&t(133,ki=H.isOneVideoPlaylist),"supportLink"in H&&t(10,qi=H.supportLink),"customFullscreenSupported"in H&&t(134,ji=H.customFullscreenSupported),"playNextVideo"in H&&t(11,Wi=H.playNextVideo),"playPrevVideo"in H&&t(12,Ci=H.playPrevVideo),"repeatPlaylist"in H&&t(135,Si=H.repeatPlaylist),"toggleFullscreen"in H&&t(13,xt=H.toggleFullscreen),"returnFocus"in H&&t(14,$t=H.returnFocus),"seekToInteractive"in H&&t(15,Me=H.seekToInteractive),"toggleGraph"in H&&t(16,Ri=H.toggleGraph),"playPrevChapter"in H&&t(17,Zi=H.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&524288&&t(140,n=Rt.has(dt.EPISODE_BUTTON)),i.$$.dirty[5]&524288&&t(78,l=Rt.has(dt.GRAPH_BUTTON)),i.$$.dirty[5]&524288&&t(77,r=Rt.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&524288&&t(76,o=Rt.has(dt.PLAY_BUTTON)),i.$$.dirty[5]&524288&&t(75,s=Rt.has(dt.REPLAY_BUTTON)),i.$$.dirty[5]&524288&&t(74,a=Rt.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&262400&&t(35,In=Nt?ri===ti.PLAYING:pi===Yt.PLAYING),i.$$.dirty[5]&131072&&t(18,oo=mt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&65536&&t(36,xo=lt&&!Nt||pn),i.$$.dirty[0]&16|i.$$.dirty[5]&65536&&t(37,bt=!lt||pn||Nt),i.$$.dirty[4]&2097152&&t(136,A=kn($,Mt.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&2097408&&t(38,ne=At&&kn($,Mt.M)&&!Nt&&Hi),i.$$.dirty[0]&528|i.$$.dirty[4]&2097408&&t(39,ve=At&&kn($,Mt.M)&&!Nt&&Ui),i.$$.dirty[0]&536870912|i.$$.dirty[4]&2097152|i.$$.dirty[5]&6144&&t(40,ze=li!==Vn.NOT_AVAILABLE&&!(It&&Fi===Dn.DocumentPictureInPicture)&&kn($,Mt.M)&&!pn),i.$$.dirty[4]&2097152|i.$$.dirty[5]&32768&&t(41,Qe=Ii.length>0&&kn($,Mt.M)),i.$$.dirty[5]&24576&&t(42,ft=gi||Kt),i.$$.dirty[4]&2097152&&t(43,Vt=kn($,Mt.S)),i.$$.dirty[4]&128&&t(44,yt=!yi),i.$$.dirty[4]&2098304|i.$$.dirty[5]&6144&&t(45,Ni=Ti.features.fullscreen&&(yi||kn($,Mt.S))&&!(It&&Fi===Dn.DocumentPictureInPicture)&&(pn?ji:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,Xn=(!vi||Nt)&&!(Ti.features.interactiveHideTime&&pn)),i.$$.dirty[4]&1048576&&t(46,$o=S.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&69632&&t(20,po=!Nt&&!vi&&!!(ct!=null&&ct.length)&&A&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&1024&&t(21,Ol=!Bt||hi),i.$$.dirty[5]&256&&t(48,Zr=pi===Yt.PLAYING?G("tooltip_pause"):G("tooltip_play")),i.$$.dirty[1]&1&&t(49,Kr=G(zi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&512&&t(50,Gr=G(Jt?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&256&&Gf(Ol,pi),i.$$.dirty[0]&262144&&t(53,Qr=G(oo?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(54,Xr=G(mi?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(55,Jr=li===Vn.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2143289344|i.$$.dirty[5]&255&&t(137,yn={prevButton:Ot?Ot.right-Ot.left:0,replayButton:di?di.right-di.left:0,playButton:ci?ci.right-ci.left:0,nextButton:He?He.right-He.left:0,playPrevChapterButton:ut?ut.right-ut.left:0,seekToInteractiveButton:wt?wt.right-wt.left:0,interactiveGraphButton:_t?_t.right-_t.left:0,liveButton:Pt?Pt.right-Pt.left:0,time:xe?xe.right-xe.left:0,episodes:Ke?Ke.right-Ke.left:0,vkLogo:Te?Te.right-Te.left:0,volume:ae?ae.right-ae.left:0,subtitles:Ne?Ne.right-Ne.left:0,settings:ue?ue.right-ue.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Ie?Ie.right-Ie.left:0,chromecast:Y?Y.right-Y.left:0,additionalButtons:D.length?D.reduce(H=>[...H,40],[]):[]}),i.$$.dirty[4]&24576&&(!No||No<yn.time)&&t(138,No=yn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&2121728){let H=0;po&&(kn($,Mt.XL)?H=yn.time:H=fd);const Fl=yn.prevButton+yn.playButton+yn.nextButton+yn.seekToInteractiveButton+yn.interactiveGraphButton+yn.liveButton+No+H;t(139,zl=Xn&&el>=Fl)}i.$$.dirty[4]&2129920&&t(56,xr=zl&&kn($,Mt.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&1572864&&Yf(Rn(),x,Ge,si),i.$$.dirty[0]&167772160&&Nr(il,I,un),i.$$.dirty[0]&150994944|i.$$.dirty[4]&262144&&Or(tl,I,Z),i.$$.dirty[0]&67108864|i.$$.dirty[4]&131072&&Mf(An,ie,nl)},t(52,Yr=Ti.logoType===Io.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),Di(t(73,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:b,time:C,episodes:y,vkLogo:k,volume:V,subtitles:q,settings:L,context:j,fullscreen:re,chromecast:le}=x,c,ni(t(72,f)),rn(t(71,m)),Ki(t(70,h)),$e(t(69,_)),Lt(t(68,v)),ce(t(67,w)),Fe(t(66,b)),at(t(65,C)),Je(t(64,y)),Se(t(63,k)),oe(t(62,V)),Ae(t(61,q)),Ue(t(60,L)),ee(t(59,j)),we(t(58,re)),ye(t(57,le)))),[Mi,Vi,Ji,si,Nt,qt,wi,Bi,Hi,Ui,qi,Wi,Ci,xt,$t,Me,Ri,Zi,oo,Xn,po,Ol,el,Ge,tl,il,nl,I,D,li,mi,zi,Bt,vi,on,In,xo,bt,ne,ve,ze,Qe,ft,Vt,yt,Ni,$o,Nl,Zr,Kr,Gr,Dl,Yr,Qr,Xr,Jr,xr,le,re,j,L,q,V,k,y,C,b,w,v,_,h,m,f,c,a,s,o,r,l,R,Li,Dt,zt,Gi,_i,Xi,Ti,en,sn,Gt,an,Yi,tn,Pi,te,jt,Ei,vt,dn,bn,mn,_n,un,ct,cn,Qi,nn,fn,Wn,Zn,Kn,An,Bn,J,Gn,uo,co,Yn,io,pn,Qn,no,Bo,fo,Ro,mo,W,Tt,hn,Qf,Xf,yi,At,ki,ji,Si,A,yn,No,zl,n,ie,Z,X,S,$,Y,Ie,Ce,ue,Ne,ae,Te,Ke,xe,Pt,_t,wt,ut,He,ci,di,Ot,pi,Jt,hi,Fi,It,Kt,gi,Ii,lt,mt,ri,Rt,Jf,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0,c0,f0,d0,m0,p0,h0,v0,g0,b0,_0,w0]}class ub extends _e{constructor(e){super(),be(this,e,ab,sb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:131,videoLogoUrl:7,showNextPrevButtons:132,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:133,supportLink:10,customFullscreenSupported:134,playNextVideo:11,playPrevVideo:12,repeatPlaylist:135,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},zg,[-1,-1,-1,-1,-1,-1,-1,-1])}}function cb(i){let e,t,n,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){P(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class fb extends _e{constructor(e){super(),be(this,e,null,cb,ge,{})}}function db(i){Ze(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function au(i){let e;return{c(){e=E("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){P(t,e,n)},p:K,d(t){t&&T(e)}}}function mb(i){let e,t,n,l;var r=i[4];function o(a){return{}}r&&(t=Mn(r,o()));let s=i[1]&&au();return{c(){e=E("div"),t&&U(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",i[1])},m(a,c){P(a,e,c),t&&z(t,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){fe();const f=t;g(f.$$.fragment,1,0,()=>{F(f,1)}),de()}r?(t=Mn(r,o()),U(t.$$.fragment),d(t.$$.fragment,1),z(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=au(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&M(e,"expanded",a[1])},i(a){l||(t&&d(t.$$.fragment,a),l=!0)},o(a){t&&g(t.$$.fragment,a),l=!1},d(a){a&&T(e),t&&F(t),s&&s.d()}}}function pb(i){let e,t,n;function l(o){i[6](o)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[mb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function hb(i,e,t){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=Xe}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,t(0,o)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,l=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,o=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=l?Bl:fb)},[o,l,r,s,a,n,c]}class Rf extends _e{constructor(e){super(),be(this,e,hb,pb,ge,{muted:5,expanded:1,click:2,ref:0},db)}}function vb(i){let e,t,n,l;return{c(){e=B("svg"),t=B("path"),n=B("path"),l=B("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),M(n,"hidden",!i[0]),u(l,"fill",i[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),M(l,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){P(r,e,o),p(e,t),p(e,n),p(e,l)},p(r,[o]){o&2&&u(t,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&M(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&M(l,"hidden",r[0])},i:K,o:K,d(r){r&&T(e)}}}function gb(i,e,t){let n,{isActive:l=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,l=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=l?"#2688EB":"#fff")},[l,n]}class bb extends _e{constructor(e){super(),be(this,e,gb,vb,ge,{isActive:0})}}function _b(i){let e,t;return e=new bb({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function wb(i){let e,t,n;function l(o){i[3](o)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:i[2],$$slots:{default:[_b]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Ai({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!t&&s&1&&(t=!0,a.ref=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function yb(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=Xe}=e;function o(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,l=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,l,r,o]}class kb extends _e{constructor(e){super(),be(this,e,yb,wb,ge,{ref:0,isPictureInPictureActive:1,click:2})}}const{Boolean:Cb}=El;function Sb(i){Ze(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function uu(i,e,t){const n=i.slice();return n[161]=e[t].iconUrl,n[162]=e[t].ariaLabel,n[163]=e[t].testId,n[164]=e[t].onClick,n[165]=e[t].tooltip,n}function cu(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y=(!i[52]||i[54])&&fu(i),k=Qt(i[57]),V=[];for(let S=0;S<k.length;S+=1)V[S]=du(uu(i,k,S));const q=S=>g(V[S],1,1,()=>{V[S]=null});let L=i[37]&&mu(i),j=i[38]&&pu(i),re=i[58]&&hu(i),le=i[40]&&vu(i),R=i[8]&&gu(i),ie=i[35]&&bu(i),Z=i[34]&&_u(i),I=i[8]&&wu(i),X=i[97]&&!i[29]&&yu(i);return{c(){e=E("div"),t=N(),n=E("div"),y&&y.c(),l=N(),r=E("div");for(let S=0;S<V.length;S+=1)V[S].c();o=N(),L&&L.c(),s=N(),j&&j.c(),a=N(),re&&re.c(),c=N(),le&&le.c(),f=N(),m=E("div"),R&&R.c(),h=N(),ie&&ie.c(),_=N(),Z&&Z.c(),v=N(),I&&I.c(),w=N(),X&&X.c(),b=pt(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!i[43]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!i[3]),M(n,"fullscreen",i[53]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!i[3]&&!i[27]),M(r,"fullscreen",i[53]),u(m,"class","wrapper-middle v-1tcstu3"),M(m,"hidden",!i[3]||i[29])},m(S,$){P(S,e,$),P(S,t,$),P(S,n,$),y&&y.m(n,null),P(S,l,$),P(S,r,$);for(let D=0;D<V.length;D+=1)V[D]&&V[D].m(r,null);p(r,o),L&&L.m(r,null),p(r,s),j&&j.m(r,null),p(r,a),re&&re.m(r,null),p(r,c),le&&le.m(r,null),P(S,f,$),P(S,m,$),R&&R.m(m,null),p(m,h),ie&&ie.m(m,null),p(m,_),Z&&Z.m(m,null),p(m,v),I&&I.m(m,null),P(S,w,$),X&&X.m(S,$),P(S,b,$),C=!0},p(S,$){if((!C||$[1]&4096)&&M(e,"hidden",!S[43]),!S[52]||S[54]?y?(y.p(S,$),$[1]&10485760&&d(y,1)):(y=fu(S),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!C||$[0]&8)&&M(n,"hidden",!S[3]),(!C||$[1]&4194304)&&M(n,"fullscreen",S[53]),$[1]&67108864){k=Qt(S[57]);let D;for(D=0;D<k.length;D+=1){const Y=uu(S,k,D);V[D]?(V[D].p(Y,$),d(V[D],1)):(V[D]=du(Y),V[D].c(),d(V[D],1),V[D].m(r,o))}for(fe(),D=k.length;D<V.length;D+=1)q(D);de()}S[37]?L?(L.p(S,$),$[1]&64&&d(L,1)):(L=mu(S),L.c(),d(L,1),L.m(r,s)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),S[38]?j?(j.p(S,$),$[1]&128&&d(j,1)):(j=pu(S),j.c(),d(j,1),j.m(r,a)):j&&(fe(),g(j,1,1,()=>{j=null}),de()),S[58]?re?(re.p(S,$),$[1]&134217728&&d(re,1)):(re=hu(S),re.c(),d(re,1),re.m(r,c)):re&&(fe(),g(re,1,1,()=>{re=null}),de()),S[40]?le?(le.p(S,$),$[1]&512&&d(le,1)):(le=vu(S),le.c(),d(le,1),le.m(r,null)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),(!C||$[0]&134217736)&&M(r,"hidden",!S[3]&&!S[27]),(!C||$[1]&4194304)&&M(r,"fullscreen",S[53]),S[8]?R?(R.p(S,$),$[0]&256&&d(R,1)):(R=gu(S),R.c(),d(R,1),R.m(m,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),S[35]?ie?(ie.p(S,$),$[1]&16&&d(ie,1)):(ie=bu(S),ie.c(),d(ie,1),ie.m(m,_)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),S[34]?Z?(Z.p(S,$),$[1]&8&&d(Z,1)):(Z=_u(S),Z.c(),d(Z,1),Z.m(m,v)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),S[8]?I?(I.p(S,$),$[0]&256&&d(I,1)):(I=wu(S),I.c(),d(I,1),I.m(m,null)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),(!C||$[0]&536870920)&&M(m,"hidden",!S[3]||S[29]),S[97]&&!S[29]?X?(X.p(S,$),$[0]&536870912&&d(X,1)):(X=yu(S),X.c(),d(X,1),X.m(b.parentNode,b)):X&&(fe(),g(X,1,1,()=>{X=null}),de())},i(S){if(!C){d(y);for(let $=0;$<k.length;$+=1)d(V[$]);d(L),d(j),d(re),d(le),d(R),d(ie),d(Z),d(I),d(X),C=!0}},o(S){g(y),V=V.filter(Cb);for(let $=0;$<V.length;$+=1)g(V[$]);g(L),g(j),g(re),g(le),g(R),g(ie),g(Z),g(I),g(X),C=!1},d(S){S&&(T(e),T(t),T(n),T(l),T(r),T(f),T(m),T(w),T(b)),y&&y.d(),En(V,S),L&&L.d(),j&&j.d(),re&&re.d(),le&&le.d(),R&&R.d(),ie&&ie.d(),Z&&Z.d(),I&&I.d(),X&&X.d(S)}}}function fu(i){let e,t,n;function l(o){i[125](o)}let r={muted:i[55],expanded:i[52]&&!i[71]&&i[56],click:i[106]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new Rf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.muted=o[55]),s[1]&35651584&&(a.expanded=o[52]&&!o[71]&&o[56]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].volume,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function du(i){var n;let e,t;return e=new Pf({props:{iconUrl:i[161],ariaLabel:(n=i[162])!=null?n:i[165],testId:i[163],onClick:i[164]}}),{c(){U(e.$$.fragment)},m(l,r){z(e,l,r),t=!0},p(l,r){var s;const o={};r[1]&67108864&&(o.iconUrl=l[161]),r[1]&67108864&&(o.ariaLabel=(s=l[162])!=null?s:l[165]),r[1]&67108864&&(o.testId=l[163]),r[1]&67108864&&(o.onClick=l[164]),e.$set(o)},i(l){t||(d(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){F(e,l)}}}function mu(i){let e,t,n;function l(o){i[126](o)}let r={isMobile:!0,click:i[104],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new vf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].chromecast,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function pu(i){let e,t,n;function l(o){i[127](o)}let r={click:i[105],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new kb({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].pip,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function hu(i){let e,t,n;function l(o){i[128](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new zr({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function vu(i){let e,t,n;function l(o){i[129](o)}let r={click:i[65],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new hf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].vkLogo,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function gu(i){let e,t,n;function l(o){i[130](o)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Rl({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].prevButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function bu(i){let e,t,n;function l(o){i[131](o)}let r={disabled:i[49],click:i[64],isMobile:!0,isPlaying:i[32]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Ur({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&2&&(a.isPlaying=o[32]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].playButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function _u(i){let e,t,n;function l(o){i[132](o)}let r={disabled:i[48],click:i[107],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qr({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function wu(i){let e,t,n;function l(o){i[133](o)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Rl({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].nextButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function yu(i){let e,t,n,l,r=i[101]&&Tb(i),o=i[99]&&Pb(i),s=i[100]&&Eb(i);return{c(){r&&r.c(),e=N(),o&&o.c(),t=N(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,t,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[101]&&r.p(a,c),a[99]&&o.p(a,c),a[100]&&s.p(a,c)},i(a){l||(d(r),d(o),d(s),l=!0)},o(a){g(r),g(o),g(s),l=!1},d(a){a&&(T(e),T(t),T(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Tb(i){let e,t,n;return t=new Tf({props:{hidden:!i[3],disabled:i[47],click:i[18]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",i[53]),M(e,"hidden",!i[3])},m(l,r){P(l,e,r),z(t,e,null),n=!0},p(l,r){const o={};r[0]&8&&(o.hidden=!l[3]),r[1]&65536&&(o.disabled=l[47]),r[0]&262144&&(o.click=l[18]),t.$set(o),(!n||r[1]&4194304)&&M(e,"fullscreen",l[53]),(!n||r[0]&8)&&M(e,"hidden",!l[3])},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function Pb(i){let e,t,n,l;function r(s){i[134](s)}let o={hidden:!i[3]&&!i[59],disabled:i[51],click:i[17],graphIsOpened:i[59]};return i[20].interactiveGraphButton!==void 0&&(o.ref=i[20].interactiveGraphButton),t=new Cf({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class",Z0(i[101]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",i[53]),M(e,"hidden",!i[3]&&!i[59])},m(s,a){P(s,e,a),z(t,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&268435456&&(c.hidden=!s[3]&&!s[59]),a[1]&1048576&&(c.disabled=s[51]),a[0]&131072&&(c.click=s[17]),a[1]&268435456&&(c.graphIsOpened=s[59]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,je(()=>n=!1)),t.$set(c),(!l||a[1]&4194304)&&M(e,"fullscreen",s[53]),(!l||a[0]&8|a[1]&268435456)&&M(e,"hidden",!s[3]&&!s[59])},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&T(e),F(t)}}}function Eb(i){let e,t,n,l;function r(s){i[135](s)}let o={hidden:!i[3],disabled:i[50],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(o.ref=i[20].seekToInteractiveButton),t=new kf({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",i[53]),M(e,"hidden",!i[3])},m(s,a){P(s,e,a),z(t,e,null),l=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&524288&&(c.disabled=s[50]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,je(()=>n=!1)),t.$set(c),(!l||a[1]&4194304)&&M(e,"fullscreen",s[53]),(!l||a[0]&8)&&M(e,"hidden",!s[3])},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&T(e),F(t)}}}function ku(i){let e,t,n,l,r,o=i[54]&&Cu(i),s=i[33]&&Su(i);return l=new _f({props:{position:i[60],duration:i[61]}}),{c(){o&&o.c(),e=N(),s&&s.c(),t=N(),n=E("div"),U(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",i[53])},m(a,c){o&&o.m(a,c),P(a,e,c),s&&s.m(a,c),P(a,t,c),P(a,n,c),z(l,n,null),r=!0},p(a,c){a[54]?o?(o.p(a,c),c[1]&8388608&&d(o,1)):(o=Cu(a),o.c(),d(o,1),o.m(e.parentNode,e)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),a[33]?s?(s.p(a,c),c[1]&4&&d(s,1)):(s=Su(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de());const f={};c[1]&536870912&&(f.position=a[60]),c[1]&1073741824&&(f.duration=a[61]),l.$set(f),(!r||c[1]&4194304)&&M(n,"fullscreen",a[53])},i(a){r||(d(o),d(s),d(l.$$.fragment,a),r=!0)},o(a){g(o),g(s),g(l.$$.fragment,a),r=!1},d(a){a&&(T(e),T(t),T(n)),o&&o.d(a),s&&s.d(a),F(l)}}}function Cu(i){let e,t,n,l;function r(s){i[136](s)}let o={muted:i[55],expanded:!1,click:i[106]};return i[20].volume!==void 0&&(o.ref=i[20].volume),t=new Rf({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",i[53])},m(s,a){P(s,e,a),z(t,e,null),l=!0},p(s,a){const c={};a[1]&16777216&&(c.muted=s[55]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,je(()=>n=!1)),t.$set(c),(!l||a[1]&4194304)&&M(e,"fullscreen",s[53])},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&T(e),F(t)}}}function Su(i){let e,t,n,l;function r(s){i[137](s)}let o={disabled:i[49],click:i[64],isMobile:!0,isPlaying:!i[33]};return i[20].playButton!==void 0&&(o.ref=i[20].playButton),t=new Ur({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){P(s,e,a),z(t,e,null),l=!0},p(s,a){const c={};a[1]&262144&&(c.disabled=s[49]),a[1]&4&&(c.isPlaying=!s[33]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,je(()=>n=!1)),t.$set(c)},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&T(e),F(t)}}}function Ab(i){let e,t,n;function l(o){i[138](o)}let r={disabled:i[48],$$slots:{default:[Ib]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),s[1]&131072|s[5]&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].replayButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Ib(i){let e,t;return e=new qr({props:{disabled:i[48],click:i[96]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[1]&131072&&(r.disabled=n[48]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Tu(i){let e,t,n;function l(o){i[139](o)}let r={$$slots:{default:[Lb]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&32768|s[5]&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].liveButton,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Lb(i){let e,t;return e=new gf({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[46]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&32768&&(r.ariaLabel=n[46]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Pu(i){let e,t,n;function l(o){i[140](o)}let r={showDuration:i[36],position:i[4]?i[60]:i[62],duration:i[4]?i[61]:i[63],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new uf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&32&&(a.showDuration=o[36]),s[0]&16|s[1]&536870912|s[2]&1&&(a.position=o[4]?o[60]:o[62]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.duration=o[4]?o[61]:o[63]),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].time,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Eu(i){let e,t,n,l;return n=new yf({props:{position:i[62],duration:i[63],timeCodes:i[85]}}),{c(){e=E("div"),e.textContent="\xB7",t=N(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),P(r,t,o),z(n,r,o),l=!0},p(r,o){const s={};o[2]&1&&(s.position=r[62]),o[2]&2&&(s.duration=r[63]),n.$set(s)},i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&(T(e),T(t)),F(n,r)}}}function Vb(i){let e,t,n=i[44]&&Eu(i);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),t=!0},p(l,r){l[44]?n?(n.p(l,r),r[1]&8192&&d(n,1)):(n=Eu(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(l){t||(d(n),t=!0)},o(l){g(n),t=!1},d(l){l&&T(e),n&&n.d(l)}}}function Au(i){let e,t,n;function l(o){i[143](o)}let r={$$slots:{default:[Mb]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].settings,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Mb(i){let e,t,n;function l(o){i[142](o)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new zr({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=o[22],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Iu(i){let e,t,n;function l(o){i[144](o)}let r={$$slots:{default:[Bb]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new Zt({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&4194304|s[5]&8192&&(a.$$scope={dirty:s,ctx:o}),!t&&s[0]&1048576&&(t=!0,a.ref=o[20].fullscreen,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Bb(i){let e,t;return e=new mf({props:{click:i[14],isFullscreen:i[53]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&4194304&&(r.isFullscreen=n[53]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Lu(i){let e,t,n,l;function r(s){i[147](s)}let o={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(o.ref=i[21]),t=new af({props:o}),ke.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){P(s,e,a),z(t,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],je(()=>n=!1)),t.$set(c)},i(s){l||(d(t.$$.fragment,s),l=!0)},o(s){g(t.$$.fragment,s),l=!1},d(s){s&&T(e),F(t)}}}function Vu(i){let e,t,n;function l(o){i[148](o)}let r={};return i[20].interactiveTimeIcon!==void 0&&(r.ref=i[20].interactiveTimeIcon),e=new Bf({props:r}),ke.push(()=>We(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};!t&&s[0]&1048576&&(t=!0,a.ref=o[20].interactiveTimeIcon,je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Rb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k=!i[4]&&cu(i),V=i[4]&&i[30]!==ti.INACTIVE&&ku(i),q=i[97]&&Ab(i),L=!i[4]&&i[25]&&Tu(i),j=i[42]&&Pu(i);function re(X){i[141](X)}let le={className:"w-max",disabled:!i[44],$$slots:{default:[Vb]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(le.ref=i[20].episodes),c=new Zt({props:le}),ke.push(()=>We(c,"ref",re));let R=i[39]&&Au(i),ie=i[41]&&Iu(i);v=new wf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let Z=i[23]&&Lu(i),I=i[31]&&Vu(i);return{c(){k&&k.c(),e=N(),V&&V.c(),t=N(),n=E("div"),l=E("div"),r=E("div"),q&&q.c(),o=N(),L&&L.c(),s=N(),j&&j.c(),a=N(),U(c.$$.fragment),m=N(),R&&R.c(),h=N(),ie&&ie.c(),_=N(),U(v.$$.fragment),w=N(),Z&&Z.c(),b=N(),I&&I.c(),C=pt(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),M(l,"fullscreen",i[53]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",i[1]),M(n,"controls-hidden",!i[3]),M(n,"no-smooth",i[2]),M(n,"mobile",!0)},m(X,S){k&&k.m(X,S),P(X,e,S),V&&V.m(X,S),P(X,t,S),P(X,n,S),p(n,l),p(l,r),q&&q.m(r,null),p(r,o),L&&L.m(r,null),p(r,s),j&&j.m(r,null),p(r,a),z(c,r,null),p(r,m),R&&R.m(r,null),p(r,h),ie&&ie.m(r,null),i[145](r),p(l,_),z(v,l,null),i[146](n),P(X,w,S),Z&&Z.m(X,S),P(X,b,S),I&&I.m(X,S),P(X,C,S),y=!0},p(X,S){X[4]?k&&(fe(),g(k,1,1,()=>{k=null}),de()):k?(k.p(X,S),S[0]&16&&d(k,1)):(k=cu(X),k.c(),d(k,1),k.m(e.parentNode,e)),X[4]&&X[30]!==ti.INACTIVE?V?(V.p(X,S),S[0]&1073741840&&d(V,1)):(V=ku(X),V.c(),d(V,1),V.m(t.parentNode,t)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),X[97]&&q.p(X,S),!X[4]&&X[25]?L?(L.p(X,S),S[0]&33554448&&d(L,1)):(L=Tu(X),L.c(),d(L,1),L.m(r,s)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),X[42]?j?(j.p(X,S),S[1]&2048&&d(j,1)):(j=Pu(X),j.c(),d(j,1),j.m(r,a)):j&&(fe(),g(j,1,1,()=>{j=null}),de());const $={};S[1]&8192&&($.disabled=!X[44]),S[1]&8192|S[2]&3|S[5]&8192&&($.$$scope={dirty:S,ctx:X}),!f&&S[0]&1048576&&(f=!0,$.ref=X[20].episodes,je(()=>f=!1)),c.$set($),X[39]?R?(R.p(X,S),S[1]&256&&d(R,1)):(R=Au(X),R.c(),d(R,1),R.m(r,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),X[41]?ie?(ie.p(X,S),S[1]&1024&&d(ie,1)):(ie=Iu(X),ie.c(),d(ie,1),ie.m(r,null)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de());const D={};S[0]&16&&(D.isAds=X[4]),S[0]&32&&(D.canRewindLive=X[5]),S[0]&16777216&&(D.isRewindableLive=X[24]),v.$set(D),(!y||S[1]&4194304)&&M(l,"fullscreen",X[53]),(!y||S[0]&2)&&M(n,"hidden",X[1]),(!y||S[0]&8)&&M(n,"controls-hidden",!X[3]),(!y||S[0]&4)&&M(n,"no-smooth",X[2]),X[23]?Z?(Z.p(X,S),S[0]&8388608&&d(Z,1)):(Z=Lu(X),Z.c(),d(Z,1),Z.m(b.parentNode,b)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),X[31]?I?(I.p(X,S),S[1]&1&&d(I,1)):(I=Vu(X),I.c(),d(I,1),I.m(C.parentNode,C)):I&&(fe(),g(I,1,1,()=>{I=null}),de())},i(X){y||(d(k),d(V),d(q),d(L),d(j),d(c.$$.fragment,X),d(R),d(ie),d(v.$$.fragment,X),d(Z),d(I),y=!0)},o(X){g(k),g(V),g(q),g(L),g(j),g(c.$$.fragment,X),g(R),g(ie),g(v.$$.fragment,X),g(Z),g(I),y=!1},d(X){X&&(T(e),T(t),T(n),T(w),T(b),T(C)),k&&k.d(X),V&&V.d(X),q&&q.d(),L&&L.d(),j&&j.d(),F(c),R&&R.d(),ie&&ie.d(),i[145](null),F(v),i[146](null),Z&&Z.d(X),I&&I.d(X)}}}function Nb(i,e,t){var An,Bn;let n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe,ye,Ie,Ve,we,{bottomHidden:Ce}=e,{bottomNoSmooth:Q}=e,{showControls:ee}=e,{controlsElementRef:ue=void 0}=e,{isAds:se=!1}=e,{canRewindLive:Ue}=e,{logoClickable:Ne}=e,{logoHidden:Le}=e,{videoLogoUrl:Ae}=e,{showNextPrevButtons:ae}=e,{nextButtonActive:pe}=e,{prevButtonActive:oe}=e,{isOneVideoPlaylist:Te=!1}=e,{supportLink:me}=e,{customFullscreenSupported:Se=!0}=e,{playNextVideo:Ke}=e,{playPrevVideo:Re}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:xe}=e,{returnFocus:nt}=e,{seekToInteractive:at}=e,{toggleGraph:Pt}=e,{playPrevChapter:ht}=e;const Fe=Ct(),_t=gn(),Ut=Fe.actions.internal.toggleMuted,ce=Fe.actions.internal.togglePlay,wt=Fe.actions.internal.pause,ot=(An=Fe.callbacks)==null?void 0:An.onAudioDoesNotExistHint,Lt=(Bn=Fe.callbacks)==null?void 0:Bn.onAudioDisabledHint,ut=Fe.playerPhase;O(i,ut,J=>t(122,j=J));const Et=Fe.state.duration$;O(i,Et,J=>t(63,we=J));const $e=Fe.state.positionWithScrubbing$;O(i,$e,J=>t(62,Ve=J));const He=Fe.state.playbackState$;O(i,He,J=>t(117,h=J));const St=Fe.state.isAudioAvailable$;O(i,St,J=>t(52,_=J));const Ki=Fe.state.isAudioDisabled,ci=Fe.state.isEnded$;O(i,ci,J=>t(123,le=J));const fi=Fe.state.isLive$;O(i,fi,J=>t(25,y=J));const rn=Fe.state.muted$;O(i,rn,J=>t(55,S=J));const di=Fe.state.isActiveLive$;O(i,di,J=>t(120,b=J));const Xt=Fe.state.isRewindableLive$;O(i,Xt,J=>t(24,C=J));const ni=Fe.ui.scrubbingInProgress;O(i,ni,J=>t(29,re=J));const Ot=Fe.ui.mobileNotReportControlHidden$;O(i,Ot,J=>t(27,q=J));const oi=Fe.ui.isPictureInPictureActive$;O(i,oi,J=>t(26,V=J));const Di=Fe.ui.pictureInPictureType$;O(i,Di,J=>t(121,k=J));const li=Fe.ui.mobileUnmuteButtonExpanded;O(i,li,J=>t(56,$=J));const mi=Fe.ui.mobileUnmuteButtonVisible;O(i,mi,J=>t(54,X=J));const pi=Fe.ui.settingsMenuVisible;O(i,pi,J=>t(23,m=J));const Jt=Fe.ui.settingsMenuOpenedByKeyboard;O(i,Jt,J=>t(116,f=J));const zi=Fe.ui.controls,hi=Fe.actions.internal.getVideoEpisodes(),Bt=Fe.webApi.pictureInPictureApi,vi=Fe.state.chromecastState$;O(i,vi,J=>t(28,L=J));const Fi=Fe.state.crashed$;O(i,Fi,J=>t(58,Y=J));const It=zi.disabledControls$;O(i,It,J=>t(124,ie=J));const Kt=Fe.ui.startedByKeyboard$;O(i,Kt,J=>t(115,c=J));const gi=Fe.ads.duration;O(i,gi,J=>t(61,Ie=J));const Ii=Fe.ads.position;O(i,Ii,J=>t(60,ye=J));const lt=Fe.ads.playbackState;O(i,lt,J=>t(30,R=J));const mt=Fe.ui.isFullscreen;O(i,mt,J=>t(53,I=J));const ri=Fe.ui.playerSize;O(i,ri,J=>t(119,w=J));const Rt=Fe.ui.additionalButtons$;O(i,Rt,J=>t(57,D=J));const bi=Fe.actions.internal.getVideoElement,Li=Fe.actions.internal.replayInteractive,Dt=Fe.state.isInteractive,zt=Fe.state.isInteractiveTime$;O(i,zt,J=>t(118,v=J));const Gi=Fe.state.isInteractiveGraphEnabled,_i=Fe.state.isSeekToInteractiveEnable,Xi=Fe.state.isPlayPrevChapterEnabled,Vi=Fe.state.interactiveEpisodes$;O(i,Vi,J=>t(149,Z=J));const Ji=Fe.state.graphIsOpened$;O(i,Ji,J=>t(59,Pe=J));let si;si=!!(Dt&&Z.length);let Mi,Nt,qt,wi,yi,Bi,At,Hi,Ui,ki,qi,ji,Wi,Ci,Si,xt,$t;const Me={},Ri=Pl(Vf,Z1,{leading:!1}),Zi=()=>Fe.actions.internal.toggleChromecast();function qe(){Ki?Lt==null||Lt():_?Ut():ot==null||ot()}async function xi(){Bt!=null&&Bt.isActive()?await(Bt==null?void 0:Bt.remove()):await(Bt==null?void 0:Bt.request())}function Ti(){!Ki&&_&&mi.set(!1),qe()}const $i=Te?ce:Je;let en="";const sn=(J,Gn)=>{if(!J){t(46,en=G("tooltip_live"));return}Gn===Yt.PAUSED&&t(46,en=G("tooltip_play"))};let Gt,ai;function ui(J){i.$$.not_equal(Me.volume,J)&&(Me.volume=J,t(20,Me))}function an(J){i.$$.not_equal(Me.chromecast,J)&&(Me.chromecast=J,t(20,Me))}function Yi(J){i.$$.not_equal(Me.pip,J)&&(Me.pip=J,t(20,Me))}function tn(J){ai=J,t(22,ai)}function Pi(J){i.$$.not_equal(Me.vkLogo,J)&&(Me.vkLogo=J,t(20,Me))}function te(J){i.$$.not_equal(Me.prevButton,J)&&(Me.prevButton=J,t(20,Me))}function rt(J){i.$$.not_equal(Me.playButton,J)&&(Me.playButton=J,t(20,Me))}function jt(J){i.$$.not_equal(Me.replayButton,J)&&(Me.replayButton=J,t(20,Me))}function Ei(J){i.$$.not_equal(Me.nextButton,J)&&(Me.nextButton=J,t(20,Me))}function vt(J){i.$$.not_equal(Me.interactiveGraphButton,J)&&(Me.interactiveGraphButton=J,t(20,Me))}function dn(J){i.$$.not_equal(Me.seekToInteractiveButton,J)&&(Me.seekToInteractiveButton=J,t(20,Me))}function bn(J){i.$$.not_equal(Me.volume,J)&&(Me.volume=J,t(20,Me))}function mn(J){i.$$.not_equal(Me.playButton,J)&&(Me.playButton=J,t(20,Me))}function _n(J){i.$$.not_equal(Me.replayButton,J)&&(Me.replayButton=J,t(20,Me))}function un(J){i.$$.not_equal(Me.liveButton,J)&&(Me.liveButton=J,t(20,Me))}function x(J){i.$$.not_equal(Me.time,J)&&(Me.time=J,t(20,Me))}function ct(J){i.$$.not_equal(Me.episodes,J)&&(Me.episodes=J,t(20,Me))}function cn(J){ai=J,t(22,ai)}function Qi(J){i.$$.not_equal(Me.settings,J)&&(Me.settings=J,t(20,Me))}function nn(J){i.$$.not_equal(Me.fullscreen,J)&&(Me.fullscreen=J,t(20,Me))}function fn(J){ke[J?"unshift":"push"](()=>{xt=J,t(45,xt)})}function Wn(J){ke[J?"unshift":"push"](()=>{ue=J,t(0,ue)})}function Zn(J){Gt=J,t(21,Gt)}function Kn(J){i.$$.not_equal(Me.interactiveTimeIcon,J)&&(Me.interactiveTimeIcon=J,t(20,Me))}return i.$$set=J=>{"bottomHidden"in J&&t(1,Ce=J.bottomHidden),"bottomNoSmooth"in J&&t(2,Q=J.bottomNoSmooth),"showControls"in J&&t(3,ee=J.showControls),"controlsElementRef"in J&&t(0,ue=J.controlsElementRef),"isAds"in J&&t(4,se=J.isAds),"canRewindLive"in J&&t(5,Ue=J.canRewindLive),"logoClickable"in J&&t(6,Ne=J.logoClickable),"logoHidden"in J&&t(108,Le=J.logoHidden),"videoLogoUrl"in J&&t(7,Ae=J.videoLogoUrl),"showNextPrevButtons"in J&&t(8,ae=J.showNextPrevButtons),"nextButtonActive"in J&&t(9,pe=J.nextButtonActive),"prevButtonActive"in J&&t(10,oe=J.prevButtonActive),"isOneVideoPlaylist"in J&&t(109,Te=J.isOneVideoPlaylist),"supportLink"in J&&t(11,me=J.supportLink),"customFullscreenSupported"in J&&t(110,Se=J.customFullscreenSupported),"playNextVideo"in J&&t(12,Ke=J.playNextVideo),"playPrevVideo"in J&&t(13,Re=J.playPrevVideo),"repeatPlaylist"in J&&t(111,Je=J.repeatPlaylist),"toggleFullscreen"in J&&t(14,xe=J.toggleFullscreen),"returnFocus"in J&&t(15,nt=J.returnFocus),"seekToInteractive"in J&&t(16,at=J.seekToInteractive),"toggleGraph"in J&&t(17,Pt=J.toggleGraph),"playPrevChapter"in J&&t(18,ht=J.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&1&&t(114,n=ie.has(dt.EPISODE_BUTTON)),i.$$.dirty[4]&1&&t(51,l=ie.has(dt.GRAPH_BUTTON)),i.$$.dirty[4]&1&&t(50,r=ie.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&1&&t(49,o=ie.has(dt.PLAY_BUTTON)),i.$$.dirty[4]&1&&t(48,s=ie.has(dt.REPLAY_BUTTON)),i.$$.dirty[4]&1&&t(47,a=ie.has(dt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&16777216&&t(32,Mi=h===Yt.PLAYING),i.$$.dirty[0]&1073741824&&t(33,Nt=R===ti.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&1073741824&&t(34,qt=le&&!se&&!Dt),i.$$.dirty[0]&16|i.$$.dirty[3]&1073741824&&t(35,wi=!le||se),i.$$.dirty[3]&67108864&&t(112,yi=w.width>300),i.$$.dirty[3]&67108864&&t(36,Bi=w.width>400),i.$$.dirty[0]&536870912&&t(113,At=re),i.$$.dirty[0]&469762048|i.$$.dirty[3]&268435456&&t(37,Hi=L!==Vn.NOT_AVAILABLE&&!(V&&k===Dn.DocumentPictureInPicture)&&!q&&!Dt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&806354944){const J=j===Oe.WaitingLive;t(38,Ui=!!Bt&&L!==Vn.CONNECTED&&!q&&(k===Dn.DocumentPictureInPicture&&J||!J)&&!At&&!Dt)}i.$$.dirty[3]&1048576&&t(39,ki=!At),i.$$.dirty[3]&67141632&&t(40,qi=!Le&&w.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&269615104&&t(41,ji=_t.features.fullscreen&&!(V&&k===Dn.DocumentPictureInPicture)&&(Dt?Se:!0)&&!At),i.$$.dirty[0]&33554448|i.$$.dirty[3]&68157440&&t(42,Wi=(!y||se)&&w.width>260&&!At&&!(_t.features.interactiveHideTime&&Dt)),i.$$.dirty[0]&8388616&&t(43,Ci=m||ee),i.$$.dirty[0]&33554448|i.$$.dirty[3]&3670016&&t(44,Si=!se&&!y&&!!(hi!=null&&hi.length)&&yi&&!n&&!At),i.$$.dirty[0]&16777216|i.$$.dirty[3]&134217728&&t(19,$t=!C||b),i.$$.dirty[0]&1048584|i.$$.dirty[3]&100663296&&Ri(bi(),zi,Me,ee),i.$$.dirty[0]&524288|i.$$.dirty[3]&16777216&&sn($t,h),i.$$.dirty[0]&12582912&&Nr(ai,m,Jt),i.$$.dirty[0]&10485760|i.$$.dirty[3]&8388608&&Or(Gt,m,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&4194304&&Mf(Kt,c,Me.playButton)},[ue,Ce,Q,ee,se,Ue,Ne,Ae,ae,pe,oe,me,Ke,Re,xe,nt,at,Pt,ht,$t,Me,Gt,ai,m,C,y,V,q,L,re,R,si,Mi,Nt,qt,wi,Bi,Hi,Ui,ki,qi,ji,Wi,Ci,Si,xt,en,a,s,o,r,l,_,I,X,S,$,D,Y,Pe,ye,Ie,Ve,we,ce,wt,ut,Et,$e,He,St,Ki,ci,fi,rn,di,Xt,ni,Ot,oi,Di,li,mi,pi,Jt,hi,vi,Fi,It,Kt,gi,Ii,lt,mt,ri,Rt,Li,Dt,zt,Gi,_i,Xi,Vi,Ji,Zi,xi,Ti,$i,Le,Te,Se,Je,yi,At,n,c,f,h,v,w,b,k,j,le,ie,ui,an,Yi,tn,Pi,te,rt,jt,Ei,vt,dn,bn,mn,_n,un,x,ct,cn,Qi,nn,fn,Wn,Zn,Kn]}class Ob extends _e{constructor(e){super(),be(this,e,Nb,Rb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:108,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:109,supportLink:11,customFullscreenSupported:110,playNextVideo:12,playPrevVideo:13,repeatPlaylist:111,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},Sb,[-1,-1,-1,-1,-1,-1])}}function Db(i){let e,t,n;function l(o){i[26](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new ub({props:r}),ke.push(()=>We(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function zb(i){let e,t,n;function l(o){i[25](o)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Ob({props:r}),ke.push(()=>We(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!t&&s&1&&(t=!0,a.controlsElementRef=o[0],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function Fb(i){let e,t,n,l;const r=[zb,Db],o=[];function s(a,c){return a[23]?0:1}return e=s(i),t=o[e]=r[e](i),{c(){t.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),t=o[e],t?t.p(a,c):(t=o[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){l||(d(t),l=!0)},o(a){g(t),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Hb(i,e,t){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:v}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:b=!1}=e,{supportLink:C}=e,{customFullscreenSupported:y=!0}=e,{playNextVideo:k}=e,{playPrevVideo:V}=e,{repeatPlaylist:q}=e,{toggleFullscreen:L}=e,{returnFocus:j=Xe}=e,{seekToInteractive:re}=e,{toggleGraph:le}=e,{playPrevChapter:R}=e;const Z=Ct().ui.isMobile;O(i,Z,S=>t(23,n=S));function I(S){s=S,t(0,s)}function X(S){s=S,t(0,s)}return i.$$set=S=>{"bottomHidden"in S&&t(1,l=S.bottomHidden),"bottomNoSmooth"in S&&t(2,r=S.bottomNoSmooth),"showControls"in S&&t(3,o=S.showControls),"controlsElementRef"in S&&t(0,s=S.controlsElementRef),"isAds"in S&&t(4,a=S.isAds),"canRewindLive"in S&&t(5,c=S.canRewindLive),"logoClickable"in S&&t(6,f=S.logoClickable),"logoHidden"in S&&t(7,m=S.logoHidden),"videoLogoUrl"in S&&t(8,h=S.videoLogoUrl),"showNextPrevButtons"in S&&t(9,_=S.showNextPrevButtons),"nextButtonActive"in S&&t(10,v=S.nextButtonActive),"prevButtonActive"in S&&t(11,w=S.prevButtonActive),"isOneVideoPlaylist"in S&&t(12,b=S.isOneVideoPlaylist),"supportLink"in S&&t(13,C=S.supportLink),"customFullscreenSupported"in S&&t(14,y=S.customFullscreenSupported),"playNextVideo"in S&&t(15,k=S.playNextVideo),"playPrevVideo"in S&&t(16,V=S.playPrevVideo),"repeatPlaylist"in S&&t(17,q=S.repeatPlaylist),"toggleFullscreen"in S&&t(18,L=S.toggleFullscreen),"returnFocus"in S&&t(19,j=S.returnFocus),"seekToInteractive"in S&&t(20,re=S.seekToInteractive),"toggleGraph"in S&&t(21,le=S.toggleGraph),"playPrevChapter"in S&&t(22,R=S.playPrevChapter)},[s,l,r,o,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,n,Z,I,X]}class Nf extends _e{constructor(e){super(),be(this,e,Hb,Fb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function Ub(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function qb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("defs"),o=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),_=B("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){P(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&T(e)}}}function jb(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class Wb extends _e{constructor(e){super(),be(this,e,jb,qb,ge,{reversed:0},Ub)}}function Zb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("defs"),o=B("clipPath"),s=B("path"),a=B("filter"),c=B("feFlood"),f=B("feColorMatrix"),m=B("feOffset"),h=B("feGaussianBlur"),_=B("feColorMatrix"),v=B("feBlend"),w=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(b,C){P(b,e,C),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,_),p(a,v),p(a,w)},d(b){b&&T(e)}}}function Kb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("path"),o=B("defs"),s=B("clipPath"),a=B("path"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),_=B("feGaussianBlur"),v=B("feColorMatrix"),w=B("feBlend"),b=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104293"),u(b,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,y){P(C,e,y),p(e,t),p(t,n),p(t,l),p(t,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,v),p(c,w),p(c,b)},d(C){C&&T(e)}}}function Gb(i){let e;function t(r,o){return r[0]?Kb:Zb}let n=t(i),l=n(i);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=t(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function Yb(i,e,t){let{isOff:n=!1}=e;return i.$$set=l=>{"isOff"in l&&t(0,n=l.isOff)},[n]}class Of extends _e{constructor(e){super(),be(this,e,Yb,Gb,ge,{isOff:0})}}function Qb(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Xb(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("defs"),o=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),_=B("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){P(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&T(e)}}}function Jb(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class xb extends _e{constructor(e){super(),be(this,e,Jb,Xb,ge,{reversed:0},Qb)}}function $b(i){Ze(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function e_(i){let e,t,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),r=B("defs"),o=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),_=B("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",i[0])},m(v,w){P(v,e,w),p(e,t),p(t,n),p(t,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(v,[w]){w&1&&M(e,"reversed",v[0])},i:K,o:K,d(v){v&&T(e)}}}function t_(i,e,t){let{reversed:n=!1}=e;return i.$$set=l=>{"reversed"in l&&t(0,n=l.reversed)},[n]}class i_ extends _e{constructor(e){super(),be(this,e,t_,e_,ge,{reversed:0},$b)}}function n_(i){Ze(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Mu(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,l,r,o,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),f,m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,_,v,w,b,C=t&&Bu(i),y=i[4]===Ye.PAUSE&&Ru(),k=i[4]===Ye.PLAY&&Nu(),V=i[4]===Ye.REPLAY&&Ou(),q=i[4]===Ye.SUBTITLES_OFF&&Du(),L=i[4]===Ye.SUBTITLES_ON&&zu(),j=c&&Fu(i),re=m&&Hu(i),le=i[4]===Ye.MUTE&&Uu(),R=i[4]===Ye.VOLUME&&qu(),ie=i[5]&&ju(i);return{c(){e=E("div"),C&&C.c(),n=N(),y&&y.c(),l=N(),k&&k.c(),r=N(),V&&V.c(),o=N(),q&&q.c(),s=N(),L&&L.c(),a=N(),j&&j.c(),f=N(),re&&re.c(),h=N(),le&&le.c(),_=N(),R&&R.c(),v=N(),ie&&ie.c(),w=pt(),u(e,"class","v-4ftgwp")},m(Z,I){P(Z,e,I),C&&C.m(e,null),p(e,n),y&&y.m(e,null),p(e,l),k&&k.m(e,null),p(e,r),V&&V.m(e,null),p(e,o),q&&q.m(e,null),p(e,s),L&&L.m(e,null),p(e,a),j&&j.m(e,null),p(e,f),re&&re.m(e,null),p(e,h),le&&le.m(e,null),p(e,_),R&&R.m(e,null),P(Z,v,I),ie&&ie.m(Z,I),P(Z,w,I),b=!0},p(Z,I){I&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(Z[4])),t?C?(C.p(Z,I),I&16&&d(C,1)):(C=Bu(Z),C.c(),d(C,1),C.m(e,n)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),Z[4]===Ye.PAUSE?y?I&16&&d(y,1):(y=Ru(),y.c(),d(y,1),y.m(e,l)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),Z[4]===Ye.PLAY?k?I&16&&d(k,1):(k=Nu(),k.c(),d(k,1),k.m(e,r)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),Z[4]===Ye.REPLAY?V?I&16&&d(V,1):(V=Ou(),V.c(),d(V,1),V.m(e,o)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),Z[4]===Ye.SUBTITLES_OFF?q?I&16&&d(q,1):(q=Du(),q.c(),d(q,1),q.m(e,s)):q&&(fe(),g(q,1,1,()=>{q=null}),de()),Z[4]===Ye.SUBTITLES_ON?L?I&16&&d(L,1):(L=zu(),L.c(),d(L,1),L.m(e,a)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),I&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(Z[4])),c?j?(j.p(Z,I),I&16&&d(j,1)):(j=Fu(Z),j.c(),d(j,1),j.m(e,f)):j&&(fe(),g(j,1,1,()=>{j=null}),de()),I&16&&(m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(Z[4])),m?re?(re.p(Z,I),I&16&&d(re,1)):(re=Hu(Z),re.c(),d(re,1),re.m(e,h)):re&&(fe(),g(re,1,1,()=>{re=null}),de()),Z[4]===Ye.MUTE?le?I&16&&d(le,1):(le=Uu(),le.c(),d(le,1),le.m(e,_)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),Z[4]===Ye.VOLUME?R?I&16&&d(R,1):(R=qu(),R.c(),d(R,1),R.m(e,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),Z[5]?ie?ie.p(Z,I):(ie=ju(Z),ie.c(),ie.m(w.parentNode,w)):ie&&(ie.d(1),ie=null)},i(Z){b||(d(C),d(y),d(k),d(V),d(q),d(L),d(j),d(re),d(le),d(R),b=!0)},o(Z){g(C),g(y),g(k),g(V),g(q),g(L),g(j),g(re),g(le),g(R),b=!1},d(Z){Z&&(T(e),T(v),T(w)),C&&C.d(),y&&y.d(),k&&k.d(),V&&V.d(),q&&q.d(),L&&L.d(),j&&j.d(),re&&re.d(),le&&le.d(),R&&R.d(),ie&&ie.d(Z)}}}function Bu(i){let e,t;return e=new Wb({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ru(i){let e,t;return e=new pf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Nu(i){let e,t;return e=new Hr({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Ou(i){let e,t;return e=new Sf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Du(i){let e,t;return e=new Of({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function zu(i){let e,t;return e=new Of({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Fu(i){let e,t;return e=new xb({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Hu(i){let e,t;return e=new i_({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function Uu(i){let e,t;return e=new Bl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function qu(i){let e,t;return e=new Bl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function ju(i){let e,t;return{c(){e=E("span"),t=De(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){P(n,e,l),p(e,t)},p(n,l){l&32&&et(t,n[5])},d(n){n&&T(e)}}}function o_(i){let e,t,n=!i[1]&&i[4]&&Mu(i);return{c(){e=E("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",i[1]),M(e,"hot-key-helpers-container--left",i[2]),M(e,"hot-key-helpers-container--right",i[3])},m(l,r){P(l,e,r),n&&n.m(e,null),t=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&d(n,1)):(n=Mu(l),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!t||r&2)&&M(e,"hidden",l[1]),(!t||r&4)&&M(e,"hot-key-helpers-container--left",l[2]),(!t||r&8)&&M(e,"hot-key-helpers-container--right",l[3])},i(l){t||(d(n),t=!0)},o(l){g(n),t=!1},d(l){l&&T(e),n&&n.d()}}}function l_(i,e,t){let n,l=K,r=()=>(l(),l=ei(o,h=>t(6,n=h)),o);i.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,o=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=G(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[o,s,a,c,f,m,n]}class r_ extends _e{constructor(e){super(),be(this,e,l_,o_,ge,{data:0},n_)}}function s_(i){Ze(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function a_(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y;return r=new xn({props:{direction:"up"}}),a=new xn({props:{direction:"up"}}),h=new xn({props:{direction:"up"}}),w=new xn({props:{direction:"up"}}),{c(){e=E("div"),t=E("div"),n=E("div"),l=E("div"),U(r.$$.fragment),o=N(),s=E("div"),U(a.$$.fragment),c=N(),f=E("div"),m=E("div"),U(h.$$.fragment),_=N(),v=E("div"),U(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",G("aria_label_spherical_control")),M(e,"m-shifted",i[0])},m(k,V){P(k,e,V),p(e,t),p(t,n),p(n,l),z(r,l,null),p(n,o),p(n,s),z(a,s,null),p(t,c),p(t,f),p(f,m),z(h,m,null),p(f,_),p(f,v),z(w,v,null),b=!0,C||(y=[he(l,"mousedown",i[1]),he(l,"mouseup",i[5]),he(l,"mouseleave",i[5]),he(s,"mousedown",i[3]),he(s,"mouseup",i[5]),he(s,"mouseleave",i[5]),he(m,"mousedown",i[4]),he(m,"mouseup",i[5]),he(m,"mouseleave",i[5]),he(v,"mousedown",i[2]),he(v,"mouseup",i[5]),he(v,"mouseleave",i[5]),he(e,"keydown",i[6]),he(e,"keyup",i[7])],C=!0)},p(k,[V]){(!b||V&1)&&M(e,"m-shifted",k[0])},i(k){b||(d(r.$$.fragment,k),d(a.$$.fragment,k),d(h.$$.fragment,k),d(w.$$.fragment,k),b=!0)},o(k){g(r.$$.fragment,k),g(a.$$.fragment,k),g(h.$$.fragment,k),g(w.$$.fragment,k),b=!1},d(k){k&&T(e),F(r),F(a),F(h),F(w),C=!1,it(y)}}}function u_(i,e,t){let{isShifted:n=!1}=e;const l=Ct(),r=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),m=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ee.ArrowUp:o();break;case Ee.ArrowDown:s();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return i.$$set=_=>{"isShifted"in _&&t(0,n=_.isShifted)},[n,o,s,a,c,f,m,h]}class Df extends _e{constructor(e){super(),be(this,e,u_,a_,ge,{isShifted:0},s_)}}function c_(i){Ze(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Wu(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Zu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ku(i){let e,t;function n(o,s){return o[7]&&o[8]?m_:o[5]?d_:f_}let l=n(i),r=l(i);return{c(){e=E("div"),t=E("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",i[3])},m(o,s){P(o,e,s),p(e,t),r.m(t,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(t,null))),s&8&&M(e,"mobile",o[3])},d(o){o&&T(e),r.d()}}}function f_(i){let e,t=Qt(i[1]),n=[];for(let l=0;l<t.length;l+=1)n[l]=Gu(Wu(i,t,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=pt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);P(l,e,r)},p(l,r){if(r&18){t=Qt(l[1]);let o;for(o=0;o<t.length;o+=1){const s=Wu(l,t,o);n[o]?n[o].p(s,r):(n[o]=Gu(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=t.length}},d(l){l&&T(e),En(n,l)}}}function d_(i){let e,t,n=Qt(i[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=Qu(Zu(i,n,r));return{c(){e=E("span"),t=E("span");for(let r=0;r<l.length;r+=1)l[r].c();u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,t);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(t,null)},p(r,o){if(o&68){n=Qt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Zu(r,n,s);l[s]?l[s].p(a,o):(l[s]=Qu(a),l[s].c(),l[s].m(t,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&T(e),En(l,r)}}}function m_(i){let e,t,n=G("subtitles_auto_caption")+"",l;return{c(){e=E("span"),t=E("span"),l=De(n),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,t),p(t,l)},p(r,o){o&16&&Ht(t,"font-size",r[4]+"px")},d(r){r&&T(e)}}}function Gu(i){let e,t,n=i[16]+"",l,r;return{c(){e=E("span"),t=E("span"),l=De(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Ht(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){P(o,e,s),p(e,t),p(t,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&et(l,n),s&16&&Ht(t,"font-size",o[4]+"px")},d(o){o&&T(e)}}}function Yu(i){let e=i[16]+"",t;return{c(){t=De(e)},m(n,l){P(n,t,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&et(t,e)},d(n){n&&T(t)}}}function Qu(i){let e,t=(!i[17]||i[17]<=i[2])&&Yu(i);return{c(){t&&t.c(),e=pt()},m(n,l){t&&t.m(n,l),P(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?t?t.p(n,l):(t=Yu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&T(e),t&&t.d(n)}}}function p_(i){let e,t=i[1].length>0&&Ku(i);return{c(){e=E("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",i[0]),M(e,"auto",i[5]&&!i[8])},m(n,l){P(n,e,l),t&&t.m(e,null)},p(n,[l]){n[1].length>0?t?t.p(n,l):(t=Ku(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),l&1&&M(e,"shifted",n[0]),l&288&&M(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&T(e),t&&t.d()}}}function h_(i,e,t){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Ct(),m=gn(),h=f.state.currentSubtitle$;O(i,h,k=>t(12,n=k));const _=f.state.isAutoSubtitleCaptionVisible$;O(i,_,k=>t(8,l=k));let v,w,b,C,y;return vn(()=>{y=window.setTimeout(()=>{_.set(!1)},m.autoSubtitlesTimeout)}),Al(()=>{window.clearTimeout(y)}),i.$$set=k=>{"shifted"in k&&t(0,r=k.shifted),"captions"in k&&t(1,o=k.captions),"position"in k&&t(2,s=k.position),"playerSize"in k&&t(11,a=k.playerSize),"isMobile"in k&&t(3,c=k.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const k=a.width*.02;t(4,v=k<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:k)}i.$$.dirty&2&&t(5,w=o.some(k=>k.type==="timestamp")),i.$$.dirty&2&&t(6,b=o.reduce((k,{type:V,value:q})=>(V==="timestamp"?k.push({timeAppeared:Number(q),value:""}):k.length===0?k.push({value:String(q)}):k[k.length-1].value=String(q),k),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,o,s,c,v,w,b,C,l,h,_,a,n]}class zf extends _e{constructor(e){super(),be(this,e,h_,p_,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},c_)}}function v_(i){Ze(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Xu(i){let e,t,n;return{c(){e=E("div"),t=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(i[1]),u(e,"class","text v-1o62kpz")},m(l,r){P(l,e,r),p(e,t),p(e,n)},p(l,r){r&2&&et(n,l[1])},d(l){l&&T(e)}}}function g_(i){let e,t,n,l,r,o,s=i[1]&&Xu(i);return{c(){e=E("div"),t=E("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){P(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(o=he(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Xu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&T(e),s&&s.d(),r=!1,o()}}}function b_(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){Eo.call(this,i,o)}return i.$$set=o=>{"thumbUrl"in o&&t(0,n=o.thumbUrl),"chromecastDeviceName"in o&&t(1,l=o.chromecastDeviceName)},[n,l,r]}class Ff extends _e{constructor(e){super(),be(this,e,b_,g_,ge,{thumbUrl:0,chromecastDeviceName:1},v_)}}function __(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class w_ extends _e{constructor(e){super(),be(this,e,null,__,ge,{})}}function y_(i){Ze(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function k_(i){let e,t,n;return t=new w_({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){P(l,e,r),z(t,e,null),n=!0},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}class Hf extends _e{constructor(e){super(),be(this,e,null,k_,ge,{},y_)}}function C_(i){Ze(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function S_(i){let e,t,n,l,r,o,s,a,c;return r=new Hr({}),{c(){e=E("div"),t=E("div"),n=E("div"),l=N(),U(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(t,"tabindex","0"),u(t,"role","button"),u(t,"aria-label",G("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${i[0]||""}')`),M(e,"hidden",i[1])},m(f,m){P(f,e,m),p(e,t),p(t,n),p(t,l),z(r,t,null),s=!0,a||(c=[he(t,"keydown",i[3]),he(e,"click",st(function(){Tn(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[m]){i=f,(!s||m&1&&o!==(o=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",o),(!s||m&2)&&M(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&T(e),F(r),a=!1,it(c)}}}function T_(i,e,t){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Ct().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ee.Enter,Ee.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return i.$$set=c=>{"thumbUrl"in c&&t(0,n=c.thumbUrl),"hidden"in c&&t(1,l=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,l,r,a]}class Uf extends _e{constructor(e){super(),be(this,e,T_,S_,ge,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},C_)}get handlePressKey(){return this.$$.ctx[3]}}function P_(i){Ze(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
24
|
+
)}`)}function As(t){let e;return{c(){e=E("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){P(i,e,n)},d(i){i&&T(e)}}}function Ls(t){let e,i;return e=new r3({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ms(t){let e,i;return e=new e3({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vs(t){let e,i;return e=new u3({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f3(t){let e,i,n,l,r,o,s,a=t[0]&&As(),c=t[3]&&Ls(t),f=t[7]&&Ms(),d=t[4]&&Vs();return{c(){e=E("div"),a&&a.c(),i=N(),n=E("video"),l=N(),c&&c.c(),r=N(),f&&f.c(),o=N(),d&&d.c(),Ut(n,"width","100%"),Ut(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){P(h,e,_),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),t[20](e),s=!0},p(h,[_]){h[0]?a||(a=As(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&m(c,1)):(c=Ls(h),c.c(),m(c,1),c.m(e,r)):c&&(fe(),v(c,1,1,()=>{c=null}),de()),h[7]?f?_&128&&m(f,1):(f=Ms(),f.c(),m(f,1),f.m(e,o)):f&&(fe(),v(f,1,1,()=>{f=null}),de()),h[4]?d?_&16&&m(d,1):(d=Vs(),d.c(),m(d,1),d.m(e,null)):d&&(fe(),v(d,1,1,()=>{d=null}),de())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){v(c),v(f),v(d),s=!1},d(h){h&&T(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),d&&d.d(),t[20](null)}}}function d3(t,e,i){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=Ct(),_=h.state.isEnded$;D(t,_,Z=>i(7,s=Z));const g=h.ui.isMobile;D(t,g,Z=>i(0,l=Z));let w,b,C=!1;const k=h.ads.playbackState;D(t,k,Z=>i(18,n=Z));const y=h.ads.canSkip,M=h.ads.position;D(t,M,Z=>i(5,r=Z));const Q=h.ads.secondsToWatchBeforeSkip;D(t,Q,Z=>i(6,o=Z));let A,z;pn(()=>{const Z=new AbortController;let Y=()=>{Z.abort()};const O=h.getAdmanWrapper();if(!a){O.onAdmanLoadingError();return}const{width:X,height:L}=et(h.ui.playerSize),B=et(h.ui.isFullscreen),te=et(h.ui.isAutoplay),S={width:X,height:L,isFullscreen:B,isAutoplay:te,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(O.initAdman(S),C=!0):O.loadAdman(Z.signal).then(()=>{O.initAdman(S),C=!0}).catch(()=>{O.onAdmanLoadingError()}),()=>{!C&&Y()}});function re(Z){Ce[Z?"unshift":"push"](()=>{b=Z,i(2,b)})}function le(Z){Ce[Z?"unshift":"push"](()=>{w=Z,i(1,w)})}return t.$$set=Z=>{"adsSlotId"in Z&&i(14,a=Z.adsSlotId),"adsParams"in Z&&i(15,c=Z.adsParams),"adsPreviewParam"in Z&&i(16,f=Z.adsPreviewParam),"duration"in Z&&i(17,d=Z.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,A=y&&n!==ni.INACTIVE),t.$$.dirty&262145&&i(4,z=l&&n!==ni.INACTIVE)},[l,w,b,A,z,r,o,s,h,_,g,k,M,Q,a,c,f,d,n,re,le]}class zc extends we{constructor(e){super(),_e(this,e,d3,f3,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},c3)}}const jn=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function m3(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&T(e)}}}function p3(t){let e,i,n;return{c(){e=R("svg"),i=R("rect"),n=R("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&T(e)}}}function h3(t){let e;function i(r,o){return r[0]?p3:m3}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function v3(t,e,i){let{isActive:n=!1}=e;return t.$$set=l=>{"isActive"in l&&i(0,n=l.isActive)},[n]}class Fc extends we{constructor(e){super(),_e(this,e,v3,h3,ge,{isActive:0})}}function g3(t){Ze(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function b3(t){let e=jn(t[4]-t[3])+"",i;return{c(){i=Fe(e)},m(n,l){P(n,i,l)},p(n,l){l&24&&e!==(e=jn(n[4]-n[3])+"")&&tt(i,e)},i:K,o:K,d(n){n&&T(i)}}}function _3(t){let e,i,n;return i=new Fc({props:{isActive:!0}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function w3(t){let e,i,n,l,r,o,s;const a=[_3,b3],c=[];function f(d,h){return d[1]?0:1}return r=f(t),o=c[r]=a[r](t),{c(){e=E("div"),i=E("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),l=E("span"),o.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),V(e,"live",t[1]),V(e,"hidden",t[0]),V(e,"playing",t[2])},m(d,h){P(d,e,h),p(e,i),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let _=r;r=f(d),r===_?c[r].p(d,h):(fe(),v(c[_],1,1,()=>{c[_]=null}),de(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&V(e,"live",d[1]),(!s||h&1)&&V(e,"hidden",d[0]),(!s||h&4)&&V(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){v(o),s=!1},d(d){d&&T(e),c[r].d()}}}function k3(t,e,i){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,l=a.isLive),"isPlaying"in a&&i(2,r=a.isPlaying),"position"in a&&i(3,o=a.position),"duration"in a&&i(4,s=a.duration)},[n,l,r,o,s]}class Hc extends we{constructor(e){super(),_e(this,e,k3,w3,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},g3)}}const gr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},co=t=>{t.stopPropagation(),t.preventDefault()},y3=t=>{var e;let i=t.previousElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.lastElementChild),i==null||i.focus()},C3=t=>{var e;let i=t.nextElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.firstElementChild),i==null||i.focus()},T3=t=>{const e=t.code;return e===Se.Tab&&!t.shiftKey||e===Se.ArrowDown},P3=t=>{const e=t.code;return e===Se.Tab||e===Se.ArrowUp},Uc=t=>t.code===Se.Escape,S3=t=>t.code===Se.ArrowLeft,qc=(t,e=!0)=>{const i=t.code;return[Se.Enter,Se.Space].includes(i)||!e&&i===Se.ArrowRight},jc=t=>{if(T3(t)){co(t),C3(t.target);return}P3(t)&&(co(t),y3(t.target))},Mr=t=>(t==null?void 0:t.detail)===0,Vr=async(t,e,i)=>{await Ko(),t&&!t.classList.contains("opened")&&!e&&et(i)&&(i.set(!1),t.focus())},Br=async(t,e,i)=>{await Ko(),!!t&&e&&i&&t.firstChild.focus()},gl=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},$0))},Wc=(t,e)=>{jc(t),Uc(t)&&(co(t),e())},bl=async(t,e,i)=>{if(qc(t,!1)){co(t),e(),await Ko();const n=i();n==null||n.focus()}},_l=async(t,e,i,n)=>{if(jc(t),S3(t)){co(t),e(),i.set(!0);return}Uc(t)&&(co(t),n())},rn=(t,e)=>{qc(t)&&(co(t),e())};function E3(t){Ze(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Bs(t){var M;let e,i,n,l,r,o,s=(t[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,d=G("menu_debug_overlay")+"",h,_,g,w,b=t[9].features.copyVideoLink&&((M=t[8].callbacks)==null?void 0:M.onCopyVideoLink)&&I3(t),C=t[11]&&t[5]!==zn.CONNECTED&&!t[16]&&Ns(t),k=t[9].features.videoRotate&&!t[16]&&A3(t),y=t[9].showSupport&&!t[6]&&Os(t);return{c(){e=E("ul"),b&&b.c(),i=N(),C&&C.c(),n=N(),k&&k.c(),l=N(),y&&y.c(),r=N(),o=E("li"),a=Fe(s),c=N(),f=E("li"),h=Fe(d),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",t[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ut(e,"top",t[3]+"px"),Ut(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(Q,A){P(Q,e,A),b&&b.m(e,null),p(e,i),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),t[40](e),g||(w=[he(o,"click",ot(t[19])),he(o,"keydown",t[29]),he(f,"click",ot(t[20])),he(f,"keydown",t[30]),he(e,"contextmenu",oi(t[37])),he(e,"keydown",t[23])],g=!0)},p(Q,A){var z;Q[9].features.copyVideoLink&&((z=Q[8].callbacks)!=null&&z.onCopyVideoLink)&&b.p(Q,A),Q[11]&&Q[5]!==zn.CONNECTED&&!Q[16]?C?C.p(Q,A):(C=Ns(Q),C.c(),C.m(e,n)):C&&(C.d(1),C=null),Q[9].features.videoRotate&&!Q[16]&&k.p(Q,A),Q[9].showSupport&&!Q[6]?y?y.p(Q,A):(y=Os(Q),y.c(),y.m(e,r)):y&&(y.d(1),y=null),A[0]&128&&_!==(_=Q[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),A[0]&8&&Ut(e,"top",Q[3]+"px"),A[0]&4&&Ut(e,"left",Q[2]+"px")},d(Q){Q&&T(e),b&&b.d(),C&&C.d(),k&&k.d(),y&&y.d(),t[40](null),g=!1,nt(w)}}}function I3(t){let e,i=G("menu_copy_video_link")+"",n,l,r,o,s,a=!t[4]&&!t[16]&&Rs(t);return{c(){e=E("li"),n=Fe(i),l=N(),a&&a.c(),r=pt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){P(c,e,f),p(e,n),P(c,l,f),a&&a.m(c,f),P(c,r,f),o||(s=[he(e,"click",ot(t[38])),he(e,"keydown",t[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Rs(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(T(e),T(l),T(r)),a&&a.d(c),o=!1,nt(s)}}}function Rs(t){let e,i=G("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",ot(t[39])),he(e,"keydown",t[25])],l=!0)},p:K,d(o){o&&T(e),l=!1,nt(r)}}}function Ns(t){let e,i=G("menu_pip")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",ot(t[21])),he(e,"keydown",t[26])],l=!0)},p:K,d(o){o&&T(e),l=!1,nt(r)}}}function A3(t){let e,i=G("menu_video_rotate")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",ot(t[17])),he(e,"keydown",t[27])],l=!0)},p:K,d(o){o&&T(e),l=!1,nt(r)}}}function Os(t){let e,i=G("menu_report")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[he(e,"click",ot(t[18])),he(e,"keydown",t[28])],l=!0)},p:K,d(o){o&&T(e),l=!1,nt(r)}}}function L3(t){let e,i=t[1]&&Bs(t);return{c(){i&&i.c(),e=pt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){n[1]?i?i.p(n,l):(i=Bs(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:K,o:K,d(n){n&&T(e),i&&i.d(n)}}}function M3(t,e,i){var Ie;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:d=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:g=void 0}=e,{returnFocus:w}=e,b=0,C=0;const k=Ct(),y=bn(),M=k.ui.contextMenuVisible,Q=k.ui.debugPanelVisible;D(t,Q,ae=>i(7,s=ae));const A=k.webApi.pictureInPictureApi,z=(Ie=k.webApi.pictureInPictureApi)==null?void 0:Ie.info.isActive$;D(t,z,ae=>i(6,o=ae));const re=k.state.chromecastState$;D(t,re,ae=>i(5,r=ae));const le=k.state.isLive$;D(t,le,ae=>i(4,l=ae));const Z=k.state.positionExact$;D(t,Z,ae=>i(41,n=ae));const Y=k.state.isInteractive,O=()=>{M.set(!1)},X=(ae,pe)=>{if(!g||!h||!_)return;const oe=g.getBoundingClientRect(),Ae=h.getBoundingClientRect();i(2,b=ae-Ae.left),i(3,C=pe-Ae.top),b+oe.width>Ae.width&&i(2,b=Ae.width-oe.width),C+oe.height>Ae.height&&i(3,C=Ae.height-oe.height),i(2,b=Math.max(b,0)),i(3,C=Math.max(C,0))},L=()=>{O(),k.actions.internal.videoRotate()},B=()=>{window.open(c,"_blank"),O(),k.actions.internal.pause()},te=()=>{const ae=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const pe=new Blob([...ae],{type:"plain/text"}),oe=window.URL.createObjectURL(pe);q1(oe,"vk_player_debug_info","txt")}else gr(k.actions.internal.getDebugTextData());O(),w==null||w()},S=()=>{Q.set(!0),O(),w==null||w()},ee=async()=>{try{A!=null&&A.isActive()?await(A==null?void 0:A.remove()):await(A==null?void 0:A.request())}finally{O(),w==null||w()}},Pe=(ae=!1)=>{var pe,oe;if((pe=k.callbacks)!=null&&pe.onCopyVideoLink){const Ae=(oe=k.callbacks)==null?void 0:oe.onCopyVideoLink(ae,n);Ae&&gr(Ae)}O()},ke=ae=>{Wc(ae,O)},Ee=ae=>{rn(ae,()=>Pe())},Be=ae=>{rn(ae,()=>Pe(!0))},be=ae=>{rn(ae,()=>ee())},ye=ae=>{rn(ae,()=>L())},q=ae=>{rn(ae,()=>B())},$=ae=>{rn(ae,()=>te())},ue=ae=>{rn(ae,()=>S())};function se(ae){uo.call(this,t,ae)}const je=()=>Pe(),Ne=()=>Pe(!0);function Le(ae){Ce[ae?"unshift":"push"](()=>{g=ae,i(0,g)})}return t.$$set=ae=>{"visible"in ae&&i(1,a=ae.visible),"supportLink"in ae&&i(31,c=ae.supportLink),"x"in ae&&i(32,f=ae.x),"y"in ae&&i(33,d=ae.y),"playerContainerRef"in ae&&i(34,h=ae.playerContainerRef),"controlsContainerRef"in ae&&i(35,_=ae.controlsContainerRef),"menuElementRef"in ae&&i(0,g=ae.menuElementRef),"returnFocus"in ae&&i(36,w=ae.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&g&&h&&_&&X(f,d)},[g,a,b,C,l,r,o,s,k,y,Q,A,z,re,le,Z,Y,L,B,te,S,ee,Pe,ke,Ee,Be,be,ye,q,$,ue,c,f,d,h,_,w,se,je,Ne,Le]}class V3 extends we{constructor(e){super(),_e(this,e,M3,L3,ge,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},E3,[-1,-1])}}class B3{constructor(e){this.value=e,this.next=null}}class ir{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new B3(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function R3(t){Ze(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function N3(t){let e,i;return{c(){e=E("div"),i=E("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){P(n,e,l),p(e,i),t[3](i)},p:K,i:K,o:K,d(n){n&&T(e),t[3](null)}}}const nr=16,or=120,Ds=60;function O3(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function D3(t,e,i){let{values:n=[]}=e,l,r;const o=or/Ds;pn(()=>{i(0,l.width=or,l),i(0,l.height=nr,l),i(2,r=l.getContext("2d"))});function s(a){Ce[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,or,nr);let c=Ds-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?nr*(n[f]/a):0;O3(r,d,0,o,h),c--}}},[l,n,r,s]}class Rr extends we{constructor(e){super(),_e(this,e,D3,N3,ge,{values:1},R3)}}function z3(t){Ze(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function zs(t){let e,i,n,l,r=t[0].id+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Video id",n=N(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&tt(o,r)},d(s){s&&T(e)}}}function Fs(t){let e,i,n,l,r=t[0].provider+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Provider",n=N(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&tt(o,r)},d(s){s&&T(e)}}}function Hs(t){let e,i,n,l,r=t[0].viewport+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Viewport",n=N(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&tt(o,r)},d(s){s&&T(e)}}}function Us(t){let e,i,n,l,r=t[0].videoSize+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Video size",n=N(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&tt(o,r)},d(s){s&&T(e)}}}function qs(t){let e,i,n,l,r=t[0].cdn+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="CDN host",n=N(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&tt(o,r)},d(s){s&&T(e)}}}function js(t){let e,i,n,l,r=t[0].volume+"",o,s;return{c(){e=E("div"),i=E("div"),i.textContent="Volume",n=N(),l=E("span"),o=Fe(r),s=Fe(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&tt(o,r)},d(a){a&&T(e)}}}function Ws(t){let e,i,n,l,r=t[0].buffer.toFixed(2)+"",o,s;return{c(){e=E("div"),i=E("div"),i.textContent="Buffer",n=N(),l=E("span"),o=Fe(r),s=Fe(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&tt(o,r)},d(a){a&&T(e)}}}function Zs(t){let e,i,n,l,r,o,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new Rr({props:{values:t[5]}}),{c(){e=E("div"),i=E("div"),i.textContent="Network",n=N(),U(l.$$.fragment),r=N(),o=E("span"),a=Fe(s),c=Fe(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){P(d,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&32&&(_.values=d[5]),l.$set(_),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&tt(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&T(e),H(l)}}}function Ks(t){let e,i,n,l,r,o,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new Rr({props:{values:t[6]}}),{c(){e=E("div"),i=E("div"),i.textContent="V bitrate",n=N(),U(l.$$.fragment),r=N(),o=E("span"),a=Fe(s),c=Fe(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){P(d,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&64&&(_.values=d[6]),l.$set(_),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&tt(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&T(e),H(l)}}}function F3(t){let e,i,n,l,r,o,s,a,c=t[0].version+"",f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe,ke,Ee,Be,be,ye=t[0].id&&zs(t),q=t[0].provider&&Fs(t),$=t[0].viewport&&Hs(t),ue=t[0].videoSize&&Us(t),se=t[0].cdn&&qs(t),je=t[0].volume&&js(t),Ne=t[0].buffer&&Ws(t),Le=t[0].speed&&Zs(t),Ie=t[0].bitrate&&Ks(t);return S=new Rr({props:{values:t[4]}}),{c(){e=E("div"),i=E("button"),i.textContent="[x]",n=N(),l=E("div"),r=E("div"),o=E("div"),o.textContent="Version",s=N(),a=E("span"),f=Fe(c),d=N(),ye&&ye.c(),h=N(),q&&q.c(),_=N(),$&&$.c(),g=N(),ue&&ue.c(),w=N(),se&&se.c(),b=N(),je&&je.c(),C=N(),Ne&&Ne.c(),k=N(),y=E("div"),M=E("div"),M.textContent="Dropped",Q=N(),A=E("span"),z=Fe(t[2]),re=Fe(" / "),le=Fe(t[1]),Z=Fe(" frames"),Y=N(),Le&&Le.c(),O=N(),Ie&&Ie.c(),X=N(),L=E("div"),B=E("div"),B.textContent="FPS",te=N(),U(S.$$.fragment),ee=N(),Pe=E("span"),ke=Fe(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),V(e,"container-mobile",t[7])},m(ae,pe){P(ae,e,pe),p(e,i),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),ye&&ye.m(l,null),p(l,h),q&&q.m(l,null),p(l,_),$&&$.m(l,null),p(l,g),ue&&ue.m(l,null),p(l,w),se&&se.m(l,null),p(l,b),je&&je.m(l,null),p(l,C),Ne&&Ne.m(l,null),p(l,k),p(l,y),p(y,M),p(y,Q),p(y,A),p(A,z),p(A,re),p(A,le),p(A,Z),p(l,Y),Le&&Le.m(l,null),p(l,O),Ie&&Ie.m(l,null),p(l,X),p(l,L),p(L,B),p(L,te),F(S,L,null),p(L,ee),p(L,Pe),p(Pe,ke),Ee=!0,Be||(be=he(i,"click",ot(t[9])),Be=!0)},p(ae,[pe]){(!Ee||pe&1)&&c!==(c=ae[0].version+"")&&tt(f,c),ae[0].id?ye?ye.p(ae,pe):(ye=zs(ae),ye.c(),ye.m(l,h)):ye&&(ye.d(1),ye=null),ae[0].provider?q?q.p(ae,pe):(q=Fs(ae),q.c(),q.m(l,_)):q&&(q.d(1),q=null),ae[0].viewport?$?$.p(ae,pe):($=Hs(ae),$.c(),$.m(l,g)):$&&($.d(1),$=null),ae[0].videoSize?ue?ue.p(ae,pe):(ue=Us(ae),ue.c(),ue.m(l,w)):ue&&(ue.d(1),ue=null),ae[0].cdn?se?se.p(ae,pe):(se=qs(ae),se.c(),se.m(l,b)):se&&(se.d(1),se=null),ae[0].volume?je?je.p(ae,pe):(je=js(ae),je.c(),je.m(l,C)):je&&(je.d(1),je=null),ae[0].buffer?Ne?Ne.p(ae,pe):(Ne=Ws(ae),Ne.c(),Ne.m(l,k)):Ne&&(Ne.d(1),Ne=null),(!Ee||pe&4)&&tt(z,ae[2]),(!Ee||pe&2)&&tt(le,ae[1]),ae[0].speed?Le?(Le.p(ae,pe),pe&1&&m(Le,1)):(Le=Zs(ae),Le.c(),m(Le,1),Le.m(l,O)):Le&&(fe(),v(Le,1,1,()=>{Le=null}),de()),ae[0].bitrate?Ie?(Ie.p(ae,pe),pe&1&&m(Ie,1)):(Ie=Ks(ae),Ie.c(),m(Ie,1),Ie.m(l,X)):Ie&&(fe(),v(Ie,1,1,()=>{Ie=null}),de());const oe={};pe&16&&(oe.values=ae[4]),S.$set(oe),(!Ee||pe&8)&&tt(ke,ae[3]),(!Ee||pe&128)&&V(e,"container-mobile",ae[7])},i(ae){Ee||(m(Le),m(Ie),m(S.$$.fragment,ae),Ee=!0)},o(ae){v(Le),v(Ie),v(S.$$.fragment,ae),Ee=!1},d(ae){ae&&T(e),ye&&ye.d(),q&&q.d(),$&&$.d(),ue&&ue.d(),se&&se.d(),je&&je.d(),Ne&&Ne.d(),Le&&Le.d(),Ie&&Ie.d(),H(S),Be=!1,be()}}}function H3(t,e,i){let n;const l=Ct(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(t,o,y=>i(7,n=y));const s=()=>{Vn.remove(dr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const _=new ir(60),g=new ir(60),w=new ir(60);let b=[],C=[],k=[];return pn(()=>{Vn.set(dr,"true"),l.actions.internal.startLogging(),c&&(i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const Q=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=Q-f),i(1,f=Q),_.push(h),a.speed&&g.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,b=_.getValuesFromBottom()),i(5,C=g.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),M&&clearInterval(M)}}),[a,f,d,h,b,C,k,n,o,s]}class Zc extends we{constructor(e){super(),_e(this,e,H3,F3,ge,{},z3)}}function U3(t){Ze(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function q3(t){let e,i,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(l,r){P(l,e,r),i||(n=he(e,"click",ot(t[0])),i=!0)},p:K,i:K,o:K,d(l){l&&T(e),i=!1,n()}}}function j3(t){function e(i){uo.call(this,t,i)}return[e]}class W3 extends we{constructor(e){super(),_e(this,e,j3,q3,ge,{},U3)}}function Z3(t){Ze(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function K3(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("canvas"),n=N(),l=R("svg"),r=R("g"),o=R("g"),s=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){P(a,e,c),p(e,i),t[2](i),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&T(e),t[2](null)}}}const G3=5e3;function Y3(t,e,i){let{onTimerEnded:n=Ye}=e,l;pn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/G3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Ce[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"onTimerEnded"in o&&i(1,n=o.onTimerEnded)},[l,n,r]}class Q3 extends we{constructor(e){super(),_e(this,e,Y3,K3,ge,{onTimerEnded:1},Z3)}}function X3(t){Ze(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Gs(t){let e,i;return e=new Q3({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function J3(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q;s=new W3({}),s.$on("click",t[4]);let A=t[3]&&Gs(t);return{c(){e=E("div"),i=N(),n=E("div"),l=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=N(),U(s.$$.fragment),a=N(),c=E("div"),f=E("div"),d=E("div"),h=E("div"),_=N(),A&&A.c(),w=N(),b=E("div"),C=E("div"),k=Fe(t[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",g=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(b,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(z,re){P(z,e,re),P(z,i,re),P(z,n,re),p(n,l),p(l,r),p(l,o),F(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,_),A&&A.m(d,null),p(c,w),p(c,b),p(b,C),p(C,k),y=!0,M||(Q=he(c,"click",function(){Mn(t[2])&&t[2].apply(this,arguments)}),M=!0)},p(z,[re]){t=z,t[3]?A?(A.p(t,re),re&8&&m(A,1)):(A=Gs(t),A.c(),m(A,1),A.m(d,null)):A&&(fe(),v(A,1,1,()=>{A=null}),de()),(!y||re&2&&g!==(g=`background-image: url('${t[1]}')`))&&u(d,"style",g),(!y||re&1)&&tt(k,t[0])},i(z){y||(m(s.$$.fragment,z),m(A),y=!0)},o(z){v(s.$$.fragment,z),v(A),y=!1},d(z){z&&(T(e),T(i),T(n)),H(s),A&&A.d(),M=!1,Q()}}}function x3(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>i(3,o=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,r=a.playNextVideo)},[n,l,r,o,s]}class $3 extends we{constructor(e){super(),_e(this,e,x3,J3,ge,{title:0,thumb:1,playNextVideo:2},X3)}}const Kc=(t,e)=>Math.min(+(t+e).toFixed(2),1),Gc=(t,e)=>Math.max(+(t-e).toFixed(2),0),Yc=(t,e,i)=>{const n=Kc(e,i);e<1&&t.actions.internal.setVolume(n)},Qc=(t,e,i)=>{const n=Gc(e,i);e>0&&t.actions.internal.setVolume(n)};function ep(t){Ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function tp(t){let e,i,n,l;const r=t[22].default,o=Wn(r,t,t[21],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player"))},m(s,a){P(s,e,a),o&&o.m(e,null),t[23](e),i=!0,n||(l=[he(e,"keyup",t[13]),he(e,"keydown",t[12])],n=!0)},p(s,a){o&&o.p&&(!i||a[0]&2097152)&&Kn(o,r,s,s[21],i?Zn(r,s[21],a,null):Gn(s[21]),null)},i(s){i||(m(o,s),i=!0)},o(s){v(o,s),i=!1},d(s){s&&T(e),o&&o.d(s),t[23](null),n=!1,nt(l)}}}function ip(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,{$$slots:g={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:M}=e,{fakePlayButtonHandler:Q}=e;const A=Ct(),z=bn(),re=A.getLogger().createComponentLog("KeyboardControls component"),le=A.state.playbackState$;D(t,le,se=>i(27,l=se));const Z=A.ads.playbackState;D(t,Z,se=>i(26,n=se));const Y=A.state.positionExact$;D(t,Y,se=>i(33,f=se));const O=A.state.duration$;D(t,O,se=>i(32,c=se));const X=A.state.volume$;D(t,X,se=>i(36,_=se));const L=A.ui.controls.disabledControls$;D(t,L,se=>i(31,a=se));const B=A.state.muted$;D(t,B,se=>i(29,o=se));const te=A.state.currentSubtitle$;D(t,te,se=>i(28,r=se));const S=A.state.currentPlaybackRate$;D(t,S,se=>i(34,d=se));const ee=A.state.availablePlaybackRates$;D(t,ee,se=>i(35,h=se));const Pe=A.state.isEnded$;D(t,Pe,se=>i(30,s=se));let ke=0,Ee=!0,Be;const be=()=>Be==null?void 0:Be.focus(),ye=se=>(se!==Ee&&(Ee=se,ke=0),ke+=1,(z.controls.seekStepKeyboard+z.controls.seekStepKeyboard*ke)/1e3),q=se=>{var Ke;const je=se.target,Ne=(Ke=je==null?void 0:je.getAttribute("role"))==null?void 0:Ke.includes("menuitem"),Le=je.classList.contains("btn"),Ie=se.code;if(Le&&Ie===Se.Space)return;const ae=nd.has(Ie);if(Ne&&ae)return;const pe=!id.has(Ie);if(se.ctrlKey&&pe||se.altKey&&pe||se.metaKey)return;const oe=Ne&&Ie===Se.Escape;od.has(Ie)||oe||C();const Ae=l===Xt.PLAYING||l===Xt.PAUSED,me=b&&(n===ni.PAUSED||n===ni.PLAYING),Te=!me&&!a.has(ft.TIMELINE);if(Ae||me)switch(re({message:`key down, code: ${Ie}`}),Ie){case Se.KeyJ:case Se.ArrowLeft:{if(!Te)break;if(se.ctrlKey||se.altKey){const Re=A.actions.internal.getPrevEpisode();A.actions.internal.seekToPrevEpisode(Re),Re&&y({type:Qe.EPISODE_PREV,text:Re.text}),se.preventDefault()}else{const Re=se.shiftKey?ye(!1):z.controls.seekStepKeyboard/1e3,Je=Math.max(f-Re,0);f>0&&(A.actions.internal.seekTime(Je,Zt.DOUBLE_TAP),y({type:Qe.BACKWARD_SEEK,text:Re.toString()}),se.preventDefault())}break}case Se.KeyL:case Se.ArrowRight:{if(!Te)break;if(se.ctrlKey||se.altKey){const Re=A.actions.internal.getNextEpisode();A.actions.internal.seekToNextEpisode(Re),Re&&y({type:Qe.EPISODE_NEXT,text:Re.text}),se.preventDefault()}else{const Re=se.shiftKey?ye(!0):z.controls.seekStepKeyboard/1e3,Je=Math.min(f+Re,c);Math.round(f)<Math.round(c)&&(A.actions.internal.seekTime(Je,Zt.DOUBLE_TAP),y({type:Qe.FORWARD_SEEK,text:Re.toString()}),se.preventDefault())}break}case Se.ArrowUp:{const Re=_,Je=z.controls.volumeStepKeyboard,xe=Re<=1;if(Yc(A,Re,Je),xe){const at=Math.round(Kc(Re,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}se.preventDefault();break}case Se.ArrowDown:{const Re=_,Je=z.controls.volumeStepKeyboard,xe=Re>=0;if(Qc(A,Re,Je),xe){const at=Math.round(Gc(Re,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:at}})}se.preventDefault();break}case Se.Comma:{if(se.shiftKey){A.actions.internal.decrementPlaybackRate();const Re=h.find(Je=>Je.value===d);y({type:Qe.RATE_DOWN,text:Re==null?void 0:Re.displayValue}),se.preventDefault()}else{if(me||l!==Xt.PAUSED)break;const Re=Math.max(f-z.controls.seekStepFrame/1e3,0);f>0&&(y({type:Qe.BACKWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Re,Zt.DOUBLE_TAP),se.preventDefault())}break}case Se.Period:{if(se.shiftKey){A.actions.internal.incrementPlaybackRate();const Re=h.find(Je=>Je.value===d);y({type:Qe.RATE_UP,text:Re==null?void 0:Re.displayValue}),se.preventDefault()}else{if(me||l!==Xt.PAUSED)break;const Re=Math.min(f+z.controls.seekStepFrame/1e3,c);f<c&&(y({type:Qe.FORWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Re,Zt.DOUBLE_TAP),se.preventDefault())}break}case Se.KeyK:case Se.Space:if(!a.has(ft.PLAY_BUTTON))if(Q)Q();else{A.actions.internal.togglePlay();let Re=Qe.PLAY;l===Xt.PAUSED?Re=Qe.PAUSE:s&&(Re=Qe.REPLAY),y({type:Re})}se.preventDefault();break;case Se.KeyM:{y({type:o?Qe.VOLUME:Qe.MUTE}),A.actions.internal.toggleMuted(),se.preventDefault();break}case Se.KeyF:k(),se.preventDefault();break;case Se.KeyC:A.actions.internal.toggleSubtitle(),r.value!=="off"?y({type:Qe.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):y({type:Qe.SUBTITLES_OFF}),se.preventDefault();break;case Se.KeyI:A.actions.internal.togglePictureInPicture(),se.preventDefault();break;case Se.Digit1:case Se.Numpad1:y(),A.actions.internal.seekToPercent(.1,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit2:case Se.Numpad2:y(),A.actions.internal.seekToPercent(.2,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit3:case Se.Numpad3:y(),A.actions.internal.seekToPercent(.3,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit4:case Se.Numpad4:y(),A.actions.internal.seekToPercent(.4,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit5:case Se.Numpad5:y(),A.actions.internal.seekToPercent(.5,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit6:case Se.Numpad6:y(),A.actions.internal.seekToPercent(.6,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit7:case Se.Numpad7:y(),A.actions.internal.seekToPercent(.7,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit8:case Se.Numpad8:y(),A.actions.internal.seekToPercent(.8,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit9:case Se.Numpad9:y(),A.actions.internal.seekToPercent(.9,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Digit0:case Se.Numpad0:y(),A.actions.internal.seekToPercent(0,Zt.DOUBLE_TAP),se.preventDefault();break;case Se.Slash:{se.shiftKey&&z.features.hotKeyMapModal&&(M(),se.preventDefault());break}case Se.ShiftLeft:case Se.ShiftRight:se.preventDefault();break;case Se.Tab:case Se.Escape:case Se.Enter:break;default:y0(Ie);break}},$=se=>{const je=se.code;if(se.ctrlKey||se.altKey||se.metaKey)return;const Ne=l===Xt.PLAYING||l===Xt.PAUSED,Le=b&&(n===ni.PAUSED||n===ni.PLAYING);if(Ne||Le)switch(je){case Se.ShiftLeft:case Se.ShiftRight:ke=0;break}};function ue(se){Ce[se?"unshift":"push"](()=>{Be=se,i(0,Be)})}return t.$$set=se=>{"isAds"in se&&i(14,b=se.isAds),"hideContextMenu"in se&&i(15,C=se.hideContextMenu),"toggleFullscreen"in se&&i(16,k=se.toggleFullscreen),"showHotKeyHelpers"in se&&i(17,y=se.showHotKeyHelpers),"showKeyMap"in se&&i(18,M=se.showKeyMap),"fakePlayButtonHandler"in se&&i(19,Q=se.fakePlayButtonHandler),"$$scope"in se&&i(21,w=se.$$scope)},[Be,le,Z,Y,O,X,L,B,te,S,ee,Pe,q,$,b,C,k,y,M,Q,be,w,g,ue]}class np extends we{constructor(e){super(),_e(this,e,ip,tp,ge,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},ep,[-1,-1])}get focus(){return this.$$.ctx[20]}}function op(t){Ze(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function lp(t){let e;return{c(){e=E("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){P(i,e,n)},p:K,i:K,o:K,d(i){i&&T(e)}}}class Xc extends we{constructor(e){super(),_e(this,e,null,lp,ge,{},op)}}function rp(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("defs"),o=R("filter"),s=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),d=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p:K,i:K,o:K,d(g){g&&T(e)}}}class sp extends we{constructor(e){super(),_e(this,e,null,rp,ge,{})}}function ap(t){Ze(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function up(t){let e,i,n,l,r,o,s,a,c,f,d,h;const _=t[14].default,g=Wn(_,t,t[13],null);return{c(){var w,b,C,k,y,M;e=E("button"),g&&g.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=l=(w=t[3])!=null?w:null,u(e,"aria-hidden",r=(b=t[5])!=null?b:null),u(e,"aria-label",o=(C=t[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=t[7])!=null?k:null),u(e,"aria-expanded",a=(y=t[8])!=null?y:null),u(e,"data-testid",c=(M=t[4])!=null?M:null),u(e,"tabindex",t[9])},m(w,b){P(w,e,b),g&&g.m(e,null),t[16](e),f=!0,d||(h=[he(e,"pointerdown",ot(oi(t[15]))),he(e,"click",ot(oi(function(){Mn(t[10]===Ye?null:t[10])&&(t[10]===Ye?null:t[10]).apply(this,arguments)}))),he(e,"focus",oi(function(){Mn(t[11]===Ye?null:t[11])&&(t[11]===Ye?null:t[11]).apply(this,arguments)})),he(e,"blur",oi(function(){Mn(t[12]===Ye?null:t[12])&&(t[12]===Ye?null:t[12]).apply(this,arguments)}))],d=!0)},p(w,[b]){var C,k,y,M,Q,A;t=w,g&&g.p&&(!f||b&8192)&&Kn(g,_,t,t[13],f?Zn(_,t[13],b,null):Gn(t[13]),null),(!f||b&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||b&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||b&8&&l!==(l=(C=t[3])!=null?C:null))&&(e.disabled=l),(!f||b&32&&r!==(r=(k=t[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||b&64&&o!==(o=(y=t[6])!=null?y:null))&&u(e,"aria-label",o),(!f||b&128&&s!==(s=(M=t[7])!=null?M:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(Q=t[8])!=null?Q:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(A=t[4])!=null?A:null))&&u(e,"data-testid",c),(!f||b&512)&&u(e,"tabindex",t[9])},i(w){f||(m(g,w),f=!0)},o(w){v(g,w),f=!1},d(w){w&&T(e),g&&g.d(w),t[16](null),d=!1,nt(h)}}}function cp(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:g=0}=e,{click:w=Ye}=e,{focus:b=Ye}=e,{blur:C=Ye}=e;function k(M){uo.call(this,t,M)}function y(M){Ce[M?"unshift":"push"](()=>{d=M,i(0,d)})}return t.$$set=M=>{"className"in M&&i(1,r=M.className),"style"in M&&i(2,o=M.style),"disabled"in M&&i(3,s=M.disabled),"testId"in M&&i(4,a=M.testId),"ariaHidden"in M&&i(5,c=M.ariaHidden),"ariaLabel"in M&&i(6,f=M.ariaLabel),"ref"in M&&i(0,d=M.ref),"ariaKeyShortCut"in M&&i(7,h=M.ariaKeyShortCut),"ariaExpanded"in M&&i(8,_=M.ariaExpanded),"tabIndex"in M&&i(9,g=M.tabIndex),"click"in M&&i(10,w=M.click),"focus"in M&&i(11,b=M.focus),"blur"in M&&i(12,C=M.blur),"$$scope"in M&&i(13,l=M.$$scope)},[d,r,o,s,a,c,f,h,_,g,w,b,C,l,n,k,y]}class Ei extends we{constructor(e){super(),_e(this,e,cp,up,ge,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,tabIndex:9,click:10,focus:11,blur:12},ap)}}function fp(t){Ze(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Ys(t){let e,i,n,l,r,o=t[2]&&Qs(t);return{c(){e=E("div"),i=E("h3"),n=Fe(t[3]),l=N(),o&&o.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&tt(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=Qs(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),v(o,1,1,()=>{o=null}),de())},i(s){r||(m(o),r=!0)},o(s){v(o),r=!1},d(s){s&&T(e),o&&o.d()}}}function Qs(t){let e,i;return e=new Ei({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[dp]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dp(t){let e,i;return e=new sp({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function mp(t){let e,i,n,l,r,o,s=t[1]&&Ys(t);const a=t[4].default,c=Wn(a,t,t[5],null);return{c(){e=E("div"),i=E("div"),s&&s.c(),n=N(),l=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){P(f,e,d),p(e,i),s&&s.m(i,null),p(i,n),p(i,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=Ys(f),s.c(),m(s,1),s.m(i,n)):s&&(fe(),v(s,1,1,()=>{s=null}),de()),c&&c.p&&(!o||d&32)&&Kn(c,a,f,f[5],o?Zn(a,f[5],d,null):Gn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){v(s),v(c,f),o=!1},d(f){f&&T(e),s&&s.d(),c&&c.d(f)}}}function pp(t,e,i){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,r=c.onClose),"showHeader"in c&&i(1,o=c.showHeader),"showCloseCross"in c&&i(2,s=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,l=c.$$scope)},[r,o,s,a,n,l]}class hp extends we{constructor(e){super(),_e(this,e,pp,mp,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},fp)}}const vp=new Set(["BR"]),Xs=t=>{var e;const i=document.createElement("DIV");i.innerHTML=t;const n=i.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;vp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return i.innerHTML};function gp(t){Ze(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Js(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function xs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function $s(t){let e,i,n=Xs(t[9])+"",l,r,o=t[10]+"",s,a;return{c(){e=E("li"),i=E("span"),l=N(),r=E("span"),s=Fe(o),a=N(),u(i,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){P(c,e,f),p(e,i),i.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Xs(c[9])+"")&&(i.innerHTML=n),f&1&&o!==(o=c[10]+"")&&tt(s,o)},d(c){c&&T(e)}}}function ea(t){let e,i,n=t[5]+"",l,r,o,s,a=Jt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=$s(xs(t,a,f));return{c(){e=E("div"),i=E("h5"),l=Fe(n),r=N(),o=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=N(),u(i,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){P(f,e,d),p(e,i),p(i,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&tt(l,n),d&1){a=Jt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=xs(f,a,h);c[h]?c[h].p(_,d):(c[h]=$s(_),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&T(e),Bn(c,f)}}}function bp(t){let e,i=Jt(t[0].groups),n=[];for(let l=0;l<i.length;l+=1)n[l]=ea(Js(t,i,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){i=Jt(l[0].groups);let o;for(o=0;o<i.length;o+=1){const s=Js(l,i,o);n[o]?n[o].p(s,r):(n[o]=ea(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&T(e),Bn(n,l)}}}function _p(t){let e,i;return e=new hp({props:{title:t[0].title,onClose:t[2],$$slots:{default:[bp]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wp(t,e,i){let n;const l=Ct(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(t,r,a=>i(0,n=a)),[n,r,()=>{o.set(!1)}]}class kp extends we{constructor(e){super(),_e(this,e,wp,_p,ge,{},gp)}}function yp(t){Ze(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Cp(t){let e,i;const n=t[1].default,l=Wn(n,t,t[0],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){P(r,e,o),l&&l.m(e,null),i=!0},p(r,[o]){l&&l.p&&(!i||o&1)&&Kn(l,n,r,r[0],i?Zn(n,r[0],o,null):Gn(r[0]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&T(e),l&&l.d(r)}}}function Tp(t,e,i){let{$$slots:n={},$$scope:l}=e;return t.$$set=r=>{"$$scope"in r&&i(0,l=r.$$scope)},[l,n]}class Pp extends we{constructor(e){super(),_e(this,e,Tp,Cp,ge,{},yp)}}function Sp(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class Ep extends we{constructor(e){super(),_e(this,e,null,Sp,ge,{})}}function Ip(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class Ap extends we{constructor(e){super(),_e(this,e,null,Ip,ge,{})}}function Lp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Mp extends we{constructor(e){super(),_e(this,e,null,Lp,ge,{})}}function Vp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Jc extends we{constructor(e){super(),_e(this,e,null,Vp,ge,{})}}function Bp(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class xc extends we{constructor(e){super(),_e(this,e,null,Bp,ge,{})}}const Ro=t=>{switch(t){case Po.Q_720P:return Mp;case Po.Q_1080P:return Jc;case Po.Q_1440P:return xc;case Po.Q_2160P:return Ep;case Po.Q_4320P:return Ap}};function Rp(t){Ze(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Np(t){let e,i,n,l,r,o,s=t[1]&&ta(t);return{c(){e=E("div"),s&&s.c(),i=N(),n=R("svg"),l=R("path"),r=R("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),V(r,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),V(e,"triple",t[2])},m(a,c){P(a,e,c),s&&s.m(e,null),p(e,i),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=ta(a),s.c(),m(s,1),s.m(e,i)):s&&(fe(),v(s,1,1,()=>{s=null}),de()),(!o||c&2)&&V(r,"hidden",!!a[1]),(!o||c&4)&&V(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){v(s),o=!1},d(a){a&&T(e),s&&s.d()}}}function Op(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}function ta(t){let e,i;return e=new Pp({props:{$$slots:{default:[Dp]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dp(t){let e,i,n;var l=t[1];function r(o){return{}}return l&&(e=Fn(l,r())),{c(){e&&U(e.$$.fragment),i=pt()},m(o,s){e&&F(e,o,s),P(o,i,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){fe();const a=e;v(a.$$.fragment,1,0,()=>{H(a,1)}),de()}l?(e=Fn(l,r()),U(e.$$.fragment),m(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&v(e.$$.fragment,o),n=!1},d(o){o&&T(i),e&&H(e,o)}}}function zp(t){let e,i,n,l;const r=[Op,Np],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Fp(t,e,i){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return t.$$set=s=>{"isMobile"in s&&i(0,l=s.isMobile),"currentQuality"in s&&i(3,r=s.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=Ro(r)),t.$$.dirty&2&&i(2,o=!!n&&[Jc,xc].includes(n))},[l,n,o,r]}class $c extends we{constructor(e){super(),_e(this,e,Fp,zp,ge,{isMobile:0,currentQuality:3},Rp)}}function Hp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class ef extends we{constructor(e){super(),_e(this,e,null,Hp,ge,{})}}function Up(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class qp extends we{constructor(e){super(),_e(this,e,null,Up,ge,{})}}function jp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Wp extends we{constructor(e){super(),_e(this,e,null,jp,ge,{})}}function Zp(t){let e,i,n,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class Kp extends we{constructor(e){super(),_e(this,e,null,Zp,ge,{})}}function Gp(t){Ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Yp(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),V(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&V(e,"reverted",l[2])},d(l){l&&T(e)}}}function Qp(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),V(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&V(e,"reverted",l[2])},d(l){l&&T(e)}}}function Xp(t){let e;function i(r,o){return r[1]?Qp:Yp}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function Jp(t,e,i){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return t.$$set=s=>{"direction"in s&&i(3,n=s.direction),"color"in s&&i(0,l=s.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,r=["up","down"].includes(n)),i(2,o=["right","down"].includes(n)))},[l,r,o,n]}class to extends we{constructor(e){super(),_e(this,e,Jp,Xp,ge,{direction:3,color:0},Gp)}}function xp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class $p extends we{constructor(e){super(),_e(this,e,null,xp,ge,{})}}function eh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class el extends we{constructor(e){super(),_e(this,e,null,eh,ge,{})}}function th(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class ih extends we{constructor(e){super(),_e(this,e,null,th,ge,{})}}function nh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class oh extends we{constructor(e){super(),_e(this,e,null,nh,ge,{})}}function lh(t){Ze(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function ia(t,e,i){const n=t.slice();return n[143]=e[i],n}function na(t,e,i){const n=t.slice();return n[146]=e[i],n}function oa(t,e,i){const n=t.slice();return n[149]=e[i],n}function la(t){let e,i,n,l,r,o,s,a,c,f,d,h=t[8]&&ra(t),_=t[29]&&sa(t),g=t[28]&&ua(t),w=t[27]&&ca(t),b=t[26]&&fa(t),C=t[25]&&da(t),k=t[8]&&ma(t);return{c(){e=E("div"),h&&h.c(),i=N(),n=E("ul"),_&&_.c(),l=N(),g&&g.c(),r=N(),w&&w.c(),o=N(),b&&b.c(),s=N(),C&&C.c(),a=N(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),u(n,"style",t[21]),V(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8]),V(e,"hidden",!t[15])},m(y,M){P(y,e,M),h&&h.m(e,null),p(e,i),p(e,n),_&&_.m(n,null),p(n,l),g&&g.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),t[117](n),c=!0,f||(d=[he(e,"keydown",t[80]),he(e,"mouseenter",t[74]),he(e,"mouseleave",t[75])],f=!0)},p(y,M){y[8]?h?h.p(y,M):(h=ra(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[29]?_?(_.p(y,M),M[0]&536870912&&m(_,1)):(_=sa(y),_.c(),m(_,1),_.m(n,l)):_&&(fe(),v(_,1,1,()=>{_=null}),de()),y[28]?g?(g.p(y,M),M[0]&268435456&&m(g,1)):(g=ua(y),g.c(),m(g,1),g.m(n,r)):g&&(fe(),v(g,1,1,()=>{g=null}),de()),y[27]?w?(w.p(y,M),M[0]&134217728&&m(w,1)):(w=ca(y),w.c(),m(w,1),w.m(n,o)):w&&(fe(),v(w,1,1,()=>{w=null}),de()),y[26]?b?(b.p(y,M),M[0]&67108864&&m(b,1)):(b=fa(y),b.c(),m(b,1),b.m(n,s)):b&&(fe(),v(b,1,1,()=>{b=null}),de()),y[25]?C?(C.p(y,M),M[0]&33554432&&m(C,1)):(C=da(y),C.c(),m(C,1),C.m(n,a)):C&&(fe(),v(C,1,1,()=>{C=null}),de()),y[8]?k?(k.p(y,M),M[0]&256&&m(k,1)):(k=ma(y),k.c(),m(k,1),k.m(n,null)):k&&(fe(),v(k,1,1,()=>{k=null}),de()),(!c||M[0]&2097152)&&u(n,"style",y[21]),(!c||M[0]&256)&&V(n,"items-mobile",y[8]),(!c||M[0]&256)&&V(e,"menu-desktop",!y[8]),(!c||M[0]&256)&&V(e,"menu-mobile",y[8]),(!c||M[0]&32768)&&V(e,"hidden",!y[15])},i(y){c||(m(_),m(g),m(w),m(b),m(C),m(k),c=!0)},o(y){v(_),v(g),v(w),v(b),v(C),v(k),c=!1},d(y){y&&T(e),h&&h.d(),_&&_.d(),g&&g.d(),w&&w.d(),b&&b.d(),C&&C.d(),k&&k.d(),t[117](null),f=!1,nt(d)}}}function ra(t){let e,i,n,l,r,o,s,a;return{c(){e=E("div"),i=E("div"),i.textContent=`${G("submenu_settings")}`,n=N(),l=E("div"),r=N(),o=E("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),V(e,"item-mobile",t[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){P(c,e,f),p(e,i),p(e,n),p(e,l),P(c,r,f),P(c,o,f),s||(a=he(l,"click",ot(t[60])),s=!0)},p(c,f){f[0]&256&&V(e,"item-mobile",c[8])},d(c){c&&(T(e),T(r),T(o)),s=!1,a()}}}function sa(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;n=new $c({});let g=t[37]&&!t[8]&&aa(t);return{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_quality")}`,o=N(),s=E("div"),a=Fe(t[20]),c=N(),g&&g.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:t[31]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(w,b){P(w,e,b),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),g&&g.m(s,null),t[113](e),d=!0,h||(_=[he(e,"click",ot(t[61])),he(e,"keydown",t[81])],h=!0)},p(w,b){(!d||b[0]&1048576)&&tt(a,w[20]),w[37]&&!w[8]?g?(g.p(w,b),b[0]&256|b[1]&64&&m(g,1)):(g=aa(w),g.c(),m(g,1),g.m(s,null)):g&&(fe(),v(g,1,1,()=>{g=null}),de()),(!d||b[1]&1&&f!==(f=G("aria_label_menu_quality",{actual:w[31]})))&&u(e,"aria-label",f),(!d||b[0]&256)&&V(e,"item-mobile",w[8])},i(w){d||(m(n.$$.fragment,w),m(g),d=!0)},o(w){v(n.$$.fragment,w),v(g),d=!1},d(w){w&&T(e),H(n),g&&g.d(),t[113](null),h=!1,nt(_)}}}function aa(t){let e,i,n;var l=t[37];function r(o){return{}}return l&&(i=Fn(l,r())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){P(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[1]&64&&l!==(l=o[37])){if(i){fe();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),de()}l?(i=Fn(l,r()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&T(e),i&&H(i)}}}function ua(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return n=new Kp({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_playback_rate")}`,o=N(),s=E("div"),a=Fe(t[13]),c=Fe("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:t[32]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),t[114](e),d=!0,h||(_=[he(e,"click",ot(oi(t[65]))),he(e,"keydown",t[84])],h=!0)},p(g,w){(!d||w[0]&8192)&&tt(a,g[13]),(!d||w[1]&2&&f!==(f=G("aria_label_menu_rate",{actual:g[32]})))&&u(e,"aria-label",f),(!d||w[0]&256)&&V(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&T(e),H(n),t[114](null),h=!1,nt(_)}}}function ca(t){let e,i,n,l,r,o,s,a=t[38].displayValue+"",c,f,d,h,_;return n=new ef({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=N(),s=E("div"),c=Fe(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:t[38].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),t[115](e),d=!0,h||(_=[he(e,"click",ot(t[67])),he(e,"keydown",t[87])],h=!0)},p(g,w){(!d||w[1]&128)&&a!==(a=g[38].displayValue+"")&&tt(c,a),(!d||w[1]&128&&f!==(f=G("aria_label_menu_subtitle",{actual:g[38].displayValue})))&&u(e,"aria-label",f),(!d||w[0]&256)&&V(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&T(e),H(n),t[115](null),h=!1,nt(_)}}}function fa(t){let e,i,n,l,r,o,s,a,c,f,d,h;return n=new Wp({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_traffic_saving")}`,o=N(),s=E("div"),a=Fe(t[30]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:t[30]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",t[8])},m(_,g){P(_,e,g),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),t[116](e),f=!0,d||(h=[he(e,"click",ot(t[62])),he(e,"keydown",t[90])],d=!0)},p(_,g){(!f||g[0]&1073741824)&&tt(a,_[30]),(!f||g[0]&1073741824&&c!==(c=G("aria_label_menu_traffic_saving",{actual:_[30]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&V(e,"item-mobile",_[8])},i(_){f||(m(n.$$.fragment,_),f=!0)},o(_){v(n.$$.fragment,_),f=!1},d(_){_&&T(e),H(n),t[116](null),d=!1,nt(h)}}}function da(t){let e,i,n,l,r,o,s,a;return n=new qp({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),V(e,"item-mobile",t[8])},m(c,f){P(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",ot(t[70])),he(e,"keydown",t[93])],s=!0)},p(c,f){(!o||f[0]&256)&&V(e,"item-mobile",c[8])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&T(e),H(n),s=!1,nt(a)}}}function ma(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C=t[40].showSupport&&rh(t);return l=new ih({}),f=new oh({}),{c(){C&&C.c(),e=N(),i=E("li"),n=E("div"),U(l.$$.fragment),r=N(),o=E("div"),o.textContent=`${G("menu_copy_debug")}`,s=N(),a=E("li"),c=E("div"),U(f.$$.fragment),d=N(),h=E("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",G("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=t[39]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(k,y){C&&C.m(k,y),P(k,e,y),P(k,i,y),p(i,n),F(l,n,null),p(i,r),p(i,o),P(k,s,y),P(k,a,y),p(a,c),F(f,c,null),p(a,d),p(a,h),g=!0,w||(b=[he(i,"click",ot(t[72])),he(i,"keydown",t[95]),he(a,"click",ot(t[73])),he(a,"keydown",t[96])],w=!0)},p(k,y){k[40].showSupport&&C.p(k,y),(!g||y[1]&256&&_!==(_=k[39]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){g||(m(C),m(l.$$.fragment,k),m(f.$$.fragment,k),g=!0)},o(k){v(C),v(l.$$.fragment,k),v(f.$$.fragment,k),g=!1},d(k){k&&(T(e),T(i),T(s),T(a)),C&&C.d(k),H(l),H(f),w=!1,nt(b)}}}function rh(t){let e,i,n,l,r,o,s,a;return n=new $p({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){P(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[he(e,"click",ot(t[71])),he(e,"keydown",t[94])],s=!0)},p:K,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&T(e),H(n),s=!1,nt(a)}}}function pa(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new to({props:{direction:"left"}});let _=Jt(t[12]),g=[];for(let b=0;b<_.length;b+=1)g[b]=ga(oa(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_quality")}`,o=N(),s=E("div"),a=N(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),V(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(b,C){P(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[118](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[121](c),f=!0,d||(h=[he(i,"click",ot(t[69])),he(c,"keydown",t[82])],d=!0)},p(b,C){if((!f||C[0]&256)&&V(i,"item-mobile",b[8]),C[0]&4352|C[2]&2097154){_=Jt(b[12]);let k;for(k=0;k<_.length;k+=1){const y=oa(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=ga(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(fe(),k=_.length;k<g.length;k+=1)w(k);de()}(!f||C[0]&4194304)&&u(c,"style",b[22]),(!f||C[0]&256)&&V(c,"items-mobile",b[8]),(!f||C[0]&256)&&V(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&V(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&T(e),H(n),t[118](null),Bn(g,b),t[121](null),d=!1,nt(h)}}}function ha(t){let e,i,n;return i=new el({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function va(t){let e,i,n;var l=Ro(t[149].value);function r(o){return{}}return l&&(i=Fn(l,r())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){P(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Ro(o[149].value))){if(i){fe();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),de()}l?(i=Fn(l,r()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&T(e),i&&H(i)}}}function ga(t){let e,i,n,l=t[149].displayValue+"",r,o,s=!t[8]&&Ro(t[149].value),a,c,f,d,h,_,g=t[149].selected&&ha(),w=s&&va(t);function b(){return t[119](t[149])}function C(...k){return t[120](t[149],...k)}return{c(){e=E("li"),g&&g.c(),i=N(),n=E("div"),r=Fe(l),o=N(),w&&w.c(),a=N(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[149].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=t[149].displayValue),V(e,"item-mobile",t[8])},m(k,y){P(k,e,y),g&&g.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),d=!0,h||(_=[he(e,"click",ot(b)),he(e,"keydown",C)],h=!0)},p(k,y){t=k,t[149].selected?g?y[0]&4096&&m(g,1):(g=ha(),g.c(),m(g,1),g.m(e,i)):g&&(fe(),v(g,1,1,()=>{g=null}),de()),(!d||y[0]&4096)&&l!==(l=t[149].displayValue+"")&&tt(r,l),(!d||y[0]&256)&&V(n,"quality-title-mobile",t[8]),y[0]&4352&&(s=!t[8]&&Ro(t[149].value)),s?w?(w.p(t,y),y[0]&4352&&m(w,1)):(w=va(t),w.c(),m(w,1),w.m(e,a)):w&&(fe(),v(w,1,1,()=>{w=null}),de()),(!d||y[0]&4096&&c!==(c=t[149].value))&&u(e,"data-value",c),(!d||y[0]&4096&&f!==(f=t[149].displayValue))&&u(e,"aria-label",f),(!d||y[0]&256)&&V(e,"item-mobile",t[8])},i(k){d||(m(g),m(w),d=!0)},o(k){v(g),v(w),d=!1},d(k){k&&T(e),g&&g.d(),w&&w.d(),h=!1,nt(_)}}}function ba(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new to({props:{direction:"left"}});let _=Jt(t[11]),g=[];for(let b=0;b<_.length;b+=1)g[b]=wa(na(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_playback_rate")}`,o=N(),s=E("div"),a=N(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),V(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(b,C){P(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[122](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[125](c),f=!0,d||(h=[he(i,"click",ot(t[69])),he(c,"keydown",t[85])],d=!0)},p(b,C){if((!f||C[0]&256)&&V(i,"item-mobile",b[8]),C[0]&2304|C[2]&16777232){_=Jt(b[11]);let k;for(k=0;k<_.length;k+=1){const y=na(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=wa(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(fe(),k=_.length;k<g.length;k+=1)w(k);de()}(!f||C[0]&8388608)&&u(c,"style",b[23]),(!f||C[0]&256)&&V(c,"items-mobile",b[8]),(!f||C[0]&256)&&V(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&V(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&T(e),H(n),t[122](null),Bn(g,b),t[125](null),d=!1,nt(h)}}}function _a(t){let e,i,n;return i=new el({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function wa(t){let e,i,n,l=t[146].displayValue+"",r,o,s,a,c,f,d,h=t[146].selected&&_a();function _(){return t[123](t[146])}function g(...w){return t[124](t[146],...w)}return{c(){e=E("li"),h&&h.c(),i=N(),n=E("div"),r=Fe(l),o=N(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[146].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[146].displayValue),V(e,"item-mobile",t[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",ot(_)),he(e,"keydown",g)],f=!0)},p(w,b){t=w,t[146].selected?h?b[0]&2048&&m(h,1):(h=_a(),h.c(),m(h,1),h.m(e,i)):h&&(fe(),v(h,1,1,()=>{h=null}),de()),(!c||b[0]&2048)&&l!==(l=t[146].displayValue+"")&&tt(r,l),(!c||b[0]&256)&&V(n,"quality-title-mobile",t[8]),(!c||b[0]&2048&&s!==(s=t[146].value))&&u(e,"data-value",s),(!c||b[0]&2048&&a!==(a=t[146].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&V(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,nt(d)}}}function ka(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re;n=new to({props:{direction:"left"}});let le=!t[9]&&ya(),Z=t[9]&&Ca();return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("submenu_traffic_saving")}`,o=N(),s=E("div"),a=N(),c=E("ul"),f=E("li"),le&&le.c(),d=N(),h=E("div"),h.textContent=`${G("traffic_saving_disable")}`,_=N(),g=E("li"),Z&&Z.c(),w=N(),b=E("div"),b.textContent=`${G("traffic_saving_enable")}`,C=N(),k=E("div"),y=N(),M=E("div"),Q=E("span"),Q.textContent=`${G("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),V(h,"quality-title-mobile",t[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),V(f,"item-mobile",t[8]),u(b,"class","v-5r0p3"),V(b,"quality-title-mobile",t[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),V(g,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[24]),V(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(Q,"class","v-5r0p3"),u(M,"class","item item-helper-text v-5r0p3"),V(M,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(Y,O){P(Y,e,O),p(e,i),F(n,i,null),p(i,l),p(i,r),t[126](i),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),le&&le.m(f,null),p(f,d),p(f,h),p(c,_),p(c,g),Z&&Z.m(g,null),p(g,w),p(g,b),t[131](c),p(e,C),p(e,k),p(e,y),p(e,M),p(M,Q),A=!0,z||(re=[he(i,"click",ot(t[69])),he(f,"click",ot(t[127])),he(f,"keydown",t[128]),he(g,"click",ot(t[129])),he(g,"keydown",t[130]),he(c,"keydown",t[91])],z=!0)},p(Y,O){(!A||O[0]&256)&&V(i,"item-mobile",Y[8]),Y[9]?le&&(fe(),v(le,1,1,()=>{le=null}),de()):le?O[0]&512&&m(le,1):(le=ya(),le.c(),m(le,1),le.m(f,d)),(!A||O[0]&256)&&V(h,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&V(f,"item-mobile",Y[8]),Y[9]?Z?O[0]&512&&m(Z,1):(Z=Ca(),Z.c(),m(Z,1),Z.m(g,w)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),(!A||O[0]&256)&&V(b,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&V(g,"item-mobile",Y[8]),(!A||O[0]&16777216)&&u(c,"style",Y[24]),(!A||O[0]&256)&&V(c,"items-mobile",Y[8]),(!A||O[0]&256)&&V(M,"item-mobile",Y[8]),(!A||O[0]&256)&&V(e,"menu-desktop",!Y[8]),(!A||O[0]&256)&&V(e,"menu-mobile",Y[8])},i(Y){A||(m(n.$$.fragment,Y),m(le),m(Z),A=!0)},o(Y){v(n.$$.fragment,Y),v(le),v(Z),A=!1},d(Y){Y&&T(e),H(n),t[126](null),le&&le.d(),Z&&Z.d(),t[131](null),z=!1,nt(re)}}}function ya(t){let e,i,n;return i=new el({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function Ca(t){let e,i,n;return i=new el({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function Ta(t){let e,i,n,l,r,o,s,a,c,f;n=new to({props:{direction:"left"}});let d=Jt(t[10]),h=[];for(let g=0;g<d.length;g+=1)h[g]=Sa(ia(t,d,g));const _=g=>v(h[g],1,1,()=>{h[g]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=N(),s=E("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),V(i,"item-mobile",t[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),V(s,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),V(e,"menu-desktop",!t[8]),V(e,"menu-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(i,l),p(i,r),p(e,o),p(e,s);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(s,null);t[134](s),a=!0,c||(f=[he(i,"click",ot(t[69])),he(s,"keydown",t[88])],c=!0)},p(g,w){if((!a||w[0]&256)&&V(i,"item-mobile",g[8]),w[0]&1280|w[2]&134217792){d=Jt(g[10]);let b;for(b=0;b<d.length;b+=1){const C=ia(g,d,b);h[b]?(h[b].p(C,w),m(h[b],1)):(h[b]=Sa(C),h[b].c(),m(h[b],1),h[b].m(s,null))}for(fe(),b=d.length;b<h.length;b+=1)_(b);de()}(!a||w[0]&256)&&V(s,"items-mobile",g[8]),(!a||w[0]&256)&&V(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&V(e,"menu-mobile",g[8])},i(g){if(!a){m(n.$$.fragment,g);for(let w=0;w<d.length;w+=1)m(h[w]);a=!0}},o(g){v(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)v(h[w]);a=!1},d(g){g&&T(e),H(n),Bn(h,g),t[134](null),c=!1,nt(f)}}}function Pa(t){let e,i,n;return i=new el({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function Sa(t){let e,i,n,l=t[143].displayValue+"",r,o,s,a,c,f,d,h=t[143].selected&&Pa();function _(){return t[132](t[143])}function g(...w){return t[133](t[143],...w)}return{c(){e=E("li"),h&&h.c(),i=N(),n=E("div"),r=Fe(l),o=N(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[143].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[143].displayValue),V(e,"item-mobile",t[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[he(e,"click",ot(_)),he(e,"keydown",g)],f=!0)},p(w,b){t=w,t[143].selected?h?b[0]&1024&&m(h,1):(h=Pa(),h.c(),m(h,1),h.m(e,i)):h&&(fe(),v(h,1,1,()=>{h=null}),de()),(!c||b[0]&1024)&&l!==(l=t[143].displayValue+"")&&tt(r,l),(!c||b[0]&256)&&V(n,"quality-title-mobile",t[8]),(!c||b[0]&1024&&s!==(s=t[143].value))&&u(e,"data-value",s),(!c||b[0]&1024&&a!==(a=t[143].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&V(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&T(e),h&&h.d(),f=!1,nt(d)}}}function sh(t){let e,i,n,l,r,o,s=t[14]&&la(t),a=t[16]&&pa(t),c=t[17]&&ba(t),f=t[19]&&ka(t),d=t[18]&&Ta(t);return{c(){e=E("div"),s&&s.c(),i=N(),a&&a.c(),n=N(),c&&c.c(),l=N(),f&&f.c(),r=N(),d&&d.c(),u(e,"class","v-5r0p3"),V(e,"hidden",!t[14]),V(e,"container-mobile",t[8])},m(h,_){P(h,e,_),s&&s.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&m(s,1)):(s=la(h),s.c(),m(s,1),s.m(e,i)):s&&(fe(),v(s,1,1,()=>{s=null}),de()),h[16]?a?(a.p(h,_),_[0]&65536&&m(a,1)):(a=pa(h),a.c(),m(a,1),a.m(e,n)):a&&(fe(),v(a,1,1,()=>{a=null}),de()),h[17]?c?(c.p(h,_),_[0]&131072&&m(c,1)):(c=ba(h),c.c(),m(c,1),c.m(e,l)):c&&(fe(),v(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,_),_[0]&524288&&m(f,1)):(f=ka(h),f.c(),m(f,1),f.m(e,r)):f&&(fe(),v(f,1,1,()=>{f=null}),de()),h[18]?d?(d.p(h,_),_[0]&262144&&m(d,1)):(d=Ta(h),d.c(),m(d,1),d.m(e,null)):d&&(fe(),v(d,1,1,()=>{d=null}),de()),(!o||_[0]&16384)&&V(e,"hidden",!h[14]),(!o||_[0]&256)&&V(e,"container-mobile",h[8])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){v(s),v(a),v(c),v(f),v(d),o=!1},d(h){h&&T(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const wl=18;function ah(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,{ref:Y=void 0}=e,{supportLink:O}=e,{playerControlsHeight:X=0}=e,{returnFocus:L}=e;const B=Ct(),te=bn(),S=B.state.currentQuality$;D(t,S,ne=>i(104,w=ne));const ee=B.state.availableQualities$;D(t,ee,ne=>i(12,_=ne));const Pe=B.state.autoQualityLimitingAvailable$;D(t,Pe,ne=>i(108,y=ne));const ke=B.state.isAutoQualityEnabled$;D(t,ke,ne=>i(105,b=ne));const Ee=B.state.currentPlaybackRate$;D(t,Ee,ne=>i(13,g=ne));const Be=B.state.availablePlaybackRates$;D(t,Be,ne=>i(11,d=ne));const be=B.state.currentSubtitle$;D(t,be,ne=>i(38,le=ne));const ye=B.state.availableSubtitlesList$;D(t,ye,ne=>i(10,c=ne));const q=B.state.canDownload,$=B.state.hasMpegSources$;D(t,$,ne=>i(109,M=ne));const ue=B.ui.settingsMenuVisible;D(t,ue,ne=>i(14,re=ne));const se=B.ui.settingsMenuOpenedByKeyboard;D(t,se,ne=>i(136,l=ne));const je=B.ui.isMobile;D(t,je,ne=>i(8,r=ne));const Ne=B.ui.mobileNotReportControlHidden$;D(t,Ne,ne=>i(106,C=ne));const Le=B.state.canChangePlaybackSpeed$;D(t,Le,ne=>i(107,k=ne));const Ie=B.ui.isFullscreen;D(t,Ie,ne=>i(112,z=ne));const ae=B.state.trafficSavingEnabled$;D(t,ae,ne=>i(9,s=ne));const pe=B.ui.playerSize;D(t,pe,ne=>i(111,A=ne));const oe=B.ui.debugPanelVisible;D(t,oe,ne=>i(39,Z=ne));const Ae=B.ui.playerSize;D(t,Ae,ne=>i(110,Q=ne));const me=B.state.isInteractiveTime$,Te=B.actions.internal.downloadVideo,Ke=B.actions.internal.closeSettingsMenu;let Re=!0,Je=!1,xe=!1,at=!1,lt=!1,Tt=!1;function rt(){l||L==null||L(),Ke(),Tt=!1}function xt(){i(15,Re=!1),i(16,Je=!0)}function wt(){i(15,Re=!1),i(19,lt=!0)}function De(ne){B.actions.internal.setQuality(ne),rt()}function ce(ne){B.actions.internal.setTrafficSavingEnabled(ne),rt()}function gt(){i(15,Re=!1),i(17,xe=!0)}function st(ne){B.actions.internal.setPlaybackRate(ne),rt()}function Rt(){i(15,Re=!1),i(18,at=!0)}function dt(ne){B.actions.internal.setSubtitle(ne),rt()}function Pt(){i(15,Re=!0),i(16,Je=!1),i(17,xe=!1),i(18,at=!1),i(19,lt=!1)}function $e(){Te(),rt()}function We(){window.open(O,"_blank"),rt(),B.actions.internal.pause()}function kt(){gr(B.actions.internal.getDebugTextData()),rt()}function en(){oe.set(!0),rt()}function li(){Tt=!0}function Ii(){Tt=!1}function tn(ne,it,ti){if(!ne)return"...";const St=it.find(_n=>_n.value===ne),Mt=St?St.displayValue:ne;return ti?ne===Po.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:Mt}):Mt}let ri,$t,si,Ot,hi,Ai,ai,Li,vi,ui,Mi,Vi,Bi,Ri,gi,It,bi,Lt,ci=Me(!1);D(t,ci,ne=>i(103,h=ne));let ut,mt,jt=Me(!1);D(t,jt,ne=>i(102,f=ne));let Dt,_i,fi=Me(!1);D(t,fi,ne=>i(101,a=ne));let ei,di,Ni=Me(!1);D(t,Ni,ne=>i(100,o=ne));const At=ne=>{Wc(ne,Ke)},Gi=async ne=>{bl(ne,xt,()=>{const it=_.findIndex(ti=>ti.selected);return Lt.childNodes[it]})},Yi=async ne=>{_l(ne,Pt,ci,Ke)},Qi=(ne,it)=>{rn(ne,()=>De(it))},Oi=async ne=>{bl(ne,gt,()=>{const it=d.findIndex(ti=>ti.selected);return mt.childNodes[it]})},Kt=async ne=>{_l(ne,Pt,jt,Ke)},wi=(ne,it)=>{rn(ne,()=>st(it))},nn=async ne=>{bl(ne,Rt,()=>{const it=c.findIndex(ti=>ti.selected);return _i.childNodes[it]})},Di=async ne=>{_l(ne,Pt,fi,Ke)},zt=(ne,it)=>{rn(ne,()=>dt(it))},Ft=async ne=>{bl(ne,wt,()=>{const it=s?2:0;return di.childNodes[it]})},zi=async ne=>{_l(ne,Pt,Ni,Ke)},Fi=(ne,it)=>{rn(ne,()=>ce(it))},ki=ne=>{rn(ne,()=>$e())},Hi=ne=>{rn(ne,()=>We())},Ui=ne=>{rn(ne,()=>kt())},Wt=ne=>{rn(ne,()=>en())};pn(()=>{const ne=me.subscribe(it=>{it&&!r&&!Tt&&!l&&rt()});return()=>{ne()}});function Xi(ne){Ce[ne?"unshift":"push"](()=>{bi=ne,i(4,bi)})}function qi(ne){Ce[ne?"unshift":"push"](()=>{ut=ne,i(5,ut)})}function yi(ne){Ce[ne?"unshift":"push"](()=>{Dt=ne,i(6,Dt)})}function Ki(ne){Ce[ne?"unshift":"push"](()=>{ei=ne,i(7,ei)})}function Ci(ne){Ce[ne?"unshift":"push"](()=>{Y=ne,i(0,Y)})}function Gt(ne){Ce[ne?"unshift":"push"](()=>{$t=ne,i(1,$t)})}const Ti=ne=>De(ne.value),He=(ne,it)=>Qi(it,ne.value);function mi(ne){Ce[ne?"unshift":"push"](()=>{Lt=ne,i(33,Lt)})}function pi(ne){Ce[ne?"unshift":"push"](()=>{si=ne,i(2,si)})}const Ve=ne=>st(ne.value),sn=(ne,it)=>wi(it,ne.value);function an(ne){Ce[ne?"unshift":"push"](()=>{mt=ne,i(34,mt)})}function Ji(ne){Ce[ne?"unshift":"push"](()=>{Ot=ne,i(3,Ot)})}const un=()=>ce(!1),xi=ne=>Fi(ne,!1),Yt=()=>ce(!0),$i=ne=>Fi(ne,!0);function Pi(ne){Ce[ne?"unshift":"push"](()=>{di=ne,i(36,di)})}const ji=ne=>dt(ne),Nt=(ne,it)=>zt(it,ne);function Qt(ne){Ce[ne?"unshift":"push"](()=>{_i=ne,i(35,_i)})}return t.$$set=ne=>{"ref"in ne&&i(0,Y=ne.ref),"supportLink"in ne&&i(97,O=ne.supportLink),"playerControlsHeight"in ne&&i(98,X=ne.playerControlsHeight),"returnFocus"in ne&&i(99,L=ne.returnFocus)},t.$$.update=()=>{var ne,it,ti,St;if(t.$$.dirty[0]&16384&&re&&(i(15,Re=!0),i(16,Je=!1),i(17,xe=!1),i(18,at=!1),i(19,lt=!1)),t.$$.dirty[3]&2048&&i(37,n=Ro(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&6144&&i(20,ri=tn(w,_,b)),t.$$.dirty[0]&256|t.$$.dirty[3]&131104)if(r)i(21,hi="");else{const Mt=Q.height-wl-X;i(21,hi=`max-height: ${Mt}px; overflow: auto`)}if(t.$$.dirty[0]&258|t.$$.dirty[3]&917536)if(r&&z)i(22,Ai=`max-height: ${Math.round(A.height*.6)}px`);else if(r)i(22,Ai="");else{const Mt=Q.height-wl-((ne=$t==null?void 0:$t.clientHeight)!=null?ne:0)-X;i(22,Ai=`max-height: ${Mt}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&131104)if(r)i(23,ai="");else{const Mt=Q.height-wl-((it=si==null?void 0:si.clientHeight)!=null?it:0)-X;i(23,ai=`max-height: ${Mt}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&131104)if(r)i(24,Li="");else{const Mt=Q.height-wl-((ti=Ot==null?void 0:Ot.clientHeight)!=null?ti:0)-X;i(24,Li=`max-height: ${Mt}px; overflow: auto;`)}t.$$.dirty[3]&73728&&i(25,vi=q&&M&&!C),t.$$.dirty[3]&40960&&i(26,ui=te.features.trafficSaving&&!C&&y),t.$$.dirty[0]&1024|t.$$.dirty[3]&8192&&i(27,Mi=c.length>0&&!C),t.$$.dirty[3]&24576&&i(28,Vi=!!k&&!C),t.$$.dirty[3]&8192&&i(29,Bi=!C),t.$$.dirty[0]&512&&i(30,Ri=G(s?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&6144&&i(31,gi=b?G("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(32,It=(St=d.find(Mt=>Mt.value===g))==null?void 0:St.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&1024&&gl(bi,ci,h),t.$$.dirty[0]&32|t.$$.dirty[3]&512&&gl(ut,jt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&256&&gl(Dt,fi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&128&&gl(ei,Ni,o)},[Y,$t,si,Ot,bi,ut,Dt,ei,r,s,c,d,_,g,re,Re,Je,xe,at,lt,ri,hi,Ai,ai,Li,vi,ui,Mi,Vi,Bi,Ri,gi,It,Lt,mt,_i,di,n,le,Z,te,S,ee,Pe,ke,Ee,Be,be,ye,$,ue,se,je,Ne,Le,Ie,ae,pe,oe,Ae,rt,xt,wt,De,ce,gt,st,Rt,dt,Pt,$e,We,kt,en,li,Ii,ci,jt,fi,Ni,At,Gi,Yi,Qi,Oi,Kt,wi,nn,Di,zt,Ft,zi,Fi,ki,Hi,Ui,Wt,O,X,L,o,a,f,h,w,b,C,k,y,M,Q,A,z,Xi,qi,yi,Ki,Ci,Gt,Ti,He,mi,pi,Ve,sn,an,Ji,un,xi,Yt,$i,Pi,ji,Nt,Qt]}class tf extends we{constructor(e){super(),_e(this,e,ah,sh,ge,{ref:0,supportLink:97,playerControlsHeight:98,returnFocus:99},lh,[-1,-1,-1,-1,-1])}}function uh(t){Ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function ch(t){let e,i,n;return i=new $c({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=E("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),i.$set(o)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function fh(t){let e,i,n;function l(o){t[9](o)}let r={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[ch]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function dh(t,e,i){let n,l,r,{ref:o=void 0}=e;const s=Ct(),a=s.state.currentQuality$;D(t,a,w=>i(4,r=w));const c=s.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;D(t,d,w=>i(3,l=w));let h;function _(w){const b=Mr(w);f(b)}function g(w){o=w,i(0,o)}return t.$$set=w=>{"ref"in w&&i(0,o=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,_,g]}class Nr extends we{constructor(e){super(),_e(this,e,dh,fh,ge,{ref:0},uh)}}function mh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class ph extends we{constructor(e){super(),_e(this,e,null,mh,ge,{})}}function hh(t){let e,i;return e=new ef({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vh(t){let e,i;return e=new ph({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gh(t){let e,i,n,l;const r=[vh,hh],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i||(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function bh(t){let e,i;return e=new Ei({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Go[Se.KeyC],$$slots:{default:[gh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _h(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return t.$$set=o=>{"isSubtitlesEnabled"in o&&i(0,n=o.isSubtitlesEnabled),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class wh extends we{constructor(e){super(),_e(this,e,_h,bh,ge,{isSubtitlesEnabled:0,click:1})}}function kh(t){Ze(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Ea(t){let e,i;return{c(){e=E("span"),i=Fe(t[3]),u(e,"class","duration v-19o2urr")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&8&&tt(i,n[3])},d(n){n&&T(e)}}}function yh(t){let e,i,n,l,r=t[2]&&Ea(t);return{c(){e=E("div"),i=E("span"),n=Fe(t[4]),l=N(),r&&r.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),V(e,"mobile",t[1])},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),r&&r.m(e,null),t[7](e)},p(o,[s]){s&16&&tt(n,o[4]),o[2]?r?r.p(o,s):(r=Ea(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&V(e,"mobile",o[1])},i:K,o:K,d(o){o&&T(e),r&&r.d(),t[7](null)}}}function Ch(t,e,i){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){Ce[d?"unshift":"push"](()=>{s=d,i(0,s)})}return t.$$set=d=>{"isMobile"in d&&i(1,n=d.isMobile),"duration"in d&&i(5,l=d.duration),"position"in d&&i(6,r=d.position),"showDuration"in d&&i(2,o=d.showDuration),"ref"in d&&i(0,s=d.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=jn(l)),t.$$.dirty&64&&i(4,c=jn(r))},[s,n,o,a,c,l,r,f]}class nf extends we{constructor(e){super(),_e(this,e,Ch,yh,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},kh)}}function Th(t){Ze(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Ph(t){let e,i,n,l,r,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",o="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(i,l),p(i,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&T(e)}}}function Sh(t,e,i){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return t.$$set=s=>{"volume"in s&&i(1,n=s.volume),"muted"in s&&i(2,l=s.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,o=r(n,l))},[o,n,l]}class Bl extends we{constructor(e){super(),_e(this,e,Sh,Ph,ge,{volume:1,muted:2},Th)}}function Eh(t){let e,i;const n=t[4].default,l=Wn(n,t,t[3],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){P(r,e,o),l&&l.m(e,null),t[5](e),i=!0},p(r,[o]){l&&l.p&&(!i||o&8)&&Kn(l,n,r,r[3],i?Zn(n,r[3],o,null):Gn(r[3]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&T(e),l&&l.d(r),t[5](null)}}}function Ih(t,e,i){let n,{$$slots:l={},$$scope:r}=e;const s=Ct().ui.overlayContainer$;D(t,s,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};pn(()=>(f(n),()=>c(n)));function d(h){Ce[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,r=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class Ah extends we{constructor(e){super(),_e(this,e,Ih,Eh,ge,{})}}function Lh(t){Ze(t,"v-tny135",'.tooltip-wrapper.v-tny135{display:flex;flex-direction:column;min-width:0}.full-width.v-tny135{width:100%}.tooltip.v-tny135{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-tny135{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-tny135{opacity:1;visibility:visible}.tooltip-pointer.v-tny135{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.bottom-placement-pointer.v-tny135{top:0;bottom:auto}')}function Ia(t){let e,i;return e=new Ah({props:{$$slots:{default:[Mh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1048819&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mh(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("div"),n=Fe(t[1]),l=N(),r=E("div"),u(i,"class","content v-tny135"),u(r,"class","tooltip-pointer v-tny135"),u(r,"style",o=`transform: translate(${t[5]}px, ${t[9]}px) rotate(${t[8]?0:"180deg"});`),V(r,"bottom-placement-pointer",!t[8]),u(e,"class","tooltip v-tny135"),u(e,"style",s=`transform: translate(${t[6]}px, ${t[7]}px);`),V(e,"active",t[0])},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),t[19](e)},p(a,c){c&2&&tt(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[9]}px) rotate(${a[8]?0:"180deg"});`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&V(e,"active",a[0])},d(a){a&&T(e),t[19](null)}}}function Vh(t){let e,i,n,l,r,o;const s=t[17].default,a=Wn(s,t,t[20],null);let c=t[1]&&Ia(t);return{c(){e=E("div"),a&&a.c(),i=N(),c&&c.c(),n=pt(),u(e,"class","tooltip-wrapper v-tny135"),V(e,"full-width",t[2])},m(f,d){P(f,e,d),a&&a.m(e,null),t[18](e),P(f,i,d),c&&c.m(f,d),P(f,n,d),l=!0,r||(o=[he(e,"mouseenter",t[12]),he(e,"mousemove",t[12]),he(e,"mouseleave",t[13]),he(e,"mousedown",t[13]),he(e,"mouseup",t[12])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&1048576)&&Kn(a,s,f,f[20],l?Zn(s,f[20],d,null):Gn(f[20]),null),(!l||d&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=Ia(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(fe(),v(c,1,1,()=>{c=null}),de())},i(f){l||(m(a,f),m(c),l=!0)},o(f){v(a,f),v(c),l=!1},d(f){f&&(T(e),T(i),T(n)),a&&a.d(f),t[18](null),c&&c.d(f),r=!1,nt(o)}}}const Fo=5;function Bh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,{placement:h="top"}=e;const _=h==="top";let g,w,b,C=0,k=_?Fo:-Fo,y=0,M=0;const Q=bn(),A=Ct(),z=A.ui.playerSize;D(t,z,S=>i(23,l=S));const re=A.ui.overlayContainer$;D(t,re,S=>i(22,n=S));const le=A.getLogger().createComponentLog("Tooltip component"),Z=()=>{if(!n)return;const S=n.getBoundingClientRect(),ee=g.getBoundingClientRect(),Pe=ee.width,ke=w.clientWidth,Ee=l.width,Be=(Pe-ke)/2,be=ee.left+c-S.left;let ye=be+Be;const q=ee.top+f-S.top;let $=ke/2-Fo;const ue=ye<cl,se=ye+ke>Ee-cl;ue&&(ye=cl,$=be+ee.width/2-2.5*Fo),se&&(ye=Ee-cl-ke,$=ee.left-S.left+ee.width/2-ye-Fo),i(6,y=ye),i(7,M=q),i(5,C=$)},Y=()=>{try{if(!n||!g)return;Z(),i(0,a=!0)}catch(S){le({message:String(S)})}},O=()=>{i(0,a=!1)},X=()=>{w&&(b||(b=window.setTimeout(Y,Q.controls.hideTimeoutTooltips)),a&&Y())},L=()=>{O(),window.clearTimeout(b),b=void 0};pn(Z),Zo(()=>window.clearTimeout(b));function B(S){Ce[S?"unshift":"push"](()=>{g=S,i(3,g)})}function te(S){Ce[S?"unshift":"push"](()=>{w=S,i(4,w)})}return t.$$set=S=>{"content"in S&&i(1,s=S.content),"active"in S&&i(0,a=S.active),"translateX"in S&&i(14,c=S.translateX),"translateY"in S&&i(15,f=S.translateY),"isFullWidthWrapper"in S&&i(2,d=S.isFullWidthWrapper),"placement"in S&&i(16,h=S.placement),"$$scope"in S&&i(20,o=S.$$scope)},[a,s,d,g,w,C,y,M,_,k,z,re,X,L,c,f,h,r,B,te,o]}class of extends we{constructor(e){super(),_e(this,e,Bh,Vh,ge,{content:1,active:0,translateX:14,translateY:15,isFullWidthWrapper:2,placement:16},Lh)}}function Rh(t){Ze(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function Nh(t){let e;const i=t[18].default,n=Wn(i,t,t[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&Kn(n,i,l,l[23],e?Zn(i,l[23],r,null):Gn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function Oh(t){let e,i;return e=new of({props:{content:t[11],translateX:t[9],translateY:t[10],isFullWidthWrapper:t[4],active:t[6],placement:t[7],$$slots:{default:[Dh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2048&&(r.content=n[11]),l&512&&(r.translateX=n[9]),l&1024&&(r.translateY=n[10]),l&16&&(r.isFullWidthWrapper=n[4]),l&64&&(r.active=n[6]),l&128&&(r.placement=n[7]),l&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dh(t){let e;const i=t[18].default,n=Wn(i,t,t[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&Kn(n,i,l,l[23],e?Zn(i,l[23],r,null):Gn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function zh(t){let e,i,n,l,r,o,s,a,c;const f=[Oh,Nh],d=[];function h(_,g){return _[3]&&_[5]&&!_[12]?0:1}return i=h(t),n=d[i]=f[i](t),{c(){e=E("div"),n.c(),u(e,"class",l="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",r=t[8]||null),Mo(()=>t[22].call(e))},m(_,g){P(_,e,g),d[i].m(e,null),t[21](e),o=kr(e,t[22].bind(e)),s=!0,a||(c=[he(e,"pointerdown",ot(oi(t[19]))),he(e,"click",ot(oi(t[20])))],a=!0)},p(_,[g]){let w=i;i=h(_),i===w?d[i].p(_,g):(fe(),v(d[w],1,1,()=>{d[w]=null}),de(),n=d[i],n?n.p(_,g):(n=d[i]=f[i](_),n.c()),m(n,1),n.m(e,null)),(!s||g&4&&l!==(l="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",l),(!s||g&256&&r!==(r=_[8]||null))&&u(e,"aria-hidden",r)},i(_){s||(m(n),s=!0)},o(_){v(n),s=!1},d(_){_&&T(e),d[i].d(),t[21](null),o(),a=!1,nt(c)}}}function Fh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{tooltipActive:g=!1}=e,{tooltipPlacement:w="top"}=e,{disabledTooltipContent:b=G("tooltip_button_disabled")}=e,{isAriaHidden:C=!1}=e,{initialTranslateXPx:k=0}=e,{initialTranslateYPx:y=-18}=e;const M=Ct(),Q=M.ui.isMobile;D(t,Q,O=>i(12,l=O));const A=M.state.graphIsOpened$;D(t,A,O=>i(17,n=O));let z;function re(O){uo.call(this,t,O)}function le(O){uo.call(this,t,O)}function Z(O){Ce[O?"unshift":"push"](()=>{f=O,i(0,f)})}function Y(){d=this.clientWidth,i(1,d)}return t.$$set=O=>{"className"in O&&i(2,s=O.className),"disabled"in O&&i(15,a=O.disabled),"hasTooltip"in O&&i(3,c=O.hasTooltip),"ref"in O&&i(0,f=O.ref),"width"in O&&i(1,d=O.width),"isFullWidthTooltip"in O&&i(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&i(5,_=O.tooltipContent),"tooltipActive"in O&&i(6,g=O.tooltipActive),"tooltipPlacement"in O&&i(7,w=O.tooltipPlacement),"disabledTooltipContent"in O&&i(16,b=O.disabledTooltipContent),"isAriaHidden"in O&&i(8,C=O.isAriaHidden),"initialTranslateXPx"in O&&i(9,k=O.initialTranslateXPx),"initialTranslateYPx"in O&&i(10,y=O.initialTranslateYPx),"$$scope"in O&&i(23,o=O.$$scope)},t.$$.update=()=>{t.$$.dirty&229408&&(a?i(11,z=n?G("tooltip_disabled_when_graph_on"):b):i(11,z=_))},[f,d,s,c,h,_,g,w,C,k,y,z,l,Q,A,a,b,n,r,re,le,Z,Y,o]}class qt extends we{constructor(e){super(),_e(this,e,Fh,zh,ge,{className:2,disabled:15,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,tooltipActive:6,tooltipPlacement:7,disabledTooltipContent:16,isAriaHidden:8,initialTranslateXPx:9,initialTranslateYPx:10},Rh)}}function Hh(t){let e,i,n,l,r;return{c(){e=R("svg"),i=R("rect"),l=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){P(o,e,s),p(e,i),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(i,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&T(e)}}}function Uh(t,e,i){let{completed:n}=e;return t.$$set=l=>{"completed"in l&&i(0,n=l.completed)},[n]}class lf extends we{constructor(e){super(),_e(this,e,Uh,Hh,ge,{completed:0})}}function qh(t){Ze(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function jh(t){let e,i,n,l,r;return i=new lf({props:{completed:!!t[0].completed}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),Mo(()=>t[3].call(e)),V(e,"disabled",t[1])},m(o,s){P(o,e,s),F(i,e,null),l=kr(e,t[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),i.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&V(e,"disabled",o[1])},i(o){r||(m(i.$$.fragment,o),r=!0)},o(o){v(i.$$.fragment,o),r=!1},d(o){o&&T(e),H(i),l()}}}function Wh(t){let e,i;return e=new qt({props:{tooltipContent:G(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[jh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zh(t,e,i){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,i(2,r)}return t.$$set=s=>{"videoEpisode"in s&&i(0,n=s.videoEpisode),"disabled"in s&&i(1,l=s.disabled)},[n,l,r,o]}class Kh extends we{constructor(e){super(),_e(this,e,Zh,Wh,ge,{videoEpisode:0,disabled:1},qh)}}function Gh(t){Ze(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Aa(t,e,i){const n=t.slice();return n[2]=e[i],n}function La(t){let e,i,n,l,r,o,s,a,c;return{c(){e=E("div"),i=E("div"),n=E("div"),r=N(),o=E("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),V(o,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),V(e,"mobile",t[1])},m(f,d){P(f,e,d),p(e,i),p(i,n),p(i,r),p(i,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&V(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&V(e,"mobile",f[1])},d(f){f&&T(e)}}}function Yh(t){let e,i=Jt(t[0]),n=[];for(let l=0;l<i.length;l+=1)n[l]=La(Aa(t,i,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){i=Jt(l[0]);let o;for(o=0;o<i.length;o+=1){const s=Aa(l,i,o);n[o]?n[o].p(s,r):(n[o]=La(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},i:K,o:K,d(l){l&&T(e),Bn(n,l)}}}function Qh(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return t.$$set=r=>{"videoEpisodes"in r&&i(0,n=r.videoEpisodes),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Xh extends we{constructor(e){super(),_e(this,e,Qh,Yh,ge,{videoEpisodes:0,isMobile:1},Gh)}}function Jh(t){Ze(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Ma(t,e,i){const n=t.slice();return n[48]=e[i],n}function Va(t){let e,i,n=Jt(t[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=Ra(Ma(t,n,o));const r=o=>v(l[o],1,1,()=>{l[o]=null});return{c(){e=E("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",t[5]),V(e,"hidden",t[5]&&!t[20])},m(o,s){P(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);i=!0},p(o,s){if(s[0]&2097664){n=Jt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=Ma(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=Ra(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(fe(),a=n.length;a<l.length;a+=1)r(a);de()}(!i||s[0]&32)&&V(e,"mobile",o[5]),(!i||s[0]&1048608)&&V(e,"hidden",o[5]&&!o[20])},i(o){if(!i){for(let s=0;s<n.length;s+=1)m(l[s]);i=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)v(l[s]);i=!1},d(o){o&&T(e),Bn(l,o)}}}function Ba(t){let e,i;return e=new Kh({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ra(t){let e,i,n=t[48].interactive&&Ba(t);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=Ba(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),v(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&T(e),n&&n.d(l)}}}function xh(t){let e,i,n,l,r,o;return{c(){e=E("div"),i=E("div"),l=N(),r=E("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${t[12]*100}%);`),V(r,"active-live",t[4]),V(r,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(s,a){P(s,e,a),p(e,i),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&V(r,"active-live",s[4]),a[0]&64&&V(r,"ads",s[6])},i:K,o:K,d(s){s&&T(e)}}}function $h(t){let e,i;return e=new Xh({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ev(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g=t[8]&&Va(t);const w=[$h,xh],b=[];function C(k,y){return k[21].length?0:1}return n=C(t),l=b[n]=w[n](t),{c(){var k;g&&g.c(),e=N(),i=E("div"),l.c(),r=N(),o=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",t[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${t[13]*100}%);`),V(o,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=(k=t[1])!=null?k:null),V(i,"disabled",t[9]),V(i,"slider-dragging",t[20]),V(i,"hidden",t[2]),V(i,"slider-vertical",t[3]),V(i,"no-handle",t[10]),V(i,"square",t[7])},m(k,y){g&&g.m(k,y),P(k,e,y),P(k,i,y),b[n].m(i,null),p(i,r),p(i,o),p(o,s),t[42](i),d=!0,h||(_=[he(i,"pointerdown",oi(t[22])),he(i,"pointermove",oi(t[23])),he(i,"pointerup",oi(t[24])),he(i,"pointerenter",oi(t[25])),he(i,"pointerleave",oi(t[26])),he(i,"click",ot(Ye)),he(i,"wheel",t[27])],h=!0)},p(k,y){var Q;k[8]?g?(g.p(k,y),y[0]&256&&m(g,1)):(g=Va(k),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(fe(),v(g,1,1,()=>{g=null}),de());let M=n;n=C(k),n===M?b[n].p(k,y):(fe(),v(b[M],1,1,()=>{b[M]=null}),de(),l=b[n],l?l.p(k,y):(l=b[n]=w[n](k),l.c()),m(l,1),l.m(i,r)),(!d||y[0]&16)&&V(s,"active-live",k[4]),(!d||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(o,"style",a),(!d||y[0]&1024)&&V(o,"hidden",k[10]),(!d||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!d||y[0]&16384)&&u(i,"aria-label",k[14]),(!d||y[0]&32768)&&u(i,"aria-valuemin",k[15]),(!d||y[0]&65536)&&u(i,"aria-valuemax",k[16]),(!d||y[0]&131072)&&u(i,"aria-valuenow",k[17]),(!d||y[0]&262144)&&u(i,"aria-valuetext",k[18]),(!d||y[0]&2&&f!==(f=(Q=k[1])!=null?Q:null))&&u(i,"data-testid",f),(!d||y[0]&513)&&V(i,"disabled",k[9]),(!d||y[0]&1048577)&&V(i,"slider-dragging",k[20]),(!d||y[0]&5)&&V(i,"hidden",k[2]),(!d||y[0]&9)&&V(i,"slider-vertical",k[3]),(!d||y[0]&1025)&&V(i,"no-handle",k[10]),(!d||y[0]&129)&&V(i,"square",k[7])},i(k){d||(m(g),m(l),d=!0)},o(k){v(g),v(l),d=!1},d(k){k&&(T(e),T(i)),g&&g.d(k),b[n].d(),t[42](null),h=!1,nt(_)}}}function tv(t,e,i){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:b=!1}=e,{hideHandel:C=!1}=e,k,y,{onPointerDown:M=Ye}=e,{onHandleMove:Q=Ye}=e,{onPointerUp:A=Ye}=e,{onPointerEnter:z=Ye}=e,{onPointerMove:re=Ye}=e,{onPointerLeave:le=Ye}=e,{onWheelUp:Z=Ye}=e,{onWheelDown:Y=Ye}=e,{onWheelLeft:O=Ye}=e,{onWheelRight:X=Ye}=e,{loadedProgress:L=0}=e,{filledProgress:B=0}=e,{handleProgress:te=0}=e,{ariaLabel:S=""}=e,{ariaValueMin:ee=void 0}=e,{ariaValueMax:Pe=void 0}=e,{ariaValueNow:ke=void 0}=e,{ariaValueText:Ee=""}=e;const Be=bn();let be=!1,ye;function q(oe){if(be)return;i(20,be=!0),y=k.getBoundingClientRect();const Ae=Le(oe.clientX,oe.clientY);M(Ae),k.setPointerCapture(oe.pointerId)}function $(oe){const Ae=Le(oe.clientX,oe.clientY),me=Ie(oe.clientX);re(Ae,me,y.width),be&&Q(Ae)}function ue(oe){if(!be)return;i(20,be=!1);const Ae=Le(oe.clientX,oe.clientY);A(Ae)}function se(oe){y=k.getBoundingClientRect();const Ae=Le(oe.clientX,oe.clientY),me=Ie(oe.clientX);z(Ae,me,y.width)}function je(){le()}function Ne(oe){g&&(oe.preventDefault(),oe.deltaY<0?Z():oe.deltaY>0?Y():oe.deltaX>0?X():O())}function Le(oe,Ae){return a?Math.max(0,Math.min(1,(y.height-(Ae-y.top))/y.height)):Math.min(Math.max(oe-y.x,0),y.width)/y.width}function Ie(oe){return Math.min(Math.max(oe-y.x,0),y.width)}function ae(oe,Ae){const me=Be.features.episodesClustering&&!w?Be.episodeMinWidthPc:0,Te=[];let Ke=0,Re=0,Je=0;for(let lt=1;lt<_.length;lt++)Re=_[lt].time/ye*100,Re-Ke>me&&(Te.push({from:Ke,width:Math.max(0,Re-Ke),loadedWidth:Math.max(0,Math.min(Re,oe)-Ke),filledWidth:Math.max(0,Math.min(Re,Ae)-Ke),interactive:_[lt-1].interactive,completed:_[lt-1].completed}),Ke=_[lt].time/ye*100,Je++);const xe={from:Ke,width:Math.max(0,100-Ke),loadedWidth:Math.max(0,Math.min(oe,100)-Ke),filledWidth:Math.max(0,Math.min(Ae,100)-Ke),interactive:_[Je].interactive,completed:_[Je].completed};100-Ke<me?(Je-=1,Te[Je].width+=100-Ke,Te[Je].loadedWidth+=Math.max(0,Math.min(oe,100)-Ke),Te[Je].filledWidth+=Math.max(0,Math.min(Ae,100)-Ke)):Te[Je]=xe;const at=_[0].time;if(at!==0){const lt=at/ye*100;Te.unshift({from:0,width:lt,loadedWidth:Math.min(lt,oe),filledWidth:Math.min(lt,Ae)})}return Te}function pe(oe){Ce[oe?"unshift":"push"](()=>{k=oe,i(19,k)})}return t.$$set=oe=>{"className"in oe&&i(0,r=oe.className),"testId"in oe&&i(1,o=oe.testId),"isHidden"in oe&&i(2,s=oe.isHidden),"isVertical"in oe&&i(3,a=oe.isVertical),"isActiveLive"in oe&&i(4,c=oe.isActiveLive),"isMobile"in oe&&i(5,f=oe.isMobile),"isAds"in oe&&i(6,d=oe.isAds),"squareBorders"in oe&&i(7,h=oe.squareBorders),"videoEpisodes"in oe&&i(28,_=oe.videoEpisodes),"withWheelHandler"in oe&&i(29,g=oe.withWheelHandler),"isInteractive"in oe&&i(8,w=oe.isInteractive),"disabled"in oe&&i(9,b=oe.disabled),"hideHandel"in oe&&i(10,C=oe.hideHandel),"onPointerDown"in oe&&i(30,M=oe.onPointerDown),"onHandleMove"in oe&&i(31,Q=oe.onHandleMove),"onPointerUp"in oe&&i(32,A=oe.onPointerUp),"onPointerEnter"in oe&&i(33,z=oe.onPointerEnter),"onPointerMove"in oe&&i(34,re=oe.onPointerMove),"onPointerLeave"in oe&&i(35,le=oe.onPointerLeave),"onWheelUp"in oe&&i(36,Z=oe.onWheelUp),"onWheelDown"in oe&&i(37,Y=oe.onWheelDown),"onWheelLeft"in oe&&i(38,O=oe.onWheelLeft),"onWheelRight"in oe&&i(39,X=oe.onWheelRight),"loadedProgress"in oe&&i(11,L=oe.loadedProgress),"filledProgress"in oe&&i(12,B=oe.filledProgress),"handleProgress"in oe&&i(13,te=oe.handleProgress),"ariaLabel"in oe&&i(14,S=oe.ariaLabel),"ariaValueMin"in oe&&i(15,ee=oe.ariaValueMin),"ariaValueMax"in oe&&i(16,Pe=oe.ariaValueMax),"ariaValueNow"in oe&&i(17,ke=oe.ariaValueNow),"ariaValueText"in oe&&i(18,Ee=oe.ariaValueText)},t.$$.update=()=>{var oe;t.$$.dirty[0]&65536&&i(40,ye=Pe!=null?Pe:0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=((oe=_[_.length-1])==null?void 0:oe.time)<ye),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,l=_.length&&n&&ye?ae(L*100,B*100):[])},[r,o,s,a,c,f,d,h,w,b,C,L,B,te,S,ee,Pe,ke,Ee,k,be,l,q,$,ue,se,je,Ne,_,g,M,Q,A,z,re,le,Z,Y,O,X,ye,n,pe]}class Or extends we{constructor(e){super(),_e(this,e,tv,ev,ge,{className:0,testId:1,isHidden:2,isVertical:3,isActiveLive:4,isMobile:5,isAds:6,squareBorders:7,videoEpisodes:28,withWheelHandler:29,isInteractive:8,disabled:9,hideHandel:10,onPointerDown:30,onHandleMove:31,onPointerUp:32,onPointerEnter:33,onPointerMove:34,onPointerLeave:35,onWheelUp:36,onWheelDown:37,onWheelLeft:38,onWheelRight:39,loadedProgress:11,filledProgress:12,handleProgress:13,ariaLabel:14,ariaValueMin:15,ariaValueMax:16,ariaValueNow:17,ariaValueText:18},Jh,[-1,-1])}}const In=(t,e)=>Bo[t]>=Bo[e],iv=(t,e)=>Bo[t]<Bo[e],rf=(t,e)=>Bo[t]<=Bo[e],nv=t=>t>Eo.L?Bt.XL:t>Eo.M?Bt.L:t>Eo.S?Bt.M:t>Eo.XS?Bt.S:Bt.XS;function ov(t){Ze(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function lv(t){let e,i;return e=new Bl({props:{volume:t[3],muted:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function rv(t){let e,i;return e=new Ei({props:{className:"btn-full-opacity",disabled:t[9],testId:t[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[0],ariaKeyShortCut:Go[Se.KeyM],$$slots:{default:[lv]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Na(t){let e,i,n;return i=new Or({props:{className:t[2]?"volumeBar-slider-vertical":"",isHidden:t[2]&&!t[5],isVertical:t[2],withWheelHandler:!0,onWheelUp:t[15],onWheelDown:t[16],onPointerDown:t[14],onHandleMove:t[17],onPointerUp:t[18],onPointerEnter:t[2]?t[19]:Ye,onPointerLeave:t[2]?t[20]:Ye,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",t[2])},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:Ye),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:Ye),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),i.$set(o),(!n||r[0]&4)&&V(e,"volumeBar-vertical",l[2])},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function sv(t){let e,i,n,l,r,o;i=new of({props:{content:t[6],translateY:-18,$$slots:{default:[rv]},$$scope:{ctx:t}}});let s=t[4]&&Na(t);return{c(){e=E("div"),U(i.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",t[2])},m(a,c){P(a,e,c),F(i,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[he(e,"mouseenter",function(){Mn(t[2]?t[21]:Ye)&&(t[2]?t[21]:Ye).apply(this,arguments)}),he(e,"mouseleave",function(){Mn(t[2]?t[22]:Ye)&&(t[2]?t[22]:Ye).apply(this,arguments)}),he(e,"wheel",oi(t[23]))],r=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[4]?s?(s.p(t,c),c[0]&16&&m(s,1)):(s=Na(t),s.c(),m(s,1),s.m(e,null)):s&&(fe(),v(s,1,1,()=>{s=null}),de()),(!l||c[0]&4)&&V(e,"vertical",t[2])},i(a){l||(m(i.$$.fragment,a),m(s),l=!0)},o(a){v(i.$$.fragment,a),v(s),l=!1},d(a){a&&T(e),H(i),s&&s.d(),r=!1,nt(o)}}}function av(t,e,i){var be,ye;let n,l,r,o,{click:s}=e;const a=Ct(),c=bn(),f=a.state.volume$;D(t,f,q=>i(3,n=q));const d=a.state.muted$;D(t,d,q=>i(25,o=q));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(t,_,q=>i(24,r=q));const g=(be=a.callbacks)==null?void 0:be.onAudioDoesNotExistHint,w=(ye=a.callbacks)==null?void 0:ye.onAudioDisabledHint,b=a.state.isAudioAvailable$;D(t,b,q=>i(4,l=q));const C=a.state.isAudioDisabled;let k=!1,y,M,Q,A,z,re,le=1,Z=!1,Y=!1;function O(q){le=n,h(q)}function X(){Yc(a,n,c.controls.volumeStepWheel)}function L(){Qc(a,n,c.controls.volumeStepWheel)}function B(q){h(q)}function te(q){const $=q;h($,$===0?le:$)}function S(){Z=!0}function ee(){Z=!1,Ee()}function Pe(){clearTimeout(y),i(5,k=!0)}function ke(){Ee()}function Ee(){y=window.setTimeout(()=>{Z||i(5,k=!1)},c.controls.volumeBarTimeout)}function Be(q){q.deltaY<0?X():q.deltaY>0&&L()}return t.$$set=q=>{"click"in q&&i(0,s=q.click)},t.$$.update=()=>{t.$$.dirty[0]&33554448&&i(1,A=!l||o),t.$$.dirty[0]&16777216&&i(2,z=rf(r,Bt.S)),t.$$.dirty[0]&6&&(z?i(6,M=""):i(6,M=G(A?"tooltip_volume":"tooltip_volume_muted")),i(7,Q=G(A?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&10&&i(8,re=A?0:n),t.$$.dirty[0]&16&&i(9,Y=C&&!w||!l&&!g)},[s,A,z,n,l,k,M,Q,re,Y,f,d,_,b,O,X,L,B,te,S,ee,Pe,ke,Be,r,o]}class uv extends we{constructor(e){super(),_e(this,e,av,sv,ge,{click:0},ov,[-1,-1])}}function cv(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){P(i,e,n)},d(i){i&&T(e)}}}function fv(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){P(i,e,n)},d(i){i&&T(e)}}}function dv(t){let e,i,n;function l(s,a){return s[0]?fv:cv}let r=l(t),o=r(t);return{c(){e=R("svg"),i=R("g"),o.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){P(s,e,a),p(e,i),o.m(i,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(i,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&T(e),o.d()}}}function mv(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen)},[n]}class pv extends we{constructor(e){super(),_e(this,e,mv,dv,ge,{isFullscreen:0})}}function hv(t){let e,i;return e=new pv({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vv(t){let e,i;return e=new Ei({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Go[Se.KeyF],$$slots:{default:[hv]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gv(t,e,i){let{isFullscreen:n=!1}=e,{click:l=Ye}=e,r;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class sf extends we{constructor(e){super(),_e(this,e,gv,vv,ge,{isFullscreen:0,click:1})}}function bv(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Dr extends we{constructor(e){super(),_e(this,e,null,bv,ge,{})}}function _v(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class af extends we{constructor(e){super(),_e(this,e,null,_v,ge,{})}}function wv(t){Ze(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Oa(t){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&T(e)}}}function kv(t){let e,i,n,l,r=t[1]&&Oa();var o=t[8];function s(a){return{}}return o&&(n=Fn(o,s())),{c(){r&&r.c(),e=N(),i=E("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),V(i,"mobile",t[1])},m(a,c){r&&r.m(a,c),P(a,e,c),P(a,i,c),n&&F(n,i,null),l=!0},p(a,c){if(a[1]?r||(r=Oa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){fe();const f=n;v(f.$$.fragment,1,0,()=>{H(f,1)}),de()}o?(n=Fn(o,s()),U(n.$$.fragment),m(n.$$.fragment,1),F(n,i,null)):n=null}(!l||c&2)&&V(i,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&v(n.$$.fragment,a),l=!1},d(a){a&&(T(e),T(i)),r&&r.d(a),n&&H(n)}}}function yv(t){let e,i,n;function l(o){t[13](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Go[Se.KeyK],$$slots:{default:[kv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Cv(t,e,i){let n,l;const{fakeIsPlaying$:r}=Yo();D(t,r,k=>i(12,l=k));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=Ye}=e;const{toggle:h}=r;let _,g,w,b;function C(k){o=k,i(0,o)}return t.$$set=k=>{"ref"in k&&i(0,o=k.ref),"isMobile"in k&&i(1,s=k.isMobile),"isPlaying"in k&&i(10,a=k.isPlaying),"disabled"in k&&i(2,c=k.disabled),"className"in k&&i(3,f=k.className),"click"in k&&i(4,d=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,g=l!==null),t.$$.dirty&5152&&i(11,w=g?l:a),t.$$.dirty&2048&&i(7,b=G(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?af:Dr)},i(6,_=h),[o,s,c,f,d,g,_,b,n,r,a,w,l,C]}class zr extends we{constructor(e){super(),_e(this,e,Cv,yv,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},wv)}}function Tv(t){Ze(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Pv(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),V(e,"prev",t[0]),V(e,"mobile",t[1])},m(l,r){P(l,e,r),p(e,i)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&V(e,"prev",l[0]),r&2&&V(e,"mobile",l[1])},i:K,o:K,d(l){l&&T(e)}}}function Sv(t,e,i){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return t.$$set=r=>{"isPrev"in r&&i(0,n=r.isPrev),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Ev extends we{constructor(e){super(),_e(this,e,Sv,Pv,ge,{isPrev:0,isMobile:1},Tv)}}function Iv(t){let e,i;return e=new Ev({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Av(t){let e,i,n;function l(o){t[6](o)}let r={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[Iv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Lv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,l=f.isMobile),"disabled"in f&&i(2,r=f.disabled),"type"in f&&i(3,o=f.type),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=G(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class Rl extends we{constructor(e){super(),_e(this,e,Lv,Av,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Mv(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Vv extends we{constructor(e){super(),_e(this,e,null,Mv,ge,{})}}function Bv(t){Ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Da(t){let e,i,n,l,r,o,s;return{c(){e=R("path"),i=R("path"),n=R("path"),l=R("path"),r=R("path"),o=R("path"),s=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){P(a,e,c),P(a,i,c),P(a,n,c),P(a,l,c),P(a,r,c),P(a,o,c),P(a,s,c)},d(a){a&&(T(e),T(i),T(n),T(l),T(r),T(o),T(s))}}}function Rv(t){let e,i,n,l=!t[0]&&Da();return{c(){e=R("svg"),i=R("path"),l&&l.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),V(e,"mobile",t[1])},m(r,o){P(r,e,o),p(e,i),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Da(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&V(e,"mobile",r[1])},i:K,o:K,d(r){r&&T(e),l&&l.d()}}}function Nv(t,e,i){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return t.$$set=s=>{"short"in s&&i(0,n=s.short),"isMobile"in s&&i(1,l=s.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,r=n?20:93),i(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class Ov extends we{constructor(e){super(),_e(this,e,Nv,Rv,ge,{short:0,isMobile:1},Bv)}}function Dv(t){let e,i;return e=new Vv({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zv(t){let e,i;return e=new Ov({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fv(t){let e,i,n,l;const r=[zv,Dv],o=[];function s(a,c){return a[2]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Hv(t){let e,i,n;function l(o){t[13](o)}let r={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[Fv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Uv(t,e,i){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=bn(),{logoLink:d,addTimeToLogoLink:h}=f,_=Ct(),g=_.state.positionWithScrubbing$;D(t,g,A=>i(14,n=A));const w=_.ui.currentGridType$;D(t,w,A=>i(11,l=A));const b=_.ui.isMobile;D(t,b,A=>i(12,r=A));let C,k,y;const M=()=>{let A;if(k||!a)A=d;else{const z=Math.round(n);if(h&&z){const re=new URL(a);re.searchParams.append("t",C0(z)),A=re.toString()}else A=a}c(),window.open(A,"_blank")};function Q(A){o=A,i(0,o)}return t.$$set=A=>{"ref"in A&&i(0,o=A.ref),"logoClickable"in A&&i(1,s=A.logoClickable),"videoLogoUrl"in A&&i(9,a=A.videoLogoUrl),"click"in A&&i(10,c=A.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,y=(r||rf(l,Bt.L))&&k)},i(3,C=f.logoType===Vo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),i(2,k=f.logoType===Vo.VK_VIDEO),[o,s,k,C,y,g,w,b,M,a,c,l,r,Q]}class uf extends we{constructor(e){super(),_e(this,e,Uv,Hv,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function qv(t){Ze(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function jv(t){let e,i,n,l,r,o,s,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("path"),o=R("path"),s=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),V(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),V(e,"connecting",t[2])},m(c,f){P(c,e,f),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(i,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&T(e)}}}function Wv(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q;return{c(){e=R("svg"),i=R("g"),n=R("mask"),l=R("path"),o=R("path"),s=R("path"),c=R("path"),f=R("defs"),d=R("clipPath"),h=R("path"),g=R("filter"),w=R("feFlood"),b=R("feColorMatrix"),C=R("feOffset"),k=R("feGaussianBlur"),y=R("feColorMatrix"),M=R("feBlend"),Q=R("feBlend"),u(l,"fill",r=t[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",_=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(b,"in","SourceAlpha"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(b,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(Q,"in","SourceGraphic"),u(Q,"in2","effect1_dropShadow_4085_178456"),u(Q,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(A,z){P(A,e,z),p(e,i),p(i,n),p(n,l),p(n,o),p(i,s),p(i,c),p(e,f),p(f,d),p(d,h),p(f,g),p(g,w),p(g,b),p(g,C),p(g,k),p(g,y),p(g,M),p(g,Q)},p(A,z){z&2&&r!==(r=A[1]?"#2688EB":"#fff")&&u(l,"fill",r),z&2&&a!==(a=A[1]?"#2688EB":"#fff")&&u(s,"fill",a),z&2&&_!==(_=A[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(A){A&&T(e)}}}function Zv(t){let e;function i(r,o){return r[0]?Wv:jv}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function Kv(t,e,i){let{isMobile:n=!1}=e,{state:l}=e,r,o;return t.$$set=s=>{"isMobile"in s&&i(0,n=s.isMobile),"state"in s&&i(3,l=s.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,o=l===zn.CONNECTING),i(1,r=l===zn.CONNECTED))},[n,r,o,l]}class Gv extends we{constructor(e){super(),_e(this,e,Kv,Zv,ge,{isMobile:0,state:3},qv)}}function Yv(t){let e,i;return e=new Gv({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qv(t){let e,i,n;function l(o){t[5](o)}let r={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Yv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=Ye}=e,s;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"state"in c&&i(2,r=c.state),"click"in c&&i(3,o=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,s=r===zn.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class cf extends we{constructor(e){super(),_e(this,e,Xv,Qv,ge,{ref:0,isMobile:1,state:2,click:3})}}function Jv(t){let e,i;return e=new Fc({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xv(t){let e,i;return e=new Ei({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Xt.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[Jv]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===Xt.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $v(t,e,i){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Ct(),a=s.state.playbackState$;D(t,a,h=>i(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return t.$$set=h=>{"isMobile"in h&&i(0,l=h.isMobile),"isActiveLive"in h&&i(1,r=h.isActiveLive),"ariaLabel"in h&&i(2,o=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,d=()=>{if(!r){c();return}n===Xt.PAUSED&&f()})},[l,r,o,n,d,a]}class ff extends we{constructor(e){super(),_e(this,e,$v,xv,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function e5(t){Ze(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function t5(t){let e,i,n,l;const r=t[9].default,o=Wn(r,t,t[8],null);return{c(){e=E("div"),i=E("div"),o&&o.c(),u(i,"class","tooltip v-5ygsa2"),V(i,"active",t[0]),V(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(s,a){P(s,e,a),p(e,i),o&&o.m(i,null),t[10](i),t[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Kn(o,r,s,s[8],l?Zn(r,s[8],a,null):Gn(s[8]),null),(!l||a&1)&&V(i,"active",s[0]),(!l||a&2)&&V(i,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){v(o,s),l=!1},d(s){s&&T(e),o&&o.d(s),t[10](null),t[11](null)}}}function i5(t,e,i){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function _(b){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return b<k?k:b>f-k?f-k:b}function g(b){Ce[b?"unshift":"push"](()=>{h=b,i(4,h)})}function w(b){Ce[b?"unshift":"push"](()=>{d=b,i(3,d)})}return t.$$set=b=>{"active"in b&&i(0,o=b.active),"pointer"in b&&i(1,s=b.pointer),"translateXPx"in b&&i(6,a=b.translateXPx),"translateYPx"in b&&i(2,c=b.translateYPx),"containerWidth"in b&&i(7,f=b.containerWidth),"$$scope"in b&&i(8,r=b.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[o,s,c,d,h,n,a,f,r,l,g,w]}class n5 extends we{constructor(e){super(),_e(this,e,i5,t5,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},e5)}}const df=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function o5(t){Ze(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function za(t){let e;function i(r,o){return r[2]&&r[10].completed===!1?r5:l5}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function l5(t){let e=(t[10].text||"")+"",i;return{c(){i=Fe(e)},m(n,l){P(n,i,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&tt(i,e)},d(n){n&&T(i)}}}function r5(t){let e=G("tooltip_episode_unfinished")+"",i;return{c(){i=Fe(e)},m(n,l){P(n,i,l)},p:K,d(n){n&&T(i)}}}function s5(t){let e,i,n,l,r,o,s,a,c=t[10]&&za(t);return{c(){e=E("div"),i=E("div"),l=N(),r=E("div"),c&&c.c(),o=N(),s=E("div"),a=Fe(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",t[1])},m(f,d){P(f,e,d),p(e,i),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(i,"style",n),f[10]?c?c.p(f,d):(c=za(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&tt(a,f[0]),d&2&&V(e,"mobile",f[1])},i:K,o:K,d(f){f&&T(e),c&&c.d()}}}const To=150;function a5(t,e,i){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Ct().ui.rotateAlpha;D(t,h,z=>i(11,n=z));let _,g,w,b,C,k,y,M;function Q(){let z=s.frameWidth,re=s.frameHeight;return z>To?(re=re/z*To,z=To):re>To&&(z=z/re*To,re=To),{width:z,height:re}}function A(z){let re;s.isUV?re=Math.floor(c*z/s.frequency):re=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*z)));const le=Math.floor(re/s.countPerImage),Z=Math.floor(re%s.countPerImage/s.countPerRow),Y=re%s.countPerRow;let O=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&le===Math.floor(s.countTotal/s.countPerImage)&&(O=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&O++);let X=s.countPerRow;!s.isUV&&le===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(X=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const L=_*X,B=g*O,te=-Y*_,S=-Z*g;return{imgSrc:s.links[le],imgWidth:L,imgHeight:B,imgOffsetX:te,imgOffsetY:S}}return t.$$set=z=>{"time"in z&&i(0,l=z.time),"isMobile"in z&&i(1,r=z.isMobile),"videoEpisodes"in z&&i(13,o=z.videoEpisodes),"previewThumbsData"in z&&i(14,s=z.previewThumbsData),"progress"in z&&i(15,a=z.progress),"duration"in z&&i(16,c=z.duration),"isInteractive"in z&&i(2,f=z.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:k,imgOffsetY:y}=A(a),w,(i(6,b),i(15,a)),(i(7,C),i(15,a)),(i(8,k),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,M=df(a,c,o))},i(3,{width:_,height:g}=Q(),_,i(4,g)),[l,r,f,_,g,w,b,C,k,y,M,n,h,o,s,a,c]}class u5 extends we{constructor(e){super(),_e(this,e,a5,s5,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},o5)}}function c5(t){Ze(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function f5(t){let e,i;return{c(){e=E("span"),i=Fe(t[7]),u(e,"class","time v-5lzly8")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l[0]&128&&tt(i,n[7])},i:K,o:K,d(n){n&&T(e)}}}function d5(t){let e,i;return e=new u5({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function m5(t){let e,i,n,l;const r=[d5,f5],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function p5(t){let e,i,n,l;const r=[t[9]];let o={$$slots:{default:[m5]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)o=L1(o,r[s]);return e=new n5({props:o}),n=new Or({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:G("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(ft.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=N(),U(n.$$.fragment)},m(s,a){F(e,s,a),P(s,i,a),F(n,s,a),l=!0},p(s,a){const c=a[0]&512?K0(r,[G0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=G("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(ft.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),l=!1},d(s){s&&T(i),H(e,s),H(n,s)}}}function h5(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,{showTimeline:g=!1}=e;const w=Ct(),b=bn(),C=w.state.bufferedProgress$;D(t,C,pe=>i(12,h=pe));const k=w.state.positionWithScrubbing$;D(t,k,pe=>i(39,a=pe));const y=w.state.duration$;D(t,y,pe=>i(1,r=pe));const M=w.state.isLive$;D(t,M,pe=>i(0,l=pe));const Q=w.state.isActiveLive$;D(t,Q,pe=>i(11,d=pe));const A=w.ui.isMobile;D(t,A,pe=>i(10,f=pe));const z=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,re=w.actions.internal.getPreviewThumbsData(),le=w.state.interactiveEpisodes$;D(t,le,pe=>i(40,c=pe));const Z=w.state.isInteractive,Y=w.state.isInteractiveTime$;D(t,Y,pe=>i(2,o=pe));const O=w.state.isInteractiveExpectation$;D(t,O,pe=>i(38,s=pe));const X=w.actions.internal.correctSeekTimeToInteractive,L=w.ui.controls.disabledControls$;D(t,L,pe=>i(13,_=pe));let B,te,S,ee,Pe=!1,ke="",Ee=0,Be=0,be=0,ye;function q(pe){return!X||!Z?pe:X(pe*r)/r}function $(pe){w.actions.internal.startScrubbing(q(pe))}function ue(pe){o||w.actions.internal.progressScrubbing(q(pe))}function se(pe){w.actions.internal.completeScrubbing(q(pe)),i(34,Pe=!1)}function je(pe,oe,Ae){Ie(pe,oe,Ae),i(34,Pe=!0)}function Ne(pe,oe,Ae){Ie(pe,oe,Ae),i(34,Pe=!0)}function Le(){i(34,Pe=!1)}function Ie(pe,oe,Ae){i(8,be=pe),i(35,Ee=oe),Ae&&i(36,Be=Ae),i(7,ke=ae(pe))}function ae(pe){const oe=jn((l?1-pe:pe)*r);return l?`-${oe}`:oe}return t.$$set=pe=>{"showTimeline"in pe&&i(33,g=pe.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,B=Z?c:z),t.$$.dirty[0]&2&&i(4,te=jn(r)),t.$$.dirty[1]&256&&i(5,S=jn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ee=a/r),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,ye=s||o),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Be,translateXPx:Ee,translateYPx:Z&&re?-36:-16,active:Pe&&g&&!ye,pointer:!b.features.timelinePreview||!re||l})},[l,r,o,B,te,S,ee,ke,be,n,f,d,h,_,b,C,k,y,M,Q,A,re,le,Z,Y,O,L,$,ue,se,je,Ne,Le,g,Pe,Ee,Be,ye,s,a,c]}let v5=class extends we{constructor(e){super(),_e(this,e,h5,p5,ge,{showTimeline:33},c5,[-1,-1])}};function g5(t){let e,i;return e=new Or({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:G("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=G("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function b5(t,e,i){let n,{position:l=0}=e,{duration:r=0}=e;const s=Ct().ui.isMobile;D(t,s,d=>i(4,n=d));let a,c,f;return t.$$set=d=>{"position"in d&&i(6,l=d.position),"duration"in d&&i(0,r=d.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=jn(r)),t.$$.dirty&64&&i(2,c=jn(l)),t.$$.dirty&65&&i(3,f=l/r)},[r,a,c,f,n,s,l]}class mf extends we{constructor(e){super(),_e(this,e,b5,g5,ge,{position:6,duration:0})}}function _5(t){Ze(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function w5(t){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",t[2])},m(i,n){P(i,e,n)},p(i,n){n&4&&V(e,"mobile",i[2])},i:K,o:K,d(i){i&&T(e)}}}function k5(t){let e,i,n,l;const r=[C5,y5],o=[];function s(a,c){return a[0]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",t[2])},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&V(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&T(e),o[i].d()}}}function y5(t){let e,i;return e=new v5({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C5(t){let e,i;return e=new mf({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function T5(t){let e,i,n,l;const r=[k5,w5],o=[];function s(a,c){return a[1]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function P5(t,e,i){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=Ct(),h=d.state.isLive$;D(t,h,C=>i(12,n=C));const _=d.ads.duration;D(t,_,C=>i(4,o=C));const g=d.ads.position;D(t,g,C=>i(3,r=C));const w=d.ui.isMobile;D(t,w,C=>i(2,l=C));let b;return t.$$set=C=>{"isAds"in C&&i(0,s=C.isAds),"canRewindLive"in C&&i(9,a=C.canRewindLive),"isRewindableLive"in C&&i(10,c=C.isRewindableLive),"isHidden"in C&&i(11,f=C.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,b=!f&&(!n||n&&a&&c||s))},[s,b,l,r,o,h,_,g,w,a,c,f,n]}class pf extends we{constructor(e){super(),_e(this,e,P5,T5,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},_5)}}function S5(t){let e,i,n,l;return{c(){e=R("svg"),i=R("path"),n=R("path"),l=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ut(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class E5 extends we{constructor(e){super(),_e(this,e,null,S5,ge,{})}}function I5(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class A5 extends we{constructor(e){super(),_e(this,e,null,I5,ge,{})}}function L5(t){Ze(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function M5(t){let e,i,n,l;e=new E5({});function r(a,c){if(a[4]===ao.FULL)return R5;if(a[4]===ao.COUNT)return B5}let o=r(t),s=o&&o(t);return{c(){U(e.$$.fragment),i=N(),s&&s.c(),n=pt()},m(a,c){F(e,a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){v(e.$$.fragment,a),l=!1},d(a){a&&(T(i),T(n)),H(e,a),s&&s.d(a)}}}function V5(t){let e,i,n,l,r,o;return r=new A5({}),{c(){e=E("span"),i=Fe(t[2]),n=N(),l=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){P(s,e,a),p(e,i),P(s,n,a),P(s,l,a),F(r,l,null),o=!0},p(s,a){(!o||a&4)&&tt(i,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){v(r.$$.fragment,s),o=!1},d(s){s&&(T(e),T(n),T(l)),H(r)}}}function B5(t){let e,i=t[0].length+"",n;return{c(){e=E("span"),n=Fe(i),u(e,"class","text count v-1yhs2ga")},m(l,r){P(l,e,r),p(e,n)},p(l,r){r&1&&i!==(i=l[0].length+"")&&tt(n,i)},d(l){l&&T(e)}}}function R5(t){let e,i;return{c(){e=E("span"),i=Fe(t[2]),u(e,"class","text v-1yhs2ga")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&4&&tt(i,n[2])},d(n){n&&T(e)}}}function N5(t){let e,i,n,l;const r=[V5,M5],o=[];function s(a,c){return a[6]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function O5(t){let e,i,n;function l(o){t[19](o)}let r={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[N5]},$$scope:{ctx:t}};return t[1]!==void 0&&(r.ref=t[1]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!i&&s&2&&(i=!0,a.ref=o[1],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function D5(t,e,i){var Z,Y,O;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=Ct(),_=(Y=(Z=h.callbacks)==null?void 0:Z.onEpisodeChanged)!=null?Y:Ye,g=!!((O=h.callbacks)!=null&&O.onEpisodeClicked),w=h.ui.currentGridType$;D(t,w,X=>i(18,s=X));const b=h.ui.episodes.openedByKeyboard$;D(t,b,X=>i(17,o=X));const C=h.ui.episodes.panelOpened$;D(t,C,X=>i(3,r=X));const k=h.ui.isMobile;D(t,k,X=>i(6,a=X));let y;const M=X=>{var B,te,S;if(!!((B=h.callbacks)!=null&&B.onEpisodeClicked)){const ee=Mr(X);b.set(ee),C.set(!0),(S=(te=h.callbacks)==null?void 0:te.onEpisodeClicked)==null||S.call(te,ee)}};let Q,A,z;const re=async(X,L,B)=>{await Ko(),(X==null?void 0:X.getAttribute("aria-expanded"))==="false"&&L&&!B&&(b.set(!1),X.focus())};function le(X){y=X,i(1,y)}return t.$$set=X=>{"position"in X&&i(13,c=X.position),"duration"in X&&i(14,f=X.duration),"timeCodes"in X&&i(0,d=X.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const X=df(n,f,d);X&&(Q==null?void 0:Q.text)!==X.text&&(_(X),i(15,Q=X))}t.$$.dirty&32768&&i(2,l=(Q==null?void 0:Q.text)||""),t.$$.dirty&262144&&(In(s,Bt.XL)?i(4,A=ao.FULL):In(s,Bt.M)&&iv(s,Bt.XL)?i(4,A=ao.COUNT):i(4,A=ao.SHORT)),t.$$.dirty&4&&i(5,z=`${G("tooltip_episodes")}: ${l}`),t.$$.dirty&131082&&re(y,o,r)},[d,y,l,r,A,z,a,g,w,b,C,k,M,c,f,Q,n,o,s,le]}class hf extends we{constructor(e){super(),_e(this,e,D5,O5,ge,{position:13,duration:14,timeCodes:0},L5)}}function z5(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&T(e)}}}class F5 extends we{constructor(e){super(),_e(this,e,null,z5,ge,{})}}function H5(t){let e,i;return e=new F5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function U5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[H5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function q5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class vf extends we{constructor(e){super(),_e(this,e,q5,U5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function j5(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),V(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,[r]){r&1&&V(n,"hidden",!l[0])},i:K,o:K,d(l){l&&T(e)}}}function W5(t,e,i){let{isOpened:n=!1}=e;return t.$$set=l=>{"isOpened"in l&&i(0,n=l.isOpened)},[n]}class Z5 extends we{constructor(e){super(),_e(this,e,W5,j5,ge,{isOpened:0})}}function K5(t){let e,i;return e=new Z5({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G5(t){let e,i,n;function l(o){t[6](o)}let r={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[K5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Y5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,l=f.hidden),"disabled"in f&&i(2,r=f.disabled),"graphIsOpened"in f&&i(3,o=f.graphIsOpened),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=G(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class gf extends we{constructor(e){super(),_e(this,e,Y5,G5,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function Q5(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class bf extends we{constructor(e){super(),_e(this,e,null,Q5,ge,{})}}function X5(t){Ze(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Fa(t){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&T(e)}}}function J5(t){let e,i,n,l,r=t[1]&&Fa();return n=new bf({}),{c(){r&&r.c(),e=N(),i=E("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),V(i,"mobile",t[1])},m(o,s){r&&r.m(o,s),P(o,e,s),P(o,i,s),F(n,i,null),l=!0},p(o,s){o[1]?r||(r=Fa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&V(i,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){v(n.$$.fragment,o),l=!1},d(o){o&&(T(e),T(i)),r&&r.d(o),H(n)}}}function x5(t){let e,i,n;function l(o){t[5](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:G("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Go[Se.KeyK],$$slots:{default:[J5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=Ye}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"disabled"in c&&i(2,r=c.disabled),"className"in c&&i(3,o=c.className),"click"in c&&i(4,s=c.click)},[n,l,r,o,s,a]}class Fr extends we{constructor(e){super(),_e(this,e,$5,x5,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},X5)}}function eg(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class tg extends we{constructor(e){super(),_e(this,e,null,eg,ge,{})}}function ig(t){let e,i;return e=new tg({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ng(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:t[2],click:t[3],$$slots:{default:[ig]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function og(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class _f extends we{constructor(e){super(),_e(this,e,og,ng,ge,{ref:0,hidden:1,disabled:2,click:3})}}function lg(t){Ze(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function rg(t){let e,i,n,l;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),xr(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),n||(l=he(e,"error",t[7]),n=!0)},p(r,o){o&1&&!xr(e.src,i=r[0])&&u(e,"src",i)},d(r){r&&T(e),n=!1,l()}}}function sg(t){let e;return{c(){e=E("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){P(i,e,n)},p:K,d(i){i&&T(e)}}}function ag(t){let e;function i(r,o){return r[5]?sg:rg}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&T(e),l.d(r)}}}function ug(t){let e,i;return e=new Ei({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[ag]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function cg(t,e,i){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ye}=e;const d=()=>{i(5,r=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,o=h.iconUrl),"ariaLabel"in h&&i(1,s=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===Ye),t.$$.dirty&272&&i(6,l=n||a)},i(5,r=!1),[o,s,c,f,n,r,l,d,a]}class wf extends we{constructor(e){super(),_e(this,e,cg,ug,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},lg)}}class Ha{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===i){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class kf extends Ha{constructor(){super(),this.listeners||Ha.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let fg=class{constructor(){Object.defineProperty(this,"signal",{value:new kf,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(fg.prototype[Symbol.toStringTag]="AbortController",kf.prototype[Symbol.toStringTag]="AbortSignal");function yf(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function dg(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=t;if(!yf({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=i;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new i(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=i.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(_){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((_,g)=>{f.addEventListener("abort",()=>g(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Hr=yf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Cf=Hr?dg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,mg=Hr?Cf.fetch:window.fetch;Hr?Cf.Request:window.Request;const pg=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,hg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class vg{constructor(e,i){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new Pn,started$:new Pn,paused$:new Pn,resumed$:new Pn,ended$:new Pn,skipped$:new Pn,clicked$:new Pn},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};T0(hg,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{vt(this.adsState),vt(this.playerState),vt(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),et(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(ni.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{vt(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{vt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(ni.PAUSED)},this.onAdPlayed=()=>{vt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(ni.PLAYING)},this.onAdMidrollPoint=()=>{vt(this.adman),vt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Hn.Midroll,this.adman.start(Hn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const _=this.playerState&&et(this.playerState.vsid);_&&(h=parseInt(_,36));const g={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:i,player_height:n,puid10:pg(i,n),puid11:l?0:1,preview:d,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:g,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(w),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}vt(this.actions),vt(this.adsState),vt(this.playerState);const i=this.currentAdSection===Hn.Postroll;this.adsState.playbackState.set(ni.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){vt(this.adsState),this.log({message:"toggle play"});const e=et(this.adsState.playbackState);e===ni.PLAYING?this.pause():e===ni.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){vt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Hn.Preroll,this.adman.start(Hn.Preroll)}startPostroll(){vt(this.adman),vt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Hn.Postroll,this.adman.start(Hn.Postroll)}play(){vt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){vt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){vt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const gg=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class bg{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new Tf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new _g,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&i.push(r)}return i}}class Tf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(i)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class _g{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const i={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new Tf;for(const o of l)r.isTime(o)?i.texts.push({type:"timestamp",value:r.parseTime(o)}):i.texts.push({type:"text",value:o});return i}}let eo,Ht,lr=0,rr=!1;const wg=(t,e,i)=>{var n;const l=t>=lr,r=t<lr,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=i.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(lr=t,r&&(rr=!1),Ln(eo)&&s(t,eo.startTime,eo.endTime)&&eo.lang===e.value)return eo;if(!Ln(Ht)&&(c!=null&&c.length)&&!rr){const f=c.find(({startTime:d,endTime:h})=>s(t,d,h)||l&&o(t,d,h));Ht=f&&{...f,lang:e.value},eo=void 0,!Ln(Ht)&&c[c.length-1].endTime<t&&(rr=!0);return}else{if(s(t,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))return eo=Ht,Ht=void 0,eo;(l&&a(t,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime)||r&&o(t,Ht==null?void 0:Ht.startTime,Ht==null?void 0:Ht.endTime))&&(Ht=void 0)}},sr={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class kg{constructor(e,i){this.oneStat=new D0(e,i),this.statSubscription=new io}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const yg=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:_,disabledControls:g,isInteractive:w,interactiveRanges$:b,isInteractiveTime$:C,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M,additionalButtons:Q,looped:A=!1,statistics:z})=>{var re,le,Z,Y;const O={...h,configName:[...(re=h.configName)!==null&&re!==void 0?re:[],"ui"],isAudioDisabled:r,live:{...(le=h.live)!==null&&le!==void 0?le:{},isLiveCatchUpMode:!!n}},X=d,L=_||new b0(O);L.setLooped(A);const B=new A1,te=new vg(B,{loadTimeout:X.ads.loadTimeout,initTimeout:X.ads.initTimeout}),S=vr.getInstance(),ee=a==null?void 0:a.pictureInPictureApi,Pe=a==null?void 0:a.annotationsApi,ke=B.createComponentLog("Store");let Ee,Be,be={};const ye=_r(),q=z?yt(z.oneStat.vsid$):Dn(void 0),$=Me(qo()),ue=(Z=ee==null?void 0:ee.info.isActive$)!==null&&Z!==void 0?Z:new br(!1),se=ee==null?void 0:ee.info.type,je=Me(0),Ne=Me([]),Le=P0(L.events.fatalError$,L.events.managedError$).subscribe(I=>Ne.update(ie=>[...ie,I])),Ie=Dn(!1,I=>{const ie=L.events.fatalError$.subscribe(()=>I(!0));return()=>ie.unsubscribe()}),ae=async I=>{var ie;const ve=Object.values(jo).includes(I);if(X.downloadVKLanguages&&(ve&&X.updateBuiltinLanguages||!Es(I))){let Xe;try{Xe=await I0(I,ed,td)}catch(ct){(ie=z==null?void 0:z.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),S==null||S.report(ct,{errorType:"VKLangPack",fatal:!1})}Xe&&(Ss({language:I,pack:Xe,fallback:X.defaultLanguage}),pe.set(I))}Es(I)&&pe.set(I)},pe=Me(t);ae(t);const oe=(I,ie)=>{const ve=et(pe);return Vc(ve,I,ie,X.defaultLanguage)},Ae=Me(Oe.Thumb),me=(()=>{const I=Zi([Ie,Ae],([ie,ve])=>ie?Oe.Crashed:ve);return{...I,is:ie=>et(I)===ie}})(),Te=(()=>{const I=Me(new Set(g));return{...I,add:ie=>{I.update(ve=>new Set([...ve].concat(ie)))},remove:ie=>{I.update(ve=>{const ze=[...ve];return new Set(Array.isArray(ie)?ze.filter(Xe=>!ie.includes(Xe)):ze.filter(Xe=>Xe!==ie))})},includes:ie=>{const ve=et(I);return Array.isArray(ie)?ie.every(ze=>ve.has(ze)):ve.has(ie)}}})();ke({message:"create store"});const Ke=I=>{const ie=I.container;ie.append(L.experimental.element$.getValue()),rt=new MutationObserver(ve=>{const{removedNodes:ze}=ve[0];ze.length&&ie.append(L.experimental.element$.getValue())}),rt.observe(ie,{childList:!0})},Re=I=>{ke({message:`init video, config: ${JSON.stringify(I)}`}),w?Ke(I):L.initVideo(I),I.subtitles&&L.setExternalTextTracks(I.subtitles),Ee=I},Je=new Pn,xe=I=>Je.next(I),at=new Pn,lt=new Pn,Tt=new Pn;let rt=null;const xt={actionRewind$:at,actionSeek$:lt,inPiP$:ue,inFullscreen$:new S0(I=>$.subscribe(ie=>I.next(ie))),actionSetSubtitle$:Tt,nextMovie$:Je};if(z){const{oneStat:I,statSubscription:ie}=z;ie.add(I.attachTo(L)),ie.add(I.attachToUi(xt)),ie.add(I.attachToAds(te.events)),I.authorize(l).catch(ve=>{ke({message:`onestat auth error ${String(ve)}`})})}if(S){const I=new io,ie=(ve,ze)=>I.add(ve.subscribe(ze));if(ie(L.events.managedError$,ve=>{S.logIError(ve)}),ie(L.events.fatalError$,ve=>{S.logIError(ve,!0)}),z){const{oneStat:ve}=z;ie(ve.experimental.error$,ze=>{S.logIError(ze)})}S.sentrySubscription.add(I)}const wt=()=>{wr()&&Be&&X4(Be)},De=new io().add(L.experimental.element$.subscribe(I=>{I&&(Be=I,I.classList.add("player-media"),Il(ee)&&(ee.updateVideoElement(),ee.registryEventHandlers()),w&&I.setAttribute("pip","false"))})).add(L.events.ended$.subscribe(()=>{var I;wt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(L.events.started$.subscribe(async()=>{var I,ie;Il(ee)&&await(ee==null?void 0:ee.revealPictureInPicture());const ve=L.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(ie=be.onStarted)===null||ie===void 0||ie.call(be,ve)})).add(L.events.willSeek$.subscribe(({from:I,to:ie})=>{var ve;(ve=s==null?void 0:s.onSeek)===null||ve===void 0||ve.call(s,I,ie)})).add(L.info.position$.subscribe(I=>{var ie;const ve=L.info.duration$.getValue();(ie=s==null?void 0:s.onTimeupdate)===null||ie===void 0||ie.call(s,ve,I),te.setPosition(I,ve)})).add(L.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(L.info.is3DVideo$.subscribe(I=>{bt.ui.is3DVideo.set(I)})).add(L.info.isEnded$.subscribe(I=>{w&&(I?(C!=null&&C.getValue()&&Te.add(U1),Te.add(ft.PLAY_BUTTON)):Te.remove(ft.PLAY_BUTTON))})).add(L.info.liveTime$.subscribe(I=>{var ie;(ie=s==null?void 0:s.onLiveTime)===null||ie===void 0||ie.call(s,I)})).add(L.info.isStalled$.subscribe(I=>{var ie;(ie=s==null?void 0:s.onStalledChanged)===null||ie===void 0||ie.call(s,I)})),ce=new io,gt=()=>{ce.add(L.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(B.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},st=()=>{ce.unsubscribe()},Rt=(I,ie)=>{L.startCameraManualRotation(I,ie)},dt=(I=!1)=>{L.stopCameraManualRotation(I)},Pt=(I,ie,ve)=>{L.moveCameraFocusPX(I,ie,ve)},$e=()=>{L.holdCamera()},We=()=>{L.releaseCamera()},kt=Dn(L.info.position$.getValue(),I=>{let ie,ve;const ze=()=>{const Xe=L.info.playbackState$.getValue(),ct=L.info.isLive$.getValue(),Vt=L.info.duration$.getValue(),_t=L.info.position$.getValue();if([Xt.PLAYING,Xt.PAUSED].includes(Xe)){const Si=ct?_t-Vt:L.getExactTime();Si!==ve&&I(Si),ve=Si}ie=requestAnimationFrame(ze)};return ze(),()=>cancelAnimationFrame(ie)}),en=yt(ue),li=yt(L.info.playbackState$),Ii=yt(L.info.currentBuffer$),tn=yt(L.info.isEnded$),ri=yt(L.info.isLive$),$t=X.features.playbackRate?yt(L.info.canChangePlaybackSpeed$):Dn(!1),si=yt(L.info.liveBufferTime$),Ot=yt(L.info.volume$),hi=yt(L.info.muted$),Ai=Z1(L.info.autoQualityLimits$.pipe(E0(({max:I})=>I!==void 0)),((Y=L.info.autoQualityLimits$.getValue())===null||Y===void 0?void 0:Y.max)!==void 0),ai=yt(L.info.autoQualityLimitingAvailable$),Li=yt(L.info.availableQualities$),vi=yt(L.info.availableQualitiesFps$),ui=yt(L.info.chromecastState$),Mi=yt(L.info.chromecastDeviceName$),Vi=yt(L.info.currentFormat$),Bi=yt(L.info.throughputEstimation$),Ri=yt(L.info.videoBitrate$),gi=yt(L.info.intrinsicVideoSize$),It=yt(L.info.duration$),bi=yt(L.info.isAudioAvailable$);let Lt=null;const ci=L.info.isBuffering$,ut=Dn(ci.getValue(),I=>{const ie=ci.subscribe(ve=>{ve&&Lt===null?Lt=window.setTimeout(()=>{I(ci.getValue()),Lt=null},X.loaderDelay):I(ve)});return()=>{ie.unsubscribe(),Lt&&clearTimeout(Lt)}}),mt=()=>{Lt&&clearTimeout(Lt),Lt=null},jt=Zi([It,ri],([I,ie])=>ie?-I:I),Dt=Zi([li],([I])=>I===Xt.PLAYING),_i=yt(L.info.atLiveEdge$),fi=yt(L.info.atLiveDurationEdge$),ei=yt(L.info.position$),di=Zi([ei,It],([I,ie])=>isFinite(I)&&isFinite(ie)&&!!ie),Ni=Zi([ui],([I])=>I===zn.CONNECTED),At=Me(void 0),Gi=yt(L.info.isAutoQualityEnabled$,I=>I&&At.set(void 0)),Yi=yt(L.info.currentQuality$,()=>At.set(void 0)),Qi=Zi([At,Yi],([I,ie])=>I!=null?I:ie),Oi=Zi([Li,vi,Gi,Qi,Vi],([I,ie,ve,ze,Xe])=>{const ct=[];Xe!==Do.MPEG&&ct.push({value:Lo.AUTO,displayValue:oe("auto_quality_option"),selected:ve});const Vt=I.filter(_t=>_t!==kl.INVARIANT);for(const _t of Vt){const Si=ie[_t],$n=_t===kl.INVARIANT?oe("auto_quality_option"):_t;ct.push({value:_t,displayValue:`${$n}${Si?gg(Si):""}`,selected:ve?!1:_t===ze})}return ct}),Kt=yt(L.info.currentPlaybackRate$),wi=Zi([Kt,_i,fi],([I,ie,ve])=>{const ze=ve||w?1:X.controls.playbackRateMin,Xe=ie?1:X.controls.playbackRateMax,ct=X.controls.playbackRateStep,Vt=[];for(let _t=ze;_t<=Xe;_t+=ct)Vt.push({value:_t,displayValue:_t===1?oe("playback_rate_1"):oe("playback_rate",{multiplier:_t.toString(10)}),selected:I===_t});return Vt}),nn=X.features.subtitles?yt(L.info.availableTextTracks$):Dn([]),Di=Zi([nn],([I],ie)=>{const ve=[],ze=[];for(const Xe of I)Xe.url&&ve.push(mg(Xe.url));Promise.allSettled(ve).then(Xe=>{for(const[ct,Vt]of Xe.entries())Vt.status==="fulfilled"&&Vt.value.text().then(_t=>{const Si=new bg,$n=I[ct].language,nl=!!I[ct].isAuto,No=Si.parse(_t);$n&&No&&ze.push({lang:$n,subtitles:No,isAuto:nl}),ct===Xe.length-1&&ie(ze)})})}),zt={displayValue:oe("subtitles_off"),value:"off"},Ft=Me({...zt}),zi=Zi([Di,Ft,Di],([I,ie])=>{if((I==null?void 0:I.length)>0){const ve=[{...zt,selected:(ie==null?void 0:ie.value)===zt.value}];for(const{lang:ze,isAuto:Xe}of I)sr[ze]&&ve.push({displayValue:Xe?oe("subtitles_auto",{language:sr[ze]}):sr[ze],value:ze,selected:(ie==null?void 0:ie.value)===ze,isAuto:Xe});return ve}else return[]}),Fi=Zi([kt,Ft,Di],([I,ie,ve])=>{if(ie&&ie.value!==zt.value)return wg(I,ie,ve)}),ki=Zi([Fi],([I])=>I!=null&&I.texts?I.texts:[]),Hi=Me(!0),Ui=Zi([Ii,jt,ei,si],([I,ie,ve,ze])=>{var Xe;const ct=(Xe=I==null?void 0:I.end)!==null&&Xe!==void 0?Xe:0;if(!ze)return ct/ie;const _t=-ve+ze-ie;return(ct-_t)/ie}),Wt=yt(L.info.availableSources$),Xi=Zi([Wt],([I])=>Object.keys((I==null?void 0:I[Do.MPEG])||{}).length>0),qi=()=>{var I,ie,ve;const ze=Object.keys(((ie=(I=L.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||ie===void 0?void 0:ie[Do.MPEG])||{}),Xe=A0(ze)||kl.Q_144P;return(ve=Ee.sources[Do.MPEG])===null||ve===void 0?void 0:ve[Xe]},yi=()=>{var I;const ie=qi();ie?cd(ie,((I=Ee==null?void 0:Ee.meta)===null||I===void 0?void 0:I.title)||"video"):ke({message:"There is no URL for download video"})},Ki=()=>{ke({message:"toggle muted"});const I=L.info.muted$.getValue(),ze=!(L.info.volume$.getValue()===0||I);mi(ze)},Ci=()=>{bt.ui.settingsMenuVisible.set(!1)},Gt=I=>{bt.ui.settingsMenuOpenedByKeyboard.set(!!I),bt.ui.settingsMenuVisible.set(!0)},Ti=I=>{et(bt.ui.settingsMenuVisible)?Ci():Gt(I)},He=(I,ie=I,ve=!1)=>{var ze,Xe,ct;const Vt=!ve,_t=L.info.muted$.getValue();ke({message:`set volume, volume: ${I}, preferredVolume: ${ie}, internalCall: ${Vt}`}),L.setVolume(I),te.setVolume(I),Vt&&((ze=s==null?void 0:s.onVolumeChange)===null||ze===void 0||ze.call(s,I)),ts(ie),_t?(L.setMuted(!1),Vt&&((Xe=s==null?void 0:s.onUnmute)===null||Xe===void 0||Xe.call(s)),Hl(!1)):!_t&&I===0&&(L.setMuted(!0),Vt&&((ct=s==null?void 0:s.onMute)===null||ct===void 0||ct.call(s)),Hl(!0))},mi=(I,ie=!1)=>{var ve,ze,Xe,ct;const Vt=!ie,_t=L.info.volume$.getValue();if(ke({message:`set muted, currentVolume: ${_t}, mute: ${I}, internalCall: ${Vt}`}),L.setMuted(I),te.setVolume(I?0:_t),Hl(I),Vt&&(I?(ve=s==null?void 0:s.onMute)===null||ve===void 0||ve.call(s):(ze=s==null?void 0:s.onUnmute)===null||ze===void 0||ze.call(s)),_t===0){let Si=(Xe=X1())!==null&&Xe!==void 0?Xe:X.volumeDefault;Si===0&&(Si=X.volumeMinRestore,ts(Si)),L.setVolume(Si),te.setVolume(Si),Vt&&((ct=s==null?void 0:s.onVolumeChange)===null||ct===void 0||ct.call(s,Si))}},pi=()=>{L.prepare()},Ve=()=>{var I,ie;if(vt(bt),!et(bt.ui.controls.disabledControls$).has(ft.PLAY_BUTTON)){if(ke({message:"toggle play"}),et(bt.playerPhase)===Oe.Ads){te.togglePlay();return}if(L.info.playbackState$.getValue()!==Xt.PLAYING){if(L.info.isEnded$.getValue()){if(ke({message:"toggle play, video ended, seek to 0"}),at.next(),lt.next(Zt.REWIND),w){k==null||k();return}L.seekTime(0)}ke({message:"toggle play, call player.play"}),L.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ke({message:"toggle play, call player.pause"}),L.pause(),(ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)}},sn=I=>{ke({message:`set quality, quality: ${I}`}),L.setAutoQuality(I===Lo.AUTO),I!==Lo.AUTO?(fd(e,I),At.set(I),L.setQuality(I)):J1()},an=I=>{ke({message:`set trafficSavingEnabled, value: ${I}`}),L.setAutoQualityLimits({max:I?X.trafficSavingLimit:void 0}),pd(I)},Ji=I=>{L.setPlaybackRate(I)},un=()=>{const I=et(wi),ie=I.findIndex(({selected:ze})=>ze);if(ie===I.length-1)return;const ve=I[ie+1];Ji(ve.value)},xi=()=>{const I=et(wi),ie=I.findIndex(({selected:ze})=>ze);if(ie===0)return;const ve=I[ie-1];Ji(ve.value)},Yt=I=>{I&&I.value!==zt.value&&Tt.next(I.isAuto?I.value+"_auto":I.value),Ft.set(I)},$i=()=>{const I=et(zi),ie=et(Ft),ve=et(pe);if((ie==null?void 0:ie.value)===zt.value){const ze=I.filter(Xe=>Xe.value!==zt.value).find(Xe=>Xe.value===ve)||I[1];Yt(ze!=null?ze:{...zt})}else Yt({...zt,selected:!1})},Pi=(I,ie,ve=!0)=>{if(ke({message:`seek to time, time: ${I}`}),lt.next(ie),L.info.isLive$.getValue()){const ze=L.info.duration$.getValue(),Xe=Math.min(0,ze+I);L.seekTime(Xe,ve)}else{if(C!=null&&C.getValue())return;L.seekTime(bo(I),ve)}},ji=I=>{ke({message:`seek to episode start time: ${I}`}),Pi(I,Zt.EPISODE,!0)},Nt=(I,ie)=>{ke({message:`seek to percent, percent: ${I}`});const ve=Math.round(et(jt)*I);Pi(ve,ie,!1)},Qt=I=>{ke({message:`seek external, time: ${I}`}),lt.next(Zt.UNKNOWN),L.seekTime(L.info.isLive$.getValue()?-I:I)},ne=I=>{var ie,ve;ke({message:`set auto quality limitation. Max: ${(ie=I.max)!==null&&ie!==void 0?ie:"none"}. Min: ${(ve=I.min)!==null&&ve!==void 0?ve:"none"}`}),L.setAutoQualityLimits(I)},it=I=>{ke({message:`seek external to episode start time: ${I}`}),Pi(I,Zt.EPISODE,!0)},ti=I=>{ke({message:`set playback rate to: ${I}`}),L.setPlaybackRate(I)},St=Me(void 0),Mt=Me(!1),_n=I=>{ke({message:`start scrubbing, progress: ${I}`}),Mt.set(!0),wn(I)},wn=I=>{St.set(I)};let hn,cn;const Wi=()=>{St.set(void 0),Mt.set(!1)},kn=()=>{clearTimeout(cn),clearTimeout(hn),hn=window.setTimeout(()=>{Wi()},500),Be==null||Be.removeEventListener("seeked",kn)},Rn=I=>{ke({message:`complete scrubbing, progress: ${I}`}),Nt(I,Zt.SLIDER),et(bt.ui.isMobile)&&et(bt.state.currentFormat$)===Do.HLS?(Be==null||Be.addEventListener("seeked",kn),cn=window.setTimeout(()=>{kn()},300)):Wi()},Nn=Zi([kt,jt,St],([I,ie,ve],ze)=>{ze(Ln(ve)?ve*ie:I)}),yn=Me({width:0,height:0}),Cn=Zi([yn],([{width:I}],ie)=>{const ve=nv(I);ie(ve)}),x=Me(!1),ht=Zi([Cn,x],([I,ie])=>ie?Q.filter(ve=>!ve.hideOnMobile):Q.filter(ve=>{var ze;return!(!((ze=ve.hideOnDesktopGridTypes)===null||ze===void 0)&&ze.includes(I))})),fn=Zi([x,Ie],([I,ie],ve)=>{ve(I&&ie)}),on=()=>{lt.next(Zt.LIVE),ke({message:"switch to active live"}),L.seekTime(0),L.info.playbackState$.getValue()!==Xt.PLAYING&&bt.actions.internal.togglePlay()},vn=()=>te.skip(),dn=(I=!0)=>{vt(bt),ke({message:`switch from ads to video, callPlay: ${I}`}),Ae.set(Oe.Video),I&&L.play()},Qn=()=>{vt(bt),ke({message:"switch from video to ads"}),bt.actions.internal.pause(),wt(),Ae.set(Oe.Ads)},Xn=I=>{vt(bt);const ie=I?Oe.WaitingLive:Oe.Thumb;Ae.set(ie)},Jn=I=>{vt(bt);const ie=I?Oe.WaitingRecord:Oe.Thumb;Ae.set(ie)},On=()=>(vt(bt),ad(L,Ee,bt)),xn=()=>(vt(bt),ud(L,Ee,bt)),Sn=()=>Be,mn=()=>{ke({message:"toggle chromecast"}),L.toggleChromecast()},J=I=>{var ie;vt(bt);const ve=!I;if(et(bt.playerPhase)===Oe.Ads){ke({message:`pause ads, internalCall: ${ve}`}),te.pause();return}ke({message:`pause video, internalCall: ${ve}`}),ve&&((ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)),L.pause()},lo=I=>{var ie;vt(bt);const ve=!I;if(et(bt.playerPhase)===Oe.Ads){ke({message:`play ads, internalCall: ${ve}`}),te.play();return}ke({message:`play video, internalCall: ${ve}`}),ve&&((ie=s==null?void 0:s.onPlay)===null||ie===void 0||ie.call(s)),L.play()},mo=(I,ie)=>{vt(bt),ke({message:`first start, show ads: ${I}, internalCall: ${!ie}`}),I?Ae.set(Oe.Ads):(Ae.set(Oe.Video),ie?L.play():bt.actions.internal.togglePlay())},ro=()=>(ke({message:"getting time codes"}),c),po=()=>{const I=ro();if(!I||[0,1].includes(I.length))return;const ie=L.info.position$.getValue();return I.find(ve=>ve.time>ie)},ho=I=>{let ie=I;ie||(ie=po()),ie&&(ke({message:"seek to next episode"}),Pi(ie.time,Zt.EPISODE,!0))},vo=()=>{const I=ro();if(!I||[0,1].includes(I.length))return;const ie=L.info.position$.getValue(),ve=I.findIndex(Xe=>Xe.time>ie),ze=ve===-1?I.length-2:ve-2;if(!(ze<0))return I[ze]},W=I=>{let ie=I;ie||(ie=vo()),ie&&(ke({message:"seek to prev episode"}),Pi(ie.time,Zt.EPISODE,!0))},Et=()=>(ke({message:"getting preview thumbs data"}),f),gn=async()=>{ee!=null&&ee.isActive()?await(ee==null?void 0:ee.remove()):await(ee==null?void 0:ee.request())},ln=(I=-90)=>{je.update(ie=>ie+I)},Tn=Me([]);b==null||b.subscribe(I=>{const ie=[];for(let ve=0;ve<I.length;ve++){const{range:[ze,Xe],subjects:ct}=I[ve];ve===0&&ze!==0&&ie.push({time:0,text:"",interactive:!1,completed:!0}),ie.push({time:ze/1e3,text:"",interactive:!0,completed:!ct.length}),Xe!==1/0&&ie.push({time:Xe/1e3,text:"",interactive:!1,completed:!0})}Tn.set(ie)});const go=Me(!1);C==null||C.subscribe(I=>{I&&et(Mt)&&Wi()});const bo=I=>{if(!w)return I;const ie=et(Tn),ve=et(jt),Xe=et(ei)/ve,ct=ie.find(Vt=>Vt.interactive&&!Vt.completed&&Vt.time>Xe);return typeof(ct==null?void 0:ct.time)=="number"?Math.min(I,ct.time-.05):I},tl=()=>{bt.ui.episodes.panelOpened$.set(!1)},il=()=>{clearTimeout(cn),clearTimeout(hn),De.unsubscribe(),ce.unsubscribe(),L.destroy(),te.destroy(),z==null||z.destroy(),S==null||S.destroy(),Le.unsubscribe(),rt==null||rt.disconnect(),rt=null},bt={interfaceLanguage$:pe,initVideo:Re,videoId:e,isClip:i,playerPhase:me,vsid:q,state:{positionExact$:kt,positionWithScrubbing$:Nn,duration$:jt,playbackState$:li,isPlaying$:Dt,isLoaderVisible:ut,bufferedProgress$:Ui,isLive$:ri,canChangePlaybackSpeed$:$t,isActiveLive$:_i,isOldestAvailableLive$:fi,isRewindableLive$:di,isEnded$:tn,muted$:hi,volume$:Ot,trafficSavingEnabled$:Ai,autoQualityLimitingAvailable$:ai,currentQuality$:Qi,isAutoQualityEnabled$:Gi,availableQualities$:Oi,currentPlaybackRate$:Kt,availablePlaybackRates$:wi,currentSubtitle$:Ft,availableSubtitlesList$:zi,currentSubtitleCaptions$:ki,isAutoSubtitleCaptionVisible$:Hi,chromecastState$:ui,chromecastDeviceName$:Mi,chromecastConnected$:Ni,currentFormat$:Vi,throughputEstimation$:Bi,videoBitrate$:Ri,videoSize$:gi,errorLog$:Ne,crashed$:Ie,isAudioAvailable$:bi,isAudioDisabled:!!r,canDownload:X.features.download&&!!o,availableSources$:Wt,hasMpegSources$:Xi,isInteractive:w,showInteractiveGraph:X.features.interactiveGraph,showSeekToInteractive:X.features.seekToInteractive,showPlayPrevChapter:X.features.interactivePlayPrevChapter,showInteractiveTimeIndicator:X.features.interactiveTimeIndicator&&!!et(Tn).length,interactiveEpisodes$:Tn,isInteractiveTime$:C?yt(C):Me(!1),graphIsOpened$:Me(!1),isInteractiveExpectation$:go,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M,showInteractiveTimeIndicatorTooltip$:Me(!1)},ui:{controlsVisible:Me(!1),touched:Me(!1),controls:{prevButton:Me(void 0),playButton:Me(void 0),replayButton:Me(void 0),nextButton:Me(void 0),playPrevChapterButton:Me(void 0),seekToInteractiveButton:Me(void 0),interactiveGraphButton:Me(void 0),liveButton:Me(void 0),time:Me(void 0),episodes:Me(void 0),volume:Me(void 0),subtitles:Me(void 0),settings:Me(void 0),context:Me(void 0),chromecast:Me(void 0),pip:Me(void 0),fullscreen:Me(void 0),vkLogo:Me(void 0),interactiveTimeIndicator:Me(void 0),additionalButtons:Q.length?Q.reduce(I=>[...I,Me(void 0)],[]):[],disabledControls$:Te},modals:{hotKeyMap:{show:Me(!1),data:Me({title:"",closeBtnText:"",groups:[]})}},isFullscreen:$,rotateAlpha:je,isAutoplay:Me(!1),contextMenuVisible:Me(!1),debugPanelVisible:Me(!1),episodes:{panelOpened$:Me(!1),openedByKeyboard$:Me(!1)},contextMenu:{btnRef$:Me(void 0),openedByKeyboard$:Me(!1),showContextMenuBtn$:Me(!1)},playerSize:yn,isMobile:x,mobileNotReportControlHidden$:fn,mobileUnmuteButtonExpanded:Me(!1),mobileUnmuteButtonVisible:Me(!1),icon3DVideoVisible:Me(!1),settingsMenuVisible:Me(!1),settingsMenuOpenedByKeyboard:Me(!1),scrubbingInProgress:Mt,is3DVideo:Me(!1),isPictureInPictureActive$:en,pictureInPictureType$:Dn(se),clientInfo$:Dn(ye),currentGridType$:Cn,additionalButtons$:ht,interactiveHideMobileControls:Me(!1),overlayContainer$:Me(void 0),startedByKeyboard$:Me(!1)},ads:{position:Me(0),duration:Me(0),playbackState:Me(ni.INACTIVE),canSkip:Me(!1),secondsToWatchBeforeSkip:Me(0),postrollPassed:Me(!1)},webApi:{pictureInPictureApi:ee,annotationsApi:Pe},actions:{internal:{preload:pi,firstStart:I=>mo(I,!1),pause:()=>J(!1),togglePlay:Ve,toggleMuted:Ki,toggleSettingsMenu:Ti,openSettingsMenu:Gt,closeSettingsMenu:Ci,setVolume:He,setQuality:sn,setTrafficSavingEnabled:I=>an(I),setPlaybackRate:Ji,incrementPlaybackRate:un,decrementPlaybackRate:xi,setSubtitle:Yt,toggleSubtitle:$i,togglePictureInPicture:gn,startScrubbing:_n,progressScrubbing:wn,completeScrubbing:Rn,toggleChromecast:mn,switchToActiveLive:on,switchFromAdsToVideo:dn,switchFromVideoToAds:Qn,skipAd:vn,setWaitingLive:Xn,setWaitingRecord:Jn,getDebugTextData:On,getDebugPanelData:xn,getVideoElement:Sn,seekTime:(I,ie,ve)=>Pi(I,ie,ve),clearDelayedBufferingCheckTimeout:mt,seekEpisodeStartTime:ji,seekToPercent:Nt,getNextEpisode:po,seekToNextEpisode:ho,getPrevEpisode:vo,seekToPrevEpisode:W,startLogging:gt,stopLogging:st,startCameraManualRotation:Rt,stopCameraManualRotation:dt,moveCameraFocusPX:Pt,holdCamera:$e,releaseCamera:We,getVideoEpisodes:ro,getPreviewThumbsData:Et,downloadVideo:yi,addLanguage:Ss,setLanguage:ae,nextMovie:xe,videoRotate:ln,correctSeekTimeToInteractive:bo,replayInteractive:k},external:{firstStart:I=>mo(I,!0),play:()=>lo(!0),pause:()=>J(!0),seekTime:I=>Qt(I),seekEpisodeStartTime:I=>it(I),setPlaybackRate:I=>ti(I),setAutoQualityLimits:I=>ne(I),setMuted:I=>mi(I,!0),setVolume:I=>He(I,I,!0),returnFocusToEpisodes:tl}},callbacks:s,setUiCallbacks:I=>{be={...I}},getAdmanWrapper:()=>te,getLogger:()=>B,destroy:il};return bt},Pf=(t,e,i,n)=>{var l;if(!t)return;const r=["interactiveTimeIndicator"],o=t.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=i[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},Sf=async(t,e,i)=>{await Ko(),e&&i&&(i.focus(),t.set(!1))};function Cg(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Tg extends we{constructor(e){super(),_e(this,e,null,Cg,ge,{})}}function Pg(t){let e,i;return e=new Tg({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sg(t){let e,i,n;function l(o){t[8](o)}let r={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[Pg]},$$scope:{ctx:t}};return t[2]!==void 0&&(r.ref=t[2]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!i&&s&4&&(i=!0,a.ref=o[2],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Eg(t,e,i){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Ct(),s=o.ui.contextMenuVisible;D(t,s,b=>i(3,n=b));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,d=b=>{const C=Mr(b);a.set(C),s.set(!n)};let h;const _=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(b){h=b,i(2,h)}return t.$$set=b=>{"disabled"in b&&i(0,l=b.disabled),"ariaLabel"in b&&i(1,r=b.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,d,_,g,w]}class Ig extends we{constructor(e){super(),_e(this,e,Eg,Sg,ge,{disabled:0,ariaLabel:1})}}function Ag(t){Ze(t,"v-iigqlx",".interactive-episode-icon-animated.v-iigqlx{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-iigqlx{opacity:0;visibility:hidden}.fullscreen.v-iigqlx:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-iigqlx{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-iigqlx{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-iigqlx{top:40px;right:16px}}@keyframes v-iigqlx-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-iigqlx:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-iigqlx-pulse infinite;transition:0.3ms;pointer-events:none}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-iigqlx{position:absolute;top:0;width:100%;height:100%}.hidden.v-iigqlx{display:none}")}function Lg(t){let e,i,n,l;return e=new lf({props:{completed:!0}}),{c(){U(e.$$.fragment),i=N(),n=E("div"),u(n,"class","ref-block v-iigqlx"),V(n,"hidden",t[1])},m(r,o){F(e,r,o),P(r,i,o),P(r,n,o),t[18](n),l=!0},p(r,o){(!l||o&2)&&V(n,"hidden",r[1])},i(r){l||(m(e.$$.fragment,r),l=!0)},o(r){v(e.$$.fragment,r),l=!1},d(r){r&&(T(i),T(n)),H(e,r),t[18](null)}}}function Mg(t){let e,i,n,l,r,o;function s(c){t[19](c)}let a={tooltipContent:G("tooltip_interactive_interaction_time_indicator"),tooltipActive:t[2],initialTranslateYPx:72,tooltipPlacement:"bottom",$$slots:{default:[Lg]},$$scope:{ctx:t}};return t[0]!==void 0&&(a.ref=t[0]),i=new qt({props:a}),Ce.push(()=>qe(i,"ref",s)),i.$on("click",t[11]),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-iigqlx"),V(e,"mobile",t[3]),V(e,"fullscreen",t[4]),V(e,"invisible",t[1])},m(c,f){P(c,e,f),F(i,e,null),l=!0,r||(o=he(e,"mousemove",ot(t[17])),r=!0)},p(c,[f]){const d={};f&4&&(d.tooltipActive=c[2]),f&8388611&&(d.$$scope={dirty:f,ctx:c}),!n&&f&1&&(n=!0,d.ref=c[0],Ue(()=>n=!1)),i.$set(d),(!l||f&8)&&V(e,"mobile",c[3]),(!l||f&16)&&V(e,"fullscreen",c[4]),(!l||f&2)&&V(e,"invisible",c[1])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&T(e),H(i),r=!1,o()}}}function Vg(t,e,i){var Z;let n,l,r,o,s,a,{ref:c=void 0}=e;const f=Ct(),d=f.ui.isMobile;D(t,d,Y=>i(3,s=Y));const h=f.ui.isFullscreen;D(t,h,Y=>i(4,a=Y));const _=f.state.isInteractiveTime$;D(t,_,Y=>i(15,r=Y));const g=f.state.showInteractiveTimeIndicatorTooltip$;D(t,g,Y=>i(13,n=Y));const w=f.ui.controlsVisible;D(t,w,Y=>i(16,o=Y));const b=(Z=f.callbacks)==null?void 0:Z.onInteractiveTimeIndicatorClick,{interactiveControlsOpacity$:C}=Yo();D(t,C,Y=>i(14,l=Y));let k,y,M,Q;const A=()=>{M||b==null||b()};Zo(()=>{window.clearTimeout(k)});function z(Y){uo.call(this,t,Y)}function re(Y){Ce[Y?"unshift":"push"](()=>{c=Y,i(0,c)})}function le(Y){c=Y,i(0,c)}return t.$$set=Y=>{"ref"in Y&&i(0,c=Y.ref)},t.$$.update=()=>{t.$$.dirty&65544&&i(12,y=!s&&o),t.$$.dirty&53248&&i(1,M=!r||!!l||y),t.$$.dirty&8194&&i(2,Q=n&&!M),t.$$.dirty&4&&Q&&(k=window.setTimeout(()=>{g.set(!1)},3e3))},[c,M,Q,s,a,d,h,_,g,w,C,A,y,n,l,r,o,z,re,le]}class Ef extends we{constructor(e){super(),_e(this,e,Vg,Mg,ge,{ref:0},Ag)}}function Bg(t){Ze(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ua(t,e,i){const n=t.slice();return n[209]=e[i].iconUrl,n[210]=e[i].ariaLabel,n[211]=e[i].testId,n[212]=e[i].onClick,n[213]=e[i].tooltip,n}function qa(t){let e,i,n;function l(o){t[173](o)}let r={disabled:!t[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[Rg]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(r.ref=t[23].prevButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].prevButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Rg(t){let e,i;return e=new Rl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ja(t){let e,i,n;function l(o){t[174](o)}let r={disabled:t[74],tooltipContent:G("tooltip_restart"),$$slots:{default:[Ng]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(r.ref=t[23].replayButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[2]&4096|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ng(t){let e,i;return e=new Fr({props:{click:t[128],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wa(t){let e,i,n;function l(o){t[176](o)}let r={tooltipContent:t[47],disabled:t[75],$$slots:{default:[Og]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(r.ref=t[23].playButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&65536&&(a.tooltipContent=o[47]),s[2]&8192&&(a.disabled=o[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Og(t){let e,i,n;function l(o){t[175](o)}let r={isMobile:!1,isPlaying:t[34],click:t[85],disabled:t[75]};return t[26]!==void 0&&(r.ref=t[26]),e=new zr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.isPlaying=o[34]),s[2]&8192&&(a.disabled=o[75]),!i&&s[0]&67108864&&(i=!0,a.ref=o[26],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Za(t){let e,i,n;function l(o){t[177](o)}let r={disabled:!t[8],tooltipContent:G("tooltip_next"),$$slots:{default:[Dg]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(r.ref=t[23].nextButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].nextButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Dg(t){let e,i;return e=new Rl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zg(t){let e,i,n,l,r=t[121]&&Fg(t),o=t[120]&&Ug(t),s=t[119]&&jg(t);return{c(){r&&r.c(),e=N(),o&&o.c(),i=N(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&o.p(a,c),a[119]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(T(e),T(i),T(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Fg(t){let e,i,n;function l(o){t[178](o)}let r={disabled:t[73],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(t[124]),$$slots:{default:[Hg]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(r.ref=t[23].playPrevChapterButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&2048&&(a.disabled=o[73]),s[0]&131072|s[2]&2048|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playPrevChapterButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Hg(t){let e,i;return e=new _f({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&2048&&(r.disabled=n[73]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ug(t){let e,i,n;function l(o){t[179](o)}let r={disabled:t[76],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(t[78]),$$slots:{default:[qg]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(r.ref=t[23].seekToInteractiveButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&16384&&(a.disabled=o[76]),s[2]&65536&&(a.disabledTooltipContent=G(o[78])),s[0]&32768|s[2]&16384|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].seekToInteractiveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function qg(t){let e,i;return e=new vf({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&16384&&(r.disabled=n[76]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function jg(t){let e,i,n;function l(o){t[180](o)}let r={tooltipContent:t[48],disabled:t[77],$$slots:{default:[Wg]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(r.ref=t[23].interactiveGraphButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&32768&&(a.disabled=o[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveGraphButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Wg(t){let e,i;return e=new gf({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ka(t){let e,i,n;function l(o){t[181](o)}let r={tooltipContent:t[50],$$slots:{default:[Zg]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(r.ref=t[23].liveButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.tooltipContent=o[50]),s[0]&2097152|s[1]&524288|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].liveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Zg(t){let e,i;return e=new ff({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ga(t){let e,i,n;function l(o){t[182](o)}let r={isMobile:!1,showDuration:t[55],position:t[4]?t[79]:t[80],duration:t[4]?t[81]:t[82]};return t[23].time!==void 0&&(r.ref=t[23].time),e=new nf({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.showDuration=o[55]),s[0]&16|s[2]&393216&&(a.position=o[4]?o[79]:o[80]),s[0]&16|s[2]&1572864&&(a.duration=o[4]?o[81]:o[82]),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].time,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ya(t){let e,i;return e=new hf({props:{position:t[80],duration:t[82],timeCodes:t[101]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&262144&&(r.position=n[80]),l[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Kg(t){let e,i,n=t[20]&&Ya(t);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=Ya(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),v(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&T(e),n&&n.d(l)}}}function Gg(t){var n;let e,i;return e=new wf({props:{iconUrl:t[209],ariaLabel:(n=t[210])!=null?n:t[213],testId:t[211],onClick:t[212]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[209]),r[0]&268435456&&(o.ariaLabel=(s=l[210])!=null?s:l[213]),r[0]&268435456&&(o.testId=l[211]),r[0]&268435456&&(o.onClick=l[212]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Qa(t){let e,i;return e=new qt({props:{tooltipContent:t[213],width:40,$$slots:{default:[Gg]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[213]),l[0]&268435456|l[6]&1073741824&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xa(t){let e,i,n;function l(o){t[185](o)}let r={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[Yg]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(r.ref=t[23].vkLogo),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Yg(t){let e,i;return e=new uf({props:{click:t[86],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qg(t){let e,i;return e=new uv({props:{click:t[127]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ja(t){let e,i,n;function l(o){t[187](o)}let r={tooltipContent:t[52],$$slots:{default:[Xg]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(r.ref=t[23].subtitles),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].subtitles,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xg(t){let e,i;return e=new wh({props:{isSubtitlesEnabled:t[18],click:t[87]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xa(t){var s;let e,i,n,l;function r(a){t[188](a)}let o={supportLink:t[10],playerControlsHeight:(s=t[46])==null?void 0:s.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(o.ref=t[24]),i=new tf({props:o}),Ce.push(()=>qe(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){P(a,e,c),F(i,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(d=a[46])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],Ue(()=>n=!1)),i.$set(f)},i(a){l||(m(i.$$.fragment,a),l=!0)},o(a){v(i.$$.fragment,a),l=!1},d(a){a&&T(e),H(i)}}}function $a(t){let e,i,n;function l(o){t[190](o)}let r={tooltipContent:t[27]?void 0:G("tooltip_settings_off"),$$slots:{default:[Jg]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(r.ref=t[23].settings),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].settings,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Jg(t){let e,i,n;function l(o){t[189](o)}let r={};return t[25]!==void 0&&(r.ref=t[25]),e=new Nr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&33554432&&(i=!0,a.ref=o[25],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function xg(t){let e,i,n;function l(o){t[191](o)}let r={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[$g]},$$scope:{ctx:t}};return t[23].context!==void 0&&(r.ref=t[23].context),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&1024&&(a.className=o[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=o[49]),s[1]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].context,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $g(t){let e,i;return e=new Ig({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function eu(t){let e,i,n;function l(o){t[192](o)}let r={tooltipContent:t[53],$$slots:{default:[eb]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(r.ref=t[23].fullscreen),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&1073750016|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function eb(t){let e,i;return e=new sf({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function tu(t){let e,i,n;function l(o){t[193](o)}let r={tooltipContent:t[54],$$slots:{default:[tb]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(r.ref=t[23].chromecast),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&536870912|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].chromecast,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tb(t){let e,i;return e=new cf({props:{isMobile:!1,state:t[29],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ib(t){let e,i,n;function l(o){t[196](o)}let r={};return t[23].interactiveTimeIndicator!==void 0&&(r.ref=t[23].interactiveTimeIndicator),e=new Ef({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveTimeIndicator,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function nb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L;i=new pf({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let B=t[38]&&qa(t),te=t[35]&&ja(t),S=t[36]&&Wa(t),ee=t[37]&&Za(t),Pe=t[117]&&zg(t),ke=!t[4]&&t[33]&&Ka(t),Ee=t[19]&&Ga(t);function Be(me){t[183](me)}let be={className:"w-max",disabled:!t[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[Kg]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(be.ref=t[23].episodes),_=new qt({props:be}),Ce.push(()=>qe(_,"ref",Be));let ye=Jt(t[28]),q=[];for(let me=0;me<ye.length;me+=1)q[me]=Qa(Ua(t,ye,me));const $=me=>v(q[me],1,1,()=>{q[me]=null});let ue=t[43]&&Xa(t);function se(me){t[186](me)}let je={$$slots:{default:[Qg]},$$scope:{ctx:t}};t[23].volume!==void 0&&(je.ref=t[23].volume),M=new qt({props:je}),Ce.push(()=>qe(M,"ref",se));let Ne=t[40]&&Ja(t),Le=!t[83]&&!t[4]&&xa(t),Ie=t[42]&&$a(t),ae=t[84].features.contextMenuButton&&xg(t),pe=t[44]&&eu(t),oe=t[39]&&tu(t),Ae=t[122]&&ib(t);return{c(){e=E("div"),U(i.$$.fragment),n=N(),l=E("div"),r=E("div"),B&&B.c(),o=N(),te&&te.c(),s=N(),S&&S.c(),a=N(),ee&&ee.c(),c=N(),Pe&&Pe.c(),f=N(),ke&&ke.c(),d=N(),Ee&&Ee.c(),h=N(),U(_.$$.fragment),b=N(),C=E("div");for(let me=0;me<q.length;me+=1)q[me].c();k=N(),ue&&ue.c(),y=N(),U(M.$$.fragment),A=N(),Ne&&Ne.c(),z=N(),Le&&Le.c(),re=N(),Ie&&Ie.c(),le=N(),ae&&ae.c(),Z=N(),pe&&pe.c(),Y=N(),oe&&oe.c(),O=N(),Ae&&Ae.c(),X=pt(),u(r,"class","controls-left v-st0uzk"),Mo(()=>t[184].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",t[1]),V(e,"controls-hidden",!t[3]),V(e,"no-smooth",t[2])},m(me,Te){P(me,e,Te),F(i,e,null),p(e,n),p(e,l),p(l,r),B&&B.m(r,null),p(r,o),te&&te.m(r,null),p(r,s),S&&S.m(r,null),p(r,a),ee&&ee.m(r,null),p(r,c),Pe&&Pe.m(r,null),p(r,f),ke&&ke.m(r,null),p(r,d),Ee&&Ee.m(r,null),p(r,h),F(_,r,null),w=kr(r,t[184].bind(r)),p(l,b),p(l,C);for(let Ke=0;Ke<q.length;Ke+=1)q[Ke]&&q[Ke].m(C,null);p(C,k),ue&&ue.m(C,null),p(C,y),F(M,C,null),p(C,A),Ne&&Ne.m(C,null),p(C,z),Le&&Le.m(C,null),p(C,re),Ie&&Ie.m(C,null),p(C,le),ae&&ae.m(C,null),p(C,Z),pe&&pe.m(C,null),p(C,Y),oe&&oe.m(C,null),t[194](l),t[195](e),P(me,O,Te),Ae&&Ae.m(me,Te),P(me,X,Te),L=!0},p(me,Te){const Ke={};Te[1]&16384&&(Ke.isHidden=!me[45]),Te[0]&16&&(Ke.isAds=me[4]),Te[0]&32&&(Ke.canRewindLive=me[5]),Te[1]&2&&(Ke.isRewindableLive=me[32]),i.$set(Ke),me[38]?B?(B.p(me,Te),Te[1]&128&&m(B,1)):(B=qa(me),B.c(),m(B,1),B.m(r,o)):B&&(fe(),v(B,1,1,()=>{B=null}),de()),me[35]?te?(te.p(me,Te),Te[1]&16&&m(te,1)):(te=ja(me),te.c(),m(te,1),te.m(r,s)):te&&(fe(),v(te,1,1,()=>{te=null}),de()),me[36]?S?(S.p(me,Te),Te[1]&32&&m(S,1)):(S=Wa(me),S.c(),m(S,1),S.m(r,a)):S&&(fe(),v(S,1,1,()=>{S=null}),de()),me[37]?ee?(ee.p(me,Te),Te[1]&64&&m(ee,1)):(ee=Za(me),ee.c(),m(ee,1),ee.m(r,c)):ee&&(fe(),v(ee,1,1,()=>{ee=null}),de()),me[117]&&Pe.p(me,Te),!me[4]&&me[33]?ke?(ke.p(me,Te),Te[0]&16|Te[1]&4&&m(ke,1)):(ke=Ka(me),ke.c(),m(ke,1),ke.m(r,d)):ke&&(fe(),v(ke,1,1,()=>{ke=null}),de()),me[19]?Ee?(Ee.p(me,Te),Te[0]&524288&&m(Ee,1)):(Ee=Ga(me),Ee.c(),m(Ee,1),Ee.m(r,h)):Ee&&(fe(),v(Ee,1,1,()=>{Ee=null}),de());const Re={};if(Te[0]&1048576&&(Re.disabled=!me[20]),Te[0]&1048576|Te[2]&1310720|Te[6]&1073741824&&(Re.$$scope={dirty:Te,ctx:me}),!g&&Te[0]&8388608&&(g=!0,Re.ref=me[23].episodes,Ue(()=>g=!1)),_.$set(Re),Te[0]&268435456){ye=Jt(me[28]);let xe;for(xe=0;xe<ye.length;xe+=1){const at=Ua(me,ye,xe);q[xe]?(q[xe].p(at,Te),m(q[xe],1)):(q[xe]=Qa(at),q[xe].c(),m(q[xe],1),q[xe].m(C,k))}for(fe(),xe=ye.length;xe<q.length;xe+=1)$(xe);de()}me[43]?ue?(ue.p(me,Te),Te[1]&4096&&m(ue,1)):(ue=Xa(me),ue.c(),m(ue,1),ue.m(C,y)):ue&&(fe(),v(ue,1,1,()=>{ue=null}),de());const Je={};Te[6]&1073741824&&(Je.$$scope={dirty:Te,ctx:me}),!Q&&Te[0]&8388608&&(Q=!0,Je.ref=me[23].volume,Ue(()=>Q=!1)),M.$set(Je),me[40]?Ne?(Ne.p(me,Te),Te[1]&512&&m(Ne,1)):(Ne=Ja(me),Ne.c(),m(Ne,1),Ne.m(C,z)):Ne&&(fe(),v(Ne,1,1,()=>{Ne=null}),de()),!me[83]&&!me[4]?Le?(Le.p(me,Te),Te[0]&16|Te[2]&2097152&&m(Le,1)):(Le=xa(me),Le.c(),m(Le,1),Le.m(C,re)):Le&&(fe(),v(Le,1,1,()=>{Le=null}),de()),me[42]?Ie?(Ie.p(me,Te),Te[1]&2048&&m(Ie,1)):(Ie=$a(me),Ie.c(),m(Ie,1),Ie.m(C,le)):Ie&&(fe(),v(Ie,1,1,()=>{Ie=null}),de()),me[84].features.contextMenuButton&&ae.p(me,Te),me[44]?pe?(pe.p(me,Te),Te[1]&8192&&m(pe,1)):(pe=eu(me),pe.c(),m(pe,1),pe.m(C,Y)):pe&&(fe(),v(pe,1,1,()=>{pe=null}),de()),me[39]?oe?(oe.p(me,Te),Te[1]&256&&m(oe,1)):(oe=tu(me),oe.c(),m(oe,1),oe.m(C,null)):oe&&(fe(),v(oe,1,1,()=>{oe=null}),de()),(!L||Te[0]&2)&&V(e,"hidden",me[1]),(!L||Te[0]&8)&&V(e,"controls-hidden",!me[3]),(!L||Te[0]&4)&&V(e,"no-smooth",me[2]),me[122]&&Ae.p(me,Te)},i(me){if(!L){m(i.$$.fragment,me),m(B),m(te),m(S),m(ee),m(Pe),m(ke),m(Ee),m(_.$$.fragment,me);for(let Te=0;Te<ye.length;Te+=1)m(q[Te]);m(ue),m(M.$$.fragment,me),m(Ne),m(Le),m(Ie),m(ae),m(pe),m(oe),m(Ae),L=!0}},o(me){v(i.$$.fragment,me),v(B),v(te),v(S),v(ee),v(Pe),v(ke),v(Ee),v(_.$$.fragment,me),q=q.filter(Boolean);for(let Te=0;Te<q.length;Te+=1)v(q[Te]);v(ue),v(M.$$.fragment,me),v(Ne),v(Le),v(Ie),v(ae),v(pe),v(oe),v(Ae),L=!1},d(me){me&&(T(e),T(O),T(X)),H(i),B&&B.d(),te&&te.d(),S&&S.d(),ee&&ee.d(),Pe&&Pe.d(),ke&&ke.d(),Ee&&Ee.d(),H(_),w(),Bn(q,me),ue&&ue.d(),H(M),Ne&&Ne.d(),Le&&Le.d(),Ie&&Ie.d(),ae&&ae.d(),pe&&pe.d(),oe&&oe.d(),t[194](null),t[195](null),Ae&&Ae.d(me)}}}function ob(t,e,i){var Yr,Qr;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe=K,ke=()=>(Pe(),Pe=ii(le,j=>i(144,ee=j)),le),Ee,Be=K,be=()=>(Be(),Be=ii(re,j=>i(145,Ee=j)),re),ye,q=K,$=()=>(q(),q=ii(z,j=>i(146,ye=j)),z),ue,se=K,je=()=>(se(),se=ii(A,j=>i(147,ue=j)),A),Ne,Le=K,Ie=()=>(Le(),Le=ii(Q,j=>i(148,Ne=j)),Q),ae,pe=K,oe=()=>(pe(),pe=ii(M,j=>i(149,ae=j)),M),Ae,me=K,Te=()=>(me(),me=ii(y,j=>i(150,Ae=j)),y),Ke,Re=K,Je=()=>(Re(),Re=ii(k,j=>i(151,Ke=j)),k),xe,at=K,lt=()=>(at(),at=ii(C,j=>i(152,xe=j)),C),Tt,rt=K,xt=()=>(rt(),rt=ii(b,j=>i(153,Tt=j)),b),wt,De=K,ce=()=>(De(),De=ii(w,j=>i(154,wt=j)),w),gt,st=K,Rt=()=>(st(),st=ii(g,j=>i(155,gt=j)),g),dt,Pt=K,$e=()=>(Pt(),Pt=ii(_,j=>i(156,dt=j)),_),We,kt=K,en=()=>(kt(),kt=ii(h,j=>i(157,We=j)),h),li,Ii=K,tn=()=>(Ii(),Ii=ii(d,j=>i(158,li=j)),d),ri,$t=K,si=()=>($t(),$t=ii(f,j=>i(159,ri=j)),f),Ot,hi=K,Ai=()=>(hi(),hi=ii(c,j=>i(160,Ot=j)),c),ai,Li,vi,ui,Mi,Vi,Bi,Ri,gi,It,bi,Lt,ci,ut,mt,jt,Dt,_i,fi,ei,di,Ni,At;t.$$.on_destroy.push(()=>Pe()),t.$$.on_destroy.push(()=>Be()),t.$$.on_destroy.push(()=>q()),t.$$.on_destroy.push(()=>se()),t.$$.on_destroy.push(()=>Le()),t.$$.on_destroy.push(()=>pe()),t.$$.on_destroy.push(()=>me()),t.$$.on_destroy.push(()=>Re()),t.$$.on_destroy.push(()=>at()),t.$$.on_destroy.push(()=>rt()),t.$$.on_destroy.push(()=>De()),t.$$.on_destroy.push(()=>st()),t.$$.on_destroy.push(()=>Pt()),t.$$.on_destroy.push(()=>kt()),t.$$.on_destroy.push(()=>Ii()),t.$$.on_destroy.push(()=>$t()),t.$$.on_destroy.push(()=>hi());let{bottomHidden:Gi}=e,{bottomNoSmooth:Yi}=e,{showControls:Qi}=e,{controlsElementRef:Oi=void 0}=e,{isAds:Kt=!1}=e,{canRewindLive:wi}=e,{logoClickable:nn}=e,{logoHidden:Di}=e,{videoLogoUrl:zt}=e,{showNextPrevButtons:Ft}=e,{nextButtonActive:zi}=e,{prevButtonActive:Fi}=e,{isOneVideoPlaylist:ki=!1}=e,{supportLink:Hi}=e,{customFullscreenSupported:Ui=!0}=e,{playNextVideo:Wt}=e,{playPrevVideo:Xi}=e,{repeatPlaylist:qi}=e,{toggleFullscreen:yi}=e,{returnFocus:Ki}=e,{seekToInteractive:Ci}=e,{toggleGraph:Gt}=e,{playPrevChapter:Ti}=e;const He=Ct(),mi=Yo(),pi=bn(),Ve=He.actions.internal.toggleMuted,sn=He.actions.internal.togglePlay,an=He.actions.internal.pause,Ji=He.actions.internal.toggleSubtitle,un=(Yr=He.callbacks)==null?void 0:Yr.onAudioDoesNotExistHint,xi=(Qr=He.callbacks)==null?void 0:Qr.onAudioDisabledHint,Yt=He.state.duration$;D(t,Yt,j=>i(82,Ni=j));const $i=He.state.positionWithScrubbing$;D(t,$i,j=>i(80,ei=j));const Pi=He.state.playbackState$;D(t,Pi,j=>i(161,vi=j));const ji=He.state.chromecastConnected$;D(t,ji,j=>i(83,At=j));const Nt=He.state.isAudioAvailable$;D(t,Nt,j=>i(197,Z=j));const Qt=He.state.isAudioDisabled,ne=He.state.isEnded$;D(t,ne,j=>i(169,ut=j));const it=He.state.isLive$;D(t,it,j=>i(33,Ri=j));const ti=He.state.isActiveLive$;D(t,ti,j=>i(163,Vi=j));const St=He.state.isRewindableLive$;D(t,St,j=>i(32,Bi=j));const Mt=He.ui.isPictureInPictureActive$;D(t,Mt,j=>i(165,It=j));const _n=He.ui.pictureInPictureType$;D(t,_n,j=>i(164,gi=j));const wn=He.ui.settingsMenuVisible;D(t,wn,j=>i(27,X=j));const hn=He.ui.settingsMenuOpenedByKeyboard;D(t,hn,j=>i(140,O=j));const cn=He.ui.controls,Wi=He.actions.internal.getVideoEpisodes(),kn=He.state.chromecastState$;D(t,kn,j=>i(29,ai=j));const Rn=He.state.availableSubtitlesList$;D(t,Rn,j=>i(168,ci=j));const Nn=He.state.currentSubtitle$;D(t,Nn,j=>i(170,mt=j));const yn=cn.disabledControls$;D(t,yn,j=>i(172,Dt=j));const Cn=He.ui.contextMenuVisible;D(t,Cn,j=>i(162,ui=j));const x=He.ui.contextMenu.showContextMenuBtn$;D(t,x,j=>i(166,bi=j));const ht=He.ui.contextMenu.openedByKeyboard$;D(t,ht,j=>i(167,Lt=j));const fn=He.ui.startedByKeyboard$;D(t,fn,j=>i(139,Y=j));const on=He.ads.duration;D(t,on,j=>i(81,di=j));const vn=He.ads.position;D(t,vn,j=>i(79,fi=j));const dn=He.ads.playbackState;D(t,dn,j=>i(171,jt=j));const Qn=He.ui.isFullscreen;D(t,Qn,j=>i(30,Li=j));const Xn=He.ui.playerSize;D(t,Xn,j=>i(142,B=j));const Jn=He.ui.currentGridType$;D(t,Jn,j=>i(143,te=j));const On=He.ui.additionalButtons$;D(t,On,j=>i(28,S=j));const xn=He.actions.internal.getVideoElement,Sn=He.actions.internal.replayInteractive,mn=He.state.isInteractive,J=He.state.isInteractiveTime$;D(t,J,j=>i(141,L=j));const lo=He.state.showInteractiveGraph,mo=He.state.showSeekToInteractive,ro=He.state.showPlayPrevChapter,po=He.state.showInteractiveTimeIndicator,ho=He.state.graphIsOpened$;D(t,ho,j=>i(31,Mi=j));const vo=He.state.playPrevChapterDisabledTooltip,W=mi.seekToInteractiveDisabledTooltip$;D(t,W,j=>i(78,_i=j));const Et=()=>He.actions.internal.toggleChromecast();let gn,ln,Tn,go,bo,tl,il,bt,I,ie,ve,ze,Xe,ct,Vt,_t,Si,$n,nl,No,qr,Nl="";const Uf=(j,Dl)=>{if(!j){i(50,Nl=G("tooltip_live"));return}Dl===Xt.PAUSED&&i(50,Nl=G("tooltip_play"))};let jr,Wr,Zr,Kr,ol;const Ge={};let En,Oo,Ol,Gr;const qf=Al(Pf,F1,{leading:!1});let ll,rl,sl;function jf(){Qt?xi==null||xi():Z?Ve():un==null||un()}const Wf=mn?Sn:ki?sn:qi;function Zf(j){t.$$.not_equal(Ge.prevButton,j)&&(Ge.prevButton=j,i(23,Ge))}function Kf(j){t.$$.not_equal(Ge.replayButton,j)&&(Ge.replayButton=j,i(23,Ge))}function Gf(j){sl=j,i(26,sl)}function Yf(j){t.$$.not_equal(Ge.playButton,j)&&(Ge.playButton=j,i(23,Ge))}function Qf(j){t.$$.not_equal(Ge.nextButton,j)&&(Ge.nextButton=j,i(23,Ge))}function Xf(j){t.$$.not_equal(Ge.playPrevChapterButton,j)&&(Ge.playPrevChapterButton=j,i(23,Ge))}function Jf(j){t.$$.not_equal(Ge.seekToInteractiveButton,j)&&(Ge.seekToInteractiveButton=j,i(23,Ge))}function xf(j){t.$$.not_equal(Ge.interactiveGraphButton,j)&&(Ge.interactiveGraphButton=j,i(23,Ge))}function $f(j){t.$$.not_equal(Ge.liveButton,j)&&(Ge.liveButton=j,i(23,Ge))}function e0(j){t.$$.not_equal(Ge.time,j)&&(Ge.time=j,i(23,Ge))}function t0(j){t.$$.not_equal(Ge.episodes,j)&&(Ge.episodes=j,i(23,Ge))}function i0(){ol=this.clientWidth,i(22,ol)}function n0(j){t.$$.not_equal(Ge.vkLogo,j)&&(Ge.vkLogo=j,i(23,Ge))}function o0(j){t.$$.not_equal(Ge.volume,j)&&(Ge.volume=j,i(23,Ge))}function l0(j){t.$$.not_equal(Ge.subtitles,j)&&(Ge.subtitles=j,i(23,Ge))}function r0(j){ll=j,i(24,ll)}function s0(j){rl=j,i(25,rl)}function a0(j){t.$$.not_equal(Ge.settings,j)&&(Ge.settings=j,i(23,Ge))}function u0(j){t.$$.not_equal(Ge.context,j)&&(Ge.context=j,i(23,Ge))}function c0(j){t.$$.not_equal(Ge.fullscreen,j)&&(Ge.fullscreen=j,i(23,Ge))}function f0(j){t.$$.not_equal(Ge.chromecast,j)&&(Ge.chromecast=j,i(23,Ge))}function d0(j){Ce[j?"unshift":"push"](()=>{Si=j,i(46,Si)})}function m0(j){Ce[j?"unshift":"push"](()=>{Oi=j,i(0,Oi)})}function p0(j){t.$$.not_equal(Ge.interactiveTimeIndicator,j)&&(Ge.interactiveTimeIndicator=j,i(23,Ge))}return t.$$set=j=>{"bottomHidden"in j&&i(1,Gi=j.bottomHidden),"bottomNoSmooth"in j&&i(2,Yi=j.bottomNoSmooth),"showControls"in j&&i(3,Qi=j.showControls),"controlsElementRef"in j&&i(0,Oi=j.controlsElementRef),"isAds"in j&&i(4,Kt=j.isAds),"canRewindLive"in j&&i(5,wi=j.canRewindLive),"logoClickable"in j&&i(6,nn=j.logoClickable),"logoHidden"in j&&i(129,Di=j.logoHidden),"videoLogoUrl"in j&&i(7,zt=j.videoLogoUrl),"showNextPrevButtons"in j&&i(130,Ft=j.showNextPrevButtons),"nextButtonActive"in j&&i(8,zi=j.nextButtonActive),"prevButtonActive"in j&&i(9,Fi=j.prevButtonActive),"isOneVideoPlaylist"in j&&i(131,ki=j.isOneVideoPlaylist),"supportLink"in j&&i(10,Hi=j.supportLink),"customFullscreenSupported"in j&&i(132,Ui=j.customFullscreenSupported),"playNextVideo"in j&&i(11,Wt=j.playNextVideo),"playPrevVideo"in j&&i(12,Xi=j.playPrevVideo),"repeatPlaylist"in j&&i(133,qi=j.repeatPlaylist),"toggleFullscreen"in j&&i(13,yi=j.toggleFullscreen),"returnFocus"in j&&i(14,Ki=j.returnFocus),"seekToInteractive"in j&&i(15,Ci=j.seekToInteractive),"toggleGraph"in j&&i(16,Gt=j.toggleGraph),"playPrevChapter"in j&&i(17,Ti=j.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&131072&&i(138,n=Dt.has(ft.EPISODE_BUTTON)),t.$$.dirty[5]&131072&&i(77,l=Dt.has(ft.GRAPH_BUTTON)),t.$$.dirty[5]&131072&&i(76,r=Dt.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&131072&&i(75,o=Dt.has(ft.PLAY_BUTTON)),t.$$.dirty[5]&131072&&i(74,s=Dt.has(ft.REPLAY_BUTTON)),t.$$.dirty[5]&131072&&i(73,a=Dt.has(ft.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&65600&&i(34,gn=Kt?jt===ni.PLAYING:vi===Xt.PLAYING),t.$$.dirty[5]&32768&&i(18,ln=mt.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(35,Tn=ut&&!Kt||mn),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(36,go=!ut||mn||Kt),t.$$.dirty[4]&524288&&i(134,bo=In(te,Bt.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&524352&&i(37,tl=Ft&&In(te,Bt.M)&&!Kt&&zi),t.$$.dirty[0]&528|t.$$.dirty[4]&524352&&i(38,il=Ft&&In(te,Bt.M)&&!Kt&&Fi),t.$$.dirty[0]&536870912|t.$$.dirty[4]&524288|t.$$.dirty[5]&1536&&i(39,bt=ai!==zn.NOT_AVAILABLE&&!(It&&gi===qn.DocumentPictureInPicture)&&In(te,Bt.M)&&!mn),t.$$.dirty[4]&524288|t.$$.dirty[5]&8192&&i(40,I=ci.length>0&&In(te,Bt.M)),t.$$.dirty[5]&6144&&i(41,ie=Lt||bi),t.$$.dirty[4]&524288&&i(42,ve=In(te,Bt.S)),t.$$.dirty[4]&32&&i(43,ze=!Di),t.$$.dirty[4]&524576|t.$$.dirty[5]&1536&&i(44,Xe=pi.features.fullscreen&&(Di||In(te,Bt.S))&&!(It&&gi===qn.DocumentPictureInPicture)&&(mn?Ui:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,ct=(!Ri||Kt)&&!(pi.features.interactiveHideTime&&mn)),t.$$.dirty[4]&262144&&i(45,Vt=B.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&17408&&i(20,_t=!Kt&&!Ri&&!!(Wi!=null&&Wi.length)&&bo&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&256&&i(21,$n=!Bi||Vi),t.$$.dirty[5]&64&&i(47,nl=vi===Xt.PLAYING?G("tooltip_pause"):G("tooltip_play")),t.$$.dirty[1]&1&&i(48,No=G(Mi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&128&&i(49,qr=G(ui?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&64&&Uf($n,vi),t.$$.dirty[0]&262144&&i(52,Wr=G(ln?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Zr=G(Li?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,Kr=ai===zn.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2146435072|t.$$.dirty[5]&63&&i(135,En={prevButton:Ot?Ot.right-Ot.left:0,replayButton:ri?ri.right-ri.left:0,playButton:li?li.right-li.left:0,nextButton:We?We.right-We.left:0,playPrevChapterButton:dt?dt.right-dt.left:0,seekToInteractiveButton:gt?gt.right-gt.left:0,interactiveGraphButton:wt?wt.right-wt.left:0,liveButton:Tt?Tt.right-Tt.left:0,time:xe?xe.right-xe.left:0,episodes:Ke?Ke.right-Ke.left:0,vkLogo:Ae?Ae.right-Ae.left:0,volume:ae?ae.right-ae.left:0,subtitles:Ne?Ne.right-Ne.left:0,settings:ue?ue.right-ue.left:0,context:ye?ye.right-ye.left:0,fullscreen:Ee?Ee.right-Ee.left:0,chromecast:ee?ee.right-ee.left:0,additionalButtons:S.length?S.reduce(j=>[...j,40],[]):[]}),t.$$.dirty[4]&6144&&(!Oo||Oo<En.time)&&i(136,Oo=En.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&530432){let j=0;_t&&(In(te,Bt.XL)?j=En.time:j=ld);const Dl=En.prevButton+En.playButton+En.nextButton+En.seekToInteractiveButton+En.interactiveGraphButton+En.liveButton+Oo+j;i(137,Ol=ct&&ol>=Dl)}t.$$.dirty[4]&532480&&i(55,Gr=Ol&&In(te,Bt.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&393216&&qf(xn(),cn,Ge,Qi),t.$$.dirty[0]&167772160&&Vr(rl,X,hn),t.$$.dirty[0]&150994944|t.$$.dirty[4]&65536&&Br(ll,X,O),t.$$.dirty[0]&67108864|t.$$.dirty[4]&32768&&Sf(fn,Y,sl)},i(51,jr=pi.logoType===Vo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),Ai(i(72,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:b,time:C,episodes:k,vkLogo:y,volume:M,subtitles:Q,settings:A,context:z,fullscreen:re,chromecast:le}=cn,c,si(i(71,f)),tn(i(70,d)),en(i(69,h)),$e(i(68,_)),Rt(i(67,g)),ce(i(66,w)),xt(i(65,b)),lt(i(64,C)),Je(i(63,k)),Te(i(62,y)),oe(i(61,M)),Ie(i(60,Q)),je(i(59,A)),$(i(58,z)),be(i(57,re)),ke(i(56,le)))),[Oi,Gi,Yi,Qi,Kt,wi,nn,zt,zi,Fi,Hi,Wt,Xi,yi,Ki,Ci,Gt,Ti,ln,ct,_t,$n,ol,Ge,ll,rl,sl,X,S,ai,Li,Mi,Bi,Ri,gn,Tn,go,tl,il,bt,I,ie,ve,ze,Xe,Vt,Si,nl,No,qr,Nl,jr,Wr,Zr,Kr,Gr,le,re,z,A,Q,M,y,k,C,b,w,g,_,h,d,f,c,a,s,o,r,l,_i,fi,ei,di,Ni,At,pi,sn,an,Ji,Yt,$i,Pi,ji,Nt,ne,it,ti,St,Mt,_n,wn,hn,Wi,kn,Rn,Nn,yn,Cn,x,ht,fn,on,vn,dn,Qn,Xn,Jn,On,mn,J,lo,mo,ro,po,ho,vo,W,Et,jf,Wf,Di,Ft,ki,Ui,qi,bo,En,Oo,Ol,n,Y,O,L,B,te,ee,Ee,ye,ue,Ne,ae,Ae,Ke,xe,Tt,wt,gt,dt,We,li,ri,Ot,vi,ui,Vi,gi,It,bi,Lt,ci,ut,mt,jt,Dt,Zf,Kf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0,c0,f0,d0,m0,p0]}class lb extends we{constructor(e){super(),_e(this,e,ob,nb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:129,videoLogoUrl:7,showNextPrevButtons:130,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:131,supportLink:10,customFullscreenSupported:132,playNextVideo:11,playPrevVideo:12,repeatPlaylist:133,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Bg,[-1,-1,-1,-1,-1,-1,-1])}}function rb(t){let e,i,n,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class sb extends we{constructor(e){super(),_e(this,e,null,rb,ge,{})}}function ab(t){Ze(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function iu(t){let e;return{c(){e=E("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){P(i,e,n)},p:K,d(i){i&&T(e)}}}function ub(t){let e,i,n,l;var r=t[4];function o(a){return{}}r&&(i=Fn(r,o()));let s=t[1]&&iu();return{c(){e=E("div"),i&&U(i.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",t[1])},m(a,c){P(a,e,c),i&&F(i,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(i){fe();const f=i;v(f.$$.fragment,1,0,()=>{H(f,1)}),de()}r?(i=Fn(r,o()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?s?s.p(a,c):(s=iu(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&V(e,"expanded",a[1])},i(a){l||(i&&m(i.$$.fragment,a),l=!0)},o(a){i&&v(i.$$.fragment,a),l=!1},d(a){a&&T(e),i&&H(i),s&&s.d()}}}function cb(t){let e,i,n;function l(o){t[6](o)}let r={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[ub]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fb(t,e,i){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=Ye}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,i(0,o)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,l=f.expanded),"click"in f&&i(2,r=f.click),"ref"in f&&i(0,o=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=l?Bl:sb)},[o,l,r,s,a,n,c]}class If extends we{constructor(e){super(),_e(this,e,fb,cb,ge,{muted:5,expanded:1,click:2,ref:0},ab)}}function db(t){let e,i,n,l;return{c(){e=R("svg"),i=R("path"),n=R("path"),l=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!t[0]),u(l,"fill",t[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),V(l,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p(r,[o]){o&2&&u(i,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&V(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&V(l,"hidden",r[0])},i:K,o:K,d(r){r&&T(e)}}}function mb(t,e,i){let n,{isActive:l=!1}=e;return t.$$set=r=>{"isActive"in r&&i(0,l=r.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=l?"#2688EB":"#fff")},[l,n]}class pb extends we{constructor(e){super(),_e(this,e,mb,db,ge,{isActive:0})}}function hb(t){let e,i;return e=new pb({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vb(t){let e,i,n;function l(o){t[3](o)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:t[2],$$slots:{default:[hb]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ei({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function gb(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=Ye}=e;function o(s){n=s,i(0,n)}return t.$$set=s=>{"ref"in s&&i(0,n=s.ref),"isPictureInPictureActive"in s&&i(1,l=s.isPictureInPictureActive),"click"in s&&i(2,r=s.click)},[n,l,r,o]}class bb extends we{constructor(e){super(),_e(this,e,gb,vb,ge,{ref:0,isPictureInPictureActive:1,click:2})}}function _b(t){Ze(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function nu(t,e,i){const n=t.slice();return n[169]=e[i].iconUrl,n[170]=e[i].ariaLabel,n[171]=e[i].testId,n[172]=e[i].onClick,n[173]=e[i].tooltip,n}function ou(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k=(!t[51]||t[53])&&lu(t),y=Jt(t[56]),M=[];for(let B=0;B<y.length;B+=1)M[B]=ru(nu(t,y,B));const Q=B=>v(M[B],1,1,()=>{M[B]=null});let A=t[36]&&su(t),z=t[37]&&au(t),re=t[57]&&uu(t),le=t[39]&&cu(t),Z=t[8]&&fu(t),Y=t[34]&&du(t),O=t[33]&&mu(t),X=t[8]&&pu(t),L=t[96]&&!t[29]&&hu(t);return{c(){e=E("div"),i=N(),n=E("div"),k&&k.c(),l=N(),r=E("div");for(let B=0;B<M.length;B+=1)M[B].c();o=N(),A&&A.c(),s=N(),z&&z.c(),a=N(),re&&re.c(),c=N(),le&&le.c(),f=N(),d=E("div"),Z&&Z.c(),h=N(),Y&&Y.c(),_=N(),O&&O.c(),g=N(),X&&X.c(),w=N(),L&&L.c(),b=pt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!t[3]),V(n,"fullscreen",t[52]),u(r,"class","wrapper-top-right v-1tcstu3"),V(r,"hidden",!t[3]&&!t[27]),V(r,"fullscreen",t[52]),u(d,"class","wrapper-middle v-1tcstu3"),V(d,"hidden",!t[3]||t[29])},m(B,te){P(B,e,te),P(B,i,te),P(B,n,te),k&&k.m(n,null),P(B,l,te),P(B,r,te);for(let S=0;S<M.length;S+=1)M[S]&&M[S].m(r,null);p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),re&&re.m(r,null),p(r,c),le&&le.m(r,null),P(B,f,te),P(B,d,te),Z&&Z.m(d,null),p(d,h),Y&&Y.m(d,null),p(d,_),O&&O.m(d,null),p(d,g),X&&X.m(d,null),P(B,w,te),L&&L.m(B,te),P(B,b,te),C=!0},p(B,te){if((!C||te[1]&2048)&&V(e,"hidden",!B[42]),!B[51]||B[53]?k?(k.p(B,te),te[1]&5242880&&m(k,1)):(k=lu(B),k.c(),m(k,1),k.m(n,null)):k&&(fe(),v(k,1,1,()=>{k=null}),de()),(!C||te[0]&8)&&V(n,"hidden",!B[3]),(!C||te[1]&2097152)&&V(n,"fullscreen",B[52]),te[1]&33554432){y=Jt(B[56]);let S;for(S=0;S<y.length;S+=1){const ee=nu(B,y,S);M[S]?(M[S].p(ee,te),m(M[S],1)):(M[S]=ru(ee),M[S].c(),m(M[S],1),M[S].m(r,o))}for(fe(),S=y.length;S<M.length;S+=1)Q(S);de()}B[36]?A?(A.p(B,te),te[1]&32&&m(A,1)):(A=su(B),A.c(),m(A,1),A.m(r,s)):A&&(fe(),v(A,1,1,()=>{A=null}),de()),B[37]?z?(z.p(B,te),te[1]&64&&m(z,1)):(z=au(B),z.c(),m(z,1),z.m(r,a)):z&&(fe(),v(z,1,1,()=>{z=null}),de()),B[57]?re?(re.p(B,te),te[1]&67108864&&m(re,1)):(re=uu(B),re.c(),m(re,1),re.m(r,c)):re&&(fe(),v(re,1,1,()=>{re=null}),de()),B[39]?le?(le.p(B,te),te[1]&256&&m(le,1)):(le=cu(B),le.c(),m(le,1),le.m(r,null)):le&&(fe(),v(le,1,1,()=>{le=null}),de()),(!C||te[0]&134217736)&&V(r,"hidden",!B[3]&&!B[27]),(!C||te[1]&2097152)&&V(r,"fullscreen",B[52]),B[8]?Z?(Z.p(B,te),te[0]&256&&m(Z,1)):(Z=fu(B),Z.c(),m(Z,1),Z.m(d,h)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),B[34]?Y?(Y.p(B,te),te[1]&8&&m(Y,1)):(Y=du(B),Y.c(),m(Y,1),Y.m(d,_)):Y&&(fe(),v(Y,1,1,()=>{Y=null}),de()),B[33]?O?(O.p(B,te),te[1]&4&&m(O,1)):(O=mu(B),O.c(),m(O,1),O.m(d,g)):O&&(fe(),v(O,1,1,()=>{O=null}),de()),B[8]?X?(X.p(B,te),te[0]&256&&m(X,1)):(X=pu(B),X.c(),m(X,1),X.m(d,null)):X&&(fe(),v(X,1,1,()=>{X=null}),de()),(!C||te[0]&536870920)&&V(d,"hidden",!B[3]||B[29]),B[96]&&!B[29]?L?(L.p(B,te),te[0]&536870912&&m(L,1)):(L=hu(B),L.c(),m(L,1),L.m(b.parentNode,b)):L&&(fe(),v(L,1,1,()=>{L=null}),de())},i(B){if(!C){m(k);for(let te=0;te<y.length;te+=1)m(M[te]);m(A),m(z),m(re),m(le),m(Z),m(Y),m(O),m(X),m(L),C=!0}},o(B){v(k),M=M.filter(Boolean);for(let te=0;te<M.length;te+=1)v(M[te]);v(A),v(z),v(re),v(le),v(Z),v(Y),v(O),v(X),v(L),C=!1},d(B){B&&(T(e),T(i),T(n),T(l),T(r),T(f),T(d),T(w),T(b)),k&&k.d(),Bn(M,B),A&&A.d(),z&&z.d(),re&&re.d(),le&&le.d(),Z&&Z.d(),Y&&Y.d(),O&&O.d(),X&&X.d(),L&&L.d(B)}}}function lu(t){let e,i,n;function l(o){t[130](o)}let r={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[106]};return t[20].volume!==void 0&&(r.ref=t[20].volume),e=new If({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.muted=o[54]),s[1]&17825792&&(a.expanded=o[51]&&!o[70]&&o[55]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].volume,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ru(t){var n;let e,i;return e=new wf({props:{iconUrl:t[169],ariaLabel:(n=t[170])!=null?n:t[173],testId:t[171],onClick:t[172]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[1]&33554432&&(o.iconUrl=l[169]),r[1]&33554432&&(o.ariaLabel=(s=l[170])!=null?s:l[173]),r[1]&33554432&&(o.testId=l[171]),r[1]&33554432&&(o.onClick=l[172]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function su(t){let e,i,n;function l(o){t[131](o)}let r={isMobile:!0,click:t[104],state:t[28]};return t[20].chromecast!==void 0&&(r.ref=t[20].chromecast),e=new cf({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].chromecast,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function au(t){let e,i,n;function l(o){t[132](o)}let r={click:t[105],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(r.ref=t[20].pip),e=new bb({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].pip,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function uu(t){let e,i,n;function l(o){t[133](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Nr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function cu(t){let e,i,n;function l(o){t[134](o)}let r={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(r.ref=t[20].vkLogo),e=new uf({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fu(t){let e,i,n;function l(o){t[135](o)}let r={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(r.ref=t[20].prevButton),e=new Rl({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].prevButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function du(t){let e,i,n;function l(o){t[136](o)}let r={disabled:t[49],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(r.ref=t[20].playButton),e=new zr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&1&&(a.isPlaying=o[31]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].playButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function mu(t){let e,i,n;function l(o){t[137](o)}let r={disabled:t[48],click:t[107],isMobile:!0};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Fr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function pu(t){let e,i,n;function l(o){t[138](o)}let r={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(r.ref=t[20].nextButton),e=new Rl({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].nextButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function hu(t){let e,i,n,l,r=t[100]&&wb(t),o=t[98]&&kb(t),s=t[99]&&yb(t);return{c(){r&&r.c(),e=N(),o&&o.c(),i=N(),s&&s.c(),n=pt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[100]&&r.p(a,c),a[98]&&o.p(a,c),a[99]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(T(e),T(i),T(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function wb(t){let e,i,n,l,r,o;function s(c){t[139](c)}let a={hidden:!t[3],disabled:t[47],click:t[18]};return t[20].playPrevChapterButton!==void 0&&(a.ref=t[20].playPrevChapterButton),i=new _f({props:a}),Ce.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",t[52]),V(e,"hidden",!t[3])},m(c,f){P(c,e,f),F(i,e,null),l=!0,r||(o=he(e,"click",t[108]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,Ue(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&V(e,"fullscreen",c[52]),(!l||f[0]&8)&&V(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&T(e),H(i),r=!1,o()}}}function kb(t){let e,i,n,l;function r(s){t[140](s)}let o={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(o.ref=t[20].interactiveGraphButton),i=new gf({props:o}),Ce.push(()=>qe(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class",F0(t[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",t[52]),V(e,"hidden",!t[3]&&!t[58])},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,Ue(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!l||a[0]&8|a[1]&134217728)&&V(e,"hidden",!s[3]&&!s[58])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&T(e),H(i)}}}function yb(t){let e,i,n,l,r,o;function s(c){t[141](c)}let a={hidden:!t[3],disabled:t[46],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(a.ref=t[20].seekToInteractiveButton),i=new vf({props:a}),Ce.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",t[52]),V(e,"hidden",!t[3])},m(c,f){P(c,e,f),F(i,e,null),l=!0,r||(o=he(e,"click",t[109]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&32768&&(d.disabled=c[46]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,Ue(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&V(e,"fullscreen",c[52]),(!l||f[0]&8)&&V(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&T(e),H(i),r=!1,o()}}}function vu(t){let e,i,n,l,r,o=t[53]&&gu(t),s=t[32]&&bu(t);return l=new mf({props:{position:t[59],duration:t[60]}}),{c(){o&&o.c(),e=N(),s&&s.c(),i=N(),n=E("div"),U(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",t[52])},m(a,c){o&&o.m(a,c),P(a,e,c),s&&s.m(a,c),P(a,i,c),P(a,n,c),F(l,n,null),r=!0},p(a,c){a[53]?o?(o.p(a,c),c[1]&4194304&&m(o,1)):(o=gu(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(fe(),v(o,1,1,()=>{o=null}),de()),a[32]?s?(s.p(a,c),c[1]&2&&m(s,1)):(s=bu(a),s.c(),m(s,1),s.m(i.parentNode,i)):s&&(fe(),v(s,1,1,()=>{s=null}),de());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),l.$set(f),(!r||c[1]&2097152)&&V(n,"fullscreen",a[52])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){v(o),v(s),v(l.$$.fragment,a),r=!1},d(a){a&&(T(e),T(i),T(n)),o&&o.d(a),s&&s.d(a),H(l)}}}function gu(t){let e,i,n,l;function r(s){t[142](s)}let o={muted:t[54],expanded:!1,click:t[106]};return t[20].volume!==void 0&&(o.ref=t[20].volume),i=new If({props:o}),Ce.push(()=>qe(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",t[52])},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,Ue(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&V(e,"fullscreen",s[52])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&T(e),H(i)}}}function bu(t){let e,i,n,l;function r(s){t[143](s)}let o={disabled:t[49],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(o.ref=t[20].playButton),i=new zr({props:o}),Ce.push(()=>qe(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&262144&&(c.disabled=s[49]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,Ue(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&T(e),H(i)}}}function Cb(t){let e,i,n;function l(o){t[144](o)}let r={disabled:t[48],$$slots:{default:[Tb]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),s[1]&131072|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Tb(t){let e,i;return e=new Fr({props:{disabled:t[48],click:t[95]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&131072&&(r.disabled=n[48]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _u(t){let e,i,n;function l(o){t[145](o)}let r={$$slots:{default:[Pb]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(r.ref=t[20].liveButton),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&16384|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].liveButton,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Pb(t){let e,i;return e=new ff({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wu(t){let e,i,n;function l(o){t[146](o)}let r={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(r.ref=t[20].time),e=new nf({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.showDuration=o[35]),s[0]&16|s[1]&1342177280&&(a.position=o[4]?o[59]:o[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=o[4]?o[60]:o[62]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].time,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ku(t){let e,i,n,l;return n=new hf({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=E("div"),e.textContent="\xB7",i=N(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),P(r,i,o),F(n,r,o),l=!0},p(r,o){const s={};o[1]&1073741824&&(s.position=r[61]),o[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){v(n.$$.fragment,r),l=!1},d(r){r&&(T(e),T(i)),H(n,r)}}}function Sb(t){let e,i,n=t[43]&&ku(t);return{c(){n&&n.c(),e=pt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[43]?n?(n.p(l,r),r[1]&4096&&m(n,1)):(n=ku(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(fe(),v(n,1,1,()=>{n=null}),de())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&T(e),n&&n.d(l)}}}function yu(t){let e,i,n;function l(o){t[149](o)}let r={$$slots:{default:[Eb]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(r.ref=t[20].settings),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].settings,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Eb(t){let e,i,n;function l(o){t[148](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new Nr({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Cu(t){let e,i,n;function l(o){t[150](o)}let r={$$slots:{default:[Ib]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(r.ref=t[20].fullscreen),e=new qt({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&2097152|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ib(t){let e,i;return e=new sf({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tu(t){let e,i,n,l;function r(s){t[153](s)}let o={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(o.ref=t[21]),i=new tf({props:o}),Ce.push(()=>qe(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],Ue(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&T(e),H(i)}}}function Ab(t){let e,i,n;function l(o){t[154](o)}let r={};return t[20].interactiveTimeIndicator!==void 0&&(r.ref=t[20].interactiveTimeIndicator),e=new Ef({props:r}),Ce.push(()=>qe(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&1048576&&(i=!0,a.ref=o[20].interactiveTimeIndicator,Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Lb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y=!t[4]&&ou(t),M=t[4]&&t[30]!==ni.INACTIVE&&vu(t),Q=t[96]&&Cb(t),A=!t[4]&&t[25]&&_u(t),z=t[41]&&wu(t);function re(L){t[147](L)}let le={className:"w-max",disabled:!t[43],$$slots:{default:[Sb]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(le.ref=t[20].episodes),c=new qt({props:le}),Ce.push(()=>qe(c,"ref",re));let Z=t[38]&&yu(t),Y=t[40]&&Cu(t);g=new pf({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let O=t[23]&&Tu(t),X=t[101]&&Ab(t);return{c(){y&&y.c(),e=N(),M&&M.c(),i=N(),n=E("div"),l=E("div"),r=E("div"),Q&&Q.c(),o=N(),A&&A.c(),s=N(),z&&z.c(),a=N(),U(c.$$.fragment),d=N(),Z&&Z.c(),h=N(),Y&&Y.c(),_=N(),U(g.$$.fragment),w=N(),O&&O.c(),b=N(),X&&X.c(),C=pt(),u(r,"class","controls v-1tcstu3"),V(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),V(l,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",t[1]),V(n,"controls-hidden",!t[3]),V(n,"no-smooth",t[2]),V(n,"mobile",!0)},m(L,B){y&&y.m(L,B),P(L,e,B),M&&M.m(L,B),P(L,i,B),P(L,n,B),p(n,l),p(l,r),Q&&Q.m(r,null),p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),F(c,r,null),p(r,d),Z&&Z.m(r,null),p(r,h),Y&&Y.m(r,null),t[151](r),p(l,_),F(g,l,null),t[152](n),P(L,w,B),O&&O.m(L,B),P(L,b,B),X&&X.m(L,B),P(L,C,B),k=!0},p(L,B){L[4]?y&&(fe(),v(y,1,1,()=>{y=null}),de()):y?(y.p(L,B),B[0]&16&&m(y,1)):(y=ou(L),y.c(),m(y,1),y.m(e.parentNode,e)),L[4]&&L[30]!==ni.INACTIVE?M?(M.p(L,B),B[0]&1073741840&&m(M,1)):(M=vu(L),M.c(),m(M,1),M.m(i.parentNode,i)):M&&(fe(),v(M,1,1,()=>{M=null}),de()),L[96]&&Q.p(L,B),!L[4]&&L[25]?A?(A.p(L,B),B[0]&33554448&&m(A,1)):(A=_u(L),A.c(),m(A,1),A.m(r,s)):A&&(fe(),v(A,1,1,()=>{A=null}),de()),L[41]?z?(z.p(L,B),B[1]&1024&&m(z,1)):(z=wu(L),z.c(),m(z,1),z.m(r,a)):z&&(fe(),v(z,1,1,()=>{z=null}),de());const te={};B[1]&4096&&(te.disabled=!L[43]),B[1]&1073745920|B[2]&1|B[5]&2097152&&(te.$$scope={dirty:B,ctx:L}),!f&&B[0]&1048576&&(f=!0,te.ref=L[20].episodes,Ue(()=>f=!1)),c.$set(te),L[38]?Z?(Z.p(L,B),B[1]&128&&m(Z,1)):(Z=yu(L),Z.c(),m(Z,1),Z.m(r,h)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),L[40]?Y?(Y.p(L,B),B[1]&512&&m(Y,1)):(Y=Cu(L),Y.c(),m(Y,1),Y.m(r,null)):Y&&(fe(),v(Y,1,1,()=>{Y=null}),de());const S={};B[0]&16&&(S.isAds=L[4]),B[0]&32&&(S.canRewindLive=L[5]),B[0]&16777216&&(S.isRewindableLive=L[24]),g.$set(S),(!k||B[1]&2097152)&&V(l,"fullscreen",L[52]),(!k||B[0]&2)&&V(n,"hidden",L[1]),(!k||B[0]&8)&&V(n,"controls-hidden",!L[3]),(!k||B[0]&4)&&V(n,"no-smooth",L[2]),L[23]?O?(O.p(L,B),B[0]&8388608&&m(O,1)):(O=Tu(L),O.c(),m(O,1),O.m(b.parentNode,b)):O&&(fe(),v(O,1,1,()=>{O=null}),de()),L[101]&&X.p(L,B)},i(L){k||(m(y),m(M),m(Q),m(A),m(z),m(c.$$.fragment,L),m(Z),m(Y),m(g.$$.fragment,L),m(O),m(X),k=!0)},o(L){v(y),v(M),v(Q),v(A),v(z),v(c.$$.fragment,L),v(Z),v(Y),v(g.$$.fragment,L),v(O),v(X),k=!1},d(L){L&&(T(e),T(i),T(n),T(w),T(b),T(C)),y&&y.d(L),M&&M.d(L),Q&&Q.d(),A&&A.d(),z&&z.d(),H(c),Z&&Z.d(),Y&&Y.d(),t[151](null),H(g),t[152](null),O&&O.d(L),X&&X.d(L)}}}function Mb(t,e,i){var Sn,mn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe,ke,Ee,Be,be,{bottomHidden:ye}=e,{bottomNoSmooth:q}=e,{showControls:$}=e,{controlsElementRef:ue=void 0}=e,{isAds:se=!1}=e,{canRewindLive:je}=e,{logoClickable:Ne}=e,{logoHidden:Le}=e,{videoLogoUrl:Ie}=e,{showNextPrevButtons:ae}=e,{nextButtonActive:pe}=e,{prevButtonActive:oe}=e,{isOneVideoPlaylist:Ae=!1}=e,{supportLink:me}=e,{customFullscreenSupported:Te=!0}=e,{playNextVideo:Ke}=e,{playPrevVideo:Re}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:xe}=e,{returnFocus:at}=e,{seekToInteractive:lt}=e,{toggleGraph:Tt}=e,{playPrevChapter:rt}=e,{onDisabledPlayPrevChapterClick:xt}=e,{onDisabledSeekToInteractiveClick:wt}=e;const De=Ct(),ce=Yo(),gt=bn(),st=De.actions.internal.toggleMuted,Rt=De.actions.internal.togglePlay,dt=De.actions.internal.pause,Pt=(Sn=De.callbacks)==null?void 0:Sn.onAudioDoesNotExistHint,$e=(mn=De.callbacks)==null?void 0:mn.onAudioDisabledHint,We=De.playerPhase;D(t,We,J=>i(126,z=J));const kt=De.state.duration$;D(t,kt,J=>i(62,be=J));const en=De.state.positionWithScrubbing$;D(t,en,J=>i(61,Be=J));const li=De.state.playbackState$;D(t,li,J=>i(121,h=J));const Ii=De.state.isAudioAvailable$;D(t,Ii,J=>i(51,_=J));const tn=De.state.isAudioDisabled,ri=De.state.isEnded$;D(t,ri,J=>i(127,le=J));const $t=De.state.isLive$;D(t,$t,J=>i(25,k=J));const si=De.state.muted$;D(t,si,J=>i(54,B=J));const Ot=De.state.isActiveLive$;D(t,Ot,J=>i(124,b=J));const hi=De.state.isRewindableLive$;D(t,hi,J=>i(24,C=J));const Ai=De.ui.scrubbingInProgress;D(t,Ai,J=>i(29,re=J));const ai=De.ui.mobileNotReportControlHidden$;D(t,ai,J=>i(27,Q=J));const Li=De.ui.isPictureInPictureActive$;D(t,Li,J=>i(26,M=J));const vi=De.ui.pictureInPictureType$;D(t,vi,J=>i(125,y=J));const ui=De.ui.mobileUnmuteButtonExpanded;D(t,ui,J=>i(55,te=J));const Mi=De.ui.mobileUnmuteButtonVisible;D(t,Mi,J=>i(53,L=J));const Vi=De.ui.settingsMenuVisible;D(t,Vi,J=>i(23,d=J));const Bi=De.ui.settingsMenuOpenedByKeyboard;D(t,Bi,J=>i(120,f=J));const Ri=De.ui.controls,gi=De.actions.internal.getVideoEpisodes(),It=De.webApi.pictureInPictureApi,bi=De.state.chromecastState$;D(t,bi,J=>i(28,A=J));const Lt=De.state.crashed$;D(t,Lt,J=>i(57,ee=J));const ci=Ri.disabledControls$;D(t,ci,J=>i(128,Y=J));const ut=De.ui.startedByKeyboard$;D(t,ut,J=>i(119,c=J));const mt=De.ads.duration;D(t,mt,J=>i(60,Ee=J));const jt=De.ads.position;D(t,jt,J=>i(59,ke=J));const Dt=De.ads.playbackState;D(t,Dt,J=>i(30,Z=J));const _i=De.ui.isFullscreen;D(t,_i,J=>i(52,X=J));const fi=De.ui.playerSize;D(t,fi,J=>i(123,w=J));const ei=De.ui.additionalButtons$;D(t,ei,J=>i(56,S=J));const di=De.actions.internal.getVideoElement,Ni=De.actions.internal.replayInteractive,At=De.state.isInteractive,Gi=De.state.isInteractiveTime$;D(t,Gi,J=>i(122,g=J));const Yi=De.state.showInteractiveGraph,Qi=De.state.showSeekToInteractive,Oi=De.state.showPlayPrevChapter,Kt=De.state.showInteractiveTimeIndicator,wi=De.state.graphIsOpened$;D(t,wi,J=>i(58,Pe=J));const nn=ce.seekToInteractiveDisabledTooltip$;D(t,nn,J=>i(129,O=J));let Di,zt,Ft,zi,Fi,ki,Hi,Ui,Wt,Xi,qi,yi,Ki,Ci,Gt,Ti,He,mi,pi;const Ve={},sn=Al(Pf,F1,{leading:!1}),an=()=>De.actions.internal.toggleChromecast();function Ji(){tn?$e==null||$e():_?st():Pt==null||Pt()}async function un(){It!=null&&It.isActive()?await(It==null?void 0:It.remove()):await(It==null?void 0:It.request())}function xi(){!tn&&_&&Mi.set(!1),Ji()}const Yt=Ae?Rt:Je;let $i="";const Pi=(J,lo)=>{if(!J){i(45,$i=G("tooltip_live"));return}lo===Xt.PAUSED&&i(45,$i=G("tooltip_play"))};let ji,Nt;const Qt=()=>{a&&xt(Di)},ne=()=>{r&&wt(zt)};function it(J){t.$$.not_equal(Ve.volume,J)&&(Ve.volume=J,i(20,Ve))}function ti(J){t.$$.not_equal(Ve.chromecast,J)&&(Ve.chromecast=J,i(20,Ve))}function St(J){t.$$.not_equal(Ve.pip,J)&&(Ve.pip=J,i(20,Ve))}function Mt(J){Nt=J,i(22,Nt)}function _n(J){t.$$.not_equal(Ve.vkLogo,J)&&(Ve.vkLogo=J,i(20,Ve))}function wn(J){t.$$.not_equal(Ve.prevButton,J)&&(Ve.prevButton=J,i(20,Ve))}function hn(J){t.$$.not_equal(Ve.playButton,J)&&(Ve.playButton=J,i(20,Ve))}function cn(J){t.$$.not_equal(Ve.replayButton,J)&&(Ve.replayButton=J,i(20,Ve))}function Wi(J){t.$$.not_equal(Ve.nextButton,J)&&(Ve.nextButton=J,i(20,Ve))}function kn(J){t.$$.not_equal(Ve.playPrevChapterButton,J)&&(Ve.playPrevChapterButton=J,i(20,Ve))}function Rn(J){t.$$.not_equal(Ve.interactiveGraphButton,J)&&(Ve.interactiveGraphButton=J,i(20,Ve))}function Nn(J){t.$$.not_equal(Ve.seekToInteractiveButton,J)&&(Ve.seekToInteractiveButton=J,i(20,Ve))}function yn(J){t.$$.not_equal(Ve.volume,J)&&(Ve.volume=J,i(20,Ve))}function Cn(J){t.$$.not_equal(Ve.playButton,J)&&(Ve.playButton=J,i(20,Ve))}function x(J){t.$$.not_equal(Ve.replayButton,J)&&(Ve.replayButton=J,i(20,Ve))}function ht(J){t.$$.not_equal(Ve.liveButton,J)&&(Ve.liveButton=J,i(20,Ve))}function fn(J){t.$$.not_equal(Ve.time,J)&&(Ve.time=J,i(20,Ve))}function on(J){t.$$.not_equal(Ve.episodes,J)&&(Ve.episodes=J,i(20,Ve))}function vn(J){Nt=J,i(22,Nt)}function dn(J){t.$$.not_equal(Ve.settings,J)&&(Ve.settings=J,i(20,Ve))}function Qn(J){t.$$.not_equal(Ve.fullscreen,J)&&(Ve.fullscreen=J,i(20,Ve))}function Xn(J){Ce[J?"unshift":"push"](()=>{mi=J,i(44,mi)})}function Jn(J){Ce[J?"unshift":"push"](()=>{ue=J,i(0,ue)})}function On(J){ji=J,i(21,ji)}function xn(J){t.$$.not_equal(Ve.interactiveTimeIndicator,J)&&(Ve.interactiveTimeIndicator=J,i(20,Ve))}return t.$$set=J=>{"bottomHidden"in J&&i(1,ye=J.bottomHidden),"bottomNoSmooth"in J&&i(2,q=J.bottomNoSmooth),"showControls"in J&&i(3,$=J.showControls),"controlsElementRef"in J&&i(0,ue=J.controlsElementRef),"isAds"in J&&i(4,se=J.isAds),"canRewindLive"in J&&i(5,je=J.canRewindLive),"logoClickable"in J&&i(6,Ne=J.logoClickable),"logoHidden"in J&&i(110,Le=J.logoHidden),"videoLogoUrl"in J&&i(7,Ie=J.videoLogoUrl),"showNextPrevButtons"in J&&i(8,ae=J.showNextPrevButtons),"nextButtonActive"in J&&i(9,pe=J.nextButtonActive),"prevButtonActive"in J&&i(10,oe=J.prevButtonActive),"isOneVideoPlaylist"in J&&i(111,Ae=J.isOneVideoPlaylist),"supportLink"in J&&i(11,me=J.supportLink),"customFullscreenSupported"in J&&i(112,Te=J.customFullscreenSupported),"playNextVideo"in J&&i(12,Ke=J.playNextVideo),"playPrevVideo"in J&&i(13,Re=J.playPrevVideo),"repeatPlaylist"in J&&i(113,Je=J.repeatPlaylist),"toggleFullscreen"in J&&i(14,xe=J.toggleFullscreen),"returnFocus"in J&&i(15,at=J.returnFocus),"seekToInteractive"in J&&i(16,lt=J.seekToInteractive),"toggleGraph"in J&&i(17,Tt=J.toggleGraph),"playPrevChapter"in J&&i(18,rt=J.playPrevChapter),"onDisabledPlayPrevChapterClick"in J&&i(114,xt=J.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in J&&i(115,wt=J.onDisabledSeekToInteractiveClick)},t.$$.update=()=>{if(t.$$.dirty[4]&32&&(zt=G(O)),t.$$.dirty[4]&16&&i(118,n=Y.has(ft.EPISODE_BUTTON)),t.$$.dirty[4]&16&&i(50,l=Y.has(ft.GRAPH_BUTTON)),t.$$.dirty[4]&16&&i(46,r=Y.has(ft.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&16&&i(49,o=Y.has(ft.PLAY_BUTTON)),t.$$.dirty[4]&16&&i(48,s=Y.has(ft.REPLAY_BUTTON)),t.$$.dirty[4]&16&&i(47,a=Y.has(ft.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&268435456&&i(31,Ft=h===Xt.PLAYING),t.$$.dirty[0]&1073741824&&i(32,zi=Z===ni.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(33,Fi=le&&!se&&!At),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(34,ki=!le||se),t.$$.dirty[3]&1073741824&&i(116,Hi=w.width>300),t.$$.dirty[3]&1073741824&&i(35,Ui=w.width>400),t.$$.dirty[0]&536870912&&i(117,Wt=re),t.$$.dirty[0]&469762048|t.$$.dirty[4]&2&&i(36,Xi=A!==zn.NOT_AVAILABLE&&!(M&&y===qn.DocumentPictureInPicture)&&!Q&&!At),t.$$.dirty[0]&402653184|t.$$.dirty[3]&16777216|t.$$.dirty[4]&6){const J=z===Oe.WaitingLive;i(37,qi=!!It&&A!==zn.CONNECTED&&!Q&&(y===qn.DocumentPictureInPicture&&J||!J)&&!Wt&&!At)}t.$$.dirty[3]&16777216&&i(38,yi=!Wt),t.$$.dirty[3]&1073872896&&i(39,Ki=!Le&&w.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&17301504|t.$$.dirty[4]&2&&i(40,Ci=gt.features.fullscreen&&!(M&&y===qn.DocumentPictureInPicture)&&(At?Te:!0)&&!Wt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&1090519040&&i(41,Gt=(!k||se)&&w.width>260&&!Wt&&!(gt.features.interactiveHideTime&&At)),t.$$.dirty[0]&8388616&&i(42,Ti=d||$),t.$$.dirty[0]&33554448|t.$$.dirty[3]&58720256&&i(43,He=!se&&!k&&!!(gi!=null&&gi.length)&&Hi&&!n&&!Wt),t.$$.dirty[0]&16777216|t.$$.dirty[4]&1&&i(19,pi=!C||b),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1610612736&&sn(di(),Ri,Ve,$),t.$$.dirty[0]&524288|t.$$.dirty[3]&268435456&&Pi(pi,h),t.$$.dirty[0]&12582912&&Vr(Nt,d,Bi),t.$$.dirty[0]&10485760|t.$$.dirty[3]&134217728&&Br(ji,d,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&67108864&&Sf(ut,c,Ve.playButton)},Di=G(De.state.playPrevChapterDisabledTooltip),[ue,ye,q,$,se,je,Ne,Ie,ae,pe,oe,me,Ke,Re,xe,at,lt,Tt,rt,pi,Ve,ji,Nt,d,C,k,M,Q,A,re,Z,Ft,zi,Fi,ki,Ui,Xi,qi,yi,Ki,Ci,Gt,Ti,He,mi,$i,r,a,s,o,l,_,X,L,B,te,S,ee,Pe,ke,Ee,Be,be,Rt,dt,We,kt,en,li,Ii,tn,ri,$t,si,Ot,hi,Ai,ai,Li,vi,ui,Mi,Vi,Bi,gi,bi,Lt,ci,ut,mt,jt,Dt,_i,fi,ei,Ni,At,Gi,Yi,Qi,Oi,Kt,wi,nn,an,un,xi,Yt,Qt,ne,Le,Ae,Te,Je,xt,wt,Hi,Wt,n,c,f,h,g,w,b,y,z,le,Y,O,it,ti,St,Mt,_n,wn,hn,cn,Wi,kn,Rn,Nn,yn,Cn,x,ht,fn,on,vn,dn,Qn,Xn,Jn,On,xn]}class Vb extends we{constructor(e){super(),_e(this,e,Mb,Lb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:110,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:111,supportLink:11,customFullscreenSupported:112,playNextVideo:12,playPrevVideo:13,repeatPlaylist:113,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:114,onDisabledSeekToInteractiveClick:115},_b,[-1,-1,-1,-1,-1,-1])}}function Bb(t){let e,i,n;function l(o){t[28](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new lb({props:r}),Ce.push(()=>qe(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Rb(t){let e,i,n;function l(o){t[27](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22],onDisabledPlayPrevChapterClick:t[23],onDisabledSeekToInteractiveClick:t[24]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new Vb({props:r}),Ce.push(()=>qe(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Nb(t){let e,i,n,l;const r=[Rb,Bb],o=[];function s(a,c){return a[25]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=pt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&T(n),o[e].d(a)}}}function Ob(t,e,i){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:b=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:M}=e,{repeatPlaylist:Q}=e,{toggleFullscreen:A}=e,{returnFocus:z=Ye}=e,{seekToInteractive:re}=e,{toggleGraph:le}=e,{playPrevChapter:Z}=e,{onDisabledPlayPrevChapterClick:Y=Ye}=e,{onDisabledSeekToInteractiveClick:O=Ye}=e;const L=Ct().ui.isMobile;D(t,L,S=>i(25,n=S));function B(S){s=S,i(0,s)}function te(S){s=S,i(0,s)}return t.$$set=S=>{"bottomHidden"in S&&i(1,l=S.bottomHidden),"bottomNoSmooth"in S&&i(2,r=S.bottomNoSmooth),"showControls"in S&&i(3,o=S.showControls),"controlsElementRef"in S&&i(0,s=S.controlsElementRef),"isAds"in S&&i(4,a=S.isAds),"canRewindLive"in S&&i(5,c=S.canRewindLive),"logoClickable"in S&&i(6,f=S.logoClickable),"logoHidden"in S&&i(7,d=S.logoHidden),"videoLogoUrl"in S&&i(8,h=S.videoLogoUrl),"showNextPrevButtons"in S&&i(9,_=S.showNextPrevButtons),"nextButtonActive"in S&&i(10,g=S.nextButtonActive),"prevButtonActive"in S&&i(11,w=S.prevButtonActive),"isOneVideoPlaylist"in S&&i(12,b=S.isOneVideoPlaylist),"supportLink"in S&&i(13,C=S.supportLink),"customFullscreenSupported"in S&&i(14,k=S.customFullscreenSupported),"playNextVideo"in S&&i(15,y=S.playNextVideo),"playPrevVideo"in S&&i(16,M=S.playPrevVideo),"repeatPlaylist"in S&&i(17,Q=S.repeatPlaylist),"toggleFullscreen"in S&&i(18,A=S.toggleFullscreen),"returnFocus"in S&&i(19,z=S.returnFocus),"seekToInteractive"in S&&i(20,re=S.seekToInteractive),"toggleGraph"in S&&i(21,le=S.toggleGraph),"playPrevChapter"in S&&i(22,Z=S.playPrevChapter),"onDisabledPlayPrevChapterClick"in S&&i(23,Y=S.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in S&&i(24,O=S.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,n,L,B,te]}class Af extends we{constructor(e){super(),_e(this,e,Ob,Nb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function Db(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function zb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("defs"),o=R("filter"),s=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),d=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&T(e)}}}function Fb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Hb extends we{constructor(e){super(),_e(this,e,Fb,zb,ge,{reversed:0},Db)}}function Ub(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("defs"),o=R("clipPath"),s=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),d=R("feOffset"),h=R("feGaussianBlur"),_=R("feColorMatrix"),g=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(b,C){P(b,e,C),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,_),p(a,g),p(a,w)},d(b){b&&T(e)}}}function qb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("path"),o=R("defs"),s=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),d=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),g=R("feColorMatrix"),w=R("feBlend"),b=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104293"),u(b,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){P(C,e,k),p(e,i),p(i,n),p(i,l),p(i,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},d(C){C&&T(e)}}}function jb(t){let e;function i(r,o){return r[0]?qb:Ub}let n=i(t),l=n(t);return{c(){l.c(),e=pt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&T(e),l.d(r)}}}function Wb(t,e,i){let{isOff:n=!1}=e;return t.$$set=l=>{"isOff"in l&&i(0,n=l.isOff)},[n]}class Lf extends we{constructor(e){super(),_e(this,e,Wb,jb,ge,{isOff:0})}}function Zb(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Kb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("defs"),o=R("filter"),s=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),d=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&T(e)}}}function Gb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class Yb extends we{constructor(e){super(),_e(this,e,Gb,Kb,ge,{reversed:0},Zb)}}function Qb(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Xb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),r=R("defs"),o=R("filter"),s=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),d=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&T(e)}}}function Jb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class xb extends we{constructor(e){super(),_e(this,e,Jb,Xb,ge,{reversed:0},Qb)}}function $b(t){Ze(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Pu(t){let e,i=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(t[4]),n,l,r,o,s,a,c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(t[4]),f,d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(t[4]),h,_,g,w,b,C=i&&Su(t),k=t[4]===Qe.PAUSE&&Eu(),y=t[4]===Qe.PLAY&&Iu(),M=t[4]===Qe.REPLAY&&Au(),Q=t[4]===Qe.SUBTITLES_OFF&&Lu(),A=t[4]===Qe.SUBTITLES_ON&&Mu(),z=c&&Vu(t),re=d&&Bu(t),le=t[4]===Qe.MUTE&&Ru(),Z=t[4]===Qe.VOLUME&&Nu(),Y=t[5]&&Ou(t);return{c(){e=E("div"),C&&C.c(),n=N(),k&&k.c(),l=N(),y&&y.c(),r=N(),M&&M.c(),o=N(),Q&&Q.c(),s=N(),A&&A.c(),a=N(),z&&z.c(),f=N(),re&&re.c(),h=N(),le&&le.c(),_=N(),Z&&Z.c(),g=N(),Y&&Y.c(),w=pt(),u(e,"class","v-4ftgwp")},m(O,X){P(O,e,X),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),M&&M.m(e,null),p(e,o),Q&&Q.m(e,null),p(e,s),A&&A.m(e,null),p(e,a),z&&z.m(e,null),p(e,f),re&&re.m(e,null),p(e,h),le&&le.m(e,null),p(e,_),Z&&Z.m(e,null),P(O,g,X),Y&&Y.m(O,X),P(O,w,X),b=!0},p(O,X){X&16&&(i=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(O[4])),i?C?(C.p(O,X),X&16&&m(C,1)):(C=Su(O),C.c(),m(C,1),C.m(e,n)):C&&(fe(),v(C,1,1,()=>{C=null}),de()),O[4]===Qe.PAUSE?k?X&16&&m(k,1):(k=Eu(),k.c(),m(k,1),k.m(e,l)):k&&(fe(),v(k,1,1,()=>{k=null}),de()),O[4]===Qe.PLAY?y?X&16&&m(y,1):(y=Iu(),y.c(),m(y,1),y.m(e,r)):y&&(fe(),v(y,1,1,()=>{y=null}),de()),O[4]===Qe.REPLAY?M?X&16&&m(M,1):(M=Au(),M.c(),m(M,1),M.m(e,o)):M&&(fe(),v(M,1,1,()=>{M=null}),de()),O[4]===Qe.SUBTITLES_OFF?Q?X&16&&m(Q,1):(Q=Lu(),Q.c(),m(Q,1),Q.m(e,s)):Q&&(fe(),v(Q,1,1,()=>{Q=null}),de()),O[4]===Qe.SUBTITLES_ON?A?X&16&&m(A,1):(A=Mu(),A.c(),m(A,1),A.m(e,a)):A&&(fe(),v(A,1,1,()=>{A=null}),de()),X&16&&(c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(O[4])),c?z?(z.p(O,X),X&16&&m(z,1)):(z=Vu(O),z.c(),m(z,1),z.m(e,f)):z&&(fe(),v(z,1,1,()=>{z=null}),de()),X&16&&(d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(O[4])),d?re?(re.p(O,X),X&16&&m(re,1)):(re=Bu(O),re.c(),m(re,1),re.m(e,h)):re&&(fe(),v(re,1,1,()=>{re=null}),de()),O[4]===Qe.MUTE?le?X&16&&m(le,1):(le=Ru(),le.c(),m(le,1),le.m(e,_)):le&&(fe(),v(le,1,1,()=>{le=null}),de()),O[4]===Qe.VOLUME?Z?X&16&&m(Z,1):(Z=Nu(),Z.c(),m(Z,1),Z.m(e,null)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),O[5]?Y?Y.p(O,X):(Y=Ou(O),Y.c(),Y.m(w.parentNode,w)):Y&&(Y.d(1),Y=null)},i(O){b||(m(C),m(k),m(y),m(M),m(Q),m(A),m(z),m(re),m(le),m(Z),b=!0)},o(O){v(C),v(k),v(y),v(M),v(Q),v(A),v(z),v(re),v(le),v(Z),b=!1},d(O){O&&(T(e),T(g),T(w)),C&&C.d(),k&&k.d(),y&&y.d(),M&&M.d(),Q&&Q.d(),A&&A.d(),z&&z.d(),re&&re.d(),le&&le.d(),Z&&Z.d(),Y&&Y.d(O)}}}function Su(t){let e,i;return e=new Hb({props:{reversed:t[4]===Qe.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.FORWARD_SEEK),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Eu(t){let e,i;return e=new af({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Iu(t){let e,i;return e=new Dr({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Au(t){let e,i;return e=new bf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Lu(t){let e,i;return e=new Lf({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mu(t){let e,i;return e=new Lf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vu(t){let e,i;return e=new Yb({props:{reversed:t[4]===Qe.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.RATE_UP),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Bu(t){let e,i;return e=new xb({props:{reversed:t[4]===Qe.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.EPISODE_NEXT),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ru(t){let e,i;return e=new Bl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Nu(t){let e,i;return e=new Bl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ou(t){let e,i;return{c(){e=E("span"),i=Fe(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&32&&tt(i,n[5])},d(n){n&&T(e)}}}function e_(t){let e,i,n=!t[1]&&t[4]&&Pu(t);return{c(){e=E("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),V(e,"hidden",t[1]),V(e,"hot-key-helpers-container--left",t[2]),V(e,"hot-key-helpers-container--right",t[3])},m(l,r){P(l,e,r),n&&n.m(e,null),i=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=Pu(l),n.c(),m(n,1),n.m(e,null)):n&&(fe(),v(n,1,1,()=>{n=null}),de()),(!i||r&2)&&V(e,"hidden",l[1]),(!i||r&4)&&V(e,"hot-key-helpers-container--left",l[2]),(!i||r&8)&&V(e,"hot-key-helpers-container--right",l[3])},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&T(e),n&&n.d()}}}function t_(t,e,i){let n,l=K,r=()=>(l(),l=ii(o,h=>i(6,n=h)),o);t.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return t.$$set=h=>{"data"in h&&r(i(0,o=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,s=!n),i(2,a=(n==null?void 0:n.type)===Qe.BACKWARD_SEEK),i(3,c=(n==null?void 0:n.type)===Qe.FORWARD_SEEK),i(4,f=n==null?void 0:n.type),n!=null&&n.t?i(5,d=G(n.t.key,{value:n.t.value||""})):i(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class i_ extends we{constructor(e){super(),_e(this,e,t_,e_,ge,{data:0},$b)}}function n_(t){Ze(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function o_(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return r=new to({props:{direction:"up"}}),a=new to({props:{direction:"up"}}),h=new to({props:{direction:"up"}}),w=new to({props:{direction:"up"}}),{c(){e=E("div"),i=E("div"),n=E("div"),l=E("div"),U(r.$$.fragment),o=N(),s=E("div"),U(a.$$.fragment),c=N(),f=E("div"),d=E("div"),U(h.$$.fragment),_=N(),g=E("div"),U(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(g,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",G("aria_label_spherical_control")),V(e,"m-shifted",t[0])},m(y,M){P(y,e,M),p(e,i),p(i,n),p(n,l),F(r,l,null),p(n,o),p(n,s),F(a,s,null),p(i,c),p(i,f),p(f,d),F(h,d,null),p(f,_),p(f,g),F(w,g,null),b=!0,C||(k=[he(l,"mousedown",t[1]),he(l,"mouseup",t[5]),he(l,"mouseleave",t[5]),he(s,"mousedown",t[3]),he(s,"mouseup",t[5]),he(s,"mouseleave",t[5]),he(d,"mousedown",t[4]),he(d,"mouseup",t[5]),he(d,"mouseleave",t[5]),he(g,"mousedown",t[2]),he(g,"mouseup",t[5]),he(g,"mouseleave",t[5]),he(e,"keydown",t[6]),he(e,"keyup",t[7])],C=!0)},p(y,[M]){(!b||M&1)&&V(e,"m-shifted",y[0])},i(y){b||(m(r.$$.fragment,y),m(a.$$.fragment,y),m(h.$$.fragment,y),m(w.$$.fragment,y),b=!0)},o(y){v(r.$$.fragment,y),v(a.$$.fragment,y),v(h.$$.fragment,y),v(w.$$.fragment,y),b=!1},d(y){y&&T(e),H(r),H(a),H(h),H(w),C=!1,nt(k)}}}function l_(t,e,i){let{isShifted:n=!1}=e;const l=Ct(),r=new Set([Se.ArrowUp,Se.ArrowDown,Se.ArrowLeft,Se.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Se.ArrowUp:o();break;case Se.ArrowDown:s();break;case Se.ArrowLeft:c();break;case Se.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,o,s,a,c,f,d,h]}class Mf extends we{constructor(e){super(),_e(this,e,l_,o_,ge,{isShifted:0},n_)}}function r_(t){Ze(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Du(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function zu(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function Fu(t){let e,i;function n(o,s){return o[7]&&o[8]?u_:o[5]?a_:s_}let l=n(t),r=l(t);return{c(){e=E("div"),i=E("span"),r.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",t[3])},m(o,s){P(o,e,s),p(e,i),r.m(i,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(i,null))),s&8&&V(e,"mobile",o[3])},d(o){o&&T(e),r.d()}}}function s_(t){let e,i=Jt(t[1]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Hu(Du(t,i,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=pt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);P(l,e,r)},p(l,r){if(r&18){i=Jt(l[1]);let o;for(o=0;o<i.length;o+=1){const s=Du(l,i,o);n[o]?n[o].p(s,r):(n[o]=Hu(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&T(e),Bn(n,l)}}}function a_(t){let e,i,n=Jt(t[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=qu(zu(t,n,r));return{c(){e=E("span"),i=E("span");for(let r=0;r<l.length;r+=1)l[r].c();u(i,"class","caption-segment v-ovfyp5"),Ut(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(i,null)},p(r,o){if(o&68){n=Jt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=zu(r,n,s);l[s]?l[s].p(a,o):(l[s]=qu(a),l[s].c(),l[s].m(i,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ut(i,"font-size",r[4]+"px")},d(r){r&&T(e),Bn(l,r)}}}function u_(t){let e,i,n=G("subtitles_auto_caption")+"",l;return{c(){e=E("span"),i=E("span"),l=Fe(n),u(i,"class","caption-segment v-ovfyp5"),Ut(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i),p(i,l)},p(r,o){o&16&&Ut(i,"font-size",r[4]+"px")},d(r){r&&T(e)}}}function Hu(t){let e,i,n=t[16]+"",l,r;return{c(){e=E("span"),i=E("span"),l=Fe(n),r=N(),u(i,"class","caption-segment v-ovfyp5"),Ut(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){P(o,e,s),p(e,i),p(i,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&tt(l,n),s&16&&Ut(i,"font-size",o[4]+"px")},d(o){o&&T(e)}}}function Uu(t){let e=t[16]+"",i;return{c(){i=Fe(e)},m(n,l){P(n,i,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&tt(i,e)},d(n){n&&T(i)}}}function qu(t){let e,i=(!t[17]||t[17]<=t[2])&&Uu(t);return{c(){i&&i.c(),e=pt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?i?i.p(n,l):(i=Uu(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&T(e),i&&i.d(n)}}}function c_(t){let e,i=t[1].length>0&&Fu(t);return{c(){e=E("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",t[0]),V(e,"auto",t[5]&&!t[8])},m(n,l){P(n,e,l),i&&i.m(e,null)},p(n,[l]){n[1].length>0?i?i.p(n,l):(i=Fu(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),l&1&&V(e,"shifted",n[0]),l&288&&V(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&T(e),i&&i.d()}}}function f_(t,e,i){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Ct(),d=bn(),h=f.state.currentSubtitle$;D(t,h,y=>i(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;D(t,_,y=>i(8,l=y));let g,w,b,C,k;return pn(()=>{k=window.setTimeout(()=>{_.set(!1)},d.autoSubtitlesTimeout)}),Zo(()=>{window.clearTimeout(k)}),t.$$set=y=>{"shifted"in y&&i(0,r=y.shifted),"captions"in y&&i(1,o=y.captions),"position"in y&&i(2,s=y.position),"playerSize"in y&&i(11,a=y.playerSize),"isMobile"in y&&i(3,c=y.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const y=a.width*.02;i(4,g=y<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,w=o.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,b=o.reduce((y,{type:M,value:Q})=>(M==="timestamp"?y.push({timeAppeared:Number(Q),value:""}):y.length===0?y.push({value:String(Q)}):y[y.length-1].value=String(Q),y),[])),t.$$.dirty&4096&&i(7,C=!!n.isAuto)},[r,o,s,c,g,w,b,C,l,h,_,a,n]}class Vf extends we{constructor(e){super(),_e(this,e,f_,c_,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},r_)}}function d_(t){Ze(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function ju(t){let e,i,n;return{c(){e=E("div"),i=Fe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Fe(t[1]),u(e,"class","text v-1o62kpz")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,r){r&2&&tt(n,l[1])},d(l){l&&T(e)}}}function m_(t){let e,i,n,l,r,o,s=t[1]&&ju(t);return{c(){e=E("div"),i=E("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){P(a,e,c),p(e,i),p(e,n),s&&s.m(e,null),r||(o=he(e,"click",t[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=ju(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&T(e),s&&s.d(),r=!1,o()}}}function p_(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){uo.call(this,t,o)}return t.$$set=o=>{"thumbUrl"in o&&i(0,n=o.thumbUrl),"chromecastDeviceName"in o&&i(1,l=o.chromecastDeviceName)},[n,l,r]}class Bf extends we{constructor(e){super(),_e(this,e,p_,m_,ge,{thumbUrl:0,chromecastDeviceName:1},d_)}}function h_(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class v_ extends we{constructor(e){super(),_e(this,e,null,h_,ge,{})}}function g_(t){Ze(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function b_(t){let e,i,n;return i=new v_({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}class Rf extends we{constructor(e){super(),_e(this,e,null,b_,ge,{},g_)}}function __(t){Ze(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function w_(t){let e,i,n,l,r,o,s,a,c;return r=new Dr({}),{c(){e=E("div"),i=E("div"),n=E("div"),l=N(),U(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(i,"tabindex","0"),u(i,"role","button"),u(i,"aria-label",G("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${t[0]||""}')`),V(e,"hidden",t[1])},m(f,d){P(f,e,d),p(e,i),p(i,n),p(i,l),F(r,i,null),s=!0,a||(c=[he(i,"keydown",t[3]),he(e,"click",ot(function(){Mn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[d]){t=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&V(e,"hidden",t[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){v(r.$$.fragment,f),s=!1},d(f){f&&T(e),H(r),a=!1,nt(c)}}}function k_(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Ct().ui.startedByKeyboard$,a=c=>{const f=c.code;[Se.Enter,Se.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,l=c.hidden),"startVideo"in c&&i(2,r=c.startVideo)},[n,l,r,a]}class Nf extends we{constructor(e){super(),_e(this,e,k_,w_,ge,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},__)}get handlePressKey(){return this.$$.ctx[3]}}function y_(t){Ze(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
|
|
26
26
|
0deg,
|
|
27
27
|
rgba(0, 0, 0, 0) 0%,
|
|
28
28
|
rgba(0, 0, 0, 0.02) 19%,
|
|
29
29
|
rgba(0, 0, 0, 0.10) 34%,
|
|
30
30
|
rgba(0, 0, 0, 0.40) 60%,
|
|
31
31
|
rgba(0, 0, 0, 0.60) 100%
|
|
32
|
-
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function E_(i){let e,t;return{c(){e=E("div"),t=De(i[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",i[1])},m(n,l){P(n,e,l),p(e,t)},p(n,[l]){l&1&&et(t,n[0]),l&2&&M(e,"hidden",n[1])},i:K,o:K,d(n){n&&T(e)}}}function A_(i,e,t){let{title:n=""}=e,{isHidden:l=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,l=r.isHidden)},[n,l]}class I_ extends _e{constructor(e){super(),be(this,e,A_,E_,ge,{title:0,isHidden:1},P_)}}function L_(i){Ze(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Ju(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=De(i[0]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_day_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&1&&et(n,a[0])},d(a){a&&(T(e),T(o),T(s))}}}function xu(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=De(i[1]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_hour_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&2&&et(n,a[1])},d(a){a&&(T(e),T(o),T(s))}}}function $u(i){let e,t,n,l,r,o,s;return{c(){e=E("div"),t=E("span"),n=De(i[2]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_minute_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,t),p(t,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&4&&et(n,a[2])},d(a){a&&(T(e),T(o),T(s))}}}function e1(i){let e,t,n,l,r;return{c(){e=E("div"),t=E("span"),n=De(i[3]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){P(o,e,s),p(e,t),p(t,n),p(e,l),p(e,r)},p(o,s){s&8&&et(n,o[3])},d(o){o&&T(e)}}}function V_(i){let e,t,n,l,r=i[0]&&Ju(i),o=i[1]&&xu(i),s=i[2]&&$u(i),a=i[3]&&e1(i);return{c(){e=E("div"),r&&r.c(),t=N(),o&&o.c(),n=N(),s&&s.c(),l=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){P(c,e,f),r&&r.m(e,null),p(e,t),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Ju(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=xu(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=$u(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=e1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&T(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function M_(i,e,t){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=_=>String(_).padStart(2,"0"),m=_=>{const v=Math.floor(_/86400);v&&(_-=v*86400,t(0,r=f(v)));const w=Math.floor(_/3600);t(1,o=f(w));const b=Math.floor(_/60)%60;t(2,s=f(b));const C=_%60;t(3,a=f(C))},h=()=>{const _=Math.floor(Date.now()/1e3),v=n-_;m(v),v>=1?c=requestAnimationFrame(h):l()};return vn(()=>{c=requestAnimationFrame(h)}),Al(()=>{cancelAnimationFrame(c)}),i.$$set=_=>{"startTime"in _&&t(4,n=_.startTime),"onTimerOver"in _&&t(5,l=_.onTimerOver)},[r,o,s,a,n,l]}class B_ extends _e{constructor(e){super(),be(this,e,M_,V_,ge,{startTime:4,onTimerOver:5},L_)}}function R_(i){let e,t,n,l,r;return{c(){e=B("svg"),t=B("path"),n=B("path"),l=B("path"),r=B("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ht(t,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ht(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ht(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ht(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ht(e,"shape-rendering","geometricPrecision"),Ht(e,"text-rendering","geometricPrecision"),Ht(e,"image-rendering","optimizeQuality"),Ht(e,"fill-rule","evenodd"),Ht(e,"clip-rule","evenodd"),Ht(e,"width","100%"),Ht(e,"height","100%")},m(o,s){P(o,e,s),p(e,t),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&T(e)}}}class N_ extends _e{constructor(e){super(),be(this,e,null,R_,ge,{})}}function O_(i){Ze(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function D_(i){let e,t,n,l,r;return l=new B_({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=E("div"),t=E("span"),t.textContent=`${G("waiting_live_timer_title")}`,n=N(),U(l.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){P(o,e,s),p(e,t),p(e,n),z(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(d(l.$$.fragment,o),r=!0)},o(o){g(l.$$.fragment,o),r=!1},d(o){o&&T(e),F(l)}}}function z_(i){let e,t,n,l,r,o;return n=new N_({}),{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){P(s,e,a),p(e,t),z(n,t,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&T(e),F(n)}}}function F_(i){let e,t,n,l,r;const o=[z_,D_],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=o[t](i),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){P(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let m=t;t=a(c),t===m?s[t].p(c,f):(fe(),g(s[m],1,1,()=>{s[m]=null}),de(),n=s[t],n?n.p(c,f):(n=s[t]=o[t](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(d(n),r=!0)},o(c){g(n),r=!1},d(c){c&&T(e),s[t].d()}}}function H_(i,e,t){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,l=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class qf extends _e{constructor(e){super(),be(this,e,H_,F_,ge,{thumbUrl:0,startTime:1},O_)}}function U_(i){Ze(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function q_(i){let e,t;return{c(){e=E("div"),t=E("p"),t.textContent=`${G("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){P(n,e,l),p(e,t)},p:K,i:K,o:K,d(n){n&&T(e)}}}class jf extends _e{constructor(e){super(),be(this,e,null,q_,ge,{},U_)}}const{window:j_}=El;function W_(i){Ze(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function t1(i){var n;let e,t;return e=new qf({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){z(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){t||(d(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){F(e,l)}}}function i1(i){let e,t;return e=new jf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function n1(i){let e,t,n;return t=new Wc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",i[38]!==Oe.Ads)},m(l,r){P(l,e,r),z(t,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),t.$set(o),(!n||r[1]&128)&&M(e,"hidden",l[38]!==Oe.Ads)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function o1(i){let e,t;return e=new lp({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function l1(i){let e,t;return e=new I_({props:{title:i[2],isHidden:!i[36]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function r1(i){let e,t;return e=new Df({props:{isShifted:i[38]===Oe.Video&&i[36]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===Oe.Video&&n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function s1(i){let e,t,n;return t=new rc({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){P(l,e,r),z(t,e,null),n=!0},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function a1(i){let e,t;return e=new Ff({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function u1(i){let e,t;return e=new zf({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function c1(i){let e,t,n,l,r;return t=new Hf({}),{c(){e=E("div"),U(t.$$.fragment)},m(o,s){P(o,e,s),z(t,e,null),n=!0,l||(r=[he(e,"contextmenu",ii(i[107])),he(e,"click",st(i[118]))],l=!0)},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&T(e),F(t),l=!1,it(r)}}}function f1(i){let e,t,n;function l(o){i[151](o)}let r={bottomHidden:i[38]===Oe.Thumb||i[38]===Oe.WaitingLive||i[38]===Oe.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===Oe.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:G_,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};return i[41]!==void 0&&(r.controlsElementRef=i[41]),e=new Nf({props:r}),ke.push(()=>We(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===Oe.Thumb||o[38]===Oe.WaitingLive||o[38]===Oe.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===Oe.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!t&&s[1]&1024&&(t=!0,a.controlsElementRef=o[41],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function d1(i){let e,t;return e=new nf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function m1(i){let e,t;return e=new Ep({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function p1(i){let e,t;return e=new Jc({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function h1(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re;e=new Uf({props:{hidden:i[38]!==Oe.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let le=i[38]===Oe.WaitingLive&&t1(i),R=i[38]===Oe.WaitingRecord&&i1(),ie=i[8]&&i[22]&&n1(i),Z=i[31]&&i[18]&&i[19]&&o1(i),I=i[46]&&l1(i),X=i[51]&&r1(i),S=i[54]&&s1(),$=i[39]&&a1(i),D=i[56].value!=="off"&&u1(i),Y=i[37]&&c1(i),Pe=i[22]&&f1(i);v=new Kc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),b=new r_({props:{data:i[102]}});function ye(Q){i[153](Q)}let Ie={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Ie.menuElementRef=i[32]),y=new z3({props:Ie}),ke.push(()=>We(y,"menuElementRef",ye));let Ve=i[44]&&d1(),we=i[63]&&m1(),Ce=i[64]&&p1();return{c(){U(e.$$.fragment),t=N(),le&&le.c(),n=N(),R&&R.c(),l=N(),ie&&ie.c(),r=N(),Z&&Z.c(),o=N(),I&&I.c(),s=N(),X&&X.c(),a=N(),S&&S.c(),c=N(),$&&$.c(),f=N(),D&&D.c(),m=N(),Y&&Y.c(),h=N(),Pe&&Pe.c(),_=N(),U(v.$$.fragment),w=N(),U(b.$$.fragment),C=N(),U(y.$$.fragment),V=N(),Ve&&Ve.c(),q=N(),we&&we.c(),L=N(),Ce&&Ce.c(),j=pt()},m(Q,ee){z(e,Q,ee),P(Q,t,ee),le&&le.m(Q,ee),P(Q,n,ee),R&&R.m(Q,ee),P(Q,l,ee),ie&&ie.m(Q,ee),P(Q,r,ee),Z&&Z.m(Q,ee),P(Q,o,ee),I&&I.m(Q,ee),P(Q,s,ee),X&&X.m(Q,ee),P(Q,a,ee),S&&S.m(Q,ee),P(Q,c,ee),$&&$.m(Q,ee),P(Q,f,ee),D&&D.m(Q,ee),P(Q,m,ee),Y&&Y.m(Q,ee),P(Q,h,ee),Pe&&Pe.m(Q,ee),P(Q,_,ee),z(v,Q,ee),P(Q,w,ee),z(b,Q,ee),P(Q,C,ee),z(y,Q,ee),P(Q,V,ee),Ve&&Ve.m(Q,ee),P(Q,q,ee),we&&we.m(Q,ee),P(Q,L,ee),Ce&&Ce.m(Q,ee),P(Q,j,ee),re=!0},p(Q,ee){const ue={};ee[0]&64|ee[1]&192&&(ue.hidden=Q[38]!==Oe.Thumb||Q[37]||Q[93]&&Q[6]),ee[0]&8&&(ue.thumbUrl=Q[3]),ee[0]&536870912&&(ue.startVideo=Q[29]),e.$set(ue),Q[38]===Oe.WaitingLive?le?(le.p(Q,ee),ee[1]&128&&d(le,1)):(le=t1(Q),le.c(),d(le,1),le.m(n.parentNode,n)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),Q[38]===Oe.WaitingRecord?R?ee[1]&128&&d(R,1):(R=i1(),R.c(),d(R,1),R.m(l.parentNode,l)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),Q[8]&&Q[22]?ie?(ie.p(Q,ee),ee[0]&4194560&&d(ie,1)):(ie=n1(Q),ie.c(),d(ie,1),ie.m(r.parentNode,r)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),Q[31]&&Q[18]&&Q[19]?Z?(Z.p(Q,ee),ee[0]&786432|ee[1]&1&&d(Z,1)):(Z=o1(Q),Z.c(),d(Z,1),Z.m(o.parentNode,o)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),Q[46]?I?(I.p(Q,ee),ee[1]&32768&&d(I,1)):(I=l1(Q),I.c(),d(I,1),I.m(s.parentNode,s)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),Q[51]?X?(X.p(Q,ee),ee[1]&1048576&&d(X,1)):(X=r1(Q),X.c(),d(X,1),X.m(a.parentNode,a)):X&&(fe(),g(X,1,1,()=>{X=null}),de()),Q[54]?S?(S.p(Q,ee),ee[1]&8388608&&d(S,1)):(S=s1(),S.c(),d(S,1),S.m(c.parentNode,c)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),Q[39]?$?($.p(Q,ee),ee[1]&256&&d($,1)):($=a1(Q),$.c(),d($,1),$.m(f.parentNode,f)):$&&(fe(),g($,1,1,()=>{$=null}),de()),Q[56].value!=="off"?D?(D.p(Q,ee),ee[1]&33554432&&d(D,1)):(D=u1(Q),D.c(),d(D,1),D.m(m.parentNode,m)):D&&(fe(),g(D,1,1,()=>{D=null}),de()),Q[37]?Y?(Y.p(Q,ee),ee[1]&64&&d(Y,1)):(Y=c1(Q),Y.c(),d(Y,1),Y.m(h.parentNode,h)):Y&&(fe(),g(Y,1,1,()=>{Y=null}),de()),Q[22]?Pe?(Pe.p(Q,ee),ee[0]&4194304&&d(Pe,1)):(Pe=f1(Q),Pe.c(),d(Pe,1),Pe.m(_.parentNode,_)):Pe&&(fe(),g(Pe,1,1,()=>{Pe=null}),de());const se={};ee[1]&536870912&&(se.isLive=Q[60]),ee[1]&16384&&(se.isHidden=!Q[45]),ee[1]&1073741824&&(se.isPlaying=Q[61]),ee[1]&134217728&&(se.position=Q[58]),ee[2]&1&&(se.duration=Q[62]),v.$set(se);const Ue={};ee[0]&2097152&&(Ue.supportLink=Q[21]),ee[1]&524288&&(Ue.returnFocus=Q[152]),ee[1]&4&&(Ue.visible=Q[33]),ee[1]&512&&(Ue.playerContainerRef=Q[40]),ee[1]&1024&&(Ue.controlsContainerRef=Q[41]),ee[1]&2048&&(Ue.x=Q[42]),ee[1]&4096&&(Ue.y=Q[43]),!k&&ee[1]&2&&(k=!0,Ue.menuElementRef=Q[32],je(()=>k=!1)),y.$set(Ue),Q[44]?Ve?ee[1]&8192&&d(Ve,1):(Ve=d1(),Ve.c(),d(Ve,1),Ve.m(q.parentNode,q)):Ve&&(fe(),g(Ve,1,1,()=>{Ve=null}),de()),Q[63]?we?ee[2]&2&&d(we,1):(we=m1(),we.c(),d(we,1),we.m(L.parentNode,L)):we&&(fe(),g(we,1,1,()=>{we=null}),de()),Q[64]?Ce?ee[2]&4&&d(Ce,1):(Ce=p1(),Ce.c(),d(Ce,1),Ce.m(j.parentNode,j)):Ce&&(fe(),g(Ce,1,1,()=>{Ce=null}),de())},i(Q){re||(d(e.$$.fragment,Q),d(le),d(R),d(ie),d(Z),d(I),d(X),d(S),d($),d(D),d(Y),d(Pe),d(v.$$.fragment,Q),d(b.$$.fragment,Q),d(y.$$.fragment,Q),d(Ve),d(we),d(Ce),re=!0)},o(Q){g(e.$$.fragment,Q),g(le),g(R),g(ie),g(Z),g(I),g(X),g(S),g($),g(D),g(Y),g(Pe),g(v.$$.fragment,Q),g(b.$$.fragment,Q),g(y.$$.fragment,Q),g(Ve),g(we),g(Ce),re=!1},d(Q){Q&&(T(t),T(n),T(l),T(r),T(o),T(s),T(a),T(c),T(f),T(m),T(h),T(_),T(w),T(C),T(V),T(q),T(L),T(j)),F(e,Q),le&&le.d(Q),R&&R.d(Q),ie&&ie.d(Q),Z&&Z.d(Q),I&&I.d(Q),X&&X.d(Q),S&&S.d(Q),$&&$.d(Q),D&&D.d(Q),Y&&Y.d(Q),Pe&&Pe.d(Q),F(v,Q),F(b,Q),F(y,Q),Ve&&Ve.d(Q),we&&we.d(Q),Ce&&Ce.d(Q)}}}function Z_(i){let e,t,n,l,r=i[53],o,s,a,c,f=h1(i);return{c(){e=E("div"),t=E("div"),l=N(),f.c(),o=pt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),M(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",i[38]!==Oe.Video),M(e,"nocursor",i[47])},m(m,h){P(m,e,h),p(e,t),i[149](t),P(m,l,h),f.m(m,h),P(m,o,h),s=!0,a||(c=[he(e,"contextmenu",ii(i[107])),he(e,"mousedown",ii(i[112])),he(e,"mouseup",ii(i[113])),he(e,"click",ii(i[115])),he(e,"dblclick",ii(i[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&M(t,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",m[38]!==Oe.Video),(!s||h[1]&65536)&&M(e,"nocursor",m[47]),h[1]&4194304&&ge(r,r=m[53])?(fe(),g(f,1,1,K),de(),f=h1(m),f.c(),d(f,1),f.m(o.parentNode,o)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){g(f),s=!1},d(m){m&&(T(e),T(l),T(o)),i[149](null),f.d(m),a=!1,it(c)}}}function K_(i){let e,t,n,l,r,o,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===Oe.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[Z_]},$$scope:{ctx:i}};return t=new up({props:a}),i[154](t),{c(){e=E("div"),U(t.$$.fragment),n=N(),l=E("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){P(c,e,f),z(t,e,null),p(e,n),p(e,l),i[155](l),i[156](e),r=!0,o||(s=[he(j_,"blur",i[106]),he(e,"mouseenter",i[108]),he(e,"mouseleave",i[110]),he(e,"mousemove",i[111]),he(e,"click",i[119],!0),he(e,"focusin",i[109],!0)],o=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===Oe.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),t.$set(m)},i(c){r||(d(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&T(e),i[154](null),F(t),i[155](null),i[156](null),o=!1,it(s)}}}let G_=!0;function Wf(i){return i?i.offsetTop+Wf(i.offsetParent):0}function Y_(i,e,t){let n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe,ye,Ie,Ve,we,Ce,Q,{store:ee}=e,{uiConfig:ue}=e,{title:se}=e,{thumbUrl:Ue}=e,{videoLogoUrl:Ne}=e,{videoContainer:Le}=e,{interactiveContainer:Ae}=e,{live:ae}=e,{autoplay:pe}=e,{canRewindLive:oe}=e,{showAds:Te}=e,{adsSlotId:me=void 0}=e,{adsParams:Se=void 0}=e,{adsPreviewParam:Ke=void 0}=e,{duration:Re=void 0}=e,{logoClickable:Je}=e,{logoHidden:xe}=e,{showNextPrevButtons:nt=!1}=e,{nextButtonActive:at=!1}=e,{prevButtonActive:Pt=!1}=e,{endScreenVideoTitle:ht=void 0}=e,{endScreenVideoThumb:Fe=void 0}=e,{isOneVideoPlaylist:_t=!1}=e,{supportLink:Ut}=e,{outerContainerRef:ce=void 0}=e,{playerStarted:wt=!1}=e,{fullScreenTarget:ot=void 0}=e,{showMiniTimer:Lt=!1}=e,{playNextVideo:ut=Xe}=e,{playPrevVideo:Et=Xe}=e,{repeatPlaylist:$e=Xe}=e,{seekToInteractive:He}=e,{toggleGraph:St}=e,{playPrevChapter:Ki}=e,{firstStart:ci}=e;const fi=ee.getLogger().createComponentLog("Root component"),rn=ee.interfaceLanguage$;O(i,rn,W=>t(53,X=W));const di=ee.state.playbackState$;O(i,di,W=>t(146,ie=W));const Xt=ee.ads.playbackState;O(i,Xt,W=>t(147,Z=W));const ni=ee.state.positionWithScrubbing$;O(i,ni,W=>t(58,Pe=W));const Ot=ee.state.duration$;O(i,Ot,W=>t(62,we=W));const oi=ee.playerPhase;O(i,oi,W=>t(38,L=W));const Di=ee.ui.isFullscreen;O(i,Di,W=>t(136,m=W));const li=ee.ui.controlsVisible;O(i,li,W=>t(36,C=W));const mi=ee.ui.settingsMenuVisible;O(i,mi,W=>t(134,o=W));const pi=ee.ui.scrubbingInProgress;O(i,pi,W=>t(138,w=W));const Jt=ee.ui.contextMenuVisible;O(i,Jt,W=>t(33,n=W));const zi=ee.ui.debugPanelVisible;O(i,zi,W=>t(64,Q=W));const hi=ee.state.isLoaderVisible;O(i,hi,W=>t(148,I=W));const Bt=ee.state.isEnded$;O(i,Bt,W=>t(135,a=W));const vi=ee.state.chromecastConnected$;O(i,vi,W=>t(39,le=W));const Fi=ee.state.chromecastDeviceName$;O(i,Fi,W=>t(55,$=W));const It=ee.ads.postrollPassed;O(i,It,W=>t(141,V=W));const Kt=ee.state.isLive$;O(i,Kt,W=>t(60,Ie=W));const gi=ee.state.isPlaying$;O(i,gi,W=>t(61,Ve=W));const Ii=ee.state.crashed$;O(i,Ii,W=>t(37,k=W));const lt=ee.webApi.pictureInPictureApi,mt=ee.state.currentSubtitle$;O(i,mt,W=>t(56,D=W));const ri=ee.state.currentSubtitleCaptions$;O(i,ri,W=>t(57,Y=W));const Rt=ee.state.duration$;O(i,Rt,W=>t(59,ye=W));const bi=ee.state.graphIsOpened$;O(i,bi,W=>t(142,q=W));const Li=ee.ui.playerSize;O(i,Li,W=>t(34,f=W));const Dt=ee.ui.is3DVideo;O(i,Dt,W=>t(51,c=W));const zt=ee.ui.icon3DVideoVisible;O(i,zt,W=>t(54,S=W));const Gi=ee.ui.rotateAlpha;O(i,Gi,W=>t(35,v=W));const _i=ee.state.isInteractive,Xi=ee.state.isInteractiveTime$;O(i,Xi,W=>t(139,b=W));const Vi=ee.state.isInteractiveExpectation$;O(i,Vi,W=>t(145,R=W));const Ji=ee.state.hasInteractiveBranches,si=ee.ui.touched;O(i,si,W=>t(143,j=W));const Mi=ee.ui.modals.hotKeyMap.data;O(i,Mi,W=>t(163,s=W));const Nt=ee.ui.modals.hotKeyMap.show;O(i,Nt,W=>t(63,Ce=W));const qt=ee.ui.overlayContainer$,wi=ee.actions.internal.closeSettingsMenu,{fakeIsPlaying$:yi}=Il();O(i,yi,W=>t(137,_=W));let Bi,At,Hi=0,Ui=0,ki,qi,ji;Mi.set(o3());let Wi,Ci;const Si=Be(!1);O(i,Si,W=>t(52,h=W));let xt;const $t=Be(!1);O(i,$t,W=>t(144,re=W));const Me=Be(),Ri=Be(!1);O(i,Ri,W=>t(140,y=W));let Zi=!1,qe=!1,xi,Ti,$i,en,sn,Gt,ai=!1,ui,an=!1;const{toggle:Yi}=yi;let tn=!1,Pi=null,te;lt==null||lt.setContext(H1());const rt=()=>{pe&&!_i&&vt(ue.controls.hideTimeout)};ee.setUiCallbacks({onStarted:rt});const jt=()=>{window.clearTimeout(ki),$t.set(!1)},Ei=()=>{window.clearTimeout(qi),Me.set(null)},vt=W=>{jt(),$t.set(!0),ki=window.setTimeout(()=>$t.set(!1),W);const Tt=W-100;xt=window.setTimeout(()=>{h&&Si.set(!1)},Tt>0?Tt:W)},dn=(W,Tt)=>{Ei(),Me.set(Tt),qi=window.setTimeout(()=>Me.set(null),W)},bn=Dt.subscribe(W=>{zt.set(W),W&&(window.clearTimeout(ji),ji=window.setTimeout(()=>zt.set(!1),ue.controls.hide360IconTimeout))}),mn=async()=>{var Tt,on,hn,In;const W=Uo();if(W){vt(ue.controls.hideTimeoutFullscreen);try{await(lt==null?void 0:lt.remove())}catch(oo){fi({message:String(oo)})}}Di.set(W),ee.getAdmanWrapper().setFullscreen(W),m?(on=(Tt=ee.callbacks)==null?void 0:Tt.onFullscreenEnter)==null||on.call(Tt):(In=(hn=ee.callbacks)==null?void 0:hn.onFullscreenExit)==null||In.call(hn)},_n=W=>{const Tt=W;Li.set({width:Tt.target.width,height:Tt.target.height})};vn(()=>{var Tt;return qc(mn),Tl(lt)&&(lt==null||lt.assignPlayerContainer(Bi),lt==null||lt.registryExternalEventHandlers({resize:_n})),Ae&&((Tt=Le.parentElement)==null||Tt.insertBefore(Ae,Le.nextSibling)),()=>{window.clearTimeout(ki),window.clearTimeout(xt),window.clearTimeout(qi),window.clearTimeout(ji),bn(),lt==null||lt.dispose(),jc(mn)}});const un=async()=>{if(Uo())await Uc(document),fi({message:"exit fullscreen"});else{fi({message:"request fullscreen"});const W=ce!=null?ce:Bi,Tt=W.getRootNode(),on=Tt instanceof ShadowRoot?Tt.host:Tt,hn=ot instanceof HTMLElement&&ot.contains(on),In=ue.allowChangingFullscreenTarget&&ot&&hn?ot:W;await Hc(In)}},x=()=>{wi(),Jt.set(!1)},ct=W=>{Jt.set(!0),t(42,Hi=W.clientX),t(43,Ui=W.clientY)};function cn(){Ri.set(!0),_i||vt(ue.controls.hideTimeoutCursor)}function Qi(){_i||(Si.set(!0),vt(ue.controls.hideTimeoutCursor))}function nn(){Ri.set(!1),t(128,qe=!1),t(127,Zi=!1),tn=!1,ee.actions.internal.releaseCamera()}function fn(W){if(Bi){const Tt=Wf(W.currentTarget),on=f.height,hn=W.pageY-Tt;hn<os?t(128,qe=!0):hn>on-os?t(127,Zi=!0):(t(128,qe=!1),o||t(127,Zi=!1))}}function Wn(W){fn(W),Ti||vt(ue.controls.hideTimeoutCursor),c&&tn&&Pi&&ee.actions.internal.moveCameraFocusPX(Pi.clientX-W.clientX,Pi.clientY-W.clientY,W.timeStamp-Pi.timeStamp),Pi=W}const Zn=W=>{W.button===0&&(tn=!0,ee.actions.internal.holdCamera()),vt(ue.controls.hideTimeoutCursor)},Kn=W=>{W.button===0&&(Pi=W,tn=!1,ee.actions.internal.releaseCamera()),vt(ue.controls.hideTimeoutCursor)},An=()=>{fi({message:"double click on video"}),un(),vt(ue.controls.hideTimeoutCursor)},Bn=()=>{if(n||o){x();return}if(!(a&&!Ji)){if(an)return Yi();if(te==null||te.focus(),!wt){ci(),vt(ue.controls.hideTimeoutCursor);return}ee.actions.internal.togglePlay(),vt(ue.controls.hideTimeoutCursor)}},J=W=>{x(),si.set(!0),vt(ue.controls.hideTimeout),W&&dn(ue.controls.hideHotKeyHelpers,W)},Gn=()=>{var W,Tt;x(),(W=ee.callbacks)!=null&&W.onOpenHotKeyMap?(Tt=ee.callbacks)==null||Tt.onOpenHotKeyMap(s):Nt.update(on=>!on)},uo=()=>{if(n||o){x();return}},co=()=>{si.set(!0)},Yn=ee.ui.contextMenu.openedByKeyboard$;O(i,Yn,W=>t(133,r=W));let io=ee.ui.contextMenu.btnRef$;O(i,io,W=>t(132,l=W));let Rn;function Mo(W){ke[W?"unshift":"push"](()=>{Le=W,t(0,Le)})}const pn=()=>te==null?void 0:te.focus();function Qn(W){At=W,t(41,At)}const no=()=>te==null?void 0:te.focus();function Bo(W){Rn=W,t(32,Rn)}function fo(W){ke[W?"unshift":"push"](()=>{te=W,t(50,te)})}function Ro(W){ke[W?"unshift":"push"](()=>{Ci=W,t(30,Ci)})}function mo(W){ke[W?"unshift":"push"](()=>{Bi=W,t(40,Bi)})}return i.$$set=W=>{"store"in W&&t(122,ee=W.store),"uiConfig"in W&&t(1,ue=W.uiConfig),"title"in W&&t(2,se=W.title),"thumbUrl"in W&&t(3,Ue=W.thumbUrl),"videoLogoUrl"in W&&t(4,Ne=W.videoLogoUrl),"videoContainer"in W&&t(0,Le=W.videoContainer),"interactiveContainer"in W&&t(123,Ae=W.interactiveContainer),"live"in W&&t(5,ae=W.live),"autoplay"in W&&t(6,pe=W.autoplay),"canRewindLive"in W&&t(7,oe=W.canRewindLive),"showAds"in W&&t(8,Te=W.showAds),"adsSlotId"in W&&t(9,me=W.adsSlotId),"adsParams"in W&&t(10,Se=W.adsParams),"adsPreviewParam"in W&&t(11,Ke=W.adsPreviewParam),"duration"in W&&t(12,Re=W.duration),"logoClickable"in W&&t(13,Je=W.logoClickable),"logoHidden"in W&&t(14,xe=W.logoHidden),"showNextPrevButtons"in W&&t(15,nt=W.showNextPrevButtons),"nextButtonActive"in W&&t(16,at=W.nextButtonActive),"prevButtonActive"in W&&t(17,Pt=W.prevButtonActive),"endScreenVideoTitle"in W&&t(18,ht=W.endScreenVideoTitle),"endScreenVideoThumb"in W&&t(19,Fe=W.endScreenVideoThumb),"isOneVideoPlaylist"in W&&t(20,_t=W.isOneVideoPlaylist),"supportLink"in W&&t(21,Ut=W.supportLink),"outerContainerRef"in W&&t(124,ce=W.outerContainerRef),"playerStarted"in W&&t(22,wt=W.playerStarted),"fullScreenTarget"in W&&t(125,ot=W.fullScreenTarget),"showMiniTimer"in W&&t(126,Lt=W.showMiniTimer),"playNextVideo"in W&&t(23,ut=W.playNextVideo),"playPrevVideo"in W&&t(24,Et=W.playPrevVideo),"repeatPlaylist"in W&&t(25,$e=W.repeatPlaylist),"seekToInteractive"in W&&t(26,He=W.seekToInteractive),"toggleGraph"in W&&t(27,St=W.toggleGraph),"playPrevChapter"in W&&t(28,Ki=W.playPrevChapter),"firstStart"in W&&t(29,ci=W.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Wi=(L===Oe.Video&&I||L===Oe.Ads&&Z===ti.INACTIVE)&&!k),i.$$.dirty[0]&1073741824&&qt.set(Ci),i.$$.dirty[4]&4194304&&t(129,xi=ie!==Yt.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Ti=b&&!o&&!(Zi||qe)&&!(xi&&!R)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&li.set((xi||o||w||le||re)&&!Ti&&L===Oe.Video&&!k),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,$i=ue.features.thumbTimer&&Lt&&L===Oe.Video&&!C&&!k&&!_i&&(ue.hideThumbTimerAfterTouch&&!j||!ue.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,en=L===Oe.Video&&!q&&m),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,sn=(Te&&V||!Te)&&a&&!k),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,Gt=y&&!(C||sn)&&!b),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!w&&ai&&!b&&vt(ue.controls.hideTimeoutCursor),t(131,ai=w)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,ui=Le&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,an=_!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&Or(Rn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const W=l;W&&Nr(W,n,Yn)}},[Le,ue,se,Ue,Ne,ae,pe,oe,Te,me,Se,Ke,Re,Je,xe,nt,at,Pt,ht,Fe,_t,Ut,wt,ut,Et,$e,He,St,Ki,ci,Ci,sn,Rn,n,f,v,C,k,L,le,Bi,At,Hi,Ui,Wi,$i,en,Gt,ui,an,te,c,h,X,S,$,D,Y,Pe,ye,Ie,Ve,we,Ce,Q,rn,di,Xt,ni,Ot,oi,Di,li,mi,pi,Jt,zi,hi,Bt,vi,Fi,It,Kt,gi,Ii,mt,ri,Rt,bi,Li,Dt,zt,Gi,_i,Xi,Vi,si,Mi,Nt,yi,Si,$t,Me,Ri,Yi,un,x,ct,cn,Qi,nn,Wn,Zn,Kn,An,Bn,J,Gn,uo,co,Yn,io,ee,Ae,ce,ot,Lt,Zi,qe,xi,Ti,ai,l,r,o,a,m,_,w,b,y,V,q,j,re,R,ie,Z,I,Mo,pn,Qn,no,Bo,fo,Ro,mo]}class Q_ extends _e{constructor(e){super(),be(this,e,Y_,K_,ge,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},W_,[-1,-1,-1,-1,-1,-1])}}const X_=i=>{if(!Cr(!0))return!1;const e=i.device===O0.iPad||(window==null?void 0:window.screen.width)>700,t=D0();return!e||e&&!!t&&t<16};function J_(i){Ze(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function v1(i){let e,t,n,l,r,o,s,a,c,f,m,h,_,v,w,b=G("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",C;return{c(){e=E("div"),n=N(),l=E("div"),r=E("div"),o=E("div"),a=N(),c=E("div"),m=N(),h=E("div"),v=N(),w=E("p"),C=De(b),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(o,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",_="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(y,k){P(y,e,k),P(y,n,k),P(y,l,k),p(l,r),p(r,o),p(r,a),p(r,c),p(r,m),p(r,h),p(l,v),p(l,w),p(w,C)},p(y,k){k&1&&t!==(t="semicircle "+y[0]+" v-nhq2ld")&&u(e,"class",t),k&1&&s!==(s="triangle "+y[0]+" v-nhq2ld")&&u(o,"class",s),k&1&&f!==(f="triangle "+y[0]+" v-nhq2ld")&&u(c,"class",f),k&1&&_!==(_="triangle "+y[0]+" v-nhq2ld")&&u(h,"class",_),k&2&&b!==(b=G("doubletap_seek_step",{seconds:y[1].toFixed(0)})+"")&&et(C,b)},d(y){y&&(T(e),T(n),T(l))}}}function x_(i){let e,t,n,l,r=i[2]&&v1(i);return{c(){e=E("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(o,s){P(o,e,s),r&&r.m(e,null),n||(l=he(e,"click",st(i[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=v1(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(o){o&&T(e),r&&r.d(),n=!1,l()}}}function $_(i,e,t){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return Al(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=m=>{"side"in m&&t(0,n=m.side),"seekStep"in m&&t(1,l=m.seekStep),"handleSingleFirstClick"in m&&t(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&t(5,o=m.handleSecondClick)},[n,l,s,f,r,o]}class Zf extends _e{constructor(e){super(),be(this,e,$_,x_,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},J_)}}function e6(i,e,t){let{playNextVideo:n}=e;return vn(()=>{n()}),i.$$set=l=>{"playNextVideo"in l&&t(0,n=l.playNextVideo)},[n]}class t6 extends _e{constructor(e){super(),be(this,e,e6,null,ge,{playNextVideo:0})}}const{window:i6}=El;function n6(i){Ze(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function g1(i){let e,t,n,l;e=new Zf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let r=!i[48]&&b1(i);return{c(){U(e.$$.fragment),t=N(),r&&r.c(),n=pt()},m(o,s){z(e,o,s),P(o,t,s),r&&r.m(o,s),P(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(fe(),g(r,1,1,()=>{r=null}),de()):r?(r.p(o,s),s[1]&131072&&d(r,1)):(r=b1(o),r.c(),d(r,1),r.m(n.parentNode,n))},i(o){l||(d(e.$$.fragment,o),d(r),l=!0)},o(o){g(e.$$.fragment,o),g(r),l=!1},d(o){o&&(T(t),T(n)),F(e,o),r&&r.d(o)}}}function b1(i){let e,t;return e=new Zf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function _1(i){var n;let e,t;return e=new qf({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){z(e,l,r),t=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){t||(d(e.$$.fragment,l),t=!0)},o(l){g(e.$$.fragment,l),t=!1},d(l){F(e,l)}}}function w1(i){let e,t;return e=new jf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function y1(i){let e,t,n;return t=new Wc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",i[34]!==Oe.Ads)},m(l,r){P(l,e,r),z(t,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),t.$set(o),(!n||r[1]&8)&&M(e,"hidden",l[34]!==Oe.Ads)},i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function k1(i){let e,t;return e=new t6({props:{playNextVideo:i[22]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function C1(i){let e,t;return e=new Df({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function S1(i){let e,t,n;return t=new rc({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){P(l,e,r),z(t,e,null),n=!0},p:K,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&T(e),F(t)}}}function T1(i){let e,t;return e=new Ff({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function P1(i){let e,t;return e=new zf({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function E1(i){let e,t,n,l,r;return t=new Hf({}),{c(){e=E("div"),U(t.$$.fragment)},m(o,s){P(o,e,s),z(t,e,null),n=!0,l||(r=he(e,"click",st(i[100])),l=!0)},p:K,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&T(e),F(t),l=!1,r()}}}function A1(i){let e,t,n;function l(o){i[129](o)}let r={bottomHidden:i[34]===Oe.Thumb||i[34]===Oe.WaitingLive||i[34]===Oe.WaitingRecord||i[34]===Oe.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Oe.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};return i[37]!==void 0&&(r.controlsElementRef=i[37]),e=new Nf({props:r}),ke.push(()=>We(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===Oe.Thumb||o[34]===Oe.WaitingLive||o[34]===Oe.WaitingRecord||o[34]===Oe.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===Oe.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!t&&s[1]&64&&(t=!0,a.controlsElementRef=o[37],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function I1(i){let e,t;return e=new nf({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function L1(i){let e,t;return e=new Jc({}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function V1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(dt.TIMELINE),l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k;e=new Uf({props:{hidden:i[34]!==Oe.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let V=n&&g1(i),q=i[34]===Oe.WaitingLive&&_1(i),L=i[34]===Oe.WaitingRecord&&w1(),j=i[7]&&i[21]&&y1(i),re=i[41]&&i[17]&&i[18]&&k1(i),le=i[49]&&C1(),R=i[50]&&S1(),ie=i[35]&&T1(i),Z=i[52].value!=="off"&&P1(i),I=i[33]&&E1(i),X=i[21]&&A1(i);w=new Kc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let S=i[38]&&I1(),$=i[57]&&L1();return{c(){U(e.$$.fragment),t=N(),V&&V.c(),l=N(),q&&q.c(),r=N(),L&&L.c(),o=N(),j&&j.c(),s=N(),re&&re.c(),a=N(),le&&le.c(),c=N(),R&&R.c(),f=N(),ie&&ie.c(),m=N(),Z&&Z.c(),h=N(),I&&I.c(),_=N(),X&&X.c(),v=N(),U(w.$$.fragment),b=N(),S&&S.c(),C=N(),$&&$.c(),y=pt()},m(D,Y){z(e,D,Y),P(D,t,Y),V&&V.m(D,Y),P(D,l,Y),q&&q.m(D,Y),P(D,r,Y),L&&L.m(D,Y),P(D,o,Y),j&&j.m(D,Y),P(D,s,Y),re&&re.m(D,Y),P(D,a,Y),le&&le.m(D,Y),P(D,c,Y),R&&R.m(D,Y),P(D,f,Y),ie&&ie.m(D,Y),P(D,m,Y),Z&&Z.m(D,Y),P(D,h,Y),I&&I.m(D,Y),P(D,_,Y),X&&X.m(D,Y),P(D,v,Y),z(w,D,Y),P(D,b,Y),S&&S.m(D,Y),P(D,C,Y),$&&$.m(D,Y),P(D,y,Y),k=!0},p(D,Y){const Pe={};Y[0]&32|Y[1]&12&&(Pe.hidden=D[34]!==Oe.Thumb||D[33]||D[89]&&D[5]),Y[0]&4&&(Pe.thumbUrl=D[2]),Y[0]&268435456&&(Pe.startVideo=D[28]),e.$set(Pe),Y[0]&64|Y[1]&65536&&(n=D[6]&&D[78]&&!D[47].has(dt.TIMELINE)),n?V?(V.p(D,Y),Y[0]&64|Y[1]&65536&&d(V,1)):(V=g1(D),V.c(),d(V,1),V.m(l.parentNode,l)):V&&(fe(),g(V,1,1,()=>{V=null}),de()),D[34]===Oe.WaitingLive?q?(q.p(D,Y),Y[1]&8&&d(q,1)):(q=_1(D),q.c(),d(q,1),q.m(r.parentNode,r)):q&&(fe(),g(q,1,1,()=>{q=null}),de()),D[34]===Oe.WaitingRecord?L?Y[1]&8&&d(L,1):(L=w1(),L.c(),d(L,1),L.m(o.parentNode,o)):L&&(fe(),g(L,1,1,()=>{L=null}),de()),D[7]&&D[21]?j?(j.p(D,Y),Y[0]&2097280&&d(j,1)):(j=y1(D),j.c(),d(j,1),j.m(s.parentNode,s)):j&&(fe(),g(j,1,1,()=>{j=null}),de()),D[41]&&D[17]&&D[18]?re?(re.p(D,Y),Y[0]&393216|Y[1]&1024&&d(re,1)):(re=k1(D),re.c(),d(re,1),re.m(a.parentNode,a)):re&&(fe(),g(re,1,1,()=>{re=null}),de()),D[49]?le?Y[1]&262144&&d(le,1):(le=C1(),le.c(),d(le,1),le.m(c.parentNode,c)):le&&(fe(),g(le,1,1,()=>{le=null}),de()),D[50]?R?(R.p(D,Y),Y[1]&524288&&d(R,1)):(R=S1(),R.c(),d(R,1),R.m(f.parentNode,f)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),D[35]?ie?(ie.p(D,Y),Y[1]&16&&d(ie,1)):(ie=T1(D),ie.c(),d(ie,1),ie.m(m.parentNode,m)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),D[52].value!=="off"?Z?(Z.p(D,Y),Y[1]&2097152&&d(Z,1)):(Z=P1(D),Z.c(),d(Z,1),Z.m(h.parentNode,h)):Z&&(fe(),g(Z,1,1,()=>{Z=null}),de()),D[33]?I?(I.p(D,Y),Y[1]&4&&d(I,1)):(I=E1(D),I.c(),d(I,1),I.m(_.parentNode,_)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),D[21]?X?(X.p(D,Y),Y[0]&2097152&&d(X,1)):(X=A1(D),X.c(),d(X,1),X.m(v.parentNode,v)):X&&(fe(),g(X,1,1,()=>{X=null}),de());const ye={};Y[1]&16777216&&(ye.isLive=D[55]),Y[1]&512&&(ye.isHidden=!D[40]),Y[1]&33554432&&(ye.isPlaying=D[56]),Y[1]&8192&&(ye.position=D[44]),Y[1]&4096&&(ye.duration=D[43]),w.$set(ye),D[38]?S?Y[1]&128&&d(S,1):(S=I1(),S.c(),d(S,1),S.m(C.parentNode,C)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),D[57]?$?Y[1]&67108864&&d($,1):($=L1(),$.c(),d($,1),$.m(y.parentNode,y)):$&&(fe(),g($,1,1,()=>{$=null}),de())},i(D){k||(d(e.$$.fragment,D),d(V),d(q),d(L),d(j),d(re),d(le),d(R),d(ie),d(Z),d(I),d(X),d(w.$$.fragment,D),d(S),d($),k=!0)},o(D){g(e.$$.fragment,D),g(V),g(q),g(L),g(j),g(re),g(le),g(R),g(ie),g(Z),g(I),g(X),g(w.$$.fragment,D),g(S),g($),k=!1},d(D){D&&(T(t),T(l),T(r),T(o),T(s),T(a),T(c),T(f),T(m),T(h),T(_),T(v),T(b),T(C),T(y)),F(e,D),V&&V.d(D),q&&q.d(D),L&&L.d(D),j&&j.d(D),re&&re.d(D),le&&le.d(D),R&&R.d(D),ie&&ie.d(D),Z&&Z.d(D),I&&I.d(D),X&&X.d(D),F(w,D),S&&S.d(D),$&&$.d(D)}}}function o6(i){let e,t,n,l,r,o=i[46],s,a,c,f,m,h=V1(i);return{c(){e=E("div"),t=E("div"),n=E("div"),r=N(),h.c(),s=N(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${i[32]}deg) scale(${i[42]})`),M(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),M(t,"hidden",i[34]!==Oe.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player")),u(e,"tabindex","-1")},m(_,v){P(_,e,v),p(e,t),p(t,n),i[126](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[130](a),i[131](e),c=!0,f||(m=[he(i6,"blur",i[98]),he(t,"click",ii(i[99])),he(e,"click",i[101],!0),he(e,"focusin",i[102],!0)],f=!0)},p(_,v){(!c||v[1]&2050&&l!==(l=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",l),(!c||v[0]&2)&&M(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||v[1]&8)&&M(t,"hidden",_[34]!==Oe.Video),v[1]&32768&&ge(o,o=_[46])?(fe(),g(h,1,1,K),de(),h=V1(_),h.c(),d(h,1),h.m(e,s)):h.p(_,v)},i(_){c||(d(h),c=!0)},o(_){g(h),c=!1},d(_){_&&T(e),i[126](null),h.d(_),i[130](null),i[131](null),f=!1,it(m)}}}function l6(i,e,t){let n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe,ye,Ie,Ve,{store:we}=e,{uiConfig:Ce}=e,{thumbUrl:Q}=e,{videoLogoUrl:ee}=e,{videoContainer:ue}=e,{interactiveContainer:se}=e,{live:Ue}=e,{autoplay:Ne}=e,{canRewindLive:Le}=e,{showAds:Ae}=e,{adsSlotId:ae=void 0}=e,{adsParams:pe=void 0}=e,{adsPreviewParam:oe=void 0}=e,{duration:Te=void 0}=e,{logoClickable:me}=e,{logoHidden:Se}=e,{showNextPrevButtons:Ke=!1}=e,{nextButtonActive:Re=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:xe=void 0}=e,{endScreenVideoThumb:nt=void 0}=e,{isOneVideoPlaylist:at=!1}=e,{supportLink:Pt}=e,{outerContainerRef:ht=void 0}=e,{showMiniTimer:Fe=!1}=e,{fullScreenTarget:_t=void 0}=e,{playerStarted:Ut=!1}=e,{playNextVideo:ce=Xe}=e,{playPrevVideo:wt=Xe}=e,{repeatPlaylist:ot=Xe}=e,{seekToInteractive:Lt}=e,{toggleGraph:ut}=e,{playPrevChapter:Et}=e,{firstStart:$e}=e,{seekTime:He}=e;const St=we.getLogger().createComponentLog("Root component"),Ki=we.interfaceLanguage$;O(i,Ki,x=>t(46,ie=x));const ci=we.state.playbackState$;O(i,ci,x=>t(123,re=x));const fi=we.ads.playbackState;O(i,fi,x=>t(124,le=x));const rn=we.state.positionWithScrubbing$;O(i,rn,x=>t(44,o=x));const di=we.state.duration$;O(i,di,x=>t(43,r=x));const Xt=we.playerPhase;O(i,Xt,x=>t(34,V=x));const ni=we.ui.isFullscreen;O(i,ni,x=>t(137,a=x));const Ot=we.ui.controlsVisible;O(i,Ot,x=>t(30,l=x));const oi=we.ui.interactiveHideMobileControls;O(i,oi,x=>t(115,h=x));const Di=we.ui.settingsMenuVisible;O(i,Di,x=>t(114,n=x));const li=we.ui.scrubbingInProgress;O(i,li,x=>t(116,v=x));const mi=we.ui.debugPanelVisible;O(i,mi,x=>t(57,Ve=x));const pi=we.state.isLoaderVisible;O(i,pi,x=>t(125,R=x));const Jt=we.state.isEnded$;O(i,Jt,x=>t(118,C=x));const zi=we.state.chromecastConnected$;O(i,zi,x=>t(35,q=x));const hi=we.state.chromecastDeviceName$;O(i,hi,x=>t(51,$=x));const Bt=we.ads.postrollPassed;O(i,Bt,x=>t(119,y=x));const vi=we.ui.mobileUnmuteButtonExpanded,Fi=we.ui.mobileUnmuteButtonVisible,It=we.state.isLive$;O(i,It,x=>t(55,ye=x));const Kt=we.state.isPlaying$;O(i,Kt,x=>t(56,Ie=x));const gi=we.state.isActiveLive$;O(i,gi,x=>t(48,I=x));const Ii=we.state.isRewindableLive$,lt=we.state.crashed$;O(i,lt,x=>t(33,b=x));const mt=we.webApi.pictureInPictureApi,ri=we.state.videoSize$;O(i,ri,x=>t(138,f=x));const Rt=we.state.currentSubtitle$;O(i,Rt,x=>t(52,D=x));const bi=we.state.currentSubtitleCaptions$;O(i,bi,x=>t(53,Y=x));const Li=we.state.duration$;O(i,Li,x=>t(54,Pe=x));const Dt=we.state.graphIsOpened$;O(i,Dt,x=>t(122,j=x));const zt=we.ui.playerSize;O(i,zt,x=>t(31,c=x));const Gi=we.ui.is3DVideo;O(i,Gi,x=>t(49,X=x));const _i=we.ui.icon3DVideoVisible;O(i,_i,x=>t(50,S=x));const Xi=we.ui.rotateAlpha;O(i,Xi,x=>t(32,_=x));const Vi=we.state.isInteractive,Ji=we.state.isInteractiveTime$;O(i,Ji,x=>t(117,w=x));const si=we.state.isInteractiveExpectation$;O(i,si,x=>t(121,L=x));const Mi=we.state.hasInteractiveBranches,Nt=we.ui.controls.disabledControls$;O(i,Nt,x=>t(47,Z=x));const qt=we.ui.touched;O(i,qt,x=>t(120,k=x));const wi=we.ui.clientInfo$;O(i,wi,x=>t(136,s=x));const yi=we.ui.overlayContainer$,Bi=we.actions.internal.closeSettingsMenu;let At,Hi,Ui,ki,qi,ji,Wi;const Ci=Be(!1);O(i,Ci,x=>t(45,m=x));let Si,xt=!1,$t,Me=!1,Ri,Zi=!0,qe,xi,Ti=!1,$i;mt==null||mt.setContext(H1());const en=x=>{clearTimeout(ki),x&&(Fi.set(!0),vi.set(!0),ki=window.setTimeout(()=>{vi.set(!1)},Ce.controls.collapseMobileUnmute),Vi||Gt(Ce.controls.hideTimeoutMobile))};we.setUiCallbacks({onStarted:en});const sn=()=>{window.clearTimeout(Ui),t(109,xt=!1),h&&oi.set(!1)},Gt=x=>{sn(),t(109,xt=!0),Ui=window.setTimeout(()=>t(109,xt=!1),x);const ct=x-100;Si=window.setTimeout(()=>{m&&Ci.set(!1)},ct>0?ct:x)},ai=Gi.subscribe(x=>{_i.set(x),x&&(window.clearTimeout(qi),qi=window.setTimeout(()=>_i.set(!1),Ce.controls.hide360IconTimeout))}),ui=async()=>{var ct,cn,Qi,nn;const x=Uo();if(x){Gt(Ce.controls.hideTimeoutFullscreen);try{await(mt==null?void 0:mt.remove())}catch(fn){St({message:String(fn)})}try{const fn=f!=null&&f.width&&(f!=null&&f.height)?f:c;await n3(fn)}catch(fn){St({message:String(fn)})}}ni.set(x),we.getAdmanWrapper().setFullscreen(x),a?(cn=(ct=we.callbacks)==null?void 0:ct.onFullscreenEnter)==null||cn.call(ct):(nn=(Qi=we.callbacks)==null?void 0:Qi.onFullscreenExit)==null||nn.call(Qi)},an=x=>{const ct=x;zt.set({width:ct.target.width,height:ct.target.height})};vn(()=>{var ct;return qc(ui),Tl(mt)&&(mt==null||mt.assignPlayerContainer(At),mt==null||mt.registryExternalEventHandlers({resize:an})),t(39,Zi=!X_(s)),se&&((ct=ue.parentElement)==null||ct.insertBefore(se,ue.nextSibling)),()=>{window.clearTimeout(Ui),window.clearTimeout(Si),window.clearTimeout(ki),window.clearTimeout(qi),ai(),mt==null||mt.dispose(),jc(ui)}});const Yi=x=>{let ct=o+(x==="forward"?1:-1)*Ce.controls.seekStepMobile/1e3;ct<0?ct=0:ct>r&&(ct=r-1),t(111,Me=!0),He(ct)},tn=async()=>{if(Uo())await Uc(document),St({message:"exit fullscreen"});else{St({message:"request fullscreen"});const x=Cr()||!ht?At:ht,ct=x.getRootNode(),cn=ct instanceof ShadowRoot?ct.host:ct,Qi=_t instanceof HTMLElement&&_t.contains(cn),nn=Ce.allowChangingFullscreenTarget&&_t&&Qi?_t:x;await Hc(nn)}},Pi=()=>{Bi()},te=()=>{if(n){Pi();return}if(!Ut){$e(),Gt(Ce.controls.hideTimeoutCursor);return}t(111,Me=!1),l?sn():Gt(Ce.controls.hideTimeoutMobile)},rt=()=>{if(n){Pi();return}},jt=()=>{qt.set(!0)},Ei=()=>{Vi||(Ci.set(!0),Gt(Ce.controls.hideTimeoutCursor))};function vt(x){ke[x?"unshift":"push"](()=>{ue=x,t(0,ue)})}const dn=()=>Yi("backward"),bn=()=>Yi("forward");function mn(x){Hi=x,t(37,Hi)}function _n(x){ke[x?"unshift":"push"](()=>{Wi=x,t(29,Wi)})}function un(x){ke[x?"unshift":"push"](()=>{At=x,t(36,At)})}return i.$$set=x=>{"store"in x&&t(103,we=x.store),"uiConfig"in x&&t(1,Ce=x.uiConfig),"thumbUrl"in x&&t(2,Q=x.thumbUrl),"videoLogoUrl"in x&&t(3,ee=x.videoLogoUrl),"videoContainer"in x&&t(0,ue=x.videoContainer),"interactiveContainer"in x&&t(104,se=x.interactiveContainer),"live"in x&&t(4,Ue=x.live),"autoplay"in x&&t(5,Ne=x.autoplay),"canRewindLive"in x&&t(6,Le=x.canRewindLive),"showAds"in x&&t(7,Ae=x.showAds),"adsSlotId"in x&&t(8,ae=x.adsSlotId),"adsParams"in x&&t(9,pe=x.adsParams),"adsPreviewParam"in x&&t(10,oe=x.adsPreviewParam),"duration"in x&&t(11,Te=x.duration),"logoClickable"in x&&t(12,me=x.logoClickable),"logoHidden"in x&&t(13,Se=x.logoHidden),"showNextPrevButtons"in x&&t(14,Ke=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Re=x.nextButtonActive),"prevButtonActive"in x&&t(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,xe=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,nt=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,at=x.isOneVideoPlaylist),"supportLink"in x&&t(20,Pt=x.supportLink),"outerContainerRef"in x&&t(105,ht=x.outerContainerRef),"showMiniTimer"in x&&t(106,Fe=x.showMiniTimer),"fullScreenTarget"in x&&t(107,_t=x.fullScreenTarget),"playerStarted"in x&&t(21,Ut=x.playerStarted),"playNextVideo"in x&&t(22,ce=x.playNextVideo),"playPrevVideo"in x&&t(23,wt=x.playPrevVideo),"repeatPlaylist"in x&&t(24,ot=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Lt=x.seekToInteractive),"toggleGraph"in x&&t(26,ut=x.toggleGraph),"playPrevChapter"in x&&t(27,Et=x.playPrevChapter),"firstStart"in x&&t(28,$e=x.firstStart),"seekTime"in x&&t(108,He=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,ji=(V===Oe.Video&&R||V===Oe.Ads&&le===ti.INACTIVE)&&!b),i.$$.dirty[0]&536870912&&yi.set(Wi),i.$$.dirty[3]&1073741824&&t(110,$t=re!==Yt.PLAYING),i.$$.dirty[3]&843251712&&t(112,Ri=j||h||!xt&&(C&&!!Mi||$t&&L)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Ot.set(($t||n||v||q||xt&&!Me)&&!Ri&&V===Oe.Video&&!b),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,qe=Ce.features.thumbTimer&&Fe&&V===Oe.Video&&!l&&!b&&!Vi&&(Ce.hideThumbTimerAfterTouch&&!k||!Ce.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,xi=(Ae&&y||!Ae)&&C&&!b),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!v&&Ti&&!w&&Gt(Ce.controls.hideTimeoutMobile),t(113,Ti=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,$i=ue&&_%180?c.height/c.width:1)},[ue,Ce,Q,ee,Ue,Ne,Le,Ae,ae,pe,oe,Te,me,Se,Ke,Re,Je,xe,nt,at,Pt,Ut,ce,wt,ot,Lt,ut,Et,$e,Wi,l,c,_,b,V,q,At,Hi,ji,Zi,qe,xi,$i,r,o,m,ie,Z,I,X,S,$,D,Y,Pe,ye,Ie,Ve,Ki,ci,fi,rn,di,Xt,ni,Ot,oi,Di,li,mi,pi,Jt,zi,hi,Bt,It,Kt,gi,Ii,lt,ri,Rt,bi,Li,Dt,zt,Gi,_i,Xi,Vi,Ji,si,Nt,qt,wi,Ci,Yi,tn,Pi,te,rt,jt,Ei,we,se,ht,Fe,_t,He,xt,$t,Me,Ri,Ti,n,h,v,w,C,y,k,L,j,re,le,R,vt,dn,bn,mn,_n,un]}class r6 extends _e{constructor(e){super(),be(this,e,l6,o6,ge,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},n6,[-1,-1,-1,-1,-1])}}function s6(i){Ze(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
32
|
+
)}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function C_(t){let e,i;return{c(){e=E("div"),i=Fe(t[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",t[1])},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&tt(i,n[0]),l&2&&V(e,"hidden",n[1])},i:K,o:K,d(n){n&&T(e)}}}function T_(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"isHidden"in r&&i(1,l=r.isHidden)},[n,l]}class P_ extends we{constructor(e){super(),_e(this,e,T_,C_,ge,{title:0,isHidden:1},y_)}}function S_(t){Ze(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Wu(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[0]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_day_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&1&&tt(n,a[0])},d(a){a&&(T(e),T(o),T(s))}}}function Zu(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[1]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_hour_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&2&&tt(n,a[1])},d(a){a&&(T(e),T(o),T(s))}}}function Ku(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[2]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_minute_value")}`,o=N(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&4&&tt(n,a[2])},d(a){a&&(T(e),T(o),T(s))}}}function Gu(t){let e,i,n,l,r;return{c(){e=E("div"),i=E("span"),n=Fe(t[3]),l=N(),r=E("span"),r.textContent=`${G("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),p(e,r)},p(o,s){s&8&&tt(n,o[3])},d(o){o&&T(e)}}}function E_(t){let e,i,n,l,r=t[0]&&Wu(t),o=t[1]&&Zu(t),s=t[2]&&Ku(t),a=t[3]&&Gu(t);return{c(){e=E("div"),r&&r.c(),i=N(),o&&o.c(),n=N(),s&&s.c(),l=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){P(c,e,f),r&&r.m(e,null),p(e,i),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Wu(c),r.c(),r.m(e,i)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=Zu(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=Ku(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Gu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&T(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function I_(t,e,i){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=_=>String(_).padStart(2,"0"),d=_=>{const g=Math.floor(_/86400);g&&(_-=g*86400,i(0,r=f(g)));const w=Math.floor(_/3600);i(1,o=f(w));const b=Math.floor(_/60)%60;i(2,s=f(b));const C=_%60;i(3,a=f(C))},h=()=>{const _=Math.floor(Date.now()/1e3),g=n-_;d(g),g>=1?c=requestAnimationFrame(h):l()};return pn(()=>{c=requestAnimationFrame(h)}),Zo(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,l=_.onTimerOver)},[r,o,s,a,n,l]}class A_ extends we{constructor(e){super(),_e(this,e,I_,E_,ge,{startTime:4,onTimerOver:5},S_)}}function L_(t){let e,i,n,l,r;return{c(){e=R("svg"),i=R("path"),n=R("path"),l=R("path"),r=R("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ut(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ut(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ut(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ut(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ut(e,"shape-rendering","geometricPrecision"),Ut(e,"text-rendering","geometricPrecision"),Ut(e,"image-rendering","optimizeQuality"),Ut(e,"fill-rule","evenodd"),Ut(e,"clip-rule","evenodd"),Ut(e,"width","100%"),Ut(e,"height","100%")},m(o,s){P(o,e,s),p(e,i),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&T(e)}}}class M_ extends we{constructor(e){super(),_e(this,e,null,L_,ge,{})}}function V_(t){Ze(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function B_(t){let e,i,n,l,r;return l=new A_({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=E("div"),i=E("span"),i.textContent=`${G("waiting_live_timer_title")}`,n=N(),U(l.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){P(o,e,s),p(e,i),p(e,n),F(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){v(l.$$.fragment,o),r=!1},d(o){o&&T(e),H(l)}}}function R_(t){let e,i,n,l,r,o;return n=new M_({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){P(s,e,a),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&T(e),H(n)}}}function N_(t){let e,i,n,l,r;const o=[R_,B_],s=[];function a(c,f){return c[2]?0:1}return i=a(t),n=s[i]=o[i](t),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){P(c,e,f),s[i].m(e,null),r=!0},p(c,[f]){let d=i;i=a(c),i===d?s[i].p(c,f):(fe(),v(s[d],1,1,()=>{s[d]=null}),de(),n=s[i],n?n.p(c,f):(n=s[i]=o[i](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){v(n),r=!1},d(c){c&&T(e),s[i].d()}}}function O_(t,e,i){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>i(2,n=!0);return t.$$set=s=>{"thumbUrl"in s&&i(0,l=s.thumbUrl),"startTime"in s&&i(1,r=s.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class Of extends we{constructor(e){super(),_e(this,e,O_,N_,ge,{thumbUrl:0,startTime:1},V_)}}function D_(t){Ze(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function z_(t){let e,i;return{c(){e=E("div"),i=E("p"),i.textContent=`${G("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&T(e)}}}class Df extends we{constructor(e){super(),_e(this,e,null,z_,ge,{},D_)}}const{window:F_}=B1;function H_(t){Ze(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Yu(t){var n;let e,i;return e=new Of({props:{thumbUrl:t[3],startTime:(n=t[5])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Qu(t){let e,i;return e=new Df({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xu(t){let e,i,n;return i=new zc({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",t[38]!==Oe.Ads)},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),i.$set(o),(!n||r[1]&128)&&V(e,"hidden",l[38]!==Oe.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function Ju(t){let e,i;return e=new $3({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xu(t){let e,i;return e=new P_({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $u(t){let e,i;return e=new Mf({props:{isShifted:t[38]===Oe.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===Oe.Video&&n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function e1(t){let e,i,n;return i=new ec({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function t1(t){let e,i;return e=new Bf({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function i1(t){let e,i;return e=new Vf({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n1(t){let e,i,n,l,r;return i=new Rf({}),{c(){e=E("div"),U(i.$$.fragment)},m(o,s){P(o,e,s),F(i,e,null),n=!0,l||(r=[he(e,"contextmenu",oi(t[107])),he(e,"click",ot(t[118]))],l=!0)},p:K,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i),l=!1,nt(r)}}}function o1(t){let e,i,n;function l(o){t[151](o)}let r={bottomHidden:t[38]===Oe.Thumb||t[38]===Oe.WaitingLive||t[38]===Oe.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===Oe.Ads,canRewindLive:t[7]&&t[59]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:j_,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[150],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(r.controlsElementRef=t[41]),e=new Af({props:r}),Ce.push(()=>qe(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===Oe.Thumb||o[38]===Oe.WaitingLive||o[38]===Oe.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===Oe.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!i&&s[1]&1024&&(i=!0,a.controlsElementRef=o[41],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function l1(t){let e,i;return e=new Xc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function r1(t){let e,i;return e=new kp({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s1(t){let e,i;return e=new Zc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a1(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re;e=new Nf({props:{hidden:t[38]!==Oe.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let le=t[38]===Oe.WaitingLive&&Yu(t),Z=t[38]===Oe.WaitingRecord&&Qu(),Y=t[8]&&t[22]&&Xu(t),O=t[31]&&t[18]&&t[19]&&Ju(t),X=t[46]&&xu(t),L=t[51]&&$u(t),B=t[54]&&e1(),te=t[39]&&t1(t),S=t[56].value!=="off"&&i1(t),ee=t[37]&&n1(t),Pe=t[22]&&o1(t);g=new Hc({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),b=new i_({props:{data:t[102]}});function ke(q){t[153](q)}let Ee={supportLink:t[21],returnFocus:t[152],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(Ee.menuElementRef=t[32]),k=new V3({props:Ee}),Ce.push(()=>qe(k,"menuElementRef",ke));let Be=t[44]&&l1(),be=t[63]&&r1(),ye=t[64]&&s1();return{c(){U(e.$$.fragment),i=N(),le&&le.c(),n=N(),Z&&Z.c(),l=N(),Y&&Y.c(),r=N(),O&&O.c(),o=N(),X&&X.c(),s=N(),L&&L.c(),a=N(),B&&B.c(),c=N(),te&&te.c(),f=N(),S&&S.c(),d=N(),ee&&ee.c(),h=N(),Pe&&Pe.c(),_=N(),U(g.$$.fragment),w=N(),U(b.$$.fragment),C=N(),U(k.$$.fragment),M=N(),Be&&Be.c(),Q=N(),be&&be.c(),A=N(),ye&&ye.c(),z=pt()},m(q,$){F(e,q,$),P(q,i,$),le&&le.m(q,$),P(q,n,$),Z&&Z.m(q,$),P(q,l,$),Y&&Y.m(q,$),P(q,r,$),O&&O.m(q,$),P(q,o,$),X&&X.m(q,$),P(q,s,$),L&&L.m(q,$),P(q,a,$),B&&B.m(q,$),P(q,c,$),te&&te.m(q,$),P(q,f,$),S&&S.m(q,$),P(q,d,$),ee&&ee.m(q,$),P(q,h,$),Pe&&Pe.m(q,$),P(q,_,$),F(g,q,$),P(q,w,$),F(b,q,$),P(q,C,$),F(k,q,$),P(q,M,$),Be&&Be.m(q,$),P(q,Q,$),be&&be.m(q,$),P(q,A,$),ye&&ye.m(q,$),P(q,z,$),re=!0},p(q,$){const ue={};$[0]&64|$[1]&192&&(ue.hidden=q[38]!==Oe.Thumb||q[37]||q[93]&&q[6]),$[0]&8&&(ue.thumbUrl=q[3]),$[0]&536870912&&(ue.startVideo=q[29]),e.$set(ue),q[38]===Oe.WaitingLive?le?(le.p(q,$),$[1]&128&&m(le,1)):(le=Yu(q),le.c(),m(le,1),le.m(n.parentNode,n)):le&&(fe(),v(le,1,1,()=>{le=null}),de()),q[38]===Oe.WaitingRecord?Z?$[1]&128&&m(Z,1):(Z=Qu(),Z.c(),m(Z,1),Z.m(l.parentNode,l)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),q[8]&&q[22]?Y?(Y.p(q,$),$[0]&4194560&&m(Y,1)):(Y=Xu(q),Y.c(),m(Y,1),Y.m(r.parentNode,r)):Y&&(fe(),v(Y,1,1,()=>{Y=null}),de()),q[31]&&q[18]&&q[19]?O?(O.p(q,$),$[0]&786432|$[1]&1&&m(O,1)):(O=Ju(q),O.c(),m(O,1),O.m(o.parentNode,o)):O&&(fe(),v(O,1,1,()=>{O=null}),de()),q[46]?X?(X.p(q,$),$[1]&32768&&m(X,1)):(X=xu(q),X.c(),m(X,1),X.m(s.parentNode,s)):X&&(fe(),v(X,1,1,()=>{X=null}),de()),q[51]?L?(L.p(q,$),$[1]&1048576&&m(L,1)):(L=$u(q),L.c(),m(L,1),L.m(a.parentNode,a)):L&&(fe(),v(L,1,1,()=>{L=null}),de()),q[54]?B?(B.p(q,$),$[1]&8388608&&m(B,1)):(B=e1(),B.c(),m(B,1),B.m(c.parentNode,c)):B&&(fe(),v(B,1,1,()=>{B=null}),de()),q[39]?te?(te.p(q,$),$[1]&256&&m(te,1)):(te=t1(q),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(fe(),v(te,1,1,()=>{te=null}),de()),q[56].value!=="off"?S?(S.p(q,$),$[1]&33554432&&m(S,1)):(S=i1(q),S.c(),m(S,1),S.m(d.parentNode,d)):S&&(fe(),v(S,1,1,()=>{S=null}),de()),q[37]?ee?(ee.p(q,$),$[1]&64&&m(ee,1)):(ee=n1(q),ee.c(),m(ee,1),ee.m(h.parentNode,h)):ee&&(fe(),v(ee,1,1,()=>{ee=null}),de()),q[22]?Pe?(Pe.p(q,$),$[0]&4194304&&m(Pe,1)):(Pe=o1(q),Pe.c(),m(Pe,1),Pe.m(_.parentNode,_)):Pe&&(fe(),v(Pe,1,1,()=>{Pe=null}),de());const se={};$[1]&536870912&&(se.isLive=q[60]),$[1]&16384&&(se.isHidden=!q[45]),$[1]&1073741824&&(se.isPlaying=q[61]),$[1]&134217728&&(se.position=q[58]),$[2]&1&&(se.duration=q[62]),g.$set(se);const je={};$[0]&2097152&&(je.supportLink=q[21]),$[1]&524288&&(je.returnFocus=q[152]),$[1]&4&&(je.visible=q[33]),$[1]&512&&(je.playerContainerRef=q[40]),$[1]&1024&&(je.controlsContainerRef=q[41]),$[1]&2048&&(je.x=q[42]),$[1]&4096&&(je.y=q[43]),!y&&$[1]&2&&(y=!0,je.menuElementRef=q[32],Ue(()=>y=!1)),k.$set(je),q[44]?Be?$[1]&8192&&m(Be,1):(Be=l1(),Be.c(),m(Be,1),Be.m(Q.parentNode,Q)):Be&&(fe(),v(Be,1,1,()=>{Be=null}),de()),q[63]?be?$[2]&2&&m(be,1):(be=r1(),be.c(),m(be,1),be.m(A.parentNode,A)):be&&(fe(),v(be,1,1,()=>{be=null}),de()),q[64]?ye?$[2]&4&&m(ye,1):(ye=s1(),ye.c(),m(ye,1),ye.m(z.parentNode,z)):ye&&(fe(),v(ye,1,1,()=>{ye=null}),de())},i(q){re||(m(e.$$.fragment,q),m(le),m(Z),m(Y),m(O),m(X),m(L),m(B),m(te),m(S),m(ee),m(Pe),m(g.$$.fragment,q),m(b.$$.fragment,q),m(k.$$.fragment,q),m(Be),m(be),m(ye),re=!0)},o(q){v(e.$$.fragment,q),v(le),v(Z),v(Y),v(O),v(X),v(L),v(B),v(te),v(S),v(ee),v(Pe),v(g.$$.fragment,q),v(b.$$.fragment,q),v(k.$$.fragment,q),v(Be),v(be),v(ye),re=!1},d(q){q&&(T(i),T(n),T(l),T(r),T(o),T(s),T(a),T(c),T(f),T(d),T(h),T(_),T(w),T(C),T(M),T(Q),T(A),T(z)),H(e,q),le&&le.d(q),Z&&Z.d(q),Y&&Y.d(q),O&&O.d(q),X&&X.d(q),L&&L.d(q),B&&B.d(q),te&&te.d(q),S&&S.d(q),ee&&ee.d(q),Pe&&Pe.d(q),H(g,q),H(b,q),H(k,q),Be&&Be.d(q),be&&be.d(q),ye&&ye.d(q)}}}function U_(t){let e,i,n,l,r=t[53],o,s,a,c,f=a1(t);return{c(){e=E("div"),i=E("div"),l=N(),f.c(),o=pt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[48]})`),V(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",t[38]!==Oe.Video),V(e,"nocursor",t[47])},m(d,h){P(d,e,h),p(e,i),t[149](i),P(d,l,h),f.m(d,h),P(d,o,h),s=!0,a||(c=[he(e,"contextmenu",oi(t[107])),he(e,"mousedown",oi(t[112])),he(e,"mouseup",oi(t[113])),he(e,"click",oi(t[115])),he(e,"dblclick",oi(t[114]))],a=!0)},p(d,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[48]})`))&&u(i,"style",n),(!s||h[0]&2)&&V(i,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&V(e,"hidden",d[38]!==Oe.Video),(!s||h[1]&65536)&&V(e,"nocursor",d[47]),h[1]&4194304&&ge(r,r=d[53])?(fe(),v(f,1,1,K),de(),f=a1(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){v(f),s=!1},d(d){d&&(T(e),T(l),T(o)),t[149](null),f.d(d),a=!1,nt(c)}}}function q_(t){let e,i,n,l,r,o,s,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===Oe.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[U_]},$$scope:{ctx:t}};return i=new np({props:a}),t[154](i),{c(){e=E("div"),U(i.$$.fragment),n=N(),l=E("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){P(c,e,f),F(i,e,null),p(e,n),p(e,l),t[155](l),t[156](e),r=!0,o||(s=[he(F_,"blur",t[106]),he(e,"mouseenter",t[108]),he(e,"mouseleave",t[110]),he(e,"mousemove",t[111]),he(e,"click",t[119],!0),he(e,"focusin",t[109],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===Oe.Ads),f[1]&262144&&(d.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(d.$$scope={dirty:f,ctx:c}),i.$set(d)},i(c){r||(m(i.$$.fragment,c),r=!0)},o(c){v(i.$$.fragment,c),r=!1},d(c){c&&T(e),t[154](null),H(i),t[155](null),t[156](null),o=!1,nt(s)}}}let j_=!0;function zf(t){return t?t.offsetTop+zf(t.offsetParent):0}function W_(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe,ke,Ee,Be,be,ye,q,{store:$}=e,{uiConfig:ue}=e,{title:se}=e,{thumbUrl:je}=e,{videoLogoUrl:Ne}=e,{videoContainer:Le}=e,{interactiveContainer:Ie}=e,{live:ae}=e,{autoplay:pe}=e,{canRewindLive:oe}=e,{showAds:Ae}=e,{adsSlotId:me=void 0}=e,{adsParams:Te=void 0}=e,{adsPreviewParam:Ke=void 0}=e,{duration:Re=void 0}=e,{logoClickable:Je}=e,{logoHidden:xe}=e,{showNextPrevButtons:at=!1}=e,{nextButtonActive:lt=!1}=e,{prevButtonActive:Tt=!1}=e,{endScreenVideoTitle:rt=void 0}=e,{endScreenVideoThumb:xt=void 0}=e,{isOneVideoPlaylist:wt=!1}=e,{supportLink:De}=e,{outerContainerRef:ce=void 0}=e,{playerStarted:gt=!1}=e,{fullScreenTarget:st=void 0}=e,{showMiniTimer:Rt=!1}=e,{playNextVideo:dt=Ye}=e,{playPrevVideo:Pt=Ye}=e,{repeatPlaylist:$e=Ye}=e,{seekToInteractive:We}=e,{toggleGraph:kt}=e,{playPrevChapter:en}=e,{firstStart:li}=e;const Ii=$.getLogger().createComponentLog("Root component"),tn=$.interfaceLanguage$;D(t,tn,W=>i(53,L=W));const ri=$.state.playbackState$;D(t,ri,W=>i(146,Y=W));const $t=$.ads.playbackState;D(t,$t,W=>i(147,O=W));const si=$.state.positionWithScrubbing$;D(t,si,W=>i(58,Pe=W));const Ot=$.state.duration$;D(t,Ot,W=>i(62,be=W));const hi=$.playerPhase;D(t,hi,W=>i(38,A=W));const Ai=$.ui.isFullscreen;D(t,Ai,W=>i(136,d=W));const ai=$.ui.controlsVisible;D(t,ai,W=>i(36,C=W));const Li=$.ui.settingsMenuVisible;D(t,Li,W=>i(134,o=W));const vi=$.ui.scrubbingInProgress;D(t,vi,W=>i(138,w=W));const ui=$.ui.contextMenuVisible;D(t,ui,W=>i(33,n=W));const Mi=$.ui.debugPanelVisible;D(t,Mi,W=>i(64,q=W));const Vi=$.state.isLoaderVisible;D(t,Vi,W=>i(148,X=W));const Bi=$.state.isEnded$;D(t,Bi,W=>i(135,a=W));const Ri=$.state.chromecastConnected$;D(t,Ri,W=>i(39,le=W));const gi=$.state.chromecastDeviceName$;D(t,gi,W=>i(55,te=W));const It=$.ads.postrollPassed;D(t,It,W=>i(141,M=W));const bi=$.state.isLive$;D(t,bi,W=>i(60,Ee=W));const Lt=$.state.isPlaying$;D(t,Lt,W=>i(61,Be=W));const ci=$.state.crashed$;D(t,ci,W=>i(37,y=W));const ut=$.webApi.pictureInPictureApi,mt=$.state.currentSubtitle$;D(t,mt,W=>i(56,S=W));const jt=$.state.currentSubtitleCaptions$;D(t,jt,W=>i(57,ee=W));const Dt=$.state.duration$;D(t,Dt,W=>i(59,ke=W));const _i=$.state.graphIsOpened$;D(t,_i,W=>i(142,Q=W));const fi=$.ui.playerSize;D(t,fi,W=>i(34,f=W));const ei=$.ui.is3DVideo;D(t,ei,W=>i(51,c=W));const di=$.ui.icon3DVideoVisible;D(t,di,W=>i(54,B=W));const Ni=$.ui.rotateAlpha;D(t,Ni,W=>i(35,g=W));const At=$.state.isInteractive,Gi=$.state.isInteractiveTime$;D(t,Gi,W=>i(139,b=W));const Yi=$.state.isInteractiveExpectation$;D(t,Yi,W=>i(145,Z=W));const Qi=$.state.hasInteractiveBranches,Oi=$.ui.touched;D(t,Oi,W=>i(143,z=W));const Kt=$.ui.modals.hotKeyMap.data;D(t,Kt,W=>i(163,s=W));const wi=$.ui.modals.hotKeyMap.show;D(t,wi,W=>i(63,ye=W));const nn=$.ui.overlayContainer$,Di=$.actions.internal.closeSettingsMenu,{fakeIsPlaying$:zt}=Yo();D(t,zt,W=>i(137,_=W));let Ft,zi,Fi=0,ki=0,Hi,Ui,Wt;Kt.set(x4());let Xi,qi;const yi=Me(!1);D(t,yi,W=>i(52,h=W));let Ki;const Ci=Me(!1);D(t,Ci,W=>i(144,re=W));const Gt=Me(),Ti=Me(!1);D(t,Ti,W=>i(140,k=W));let He=!1,mi=!1,pi,Ve,sn,an,Ji,un,xi=!1,Yt,$i=!1;const{toggle:Pi}=zt;let ji=!1,Nt=null,Qt;ut==null||ut.setContext(R1());const ne=()=>{pe&&!At&&St(ue.controls.hideTimeout)};$.setUiCallbacks({onStarted:ne});const it=()=>{window.clearTimeout(Hi),Ci.set(!1)},ti=()=>{window.clearTimeout(Ui),Gt.set(null)},St=W=>{it(),Ci.set(!0),Hi=window.setTimeout(()=>Ci.set(!1),W);const Et=W-100;Ki=window.setTimeout(()=>{h&&yi.set(!1)},Et>0?Et:W)},Mt=(W,Et)=>{ti(),Gt.set(Et),Ui=window.setTimeout(()=>Gt.set(null),W)},_n=ei.subscribe(W=>{di.set(W),W&&(window.clearTimeout(Wt),Wt=window.setTimeout(()=>di.set(!1),ue.controls.hide360IconTimeout))}),wn=async()=>{var Et,gn,ln,Tn;const W=qo();if(W){St(ue.controls.hideTimeoutFullscreen);try{await(ut==null?void 0:ut.remove())}catch(go){Ii({message:String(go)})}}Ai.set(W),$.getAdmanWrapper().setFullscreen(W),d?(gn=(Et=$.callbacks)==null?void 0:Et.onFullscreenEnter)==null||gn.call(Et):(Tn=(ln=$.callbacks)==null?void 0:ln.onFullscreenExit)==null||Tn.call(ln)},hn=W=>{const Et=W;fi.set({width:Et.target.width,height:Et.target.height})};pn(()=>{var Et;return Oc(wn),Il(ut)&&(ut==null||ut.assignPlayerContainer(Ft),ut==null||ut.registryExternalEventHandlers({resize:hn})),Ie&&((Et=Le.parentElement)==null||Et.insertBefore(Ie,Le.nextSibling)),()=>{window.clearTimeout(Hi),window.clearTimeout(Ki),window.clearTimeout(Ui),window.clearTimeout(Wt),_n(),ut==null||ut.dispose(),Dc(wn)}});const cn=async()=>{if(qo())await Nc(document),Ii({message:"exit fullscreen"});else{Ii({message:"request fullscreen"});const W=ce!=null?ce:Ft,Et=W.getRootNode(),gn=Et instanceof ShadowRoot?Et.host:Et,ln=st instanceof HTMLElement&&st.contains(gn),Tn=ue.allowChangingFullscreenTarget&&st&&ln?st:W;await Rc(Tn)}},Wi=()=>{Di(),ui.set(!1)},kn=W=>{ui.set(!0),i(42,Fi=W.clientX),i(43,ki=W.clientY)};function Rn(){Ti.set(!0),At||St(ue.controls.hideTimeoutCursor)}function Nn(){At||(yi.set(!0),St(ue.controls.hideTimeoutCursor))}function yn(){Ti.set(!1),i(128,mi=!1),i(127,He=!1),ji=!1,$.actions.internal.releaseCamera()}function Cn(W){if(Ft){const Et=zf(W.currentTarget),gn=f.height,ln=W.pageY-Et;ln<$r?i(128,mi=!0):ln>gn-$r?i(127,He=!0):(i(128,mi=!1),o||i(127,He=!1))}}function x(W){Cn(W),Ve||St(ue.controls.hideTimeoutCursor),c&&ji&&Nt&&$.actions.internal.moveCameraFocusPX(Nt.clientX-W.clientX,Nt.clientY-W.clientY,W.timeStamp-Nt.timeStamp),Nt=W}const ht=W=>{W.button===0&&(ji=!0,$.actions.internal.holdCamera()),St(ue.controls.hideTimeoutCursor)},fn=W=>{W.button===0&&(Nt=W,ji=!1,$.actions.internal.releaseCamera()),St(ue.controls.hideTimeoutCursor)},on=()=>{Ii({message:"double click on video"}),cn(),St(ue.controls.hideTimeoutCursor)},vn=()=>{if(n||o){Wi();return}if(!(a&&!Qi)){if($i)return Pi();if(Qt==null||Qt.focus(),!gt){li(),St(ue.controls.hideTimeoutCursor);return}$.actions.internal.togglePlay(),St(ue.controls.hideTimeoutCursor)}},dn=W=>{Wi(),Oi.set(!0),St(ue.controls.hideTimeout),W&&Mt(ue.controls.hideHotKeyHelpers,W)},Qn=()=>{var W,Et;Wi(),(W=$.callbacks)!=null&&W.onOpenHotKeyMap?(Et=$.callbacks)==null||Et.onOpenHotKeyMap(s):wi.update(gn=>!gn)},Xn=()=>{if(n||o){Wi();return}},Jn=()=>{Oi.set(!0)},On=$.ui.contextMenu.openedByKeyboard$;D(t,On,W=>i(133,r=W));let xn=$.ui.contextMenu.btnRef$;D(t,xn,W=>i(132,l=W));let Sn;function mn(W){Ce[W?"unshift":"push"](()=>{Le=W,i(0,Le)})}const J=()=>Qt==null?void 0:Qt.focus();function lo(W){zi=W,i(41,zi)}const mo=()=>Qt==null?void 0:Qt.focus();function ro(W){Sn=W,i(32,Sn)}function po(W){Ce[W?"unshift":"push"](()=>{Qt=W,i(50,Qt)})}function ho(W){Ce[W?"unshift":"push"](()=>{qi=W,i(30,qi)})}function vo(W){Ce[W?"unshift":"push"](()=>{Ft=W,i(40,Ft)})}return t.$$set=W=>{"store"in W&&i(122,$=W.store),"uiConfig"in W&&i(1,ue=W.uiConfig),"title"in W&&i(2,se=W.title),"thumbUrl"in W&&i(3,je=W.thumbUrl),"videoLogoUrl"in W&&i(4,Ne=W.videoLogoUrl),"videoContainer"in W&&i(0,Le=W.videoContainer),"interactiveContainer"in W&&i(123,Ie=W.interactiveContainer),"live"in W&&i(5,ae=W.live),"autoplay"in W&&i(6,pe=W.autoplay),"canRewindLive"in W&&i(7,oe=W.canRewindLive),"showAds"in W&&i(8,Ae=W.showAds),"adsSlotId"in W&&i(9,me=W.adsSlotId),"adsParams"in W&&i(10,Te=W.adsParams),"adsPreviewParam"in W&&i(11,Ke=W.adsPreviewParam),"duration"in W&&i(12,Re=W.duration),"logoClickable"in W&&i(13,Je=W.logoClickable),"logoHidden"in W&&i(14,xe=W.logoHidden),"showNextPrevButtons"in W&&i(15,at=W.showNextPrevButtons),"nextButtonActive"in W&&i(16,lt=W.nextButtonActive),"prevButtonActive"in W&&i(17,Tt=W.prevButtonActive),"endScreenVideoTitle"in W&&i(18,rt=W.endScreenVideoTitle),"endScreenVideoThumb"in W&&i(19,xt=W.endScreenVideoThumb),"isOneVideoPlaylist"in W&&i(20,wt=W.isOneVideoPlaylist),"supportLink"in W&&i(21,De=W.supportLink),"outerContainerRef"in W&&i(124,ce=W.outerContainerRef),"playerStarted"in W&&i(22,gt=W.playerStarted),"fullScreenTarget"in W&&i(125,st=W.fullScreenTarget),"showMiniTimer"in W&&i(126,Rt=W.showMiniTimer),"playNextVideo"in W&&i(23,dt=W.playNextVideo),"playPrevVideo"in W&&i(24,Pt=W.playPrevVideo),"repeatPlaylist"in W&&i(25,$e=W.repeatPlaylist),"seekToInteractive"in W&&i(26,We=W.seekToInteractive),"toggleGraph"in W&&i(27,kt=W.toggleGraph),"playPrevChapter"in W&&i(28,en=W.playPrevChapter),"firstStart"in W&&i(29,li=W.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Xi=(A===Oe.Video&&X||A===Oe.Ads&&O===ni.INACTIVE)&&!y),t.$$.dirty[0]&1073741824&&nn.set(qi),t.$$.dirty[4]&4194304&&i(129,pi=Y!==Xt.PLAYING),t.$$.dirty[4]&2131e3&&i(130,Ve=b&&!o&&!(He||mi)&&!(pi&&!Z)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&ai.set((pi||o||w||le||re)&&!Ve&&A===Oe.Video&&!y),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,sn=ue.features.thumbTimer&&Rt&&A===Oe.Video&&!C&&!y&&!At&&(ue.hideThumbTimerAfterTouch&&!z||!ue.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,an=A===Oe.Video&&!Q&&d),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,Ji=(Ae&&M||!Ae)&&a&&!y),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,un=k&&!(C||Ji)&&!b),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!w&&xi&&!b&&St(ue.controls.hideTimeoutCursor),i(131,xi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,Yt=Le&&g%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,$i=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&Br(Sn,n,r),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const W=l;W&&Vr(W,n,On)}},[Le,ue,se,je,Ne,ae,pe,oe,Ae,me,Te,Ke,Re,Je,xe,at,lt,Tt,rt,xt,wt,De,gt,dt,Pt,$e,We,kt,en,li,qi,Ji,Sn,n,f,g,C,y,A,le,Ft,zi,Fi,ki,Xi,sn,an,un,Yt,$i,Qt,c,h,L,B,te,S,ee,Pe,ke,Ee,Be,be,ye,q,tn,ri,$t,si,Ot,hi,Ai,ai,Li,vi,ui,Mi,Vi,Bi,Ri,gi,It,bi,Lt,ci,mt,jt,Dt,_i,fi,ei,di,Ni,At,Gi,Yi,Oi,Kt,wi,zt,yi,Ci,Gt,Ti,Pi,cn,Wi,kn,Rn,Nn,yn,x,ht,fn,on,vn,dn,Qn,Xn,Jn,On,xn,$,Ie,ce,st,Rt,He,mi,pi,Ve,xi,l,r,o,a,d,_,w,b,k,M,Q,z,re,Z,Y,O,X,mn,J,lo,mo,ro,po,ho,vo]}class Z_ extends we{constructor(e){super(),_e(this,e,W_,q_,ge,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},H_,[-1,-1,-1,-1,-1,-1])}}const K_=t=>{if(!wr(!0))return!1;const e=t.device===L0.iPad||(window==null?void 0:window.screen.width)>700,i=M0();return!e||e&&!!i&&i<16};function G_(t){Ze(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function u1(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b=G("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",C;return{c(){e=E("div"),n=N(),l=E("div"),r=E("div"),o=E("div"),a=N(),c=E("div"),d=N(),h=E("div"),g=N(),w=E("p"),C=Fe(b),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(o,"class",s="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(k,y){P(k,e,y),P(k,n,y),P(k,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,g),p(l,w),p(w,C)},p(k,y){y&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&_!==(_="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",_),y&2&&b!==(b=G("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&tt(C,b)},d(k){k&&(T(e),T(n),T(l))}}}function Y_(t){let e,i,n,l,r=t[2]&&u1(t);return{c(){e=E("div"),r&&r.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(o,s){P(o,e,s),r&&r.m(e,null),n||(l=he(e,"click",ot(t[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=u1(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&i!==(i="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",i)},i:K,o:K,d(o){o&&T(e),r&&r.d(),n=!1,l()}}}function Q_(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return Zo(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=d=>{"side"in d&&i(0,n=d.side),"seekStep"in d&&i(1,l=d.seekStep),"handleSingleFirstClick"in d&&i(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&i(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class Ff extends we{constructor(e){super(),_e(this,e,Q_,Y_,ge,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},G_)}}function X_(t,e,i){let{playNextVideo:n}=e;return pn(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class J_ extends we{constructor(e){super(),_e(this,e,X_,null,ge,{playNextVideo:0})}}const{window:x_}=B1;function $_(t){Ze(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function c1(t){let e,i,n,l;e=new Ff({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[129]}});let r=!t[48]&&f1(t);return{c(){U(e.$$.fragment),i=N(),r&&r.c(),n=pt()},m(o,s){F(e,o,s),P(o,i,s),r&&r.m(o,s),P(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(fe(),v(r,1,1,()=>{r=null}),de()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=f1(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){v(e.$$.fragment,o),v(r),l=!1},d(o){o&&(T(i),T(n)),H(e,o),r&&r.d(o)}}}function f1(t){let e,i;return e=new Ff({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[130]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d1(t){var n;let e,i;return e=new Of({props:{thumbUrl:t[2],startTime:(n=t[4])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function m1(t){let e,i;return e=new Df({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function p1(t){let e,i,n;return i=new zc({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",t[34]!==Oe.Ads)},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),i.$set(o),(!n||r[1]&8)&&V(e,"hidden",l[34]!==Oe.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function h1(t){let e,i;return e=new J_({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function v1(t){let e,i;return e=new Mf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function g1(t){let e,i,n;return i=new ec({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&T(e),H(i)}}}function b1(t){let e,i;return e=new Bf({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _1(t){let e,i;return e=new Vf({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function w1(t){let e,i,n,l,r;return i=new Rf({}),{c(){e=E("div"),U(i.$$.fragment)},m(o,s){P(o,e,s),F(i,e,null),n=!0,l||(r=he(e,"click",ot(t[100])),l=!0)},p:K,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&T(e),H(i),l=!1,r()}}}function k1(t){let e,i,n;function l(o){t[131](o)}let r={bottomHidden:t[34]===Oe.Thumb||t[34]===Oe.WaitingLive||t[34]===Oe.WaitingRecord||t[34]===Oe.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Oe.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27],onDisabledPlayPrevChapterClick:t[103],onDisabledSeekToInteractiveClick:t[104]};return t[37]!==void 0&&(r.controlsElementRef=t[37]),e=new Af({props:r}),Ce.push(()=>qe(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===Oe.Thumb||o[34]===Oe.WaitingLive||o[34]===Oe.WaitingRecord||o[34]===Oe.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===Oe.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!i&&s[1]&64&&(i=!0,a.controlsElementRef=o[37],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function y1(t){let e,i;return e=new Xc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C1(t){let e,i;return e=new Zc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function T1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(ft.TIMELINE),l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y;e=new Nf({props:{hidden:t[34]!==Oe.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let M=n&&c1(t),Q=t[34]===Oe.WaitingLive&&d1(t),A=t[34]===Oe.WaitingRecord&&m1(),z=t[7]&&t[21]&&p1(t),re=t[41]&&t[17]&&t[18]&&h1(t),le=t[49]&&v1(),Z=t[50]&&g1(),Y=t[35]&&b1(t),O=t[52].value!=="off"&&_1(t),X=t[33]&&w1(t),L=t[21]&&k1(t);w=new Hc({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let B=t[38]&&y1(),te=t[57]&&C1();return{c(){U(e.$$.fragment),i=N(),M&&M.c(),l=N(),Q&&Q.c(),r=N(),A&&A.c(),o=N(),z&&z.c(),s=N(),re&&re.c(),a=N(),le&&le.c(),c=N(),Z&&Z.c(),f=N(),Y&&Y.c(),d=N(),O&&O.c(),h=N(),X&&X.c(),_=N(),L&&L.c(),g=N(),U(w.$$.fragment),b=N(),B&&B.c(),C=N(),te&&te.c(),k=pt()},m(S,ee){F(e,S,ee),P(S,i,ee),M&&M.m(S,ee),P(S,l,ee),Q&&Q.m(S,ee),P(S,r,ee),A&&A.m(S,ee),P(S,o,ee),z&&z.m(S,ee),P(S,s,ee),re&&re.m(S,ee),P(S,a,ee),le&&le.m(S,ee),P(S,c,ee),Z&&Z.m(S,ee),P(S,f,ee),Y&&Y.m(S,ee),P(S,d,ee),O&&O.m(S,ee),P(S,h,ee),X&&X.m(S,ee),P(S,_,ee),L&&L.m(S,ee),P(S,g,ee),F(w,S,ee),P(S,b,ee),B&&B.m(S,ee),P(S,C,ee),te&&te.m(S,ee),P(S,k,ee),y=!0},p(S,ee){const Pe={};ee[0]&32|ee[1]&12&&(Pe.hidden=S[34]!==Oe.Thumb||S[33]||S[89]&&S[5]),ee[0]&4&&(Pe.thumbUrl=S[2]),ee[0]&268435456&&(Pe.startVideo=S[28]),e.$set(Pe),ee[0]&64|ee[1]&65536&&(n=S[6]&&S[78]&&!S[47].has(ft.TIMELINE)),n?M?(M.p(S,ee),ee[0]&64|ee[1]&65536&&m(M,1)):(M=c1(S),M.c(),m(M,1),M.m(l.parentNode,l)):M&&(fe(),v(M,1,1,()=>{M=null}),de()),S[34]===Oe.WaitingLive?Q?(Q.p(S,ee),ee[1]&8&&m(Q,1)):(Q=d1(S),Q.c(),m(Q,1),Q.m(r.parentNode,r)):Q&&(fe(),v(Q,1,1,()=>{Q=null}),de()),S[34]===Oe.WaitingRecord?A?ee[1]&8&&m(A,1):(A=m1(),A.c(),m(A,1),A.m(o.parentNode,o)):A&&(fe(),v(A,1,1,()=>{A=null}),de()),S[7]&&S[21]?z?(z.p(S,ee),ee[0]&2097280&&m(z,1)):(z=p1(S),z.c(),m(z,1),z.m(s.parentNode,s)):z&&(fe(),v(z,1,1,()=>{z=null}),de()),S[41]&&S[17]&&S[18]?re?(re.p(S,ee),ee[0]&393216|ee[1]&1024&&m(re,1)):(re=h1(S),re.c(),m(re,1),re.m(a.parentNode,a)):re&&(fe(),v(re,1,1,()=>{re=null}),de()),S[49]?le?ee[1]&262144&&m(le,1):(le=v1(),le.c(),m(le,1),le.m(c.parentNode,c)):le&&(fe(),v(le,1,1,()=>{le=null}),de()),S[50]?Z?(Z.p(S,ee),ee[1]&524288&&m(Z,1)):(Z=g1(),Z.c(),m(Z,1),Z.m(f.parentNode,f)):Z&&(fe(),v(Z,1,1,()=>{Z=null}),de()),S[35]?Y?(Y.p(S,ee),ee[1]&16&&m(Y,1)):(Y=b1(S),Y.c(),m(Y,1),Y.m(d.parentNode,d)):Y&&(fe(),v(Y,1,1,()=>{Y=null}),de()),S[52].value!=="off"?O?(O.p(S,ee),ee[1]&2097152&&m(O,1)):(O=_1(S),O.c(),m(O,1),O.m(h.parentNode,h)):O&&(fe(),v(O,1,1,()=>{O=null}),de()),S[33]?X?(X.p(S,ee),ee[1]&4&&m(X,1)):(X=w1(S),X.c(),m(X,1),X.m(_.parentNode,_)):X&&(fe(),v(X,1,1,()=>{X=null}),de()),S[21]?L?(L.p(S,ee),ee[0]&2097152&&m(L,1)):(L=k1(S),L.c(),m(L,1),L.m(g.parentNode,g)):L&&(fe(),v(L,1,1,()=>{L=null}),de());const ke={};ee[1]&16777216&&(ke.isLive=S[55]),ee[1]&512&&(ke.isHidden=!S[40]),ee[1]&33554432&&(ke.isPlaying=S[56]),ee[1]&8192&&(ke.position=S[44]),ee[1]&4096&&(ke.duration=S[43]),w.$set(ke),S[38]?B?ee[1]&128&&m(B,1):(B=y1(),B.c(),m(B,1),B.m(C.parentNode,C)):B&&(fe(),v(B,1,1,()=>{B=null}),de()),S[57]?te?ee[1]&67108864&&m(te,1):(te=C1(),te.c(),m(te,1),te.m(k.parentNode,k)):te&&(fe(),v(te,1,1,()=>{te=null}),de())},i(S){y||(m(e.$$.fragment,S),m(M),m(Q),m(A),m(z),m(re),m(le),m(Z),m(Y),m(O),m(X),m(L),m(w.$$.fragment,S),m(B),m(te),y=!0)},o(S){v(e.$$.fragment,S),v(M),v(Q),v(A),v(z),v(re),v(le),v(Z),v(Y),v(O),v(X),v(L),v(w.$$.fragment,S),v(B),v(te),y=!1},d(S){S&&(T(i),T(l),T(r),T(o),T(s),T(a),T(c),T(f),T(d),T(h),T(_),T(g),T(b),T(C),T(k)),H(e,S),M&&M.d(S),Q&&Q.d(S),A&&A.d(S),z&&z.d(S),re&&re.d(S),le&&le.d(S),Z&&Z.d(S),Y&&Y.d(S),O&&O.d(S),X&&X.d(S),L&&L.d(S),H(w,S),B&&B.d(S),te&&te.d(S)}}}function e6(t){let e,i,n,l,r,o=t[46],s,a,c,f,d,h=T1(t);return{c(){e=E("div"),i=E("div"),n=E("div"),r=N(),h.c(),s=N(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${t[32]}deg) scale(${t[42]})`),V(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),V(i,"hidden",t[34]!==Oe.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player")),u(e,"tabindex","-1")},m(_,g){P(_,e,g),p(e,i),p(i,n),t[128](n),p(e,r),h.m(e,null),p(e,s),p(e,a),t[132](a),t[133](e),c=!0,f||(d=[he(x_,"blur",t[98]),he(i,"click",oi(t[99])),he(e,"click",t[101],!0),he(e,"focusin",t[102],!0)],f=!0)},p(_,g){(!c||g[1]&2050&&l!==(l=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",l),(!c||g[0]&2)&&V(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||g[1]&8)&&V(i,"hidden",_[34]!==Oe.Video),g[1]&32768&&ge(o,o=_[46])?(fe(),v(h,1,1,K),de(),h=T1(_),h.c(),m(h,1),h.m(e,s)):h.p(_,g)},i(_){c||(m(h),c=!0)},o(_){v(h),c=!1},d(_){_&&T(e),t[128](null),h.d(_),t[132](null),t[133](null),f=!1,nt(d)}}}function t6(t,e,i){var yn,Cn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe,ke,Ee,Be,{store:be}=e,{uiConfig:ye}=e,{thumbUrl:q}=e,{videoLogoUrl:$}=e,{videoContainer:ue}=e,{interactiveContainer:se}=e,{live:je}=e,{autoplay:Ne}=e,{canRewindLive:Le}=e,{showAds:Ie}=e,{adsSlotId:ae=void 0}=e,{adsParams:pe=void 0}=e,{adsPreviewParam:oe=void 0}=e,{duration:Ae=void 0}=e,{logoClickable:me}=e,{logoHidden:Te}=e,{showNextPrevButtons:Ke=!1}=e,{nextButtonActive:Re=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:xe=void 0}=e,{endScreenVideoThumb:at=void 0}=e,{isOneVideoPlaylist:lt=!1}=e,{supportLink:Tt}=e,{outerContainerRef:rt=void 0}=e,{showMiniTimer:xt=!1}=e,{fullScreenTarget:wt=void 0}=e,{playerStarted:De=!1}=e,{playNextVideo:ce=Ye}=e,{playPrevVideo:gt=Ye}=e,{repeatPlaylist:st=Ye}=e,{seekToInteractive:Rt}=e,{toggleGraph:dt}=e,{playPrevChapter:Pt}=e,{firstStart:$e}=e,{seekTime:We}=e;const kt=be.getLogger().createComponentLog("Root component"),en=be.interfaceLanguage$;D(t,en,x=>i(46,Y=x));const li=be.state.playbackState$;D(t,li,x=>i(125,re=x));const Ii=be.ads.playbackState;D(t,Ii,x=>i(126,le=x));const tn=be.state.positionWithScrubbing$;D(t,tn,x=>i(44,o=x));const ri=be.state.duration$;D(t,ri,x=>i(43,r=x));const $t=be.playerPhase;D(t,$t,x=>i(34,M=x));const si=be.ui.isFullscreen;D(t,si,x=>i(139,a=x));const Ot=be.ui.controlsVisible;D(t,Ot,x=>i(30,l=x));const hi=be.ui.interactiveHideMobileControls;D(t,hi,x=>i(117,h=x));const Ai=be.ui.settingsMenuVisible;D(t,Ai,x=>i(116,n=x));const ai=be.ui.scrubbingInProgress;D(t,ai,x=>i(118,g=x));const Li=be.ui.debugPanelVisible;D(t,Li,x=>i(57,Be=x));const vi=be.state.isLoaderVisible;D(t,vi,x=>i(127,Z=x));const ui=be.state.isEnded$;D(t,ui,x=>i(120,C=x));const Mi=be.state.chromecastConnected$;D(t,Mi,x=>i(35,Q=x));const Vi=be.state.chromecastDeviceName$;D(t,Vi,x=>i(51,te=x));const Bi=be.ads.postrollPassed;D(t,Bi,x=>i(121,k=x));const Ri=be.ui.mobileUnmuteButtonExpanded,gi=be.ui.mobileUnmuteButtonVisible,It=be.state.isLive$;D(t,It,x=>i(55,ke=x));const bi=be.state.isPlaying$;D(t,bi,x=>i(56,Ee=x));const Lt=be.state.isActiveLive$;D(t,Lt,x=>i(48,X=x));const ci=be.state.isRewindableLive$,ut=be.state.crashed$;D(t,ut,x=>i(33,b=x));const mt=be.webApi.pictureInPictureApi,jt=be.state.videoSize$;D(t,jt,x=>i(140,f=x));const Dt=be.state.currentSubtitle$;D(t,Dt,x=>i(52,S=x));const _i=be.state.currentSubtitleCaptions$;D(t,_i,x=>i(53,ee=x));const fi=be.state.duration$;D(t,fi,x=>i(54,Pe=x));const ei=be.state.graphIsOpened$;D(t,ei,x=>i(124,z=x));const di=be.ui.playerSize;D(t,di,x=>i(31,c=x));const Ni=be.ui.is3DVideo;D(t,Ni,x=>i(49,L=x));const At=be.ui.icon3DVideoVisible;D(t,At,x=>i(50,B=x));const Gi=be.ui.rotateAlpha;D(t,Gi,x=>i(32,_=x));const Yi=be.state.isInteractive,Qi=be.state.isInteractiveTime$;D(t,Qi,x=>i(119,w=x));const Oi=be.state.isInteractiveExpectation$;D(t,Oi,x=>i(123,A=x));const Kt=be.state.hasInteractiveBranches,wi=be.ui.controls.disabledControls$;D(t,wi,x=>i(47,O=x));const nn=be.ui.touched;D(t,nn,x=>i(122,y=x));const Di=be.ui.clientInfo$;D(t,Di,x=>i(138,s=x));const zt=be.ui.overlayContainer$,Ft=be.actions.internal.closeSettingsMenu,zi=(yn=be.callbacks)==null?void 0:yn.onDisabledPlayPrevChapterClick,Fi=(Cn=be.callbacks)==null?void 0:Cn.onDisabledSeekToInteractiveClick;let ki,Hi,Ui,Wt,Xi,qi,yi;const Ki=Me(!1);D(t,Ki,x=>i(45,d=x));let Ci,Gt=!1,Ti,He=!1,mi,pi=!0,Ve,sn,an=!1,Ji;mt==null||mt.setContext(R1());const un=x=>{clearTimeout(Wt),x&&(gi.set(!0),Ri.set(!0),Wt=window.setTimeout(()=>{Ri.set(!1)},ye.controls.collapseMobileUnmute),Yi||Yt(ye.controls.hideTimeoutMobile))};be.setUiCallbacks({onStarted:un});const xi=()=>{window.clearTimeout(Ui),i(111,Gt=!1),h&&hi.set(!1)},Yt=x=>{xi(),i(111,Gt=!0),Ui=window.setTimeout(()=>i(111,Gt=!1),x);const ht=x-100;Ci=window.setTimeout(()=>{d&&Ki.set(!1)},ht>0?ht:x)},$i=Ni.subscribe(x=>{At.set(x),x&&(window.clearTimeout(Xi),Xi=window.setTimeout(()=>At.set(!1),ye.controls.hide360IconTimeout))}),Pi=async()=>{var ht,fn,on,vn;const x=qo();if(x){Yt(ye.controls.hideTimeoutFullscreen);try{await(mt==null?void 0:mt.remove())}catch(dn){kt({message:String(dn)})}try{const dn=f!=null&&f.width&&(f!=null&&f.height)?f:c;await J4(dn)}catch(dn){kt({message:String(dn)})}}si.set(x),be.getAdmanWrapper().setFullscreen(x),a?(fn=(ht=be.callbacks)==null?void 0:ht.onFullscreenEnter)==null||fn.call(ht):(vn=(on=be.callbacks)==null?void 0:on.onFullscreenExit)==null||vn.call(on)},ji=x=>{const ht=x;di.set({width:ht.target.width,height:ht.target.height})};pn(()=>{var ht;return Oc(Pi),Il(mt)&&(mt==null||mt.assignPlayerContainer(ki),mt==null||mt.registryExternalEventHandlers({resize:ji})),i(39,pi=!K_(s)),se&&((ht=ue.parentElement)==null||ht.insertBefore(se,ue.nextSibling)),()=>{window.clearTimeout(Ui),window.clearTimeout(Ci),window.clearTimeout(Wt),window.clearTimeout(Xi),$i(),mt==null||mt.dispose(),Dc(Pi)}});const Nt=x=>{let ht=o+(x==="forward"?1:-1)*ye.controls.seekStepMobile/1e3;ht<0?ht=0:ht>r&&(ht=r-1),i(113,He=!0),We(ht)},Qt=async()=>{if(qo())await Nc(document),kt({message:"exit fullscreen"});else{kt({message:"request fullscreen"});const x=wr()||!rt?ki:rt,ht=x.getRootNode(),fn=ht instanceof ShadowRoot?ht.host:ht,on=wt instanceof HTMLElement&&wt.contains(fn),vn=ye.allowChangingFullscreenTarget&&wt&&on?wt:x;await Rc(vn)}},ne=()=>{Ft()},it=()=>{if(n){ne();return}if(!De){$e(),Yt(ye.controls.hideTimeoutCursor);return}i(113,He=!1),l?xi():Yt(ye.controls.hideTimeoutMobile)},ti=()=>{if(n){ne();return}},St=()=>{nn.set(!0)},Mt=()=>{Yi||(Ki.set(!0),Yt(ye.controls.hideTimeoutCursor))},_n=x=>{zi&&(zi(x),Yt(ye.controls.hideTimeoutMobile))},wn=x=>{Fi&&(Fi(x),Yt(ye.controls.hideTimeoutMobile))};function hn(x){Ce[x?"unshift":"push"](()=>{ue=x,i(0,ue)})}const cn=()=>Nt("backward"),Wi=()=>Nt("forward");function kn(x){Hi=x,i(37,Hi)}function Rn(x){Ce[x?"unshift":"push"](()=>{yi=x,i(29,yi)})}function Nn(x){Ce[x?"unshift":"push"](()=>{ki=x,i(36,ki)})}return t.$$set=x=>{"store"in x&&i(105,be=x.store),"uiConfig"in x&&i(1,ye=x.uiConfig),"thumbUrl"in x&&i(2,q=x.thumbUrl),"videoLogoUrl"in x&&i(3,$=x.videoLogoUrl),"videoContainer"in x&&i(0,ue=x.videoContainer),"interactiveContainer"in x&&i(106,se=x.interactiveContainer),"live"in x&&i(4,je=x.live),"autoplay"in x&&i(5,Ne=x.autoplay),"canRewindLive"in x&&i(6,Le=x.canRewindLive),"showAds"in x&&i(7,Ie=x.showAds),"adsSlotId"in x&&i(8,ae=x.adsSlotId),"adsParams"in x&&i(9,pe=x.adsParams),"adsPreviewParam"in x&&i(10,oe=x.adsPreviewParam),"duration"in x&&i(11,Ae=x.duration),"logoClickable"in x&&i(12,me=x.logoClickable),"logoHidden"in x&&i(13,Te=x.logoHidden),"showNextPrevButtons"in x&&i(14,Ke=x.showNextPrevButtons),"nextButtonActive"in x&&i(15,Re=x.nextButtonActive),"prevButtonActive"in x&&i(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&i(17,xe=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&i(18,at=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&i(19,lt=x.isOneVideoPlaylist),"supportLink"in x&&i(20,Tt=x.supportLink),"outerContainerRef"in x&&i(107,rt=x.outerContainerRef),"showMiniTimer"in x&&i(108,xt=x.showMiniTimer),"fullScreenTarget"in x&&i(109,wt=x.fullScreenTarget),"playerStarted"in x&&i(21,De=x.playerStarted),"playNextVideo"in x&&i(22,ce=x.playNextVideo),"playPrevVideo"in x&&i(23,gt=x.playPrevVideo),"repeatPlaylist"in x&&i(24,st=x.repeatPlaylist),"seekToInteractive"in x&&i(25,Rt=x.seekToInteractive),"toggleGraph"in x&&i(26,dt=x.toggleGraph),"playPrevChapter"in x&&i(27,Pt=x.playPrevChapter),"firstStart"in x&&i(28,$e=x.firstStart),"seekTime"in x&&i(110,We=x.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,qi=(M===Oe.Video&&Z||M===Oe.Ads&&le===ni.INACTIVE)&&!b),t.$$.dirty[0]&536870912&&zt.set(yi),t.$$.dirty[4]&2&&i(112,Ti=re!==Xt.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,mi=z||h||!Gt&&(C&&!!Kt||Ti&&A)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&Ot.set((Ti||n||g||Q||Gt&&!He)&&!mi&&M===Oe.Video&&!b),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(40,Ve=ye.features.thumbTimer&&xt&&M===Oe.Video&&!l&&!b&&!Yi&&(ye.hideThumbTimerAfterTouch&&!y||!ye.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(41,sn=(Ie&&k||!Ie)&&C&&!b),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!g&&an&&!w&&Yt(ye.controls.hideTimeoutMobile),i(115,an=g)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,Ji=ue&&_%180?c.height/c.width:1)},[ue,ye,q,$,je,Ne,Le,Ie,ae,pe,oe,Ae,me,Te,Ke,Re,Je,xe,at,lt,Tt,De,ce,gt,st,Rt,dt,Pt,$e,yi,l,c,_,b,M,Q,ki,Hi,qi,pi,Ve,sn,Ji,r,o,d,Y,O,X,L,B,te,S,ee,Pe,ke,Ee,Be,en,li,Ii,tn,ri,$t,si,Ot,hi,Ai,ai,Li,vi,ui,Mi,Vi,Bi,It,bi,Lt,ci,ut,jt,Dt,_i,fi,ei,di,Ni,At,Gi,Yi,Qi,Oi,wi,nn,Di,Ki,Nt,Qt,ne,it,ti,St,Mt,_n,wn,be,se,rt,xt,wt,We,Gt,Ti,He,mi,an,n,h,g,w,C,k,y,A,z,re,le,Z,hn,cn,Wi,kn,Rn,Nn]}class i6 extends we{constructor(e){super(),_e(this,e,t6,e6,ge,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},$_,[-1,-1,-1,-1,-1,-1])}}function n6(t){Ze(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
|
|
33
33
|
180deg,
|
|
34
34
|
rgba(0, 0, 0, 0.00) 0%,
|
|
35
35
|
rgba(0, 0, 0, 0.01) 6.67%,
|
|
@@ -47,5 +47,5 @@ var y0=Object.defineProperty;var k0=(i,e,t)=>e in i?y0(i,e,{enumerable:!0,config
|
|
|
47
47
|
rgba(0, 0, 0, 0.96) 86.67%,
|
|
48
48
|
rgba(0, 0, 0, 0.99) 93.33%,
|
|
49
49
|
#000 100%
|
|
50
|
-
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function a6(i){let e,t,n;function l(o){i[56](o)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new Q_({props:r}),ke.push(()=>We(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function u6(i){let e,t,n;function l(o){i[55](o)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new r6({props:r}),ke.push(()=>We(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){z(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=o[33],je(()=>t=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){g(e.$$.fragment,o),n=!1},d(o){F(e,o)}}}function c6(i){let e,t,n,l;const r=[u6,a6],o=[];function s(a,c){return a[15]?0:1}return t=s(i),n=o[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){P(a,e,c),o[t].m(e,null),l=!0},p(a,c){let f=t;t=s(a),t===f?o[t].p(a,c):(fe(),g(o[f],1,1,()=>{o[f]=null}),de(),n=o[t],n?n.p(a,c):(n=o[t]=r[t](a),n.c()),d(n,1),n.m(e,null))},i(a){l||(d(n),l=!0)},o(a){g(n),l=!1},d(a){a&&T(e),o[t].d()}}}function f6(i,e,t){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:_}=e,{autoplay:v}=e,{volume:w=void 0}=e,{muted:b=void 0}=e,{fromTime:C}=e,{canRewindLive:y}=e,{showAds:k}=e,{adsSlotId:V=void 0}=e,{adsParams:q=void 0}=e,{adsPreviewParam:L=void 0}=e,{duration:j=void 0}=e,{logoClickable:re}=e,{logoHidden:le}=e,{isMobile:R}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:Z=!1}=e,{prevButtonActive:I=!1}=e,{endScreenVideoTitle:X=void 0}=e,{endScreenVideoThumb:S=void 0}=e,{isOneVideoPlaylist:$=!1}=e,{supportLink:D}=e,{outerContainerRef:Y=void 0}=e,{fullScreenTarget:Pe=void 0}=e,{failoverHosts:ye=void 0}=e,{showMiniTimer:Ie=!1}=e,{playNextVideo:Ve=Xe}=e,{playPrevVideo:we=Xe}=e,{repeatPlaylist:Ce=Xe}=e,{seekToInteractive:Q=Xe}=e,{toggleGraph:ee=Xe}=e,{playPrevChapter:ue=Xe}=e;const{subscribers:se,stores:Ue}=r;od(o);const Ne=gn(),Le=l.ui.debugPanelVisible,Ae=l.ui.playerSize;let ae,pe=null,oe=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),md(l,Ue);const Te=(ce=!1)=>{t(34,oe=!0),ce?l.actions.external.firstStart(k):l.actions.internal.firstStart(k)};function me(ce){var $e;const wt=n||ce;wt&&l.initVideo({container:ae,sources:wt,failoverHosts:ye,subtitles:m});const ot=Pn.get(hr)==="true";Le.set(ot),C>0&&l.actions.external.seekTime(C);const Lt=R?Ne.volumeDefault:($e=w!=null?w:ic())!=null?$e:Ne.volumeDefault,ut=b!=null?b:_d();if(l.actions.external.setVolume(Lt),l.actions.external.setMuted(ut),l.getAdmanWrapper().setInitialVolume(ut?0:Lt),Ne.features.trafficSaving){const He=yd();He&&l.actions.internal.setTrafficSavingEnabled(He)}const Et=bd(l.videoId);Et&&l.actions.internal.setQuality(Et),l.ui.isAutoplay.set(v),v?Te():_&&Ne.features.preload&&l.actions.internal.preload()}const Se=ce=>{if(window.ResizeObserver){let wt,ot;pe=new ResizeObserver(Pl(Lt=>{const ut=Lt[0];if(ut){if(ut.contentBoxSize){const Et=Array.isArray(ut.contentBoxSize)?ut.contentBoxSize[0]:ut.contentBoxSize;wt=Et.inlineSize,ot=Et.blockSize}else ut.contentRect&&(wt=ut.contentRect.width,ot=ut.contentRect.height);Ae.set({width:wt,height:ot})}},W1)),pe.observe(ce)}Ae.set({width:ce.clientWidth,height:ce.clientHeight})};vn(()=>{Se(ae);const ce=se.map(ot=>ot.init(l,Ue));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return me(),()=>{pe==null||pe.disconnect(),ce.forEach(ot=>ot.unsubscribe()),l.destroy()}});function Ke(){oe?l.actions.external.play():Te(!0)}function Re(){l.actions.external.pause()}function Je(ce){R||l.actions.external.setMuted(ce)}function xe(ce){R||ce>=0&&ce<=1&&l.actions.external.setVolume(ce)}function nt(ce){l.actions.internal.seekTime(ce,Wt.UNKNOWN)}function at(ce){l.actions.external.seekEpisodeStartTime(ce)}function Pt(){l.actions.external.returnFocusToEpisodes()}function ht(ce){l.actions.external.setPlaybackRate(ce)}function Fe(ce){l.actions.external.setAutoQualityLimits(ce)}function _t(ce){ae=ce,t(33,ae)}function Ut(ce){ae=ce,t(33,ae)}return i.$$set=ce=>{"sources"in ce&&t(37,n=ce.sources),"store"in ce&&t(0,l=ce.store),"microStoresRoot"in ce&&t(38,r=ce.microStoresRoot),"uiConfig"in ce&&t(39,o=ce.uiConfig),"title"in ce&&t(1,s=ce.title),"thumbUrl"in ce&&t(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&t(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&t(4,f=ce.interactiveContainer),"subtitles"in ce&&t(40,m=ce.subtitles),"live"in ce&&t(5,h=ce.live),"preload"in ce&&t(41,_=ce.preload),"autoplay"in ce&&t(6,v=ce.autoplay),"volume"in ce&&t(42,w=ce.volume),"muted"in ce&&t(43,b=ce.muted),"fromTime"in ce&&t(44,C=ce.fromTime),"canRewindLive"in ce&&t(7,y=ce.canRewindLive),"showAds"in ce&&t(8,k=ce.showAds),"adsSlotId"in ce&&t(9,V=ce.adsSlotId),"adsParams"in ce&&t(10,q=ce.adsParams),"adsPreviewParam"in ce&&t(11,L=ce.adsPreviewParam),"duration"in ce&&t(12,j=ce.duration),"logoClickable"in ce&&t(13,re=ce.logoClickable),"logoHidden"in ce&&t(14,le=ce.logoHidden),"isMobile"in ce&&t(15,R=ce.isMobile),"showNextPrevButtons"in ce&&t(16,ie=ce.showNextPrevButtons),"nextButtonActive"in ce&&t(17,Z=ce.nextButtonActive),"prevButtonActive"in ce&&t(18,I=ce.prevButtonActive),"endScreenVideoTitle"in ce&&t(19,X=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&t(20,S=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&t(21,$=ce.isOneVideoPlaylist),"supportLink"in ce&&t(22,D=ce.supportLink),"outerContainerRef"in ce&&t(23,Y=ce.outerContainerRef),"fullScreenTarget"in ce&&t(24,Pe=ce.fullScreenTarget),"failoverHosts"in ce&&t(45,ye=ce.failoverHosts),"showMiniTimer"in ce&&t(25,Ie=ce.showMiniTimer),"playNextVideo"in ce&&t(26,Ve=ce.playNextVideo),"playPrevVideo"in ce&&t(27,we=ce.playPrevVideo),"repeatPlaylist"in ce&&t(28,Ce=ce.repeatPlaylist),"seekToInteractive"in ce&&t(29,Q=ce.seekToInteractive),"toggleGraph"in ce&&t(30,ee=ce.toggleGraph),"playPrevChapter"in ce&&t(31,ue=ce.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&l.ui.isMobile.set(R)},[l,s,a,c,f,h,v,y,k,V,q,L,j,re,le,R,ie,Z,I,X,S,$,D,Y,Pe,Ie,Ve,we,Ce,Q,ee,ue,nt,ae,oe,Ne,Te,n,r,o,m,_,w,b,C,ye,me,Ke,Re,Je,xe,at,Pt,ht,Fe,_t,Ut]}class d6 extends _e{constructor(e){super(),be(this,e,f6,c6,ge,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},s6,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function m6(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){P(n,e,l),p(e,t)},p(n,[l]){l&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&T(e)}}}function p6(i,e,t){let{isWhite:n=!1}=e,l;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,l=n?"#fff":"#909499")},[l,n]}class h6 extends _e{constructor(e){super(),be(this,e,p6,m6,ge,{isWhite:1})}}function v6(i){Ze(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function M1(i){let e,t;return{c(){e=E("div"),t=De(i[0]),u(e,"class","title v-1y9fytq")},m(n,l){P(n,e,l),p(e,t)},p(n,l){l&1&&et(t,n[0])},d(n){n&&T(e)}}}function B1(i){let e,t;return e=new h6({props:{isWhite:!!i[1]}}),{c(){U(e.$$.fragment)},m(n,l){z(e,n,l),t=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){F(e,n)}}}function g6(i){let e,t,n,l,r=i[0]&&M1(i),o=(!i[0]||!i[1])&&B1(i);return{c(){e=E("div"),r&&r.c(),t=N(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){P(s,e,a),r&&r.m(e,null),p(e,t),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=M1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&d(o,1)):(o=B1(s),o.c(),d(o,1),o.m(e,null)):o&&(fe(),g(o,1,1,()=>{o=null}),de()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(d(o),l=!0)},o(s){g(o),l=!1},d(s){s&&T(e),r&&r.d(),o&&o.d()}}}function b6(i,e,t){let{title:n}=e,{thumbUrl:l}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,l=r.thumbUrl)},[n,l]}class _6 extends _e{constructor(e){super(),be(this,e,b6,g6,ge,{title:0,thumbUrl:1},v6)}}class w6{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(l){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function y6(i){let e,t,n,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),l=B("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){P(r,e,o),p(e,t),p(t,n),p(t,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class k6 extends _e{constructor(e){super(),be(this,e,null,y6,ge,{})}}function C6(i){Ze(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function S6(i){let e,t,n,l,r,o,s;return n=new k6({}),{c(){e=E("div"),t=E("div"),U(n.$$.fragment),l=N(),r=E("span"),o=De(i[0]),u(t,"class","dummy-image v-1pbsod4"),M(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",i[2])},m(a,c){P(a,e,c),p(e,t),z(n,t,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&M(t,"desktop",!a[1]),(!s||c&1)&&et(o,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&T(e),F(n)}}}function T6(i,e,t){let n,l;const r=Ct(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;O(i,s,f=>t(5,n=f));const a=r.ui.isMobile;O(i,a,f=>t(1,l=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&G("pip_dummy_title"))},[c,l,o,s,a,n]}class P6 extends _e{constructor(e){super(),be(this,e,T6,S6,ge,{},C6)}}const E6=460,A6=280;class Kf{constructor(){this.info={isActive$:new yr(!1),type:Dn.DocumentPictureInPicture}}isSupported(){const e=kr().browser===N1.Yandex,{isEmbed:t}=z0();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:E6,height:A6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
-
`),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new P6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function I6(i){return i instanceof Kf}class L6{static getLatestSupportedVersion(){const e=new Br,t=new Kf;if(t.isSupported())return t;if(e.isSupported())return e}}function R1(i,e){var t,n;const l=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(t=e[o])!==null&&t!==void 0?t:i[o])!==null&&n!==void 0?n:void 0;return r}const V6="Inner error. Unexpectedly root annotation container null reference exception",M6="Annotation with such name already exists",B6="Annotation with such name does not exist";class fr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const R6="1",N6=100;class O6{constructor(e){this.annotations=new Map,this.subscriptions=new $n,this.rootAnnotationsContainer=e;const t=Pl(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},N6);this.subscriptions.add(F0(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new fr(V6);if(this.annotations.has(e))throw new fr(M6);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:R6,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new fr(B6);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>t||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Wr{init(e,t){return gt(e),gt(t),this.subscription=new $n,this.subscription}}class D6 extends Wr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Be(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class z6 extends Wr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Be(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:l}=t,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=tt(a),f=()=>c&&tt(s);return n.add(s.subscribe(m=>{if(!c)return;const h=tt(l);tt(o)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(o.subscribe(m=>{this.state$.set(!m||f())})),n.add(l.subscribe(m=>{if(m===null)return;const h=tt(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class F6 extends Wr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Be("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const H6=()=>[D6,z6,F6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),U6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:qo.RU,logoClickable:!1,logoHidden:!1,isMobile:H0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class q6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new O1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new $n,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new _6({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,t,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var l,r,o,s,a,c,f,m,h,_,v,w,b;if(!this.videoConfig)return;const{albumId:C,statPlace:y,statUserSalt:k,statAuthToken:V,statTrackCode:q,refreshStatAuthToken:L,preload:j,autoplay:re,volume:le,muted:R,fromTime:ie,canRewindLive:Z,supportLink:I,showAds:X,adsSlotId:S,adsParams:$={},adsPreviewParam:D,interfaceLanguage:Y,logoClickable:Pe,logoHidden:ye,isMobile:Ie,isAudioDisabled:Ve,isLiveCatchUpMode:we,fullScreenTarget:Ce,failoverHosts:Q,canDownload:ee,callbacks:ue,interactiveData:se,showThumbTimer:Ue,additionalButtons:Ne=[],repeat:Le}=R1(this.videoConfig,t),{sources:Ae,title:ae,thumbUrl:pe,videoLogoUrl:oe,unitedVideoId:Te,isClip:me=!1,duration:Se,adsParams:Ke={},videoEpisodes:Re,previewThumbsData:Je,subtitles:xe,live:nt}=e,at={...$,...Ke},Pt=this.getNextVideoInfo(),ht={sources:Ae,title:ae,thumbUrl:pe,subtitles:xe,unitedVideoId:Te,isClip:me,live:nt,albumId:C,statPlace:y,autoplay:re,muted:R,volume:le,fromTime:ie,canRewindLive:Z,showAds:X,adsSlotId:S,adsParams:at,adsPreviewParam:D,duration:Se,logoClickable:Pe,logoHidden:ye,isMobile:Ie,repeat:Le,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Pt.nextVideoTitle,endScreenVideoThumb:Pt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Fe={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(ht)}`});const _t=this.uiConfig.features.statistics&&!!Te,{pid:Ut}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};_t&&new zo({movieId:Te,albumId:C,place:y,trackCode:q,autoplay:(o=re&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Ie,clip:me,...Ut&&!this.isInited&&{projectId:Number(Ut)}},{refreshAuthToken:L,userSalt:k,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new _r(this.uiConfig.sentry,{version:Pr,env:dd},{movieId:Te,albumId:C,place:y,autoplay:(s=re&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ie,clip:me}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=zo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics={...this.statistics,...zo.getInstance()},this.sentry={...this.sentry,..._r.getInstance()};const wt=!!se,ot=[];let Lt="tooltip_interactive_go_back_disabled_first";if(wt&&this.interactiveController){const $e=this.interactiveController.state.isInitialChapter$.getValue(),He=this.interactiveController.getHistoryState();$e&&ot.push(dt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||ot.push(dt.SEEK_TO_INTERACTIVE_BUTTON),He.hasPrevChapter$.getValue()||(ot.push(dt.PLAY_PREV_CHAPTER_BUTTON),$e||(He.isGoBackLimited$.getValue()?Lt="tooltip_interactive_go_back_disabled_limit":Lt="tooltip_interactive_go_back_disabled"))}const ut=()=>{var $e;this.isInited=!1,this.prevIsid=void 0;const He=(n==null?void 0:n.info.isEnded$.getValue())&&(($e=this.interactiveController)===null||$e===void 0?void 0:$e.state.isEndChapter$.getValue());ue.onReplayInteractiveVideo&&!He?ue.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=Eg({player:n,interfaceLanguage:Y,videoId:Te,isClip:me,isLiveCatchUpMode:we,isAudioDisabled:Ve,statAuthToken:V,callbacks:ue,webApi:Fe,videoEpisodes:Re,previewThumbsData:Je,canDownload:ee,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:ot,isInteractive:wt,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(m=this.interactiveController)===null||m===void 0?void 0:m.state.isInteractiveTime$,replayInteractive:ut,playPrevChapterDisabledTooltip:Lt,hasInteractiveBranches:!!(!((_=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||_===void 0)&&_.length),additionalButtons:this.uiConfig.features.additionalButtons?Ne:[],looped:Le&&this.videoConfig.videos.length===1});const{stores:Et}=this.microStoresRoot=H6();this.subscription.add(this.store.state.currentFormat$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onCurrentFormatChanged)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(Et.interactiveControlsOpacity$.subscribe($e=>{var He;$e!==null&&((He=this===null||this===void 0?void 0:this.interactiveController)===null||He===void 0||He.setDisabledControls($e))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onThroughputEstimationChanged)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onTrafficSavingEnabledChanged)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onCurrentPlaybackRateChanged)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(this.store.state.volume$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onVolumeChange)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(this.store.state.muted$.subscribe($e=>{var He,St;return $e?(He=ue==null?void 0:ue.onMute)===null||He===void 0?void 0:He.call(ue):(St=ue==null?void 0:ue.onUnmute)===null||St===void 0?void 0:St.call(ue)})),this.subscription.add(this.store.state.videoBitrate$.subscribe($e=>{var He;return(He=ue==null?void 0:ue.onVideoBitrateChanged)===null||He===void 0?void 0:He.call(ue,$e)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe($e=>{var He;const St=(He=this.store)===null||He===void 0?void 0:He.ui.controls.disabledControls$;St&&($e&&!St.includes(wl)&&St.add(wl),$e||St.remove(wl))})),this.initMediaSession(),this.interactiveController&&_t&&this.initInteractivesStatistics(),this.svelteRootComponent=new d6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ae,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ae,thumbUrl:pe,videoLogoUrl:oe,subtitles:xe,live:nt,preload:j,autoplay:re,muted:R,volume:le,fromTime:ie,canRewindLive:Z,supportLink:I,showAds:X,adsSlotId:S,adsParams:at,adsPreviewParam:D,duration:Se,logoClickable:Pe,logoHidden:ye,isMobile:Ie,failoverHosts:Q,fullScreenTarget:Ce,showMiniTimer:Ue,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Pt.nextVideoTitle,endScreenVideoThumb:Pt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(w=(v=this.videoConfig)===null||v===void 0?void 0:v.callbacks)===null||w===void 0?void 0:w.onInited)===null||b===void 0||b.call(w))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==Po.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(t.ui.controls.interactiveTimeIcon.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&Sn(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=tt(l),c=tt(r);tt(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(ls),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(ls),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t,n,l;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?tt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:m,historyApi:h,videoLoader:_}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:m,historyApi:h,vkVideoLoader:_,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:v}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const C=this.store;b?C.ui.controls.disabledControls$.remove(dt.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(dt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(v.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let w=!0;if(this.interactiveController.on(o.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...b.config,title:(f==null?void 0:f.title)||b.config.title};const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:b,actionType:C})=>{var y,k,V,q;if(!this.store)return;const L=v.getValue();if(b==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(G1)),b==="action-choice-canceled"){const j=tt(this.store.state.isPlaying$)||L;if(!((y=this.videoConfig)===null||y===void 0)&&y.isMobile&&j){this.store.ui.interactiveHideMobileControls.set(!0);return}(q=(k=this.videoConfig)===null||k===void 0?void 0:(V=k.callbacks).onDisabledInteractiveClick)===null||q===void 0||q.call(V)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(C=>{var y,k,V;C.length&&((V=(k=(y=this.videoConfig)===null||y===void 0?void 0:y.callbacks)===null||k===void 0?void 0:k.onInteractiveHistoryChanged)===null||V===void 0||V.call(k,C))}))}this.interactiveController.events.noInteraction$.subscribe(()=>{var b,C,y;(y=(b=this.videoConfig)===null||b===void 0?void 0:(C=b.callbacks).onInteractiveTimeIconClick)===null||y===void 0||y.call(C)}),this.interactiveController.on(o.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,t;const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js"),o={[r.GO_NEXT_BUTTON]:Do.NEXT_BUTTON,[r.GO_NEXT_AREA]:Do.NEXT_AREA,[r.WATCH_AGAIN]:Do.WATCH_AGAIN,[r.OPEN_GRAPH]:Do.GRAPH_SHOW,[r.CLOSE_GRAPH]:Do.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new wn;s.subscribe(f=>{var m,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){var n,l,r,o,s,a,c,f,m,h,_,v,w,b,C,y,k,V,q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=R1(U6,U0(e,L=>L instanceof HTMLElement?L:void 0)),this.uiConfig=nd((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=t.core)!==null&&l!==void 0?l:{configName:[]},this.statistics={config:(r=t.statistics)!==null&&r!==void 0?r:{}},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},Sn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),Sn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(V=this.videoConfig).autoplay&&(V.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((b=this.uiConfig.showLogo)!==null&&b!==void 0?b:!this.videoConfig.logoHidden),(q=this.videoConfig).canRewindLive&&(q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=L6.getLatestSupportedVersion():this.pictureInPictureApi=new Br),this.mediaSessionApi=this.uiConfig.features.mediaSession?new w6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new O6(this.rootContainer):void 0,(y=this.svelteStubComponent)===null||y===void 0||y.$destroy(),(k=this.svelteRootComponent)===null||k===void 0||k.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),I6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Oe.Video?this.setupMediaSessionForVideo():n===Oe.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(dt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Oe.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(dt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,l;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await((t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=zo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const X6=()=>{window.customElements.define("vk-video-player",q6)};export{Mt as GridTypes,i8 as InterfaceLanguage,Pr as VERSION,n8 as VKNumericLanguage,$6 as VideoFormat,e8 as VideoQuality,o8 as loadVKLangPack,X6 as registerPlayerWebComponent};
|
|
50
|
+
);--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function o6(t){let e,i,n;function l(o){t[56](o)}let r={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new Z_({props:r}),Ce.push(()=>qe(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function l6(t){let e,i,n;function l(o){t[55](o)}let r={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new i6({props:r}),Ce.push(()=>qe(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],Ue(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function r6(t){let e,i,n,l;const r=[l6,o6],o=[];function s(a,c){return a[15]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(fe(),v(o[f],1,1,()=>{o[f]=null}),de(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&T(e),o[i].d()}}}function s6(t,e,i){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:d}=e,{live:h}=e,{preload:_}=e,{autoplay:g}=e,{volume:w=void 0}=e,{muted:b=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:M=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:A=void 0}=e,{duration:z=void 0}=e,{logoClickable:re}=e,{logoHidden:le}=e,{isMobile:Z}=e,{showNextPrevButtons:Y=!1}=e,{nextButtonActive:O=!1}=e,{prevButtonActive:X=!1}=e,{endScreenVideoTitle:L=void 0}=e,{endScreenVideoThumb:B=void 0}=e,{isOneVideoPlaylist:te=!1}=e,{supportLink:S}=e,{outerContainerRef:ee=void 0}=e,{fullScreenTarget:Pe=void 0}=e,{failoverHosts:ke=void 0}=e,{showMiniTimer:Ee=!1}=e,{playNextVideo:Be=Ye}=e,{playPrevVideo:be=Ye}=e,{repeatPlaylist:ye=Ye}=e,{seekToInteractive:q=Ye}=e,{toggleGraph:$=Ye}=e,{playPrevChapter:ue=Ye}=e;const{subscribers:se,stores:je}=r;x0(o);const Ne=bn(),Le=l.ui.debugPanelVisible,Ie=l.ui.playerSize;let ae,pe=null,oe=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),sd(l,je);const Ae=(ce=!1)=>{i(34,oe=!0),ce?l.actions.external.firstStart(y):l.actions.internal.firstStart(y)};function me(ce){var $e;const gt=n||ce;gt&&l.initVideo({container:ae,sources:gt,failoverHosts:ke,subtitles:d});const st=Vn.get(dr)==="true";Le.set(st),C>0&&l.actions.external.seekTime(C);const Rt=Z?Ne.volumeDefault:($e=w!=null?w:X1())!=null?$e:Ne.volumeDefault,dt=b!=null?b:md();if(l.actions.external.setVolume(Rt),l.actions.external.setMuted(dt),l.getAdmanWrapper().setInitialVolume(dt?0:Rt),Ne.features.trafficSaving){const We=hd();We&&l.actions.internal.setTrafficSavingEnabled(We)}const Pt=dd(l.videoId);Pt&&l.actions.internal.setQuality(Pt),l.ui.isAutoplay.set(g),g?Ae():_&&Ne.features.preload&&l.actions.internal.preload()}const Te=ce=>{if(window.ResizeObserver){let gt,st;pe=new ResizeObserver(Al(Rt=>{const dt=Rt[0];if(dt){if(dt.contentBoxSize){const Pt=Array.isArray(dt.contentBoxSize)?dt.contentBoxSize[0]:dt.contentBoxSize;gt=Pt.inlineSize,st=Pt.blockSize}else dt.contentRect&&(gt=dt.contentRect.width,st=dt.contentRect.height);Ie.set({width:gt,height:st})}},z1)),pe.observe(ce)}Ie.set({width:ce.clientWidth,height:ce.clientHeight})};pn(()=>{Te(ae);const ce=se.map(st=>st.init(l,je));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return me(),()=>{pe==null||pe.disconnect(),ce.forEach(st=>st.unsubscribe()),l.destroy()}});function Ke(){oe?l.actions.external.play():Ae(!0)}function Re(){l.actions.external.pause()}function Je(ce){Z||l.actions.external.setMuted(ce)}function xe(ce){Z||ce>=0&&ce<=1&&l.actions.external.setVolume(ce)}function at(ce){l.actions.internal.seekTime(ce,Zt.UNKNOWN)}function lt(ce){l.actions.external.seekEpisodeStartTime(ce)}function Tt(){l.actions.external.returnFocusToEpisodes()}function rt(ce){l.actions.external.setPlaybackRate(ce)}function xt(ce){l.actions.external.setAutoQualityLimits(ce)}function wt(ce){ae=ce,i(33,ae)}function De(ce){ae=ce,i(33,ae)}return t.$$set=ce=>{"sources"in ce&&i(37,n=ce.sources),"store"in ce&&i(0,l=ce.store),"microStoresRoot"in ce&&i(38,r=ce.microStoresRoot),"uiConfig"in ce&&i(39,o=ce.uiConfig),"title"in ce&&i(1,s=ce.title),"thumbUrl"in ce&&i(2,a=ce.thumbUrl),"videoLogoUrl"in ce&&i(3,c=ce.videoLogoUrl),"interactiveContainer"in ce&&i(4,f=ce.interactiveContainer),"subtitles"in ce&&i(40,d=ce.subtitles),"live"in ce&&i(5,h=ce.live),"preload"in ce&&i(41,_=ce.preload),"autoplay"in ce&&i(6,g=ce.autoplay),"volume"in ce&&i(42,w=ce.volume),"muted"in ce&&i(43,b=ce.muted),"fromTime"in ce&&i(44,C=ce.fromTime),"canRewindLive"in ce&&i(7,k=ce.canRewindLive),"showAds"in ce&&i(8,y=ce.showAds),"adsSlotId"in ce&&i(9,M=ce.adsSlotId),"adsParams"in ce&&i(10,Q=ce.adsParams),"adsPreviewParam"in ce&&i(11,A=ce.adsPreviewParam),"duration"in ce&&i(12,z=ce.duration),"logoClickable"in ce&&i(13,re=ce.logoClickable),"logoHidden"in ce&&i(14,le=ce.logoHidden),"isMobile"in ce&&i(15,Z=ce.isMobile),"showNextPrevButtons"in ce&&i(16,Y=ce.showNextPrevButtons),"nextButtonActive"in ce&&i(17,O=ce.nextButtonActive),"prevButtonActive"in ce&&i(18,X=ce.prevButtonActive),"endScreenVideoTitle"in ce&&i(19,L=ce.endScreenVideoTitle),"endScreenVideoThumb"in ce&&i(20,B=ce.endScreenVideoThumb),"isOneVideoPlaylist"in ce&&i(21,te=ce.isOneVideoPlaylist),"supportLink"in ce&&i(22,S=ce.supportLink),"outerContainerRef"in ce&&i(23,ee=ce.outerContainerRef),"fullScreenTarget"in ce&&i(24,Pe=ce.fullScreenTarget),"failoverHosts"in ce&&i(45,ke=ce.failoverHosts),"showMiniTimer"in ce&&i(25,Ee=ce.showMiniTimer),"playNextVideo"in ce&&i(26,Be=ce.playNextVideo),"playPrevVideo"in ce&&i(27,be=ce.playPrevVideo),"repeatPlaylist"in ce&&i(28,ye=ce.repeatPlaylist),"seekToInteractive"in ce&&i(29,q=ce.seekToInteractive),"toggleGraph"in ce&&i(30,$=ce.toggleGraph),"playPrevChapter"in ce&&i(31,ue=ce.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&l.ui.isMobile.set(Z)},[l,s,a,c,f,h,g,k,y,M,Q,A,z,re,le,Z,Y,O,X,L,B,te,S,ee,Pe,Ee,Be,be,ye,q,$,ue,at,ae,oe,Ne,Ae,n,r,o,d,_,w,b,C,ke,me,Ke,Re,Je,xe,lt,Tt,rt,xt,wt,De]}class a6 extends we{constructor(e){super(),_e(this,e,s6,r6,ge,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},n6,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function u6(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&u(i,"fill",n[0])},i:K,o:K,d(n){n&&T(e)}}}function c6(t,e,i){let{isWhite:n=!1}=e,l;return t.$$set=r=>{"isWhite"in r&&i(1,n=r.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?"#fff":"#909499")},[l,n]}class f6 extends we{constructor(e){super(),_e(this,e,c6,u6,ge,{isWhite:1})}}function d6(t){Ze(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function P1(t){let e,i;return{c(){e=E("div"),i=Fe(t[0]),u(e,"class","title v-1y9fytq")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&1&&tt(i,n[0])},d(n){n&&T(e)}}}function S1(t){let e,i;return e=new f6({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function m6(t){let e,i,n,l,r=t[0]&&P1(t),o=(!t[0]||!t[1])&&S1(t);return{c(){e=E("div"),r&&r.c(),i=N(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(s,a){P(s,e,a),r&&r.m(e,null),p(e,i),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=P1(s),r.c(),r.m(e,i)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=S1(s),o.c(),m(o,1),o.m(e,null)):o&&(fe(),v(o,1,1,()=>{o=null}),de()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){v(o),l=!1},d(s){s&&T(e),r&&r.d(),o&&o.d()}}}function p6(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"thumbUrl"in r&&i(1,l=r.thumbUrl)},[n,l]}class h6 extends we{constructor(e){super(),_e(this,e,p6,m6,ge,{title:0,thumbUrl:1},d6)}}class v6{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}function g6(t){let e,i,n,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),l=R("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&T(e)}}}class b6 extends we{constructor(e){super(),_e(this,e,null,g6,ge,{})}}function _6(t){Ze(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function w6(t){let e,i,n,l,r,o,s;return n=new b6({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=N(),r=E("span"),o=Fe(t[0]),u(i,"class","dummy-image v-1pbsod4"),V(i,"desktop",!t[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),V(e,"is-pip-api",t[2])},m(a,c){P(a,e,c),p(e,i),F(n,i,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&V(i,"desktop",!a[1]),(!s||c&1)&&tt(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&T(e),H(n)}}}function k6(t,e,i){let n,l;const r=Ct(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(t,s,f=>i(5,n=f));const a=r.ui.isMobile;D(t,a,f=>i(1,l=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&G("pip_dummy_title"))},[c,l,o,s,a,n]}class y6 extends we{constructor(e){super(),_e(this,e,k6,w6,ge,{},_6)}}const C6=460,T6=280;class Hf{constructor(){this.info={isActive$:new br(!1),type:qn.DocumentPictureInPicture}}isSupported(){const e=_r().browser===I1.Yandex,{isEmbed:i}=V0();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){var e,i;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:C6,height:T6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
|
|
51
|
+
`),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new y6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var i;(i=documentPictureInPicture.window)===null||i===void 0||i.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function P6(t){return t instanceof Hf}class S6{static getLatestSupportedVersion(){const e=new Lr,i=new Hf;if(i.isSupported())return i;if(e.isSupported())return e}}function E1(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(i=e[o])!==null&&i!==void 0?i:t[o])!==null&&n!==void 0?n:void 0;return r}const E6="Inner error. Unexpectedly root annotation container null reference exception",I6="Annotation with such name already exists",A6="Annotation with such name does not exist";class ar extends Error{constructor(e){super(e),this.name="AnnotationError"}}const L6="1",M6=100;class V6{constructor(e){this.annotations=new Map,this.subscriptions=new io,this.rootAnnotationsContainer=e;const i=Al(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},M6);this.subscriptions.add(B0(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){var n;if(!this.rootAnnotationsContainer)throw new ar(E6);if(this.annotations.has(e))throw new ar(I6);i.style.zIndex=(n=i.style.zIndex)!==null&&n!==void 0?n:L6,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new ar(A6);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>i||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Ur{init(e,i){return vt(e),vt(i),this.subscription=new io,this.subscription}}class B6 extends Ur{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Me(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class R6 extends Ur{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Me(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{fakeIsPlaying$:l}=i,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=et(a),f=()=>c&&et(s);return n.add(s.subscribe(d=>{if(!c)return;const h=et(l);et(o)?this.state$.set(d):h!==null&&this.state$.set(!h||d)})),n.add(o.subscribe(d=>{this.state$.set(!d||f())})),n.add(l.subscribe(d=>{if(d===null)return;const h=et(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!d)})),n}}class N6 extends Ur{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Me("tooltip_chapter_without_interactive")}init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const O6=()=>[B6,R6,N6].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),D6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:jo.RU,logoClickable:!1,logoHidden:!1,isMobile:R0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class z6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new A1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new io,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new h6({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,i,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var i;const n=(i=this.store)===null||i===void 0?void 0:i.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){var l,r,o,s,a,c,f,d,h,_,g,w,b;if(!this.videoConfig)return;const{albumId:C,statPlace:k,statUserSalt:y,statAuthToken:M,statTrackCode:Q,refreshStatAuthToken:A,preload:z,autoplay:re,volume:le,muted:Z,fromTime:Y,canRewindLive:O,supportLink:X,showAds:L,adsSlotId:B,adsParams:te={},adsPreviewParam:S,interfaceLanguage:ee,logoClickable:Pe,logoHidden:ke,isMobile:Ee,isAudioDisabled:Be,isLiveCatchUpMode:be,fullScreenTarget:ye,failoverHosts:q,canDownload:$,callbacks:ue,interactiveData:se,showThumbTimer:je,additionalButtons:Ne=[],repeat:Le}=E1(this.videoConfig,i),{sources:Ie,title:ae,thumbUrl:pe,videoLogoUrl:oe,unitedVideoId:Ae,isClip:me=!1,duration:Te,adsParams:Ke={},videoEpisodes:Re,previewThumbsData:Je,subtitles:xe,live:at}=e,lt={...te,...Ke},Tt=this.getNextVideoInfo(),rt={sources:Ie,title:ae,thumbUrl:pe,subtitles:xe,unitedVideoId:Ae,isClip:me,live:at,albumId:C,statPlace:k,autoplay:re,muted:Z,volume:le,fromTime:Y,canRewindLive:O,showAds:L,adsSlotId:B,adsParams:lt,adsPreviewParam:S,duration:Te,logoClickable:Pe,logoHidden:ke,isMobile:Ee,repeat:Le,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Tt.nextVideoTitle,endScreenVideoThumb:Tt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},xt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(rt)}`});const wt=this.uiConfig.features.statistics&&!!Ae,{pid:De}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};wt&&(this.statistics=new kg({movieId:Ae,albumId:C,place:k,trackCode:Q,autoplay:(o=re&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Ee,clip:me,refDomain:this.videoConfig.refDomain,...De&&!this.isInited&&{projectId:Number(De)}},{refreshAuthToken:A,userSalt:y,config:this.statisticsConfig,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new vr(this.uiConfig.sentry,{version:Cr,env:rd},{movieId:Ae,albumId:C,place:k,autoplay:(s=re&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ee,clip:me}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry={...this.sentry,...vr.getInstance()};const gt=!!se,st=[];let Rt="tooltip_interactive_go_back_disabled_first";if(gt&&this.interactiveController){const $e=this.interactiveController.state.isInitialChapter$.getValue(),We=this.interactiveController.getHistoryState();$e&&st.push(ft.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||st.push(ft.SEEK_TO_INTERACTIVE_BUTTON),We.hasPrevChapter$.getValue()||(st.push(ft.PLAY_PREV_CHAPTER_BUTTON),$e||(We.isGoBackLimited$.getValue()?Rt="tooltip_interactive_go_back_disabled_limit":Rt="tooltip_interactive_go_back_disabled"))}const dt=()=>{var $e;this.isInited=!1,this.prevIsid=void 0;const We=(n==null?void 0:n.info.isEnded$.getValue())&&(($e=this.interactiveController)===null||$e===void 0?void 0:$e.state.isEndChapter$.getValue());ue.onReplayInteractiveVideo&&!We?ue.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=yg({player:n,interfaceLanguage:ee,videoId:Ae,isClip:me,isLiveCatchUpMode:be,isAudioDisabled:Be,statAuthToken:M,callbacks:ue,webApi:xt,videoEpisodes:Re,previewThumbsData:Je,canDownload:$,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:st,isInteractive:gt,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:dt,playPrevChapterDisabledTooltip:Rt,hasInteractiveBranches:!!(!((_=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||_===void 0)&&_.length),additionalButtons:this.uiConfig.features.additionalButtons?Ne:[],looped:Le&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:Pt}=this.microStoresRoot=O6();this.subscription.add(this.store.state.currentFormat$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onCurrentFormatChanged)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(Pt.interactiveControlsOpacity$.subscribe($e=>{var We;$e!==null&&((We=this===null||this===void 0?void 0:this.interactiveController)===null||We===void 0||We.setDisabledControls($e))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onThroughputEstimationChanged)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onTrafficSavingEnabledChanged)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onCurrentPlaybackRateChanged)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(this.store.state.volume$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onVolumeChange)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(this.store.state.muted$.subscribe($e=>{var We,kt;return $e?(We=ue==null?void 0:ue.onMute)===null||We===void 0?void 0:We.call(ue):(kt=ue==null?void 0:ue.onUnmute)===null||kt===void 0?void 0:kt.call(ue)})),this.subscription.add(this.store.state.videoBitrate$.subscribe($e=>{var We;return(We=ue==null?void 0:ue.onVideoBitrateChanged)===null||We===void 0?void 0:We.call(ue,$e)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe($e=>{var We;const kt=(We=this.store)===null||We===void 0?void 0:We.ui.controls.disabledControls$;kt&&($e&&!kt.includes(Cl)&&kt.add(Cl),$e||kt.remove(Cl))})),this.initMediaSession(),this.interactiveController&&wt&&this.initInteractivesStatistics(),this.svelteRootComponent=new a6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ie,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ae,thumbUrl:pe,videoLogoUrl:oe,subtitles:xe,live:at,preload:z,autoplay:re,muted:Z,volume:le,fromTime:Y,canRewindLive:O,supportLink:X,showAds:L,adsSlotId:B,adsParams:lt,adsPreviewParam:S,duration:Te,logoClickable:Pe,logoHidden:ke,isMobile:Ee,failoverHosts:q,fullScreenTarget:ye,showMiniTimer:je,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Tt.nextVideoTitle,endScreenVideoThumb:Tt.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(w=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||w===void 0?void 0:w.onInited)===null||b===void 0||b.call(w))}addPlayerInfoSubscriptions(){var e;const i=this.store;if(!i)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(i.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==Lo.AUTO))})).add(i.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(i.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveTimeIndicator.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{i=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{i=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&Ln(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:i,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const i=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof i=="number"&&this.seekTime(i/1e3)}toggleGraph(){var e,i;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=et(l),c=et(r);et(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(es),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(i=this.interactiveController)===null||i===void 0||i.toggleGraphView(!0),s.add(es),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,i,n,l;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(i=this.store)===null||i===void 0?void 0:i.interfaceLanguage$,c=a?et(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:_}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:_,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:g}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const C=this.store;b?C.ui.controls.disabledControls$.remove(ft.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(ft.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(g.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let w=!0;if(this.interactiveController.on(o.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...b.config,title:(f==null?void 0:f.title)||b.config.title};const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:b,actionType:C})=>{var k,y,M,Q;if(!this.store)return;const A=g.getValue();if(b==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(U1)),b==="action-choice-canceled"){const z=et(this.store.state.isPlaying$)||A;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&z){this.store.ui.interactiveHideMobileControls.set(!0);return}(Q=(y=this.videoConfig)===null||y===void 0?void 0:(M=y.callbacks).onDisabledInteractiveClick)===null||Q===void 0||Q.call(M)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(C=>{var k,y,M;C.length&&((M=(y=(k=this.videoConfig)===null||k===void 0?void 0:k.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||M===void 0||M.call(y,C))}))}this.uiConfig.features.interactiveTimeIndicator&&this.subscription.add(this.interactiveController.events.noInteraction$.subscribe(()=>{var b,C,k,y;(b=this.store)===null||b===void 0||b.state.showInteractiveTimeIndicatorTooltip$.set(!0),(y=(C=this.videoConfig)===null||C===void 0?void 0:(k=C.callbacks).onInteractiveTimeIndicatorClick)===null||y===void 0||y.call(k)})),this.interactiveController.on(o.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,i;const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js"),o={[r.GO_NEXT_BUTTON]:zo.NEXT_BUTTON,[r.GO_NEXT_AREA]:zo.NEXT_AREA,[r.WATCH_AGAIN]:zo.WATCH_AGAIN,[r.OPEN_GRAPH]:zo.GRAPH_SHOW,[r.CLOSE_GRAPH]:zo.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new Pn;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(i=(e=this.sentry).report)===null||i===void 0||i.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){var n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,M,Q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=E1(D6,N0(e,A=>A instanceof HTMLElement?A:void 0)),this.uiConfig=J0((n=i.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=i.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=i.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},Ln(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),Ln(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(M=this.videoConfig).autoplay&&(M.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((b=this.uiConfig.showLogo)!==null&&b!==void 0?b:!this.videoConfig.logoHidden),(Q=this.videoConfig).canRewindLive&&(Q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=S6.getLatestSupportedVersion():this.pictureInPictureApi=new Lr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new v6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new V6(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),P6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var i;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===Oe.Video?this.setupMediaSessionForVideo():n===Oe.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e,i;this.isControlDisabled(ft.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Oe.WaitingLive)||(this.log({message:"play"}),(i=this.svelteRootComponent)===null||i===void 0||i.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.isControlDisabled(ft.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e))}seekEpisodeStartTime(e){var i;this.log({message:`seek episode start time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var i;this.log({message:`set playback rate to: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setPlaybackRate(e)}setAutoQualityLimits(e){var i,n,l;this.log({message:`set auto quality limitation. Max: ${(i=e.max)!==null&&i!==void 0?i:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var i;(i=this.store)===null||i===void 0||i.actions.internal.addLanguage(e)}async setLanguage(e){var i;await((i=this.store)===null||i===void 0?void 0:i.actions.internal.setLanguage(e))}setLiveStart(e){var i,n;this.log({message:"live started"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,i;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(i=this.store)===null||i===void 0||i.destroy()}setLiveEnd(e){var i,n;this.log({message:"live ended"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,i;return(i=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&i!==void 0?i:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const K6=()=>{window.customElements.define("vk-video-player",z6)};export{Bt as GridTypes,x6 as InterfaceLanguage,Cr as VERSION,$6 as VKNumericLanguage,Q6 as VideoFormat,X6 as VideoQuality,e8 as loadVKLangPack,K6 as registerPlayerWebComponent};
|