@vkontakte/videoplayer 1.1.35-dev.2b16c033.0 → 1.1.35-dev.9ff57f0f.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 +4 -4
- package/es2015.esm.js +4 -4
- package/es2018.cjs.js +4 -4
- package/es2018.esm.js +4 -4
- package/esnext.cjs.js +4 -4
- package/esnext.esm.js +4 -4
- package/evergreen.esm.js +11 -11
- package/package.json +1 -1
package/es2015.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vkontakte/videoplayer v1.1.35-dev.
|
|
3
|
-
* Tue, 21 May 2024
|
|
2
|
+
* @vkontakte/videoplayer v1.1.35-dev.9ff57f0f.0
|
|
3
|
+
* Tue, 21 May 2024 08:07:59 GMT
|
|
4
4
|
* https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
|
|
5
5
|
*/
|
|
6
|
-
var y0=Object.defineProperty,k0=Object.defineProperties;var C0=Object.getOwnPropertyDescriptors;var ts=Object.getOwnPropertySymbols;var S0=Object.prototype.hasOwnProperty,P0=Object.prototype.propertyIsEnumerable;var jl=(i,e,t)=>e in i?y0(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,fn=(i,e)=>{for(var t in e||(e={}))S0.call(e,t)&&jl(i,t,e[t]);if(ts)for(var t of ts(e))P0.call(e,t)&&jl(i,t,e[t]);return i},yo=(i,e)=>k0(i,C0(e));var ql=(i,e,t)=>(jl(i,typeof e!="symbol"?e+"":e,t),t);var Ji=(i,e,t)=>new Promise((n,o)=>{var r=a=>{try{s(t.next(a))}catch(c){o(c)}},l=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,l);s((t=t.apply(i,e)).next())});import{VERSION as T0,ChromecastState as Rn,PlaybackState as Xt,VideoQuality as Ao,Player as E0,VideoFormat as qo}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as $6,VideoQuality as e8}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Qo,VideoQuality as Sl,fillWithDefault as A0,VERSION as L0,assertNonNullable as ht,safeStorage as Mn,isNullable as Al,Subscription as xn,isNonNullable as Ln,isMacLike as is,debounceFn as I0,ValueSubject as Sr,getCurrentBrowser as Pr,CurrentClientBrowser as O1,noop as Ye,checkNever as M0,timeCodeToString as V0,Subject as kn,addScript as B0,Logger as D1,merge as R0,Observable as N0,map as O0,loadVKLangPack as D0,isIOS as Tr,getHighestQuality as z0,throttleFn as Vl,CurrentClientDevice as F0,getIOSVersion as H0,detectEmbed as U0,observeElementSize as j0,isMobile as q0,cloneDeepWith as W0}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as i8,VKNumericLanguage as n8,loadVKLangPack as o8}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as Z0,SeekAction as jt,OneStat as K0,InteractiveInterfaceClick as Wo}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function pi(i,e,t,n){function o(r){return r instanceof t?r:new t(function(l){l(r)})}return new(t||(t=Promise))(function(r,l){function s(f){try{c(n.next(f))}catch(m){l(m)}}function a(f){try{c(n.throw(f))}catch(m){l(m)}}function c(f){f.done?r(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function Z(){}function z1(i,e){for(const t in e)i[t]=e[t];return i}function F1(i){return i()}function ns(){return Object.create(null)}function it(i){i.forEach(F1)}function In(i){return typeof i=="function"}function ge(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let cl;function os(i,e){return cl||(cl=document.createElement("a")),cl.href=e,i===cl.href}function G0(i){return Object.keys(i).length===0}function ni(i,...e){if(i==null){for(const n of e)n(void 0);return Z}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Je(i){let e;return ni(i,t=>e=t)(),e}function D(i,e,t){i.$$.on_destroy.push(ni(e,t))}function qn(i,e,t,n){if(i){const o=H1(i,e,t,n);return i[0](o)}}function H1(i,e,t,n){return i[1]&&n?z1(t.ctx.slice(),i[1](n(e))):t.ctx}function Wn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Zn(i,e,t,n,o,r){if(o){const l=H1(e,t,n,r);i.p(l,o)}}function Kn(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 Y0(i){return i==null?"":i}const U1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ue(i,e,t){const n=Q0(i);if(!n.getElementById(e)){const o=E("style");o.id=e,o.textContent=t,X0(n,o)}}function Q0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function X0(i,e){return p(i.head||i,e),e.sheet}function T(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function Vn(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 Re(i){return document.createTextNode(i)}function N(){return Re(" ")}function vt(){return Re("")}function ve(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function li(i){return function(e){return e.preventDefault(),i.call(this,e)}}function rt(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 J0(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ft(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let fl;function x0(){if(fl===void 0){fl=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){fl=!0}}return fl}function Er(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 o=x0();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ve(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ve(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function Nn(i,e){return new i(e)}let Go;function Ko(i){Go=i}function Xo(){if(!Go)throw new Error("Function called outside component initialization");return Go}function hn(i){Xo().$$.on_mount.push(i)}function Bl(i){Xo().$$.on_destroy.push(i)}function hr(i,e){return Xo().$$.context.set(i,e),e}function Ar(i){return Xo().$$.context.get(i)}function j1(){return Xo().$$.context}function Ro(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Lo=[],ye=[];let Vo=[];const vr=[],q1=Promise.resolve();let gr=!1;function W1(){gr||(gr=!0,q1.then(Z1))}function Jo(){return W1(),q1}function No(i){Vo.push(i)}function qe(i){vr.push(i)}const Wl=new Set;let ko=0;function Z1(){if(ko!==0)return;const i=Go;do{try{for(;ko<Lo.length;){const e=Lo[ko];ko++,Ko(e),$0(e.$$)}}catch(e){throw Lo.length=0,ko=0,e}for(Ko(null),Lo.length=0,ko=0;ye.length;)ye.pop()();for(let e=0;e<Vo.length;e+=1){const t=Vo[e];Wl.has(t)||(Wl.add(t),t())}Vo.length=0}while(Lo.length);for(;vr.length;)vr.pop()();gr=!1,Wl.clear(),Ko(i)}function $0(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(No)}}function ed(i){const e=[],t=[];Vo.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Vo=e}const Pl=new Set;let oo;function fe(){oo={r:0,c:[],p:oo}}function de(){oo.r||it(oo.c),oo=oo.p}function d(i,e){i&&i.i&&(Pl.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(Pl.has(i))return;Pl.add(i),oo.c.push(()=>{Pl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Jt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function td(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function id(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 F(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),No(()=>{const r=i.$$.on_mount.map(F1).filter(In);i.$$.on_destroy?i.$$.on_destroy.push(...r):it(r),i.$$.on_mount=[]}),o.forEach(No)}function H(i,e){const t=i.$$;t.fragment!==null&&(ed(t.after_update),it(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function nd(i,e){i.$$.dirty[0]===-1&&(Lo.push(i),W1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function be(i,e,t,n,o,r,l,s=[-1]){const a=Go;Ko(i);const c=i.$$={fragment:null,ctx:[],props:r,update:Z,not_equal:o,bound:ns(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ns(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,..._)=>{const v=_.length?_[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&nd(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=J0(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),F(i,e.target,e.anchor),Z1()}Ko(a)}class _e{constructor(){ql(this,"$$");ql(this,"$$set")}$destroy(){H(this,1),this.$destroy=Z}$on(e,t){if(!In(t))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!G0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const od="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(od);var Oo;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Oo||(Oo={}));const ld={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:Oo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Sl.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}},rd=i=>A0(i,ld),sd=i=>hr("ui-config",i),vn=()=>Ar("ui-config"),br="vk_player_debug_panel_opened",K1=300,ad=100,ud="videoplayer",cd="videoplayer";var Ce;(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"})(Ce||(Ce={}));const xo={[Ce.KeyF]:"f",[Ce.KeyK]:"k",[Ce.KeyC]:"c",[Ce.KeyM]:"m"},fd=new Set([Ce.ArrowLeft,Ce.ArrowRight,Ce.KeyL,Ce.KeyJ]),dd=new Set([Ce.Tab,Ce.Space,Ce.ArrowLeft,Ce.ArrowRight,Ce.ArrowUp,Ce.ArrowDown]),md=new Set([Ce.ShiftRight,Ce.ShiftLeft]);var at;(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"})(at||(at={}));const ls=40,G1=260,pd=60,dl=8,Y1=[at.TIMELINE],Tl=[...Y1,at.GRAPH_BUTTON],rs=[...Y1,at.PLAY_BUTTON],Q1=[...Tl,at.PLAY_BUTTON];var Io;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Io||(Io={}));var Mt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Mt||(Mt={}));const Do={[Mt.XS]:0,[Mt.S]:1,[Mt.M]:2,[Mt.L]:3,[Mt.XL]:4},Co=[];function Bn(i,e){return{subscribe:Ee(i,e).subscribe}}function Ee(i,e=Z){let t;const n=new Set;function o(s){if(ge(i,s)&&(i=s,t)){const a=!Co.length;for(const c of n)c[1](),Co.push(c,i);if(a){for(let c=0;c<Co.length;c+=2)Co[c][0](Co[c+1]);Co.length=0}}}function r(s){o(s(i))}function l(s,a=Z){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||Z),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function mi(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Bn(t,(l,s)=>{let a=!1;const c=[];let f=0,m=Z;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=In(v)?v:Z},_=o.map((v,w)=>ni(v,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){it(_),m(),a=!1}})}const hd="prod",Lr="1.1.35-dev.2b16c033.0",X1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},J1=Symbol("storeContext"),x1=Symbol("microStoresContext"),vd=(i,e)=>{hr(J1,i),hr(x1,e)},kt=()=>{const i=Ar(J1);return ht(i,"Store context is empty!"),i},Rl=()=>{const i=Ar(x1);return ht(i,"MicroStores context is empty!"),i},Pt=(i,e)=>$1(i,i.getValue(),e),$1=(i,e,t)=>Bn(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),gd=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Je(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${Lr} (core: ${T0}, stat: ${Z0}, shared: ${L0})`,v=Je(t.state.errorLog$),w=v.length?`
|
|
6
|
+
var y0=Object.defineProperty,k0=Object.defineProperties;var C0=Object.getOwnPropertyDescriptors;var ts=Object.getOwnPropertySymbols;var S0=Object.prototype.hasOwnProperty,P0=Object.prototype.propertyIsEnumerable;var jl=(i,e,t)=>e in i?y0(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,fn=(i,e)=>{for(var t in e||(e={}))S0.call(e,t)&&jl(i,t,e[t]);if(ts)for(var t of ts(e))P0.call(e,t)&&jl(i,t,e[t]);return i},yo=(i,e)=>k0(i,C0(e));var ql=(i,e,t)=>(jl(i,typeof e!="symbol"?e+"":e,t),t);var Ji=(i,e,t)=>new Promise((n,o)=>{var r=a=>{try{s(t.next(a))}catch(c){o(c)}},l=a=>{try{s(t.throw(a))}catch(c){o(c)}},s=a=>a.done?n(a.value):Promise.resolve(a.value).then(r,l);s((t=t.apply(i,e)).next())});import{VERSION as T0,ChromecastState as Rn,PlaybackState as Xt,VideoQuality as Ao,Player as E0,VideoFormat as qo}from"@vkontakte/videoplayer-core/es2015.esm.js";import{VideoFormat as $6,VideoQuality as e8}from"@vkontakte/videoplayer-core/es2015.esm.js";import{InterfaceLanguage as Qo,VideoQuality as Sl,fillWithDefault as A0,VERSION as L0,assertNonNullable as ht,safeStorage as Mn,isNullable as Al,Subscription as xn,isNonNullable as Ln,isMacLike as is,debounceFn as I0,ValueSubject as Sr,getCurrentBrowser as Pr,CurrentClientBrowser as O1,noop as Ye,checkNever as M0,timeCodeToString as V0,Subject as kn,addScript as B0,Logger as D1,merge as R0,Observable as N0,map as O0,loadVKLangPack as D0,isIOS as Tr,getHighestQuality as z0,throttleFn as Vl,CurrentClientDevice as F0,getIOSVersion as H0,detectEmbed as U0,observeElementSize as j0,isMobile as q0,cloneDeepWith as W0}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{InterfaceLanguage as i8,VKNumericLanguage as n8,loadVKLangPack as o8}from"@vkontakte/videoplayer-shared/es2015.esm.js";import{VERSION as Z0,SeekAction as jt,OneStat as K0,InteractiveInterfaceClick as Wo}from"@vkontakte/videoplayer-statistics/es2015.esm.js";function pi(i,e,t,n){function o(r){return r instanceof t?r:new t(function(l){l(r)})}return new(t||(t=Promise))(function(r,l){function s(f){try{c(n.next(f))}catch(m){l(m)}}function a(f){try{c(n.throw(f))}catch(m){l(m)}}function c(f){f.done?r(f.value):o(f.value).then(s,a)}c((n=n.apply(i,e||[])).next())})}function Z(){}function z1(i,e){for(const t in e)i[t]=e[t];return i}function F1(i){return i()}function ns(){return Object.create(null)}function it(i){i.forEach(F1)}function In(i){return typeof i=="function"}function ge(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let cl;function os(i,e){return cl||(cl=document.createElement("a")),cl.href=e,i===cl.href}function G0(i){return Object.keys(i).length===0}function ni(i,...e){if(i==null){for(const n of e)n(void 0);return Z}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Je(i){let e;return ni(i,t=>e=t)(),e}function D(i,e,t){i.$$.on_destroy.push(ni(e,t))}function qn(i,e,t,n){if(i){const o=H1(i,e,t,n);return i[0](o)}}function H1(i,e,t,n){return i[1]&&n?z1(t.ctx.slice(),i[1](n(e))):t.ctx}function Wn(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Zn(i,e,t,n,o,r){if(o){const l=H1(e,t,n,r);i.p(l,o)}}function Kn(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 Y0(i){return i==null?"":i}const U1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ue(i,e,t){const n=Q0(i);if(!n.getElementById(e)){const o=E("style");o.id=e,o.textContent=t,X0(n,o)}}function Q0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function X0(i,e){return p(i.head||i,e),e.sheet}function T(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function Vn(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 Re(i){return document.createTextNode(i)}function N(){return Re(" ")}function vt(){return Re("")}function ve(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function li(i){return function(e){return e.preventDefault(),i.call(this,e)}}function rt(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 J0(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ft(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let fl;function x0(){if(fl===void 0){fl=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){fl=!0}}return fl}function Er(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 o=x0();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ve(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ve(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function Nn(i,e){return new i(e)}let Go;function Ko(i){Go=i}function Xo(){if(!Go)throw new Error("Function called outside component initialization");return Go}function hn(i){Xo().$$.on_mount.push(i)}function Bl(i){Xo().$$.on_destroy.push(i)}function hr(i,e){return Xo().$$.context.set(i,e),e}function Ar(i){return Xo().$$.context.get(i)}function j1(){return Xo().$$.context}function Ro(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const Lo=[],ye=[];let Vo=[];const vr=[],q1=Promise.resolve();let gr=!1;function W1(){gr||(gr=!0,q1.then(Z1))}function Jo(){return W1(),q1}function No(i){Vo.push(i)}function qe(i){vr.push(i)}const Wl=new Set;let ko=0;function Z1(){if(ko!==0)return;const i=Go;do{try{for(;ko<Lo.length;){const e=Lo[ko];ko++,Ko(e),$0(e.$$)}}catch(e){throw Lo.length=0,ko=0,e}for(Ko(null),Lo.length=0,ko=0;ye.length;)ye.pop()();for(let e=0;e<Vo.length;e+=1){const t=Vo[e];Wl.has(t)||(Wl.add(t),t())}Vo.length=0}while(Lo.length);for(;vr.length;)vr.pop()();gr=!1,Wl.clear(),Ko(i)}function $0(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(No)}}function ed(i){const e=[],t=[];Vo.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Vo=e}const Pl=new Set;let oo;function fe(){oo={r:0,c:[],p:oo}}function de(){oo.r||it(oo.c),oo=oo.p}function d(i,e){i&&i.i&&(Pl.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(Pl.has(i))return;Pl.add(i),oo.c.push(()=>{Pl.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Jt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function td(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function id(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 F(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),No(()=>{const r=i.$$.on_mount.map(F1).filter(In);i.$$.on_destroy?i.$$.on_destroy.push(...r):it(r),i.$$.on_mount=[]}),o.forEach(No)}function H(i,e){const t=i.$$;t.fragment!==null&&(ed(t.after_update),it(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function nd(i,e){i.$$.dirty[0]===-1&&(Lo.push(i),W1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function be(i,e,t,n,o,r,l,s=[-1]){const a=Go;Ko(i);const c=i.$$={fragment:null,ctx:[],props:r,update:Z,not_equal:o,bound:ns(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ns(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,..._)=>{const v=_.length?_[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&nd(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=J0(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),F(i,e.target,e.anchor),Z1()}Ko(a)}class _e{constructor(){ql(this,"$$");ql(this,"$$set")}$destroy(){H(this,1),this.$destroy=Z}$on(e,t){if(!In(t))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!G0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const od="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(od);var Oo;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Oo||(Oo={}));const ld={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:Oo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Sl.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}},rd=i=>A0(i,ld),sd=i=>hr("ui-config",i),vn=()=>Ar("ui-config"),br="vk_player_debug_panel_opened",K1=300,ad=100,ud="videoplayer",cd="videoplayer";var Ce;(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"})(Ce||(Ce={}));const xo={[Ce.KeyF]:"f",[Ce.KeyK]:"k",[Ce.KeyC]:"c",[Ce.KeyM]:"m"},fd=new Set([Ce.ArrowLeft,Ce.ArrowRight,Ce.KeyL,Ce.KeyJ]),dd=new Set([Ce.Tab,Ce.Space,Ce.ArrowLeft,Ce.ArrowRight,Ce.ArrowUp,Ce.ArrowDown]),md=new Set([Ce.ShiftRight,Ce.ShiftLeft]);var at;(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"})(at||(at={}));const ls=40,G1=260,pd=60,dl=8,Y1=[at.TIMELINE],Tl=[...Y1,at.GRAPH_BUTTON],rs=[...Y1,at.PLAY_BUTTON],Q1=[...Tl,at.PLAY_BUTTON];var Io;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Io||(Io={}));var Mt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Mt||(Mt={}));const Do={[Mt.XS]:0,[Mt.S]:1,[Mt.M]:2,[Mt.L]:3,[Mt.XL]:4},Co=[];function Bn(i,e){return{subscribe:Ee(i,e).subscribe}}function Ee(i,e=Z){let t;const n=new Set;function o(s){if(ge(i,s)&&(i=s,t)){const a=!Co.length;for(const c of n)c[1](),Co.push(c,i);if(a){for(let c=0;c<Co.length;c+=2)Co[c][0](Co[c+1]);Co.length=0}}}function r(s){o(s(i))}function l(s,a=Z){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||Z),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function mi(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Bn(t,(l,s)=>{let a=!1;const c=[];let f=0,m=Z;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=In(v)?v:Z},_=o.map((v,w)=>ni(v,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){it(_),m(),a=!1}})}const hd="prod",Lr="1.1.35-dev.9ff57f0f.0",X1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},J1=Symbol("storeContext"),x1=Symbol("microStoresContext"),vd=(i,e)=>{hr(J1,i),hr(x1,e)},kt=()=>{const i=Ar(J1);return ht(i,"Store context is empty!"),i},Rl=()=>{const i=Ar(x1);return ht(i,"MicroStores context is empty!"),i},Pt=(i,e)=>$1(i,i.getValue(),e),$1=(i,e,t)=>Bn(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),gd=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Je(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${Lr} (core: ${T0}, stat: ${Z0}, shared: ${L0})`,v=Je(t.state.errorLog$),w=v.length?`
|
|
7
7
|
`+v.map((y,k)=>{var M;const K=`${k}) Type: ${y.id}
|
|
8
8
|
`,I=`Message: ${y.message} (${y.thrown})
|
|
9
9
|
`,Q=`Trace: ${(M=y.thrown)===null||M===void 0?void 0:M.stack}
|
|
@@ -22,7 +22,7 @@ var y0=Object.defineProperty,k0=Object.defineProperties;var C0=Object.getOwnProp
|
|
|
22
22
|
rgba(0, 0, 0, 0.55) 88%,
|
|
23
23
|
rgba(0, 0, 0, 0.65) 100%
|
|
24
24
|
)}`)}function Ns(i){let e;return{c(){e=E("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){T(t,e,n)},d(t){t&&P(e)}}}function Os(i){let e,t;return e=new h3({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.position=n[5]),o&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){H(e,n)}}}function Ds(i){let e,t;return e=new u3({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function zs(i){let e,t;return e=new b3({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function w3(i){let e,t,n,o,r,l,s,a=i[0]&&Ns(),c=i[3]&&Os(i),f=i[7]&&Ds(),m=i[4]&&zs();return{c(){e=E("div"),a&&a.c(),t=N(),n=E("video"),o=N(),c&&c.c(),r=N(),f&&f.c(),l=N(),m&&m.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){T(h,e,_),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,o),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,l),m&&m.m(e,null),i[20](e),s=!0},p(h,[_]){h[0]?a||(a=Ns(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=Os(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=Ds(),f.c(),d(f,1),f.m(e,l)):f&&(fe(),g(f,1,1,()=>{f=null}),de()),h[4]?m?_&16&&d(m,1):(m=zs(),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&&P(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function y3(i,e,t){let n,o,r,l,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=kt(),_=h.state.isEnded$;D(i,_,R=>t(7,s=R));const v=h.ui.isMobile;D(i,v,R=>t(0,o=R));let w,b,C=!1;const y=h.ads.playbackState;D(i,y,R=>t(18,n=R));const k=h.ads.canSkip,M=h.ads.position;D(i,M,R=>t(5,r=R));const K=h.ads.secondsToWatchBeforeSkip;D(i,K,R=>t(6,l=R));let I,Q;hn(()=>{const R=new AbortController;let x=()=>{R.abort()};const S=h.getAdmanWrapper();if(!a){S.onAdmanLoadingError();return}const{width:z,height:ue}=Je(h.ui.playerSize),A=Je(h.ui.isFullscreen),oe=Je(h.ui.isAutoplay),O={width:z,height:ue,isFullscreen:A,isAutoplay:oe,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(S.initAdman(O),C=!0):S.loadAdman(R.signal).then(()=>{S.initAdman(O),C=!0}).catch(()=>{S.onAdmanLoadingError()}),()=>{!C&&x()}});function se(R){ye[R?"unshift":"push"](()=>{b=R,t(2,b)})}function ee(R){ye[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,I=k&&n!==oi.INACTIVE),i.$$.dirty&262145&&t(4,Q=o&&n!==oi.INACTIVE)},[o,w,b,I,Q,r,l,s,h,_,v,y,M,K,a,c,f,m,n,se,ee]}class Kc extends _e{constructor(e){super(),be(this,e,y3,w3,ge,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},_3)}}const jn=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 k3(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(o,r){T(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function C3(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(o,r){T(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function S3(i){let e;function t(r,l){return r[0]?C3:k3}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function P3(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Gc extends _e{constructor(e){super(),be(this,e,P3,S3,ge,{isActive:0})}}function T3(i){Ue(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 E3(i){let e=jn(i[4]-i[3])+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p(n,o){o&24&&e!==(e=jn(n[4]-n[3])+"")&&xe(t,e)},i:Z,o:Z,d(n){n&&P(t)}}}function A3(i){let e,t,n;return t=new Gc({props:{isActive:!0}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){T(o,e,r),F(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function L3(i){let e,t,n,o,r,l,s;const a=[A3,E3],c=[];function f(m,h){return m[1]?0:1}return r=f(i),l=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(),o=E("span"),l.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"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",i[1]),V(e,"hidden",i[0]),V(e,"playing",i[2])},m(m,h){T(m,e,h),p(e,t),p(e,n),p(e,o),c[r].m(o,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(),l=c[r],l?l.p(m,h):(l=c[r]=a[r](m),l.c()),d(l,1),l.m(o,null)),(!s||h&2)&&V(e,"live",m[1]),(!s||h&1)&&V(e,"hidden",m[0]),(!s||h&4)&&V(e,"playing",m[2])},i(m){s||(d(l),s=!0)},o(m){g(l),s=!1},d(m){m&&P(e),c[r].d()}}}function I3(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class Yc extends _e{constructor(e){super(),be(this,e,I3,L3,ge,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},T3)}}const Cr=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)}}},ro=i=>{i.stopPropagation(),i.preventDefault()},M3=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},V3=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},B3=i=>{const e=i.code;return e===Ce.Tab&&!i.shiftKey||e===Ce.ArrowDown},R3=i=>{const e=i.code;return e===Ce.Tab||e===Ce.ArrowUp},Qc=i=>i.code===Ce.Escape,N3=i=>i.code===Ce.ArrowLeft,Xc=(i,e=!0)=>{const t=i.code;return[Ce.Enter,Ce.Space].includes(t)||!e&&t===Ce.ArrowRight},Jc=i=>{if(B3(i)){ro(i),V3(i.target);return}R3(i)&&(ro(i),M3(i.target))},Dr=i=>(i==null?void 0:i.detail)===0,zr=(i,e,t)=>pi(void 0,void 0,void 0,function*(){yield Jo(),i&&!i.classList.contains("opened")&&!e&&Je(t)&&(t.set(!1),i.focus())}),Fr=(i,e,t)=>pi(void 0,void 0,void 0,function*(){yield Jo(),!!i&&e&&t&&i.firstChild.focus()}),_l=(i,e,t)=>pi(void 0,void 0,void 0,function*(){!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},ad))}),xc=(i,e)=>{Jc(i),Qc(i)&&(ro(i),e())},wl=(i,e,t)=>pi(void 0,void 0,void 0,function*(){if(Xc(i,!1)){ro(i),e(),yield Jo();const n=t();n==null||n.focus()}}),yl=(i,e,t,n)=>pi(void 0,void 0,void 0,function*(){if(Jc(i),N3(i)){ro(i),e(),t.set(!0);return}Qc(i)&&(ro(i),n())}),sn=(i,e)=>{Xc(i)&&(ro(i),e())};function O3(i){Ue(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 Fs(i){var M;let e,t,n,o,r,l,s=(i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,m=Y("menu_debug_overlay")+"",h,_,v,w,b=i[9].features.copyVideoLink&&((M=i[8].callbacks)==null?void 0:M.onCopyVideoLink)&&D3(i),C=i[11]&&i[5]!==Rn.CONNECTED&&!i[16]&&Us(i),y=i[9].features.videoRotate&&!i[16]&&z3(i),k=i[9].showSupport&&!i[6]&&js(i);return{c(){e=E("ul"),b&&b.c(),t=N(),C&&C.c(),n=N(),y&&y.c(),o=N(),k&&k.c(),r=N(),l=E("li"),a=Re(s),c=N(),f=E("li"),h=Re(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",i[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=i[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ft(e,"top",i[3]+"px"),Ft(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(K,I){T(K,e,I),b&&b.m(e,null),p(e,t),C&&C.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),k&&k.m(e,null),p(e,r),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(w=[ve(l,"click",rt(i[19])),ve(l,"keydown",i[29]),ve(f,"click",rt(i[20])),ve(f,"keydown",i[30]),ve(e,"contextmenu",li(i[37])),ve(e,"keydown",i[23])],v=!0)},p(K,I){var Q;K[9].features.copyVideoLink&&((Q=K[8].callbacks)!=null&&Q.onCopyVideoLink)&&b.p(K,I),K[11]&&K[5]!==Rn.CONNECTED&&!K[16]?C?C.p(K,I):(C=Us(K),C.c(),C.m(e,n)):C&&(C.d(1),C=null),K[9].features.videoRotate&&!K[16]&&y.p(K,I),K[9].showSupport&&!K[6]?k?k.p(K,I):(k=js(K),k.c(),k.m(e,r)):k&&(k.d(1),k=null),I[0]&128&&_!==(_=K[7]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),I[0]&8&&Ft(e,"top",K[3]+"px"),I[0]&4&&Ft(e,"left",K[2]+"px")},d(K){K&&P(e),b&&b.d(),C&&C.d(),y&&y.d(),k&&k.d(),i[40](null),v=!1,it(w)}}}function D3(i){let e,t=Y("menu_copy_video_link")+"",n,o,r,l,s,a=!i[4]&&!i[16]&&Hs(i);return{c(){e=E("li"),n=Re(t),o=N(),a&&a.c(),r=vt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),p(e,n),T(c,o,f),a&&a.m(c,f),T(c,r,f),l||(s=[ve(e,"click",rt(i[38])),ve(e,"keydown",i[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Hs(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(r)),a&&a.d(c),l=!1,it(s)}}}function Hs(i){let e,t=Y("menu_copy_video_link_with_timestamp")+"",n,o,r;return{c(){e=E("li"),n=Re(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,s){T(l,e,s),p(e,n),o||(r=[ve(e,"click",rt(i[39])),ve(e,"keydown",i[25])],o=!0)},p:Z,d(l){l&&P(e),o=!1,it(r)}}}function Us(i){let e,t=Y("menu_pip")+"",n,o,r;return{c(){e=E("li"),n=Re(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-gew86s")},m(l,s){T(l,e,s),p(e,n),o||(r=[ve(e,"click",rt(i[21])),ve(e,"keydown",i[26])],o=!0)},p:Z,d(l){l&&P(e),o=!1,it(r)}}}function z3(i){let e,t=Y("menu_video_rotate")+"",n,o,r;return{c(){e=E("li"),n=Re(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,s){T(l,e,s),p(e,n),o||(r=[ve(e,"click",rt(i[17])),ve(e,"keydown",i[27])],o=!0)},p:Z,d(l){l&&P(e),o=!1,it(r)}}}function js(i){let e,t=Y("menu_report")+"",n,o,r;return{c(){e=E("li"),n=Re(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,s){T(l,e,s),p(e,n),o||(r=[ve(e,"click",rt(i[18])),ve(e,"keydown",i[28])],o=!0)},p:Z,d(l){l&&P(e),o=!1,it(r)}}}function F3(i){let e,t=i[1]&&Fs(i);return{c(){t&&t.c(),e=vt()},m(n,o){t&&t.m(n,o),T(n,e,o)},p(n,o){n[1]?t?t.p(n,o):(t=Fs(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:Z,o:Z,d(n){n&&P(e),t&&t.d(n)}}}function H3(i,e,t){var ke;let n,o,r,l,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=kt(),k=vn(),M=y.ui.contextMenuVisible,K=y.ui.debugPanelVisible;D(i,K,ae=>t(7,s=ae));const I=y.webApi.pictureInPictureApi,Q=(ke=y.webApi.pictureInPictureApi)==null?void 0:ke.info.isActive$;D(i,Q,ae=>t(6,l=ae));const se=y.state.chromecastState$;D(i,se,ae=>t(5,r=ae));const ee=y.state.isLive$;D(i,ee,ae=>t(4,o=ae));const R=y.state.positionExact$;D(i,R,ae=>t(41,n=ae));const x=y.state.isInteractive,S=()=>{M.set(!1)},z=(ae,J)=>{if(!v||!h||!_)return;const j=v.getBoundingClientRect(),Ae=h.getBoundingClientRect();t(2,b=ae-Ae.left),t(3,C=J-Ae.top),b+j.width>Ae.width&&t(2,b=Ae.width-j.width),C+j.height>Ae.height&&t(3,C=Ae.height-j.height),t(2,b=Math.max(b,0)),t(3,C=Math.max(C,0))},ue=()=>{S(),y.actions.internal.videoRotate()},A=()=>{window.open(c,"_blank"),S(),y.actions.internal.pause()},oe=()=>{const ae=y.actions.internal.getDebugTextData();if(k.features.saveDebugInfoToFile){const J=new Blob([...ae],{type:"plain/text"}),j=window.URL.createObjectURL(J);X1(j,"vk_player_debug_info","txt")}else Cr(y.actions.internal.getDebugTextData());S(),w==null||w()},O=()=>{K.set(!0),S(),w==null||w()},ne=()=>Ji(this,null,function*(){try{I!=null&&I.isActive()?yield I==null?void 0:I.remove():yield I==null?void 0:I.request()}finally{S(),w==null||w()}}),me=(ae=!1)=>{var J,j;if((J=y.callbacks)!=null&&J.onCopyVideoLink){const Ae=(j=y.callbacks)==null?void 0:j.onCopyVideoLink(ae,n);Ae&&Cr(Ae)}S()},Oe=ae=>{xc(ae,S)},Fe=ae=>{sn(ae,()=>me())},Te=ae=>{sn(ae,()=>me(!0))},Pe=ae=>{sn(ae,()=>ne())},pe=ae=>{sn(ae,()=>ue())},G=ae=>{sn(ae,()=>A())},re=ae=>{sn(ae,()=>oe())},we=ae=>{sn(ae,()=>O())};function ie(ae){Ro.call(this,i,ae)}const Se=()=>me(),Ie=()=>me(!0);function De(ae){ye[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&&_&&z(f,m)},[v,a,b,C,o,r,l,s,y,k,K,I,Q,se,ee,R,x,ue,A,oe,O,ne,me,Oe,Fe,Te,Pe,pe,G,re,we,c,f,m,h,_,w,ie,Se,Ie,De]}class U3 extends _e{constructor(e){super(),be(this,e,H3,F3,ge,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},O3,[-1,-1])}}class j3{constructor(e){this.value=e,this.next=null}}class sr{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new j3(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 q3(i){Ue(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function W3(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,o){T(n,e,o),p(e,t),i[3](t)},p:Z,i:Z,o:Z,d(n){n&&P(e),i[3](null)}}}const ar=16,ur=120,qs=60;function Z3(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function K3(i,e,t){let{values:n=[]}=e,o,r;const l=ur/qs;hn(()=>{t(0,o.width=ur,o),t(0,o.height=ar,o),t(2,r=o.getContext("2d"))});function s(a){ye[a?"unshift":"push"](()=>{o=a,t(0,o)})}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,ur,ar);let c=qs-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?ar*(n[f]/a):0;Z3(r,m,0,l,h),c--}}},[o,n,r,s]}class Hr extends _e{constructor(e){super(),be(this,e,K3,W3,ge,{values:1},q3)}}function G3(i){Ue(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 Ws(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=E("div"),t=E("div"),t.textContent="Video id",n=N(),o=E("span"),l=Re(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&xe(l,r)},d(s){s&&P(e)}}}function Zs(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=E("div"),t=E("div"),t.textContent="Provider",n=N(),o=E("span"),l=Re(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&xe(l,r)},d(s){s&&P(e)}}}function Ks(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=E("div"),t=E("div"),t.textContent="Viewport",n=N(),o=E("span"),l=Re(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&xe(l,r)},d(s){s&&P(e)}}}function Gs(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=E("div"),t=E("div"),t.textContent="Video size",n=N(),o=E("span"),l=Re(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&xe(l,r)},d(s){s&&P(e)}}}function Ys(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=E("div"),t=E("div"),t.textContent="CDN host",n=N(),o=E("span"),l=Re(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&xe(l,r)},d(s){s&&P(e)}}}function Qs(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=E("div"),t=E("div"),t.textContent="Volume",n=N(),o=E("span"),l=Re(r),s=Re(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&xe(l,r)},d(a){a&&P(e)}}}function Xs(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=E("div"),t=E("div"),t.textContent="Buffer",n=N(),o=E("span"),l=Re(r),s=Re(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&xe(l,r)},d(a){a&&P(e)}}}function Js(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new Hr({props:{values:i[5]}}),{c(){e=E("div"),t=E("div"),t.textContent="Network",n=N(),U(o.$$.fragment),r=N(),l=E("span"),a=Re(s),c=Re(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){T(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const _={};h&32&&(_.values=m[5]),o.$set(_),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&xe(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function xs(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new Hr({props:{values:i[6]}}),{c(){e=E("div"),t=E("div"),t.textContent="V bitrate",n=N(),U(o.$$.fragment),r=N(),l=E("span"),a=Re(s),c=Re(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){T(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const _={};h&64&&(_.values=m[6]),o.$set(_),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&xe(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function Y3(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S,z,ue,A,oe,O,ne,me,Oe,Fe,Te,Pe,pe=i[0].id&&Ws(i),G=i[0].provider&&Zs(i),re=i[0].viewport&&Ks(i),we=i[0].videoSize&&Gs(i),ie=i[0].cdn&&Ys(i),Se=i[0].volume&&Qs(i),Ie=i[0].buffer&&Xs(i),De=i[0].speed&&Js(i),ke=i[0].bitrate&&xs(i);return O=new Hr({props:{values:i[4]}}),{c(){e=E("div"),t=E("button"),t.textContent="[x]",n=N(),o=E("div"),r=E("div"),l=E("div"),l.textContent="Version",s=N(),a=E("span"),f=Re(c),m=N(),pe&&pe.c(),h=N(),G&&G.c(),_=N(),re&&re.c(),v=N(),we&&we.c(),w=N(),ie&&ie.c(),b=N(),Se&&Se.c(),C=N(),Ie&&Ie.c(),y=N(),k=E("div"),M=E("div"),M.textContent="Dropped",K=N(),I=E("span"),Q=Re(i[2]),se=Re(" / "),ee=Re(i[1]),R=Re(" frames"),x=N(),De&&De.c(),S=N(),ke&&ke.c(),z=N(),ue=E("div"),A=E("div"),A.textContent="FPS",oe=N(),U(O.$$.fragment),ne=N(),me=E("span"),Oe=Re(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(k,"class","v-1gy2e68"),u(A,"class","v-1gy2e68"),u(ue,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_debug_panel")),V(e,"container-mobile",i[7])},m(ae,J){T(ae,e,J),p(e,t),p(e,n),p(e,o),p(o,r),p(r,l),p(r,s),p(r,a),p(a,f),p(o,m),pe&&pe.m(o,null),p(o,h),G&&G.m(o,null),p(o,_),re&&re.m(o,null),p(o,v),we&&we.m(o,null),p(o,w),ie&&ie.m(o,null),p(o,b),Se&&Se.m(o,null),p(o,C),Ie&&Ie.m(o,null),p(o,y),p(o,k),p(k,M),p(k,K),p(k,I),p(I,Q),p(I,se),p(I,ee),p(I,R),p(o,x),De&&De.m(o,null),p(o,S),ke&&ke.m(o,null),p(o,z),p(o,ue),p(ue,A),p(ue,oe),F(O,ue,null),p(ue,ne),p(ue,me),p(me,Oe),Fe=!0,Te||(Pe=ve(t,"click",rt(i[9])),Te=!0)},p(ae,[J]){(!Fe||J&1)&&c!==(c=ae[0].version+"")&&xe(f,c),ae[0].id?pe?pe.p(ae,J):(pe=Ws(ae),pe.c(),pe.m(o,h)):pe&&(pe.d(1),pe=null),ae[0].provider?G?G.p(ae,J):(G=Zs(ae),G.c(),G.m(o,_)):G&&(G.d(1),G=null),ae[0].viewport?re?re.p(ae,J):(re=Ks(ae),re.c(),re.m(o,v)):re&&(re.d(1),re=null),ae[0].videoSize?we?we.p(ae,J):(we=Gs(ae),we.c(),we.m(o,w)):we&&(we.d(1),we=null),ae[0].cdn?ie?ie.p(ae,J):(ie=Ys(ae),ie.c(),ie.m(o,b)):ie&&(ie.d(1),ie=null),ae[0].volume?Se?Se.p(ae,J):(Se=Qs(ae),Se.c(),Se.m(o,C)):Se&&(Se.d(1),Se=null),ae[0].buffer?Ie?Ie.p(ae,J):(Ie=Xs(ae),Ie.c(),Ie.m(o,y)):Ie&&(Ie.d(1),Ie=null),(!Fe||J&4)&&xe(Q,ae[2]),(!Fe||J&2)&&xe(ee,ae[1]),ae[0].speed?De?(De.p(ae,J),J&1&&d(De,1)):(De=Js(ae),De.c(),d(De,1),De.m(o,S)):De&&(fe(),g(De,1,1,()=>{De=null}),de()),ae[0].bitrate?ke?(ke.p(ae,J),J&1&&d(ke,1)):(ke=xs(ae),ke.c(),d(ke,1),ke.m(o,z)):ke&&(fe(),g(ke,1,1,()=>{ke=null}),de());const j={};J&16&&(j.values=ae[4]),O.$set(j),(!Fe||J&8)&&xe(Oe,ae[3]),(!Fe||J&128)&&V(e,"container-mobile",ae[7])},i(ae){Fe||(d(De),d(ke),d(O.$$.fragment,ae),Fe=!0)},o(ae){g(De),g(ke),g(O.$$.fragment,ae),Fe=!1},d(ae){ae&&P(e),pe&&pe.d(),G&&G.d(),re&&re.d(),we&&we.d(),ie&&ie.d(),Se&&Se.d(),Ie&&Ie.d(),De&&De.d(),ke&&ke.d(),H(O),Te=!1,Pe()}}}function Q3(i,e,t){let n;const o=kt(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;D(i,l,k=>t(7,n=k));const s=()=>{Mn.remove(br),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const _=new sr(60),v=new sr(60),w=new sr(60);let b=[],C=[],y=[];return hn(()=>{Mn.set(br,"true"),o.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const k=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const K=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=K-f),t(1,f=K),_.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)),()=>{o.actions.internal.stopLogging(),clearInterval(k),M&&clearInterval(M)}}),[a,f,m,h,b,C,y,n,l,s]}class $c extends _e{constructor(e){super(),be(this,e,Q3,Y3,ge,{},G3)}}function X3(i){Ue(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 J3(i){let e,t,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(o,r){T(o,e,r),t||(n=ve(e,"click",rt(i[0])),t=!0)},p:Z,i:Z,o:Z,d(o){o&&P(e),t=!1,n()}}}function x3(i){function e(t){Ro.call(this,i,t)}return[e]}class $3 extends _e{constructor(e){super(),be(this,e,x3,J3,ge,{},X3)}}function ep(i){Ue(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 tp(i){let e,t,n,o,r,l,s;return{c(){e=E("div"),t=E("canvas"),n=N(),o=B("svg"),r=B("g"),l=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(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:Z,i:Z,o:Z,d(a){a&&P(e),i[2](null)}}}const ip=5e3;function np(i,e,t){let{onTimerEnded:n=Ye}=e,o;hn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/ip;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(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){ye[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class op extends _e{constructor(e){super(),be(this,e,np,tp,ge,{onTimerEnded:1},ep)}}function lp(i){Ue(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 $s(i){let e,t;return e=new op({props:{onTimerEnded:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function rp(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K;s=new $3({}),s.$on("click",i[4]);let I=i[3]&&$s(i);return{c(){e=E("div"),t=N(),n=E("div"),o=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),U(s.$$.fragment),a=N(),c=E("div"),f=E("div"),m=E("div"),h=E("div"),_=N(),I&&I.c(),w=N(),b=E("div"),C=E("div"),y=Re(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"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(Q,se){T(Q,e,se),T(Q,t,se),T(Q,n,se),p(n,o),p(o,r),p(o,l),F(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,_),I&&I.m(m,null),p(c,w),p(c,b),p(b,C),p(C,y),k=!0,M||(K=ve(c,"click",function(){In(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(Q,[se]){i=Q,i[3]?I?(I.p(i,se),se&8&&d(I,1)):(I=$s(i),I.c(),d(I,1),I.m(m,null)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),(!k||se&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!k||se&1)&&xe(y,i[0])},i(Q){k||(d(s.$$.fragment,Q),d(I),k=!0)},o(Q){g(s.$$.fragment,Q),g(I),k=!1},d(Q){Q&&(P(e),P(t),P(n)),H(s),I&&I.d(),M=!1,K()}}}function sp(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class ap extends _e{constructor(e){super(),be(this,e,sp,rp,ge,{title:0,thumb:1,playNextVideo:2},lp)}}const ef=(i,e)=>Math.min(+(i+e).toFixed(2),1),tf=(i,e)=>Math.max(+(i-e).toFixed(2),0),nf=(i,e,t)=>{const n=ef(e,t);e<1&&i.actions.internal.setVolume(n)},of=(i,e,t)=>{const n=tf(e,t);e>0&&i.actions.internal.setVolume(n)};function up(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function cp(i){let e,t,n,o;const r=i[22].default,l=qn(r,i,i[21],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player"))},m(s,a){T(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[ve(e,"keyup",i[13]),ve(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Zn(l,r,s,s[21],t?Wn(r,s[21],a,null):Kn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,it(o)}}}function fp(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,{$$slots:v={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:k}=e,{showKeyMap:M}=e,{fakePlayButtonHandler:K}=e;const I=kt(),Q=vn(),se=I.getLogger().createComponentLog("KeyboardControls component"),ee=I.state.playbackState$;D(i,ee,ie=>t(27,o=ie));const R=I.ads.playbackState;D(i,R,ie=>t(26,n=ie));const x=I.state.positionExact$;D(i,x,ie=>t(33,f=ie));const S=I.state.duration$;D(i,S,ie=>t(32,c=ie));const z=I.state.volume$;D(i,z,ie=>t(36,_=ie));const ue=I.ui.controls.disabledControls$;D(i,ue,ie=>t(31,a=ie));const A=I.state.muted$;D(i,A,ie=>t(29,l=ie));const oe=I.state.currentSubtitle$;D(i,oe,ie=>t(28,r=ie));const O=I.state.currentPlaybackRate$;D(i,O,ie=>t(34,m=ie));const ne=I.state.availablePlaybackRates$;D(i,ne,ie=>t(35,h=ie));const me=I.state.isEnded$;D(i,me,ie=>t(30,s=ie));let Oe=0,Fe=!0,Te;const Pe=()=>Te==null?void 0:Te.focus(),pe=ie=>(ie!==Fe&&(Fe=ie,Oe=0),Oe+=1,(Q.controls.seekStepKeyboard+Q.controls.seekStepKeyboard*Oe)/1e3),G=ie=>{var je;const Se=ie.target,Ie=(je=Se==null?void 0:Se.getAttribute("role"))==null?void 0:je.includes("menuitem"),De=Se.classList.contains("btn"),ke=ie.code;if(De&&ke===Ce.Space)return;const ae=dd.has(ke);if(Ie&&ae)return;const J=!fd.has(ke);if(ie.ctrlKey&&J||ie.altKey&&J||ie.metaKey)return;const j=Ie&&ke===Ce.Escape;md.has(ke)||j||C();const Ae=o===Xt.PLAYING||o===Xt.PAUSED,et=b&&(n===oi.PAUSED||n===oi.PLAYING),ot=!et&&!a.has(at.TIMELINE);if(Ae||et)switch(se({message:`key down, code: ${ke}`}),ke){case Ce.KeyJ:case Ce.ArrowLeft:{if(!ot)break;if(ie.ctrlKey||ie.altKey){const Me=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Me),Me&&k({type:Ge.EPISODE_PREV,text:Me.text}),ie.preventDefault()}else{const Me=ie.shiftKey?pe(!1):Q.controls.seekStepKeyboard/1e3,Qe=Math.max(f-Me,0);f>0&&(I.actions.internal.seekTime(Qe,jt.DOUBLE_TAP),k({type:Ge.BACKWARD_SEEK,text:Me.toString()}),ie.preventDefault())}break}case Ce.KeyL:case Ce.ArrowRight:{if(!ot)break;if(ie.ctrlKey||ie.altKey){const Me=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Me),Me&&k({type:Ge.EPISODE_NEXT,text:Me.text}),ie.preventDefault()}else{const Me=ie.shiftKey?pe(!0):Q.controls.seekStepKeyboard/1e3,Qe=Math.min(f+Me,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(Qe,jt.DOUBLE_TAP),k({type:Ge.FORWARD_SEEK,text:Me.toString()}),ie.preventDefault())}break}case Ce.ArrowUp:{const Me=_,Qe=Q.controls.volumeStepKeyboard,st=Me<=1;if(nf(I,Me,Qe),st){const wt=Math.round(ef(Me,Qe)*100).toString();k({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:wt}})}ie.preventDefault();break}case Ce.ArrowDown:{const Me=_,Qe=Q.controls.volumeStepKeyboard,st=Me>=0;if(of(I,Me,Qe),st){const wt=Math.round(tf(Me,Qe)*100).toString();k({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:wt}})}ie.preventDefault();break}case Ce.Comma:{if(ie.shiftKey){I.actions.internal.decrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ge.RATE_DOWN,text:Me==null?void 0:Me.displayValue}),ie.preventDefault()}else{if(et||o!==Xt.PAUSED)break;const Me=Math.max(f-Q.controls.seekStepFrame/1e3,0);f>0&&(k({type:Ge.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,jt.DOUBLE_TAP),ie.preventDefault())}break}case Ce.Period:{if(ie.shiftKey){I.actions.internal.incrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ge.RATE_UP,text:Me==null?void 0:Me.displayValue}),ie.preventDefault()}else{if(et||o!==Xt.PAUSED)break;const Me=Math.min(f+Q.controls.seekStepFrame/1e3,c);f<c&&(k({type:Ge.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,jt.DOUBLE_TAP),ie.preventDefault())}break}case Ce.KeyK:case Ce.Space:if(!a.has(at.PLAY_BUTTON))if(K)K();else{I.actions.internal.togglePlay();let Me=Ge.PLAY;o===Xt.PAUSED?Me=Ge.PAUSE:s&&(Me=Ge.REPLAY),k({type:Me})}ie.preventDefault();break;case Ce.KeyM:{k({type:l?Ge.VOLUME:Ge.MUTE}),I.actions.internal.toggleMuted(),ie.preventDefault();break}case Ce.KeyF:y(),ie.preventDefault();break;case Ce.KeyC:I.actions.internal.toggleSubtitle(),r.value!=="off"?k({type:Ge.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):k({type:Ge.SUBTITLES_OFF}),ie.preventDefault();break;case Ce.KeyI:I.actions.internal.togglePictureInPicture(),ie.preventDefault();break;case Ce.Digit1:case Ce.Numpad1:k(),I.actions.internal.seekToPercent(.1,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit2:case Ce.Numpad2:k(),I.actions.internal.seekToPercent(.2,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit3:case Ce.Numpad3:k(),I.actions.internal.seekToPercent(.3,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit4:case Ce.Numpad4:k(),I.actions.internal.seekToPercent(.4,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit5:case Ce.Numpad5:k(),I.actions.internal.seekToPercent(.5,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit6:case Ce.Numpad6:k(),I.actions.internal.seekToPercent(.6,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit7:case Ce.Numpad7:k(),I.actions.internal.seekToPercent(.7,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit8:case Ce.Numpad8:k(),I.actions.internal.seekToPercent(.8,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit9:case Ce.Numpad9:k(),I.actions.internal.seekToPercent(.9,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit0:case Ce.Numpad0:k(),I.actions.internal.seekToPercent(0,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Slash:{ie.shiftKey&&Q.features.hotKeyMapModal&&(M(),ie.preventDefault());break}case Ce.ShiftLeft:case Ce.ShiftRight:ie.preventDefault();break;case Ce.Tab:case Ce.Escape:case Ce.Enter:break;default:M0(ke);break}},re=ie=>{const Se=ie.code;if(ie.ctrlKey||ie.altKey||ie.metaKey)return;const Ie=o===Xt.PLAYING||o===Xt.PAUSED,De=b&&(n===oi.PAUSED||n===oi.PLAYING);if(Ie||De)switch(Se){case Ce.ShiftLeft:case Ce.ShiftRight:Oe=0;break}};function we(ie){ye[ie?"unshift":"push"](()=>{Te=ie,t(0,Te)})}return i.$$set=ie=>{"isAds"in ie&&t(14,b=ie.isAds),"hideContextMenu"in ie&&t(15,C=ie.hideContextMenu),"toggleFullscreen"in ie&&t(16,y=ie.toggleFullscreen),"showHotKeyHelpers"in ie&&t(17,k=ie.showHotKeyHelpers),"showKeyMap"in ie&&t(18,M=ie.showKeyMap),"fakePlayButtonHandler"in ie&&t(19,K=ie.fakePlayButtonHandler),"$$scope"in ie&&t(21,w=ie.$$scope)},[Te,ee,R,x,S,z,ue,A,oe,O,ne,me,G,re,b,C,y,k,M,K,Pe,w,v,we]}class dp extends _e{constructor(e){super(),be(this,e,fp,cp,ge,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},up,[-1,-1])}get focus(){return this.$$.ctx[20]}}function mp(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=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(o,"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(o,"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(l,s){T(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:Z,o:Z,d(l){l&&P(e)}}}function pp(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class lf extends _e{constructor(e){super(),be(this,e,pp,mp,ge,{completed:0})}}function hp(i){Ue(i,"v-12idafm",".interactive-episode-icon-animated.v-12idafm{position:absolute;right:0;width:32px;height:32px;transform:translate(-50%, 50%);transition:0.7s;opacity:1}.invisible.v-12idafm{opacity:0}.fullscreen.v-12idafm:not(.mobile){width:40px;height:40px}.mobile.v-12idafm{width:28px;height:28px}.fullscreen.mobile.v-12idafm{width:32px;height:32px}@keyframes v-12idafm-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-12idafm: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-12idafm-pulse infinite;transition:0.7ms}.interactive-episode-icon-animated svg{width:100%;height:100%}")}function vp(i){let e,t,n;return t=new lf({props:{completed:!0}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","interactive-episode-icon-animated v-12idafm"),V(e,"mobile",i[0]),V(e,"fullscreen",i[1]),V(e,"invisible",!i[2]||i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,[r]){(!n||r&1)&&V(e,"mobile",o[0]),(!n||r&2)&&V(e,"fullscreen",o[1]),(!n||r&12)&&V(e,"invisible",!o[2]||o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function gp(i,e,t){let n,o,r,l;const s=kt(),a=s.ui.isMobile;D(i,a,h=>t(0,n=h));const c=s.ui.isFullscreen;D(i,c,h=>t(1,o=h));const f=s.state.isInteractiveTime$;D(i,f,h=>t(2,r=h));const{interactiveControlsOpacity$:m}=Rl();return D(i,m,h=>t(3,l=h)),[n,o,r,l,a,c,f,m]}class rf extends _e{constructor(e){super(),be(this,e,gp,vp,ge,{},hp)}}function bp(i){Ue(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 _p(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){T(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&P(e)}}}class sf extends _e{constructor(e){super(),be(this,e,null,_p,ge,{},bp)}}function wp(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p:Z,i:Z,o:Z,d(v){v&&P(e)}}}class yp extends _e{constructor(e){super(),be(this,e,null,wp,ge,{})}}function kp(i){Ue(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 Cp(i){let e,t,n,o,r,l,s,a,c,f,m,h;const _=i[14].default,v=qn(_,i,i[13],null);return{c(){var w,b,C,y,k,M;e=E("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(b=i[5])!=null?b:null),u(e,"aria-label",l=(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=(M=i[4])!=null?M:null),u(e,"tabindex",i[9])},m(w,b){T(w,e,b),v&&v.m(e,null),i[16](e),f=!0,m||(h=[ve(e,"pointerdown",rt(li(i[15]))),ve(e,"click",rt(li(function(){In(i[10]===Ye?null:i[10])&&(i[10]===Ye?null:i[10]).apply(this,arguments)}))),ve(e,"focus",li(function(){In(i[11]===Ye?null:i[11])&&(i[11]===Ye?null:i[11]).apply(this,arguments)})),ve(e,"blur",li(function(){In(i[12]===Ye?null:i[12])&&(i[12]===Ye?null:i[12]).apply(this,arguments)}))],m=!0)},p(w,[b]){var C,y,k,M,K,I;i=w,v&&v.p&&(!f||b&8192)&&Zn(v,_,i,i[13],f?Wn(_,i[13],b,null):Kn(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&&o!==(o=(C=i[3])!=null?C:null))&&(e.disabled=o),(!f||b&32&&r!==(r=(y=i[5])!=null?y:null))&&u(e,"aria-hidden",r),(!f||b&64&&l!==(l=(k=i[6])!=null?k:null))&&u(e,"aria-label",l),(!f||b&128&&s!==(s=(M=i[7])!=null?M:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(K=i[8])!=null?K:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(I=i[4])!=null?I: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&&P(e),v&&v.d(w),i[16](null),m=!1,it(h)}}}function Sp(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=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=Ye}=e,{focus:b=Ye}=e,{blur:C=Ye}=e;function y(M){Ro.call(this,i,M)}function k(M){ye[M?"unshift":"push"](()=>{m=M,t(0,m)})}return i.$$set=M=>{"className"in M&&t(1,r=M.className),"style"in M&&t(2,l=M.style),"disabled"in M&&t(3,s=M.disabled),"testId"in M&&t(4,a=M.testId),"ariaHidden"in M&&t(5,c=M.ariaHidden),"ariaLabel"in M&&t(6,f=M.ariaLabel),"ref"in M&&t(0,m=M.ref),"ariaKeyShortCut"in M&&t(7,h=M.ariaKeyShortCut),"ariaExpanded"in M&&t(8,_=M.ariaExpanded),"tabIndex"in M&&t(9,v=M.tabIndex),"click"in M&&t(10,w=M.click),"focus"in M&&t(11,b=M.focus),"blur"in M&&t(12,C=M.blur),"$$scope"in M&&t(13,o=M.$$scope)},[m,r,l,s,a,c,f,h,_,v,w,b,C,o,n,y,k]}class Pi extends _e{constructor(e){super(),be(this,e,Sp,Cp,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},kp)}}function Pp(i){Ue(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 ea(i){let e,t,n,o,r,l=i[2]&&ta(i);return{c(){e=E("div"),t=E("h3"),n=Re(i[3]),o=N(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&xe(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=ta(s),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function ta(i){let e,t;return e=new Pi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tp(i){let e,t;return e=new yp({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ep(i){let e,t,n,o,r,l,s=i[1]&&ea(i);const a=i[4].default,c=qn(a,i,i[5],null);return{c(){e=E("div"),t=E("div"),s&&s.c(),n=N(),o=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){T(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=ea(f),s.c(),d(s,1),s.m(t,n)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),c&&c.p&&(!l||m&32)&&Zn(c,a,f,f[5],l?Wn(a,f[5],m,null):Kn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function Ap(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!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,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class Lp extends _e{constructor(e){super(),be(this,e,Ap,Ep,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},Pp)}}const Ip=new Set(["BR"]),ia=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;Ip.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function Mp(i){Ue(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 na(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function oa(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function la(i){let e,t,n=ia(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=E("li"),t=E("span"),o=N(),r=E("span"),s=Re(l),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){T(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=ia(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&xe(s,l)},d(c){c&&P(e)}}}function ra(i){let e,t,n=i[5]+"",o,r,l,s,a=Jt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=la(oa(i,a,f));return{c(){e=E("div"),t=E("h5"),o=Re(n),r=N(),l=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(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){T(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&xe(o,n),m&1){a=Jt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=oa(f,a,h);c[h]?c[h].p(_,m):(c[h]=la(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),Vn(c,f)}}}function Vp(i){let e,t=Jt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=ra(na(i,t,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){T(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=Jt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=na(o,t,l);n[l]?n[l].p(s,r):(n[l]=ra(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Vn(n,o)}}}function Bp(i){let e,t;return e=new Lp({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Vp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Rp(i,e,t){let n;const o=kt(),{data:r,show:l}=o.ui.modals.hotKeyMap;return D(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class Np extends _e{constructor(e){super(),be(this,e,Rp,Bp,ge,{},Mp)}}function Op(i){Ue(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 Dp(i){let e,t;const n=i[1].default,o=qn(n,i,i[0],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){T(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Zn(o,n,r,r[0],t?Wn(n,r[0],l,null):Kn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function zp(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class Fp extends _e{constructor(e){super(),be(this,e,zp,Dp,ge,{},Op)}}function Hp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class Up extends _e{constructor(e){super(),be(this,e,null,Hp,ge,{})}}function jp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class qp extends _e{constructor(e){super(),be(this,e,null,jp,ge,{})}}function Wp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Zp extends _e{constructor(e){super(),be(this,e,null,Wp,ge,{})}}function Kp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class af extends _e{constructor(e){super(),be(this,e,null,Kp,ge,{})}}function Gp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class uf extends _e{constructor(e){super(),be(this,e,null,Gp,ge,{})}}const zo=i=>{switch(i){case Ao.Q_720P:return Zp;case Ao.Q_1080P:return af;case Ao.Q_1440P:return uf;case Ao.Q_2160P:return Up;case Ao.Q_4320P:return qp}};function Yp(i){Ue(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 Qp(i){let e,t,n,o,r,l,s=i[1]&&sa(i);return{c(){e=E("div"),s&&s.c(),t=N(),n=B("svg"),o=B("path"),r=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"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(o,"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",!!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"),V(e,"triple",i[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=sa(a),s.c(),d(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!l||c&2)&&V(r,"hidden",!!a[1]),(!l||c&4)&&V(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function Xp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}function sa(i){let e,t;return e=new Fp({props:{$$slots:{default:[Jp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jp(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=Nn(o,r())),{c(){e&&U(e.$$.fragment),t=vt()},m(l,s){e&&F(e,l,s),T(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(e=Nn(o,r()),U(e.$$.fragment),d(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&H(e,l)}}}function xp(i){let e,t,n,o;const r=[Xp,Qp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function $p(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=zo(r)),i.$$.dirty&2&&t(2,l=!!n&&[af,uf].includes(n))},[o,n,l,r]}class cf extends _e{constructor(e){super(),be(this,e,$p,xp,ge,{isMobile:0,currentQuality:3},Yp)}}function eh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ff extends _e{constructor(e){super(),be(this,e,null,eh,ge,{})}}function th(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ih extends _e{constructor(e){super(),be(this,e,null,th,ge,{})}}function nh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class oh extends _e{constructor(e){super(),be(this,e,null,nh,ge,{})}}function lh(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"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(o,"fill","#fff"),u(o,"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,l){T(r,e,l),p(e,t),p(t,n),p(t,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class rh extends _e{constructor(e){super(),be(this,e,null,lh,ge,{})}}function sh(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function ah(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"),V(e,"reverted",i[2])},m(o,r){T(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function uh(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"),V(e,"reverted",i[2])},m(o,r){T(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function ch(i){let e;function t(r,l){return r[1]?uh:ah}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function fh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class Jn extends _e{constructor(e){super(),be(this,e,fh,ch,ge,{direction:3,color:0},sh)}}function dh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class mh extends _e{constructor(e){super(),be(this,e,null,dh,ge,{})}}function ph(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ol extends _e{constructor(e){super(),be(this,e,null,ph,ge,{})}}function hh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class vh extends _e{constructor(e){super(),be(this,e,null,hh,ge,{})}}function gh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class bh extends _e{constructor(e){super(),be(this,e,null,gh,ge,{})}}function _h(i){Ue(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 aa(i,e,t){const n=i.slice();return n[142]=e[t],n}function ua(i,e,t){const n=i.slice();return n[145]=e[t],n}function ca(i,e,t){const n=i.slice();return n[148]=e[t],n}function fa(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&da(i),_=i[28]&&ma(i),v=i[27]&&ha(i),w=i[26]&&va(i),b=i[25]&&ga(i),C=i[24]&&ba(i),y=i[8]&&_a(i);return{c(){e=E("div"),h&&h.c(),t=N(),n=E("ul"),_&&_.c(),o=N(),v&&v.c(),r=N(),w&&w.c(),l=N(),b&&b.c(),s=N(),C&&C.c(),a=N(),y&&y.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),V(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8]),V(e,"hidden",!i[15])},m(k,M){T(k,e,M),h&&h.m(e,null),p(e,t),p(e,n),_&&_.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,l),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=[ve(e,"keydown",i[79]),ve(e,"mouseenter",i[73]),ve(e,"mouseleave",i[74])],f=!0)},p(k,M){k[8]?h?h.p(k,M):(h=da(k),h.c(),h.m(e,t)):h&&(h.d(1),h=null),k[28]?_?(_.p(k,M),M[0]&268435456&&d(_,1)):(_=ma(k),_.c(),d(_,1),_.m(n,o)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),k[27]?v?(v.p(k,M),M[0]&134217728&&d(v,1)):(v=ha(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,M),M[0]&67108864&&d(w,1)):(w=va(k),w.c(),d(w,1),w.m(n,l)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),k[25]?b?(b.p(k,M),M[0]&33554432&&d(b,1)):(b=ga(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,M),M[0]&16777216&&d(C,1)):(C=ba(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,M),M[0]&256&&d(y,1)):(y=_a(k),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!c||M[0]&256)&&V(n,"items-mobile",k[8]),(!c||M[0]&256)&&V(e,"menu-desktop",!k[8]),(!c||M[0]&256)&&V(e,"menu-mobile",k[8]),(!c||M[0]&32768)&&V(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&&P(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 da(i){let e,t,n,o,r,l,s,a;return{c(){e=E("div"),t=E("div"),t.textContent=`${Y("submenu_settings")}`,n=N(),o=E("div"),r=N(),l=E("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),V(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,t),p(e,n),p(e,o),T(c,r,f),T(c,l,f),s||(a=ve(o,"click",rt(i[59])),s=!0)},p(c,f){f[0]&256&&V(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function ma(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;n=new cf({});let v=i[36]&&!i[8]&&pa(i);return{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_quality")}`,l=N(),s=E("div"),a=Re(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=Y("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(_=[ve(e,"click",rt(i[60])),ve(e,"keydown",i[80])],h=!0)},p(w,b){(!m||b[0]&1048576)&&xe(a,w[20]),w[36]&&!w[8]?v?(v.p(w,b),b[0]&256|b[1]&32&&d(v,1)):(v=pa(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=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||b[0]&256)&&V(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&&P(e),H(n),v&&v.d(),i[112](null),h=!1,it(_)}}}function pa(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=Nn(o,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){T(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(t=Nn(o,r()),U(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function ha(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return n=new rh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_playback_rate")}`,l=N(),s=E("div"),a=Re(i[13]),c=Re("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=Y("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(_=[ve(e,"click",rt(li(i[64]))),ve(e,"keydown",i[83])],h=!0)},p(v,w){(!m||w[0]&8192)&&xe(a,v[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&V(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&&P(e),H(n),i[113](null),h=!1,it(_)}}}function va(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,_;return n=new ff({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("subtitles_caption")}`,l=N(),s=E("div"),c=Re(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=Y("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(_=[ve(e,"click",rt(i[66])),ve(e,"keydown",i[86])],h=!0)},p(v,w){(!m||w[1]&64)&&a!==(a=v[37].displayValue+"")&&xe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&V(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&&P(e),H(n),i[114](null),h=!1,it(_)}}}function ga(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new oh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_traffic_saving")}`,l=N(),s=E("div"),a=Re(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=Y("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(_,v){T(_,e,v),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[ve(e,"click",rt(i[61])),ve(e,"keydown",i[89])],m=!0)},p(_,v){(!f||v[0]&536870912)&&xe(a,_[29]),(!f||v[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&V(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&P(e),H(n),i[115](null),m=!1,it(h)}}}function ba(i){let e,t,n,o,r,l,s,a;return n=new ih({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("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",Y("aria_label_menu_download")),V(e,"item-mobile",i[8])},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ve(e,"click",rt(i[69])),ve(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&V(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,it(a)}}}function _a(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C=i[39].showSupport&&wh(i);return o=new vh({}),f=new bh({}),{c(){C&&C.c(),e=N(),t=E("li"),n=E("div"),U(o.$$.fragment),r=N(),l=E("div"),l.textContent=`${Y("menu_copy_debug")}`,s=N(),a=E("li"),c=E("div"),U(f.$$.fragment),m=N(),h=E("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"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",Y("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]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(y,k){C&&C.m(y,k),T(y,e,k),T(y,t,k),p(t,n),F(o,n,null),p(t,r),p(t,l),T(y,s,k),T(y,a,k),p(a,c),F(f,c,null),p(a,m),p(a,h),v=!0,w||(b=[ve(t,"click",rt(i[71])),ve(t,"keydown",i[94]),ve(a,"click",rt(i[72])),ve(a,"keydown",i[95])],w=!0)},p(y,k){y[39].showSupport&&C.p(y,k),(!v||k[1]&128&&_!==(_=y[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(y){v||(d(C),d(o.$$.fragment,y),d(f.$$.fragment,y),v=!0)},o(y){g(C),g(o.$$.fragment,y),g(f.$$.fragment,y),v=!1},d(y){y&&(P(e),P(t),P(s),P(a)),C&&C.d(y),H(o),H(f),w=!1,it(b)}}}function wh(i){let e,t,n,o,r,l,s,a;return n=new mh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("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",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ve(e,"click",rt(i[70])),ve(e,"keydown",i[93])],s=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,it(a)}}}function wa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Jn({props:{direction:"left"}});let _=Jt(i[12]),v=[];for(let b=0;b<_.length;b+=1)v[b]=Ca(ca(i,_,b));const w=b=>g(v[b],1,1,()=>{v[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("submenu_quality")}`,l=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",Y("aria_label_submenu_back")),V(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]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),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=[ve(t,"click",rt(i[68])),ve(c,"keydown",i[81])],m=!0)},p(b,C){if((!f||C[0]&256)&&V(t,"item-mobile",b[8]),C[0]&4352|C[2]&1048577){_=Jt(b[12]);let y;for(y=0;y<_.length;y+=1){const k=ca(b,_,y);v[y]?(v[y].p(k,C),d(v[y],1)):(v[y]=Ca(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)&&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){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&&P(e),H(n),i[117](null),Vn(v,b),i[120](null),m=!1,it(h)}}}function ya(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ka(i){let e,t,n;var o=zo(i[148].value);function r(l){return{}}return o&&(t=Nn(o,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){T(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=zo(l[148].value))){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(t=Nn(o,r()),U(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function Ca(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&zo(i[148].value),a,c,f,m,h,_,v=i[148].selected&&ya(),w=s&&ka(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=Re(o),l=N(),w&&w.c(),a=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(y,k){T(y,e,k),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),w&&w.m(e,null),p(e,a),m=!0,h||(_=[ve(e,"click",rt(b)),ve(e,"keydown",C)],h=!0)},p(y,k){i=y,i[148].selected?v?k[0]&4096&&d(v,1):(v=ya(),v.c(),d(v,1),v.m(e,t)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!m||k[0]&4096)&&o!==(o=i[148].displayValue+"")&&xe(r,o),(!m||k[0]&256)&&V(n,"quality-title-mobile",i[8]),k[0]&4352&&(s=!i[8]&&zo(i[148].value)),s?w?(w.p(i,k),k[0]&4352&&d(w,1)):(w=ka(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)&&V(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&&P(e),v&&v.d(),w&&w.d(),h=!1,it(_)}}}function Sa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Jn({props:{direction:"left"}});let _=Jt(i[11]),v=[];for(let b=0;b<_.length;b+=1)v[b]=Ta(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),o=N(),r=E("div"),r.textContent=`${Y("submenu_playback_rate")}`,l=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",Y("aria_label_submenu_back")),V(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]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),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=[ve(t,"click",rt(i[68])),ve(c,"keydown",i[84])],m=!0)},p(b,C){if((!f||C[0]&256)&&V(t,"item-mobile",b[8]),C[0]&2304|C[2]&8388616){_=Jt(b[11]);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]=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)&&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){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&&P(e),H(n),i[121](null),Vn(v,b),i[124](null),m=!1,it(h)}}}function Pa(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ta(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&Pa();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=Re(o),l=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ve(e,"click",rt(_)),ve(e,"keydown",v)],f=!0)},p(w,b){i=w,i[145].selected?h?b[0]&2048&&d(h,1):(h=Pa(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&2048)&&o!==(o=i[145].displayValue+"")&&xe(r,o),(!c||b[0]&256)&&V(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)&&V(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,it(m)}}}function Ea(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se;n=new Jn({props:{direction:"left"}});let ee=!i[9]&&Aa(),R=i[9]&&La();return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("submenu_traffic_saving")}`,l=N(),s=E("div"),a=N(),c=E("ul"),f=E("li"),ee&&ee.c(),m=N(),h=E("div"),h.textContent=`${Y("traffic_saving_disable")}`,_=N(),v=E("li"),R&&R.c(),w=N(),b=E("div"),b.textContent=`${Y("traffic_saving_enable")}`,C=N(),y=E("div"),k=N(),M=E("div"),K=E("span"),K.textContent=`${Y("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),V(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",Y("aria_label_submenu_traffic_saving_off")),V(f,"item-mobile",i[8]),u(b,"class","v-5r0p3"),V(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",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),V(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),V(c,"items-mobile",i[8]),u(y,"class","menu-divider v-5r0p3"),u(K,"class","v-5r0p3"),u(M,"class","item item-helper-text v-5r0p3"),V(M,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(x,S){T(x,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),ee&&ee.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,M),p(M,K),I=!0,Q||(se=[ve(t,"click",rt(i[68])),ve(f,"click",rt(i[126])),ve(f,"keydown",i[127]),ve(v,"click",rt(i[128])),ve(v,"keydown",i[129]),ve(c,"keydown",i[90])],Q=!0)},p(x,S){(!I||S[0]&256)&&V(t,"item-mobile",x[8]),x[9]?ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()):ee?S[0]&512&&d(ee,1):(ee=Aa(),ee.c(),d(ee,1),ee.m(f,m)),(!I||S[0]&256)&&V(h,"quality-title-mobile",x[8]),(!I||S[0]&256)&&V(f,"item-mobile",x[8]),x[9]?R?S[0]&512&&d(R,1):(R=La(),R.c(),d(R,1),R.m(v,w)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),(!I||S[0]&256)&&V(b,"quality-title-mobile",x[8]),(!I||S[0]&256)&&V(v,"item-mobile",x[8]),(!I||S[0]&8388608)&&u(c,"style",x[23]),(!I||S[0]&256)&&V(c,"items-mobile",x[8]),(!I||S[0]&256)&&V(M,"item-mobile",x[8]),(!I||S[0]&256)&&V(e,"menu-desktop",!x[8]),(!I||S[0]&256)&&V(e,"menu-mobile",x[8])},i(x){I||(d(n.$$.fragment,x),d(ee),d(R),I=!0)},o(x){g(n.$$.fragment,x),g(ee),g(R),I=!1},d(x){x&&P(e),H(n),i[125](null),ee&&ee.d(),R&&R.d(),i[130](null),Q=!1,it(se)}}}function Aa(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function La(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ia(i){let e,t,n,o,r,l,s,a,c,f;n=new Jn({props:{direction:"left"}});let m=Jt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=Va(aa(i,m,v));const _=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("subtitles_caption")}`,l=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",Y("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),V(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(t,o),p(t,r),p(e,l),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=[ve(t,"click",rt(i[68])),ve(s,"keydown",i[87])],c=!0)},p(v,w){if((!a||w[0]&256)&&V(t,"item-mobile",v[8]),w[0]&1280|w[2]&67108896){m=Jt(v[10]);let b;for(b=0;b<m.length;b+=1){const C=aa(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)&&V(s,"items-mobile",v[8]),(!a||w[0]&256)&&V(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&V(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&&P(e),H(n),Vn(h,v),i[133](null),c=!1,it(f)}}}function Ma(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Va(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&Ma();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=Re(o),l=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ve(e,"click",rt(_)),ve(e,"keydown",v)],f=!0)},p(w,b){i=w,i[142].selected?h?b[0]&1024&&d(h,1):(h=Ma(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&1024)&&o!==(o=i[142].displayValue+"")&&xe(r,o),(!c||b[0]&256)&&V(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)&&V(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,it(m)}}}function yh(i){let e,t,n,o,r,l,s=i[14]&&fa(i),a=i[16]&&wa(i),c=i[17]&&Sa(i),f=i[19]&&Ea(i),m=i[18]&&Ia(i);return{c(){e=E("div"),s&&s.c(),t=N(),a&&a.c(),n=N(),c&&c.c(),o=N(),f&&f.c(),r=N(),m&&m.c(),u(e,"class","v-5r0p3"),V(e,"hidden",!i[14]),V(e,"container-mobile",i[8])},m(h,_){T(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,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&d(s,1)):(s=fa(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=wa(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=Sa(h),c.c(),d(c,1),c.m(e,o)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=Ea(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()),(!l||_[0]&16384)&&V(e,"hidden",!h[14]),(!l||_[0]&256)&&V(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const cr=18;function kh(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,{ref:x=void 0}=e,{supportLink:S}=e,{playerControlsHeight:z=0}=e,{returnFocus:ue}=e;const A=kt(),oe=vn(),O=A.state.currentQuality$;D(i,O,le=>t(103,w=le));const ne=A.state.availableQualities$;D(i,ne,le=>t(12,_=le));const me=A.state.autoQualityLimitingAvailable$;D(i,me,le=>t(107,k=le));const Oe=A.state.isAutoQualityEnabled$;D(i,Oe,le=>t(104,b=le));const Fe=A.state.currentPlaybackRate$;D(i,Fe,le=>t(13,v=le));const Te=A.state.availablePlaybackRates$;D(i,Te,le=>t(11,m=le));const Pe=A.state.currentSubtitle$;D(i,Pe,le=>t(37,ee=le));const pe=A.state.availableSubtitlesList$;D(i,pe,le=>t(10,c=le));const G=A.state.canDownload,re=A.state.hasMpegSources$;D(i,re,le=>t(108,M=le));const we=A.ui.settingsMenuVisible;D(i,we,le=>t(14,se=le));const ie=A.ui.settingsMenuOpenedByKeyboard;D(i,ie,le=>t(135,o=le));const Se=A.ui.isMobile;D(i,Se,le=>t(8,r=le));const Ie=A.ui.mobileNotReportControlHidden$;D(i,Ie,le=>t(105,C=le));const De=A.state.canChangePlaybackSpeed$;D(i,De,le=>t(106,y=le));const ke=A.ui.isFullscreen;D(i,ke,le=>t(111,Q=le));const ae=A.state.trafficSavingEnabled$;D(i,ae,le=>t(9,s=le));const J=A.ui.playerSize;D(i,J,le=>t(110,I=le));const j=A.ui.debugPanelVisible;D(i,j,le=>t(38,R=le));const Ae=A.ui.playerSize;D(i,Ae,le=>t(109,K=le));const et=A.state.isInteractiveTime$,ot=A.actions.internal.downloadVideo,je=A.actions.internal.closeSettingsMenu;let Me=!0,Qe=!1,st=!1,wt=!1,tt=!1,Ne=!1;function Et(){o||ue==null||ue(),je(),Ne=!1}function At(){t(15,Me=!1),t(16,Qe=!0)}function Ht(){t(15,Me=!1),t(19,tt=!0)}function Wt(le){A.actions.internal.setQuality(le),Et()}function ce(le){A.actions.internal.setTrafficSavingEnabled(le),Et()}function gt(){t(15,Me=!1),t(17,st=!0)}function dt(le){A.actions.internal.setPlaybackRate(le),Et()}function mt(){t(15,Me=!1),t(18,wt=!0)}function ut(le){A.actions.internal.setSubtitle(le),Et()}function Tt(){t(15,Me=!0),t(16,Qe=!1),t(17,st=!1),t(18,wt=!1),t(19,tt=!1)}function Xe(){ot(),Et()}function ze(){window.open(S,"_blank"),Et(),A.actions.internal.pause()}function Vt(){Cr(A.actions.internal.getDebugTextData()),Et()}function xt(){j.set(!0),Et()}function Fi(){Ne=!0}function xi(){Ne=!1}function ri(le,$e,bt){if(!le)return"...";const It=$e.find(cn=>cn.value===le),Qt=It?It.displayValue:le;return bt?le===Ao.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Qt}):Qt}let Hi,hi,Ut,Zt,Ti,$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,ai,bi,_i=Ee(!1);D(i,_i,le=>t(102,h=le));let Nt,Li,ct=Ee(!1);D(i,ct,le=>t(101,f=le));let nt,Rt,ji=Ee(!1);D(i,ji,le=>t(100,a=le));let qi,ti,ui=Ee(!1);D(i,ui,le=>t(99,l=le));const wi=le=>{xc(le,je)},Wi=le=>Ji(this,null,function*(){wl(le,At,()=>{const $e=_.findIndex(bt=>bt.selected);return bi.childNodes[$e]})}),ii=le=>Ji(this,null,function*(){yl(le,Tt,_i,je)}),Ii=(le,$e)=>{sn(le,()=>Wt($e))},Kt=le=>Ji(this,null,function*(){wl(le,gt,()=>{const $e=m.findIndex(bt=>bt.selected);return Li.childNodes[$e]})}),Gt=le=>Ji(this,null,function*(){yl(le,Tt,ct,je)}),Mi=(le,$e)=>{sn(le,()=>dt($e))},Ct=le=>Ji(this,null,function*(){wl(le,mt,()=>{const $e=c.findIndex(bt=>bt.selected);return Rt.childNodes[$e]})}),Yt=le=>Ji(this,null,function*(){yl(le,Tt,ji,je)}),Vi=(le,$e)=>{sn(le,()=>ut($e))},Zi=le=>Ji(this,null,function*(){wl(le,Ht,()=>{const $e=s?2:0;return ti.childNodes[$e]})}),$i=le=>Ji(this,null,function*(){yl(le,Tt,ui,je)}),Bi=(le,$e)=>{sn(le,()=>ce($e))},yi=le=>{sn(le,()=>Xe())},ci=le=>{sn(le,()=>ze())},Ki=le=>{sn(le,()=>Vt())},Gi=le=>{sn(le,()=>xt())};hn(()=>{const le=et.subscribe($e=>{$e&&!r&&!Ne&&!o&&Et()});return()=>{le()}});function Ri(le){ye[le?"unshift":"push"](()=>{ai=le,t(4,ai)})}function Le(le){ye[le?"unshift":"push"](()=>{Nt=le,t(5,Nt)})}function Xi(le){ye[le?"unshift":"push"](()=>{nt=le,t(6,nt)})}function Yi(le){ye[le?"unshift":"push"](()=>{qi=le,t(7,qi)})}function Ni(le){ye[le?"unshift":"push"](()=>{x=le,t(0,x)})}function Qi(le){ye[le?"unshift":"push"](()=>{hi=le,t(1,hi)})}const ki=le=>Wt(le.value),He=(le,$e)=>Ii($e,le.value);function Ci(le){ye[le?"unshift":"push"](()=>{bi=le,t(32,bi)})}function Oi(le){ye[le?"unshift":"push"](()=>{Ut=le,t(2,Ut)})}const fi=le=>dt(le.value),Ot=(le,$e)=>Mi($e,le.value);function en(le){ye[le?"unshift":"push"](()=>{Li=le,t(33,Li)})}function dn(le){ye[le?"unshift":"push"](()=>{Zt=le,t(3,Zt)})}const di=()=>ce(!1),tn=le=>Bi(le,!1),Di=()=>ce(!0),nn=le=>Bi(le,!0);function Si(le){ye[le?"unshift":"push"](()=>{ti=le,t(35,ti)})}const an=le=>ut(le),un=(le,$e)=>Vi($e,le);function mn(le){ye[le?"unshift":"push"](()=>{Rt=le,t(34,Rt)})}return i.$$set=le=>{"ref"in le&&t(0,x=le.ref),"supportLink"in le&&t(96,S=le.supportLink),"playerControlsHeight"in le&&t(97,z=le.playerControlsHeight),"returnFocus"in le&&t(98,ue=le.returnFocus)},i.$$.update=()=>{var le,$e,bt,It;if(i.$$.dirty[0]&16384&&se&&(t(15,Me=!0),t(16,Qe=!1),t(17,st=!1),t(18,wt=!1),t(19,tt=!1)),i.$$.dirty[3]&1024&&t(36,n=zo(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Hi=ri(w,_,b)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&Q)t(21,Ti=`max-height: ${Math.round(I.height*.6)}px`);else if(r)t(21,Ti="");else{const Qt=K.height-cr-((le=hi==null?void 0:hi.clientHeight)!=null?le:0)-z;t(21,Ti=`max-height: ${Qt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,$t="");else{const Qt=K.height-cr-(($e=Ut==null?void 0:Ut.clientHeight)!=null?$e:0)-z;t(22,$t=`max-height: ${Qt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,si="");else{const Qt=K.height-cr-((bt=Zt==null?void 0:Zt.clientHeight)!=null?bt:0)-z;t(23,si=`max-height: ${Qt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,ei=G&&M&&!C),i.$$.dirty[3]&20480&&t(25,Ei=oe.features.trafficSaving&&!C&&k),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,vi=c.length>0&&!C),i.$$.dirty[3]&12288&&t(27,Lt=!!y&&!C),i.$$.dirty[3]&4096&&t(28,Ui=!C),i.$$.dirty[0]&512&&t(29,gi=Y(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Ai=b?Y("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(31,Bt=(It=m.find(Qt=>Qt.value===v))==null?void 0:It.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&_l(ai,_i,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&_l(Nt,ct,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&_l(nt,ji,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&_l(qi,ui,l)},[x,hi,Ut,Zt,ai,Nt,nt,qi,r,s,c,m,_,v,se,Me,Qe,st,wt,tt,Hi,Ti,$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,bi,Li,Rt,ti,n,ee,R,oe,O,ne,me,Oe,Fe,Te,Pe,pe,re,we,ie,Se,Ie,De,ke,ae,J,j,Ae,Et,At,Ht,Wt,ce,gt,dt,mt,ut,Tt,Xe,ze,Vt,xt,Fi,xi,_i,ct,ji,ui,wi,Wi,ii,Ii,Kt,Gt,Mi,Ct,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,S,z,ue,l,a,f,h,w,b,C,y,k,M,K,I,Q,Ri,Le,Xi,Yi,Ni,Qi,ki,He,Ci,Oi,fi,Ot,en,dn,di,tn,Di,nn,Si,an,un,mn]}class df extends _e{constructor(e){super(),be(this,e,kh,yh,ge,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},_h,[-1,-1,-1,-1,-1])}}function Ch(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Sh(i){let e,t,n;return t=new cf({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=E("span"),U(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ph(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[Sh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&2&&(a.ariaExpanded=l[1]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Th(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=kt(),a=s.state.currentQuality$;D(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;D(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;D(i,m,w=>t(3,o=w));let h;function _(w){const b=Dr(w);f(b)}function v(w){l=w,t(0,l)}return i.$$set=w=>{"ref"in w&&t(0,l=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,_,v]}class Ur extends _e{constructor(e){super(),be(this,e,Th,Ph,ge,{ref:0},Ch)}}function Eh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ah extends _e{constructor(e){super(),be(this,e,null,Eh,ge,{})}}function Lh(i){let e,t;return e=new ff({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ih(i){let e,t;return e=new Ah({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Mh(i){let e,t,n,o;const r=[Ih,Lh],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Vh(i){let e,t;return e=new Pi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:xo[Ce.KeyC],$$slots:{default:[Mh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Rh extends _e{constructor(e){super(),be(this,e,Bh,Vh,ge,{isSubtitlesEnabled:0,click:1})}}function Nh(i){Ue(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 Ba(i){let e,t;return{c(){e=E("span"),t=Re(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&P(e)}}}function Oh(i){let e,t,n,o,r=i[2]&&Ba(i);return{c(){e=E("div"),t=E("span"),n=Re(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),V(e,"mobile",i[1])},m(l,s){T(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&xe(n,l[4]),l[2]?r?r.p(l,s):(r=Ba(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&V(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function Dh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){ye[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,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=jn(o)),i.$$.dirty&64&&t(4,c=jn(r))},[s,n,l,a,c,o,r,f]}class mf extends _e{constructor(e){super(),be(this,e,Dh,Oh,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Nh)}}function zh(i){Ue(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 Fh(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=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(o,"class","wave1 v-1n5yyua"),u(o,"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",l="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){T(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(s){s&&P(e)}}}function Hh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class zl extends _e{constructor(e){super(),be(this,e,Hh,Fh,ge,{volume:1,muted:2},zh)}}function Uh(i){let e,t;const n=i[4].default,o=qn(n,i,i[3],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){T(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Zn(o,n,r,r[3],t?Wn(n,r[3],l,null):Kn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function jh(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=kt().ui.overlayContainer$;D(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)};hn(()=>(f(n),()=>c(n)));function m(h){ye[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,o,m]}class qh extends _e{constructor(e){super(),be(this,e,jh,Uh,ge,{})}}function Wh(i){Ue(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 Ra(i){let e,t;return e=new qh({props:{$$slots:{default:[Zh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Zh(i){let e,t,n,o,r,l,s;return{c(){e=E("div"),t=E("div"),n=Re(i[1]),o=N(),r=E("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`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);`),V(e,"active",i[0])},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),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&&P(e),i[17](null)}}}function Kh(i){let e,t,n,o,r,l;const s=i[15].default,a=qn(s,i,i[18],null);let c=i[1]&&Ra(i);return{c(){e=E("div"),a&&a.c(),t=N(),c&&c.c(),n=vt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,m){T(f,e,m),a&&a.m(e,null),i[16](e),T(f,t,m),c&&c.m(f,m),T(f,n,m),o=!0,r||(l=[ve(e,"mouseenter",i[11]),ve(e,"mousemove",i[11]),ve(e,"mouseleave",i[12]),ve(e,"mousedown",i[12]),ve(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Zn(a,s,f,f[18],o?Wn(s,f[18],m,null):Kn(f[18]),null),(!o||m&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Ra(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,it(l)}}}const kl=5;function Gh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=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=kl,C=0,y=0;const k=vn(),M=kt(),K=M.ui.playerSize;D(i,K,A=>t(21,o=A));const I=M.ui.overlayContainer$;D(i,I,A=>t(20,n=A));const Q=M.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const A=n.getBoundingClientRect(),oe=h.getBoundingClientRect(),O=oe.width,ne=_.clientWidth,me=o.width,Oe=(O-ne)/2,Fe=oe.left+c-A.left;let Te=Fe+Oe;const Pe=oe.top+f-A.top;let pe=ne/2-kl;const G=Te<dl,re=Te+ne>me-dl;G&&(Te=dl,pe=Fe+oe.width/2-2.5*kl),re&&(Te=me-dl-ne,pe=oe.left-A.left+oe.width/2-Te-kl),t(6,C=Te),t(7,y=Pe),t(5,w=pe)},ee=()=>{try{if(!n||!h)return;se(),t(0,a=!0)}catch(A){Q({message:String(A)})}},R=()=>{t(0,a=!1)},x=()=>{_&&(v||(v=window.setTimeout(ee,k.controls.hideTimeoutTooltips)),a&&ee())},S=()=>{R(),window.clearTimeout(v),v=void 0};Bl(()=>window.clearTimeout(v));function z(A){ye[A?"unshift":"push"](()=>{h=A,t(3,h)})}function ue(A){ye[A?"unshift":"push"](()=>{_=A,t(4,_)})}return i.$$set=A=>{"content"in A&&t(1,s=A.content),"active"in A&&t(0,a=A.active),"translateX"in A&&t(13,c=A.translateX),"translateY"in A&&t(14,f=A.translateY),"isFullWidthWrapper"in A&&t(2,m=A.isFullWidthWrapper),"$$scope"in A&&t(18,l=A.$$scope)},[a,s,m,h,_,w,C,y,b,K,I,x,S,c,f,r,z,ue,l]}class pf extends _e{constructor(e){super(),be(this,e,Gh,Kh,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Wh)}}function Yh(i){Ue(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 Qh(i){let e;const t=i[16].default,n=qn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Zn(n,t,o,o[21],e?Wn(t,o[21],r,null):Kn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function Xh(i){let e,t;return e=new pf({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,o){F(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jh(i){let e;const t=i[16].default,n=qn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Zn(n,t,o,o[21],e?Wn(t,o[21],r,null):Kn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function xh(i){let e,t,n,o,r,l,s,a,c;const f=[Xh,Qh],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",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),No(()=>i[20].call(e))},m(_,v){T(_,e,v),m[t].m(e,null),i[19](e),l=Er(e,i[20].bind(e)),s=!0,a||(c=[ve(e,"pointerdown",rt(li(i[17]))),ve(e,"click",rt(li(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&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=_[6]||null))&&u(e,"aria-hidden",r)},i(_){s||(d(n),s=!0)},o(_){g(n),s=!1},d(_){_&&P(e),m[t].d(),i[19](null),l(),a=!1,it(c)}}}function $h(i,e,t){let n,o,{$$slots:r={},$$scope:l}=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=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:b=0}=e,{initialTranslateYPx:C=-18}=e;const y=kt(),k=y.ui.isMobile;D(i,k,R=>t(10,o=R));const M=y.state.graphIsOpened$;D(i,M,R=>t(15,n=R));let K;function I(R){Ro.call(this,i,R)}function Q(R){Ro.call(this,i,R)}function se(R){ye[R?"unshift":"push"](()=>{f=R,t(0,f)})}function ee(){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,l=R.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,K=n?Y("tooltip_disabled_when_graph_on"):v):t(9,K=_))},[f,m,s,c,h,_,w,b,C,K,o,k,M,a,v,n,r,I,Q,se,ee,l]}class qt extends _e{constructor(e){super(),be(this,e,$h,xh,ge,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Yh)}}function ev(i){Ue(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 tv(i){let e,t,n,o,r;return t=new lf({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}%`),No(()=>i[3].call(e)),V(e,"disabled",i[1])},m(l,s){T(l,e,s),F(t,e,null),o=Er(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&V(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),H(t),o()}}}function iv(i){let e,t;return e=new qt({props:{tooltipContent:Y(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:[tv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nv(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class ov extends _e{constructor(e){super(),be(this,e,nv,iv,ge,{videoEpisode:0,disabled:1},ev)}}function lv(i){Ue(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 Na(i,e,t){const n=i.slice();return n[2]=e[t],n}function Oa(i){let e,t,n,o,r,l,s,a,c;return{c(){e=E("div"),t=E("div"),n=E("div"),r=N(),l=E("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(l,"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}%`),V(e,"mobile",i[1])},m(f,m){T(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&V(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&V(e,"mobile",f[1])},d(f){f&&P(e)}}}function rv(i){let e,t=Jt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Oa(Na(i,t,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){T(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=Jt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=Na(o,t,l);n[l]?n[l].p(s,r):(n[l]=Oa(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:Z,o:Z,d(o){o&&P(e),Vn(n,o)}}}function sv(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class av extends _e{constructor(e){super(),be(this,e,sv,rv,ge,{videoEpisodes:0,isMobile:1},lv)}}function uv(i){Ue(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 Da(i,e,t){const n=i.slice();return n[48]=e[t],n}function za(i){let e,t,n=Jt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ha(Da(i,n,l));const r=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=E("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(l,s){T(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=Jt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Da(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=Ha(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(fe(),a=n.length;a<o.length;a+=1)r(a);de()}(!t||s[0]&32)&&V(e,"mobile",l[5]),(!t||s[0]&1048608)&&V(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),Vn(o,l)}}}function Fa(i){let e,t;return e=new ov({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[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){H(e,n)}}}function Ha(i){let e,t,n=i[48].interactive&&Fa(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=Fa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function cv(i){let e,t,n,o,r,l;return{c(){e=E("div"),t=E("div"),o=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",l=`transform: translateX(${i[12]*100}%);`),V(r,"active-live",i[4]),V(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&V(r,"active-live",s[4]),a[0]&64&&V(r,"ads",s[6])},i:Z,o:Z,d(s){s&&P(e)}}}function fv(i){let e,t;return e=new av({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[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){H(e,n)}}}function dv(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v=i[8]&&za(i);const w=[fv,cv],b=[];function C(y,k){return y[21].length?0:1}return n=C(i),o=b[n]=w[n](i),{c(){var y;v&&v.c(),e=N(),t=E("div"),o.c(),r=N(),l=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),V(l,"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),V(t,"disabled",i[9]),V(t,"slider-dragging",i[20]),V(t,"hidden",i[2]),V(t,"slider-vertical",i[3]),V(t,"no-handle",i[10]),V(t,"square",i[7])},m(y,k){v&&v.m(y,k),T(y,e,k),T(y,t,k),b[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(_=[ve(t,"pointerdown",li(i[22])),ve(t,"pointermove",li(i[23])),ve(t,"pointerup",li(i[24])),ve(t,"pointerenter",li(i[25])),ve(t,"pointerleave",li(i[26])),ve(t,"click",rt(Ye)),ve(t,"wheel",i[27])],h=!0)},p(y,k){var K;y[8]?v?(v.p(y,k),k[0]&256&&d(v,1)):(v=za(y),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(fe(),g(v,1,1,()=>{v=null}),de());let M=n;n=C(y),n===M?b[n].p(y,k):(fe(),g(b[M],1,1,()=>{b[M]=null}),de(),o=b[n],o?o.p(y,k):(o=b[n]=w[n](y),o.c()),d(o,1),o.m(t,r)),(!m||k[0]&16)&&V(s,"active-live",y[4]),(!m||k[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(l,"style",a),(!m||k[0]&1024)&&V(l,"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=(K=y[1])!=null?K:null))&&u(t,"data-testid",f),(!m||k[0]&513)&&V(t,"disabled",y[9]),(!m||k[0]&1048577)&&V(t,"slider-dragging",y[20]),(!m||k[0]&5)&&V(t,"hidden",y[2]),(!m||k[0]&9)&&V(t,"slider-vertical",y[3]),(!m||k[0]&1025)&&V(t,"no-handle",y[10]),(!m||k[0]&129)&&V(t,"square",y[7])},i(y){m||(d(v),d(o),m=!0)},o(y){g(v),g(o),m=!1},d(y){y&&(P(e),P(t)),v&&v.d(y),b[n].d(),i[42](null),h=!1,it(_)}}}function mv(i,e,t){let n,o,{className:r=""}=e,{testId:l=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:M=Ye}=e,{onHandleMove:K=Ye}=e,{onPointerUp:I=Ye}=e,{onPointerEnter:Q=Ye}=e,{onPointerMove:se=Ye}=e,{onPointerLeave:ee=Ye}=e,{onWheelUp:R=Ye}=e,{onWheelDown:x=Ye}=e,{onWheelLeft:S=Ye}=e,{onWheelRight:z=Ye}=e,{loadedProgress:ue=0}=e,{filledProgress:A=0}=e,{handleProgress:oe=0}=e,{ariaLabel:O=""}=e,{ariaValueMin:ne=void 0}=e,{ariaValueMax:me=void 0}=e,{ariaValueNow:Oe=void 0}=e,{ariaValueText:Fe=""}=e;const Te=vn();let Pe=!1,pe;function G(j){if(Pe)return;t(20,Pe=!0),k=y.getBoundingClientRect();const Ae=De(j.clientX,j.clientY);M(Ae),y.setPointerCapture(j.pointerId)}function re(j){const Ae=De(j.clientX,j.clientY),et=ke(j.clientX);se(Ae,et,k.width),Pe&&K(Ae)}function we(j){if(!Pe)return;t(20,Pe=!1);const Ae=De(j.clientX,j.clientY);I(Ae)}function ie(j){k=y.getBoundingClientRect();const Ae=De(j.clientX,j.clientY),et=ke(j.clientX);Q(Ae,et,k.width)}function Se(){ee()}function Ie(j){v&&(j.preventDefault(),j.deltaY<0?R():j.deltaY>0?x():j.deltaX>0?z():S())}function De(j,Ae){return a?Math.max(0,Math.min(1,(k.height-(Ae-k.top))/k.height)):Math.min(Math.max(j-k.x,0),k.width)/k.width}function ke(j){return Math.min(Math.max(j-k.x,0),k.width)}function ae(j,Ae){const et=Te.features.episodesClustering&&!w?Te.episodeMinWidthPc:0,ot=[];let je=0,Me=0,Qe=0;for(let tt=1;tt<_.length;tt++)Me=_[tt].time/pe*100,Me-je>et&&(ot.push({from:je,width:Math.max(0,Me-je),loadedWidth:Math.max(0,Math.min(Me,j)-je),filledWidth:Math.max(0,Math.min(Me,Ae)-je),interactive:_[tt-1].interactive,completed:_[tt-1].completed}),je=_[tt].time/pe*100,Qe++);const st={from:je,width:Math.max(0,100-je),loadedWidth:Math.max(0,Math.min(j,100)-je),filledWidth:Math.max(0,Math.min(Ae,100)-je),interactive:_[Qe].interactive,completed:_[Qe].completed};100-je<et?(Qe-=1,ot[Qe].width+=100-je,ot[Qe].loadedWidth+=Math.max(0,Math.min(j,100)-je),ot[Qe].filledWidth+=Math.max(0,Math.min(Ae,100)-je)):ot[Qe]=st;const wt=_[0].time;if(wt!==0){const tt=wt/pe*100;ot.unshift({from:0,width:tt,loadedWidth:Math.min(tt,j),filledWidth:Math.min(tt,Ae)})}return ot}function J(j){ye[j?"unshift":"push"](()=>{y=j,t(19,y)})}return i.$$set=j=>{"className"in j&&t(0,r=j.className),"testId"in j&&t(1,l=j.testId),"isHidden"in j&&t(2,s=j.isHidden),"isVertical"in j&&t(3,a=j.isVertical),"isActiveLive"in j&&t(4,c=j.isActiveLive),"isMobile"in j&&t(5,f=j.isMobile),"isAds"in j&&t(6,m=j.isAds),"squareBorders"in j&&t(7,h=j.squareBorders),"videoEpisodes"in j&&t(28,_=j.videoEpisodes),"withWheelHandler"in j&&t(29,v=j.withWheelHandler),"isInteractive"in j&&t(8,w=j.isInteractive),"disabled"in j&&t(9,b=j.disabled),"hideHandel"in j&&t(10,C=j.hideHandel),"onPointerDown"in j&&t(30,M=j.onPointerDown),"onHandleMove"in j&&t(31,K=j.onHandleMove),"onPointerUp"in j&&t(32,I=j.onPointerUp),"onPointerEnter"in j&&t(33,Q=j.onPointerEnter),"onPointerMove"in j&&t(34,se=j.onPointerMove),"onPointerLeave"in j&&t(35,ee=j.onPointerLeave),"onWheelUp"in j&&t(36,R=j.onWheelUp),"onWheelDown"in j&&t(37,x=j.onWheelDown),"onWheelLeft"in j&&t(38,S=j.onWheelLeft),"onWheelRight"in j&&t(39,z=j.onWheelRight),"loadedProgress"in j&&t(11,ue=j.loadedProgress),"filledProgress"in j&&t(12,A=j.filledProgress),"handleProgress"in j&&t(13,oe=j.handleProgress),"ariaLabel"in j&&t(14,O=j.ariaLabel),"ariaValueMin"in j&&t(15,ne=j.ariaValueMin),"ariaValueMax"in j&&t(16,me=j.ariaValueMax),"ariaValueNow"in j&&t(17,Oe=j.ariaValueNow),"ariaValueText"in j&&t(18,Fe=j.ariaValueText)},i.$$.update=()=>{var j;i.$$.dirty[0]&65536&&t(40,pe=me!=null?me:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((j=_[_.length-1])==null?void 0:j.time)<pe),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=_.length&&n&&pe?ae(ue*100,A*100):[])},[r,l,s,a,c,f,m,h,w,b,C,ue,A,oe,O,ne,me,Oe,Fe,y,Pe,o,G,re,we,ie,Se,Ie,_,v,M,K,I,Q,se,ee,R,x,S,z,pe,n,J]}class jr extends _e{constructor(e){super(),be(this,e,mv,dv,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},uv,[-1,-1])}}const En=(i,e)=>Do[i]>=Do[e],pv=(i,e)=>Do[i]<Do[e],hf=(i,e)=>Do[i]<=Do[e],hv=i=>i>Io.L?Mt.XL:i>Io.M?Mt.L:i>Io.S?Mt.M:i>Io.XS?Mt.S:Mt.XS;function vv(i){Ue(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 gv(i){let e,t;return e=new zl({props:{volume:i[4],muted:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[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){H(e,n)}}}function bv(i){let e,t;return e=new Pi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:xo[Ce.KeyM],$$slots:{default:[gv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ua(i){let e,t,n;return t=new jr({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]:Ye,onPointerLeave:i[3]?i[18]: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(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"),V(e,"volumeBar-vertical",i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ye),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ye),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function _v(i){let e,t,n,o,r,l;t=new pf({props:{content:i[6],translateY:-18,$$slots:{default:[bv]},$$scope:{ctx:i}}});let s=i[0]&&Ua(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){T(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[ve(e,"mouseenter",function(){In(i[3]?i[19]:Ye)&&(i[3]?i[19]:Ye).apply(this,arguments)}),ve(e,"mouseleave",function(){In(i[3]?i[20]:Ye)&&(i[3]?i[20]:Ye).apply(this,arguments)}),ve(e,"wheel",li(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=Ua(i),s.c(),d(s,1),s.m(e,null)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),H(t),s&&s.d(),r=!1,it(l)}}}function wv(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=kt(),c=vn(),f=a.state.volume$;D(i,f,ne=>t(4,n=ne));const m=a.state.muted$;D(i,m,ne=>t(23,r=ne));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(i,_,ne=>t(22,o=ne));let v=!1,w,b,C,y,k,M,K=1,I=!1;function Q(ne){K=n,h(ne)}function se(){nf(a,n,c.controls.volumeStepWheel)}function ee(){of(a,n,c.controls.volumeStepWheel)}function R(ne){h(ne)}function x(ne){const me=ne;h(me,me===0?K:me)}function S(){I=!0}function z(){I=!1,oe()}function ue(){clearTimeout(w),t(5,v=!0)}function A(){oe()}function oe(){w=window.setTimeout(()=>{I||t(5,v=!1)},c.controls.volumeBarTimeout)}function O(ne){ne.deltaY<0?se():ne.deltaY>0&&ee()}return i.$$set=ne=>{"isAudioAvailable"in ne&&t(0,l=ne.isAudioAvailable),"click"in ne&&t(1,s=ne.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,y=!l||r),i.$$.dirty[0]&4194304&&t(3,k=hf(o,Mt.S)),i.$$.dirty[0]&12&&(k?t(6,b=""):t(6,b=Y(y?"tooltip_volume":"tooltip_volume_muted")),t(7,C=Y(y?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,M=y?0:n)},[l,s,y,k,n,v,b,C,M,f,m,_,Q,se,ee,R,x,S,z,ue,A,O,o,r]}class yv extends _e{constructor(e){super(),be(this,e,wv,_v,ge,{isAudioAvailable:0,click:1},vv,[-1,-1])}}function kv(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){T(t,e,n)},d(t){t&&P(e)}}}function Cv(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){T(t,e,n)},d(t){t&&P(e)}}}function Sv(i){let e,t,n;function o(s,a){return s[0]?Cv:kv}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.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){T(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(s){s&&P(e),l.d()}}}function Pv(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Tv extends _e{constructor(e){super(),be(this,e,Pv,Sv,ge,{isFullscreen:0})}}function Ev(i){let e,t;return e=new Tv({props:{isFullscreen:i[0]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function Av(i){let e,t;return e=new Pi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:xo[Ce.KeyF],$$slots:{default:[Ev]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lv(i,e,t){let{isFullscreen:n=!1}=e,{click:o=Ye}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class vf extends _e{constructor(e){super(),be(this,e,Lv,Av,ge,{isFullscreen:0,click:1})}}function Iv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class qr extends _e{constructor(e){super(),be(this,e,null,Iv,ge,{})}}function Mv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class gf extends _e{constructor(e){super(),be(this,e,null,Mv,ge,{})}}function Vv(i){Ue(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 ja(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&P(e)}}}function Bv(i){let e,t,n,o,r=i[1]&&ja();var l=i[8];function s(a){return{}}return l&&(n=Nn(l,s())),{c(){r&&r.c(),e=N(),t=E("div"),n&&U(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,t,c),n&&F(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=ja(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),de()}l?(n=Nn(l,s()),U(n.$$.fragment),d(n.$$.fragment,1),F(n,t,null)):n=null}(!o||c&2)&&V(t,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(P(e),P(t)),r&&r.d(a),n&&H(n)}}}function Rv(i){let e,t,n;function o(l){i[13](l)}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:xo[Ce.KeyK],$$slots:{default:[Bv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Nv(i,e,t){let n,o;const{fakeIsPlaying$:r}=Rl();D(i,r,y=>t(12,o=y));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=Ye}=e;const{toggle:h}=r;let _,v,w,b;function C(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=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=o!==null),i.$$.dirty&5152&&t(11,w=v?o:a),i.$$.dirty&2048&&t(7,b=Y(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?gf:qr)},t(6,_=h),[l,s,c,f,m,v,_,b,n,r,a,w,o,C]}class Wr extends _e{constructor(e){super(),be(this,e,Nv,Rv,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Vv)}}function Ov(i){Ue(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 Dv(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"),V(e,"prev",i[0]),V(e,"mobile",i[1])},m(o,r){T(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&V(e,"prev",o[0]),r&2&&V(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&P(e)}}}function zv(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class Fv extends _e{constructor(e){super(),be(this,e,zv,Dv,ge,{isPrev:0,isMobile:1},Ov)}}function Hv(i){let e,t;return e=new Fv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&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){H(e,n)}}}function Uv(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Hv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=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,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class Fl extends _e{constructor(e){super(),be(this,e,jv,Uv,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function qv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Wv extends _e{constructor(e){super(),be(this,e,null,qv,ge,{})}}function Zv(i){Ue(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function qa(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"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(l,"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(l,"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){T(a,e,c),T(a,t,c),T(a,n,c),T(a,o,c),T(a,r,c),T(a,l,c),T(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function Kv(i){let e,t,n,o=!i[0]&&qa();return{c(){e=B("svg"),t=B("path"),o&&o.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"),V(e,"mobile",i[1])},m(r,l){T(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=qa(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&V(e,"mobile",r[1])},i:Z,o:Z,d(r){r&&P(e),o&&o.d()}}}function Gv(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class Yv extends _e{constructor(e){super(),be(this,e,Gv,Kv,ge,{short:0,isMobile:1},Zv)}}function Qv(i){let e,t;return e=new Wv({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:Z,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xv(i){let e,t;return e=new Yv({props:{short:i[4],isMobile:!!i[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function Jv(i){let e,t,n,o;const r=[Xv,Qv],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function xv(i){let e,t,n;function o(l){i[13](l)}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:[Jv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $v(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=vn(),{logoLink:m,addTimeToLogoLink:h}=f,_=kt(),v=_.state.positionWithScrubbing$;D(i,v,I=>t(14,n=I));const w=_.ui.currentGridType$;D(i,w,I=>t(11,o=I));const b=_.ui.isMobile;D(i,b,I=>t(12,r=I));let C,y,k;const M=()=>{let I;if(y||!a)I=m;else{const Q=Math.round(n);if(h&&Q){const se=new URL(a);se.searchParams.append("t",V0(Q)),I=se.toString()}else I=a}c(),window.open(I,"_blank")};function K(I){l=I,t(0,l)}return i.$$set=I=>{"ref"in I&&t(0,l=I.ref),"logoClickable"in I&&t(1,s=I.logoClickable),"videoLogoUrl"in I&&t(9,a=I.videoLogoUrl),"click"in I&&t(10,c=I.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,k=(r||hf(o,Mt.L))&&y)},t(3,C=f.logoType===Oo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),t(2,y=f.logoType===Oo.VK_VIDEO),[l,s,y,C,k,v,w,b,M,a,c,o,r,K]}class bf extends _e{constructor(e){super(),be(this,e,$v,xv,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function e5(i){Ue(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 t5(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"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(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"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",!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"),V(e,"connecting",i[2])},m(c,f){T(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&P(e)}}}function i5(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=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"),M=B("feBlend"),K=B("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(K,"in","SourceGraphic"),u(K,"in2","effect1_dropShadow_4085_178456"),u(K,"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(I,Q){T(I,e,Q),p(e,t),p(t,n),p(n,o),p(n,l),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,M),p(v,K)},p(I,Q){Q&2&&r!==(r=I[1]?"#2688EB":"#fff")&&u(o,"fill",r),Q&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(s,"fill",a),Q&2&&_!==(_=I[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(I){I&&P(e)}}}function n5(i){let e;function t(r,l){return r[0]?i5:t5}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function o5(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===Rn.CONNECTING),t(1,r=o===Rn.CONNECTED))},[n,r,l,o]}class l5 extends _e{constructor(e){super(),be(this,e,o5,n5,ge,{isMobile:0,state:3},e5)}}function r5(i){let e,t;return e=new l5({props:{isMobile:i[1],state:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&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){H(e,n)}}}function s5(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[r5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function a5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=Ye}=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,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===Rn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class _f extends _e{constructor(e){super(),be(this,e,a5,s5,ge,{ref:0,isMobile:1,state:2,click:3})}}function u5(i){let e,t;return e=new Gc({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function c5(i){let e,t;return e=new Pi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Xt.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[u5]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===Xt.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f5(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=kt(),a=s.state.playbackState$;D(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,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===Xt.PAUSED&&f()})},[o,r,l,n,m,a]}class wf extends _e{constructor(e){super(),be(this,e,f5,c5,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function d5(i){Ue(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 m5(i){let e,t,n,o;const r=i[9].default,l=qn(r,i,i[8],null);return{c(){e=E("div"),t=E("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(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){T(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Zn(l,r,s,s[8],o?Wn(r,s[8],a,null):Kn(s[8]),null),(!o||a&1)&&V(t,"active",s[0]),(!o||a&2)&&V(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function p5(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!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){ye[b?"unshift":"push"](()=>{h=b,t(4,h)})}function w(b){ye[b?"unshift":"push"](()=>{m=b,t(3,m)})}return i.$$set=b=>{"active"in b&&t(0,l=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))},[l,s,c,m,h,n,a,f,r,o,v,w]}class h5 extends _e{constructor(e){super(),be(this,e,p5,m5,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},d5)}}const yf=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function v5(i){Ue(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 Wa(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?b5:g5}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function g5(i){let e=(i[10].text||"")+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&P(t)}}}function b5(i){let e=Y("tooltip_episode_unfinished")+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p:Z,d(n){n&&P(t)}}}function _5(i){let e,t,n,o,r,l,s,a,c=i[10]&&Wa(i);return{c(){e=E("div"),t=E("div"),o=N(),r=E("div"),c&&c.c(),l=N(),s=E("div"),a=Re(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"),V(e,"mobile",i[1])},m(f,m){T(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),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=Wa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&xe(a,f[0]),m&2&&V(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&P(e),c&&c.d()}}}const Eo=150;function w5(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=kt().ui.rotateAlpha;D(i,h,Q=>t(11,n=Q));let _,v,w,b,C,y,k,M;function K(){let Q=s.frameWidth,se=s.frameHeight;return Q>Eo?(se=se/Q*Eo,Q=Eo):se>Eo&&(Q=Q/se*Eo,se=Eo),{width:Q,height:se}}function I(Q){let se;s.isUV?se=Math.floor(c*Q/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*Q)));const ee=Math.floor(se/s.countPerImage),R=Math.floor(se%s.countPerImage/s.countPerRow),x=se%s.countPerRow;let S=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ee===Math.floor(s.countTotal/s.countPerImage)&&(S=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&S++);let z=s.countPerRow;!s.isUV&&ee===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(z=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const ue=_*z,A=v*S,oe=-x*_,O=-R*v;return{imgSrc:s.links[ee],imgWidth:ue,imgHeight:A,imgOffsetX:oe,imgOffsetY:O}}return i.$$set=Q=>{"time"in Q&&t(0,o=Q.time),"isMobile"in Q&&t(1,r=Q.isMobile),"videoEpisodes"in Q&&t(13,l=Q.videoEpisodes),"previewThumbsData"in Q&&t(14,s=Q.previewThumbsData),"progress"in Q&&t(15,a=Q.progress),"duration"in Q&&t(16,c=Q.duration),"isInteractive"in Q&&t(2,f=Q.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:y,imgOffsetY:k}=I(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,M=yf(a,c,l))},t(3,{width:_,height:v}=K(),_,t(4,v)),[o,r,f,_,v,w,b,C,y,k,M,n,h,l,s,a,c]}class y5 extends _e{constructor(e){super(),be(this,e,w5,_5,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},v5)}}function k5(i){Ue(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 C5(i){let e,t;return{c(){e=E("span"),t=Re(i[7]),u(e,"class","time v-5lzly8")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:Z,o:Z,d(n){n&&P(e)}}}function S5(i){let e,t;return e=new y5({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,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[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){H(e,n)}}}function P5(i){let e,t,n,o;const r=[S5,C5],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function T5(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[P5]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=z1(l,r[s]);return e=new h5({props:l}),n=new jr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Y("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(at.TIMELINE),hideHandel:i[2]}}),{c(){U(e.$$.fragment),t=N(),U(n.$$.fragment)},m(s,a){F(e,s,a),T(s,t,a),F(n,s,a),o=!0},p(s,a){const c=a[0]&512?td(r,[id(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=Y("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(at.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),H(e,s),H(n,s)}}}function E5(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,{showTimeline:v=!1}=e;const w=kt(),b=vn(),C=w.state.bufferedProgress$;D(i,C,J=>t(12,h=J));const y=w.state.positionWithScrubbing$;D(i,y,J=>t(39,a=J));const k=w.state.duration$;D(i,k,J=>t(1,r=J));const M=w.state.isLive$;D(i,M,J=>t(0,o=J));const K=w.state.isActiveLive$;D(i,K,J=>t(11,m=J));const I=w.ui.isMobile;D(i,I,J=>t(10,f=J));const Q=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),ee=w.state.interactiveEpisodes$;D(i,ee,J=>t(40,c=J));const R=w.state.isInteractive,x=w.state.isInteractiveTime$;D(i,x,J=>t(2,l=J));const S=w.state.isInteractiveExpectation$;D(i,S,J=>t(38,s=J));const z=w.actions.internal.correctSeekTimeToInteractive,ue=w.ui.controls.disabledControls$;D(i,ue,J=>t(13,_=J));let A,oe,O,ne,me=!1,Oe="",Fe=0,Te=0,Pe=0,pe;function G(J){return!z||!R?J:z(J*r)/r}function re(J){w.actions.internal.startScrubbing(G(J))}function we(J){l||w.actions.internal.progressScrubbing(G(J))}function ie(J){w.actions.internal.completeScrubbing(G(J)),t(34,me=!1)}function Se(J,j,Ae){ke(J,j,Ae),t(34,me=!0)}function Ie(J,j,Ae){ke(J,j,Ae),t(34,me=!0)}function De(){t(34,me=!1)}function ke(J,j,Ae){t(8,Pe=J),t(35,Fe=j),Ae&&t(36,Te=Ae),t(7,Oe=ae(J))}function ae(J){const j=jn((o?1-J:J)*r);return o?`-${j}`:j}return i.$$set=J=>{"showTimeline"in J&&t(33,v=J.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,A=R?c:Q),i.$$.dirty[0]&2&&t(4,oe=jn(r)),i.$$.dirty[1]&256&&t(5,O=jn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ne=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,pe=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Te,translateXPx:Fe,translateYPx:R&&se?-36:-16,active:me&&v&&!pe,pointer:!b.features.timelinePreview||!se||o})},[o,r,l,A,oe,O,ne,Oe,Pe,n,f,m,h,_,b,C,y,k,M,K,I,se,ee,R,x,S,ue,re,we,ie,Se,Ie,De,v,me,Fe,Te,pe,s,a,c]}let A5=class extends _e{constructor(e){super(),be(this,e,E5,T5,ge,{showTimeline:33},k5,[-1,-1])}};function L5(i){let e,t;return e=new jr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Y("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,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&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){H(e,n)}}}function I5(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=kt().ui.isMobile;D(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=jn(r)),i.$$.dirty&64&&t(2,c=jn(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class kf extends _e{constructor(e){super(),be(this,e,I5,L5,ge,{position:6,duration:0})}}function M5(i){Ue(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 V5(i){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){T(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:Z,o:Z,d(t){t&&P(e)}}}function B5(i){let e,t,n,o;const r=[N5,R5],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){T(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function R5(i){let e,t;return e=new A5({props:{showTimeline:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function N5(i){let e,t;return e=new kf({props:{position:i[3],duration:i[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&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){H(e,n)}}}function O5(i){let e,t,n,o;const r=[B5,V5],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function D5(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=kt(),h=m.state.isLive$;D(i,h,C=>t(12,n=C));const _=m.ads.duration;D(i,_,C=>t(4,l=C));const v=m.ads.position;D(i,v,C=>t(3,r=C));const w=m.ui.isMobile;D(i,w,C=>t(2,o=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,o,r,l,h,_,v,w,a,c,f,n]}class Cf extends _e{constructor(e){super(),be(this,e,D5,O5,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},M5)}}function z5(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=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(o,"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(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ft(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,l){T(r,e,l),p(e,t),p(e,n),p(e,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class F5 extends _e{constructor(e){super(),be(this,e,null,z5,ge,{})}}function H5(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class U5 extends _e{constructor(e){super(),be(this,e,null,H5,ge,{})}}function j5(i){Ue(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 q5(i){let e,t,n,o;e=new F5({});function r(a,c){if(a[4]===lo.FULL)return K5;if(a[4]===lo.COUNT)return Z5}let l=r(i),s=l&&l(i);return{c(){U(e.$$.fragment),t=N(),s&&s.c(),n=vt()},m(a,c){F(e,a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),H(e,a),s&&s.d(a)}}}function W5(i){let e,t,n,o,r,l;return r=new U5({}),{c(){e=E("span"),t=Re(i[2]),n=N(),o=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,t),T(s,n,a),T(s,o,a),F(r,o,null),l=!0},p(s,a){(!l||a&4)&&xe(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),H(r)}}}function Z5(i){let e,t=i[0].length+"",n;return{c(){e=E("span"),n=Re(t),u(e,"class","text count v-1yhs2ga")},m(o,r){T(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&P(e)}}}function K5(i){let e,t;return{c(){e=E("span"),t=Re(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&4&&xe(t,n[2])},d(n){n&&P(e)}}}function G5(i){let e,t,n,o;const r=[W5,q5],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Y5(i){let e,t,n;function o(l){i[19](l)}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:[G5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Q5(i,e,t){var R,x,S;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=kt(),_=(x=(R=h.callbacks)==null?void 0:R.onEpisodeChanged)!=null?x:Ye,v=!!((S=h.callbacks)!=null&&S.onEpisodeClicked),w=h.ui.currentGridType$;D(i,w,z=>t(18,s=z));const b=h.ui.episodes.openedByKeyboard$;D(i,b,z=>t(17,l=z));const C=h.ui.episodes.panelOpened$;D(i,C,z=>t(3,r=z));const y=h.ui.isMobile;D(i,y,z=>t(6,a=z));let k;const M=z=>{var A,oe,O;if(!!((A=h.callbacks)!=null&&A.onEpisodeClicked)){const ne=Dr(z);b.set(ne),C.set(!0),(O=(oe=h.callbacks)==null?void 0:oe.onEpisodeClicked)==null||O.call(oe,ne)}};let K,I,Q;const se=(z,ue,A)=>Ji(this,null,function*(){yield Jo(),(z==null?void 0:z.getAttribute("aria-expanded"))==="false"&&ue&&!A&&(b.set(!1),z.focus())});function ee(z){k=z,t(1,k)}return i.$$set=z=>{"position"in z&&t(13,c=z.position),"duration"in z&&t(14,f=z.duration),"timeCodes"in z&&t(0,m=z.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const z=yf(n,f,m);z&&(K==null?void 0:K.text)!==z.text&&(_(z),t(15,K=z))}i.$$.dirty&32768&&t(2,o=(K==null?void 0:K.text)||""),i.$$.dirty&262144&&(En(s,Mt.XL)?t(4,I=lo.FULL):En(s,Mt.M)&&pv(s,Mt.XL)?t(4,I=lo.COUNT):t(4,I=lo.SHORT)),i.$$.dirty&4&&t(5,Q=`${Y("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&se(k,l,r)},[m,k,o,r,I,Q,a,v,w,b,C,y,M,c,f,K,n,l,s,ee]}class Sf extends _e{constructor(e){super(),be(this,e,Q5,Y5,ge,{position:13,duration:14,timeCodes:0},j5)}}function X5(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class J5 extends _e{constructor(e){super(),be(this,e,null,X5,ge,{})}}function x5(i){let e,t;return e=new J5({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[x5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eg(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=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,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class Pf extends _e{constructor(e){super(),be(this,e,eg,$5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function tg(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"),V(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(o,r){T(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&V(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&P(e)}}}function ig(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class ng extends _e{constructor(e){super(),be(this,e,ig,tg,ge,{isOpened:0})}}function og(i){let e,t;return e=new ng({props:{isOpened:i[3]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function lg(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[og]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rg(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!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,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class Tf extends _e{constructor(e){super(),be(this,e,rg,lg,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function sg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ef extends _e{constructor(e){super(),be(this,e,null,sg,ge,{})}}function ag(i){Ue(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 Za(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&P(e)}}}function ug(i){let e,t,n,o,r=i[1]&&Za();return n=new Ef({}),{c(){r&&r.c(),e=N(),t=E("div"),U(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),T(l,e,s),T(l,t,s),F(n,t,null),o=!0},p(l,s){l[1]?r||(r=Za(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&V(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),H(n)}}}function cg(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:xo[Ce.KeyK],$$slots:{default:[ug]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function fg(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=Ye}=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,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Zr extends _e{constructor(e){super(),be(this,e,fg,cg,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},ag)}}function dg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class mg extends _e{constructor(e){super(),be(this,e,null,dg,ge,{})}}function pg(i){let e,t;return e=new mg({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function hg(i){let e,t;return e=new Pi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[pg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vg(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class Af extends _e{constructor(e){super(),be(this,e,vg,hg,ge,{hidden:0,disabled:1,click:2})}}function gg(i){Ue(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 bg(i){let e,t,n,o;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),os(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){T(r,e,l),n||(o=ve(e,"error",i[7]),n=!0)},p(r,l){l&1&&!os(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function _g(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){T(t,e,n)},p:Z,d(t){t&&P(e)}}}function wg(i){let e;function t(r,l){return r[5]?_g:bg}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function yg(i){let e,t;return e=new Pi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[wg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function kg(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ye}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=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===Ye),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class Lf extends _e{constructor(e){super(),be(this,e,kg,yg,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},gg)}}class Ka{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 o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class If extends Ka{constructor(){super(),this.listeners||Ka.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 Cg=class{constructor(){Object.defineProperty(this,"signal",{value:new If,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){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(o){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&&(Cg.prototype[Symbol.toStringTag]="AbortController",If.prototype[Symbol.toStringTag]="AbortSignal");function Mf(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 Sg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Mf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(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 l=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,l(a,c)])}return l(a,c)},Request:r}}const Kr=Mf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Vf=Kr?Sg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Pg=Kr?Vf.fetch:window.fetch;Kr?Vf.Request:window.Request;const Tg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,Eg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Ag{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 kn,started$:new kn,paused$:new kn,resumed$:new kn,ended$:new kn,skipped$:new kn,clicked$:new kn},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};B0(Eg,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{ht(this.adsState),ht(this.playerState),ht(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Je(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(oi.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ht(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ht(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(oi.PAUSED)},this.onAdPlayed=()=>{ht(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(oi.PLAYING)},this.onAdMidrollPoint=()=>{ht(this.adman),ht(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Fn.Midroll,this.adman.start(Fn.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:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const _=this.playerState&&Je(this.playerState.vsid);_&&(h=parseInt(_,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:Tg(t,n),puid11:o?0:1,preview:m},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:l,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}ht(this.actions),ht(this.adsState),ht(this.playerState);const t=this.currentAdSection===Fn.Postroll;this.adsState.playbackState.set(oi.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(){ht(this.adsState),this.log({message:"toggle play"});const e=Je(this.adsState.playbackState);e===oi.PLAYING?this.pause():e===oi.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(){ht(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Fn.Preroll,this.adman.start(Fn.Preroll)}startPostroll(){ht(this.adman),ht(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Fn.Postroll,this.adman.start(Fn.Postroll)}play(){ht(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ht(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ht(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 Lg=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 Ig{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 o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new Bf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new Mg,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class Bf{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",o="0"){const r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class Mg{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new Bf;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Xn,zt,fr=0,dr=!1;const Vg=(i,e,t)=>{var n;const o=i>=fr,r=i<fr,l=(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(fr=i,r&&(dr=!1),Ln(Xn)&&s(i,Xn.startTime,Xn.endTime)&&Xn.lang===e.value)return Xn;if(!Ln(zt)&&(c!=null&&c.length)&&!dr){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));zt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Xn=void 0,!Ln(zt)&&c[c.length-1].endTime<i&&(dr=!0);return}else{if(s(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))return Xn=zt,zt=void 0,Xn;(o&&a(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime)||r&&l(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))&&(zt=void 0)}},mr={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 Cl=null;class Zo{constructor(e,t){if(!Cl){const n=new K0(e,t),o=new xn;Cl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Cl=null}})}}static getInstance(){return Cl}}const Bg=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:_,disabledControls:v,isInteractive:w,interactiveRanges:b,replayInteractive:C,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k,additionalButtons:M,looped:K=!1})=>{var I,Q,se,ee;const R=Object.assign(Object.assign({},h),{configName:[...(I=h.configName)!==null&&I!==void 0?I:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(Q=h.live)!==null&&Q!==void 0?Q:{}),{isLiveCatchUpMode:!!n})}),x=m,S=_||new E0(R);S.setLooped(K);const z=new D1,ue=new Ag(z,{loadTimeout:x.ads.loadTimeout,initTimeout:x.ads.initTimeout}),A=Zo.getInstance(),oe=kr.getInstance(),O=a==null?void 0:a.pictureInPictureApi,ne=a==null?void 0:a.annotationsApi,me=z.createComponentLog("Store");let Oe,Fe,Te={};const Pe=Pr(),pe=A?Pt(A.oneStat.vsid$):Bn(void 0),G=Ee(Yo()),re=(se=O==null?void 0:O.info.isActive$)!==null&&se!==void 0?se:new Sr(!1),we=O==null?void 0:O.info.type,ie=Ee(0),Se=Ee([]),Ie=R0(S.events.fatalError$,S.events.managedError$).subscribe(L=>Se.update(te=>[...te,L])),De=Bn(!1,L=>{const te=S.events.fatalError$.subscribe(()=>L(!0));return()=>te.unsubscribe()}),ke=L=>pi(void 0,void 0,void 0,function*(){var te;const he=Object.values(Qo).includes(L);if(x.downloadVKLanguages&&(he&&x.updateBuiltinLanguages||!Bs(L))){let Ze;try{Ze=yield D0(L,ud,cd)}catch(lt){(te=A==null?void 0:A.oneStat)===null||te===void 0||te.logError({errorType:"VKLangPack",fatal:!1}),oe==null||oe.report(lt,{errorType:"VKLangPack",fatal:!1})}Ze&&(Vs({language:L,pack:Ze,fallback:x.defaultLanguage}),ae.set(L))}Bs(L)&&ae.set(L)}),ae=Ee(i);ke(i);const J=(L,te)=>{const he=Je(ae);return Hc(he,L,te,x.defaultLanguage)},j=Ee(Be.Thumb),Ae=(()=>{const L=mi([De,j],([te,he])=>te?Be.Crashed:he);return Object.assign(Object.assign({},L),{is:te=>Je(L)===te})})(),et=(()=>{const L=Ee(new Set(v));return Object.assign(Object.assign({},L),{add:te=>{L.update(he=>new Set([...he].concat(te)))},remove:te=>{L.update(he=>{const Ve=[...he];return new Set(Array.isArray(te)?Ve.filter(Ze=>!te.includes(Ze)):Ve.filter(Ze=>Ze!==te))})},includes:te=>{const he=Je(L);return Array.isArray(te)?te.every(Ve=>he.has(Ve)):he.has(te)}})})();me({message:"create store"});const ot=L=>{me({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(S.experimental.element$.getValue()):S.initVideo(L),L.subtitles&&S.setExternalTextTracks(L.subtitles),Oe=L},je=new kn,Me=L=>je.next(L),Qe=new kn,st=new kn,wt=new kn,tt={actionRewind$:Qe,actionSeek$:st,inPiP$:re,inFullscreen$:new N0(L=>G.subscribe(te=>L.next(te))),actionSetSubtitle$:wt,nextMovie$:je};if(A){const{oneStat:L,statSubscription:te}=A;te.add(L.attachTo(S)),te.add(L.attachToUi(tt)),te.add(L.attachToAds(ue.events)),L.authorize(o).catch(he=>{me({message:`onestat auth error ${String(he)}`})})}if(oe){const L=new xn,te=(he,Ve)=>L.add(he.subscribe(Ve));if(te(S.events.managedError$,he=>{oe.logIError(he)}),te(S.events.fatalError$,he=>{oe.logIError(he,!0)}),A){const{oneStat:he}=A;te(he.experimental.error$,Ve=>{oe.logIError(Ve)})}oe.sentrySubscription.add(L)}const Ne=()=>{Tr()&&Fe&&l3(Fe)},Et=new xn().add(S.experimental.element$.subscribe(L=>{L&&(Fe=L,L.classList.add("player-media"),Ml(O)&&(O.updateVideoElement(),O.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(S.events.ended$.subscribe(()=>{var L;Ne(),(L=s==null?void 0:s.onEnded)===null||L===void 0||L.call(s)})).add(S.events.started$.subscribe(()=>pi(void 0,void 0,void 0,function*(){var L,te;Ml(O)&&(yield O==null?void 0:O.revealPictureInPicture());const he=S.info.muted$.getValue();(L=s==null?void 0:s.onStarted)===null||L===void 0||L.call(s),(te=Te.onStarted)===null||te===void 0||te.call(Te,he)}))).add(S.events.willSeek$.subscribe(({from:L,to:te})=>{var he;(he=s==null?void 0:s.onSeek)===null||he===void 0||he.call(s,L,te)})).add(S.info.position$.subscribe(L=>{var te;const he=S.info.duration$.getValue();(te=s==null?void 0:s.onTimeupdate)===null||te===void 0||te.call(s,he,L),ue.setPosition(L,he)})).add(S.events.fatalError$.subscribe(()=>{var L;(L=s==null?void 0:s.onCrashed)===null||L===void 0||L.call(s)})).add(S.info.is3DVideo$.subscribe(L=>{_t.ui.is3DVideo.set(L)})).add(S.info.isEnded$.subscribe(L=>{w&&(L?(Je(ln)&&et.add(Q1),et.add(at.PLAY_BUTTON)):et.remove(at.PLAY_BUTTON))})).add(S.info.liveTime$.subscribe(L=>{var te;(te=s==null?void 0:s.onLiveTime)===null||te===void 0||te.call(s,L)})).add(S.info.isStalled$.subscribe(L=>{var te;(te=s==null?void 0:s.onStalledChanged)===null||te===void 0||te.call(s,L)})),At=new xn,Ht=()=>{At.add(S.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(z.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},Wt=()=>{At.unsubscribe()},ce=(L,te)=>{S.startCameraManualRotation(L,te)},gt=(L=!1)=>{S.stopCameraManualRotation(L)},dt=(L,te,he)=>{S.moveCameraFocusPX(L,te,he)},mt=()=>{S.holdCamera()},ut=()=>{S.releaseCamera()},Tt=Bn(S.info.position$.getValue(),L=>{let te,he;const Ve=()=>{const Ze=S.info.playbackState$.getValue(),lt=S.info.isLive$.getValue(),St=S.info.duration$.getValue(),pt=S.info.position$.getValue();if([Xt.PLAYING,Xt.PAUSED].includes(Ze)){const zi=lt?pt-St:S.getExactTime();zi!==he&&L(zi),he=zi}te=requestAnimationFrame(Ve)};return Ve(),()=>cancelAnimationFrame(te)}),Xe=Pt(re),ze=Pt(S.info.playbackState$),Vt=Pt(S.info.currentBuffer$),xt=Pt(S.info.isEnded$),Fi=Pt(S.info.isLive$),xi=x.features.playbackRate?Pt(S.info.canChangePlaybackSpeed$):Bn(!1),ri=Pt(S.info.liveBufferTime$),Hi=Pt(S.info.volume$),hi=Pt(S.info.muted$),Ut=$1(S.info.autoQualityLimits$.pipe(O0(({max:L})=>L!==void 0)),((ee=S.info.autoQualityLimits$.getValue())===null||ee===void 0?void 0:ee.max)!==void 0),Zt=Pt(S.info.autoQualityLimitingAvailable$),Ti=Pt(S.info.availableQualities$),$t=Pt(S.info.availableQualitiesFps$),si=Pt(S.info.chromecastState$),ei=Pt(S.info.chromecastDeviceName$),Ei=Pt(S.info.currentFormat$),vi=Pt(S.info.throughputEstimation$),Lt=Pt(S.info.videoBitrate$),Ui=Pt(S.info.intrinsicVideoSize$),gi=Pt(S.info.duration$),Ai=Pt(S.info.isAudioAvailable$);let Bt=null;const ai=S.info.isBuffering$,bi=Bn(ai.getValue(),L=>{const te=ai.subscribe(he=>{he&&Bt===null?Bt=window.setTimeout(()=>{L(ai.getValue()),Bt=null},x.loaderDelay):L(he)});return()=>{te.unsubscribe(),Bt&&clearTimeout(Bt)}}),_i=()=>{Bt&&clearTimeout(Bt),Bt=null},Nt=mi([gi,Fi],([L,te])=>te?-L:L),Li=mi([ze],([L])=>L===Xt.PLAYING),ct=Pt(S.info.atLiveEdge$),nt=Pt(S.info.atLiveDurationEdge$),Rt=Pt(S.info.position$),ji=mi([Rt,gi],([L,te])=>isFinite(L)&&isFinite(te)&&!!te),qi=mi([si],([L])=>L===Rn.CONNECTED),ti=Ee(void 0),ui=Pt(S.info.isAutoQualityEnabled$,L=>L&&ti.set(void 0)),wi=Pt(S.info.currentQuality$,()=>ti.set(void 0)),Wi=mi([ti,wi],([L,te])=>L!=null?L:te),ii=mi([Ti,$t,ui,Wi,Ei],([L,te,he,Ve,Ze])=>{const lt=[];Ze!==qo.MPEG&<.push({value:Bo.AUTO,displayValue:J("auto_quality_option"),selected:he});const St=L.filter(pt=>pt!==Sl.INVARIANT);for(const pt of St){const zi=te[pt],no=pt===Sl.INVARIANT?J("auto_quality_option"):pt;lt.push({value:pt,displayValue:`${no}${zi?Lg(zi):""}`,selected:he?!1:pt===Ve})}return lt}),Ii=Pt(S.info.currentPlaybackRate$),Kt=mi([Ii,ct,nt],([L,te,he])=>{const Ve=he||w?1:x.controls.playbackRateMin,Ze=te?1:x.controls.playbackRateMax,lt=x.controls.playbackRateStep,St=[];for(let pt=Ve;pt<=Ze;pt+=lt)St.push({value:pt,displayValue:pt===1?J("playback_rate_1"):J("playback_rate",{multiplier:pt.toString(10)}),selected:L===pt});return St}),Gt=x.features.subtitles?Pt(S.info.availableTextTracks$):Bn([]),Mi=mi([Gt],([L],te)=>{const he=[],Ve=[];for(const Ze of L)Ze.url&&he.push(Pg(Ze.url));Promise.allSettled(he).then(Ze=>{for(const[lt,St]of Ze.entries())St.status==="fulfilled"&&St.value.text().then(pt=>{const zi=new Ig,no=L[lt].language,Uo=!!L[lt].isAuto,ll=zi.parse(pt);no&&ll&&Ve.push({lang:no,subtitles:ll,isAuto:Uo}),lt===Ze.length-1&&te(Ve)})})}),Ct={displayValue:J("subtitles_off"),value:"off"},Yt=Ee(Object.assign({},Ct)),Vi=mi([Mi,Yt,Mi],([L,te])=>{if((L==null?void 0:L.length)>0){const he=[Object.assign(Object.assign({},Ct),{selected:(te==null?void 0:te.value)===Ct.value})];for(const{lang:Ve,isAuto:Ze}of L)mr[Ve]&&he.push({displayValue:Ze?J("subtitles_auto",{language:mr[Ve]}):mr[Ve],value:Ve,selected:(te==null?void 0:te.value)===Ve,isAuto:Ze});return he}else return[]}),Zi=mi([Tt,Yt,Mi],([L,te,he])=>{if(te&&te.value!==Ct.value)return Vg(L,te,he)}),$i=mi([Zi],([L])=>L!=null&&L.texts?L.texts:[]),Bi=Ee(!0),yi=mi([Vt,Nt,Rt,ri],([L,te,he,Ve])=>{var Ze;const lt=(Ze=L==null?void 0:L.end)!==null&&Ze!==void 0?Ze:0;if(!Ve)return lt/te;const pt=-he+Ve-te;return(lt-pt)/te}),ci=Pt(S.info.availableSources$),Ki=mi([ci],([L])=>Object.keys((L==null?void 0:L[qo.MPEG])||{}).length>0),Gi=()=>{var L,te,he;const Ve=Object.keys(((te=(L=S.info.availableSources$)===null||L===void 0?void 0:L.getValue())===null||te===void 0?void 0:te[qo.MPEG])||{}),Ze=z0(Ve)||Sl.Q_144P;return(he=Oe.sources[qo.MPEG])===null||he===void 0?void 0:he[Ze]},Ri=()=>{var L;const te=Gi();te?_d(te,((L=Oe==null?void 0:Oe.meta)===null||L===void 0?void 0:L.title)||"video"):me({message:"There is no URL for download video"})},Le=()=>{me({message:"toggle muted"});const L=S.info.muted$.getValue(),Ve=!(S.info.volume$.getValue()===0||L);ki(Ve)},Xi=()=>{_t.ui.settingsMenuVisible.set(!1)},Yi=L=>{_t.ui.settingsMenuOpenedByKeyboard.set(!!L),_t.ui.settingsMenuVisible.set(!0)},Ni=L=>{Je(_t.ui.settingsMenuVisible)?Xi():Yi(L)},Qi=(L,te=L,he=!1)=>{var Ve,Ze,lt;const St=!he,pt=S.info.muted$.getValue();me({message:`set volume, volume: ${L}, preferredVolume: ${te}, internalCall: ${St}`}),S.setVolume(L),ue.setVolume(L),St&&((Ve=s==null?void 0:s.onVolumeChange)===null||Ve===void 0||Ve.call(s,L)),ss(te),pt?(S.setMuted(!1),St&&((Ze=s==null?void 0:s.onUnmute)===null||Ze===void 0||Ze.call(s)),Zl(!1)):!pt&&L===0&&(S.setMuted(!0),St&&((lt=s==null?void 0:s.onMute)===null||lt===void 0||lt.call(s)),Zl(!0))},ki=(L,te=!1)=>{var he,Ve,Ze,lt;const St=!te,pt=S.info.volume$.getValue();if(me({message:`set muted, currentVolume: ${pt}, mute: ${L}, internalCall: ${St}`}),S.setMuted(L),ue.setVolume(L?0:pt),Zl(L),St&&(L?(he=s==null?void 0:s.onMute)===null||he===void 0||he.call(s):(Ve=s==null?void 0:s.onUnmute)===null||Ve===void 0||Ve.call(s)),pt===0){let zi=(Ze=oc())!==null&&Ze!==void 0?Ze:x.volumeDefault;zi===0&&(zi=x.volumeMinRestore,ss(zi)),S.setVolume(zi),ue.setVolume(zi),St&&((lt=s==null?void 0:s.onVolumeChange)===null||lt===void 0||lt.call(s,zi))}},He=()=>{S.prepare()},Ci=()=>{var L,te;if(ht(_t),!Je(_t.ui.controls.disabledControls$).has(at.PLAY_BUTTON)){if(me({message:"toggle play"}),Je(_t.playerPhase)===Be.Ads){ue.togglePlay();return}if(S.info.playbackState$.getValue()!==Xt.PLAYING){if(S.info.isEnded$.getValue()){if(me({message:"toggle play, video ended, seek to 0"}),Qe.next(),st.next(jt.REWIND),w){C==null||C();return}S.seekTime(0)}me({message:"toggle play, call player.play"}),S.play(),(L=s==null?void 0:s.onPlay)===null||L===void 0||L.call(s)}else me({message:"toggle play, call player.pause"}),S.pause(),(te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)}},Oi=L=>{me({message:`set quality, quality: ${L}`}),S.setAutoQuality(L===Bo.AUTO),L!==Bo.AUTO?(wd(e,L),ti.set(L),S.setQuality(L)):lc()},fi=L=>{me({message:`set trafficSavingEnabled, value: ${L}`}),S.setAutoQualityLimits({max:L?x.trafficSavingLimit:void 0}),Cd(L)},Ot=L=>{S.setPlaybackRate(L)},en=()=>{const L=Je(Kt),te=L.findIndex(({selected:Ve})=>Ve);if(te===L.length-1)return;const he=L[te+1];Ot(he.value)},dn=()=>{const L=Je(Kt),te=L.findIndex(({selected:Ve})=>Ve);if(te===0)return;const he=L[te-1];Ot(he.value)},di=L=>{L&&L.value!==Ct.value&&wt.next(L.isAuto?L.value+"_auto":L.value),Yt.set(L)},tn=()=>{const L=Je(Vi),te=Je(Yt),he=Je(ae);if((te==null?void 0:te.value)===Ct.value){const Ve=L.filter(Ze=>Ze.value!==Ct.value).find(Ze=>Ze.value===he)||L[1];di(Ve!=null?Ve:Object.assign({},Ct))}else di(Object.assign(Object.assign({},Ct),{selected:!1}))},Di=(L,te,he=!0)=>{if(me({message:`seek to time, time: ${L}`}),st.next(te),S.info.isLive$.getValue()){const Ve=S.info.duration$.getValue(),Ze=Math.min(0,Ve+L);S.seekTime(Ze,he)}else{if(Je(ln))return;S.seekTime(rn(L),he)}},nn=L=>{me({message:`seek to episode start time: ${L}`}),Di(L,jt.EPISODE,!0)},Si=(L,te)=>{me({message:`seek to percent, percent: ${L}`});const he=Math.round(Je(Nt)*L);Di(he,te,!1)},an=L=>{me({message:`seek external, time: ${L}`}),st.next(jt.UNKNOWN),S.seekTime(S.info.isLive$.getValue()?-L:L)},un=L=>{var te,he;me({message:`set auto quality limitation. Max: ${(te=L.max)!==null&&te!==void 0?te:"none"}. Min: ${(he=L.min)!==null&&he!==void 0?he:"none"}`}),S.setAutoQualityLimits(L)},mn=L=>{me({message:`seek external to episode start time: ${L}`}),Di(L,jt.EPISODE,!0)},le=L=>{me({message:`set playback rate to: ${L}`}),S.setPlaybackRate(L)},$e=Ee(void 0),bt=Ee(!1),It=L=>{me({message:`start scrubbing, progress: ${L}`}),bt.set(!0),Qt(L)},Qt=L=>{$e.set(L)};let cn,gn;const Dt=()=>{$e.set(void 0),bt.set(!1)},pn=()=>{clearTimeout(gn),clearTimeout(cn),cn=window.setTimeout(()=>{Dt()},500),Fe==null||Fe.removeEventListener("seeked",pn)},bn=L=>{me({message:`complete scrubbing, progress: ${L}`}),Si(L,jt.SLIDER),Je(_t.ui.isMobile)&&Je(_t.state.currentFormat$)===qo.HLS?(Fe==null||Fe.addEventListener("seeked",pn),gn=window.setTimeout(()=>{pn()},300)):Dt()},Cn=mi([Tt,Nt,$e],([L,te,he],Ve)=>{Ve(Ln(he)?he*te:L)}),Sn=Ee({width:0,height:0}),_n=mi([Sn],([{width:L}],te)=>{const he=hv(L);te(he)}),X=Ee(!1),ft=mi([_n,X],([L,te])=>te?M.filter(he=>!he.hideOnMobile):M.filter(he=>{var Ve;return!(!((Ve=he.hideOnDesktopGridTypes)===null||Ve===void 0)&&Ve.includes(L))})),$=mi([X,De],([L,te],he)=>{he(L&&te)}),on=()=>{st.next(jt.LIVE),me({message:"switch to active live"}),S.seekTime(0),S.info.playbackState$.getValue()!==Xt.PLAYING&&_t.actions.internal.togglePlay()},wn=()=>ue.skip(),yn=(L=!0)=>{ht(_t),me({message:`switch from ads to video, callPlay: ${L}`}),j.set(Be.Video),L&&S.play()},ao=()=>{ht(_t),me({message:"switch from video to ads"}),_t.actions.internal.pause(),Ne(),j.set(Be.Ads)},uo=L=>{ht(_t);const te=L?Be.WaitingLive:Be.Thumb;j.set(te)},co=L=>{ht(_t);const te=L?Be.WaitingRecord:Be.Thumb;j.set(te)},fo=()=>(ht(_t),gd(S,Oe,_t)),mo=()=>(ht(_t),bd(S,Oe,_t)),po=()=>Fe,Fo=()=>{me({message:"toggle chromecast"}),S.toggleChromecast()},ho=L=>{var te;ht(_t);const he=!L;if(Je(_t.playerPhase)===Be.Ads){me({message:`pause ads, internalCall: ${he}`}),ue.pause();return}me({message:`pause video, internalCall: ${he}`}),he&&((te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)),S.pause()},Pn=L=>{var te;ht(_t);const he=!L;if(Je(_t.playerPhase)===Be.Ads){me({message:`play ads, internalCall: ${he}`}),ue.play();return}me({message:`play video, internalCall: ${he}`}),he&&((te=s==null?void 0:s.onPlay)===null||te===void 0||te.call(s)),S.play()},Yn=(L,te)=>{ht(_t),me({message:`first start, show ads: ${L}, internalCall: ${!te}`}),L?j.set(Be.Ads):(j.set(Be.Video),te?S.play():_t.actions.internal.togglePlay())},Qn=()=>(me({message:"getting time codes"}),c),On=()=>{const L=Qn();if(!L||[0,1].includes(L.length))return;const te=S.info.position$.getValue();return L.find(he=>he.time>te)},vo=L=>{let te=L;te||(te=On()),te&&(me({message:"seek to next episode"}),Di(te.time,jt.EPISODE,!0))},go=()=>{const L=Qn();if(!L||[0,1].includes(L.length))return;const te=S.info.position$.getValue(),he=L.findIndex(Ze=>Ze.time>te),Ve=he===-1?L.length-2:he-2;if(!(Ve<0))return L[Ve]},bo=L=>{let te=L;te||(te=go()),te&&(me({message:"seek to prev episode"}),Di(te.time,jt.EPISODE,!0))},Ho=()=>(me({message:"getting preview thumbs data"}),f),_o=()=>pi(void 0,void 0,void 0,function*(){O!=null&&O.isActive()?yield O==null?void 0:O.remove():yield O==null?void 0:O.request()}),to=(L=-90)=>{ie.update(te=>te+L)},Dn=Ee(b),io=mi([Dn],([L=[]])=>{const te=[];for(let he=0;he<L.length;he++){const{range:[Ve,Ze],subjects:lt}=L[he];he===0&&Ve!==0&&te.push({time:0,text:"",interactive:!1,completed:!0}),te.push({time:Ve/1e3,text:"",interactive:!0,completed:!lt.length}),Ze!==1/0&&te.push({time:Ze/1e3,text:"",interactive:!1,completed:!0})}return te}),q=L=>{const te=Je(Dn);Dn.set(te.map(he=>Object.assign(Object.assign({},he),{subjects:he.subjects.filter(Ve=>Ve!==L)})))},yt=Ee(!1),ln=mi([Rt,Dn,yt],([L,te,he])=>{if(!w)return!1;if(he)return!0;const Ve=L*1e3,Ze=te==null?void 0:te.find(({range:[lt,St],subjects:pt})=>lt<Ve&&Ve<St&&pt.length);return Ze&&Je(bt)&&Dt(),!!Ze}),rn=L=>{if(!w)return L;const te=Je(io),he=Je(Nt),Ze=Je(Rt)/he,lt=te.find(St=>St.interactive&&!St.completed&&St.time>Ze);return typeof(lt==null?void 0:lt.time)=="number"?Math.min(L,lt.time-.05):L},zn=()=>{_t.ui.episodes.panelOpened$.set(!1)},wo=()=>{clearTimeout(gn),clearTimeout(cn),Et.unsubscribe(),At.unsubscribe(),S.destroy(),ue.destroy(),A==null||A.destroy(),oe==null||oe.destroy(),Ie.unsubscribe()},_t={interfaceLanguage$:ae,initVideo:ot,videoId:e,isClip:t,playerPhase:Ae,vsid:pe,state:{positionExact$:Tt,positionWithScrubbing$:Cn,duration$:Nt,playbackState$:ze,isPlaying$:Li,isLoaderVisible:bi,bufferedProgress$:yi,isLive$:Fi,canChangePlaybackSpeed$:xi,isActiveLive$:ct,isOldestAvailableLive$:nt,isRewindableLive$:ji,isEnded$:xt,muted$:hi,volume$:Hi,trafficSavingEnabled$:Ut,autoQualityLimitingAvailable$:Zt,currentQuality$:Wi,isAutoQualityEnabled$:ui,availableQualities$:ii,currentPlaybackRate$:Ii,availablePlaybackRates$:Kt,currentSubtitle$:Yt,availableSubtitlesList$:Vi,currentSubtitleCaptions$:$i,isAutoSubtitleCaptionVisible$:Bi,chromecastState$:si,chromecastDeviceName$:ei,chromecastConnected$:qi,currentFormat$:Ei,throughputEstimation$:vi,videoBitrate$:Lt,videoSize$:Ui,errorLog$:Se,crashed$:De,isAudioAvailable$:Ai,isAudioDisabled:!!r,canDownload:x.features.download&&!!l,availableSources$:ci,hasMpegSources$:Ki,isInteractive:w,isInteractiveGraphEnabled:x.features.interactiveGraph,isSeekToInteractiveEnable:x.features.seekToInteractive,isPlayPrevChapterEnabled:x.features.interactivePlayPrevChapter,interactiveEpisodes$:io,isInteractiveTime$:ln,graphIsOpened$:Ee(!1),isInteractiveExpectation$:yt,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k},ui:{controlsVisible:Ee(!1),touched:Ee(!1),controls:{prevButton:Ee(void 0),playButton:Ee(void 0),replayButton:Ee(void 0),nextButton:Ee(void 0),playPrevChapterButton:Ee(void 0),seekToInteractiveButton:Ee(void 0),interactiveGraphButton:Ee(void 0),liveButton:Ee(void 0),time:Ee(void 0),episodes:Ee(void 0),volume:Ee(void 0),subtitles:Ee(void 0),settings:Ee(void 0),context:Ee(void 0),chromecast:Ee(void 0),pip:Ee(void 0),fullscreen:Ee(void 0),vkLogo:Ee(void 0),additionalButtons:M.length?M.reduce(L=>[...L,Ee(void 0)],[]):[],disabledControls$:et},modals:{hotKeyMap:{show:Ee(!1),data:Ee({title:"",closeBtnText:"",groups:[]})}},isFullscreen:G,rotateAlpha:ie,isAutoplay:Ee(!1),contextMenuVisible:Ee(!1),debugPanelVisible:Ee(!1),episodes:{panelOpened$:Ee(!1),openedByKeyboard$:Ee(!1)},contextMenu:{btnRef$:Ee(void 0),openedByKeyboard$:Ee(!1),showContextMenuBtn$:Ee(!1)},playerSize:Sn,isMobile:X,mobileNotReportControlHidden$:$,mobileUnmuteButtonExpanded:Ee(!1),mobileUnmuteButtonVisible:Ee(!1),icon3DVideoVisible:Ee(!1),settingsMenuVisible:Ee(!1),settingsMenuOpenedByKeyboard:Ee(!1),scrubbingInProgress:bt,is3DVideo:Ee(!1),isPictureInPictureActive$:Xe,pictureInPictureType$:Bn(we),clientInfo$:Bn(Pe),currentGridType$:_n,additionalButtons$:ft,interactiveHideMobileControls:Ee(!1),overlayContainer$:Ee(void 0),startedByKeyboard$:Ee(!1)},ads:{position:Ee(0),duration:Ee(0),playbackState:Ee(oi.INACTIVE),canSkip:Ee(!1),secondsToWatchBeforeSkip:Ee(0),postrollPassed:Ee(!1)},webApi:{pictureInPictureApi:O,annotationsApi:ne},actions:{internal:{preload:He,firstStart:L=>Yn(L,!1),pause:()=>ho(!1),togglePlay:Ci,toggleMuted:Le,toggleSettingsMenu:Ni,openSettingsMenu:Yi,closeSettingsMenu:Xi,setVolume:Qi,setQuality:Oi,setTrafficSavingEnabled:L=>fi(L),setPlaybackRate:Ot,incrementPlaybackRate:en,decrementPlaybackRate:dn,setSubtitle:di,toggleSubtitle:tn,togglePictureInPicture:_o,startScrubbing:It,progressScrubbing:Qt,completeScrubbing:bn,toggleChromecast:Fo,switchToActiveLive:on,switchFromAdsToVideo:yn,switchFromVideoToAds:ao,skipAd:wn,setWaitingLive:uo,setWaitingRecord:co,getDebugTextData:fo,getDebugPanelData:mo,getVideoElement:po,seekTime:(L,te,he)=>Di(L,te,he),clearDelayedBufferingCheckTimeout:_i,seekEpisodeStartTime:nn,seekToPercent:Si,getNextEpisode:On,seekToNextEpisode:vo,getPrevEpisode:go,seekToPrevEpisode:bo,startLogging:Ht,stopLogging:Wt,startCameraManualRotation:ce,stopCameraManualRotation:gt,moveCameraFocusPX:dt,holdCamera:mt,releaseCamera:ut,getVideoEpisodes:Qn,getPreviewThumbsData:Ho,downloadVideo:Ri,addLanguage:Vs,setLanguage:ke,nextMovie:Me,videoRotate:to,completeInteractiveRange:q,correctSeekTimeToInteractive:rn,replayInteractive:C},external:{firstStart:L=>Yn(L,!0),play:()=>Pn(!0),pause:()=>ho(!0),seekTime:L=>an(L),seekEpisodeStartTime:L=>mn(L),setPlaybackRate:L=>le(L),setAutoQualityLimits:L=>un(L),setMuted:L=>ki(L,!0),setVolume:L=>Qi(L,L,!0),returnFocusToEpisodes:zn}},callbacks:s,setUiCallbacks:L=>{Te=Object.assign({},L)},getAdmanWrapper:()=>ue,getLogger:()=>z,destroy:wo};return _t},Rf=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}},Nf=(i,e,t)=>pi(void 0,void 0,void 0,function*(){yield Jo(),e&&t&&(t.focus(),i.set(!1))});function Rg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ng extends _e{constructor(e){super(),be(this,e,null,Rg,ge,{})}}function Og(i){let e,t;return e=new Ng({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Dg(i){let e,t,n;function o(l){i[8](l)}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:[Og]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8&&(a.ariaExpanded=l[3]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function zg(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=kt(),s=l.ui.contextMenuVisible;D(i,s,b=>t(3,n=b));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=b=>{const C=Dr(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,o=b.disabled),"ariaLabel"in b&&t(1,r=b.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,_,v,w]}class Fg extends _e{constructor(e){super(),be(this,e,zg,Dg,ge,{disabled:0,ariaLabel:1})}}function Hg(i){Ue(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 Ga(i,e,t){const n=i.slice();return n[205]=e[t].iconUrl,n[206]=e[t].ariaLabel,n[207]=e[t].testId,n[208]=e[t].onClick,n[209]=e[t].tooltip,n}function Ya(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[Ug]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ug(i){let e,t;return e=new Fl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[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){H(e,n)}}}function Qa(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[jg]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&4096&&(a.disabled=l[74]),s[2]&4096|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jg(i){let e,t;return e=new Zr({props:{click:i[127],disabled:i[74]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xa(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[75],$$slots:{default:[qg]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&8192&&(a.disabled=l[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qg(i){let e,t,n;function o(l){i[173](l)}let r={isMobile:!1,isPlaying:i[34],click:i[86],disabled:i[75]};return i[26]!==void 0&&(r.ref=i[26]),e=new Wr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8&&(a.isPlaying=l[34]),s[2]&8192&&(a.disabled=l[75]),!t&&s[0]&67108864&&(t=!0,a.ref=l[26],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ja(i){let e,t,n;function o(l){i[175](l)}let r={disabled:!i[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[Wg]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wg(i){let e,t;return e=new Fl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[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){H(e,n)}}}function Zg(i){let e,t,n,o,r=i[121]&&Kg(i),l=i[120]&&Yg(i),s=i[119]&&Xg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=vt()},m(a,c){r&&r.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&l.p(a,c),a[119]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Kg(i){let e,t,n;function o(l){i[176](l)}let r={disabled:i[73],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(i[123]),$$slots:{default:[Gg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[0]&131072|s[2]&2048|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Gg(i){let e,t;return e=new Af({props:{disabled:i[73],click:i[17]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),o[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){H(e,n)}}}function Yg(i){let e,t,n;function o(l){i[177](l)}let r={disabled:i[76],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(i[79]),$$slots:{default:[Qg]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&16384&&(a.disabled=l[76]),s[2]&131072&&(a.disabledTooltipContent=Y(l[79])),s[0]&32768|s[2]&16384|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Qg(i){let e,t;return e=new Pf({props:{disabled:i[76],click:i[15]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&16384&&(r.disabled=n[76]),o[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){H(e,n)}}}function Xg(i){let e,t,n;function o(l){i[178](l)}let r={tooltipContent:i[48],disabled:i[77],$$slots:{default:[Jg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.tooltipContent=l[48]),s[2]&32768&&(a.disabled=l[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Jg(i){let e,t;return e=new Tf({props:{click:i[16],graphIsOpened:i[31],disabled:i[77]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[1]&1&&(r.graphIsOpened=n[31]),o[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xa(i){let e,t,n;function o(l){i[179](l)}let r={tooltipContent:i[50],$$slots:{default:[xg]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&524288&&(a.tooltipContent=l[50]),s[0]&2097152|s[1]&524288|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function xg(i){let e,t;return e=new wf({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[50]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[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){H(e,n)}}}function $a(i){let e,t,n;function o(l){i[180](l)}let r={isMobile:!1,showDuration:i[55],position:i[4]?i[80]:i[81],duration:i[4]?i[82]:i[83]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new mf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16777216&&(a.showDuration=l[55]),s[0]&16|s[2]&786432&&(a.position=l[4]?l[80]:l[81]),s[0]&16|s[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eu(i){let e,t;return e=new Sf({props:{position:i[81],duration:i[83],timeCodes:i[102]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&524288&&(r.position=n[81]),o[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $g(i){let e,t,n=i[20]&&eu(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=eu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function eb(i){var n;let e,t;return e=new Lf({props:{iconUrl:i[205],ariaLabel:(n=i[206])!=null?n:i[209],testId:i[207],onClick:i[208]}}),{c(){U(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&268435456&&(l.iconUrl=o[205]),r[0]&268435456&&(l.ariaLabel=(s=o[206])!=null?s:o[209]),r[0]&268435456&&(l.testId=o[207]),r[0]&268435456&&(l.onClick=o[208]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function tu(i){let e,t;return e=new qt({props:{tooltipContent:i[209],width:40,$$slots:{default:[eb]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function iu(i){let e,t,n;function o(l){i[183](l)}let r={disabled:!i[6],tooltipContent:i[51],$$slots:{default:[tb]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tb(i){let e,t;return e=new bf({props:{click:i[87],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[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){H(e,n)}}}function ib(i){let e,t;return e=new yv({props:{isAudioAvailable:i[78],click:i[126]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&65536&&(r.isAudioAvailable=n[78]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nu(i){let e,t,n;function o(l){i[185](l)}let r={tooltipContent:i[52],$$slots:{default:[nb]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function nb(i){let e,t;return e=new Rh({props:{isSubtitlesEnabled:i[18],click:i[88]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[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){H(e,n)}}}function ou(i){var s;let e,t,n,o;function r(a){i[186](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[46])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new df({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),F(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(m=a[46])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),H(t)}}}function lu(i){let e,t,n;function o(l){i[188](l)}let r={tooltipContent:i[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[ob]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&134217728&&(a.tooltipContent=l[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ob(i){let e,t,n;function o(l){i[187](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lb(i){let e,t,n;function o(l){i[189](l)}let r={className:i[41]?"":"out-of-view",tooltipContent:i[49],$$slots:{default:[rb]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&1024&&(a.className=l[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=l[49]),s[1]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rb(i){let e,t;return e=new Fg({props:{ariaLabel:i[49]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ru(i){let e,t,n;function o(l){i[190](l)}let r={tooltipContent:i[53],$$slots:{default:[sb]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&1073750016|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sb(i){let e,t;return e=new vf({props:{click:i[13],isFullscreen:i[30]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[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){H(e,n)}}}function su(i){let e,t,n;function o(l){i[191](l)}let r={tooltipContent:i[54],$$slots:{default:[ab]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.tooltipContent=l[54]),s[0]&536870912|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ab(i){let e,t;return e=new _f({props:{isMobile:!1,state:i[29],click:i[125]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[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){H(e,n)}}}function ub(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S;t=new Cf({props:{isHidden:!i[45],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let z=i[38]&&Ya(i),ue=i[35]&&Qa(i),A=i[36]&&Xa(i),oe=i[37]&&Ja(i),O=i[118]&&Zg(i),ne=!i[4]&&i[33]&&xa(i),me=i[19]&&$a(i);function Oe(J){i[181](J)}let Fe={className:"w-max",disabled:!i[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[$g]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(Fe.ref=i[23].episodes),_=new qt({props:Fe}),ye.push(()=>We(_,"ref",Oe));let Te=Jt(i[28]),Pe=[];for(let J=0;J<Te.length;J+=1)Pe[J]=tu(Ga(i,Te,J));const pe=J=>g(Pe[J],1,1,()=>{Pe[J]=null});let G=i[43]&&iu(i);function re(J){i[184](J)}let we={$$slots:{default:[ib]},$$scope:{ctx:i}};i[23].volume!==void 0&&(we.ref=i[23].volume),M=new qt({props:we}),ye.push(()=>We(M,"ref",re));let ie=i[40]&&nu(i),Se=!i[84]&&!i[4]&&ou(i),Ie=i[42]&&lu(i),De=i[85].features.contextMenuButton&&lb(i),ke=i[44]&&ru(i),ae=i[39]&&su(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),o=E("div"),r=E("div"),z&&z.c(),l=N(),ue&&ue.c(),s=N(),A&&A.c(),a=N(),oe&&oe.c(),c=N(),O&&O.c(),f=N(),ne&&ne.c(),m=N(),me&&me.c(),h=N(),U(_.$$.fragment),b=N(),C=E("div");for(let J=0;J<Pe.length;J+=1)Pe[J].c();y=N(),G&&G.c(),k=N(),U(M.$$.fragment),I=N(),ie&&ie.c(),Q=N(),Se&&Se.c(),se=N(),Ie&&Ie.c(),ee=N(),De&&De.c(),R=N(),ke&&ke.c(),x=N(),ae&&ae.c(),u(r,"class","controls-left v-st0uzk"),No(()=>i[182].call(r)),u(C,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(J,j){T(J,e,j),F(t,e,null),p(e,n),p(e,o),p(o,r),z&&z.m(r,null),p(r,l),ue&&ue.m(r,null),p(r,s),A&&A.m(r,null),p(r,a),oe&&oe.m(r,null),p(r,c),O&&O.m(r,null),p(r,f),ne&&ne.m(r,null),p(r,m),me&&me.m(r,null),p(r,h),F(_,r,null),w=Er(r,i[182].bind(r)),p(o,b),p(o,C);for(let Ae=0;Ae<Pe.length;Ae+=1)Pe[Ae]&&Pe[Ae].m(C,null);p(C,y),G&&G.m(C,null),p(C,k),F(M,C,null),p(C,I),ie&&ie.m(C,null),p(C,Q),Se&&Se.m(C,null),p(C,se),Ie&&Ie.m(C,null),p(C,ee),De&&De.m(C,null),p(C,R),ke&&ke.m(C,null),p(C,x),ae&&ae.m(C,null),i[192](o),i[193](e),S=!0},p(J,j){const Ae={};j[1]&16384&&(Ae.isHidden=!J[45]),j[0]&16&&(Ae.isAds=J[4]),j[0]&32&&(Ae.canRewindLive=J[5]),j[1]&2&&(Ae.isRewindableLive=J[32]),t.$set(Ae),J[38]?z?(z.p(J,j),j[1]&128&&d(z,1)):(z=Ya(J),z.c(),d(z,1),z.m(r,l)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),J[35]?ue?(ue.p(J,j),j[1]&16&&d(ue,1)):(ue=Qa(J),ue.c(),d(ue,1),ue.m(r,s)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de()),J[36]?A?(A.p(J,j),j[1]&32&&d(A,1)):(A=Xa(J),A.c(),d(A,1),A.m(r,a)):A&&(fe(),g(A,1,1,()=>{A=null}),de()),J[37]?oe?(oe.p(J,j),j[1]&64&&d(oe,1)):(oe=Ja(J),oe.c(),d(oe,1),oe.m(r,c)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),J[118]&&O.p(J,j),!J[4]&&J[33]?ne?(ne.p(J,j),j[0]&16|j[1]&4&&d(ne,1)):(ne=xa(J),ne.c(),d(ne,1),ne.m(r,m)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),J[19]?me?(me.p(J,j),j[0]&524288&&d(me,1)):(me=$a(J),me.c(),d(me,1),me.m(r,h)):me&&(fe(),g(me,1,1,()=>{me=null}),de());const et={};if(j[0]&1048576&&(et.disabled=!J[20]),j[0]&1048576|j[2]&2621440|j[6]&67108864&&(et.$$scope={dirty:j,ctx:J}),!v&&j[0]&8388608&&(v=!0,et.ref=J[23].episodes,qe(()=>v=!1)),_.$set(et),j[0]&268435456){Te=Jt(J[28]);let je;for(je=0;je<Te.length;je+=1){const Me=Ga(J,Te,je);Pe[je]?(Pe[je].p(Me,j),d(Pe[je],1)):(Pe[je]=tu(Me),Pe[je].c(),d(Pe[je],1),Pe[je].m(C,y))}for(fe(),je=Te.length;je<Pe.length;je+=1)pe(je);de()}J[43]?G?(G.p(J,j),j[1]&4096&&d(G,1)):(G=iu(J),G.c(),d(G,1),G.m(C,k)):G&&(fe(),g(G,1,1,()=>{G=null}),de());const ot={};j[2]&65536|j[6]&67108864&&(ot.$$scope={dirty:j,ctx:J}),!K&&j[0]&8388608&&(K=!0,ot.ref=J[23].volume,qe(()=>K=!1)),M.$set(ot),J[40]?ie?(ie.p(J,j),j[1]&512&&d(ie,1)):(ie=nu(J),ie.c(),d(ie,1),ie.m(C,Q)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),!J[84]&&!J[4]?Se?(Se.p(J,j),j[0]&16|j[2]&4194304&&d(Se,1)):(Se=ou(J),Se.c(),d(Se,1),Se.m(C,se)):Se&&(fe(),g(Se,1,1,()=>{Se=null}),de()),J[42]?Ie?(Ie.p(J,j),j[1]&2048&&d(Ie,1)):(Ie=lu(J),Ie.c(),d(Ie,1),Ie.m(C,ee)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de()),J[85].features.contextMenuButton&&De.p(J,j),J[44]?ke?(ke.p(J,j),j[1]&8192&&d(ke,1)):(ke=ru(J),ke.c(),d(ke,1),ke.m(C,x)):ke&&(fe(),g(ke,1,1,()=>{ke=null}),de()),J[39]?ae?(ae.p(J,j),j[1]&256&&d(ae,1)):(ae=su(J),ae.c(),d(ae,1),ae.m(C,null)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),(!S||j[0]&2)&&V(e,"hidden",J[1]),(!S||j[0]&8)&&V(e,"controls-hidden",!J[3]),(!S||j[0]&4)&&V(e,"no-smooth",J[2])},i(J){if(!S){d(t.$$.fragment,J),d(z),d(ue),d(A),d(oe),d(O),d(ne),d(me),d(_.$$.fragment,J);for(let j=0;j<Te.length;j+=1)d(Pe[j]);d(G),d(M.$$.fragment,J),d(ie),d(Se),d(Ie),d(De),d(ke),d(ae),S=!0}},o(J){g(t.$$.fragment,J),g(z),g(ue),g(A),g(oe),g(O),g(ne),g(me),g(_.$$.fragment,J),Pe=Pe.filter(Boolean);for(let j=0;j<Pe.length;j+=1)g(Pe[j]);g(G),g(M.$$.fragment,J),g(ie),g(Se),g(Ie),g(De),g(ke),g(ae),S=!1},d(J){J&&P(e),H(t),z&&z.d(),ue&&ue.d(),A&&A.d(),oe&&oe.d(),O&&O.d(),ne&&ne.d(),me&&me.d(),H(_),w(),Vn(Pe,J),G&&G.d(),H(M),ie&&ie.d(),Se&&Se.d(),Ie&&Ie.d(),De&&De.d(),ke&&ke.d(),ae&&ae.d(),i[192](null),i[193](null)}}}function cb(i,e,t){var $r,es;let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S,z,ue,A,oe,O,ne=Z,me=()=>(ne(),ne=ni(ee,W=>t(142,O=W)),ee),Oe,Fe=Z,Te=()=>(Fe(),Fe=ni(se,W=>t(143,Oe=W)),se),Pe,pe=Z,G=()=>(pe(),pe=ni(Q,W=>t(144,Pe=W)),Q),re,we=Z,ie=()=>(we(),we=ni(I,W=>t(145,re=W)),I),Se,Ie=Z,De=()=>(Ie(),Ie=ni(K,W=>t(146,Se=W)),K),ke,ae=Z,J=()=>(ae(),ae=ni(M,W=>t(147,ke=W)),M),j,Ae=Z,et=()=>(Ae(),Ae=ni(k,W=>t(148,j=W)),k),ot,je=Z,Me=()=>(je(),je=ni(y,W=>t(149,ot=W)),y),Qe,st=Z,wt=()=>(st(),st=ni(C,W=>t(150,Qe=W)),C),tt,Ne=Z,Et=()=>(Ne(),Ne=ni(b,W=>t(151,tt=W)),b),At,Ht=Z,Wt=()=>(Ht(),Ht=ni(w,W=>t(152,At=W)),w),ce,gt=Z,dt=()=>(gt(),gt=ni(v,W=>t(153,ce=W)),v),mt,ut=Z,Tt=()=>(ut(),ut=ni(_,W=>t(154,mt=W)),_),Xe,ze=Z,Vt=()=>(ze(),ze=ni(h,W=>t(155,Xe=W)),h),xt,Fi=Z,xi=()=>(Fi(),Fi=ni(m,W=>t(156,xt=W)),m),ri,Hi=Z,hi=()=>(Hi(),Hi=ni(f,W=>t(157,ri=W)),f),Ut,Zt=Z,Ti=()=>(Zt(),Zt=ni(c,W=>t(158,Ut=W)),c),$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,ai,bi,_i,Nt,Li,ct,nt,Rt,ji,qi,ti,ui,wi;i.$$.on_destroy.push(()=>ne()),i.$$.on_destroy.push(()=>Fe()),i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>we()),i.$$.on_destroy.push(()=>Ie()),i.$$.on_destroy.push(()=>ae()),i.$$.on_destroy.push(()=>Ae()),i.$$.on_destroy.push(()=>je()),i.$$.on_destroy.push(()=>st()),i.$$.on_destroy.push(()=>Ne()),i.$$.on_destroy.push(()=>Ht()),i.$$.on_destroy.push(()=>gt()),i.$$.on_destroy.push(()=>ut()),i.$$.on_destroy.push(()=>ze()),i.$$.on_destroy.push(()=>Fi()),i.$$.on_destroy.push(()=>Hi()),i.$$.on_destroy.push(()=>Zt());let{bottomHidden:Wi}=e,{bottomNoSmooth:ii}=e,{showControls:Ii}=e,{controlsElementRef:Kt=void 0}=e,{isAds:Gt=!1}=e,{canRewindLive:Mi}=e,{logoClickable:Ct}=e,{logoHidden:Yt}=e,{videoLogoUrl:Vi}=e,{showNextPrevButtons:Zi}=e,{nextButtonActive:$i}=e,{prevButtonActive:Bi}=e,{isOneVideoPlaylist:yi=!1}=e,{supportLink:ci}=e,{customFullscreenSupported:Ki=!0}=e,{playNextVideo:Gi}=e,{playPrevVideo:Ri}=e,{repeatPlaylist:Le}=e,{toggleFullscreen:Xi}=e,{returnFocus:Yi}=e,{seekToInteractive:Ni}=e,{toggleGraph:Qi}=e,{playPrevChapter:ki}=e;const He=kt(),Ci=Rl(),Oi=vn(),fi=He.actions.internal.toggleMuted,Ot=He.actions.internal.togglePlay,en=He.actions.internal.pause,dn=He.actions.internal.toggleSubtitle,di=($r=He.callbacks)==null?void 0:$r.onAudioDoesNotExistHint,tn=(es=He.callbacks)==null?void 0:es.onAudioDisabledHint,Di=He.state.duration$;D(i,Di,W=>t(83,ui=W));const nn=He.state.positionWithScrubbing$;D(i,nn,W=>t(81,qi=W));const Si=He.state.playbackState$;D(i,Si,W=>t(159,ei=W));const an=He.state.chromecastConnected$;D(i,an,W=>t(84,wi=W));const un=He.state.isAudioAvailable$;D(i,un,W=>t(78,R=W));const mn=He.state.isAudioDisabled,le=He.state.isEnded$;D(i,le,W=>t(167,Nt=W));const $e=He.state.isLive$;D(i,$e,W=>t(33,gi=W));const bt=He.state.isActiveLive$;D(i,bt,W=>t(161,Lt=W));const It=He.state.isRewindableLive$;D(i,It,W=>t(32,Ui=W));const Qt=He.ui.isPictureInPictureActive$;D(i,Qt,W=>t(163,Bt=W));const cn=He.ui.pictureInPictureType$;D(i,cn,W=>t(162,Ai=W));const gn=He.ui.settingsMenuVisible;D(i,gn,W=>t(27,z=W));const Dt=He.ui.settingsMenuOpenedByKeyboard;D(i,Dt,W=>t(139,S=W));const pn=He.ui.controls,bn=He.actions.internal.getVideoEpisodes(),Cn=He.state.chromecastState$;D(i,Cn,W=>t(29,$t=W));const Sn=He.state.availableSubtitlesList$;D(i,Sn,W=>t(166,_i=W));const _n=He.state.currentSubtitle$;D(i,_n,W=>t(168,Li=W));const X=pn.disabledControls$;D(i,X,W=>t(170,nt=W));const ft=He.ui.contextMenuVisible;D(i,ft,W=>t(160,Ei=W));const $=He.ui.contextMenu.showContextMenuBtn$;D(i,$,W=>t(164,ai=W));const on=He.ui.contextMenu.openedByKeyboard$;D(i,on,W=>t(165,bi=W));const wn=He.ui.startedByKeyboard$;D(i,wn,W=>t(138,x=W));const yn=He.ads.duration;D(i,yn,W=>t(82,ti=W));const ao=He.ads.position;D(i,ao,W=>t(80,ji=W));const uo=He.ads.playbackState;D(i,uo,W=>t(169,ct=W));const co=He.ui.isFullscreen;D(i,co,W=>t(30,si=W));const fo=He.ui.playerSize;D(i,fo,W=>t(140,ue=W));const mo=He.ui.currentGridType$;D(i,mo,W=>t(141,A=W));const po=He.ui.additionalButtons$;D(i,po,W=>t(28,oe=W));const Fo=He.actions.internal.getVideoElement,ho=He.actions.internal.replayInteractive,Pn=He.state.isInteractive,Yn=He.state.isInteractiveGraphEnabled,Qn=He.state.isSeekToInteractiveEnable,On=He.state.isPlayPrevChapterEnabled,vo=He.state.graphIsOpened$;D(i,vo,W=>t(31,vi=W));const go=He.state.playPrevChapterDisabledTooltip,bo=Ci.seekToInteractiveDisabledTooltip$;D(i,bo,W=>t(79,Rt=W));const Ho=()=>He.actions.internal.toggleChromecast();let _o,to,Dn,io,q,yt,ln,rn,zn,wo,_t,L,te,he,Ve,Ze,lt,St,pt,zi,no,Uo="";const ll=(W,Ul)=>{if(!W){t(50,Uo=Y("tooltip_live"));return}Ul===Xt.PAUSED&&t(50,Uo=Y("tooltip_play"))};let Yr,Qr,Xr,Jr,rl;const Ke={};let Tn,jo,Hl,xr;const Qf=Vl(Rf,G1,{leading:!1});let sl,al,ul;function Xf(){mn?tn==null||tn():R?fi():di==null||di()}const Jf=Pn?ho:yi?Ot:Le;function xf(W){i.$$.not_equal(Ke.prevButton,W)&&(Ke.prevButton=W,t(23,Ke))}function $f(W){i.$$.not_equal(Ke.replayButton,W)&&(Ke.replayButton=W,t(23,Ke))}function e0(W){ul=W,t(26,ul)}function t0(W){i.$$.not_equal(Ke.playButton,W)&&(Ke.playButton=W,t(23,Ke))}function i0(W){i.$$.not_equal(Ke.nextButton,W)&&(Ke.nextButton=W,t(23,Ke))}function n0(W){i.$$.not_equal(Ke.playPrevChapterButton,W)&&(Ke.playPrevChapterButton=W,t(23,Ke))}function o0(W){i.$$.not_equal(Ke.seekToInteractiveButton,W)&&(Ke.seekToInteractiveButton=W,t(23,Ke))}function l0(W){i.$$.not_equal(Ke.interactiveGraphButton,W)&&(Ke.interactiveGraphButton=W,t(23,Ke))}function r0(W){i.$$.not_equal(Ke.liveButton,W)&&(Ke.liveButton=W,t(23,Ke))}function s0(W){i.$$.not_equal(Ke.time,W)&&(Ke.time=W,t(23,Ke))}function a0(W){i.$$.not_equal(Ke.episodes,W)&&(Ke.episodes=W,t(23,Ke))}function u0(){rl=this.clientWidth,t(22,rl)}function c0(W){i.$$.not_equal(Ke.vkLogo,W)&&(Ke.vkLogo=W,t(23,Ke))}function f0(W){i.$$.not_equal(Ke.volume,W)&&(Ke.volume=W,t(23,Ke))}function d0(W){i.$$.not_equal(Ke.subtitles,W)&&(Ke.subtitles=W,t(23,Ke))}function m0(W){sl=W,t(24,sl)}function p0(W){al=W,t(25,al)}function h0(W){i.$$.not_equal(Ke.settings,W)&&(Ke.settings=W,t(23,Ke))}function v0(W){i.$$.not_equal(Ke.context,W)&&(Ke.context=W,t(23,Ke))}function g0(W){i.$$.not_equal(Ke.fullscreen,W)&&(Ke.fullscreen=W,t(23,Ke))}function b0(W){i.$$.not_equal(Ke.chromecast,W)&&(Ke.chromecast=W,t(23,Ke))}function _0(W){ye[W?"unshift":"push"](()=>{lt=W,t(46,lt)})}function w0(W){ye[W?"unshift":"push"](()=>{Kt=W,t(0,Kt)})}return i.$$set=W=>{"bottomHidden"in W&&t(1,Wi=W.bottomHidden),"bottomNoSmooth"in W&&t(2,ii=W.bottomNoSmooth),"showControls"in W&&t(3,Ii=W.showControls),"controlsElementRef"in W&&t(0,Kt=W.controlsElementRef),"isAds"in W&&t(4,Gt=W.isAds),"canRewindLive"in W&&t(5,Mi=W.canRewindLive),"logoClickable"in W&&t(6,Ct=W.logoClickable),"logoHidden"in W&&t(128,Yt=W.logoHidden),"videoLogoUrl"in W&&t(7,Vi=W.videoLogoUrl),"showNextPrevButtons"in W&&t(129,Zi=W.showNextPrevButtons),"nextButtonActive"in W&&t(8,$i=W.nextButtonActive),"prevButtonActive"in W&&t(9,Bi=W.prevButtonActive),"isOneVideoPlaylist"in W&&t(130,yi=W.isOneVideoPlaylist),"supportLink"in W&&t(10,ci=W.supportLink),"customFullscreenSupported"in W&&t(131,Ki=W.customFullscreenSupported),"playNextVideo"in W&&t(11,Gi=W.playNextVideo),"playPrevVideo"in W&&t(12,Ri=W.playPrevVideo),"repeatPlaylist"in W&&t(132,Le=W.repeatPlaylist),"toggleFullscreen"in W&&t(13,Xi=W.toggleFullscreen),"returnFocus"in W&&t(14,Yi=W.returnFocus),"seekToInteractive"in W&&t(15,Ni=W.seekToInteractive),"toggleGraph"in W&&t(16,Qi=W.toggleGraph),"playPrevChapter"in W&&t(17,ki=W.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&32768&&t(137,n=nt.has(at.EPISODE_BUTTON)),i.$$.dirty[5]&32768&&t(77,o=nt.has(at.GRAPH_BUTTON)),i.$$.dirty[5]&32768&&t(76,r=nt.has(at.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&32768&&t(75,l=nt.has(at.PLAY_BUTTON)),i.$$.dirty[5]&32768&&t(74,s=nt.has(at.REPLAY_BUTTON)),i.$$.dirty[5]&32768&&t(73,a=nt.has(at.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&16400&&t(34,_o=Gt?ct===oi.PLAYING:ei===Xt.PLAYING),i.$$.dirty[5]&8192&&t(18,to=Li.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(35,Dn=Nt&&!Gt||Pn),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(36,io=!Nt||Pn||Gt),i.$$.dirty[4]&131072&&t(133,q=En(A,Mt.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&131104&&t(37,yt=Zi&&En(A,Mt.M)&&!Gt&&$i),i.$$.dirty[0]&528|i.$$.dirty[4]&131104&&t(38,ln=Zi&&En(A,Mt.M)&&!Gt&&Bi),i.$$.dirty[0]&536870912|i.$$.dirty[4]&131072|i.$$.dirty[5]&384&&t(39,rn=$t!==Rn.NOT_AVAILABLE&&!(Bt&&Ai===Un.DocumentPictureInPicture)&&En(A,Mt.M)&&!Pn),i.$$.dirty[4]&131072|i.$$.dirty[5]&2048&&t(40,zn=_i.length>0&&En(A,Mt.M)),i.$$.dirty[5]&1536&&t(41,wo=bi||ai),i.$$.dirty[4]&131072&&t(42,_t=En(A,Mt.S)),i.$$.dirty[4]&16&&t(43,L=!Yt),i.$$.dirty[4]&131216|i.$$.dirty[5]&384&&t(44,te=Oi.features.fullscreen&&(Yt||En(A,Mt.S))&&!(Bt&&Ai===Un.DocumentPictureInPicture)&&(Pn?Ki:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,he=(!gi||Gt)&&!(Oi.features.interactiveHideTime&&Pn)),i.$$.dirty[4]&65536&&t(45,Ve=ue.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&8704&&t(20,Ze=!Gt&&!gi&&!!(bn!=null&&bn.length)&&q&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&64&&t(21,St=!Ui||Lt),i.$$.dirty[5]&16&&t(47,pt=ei===Xt.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),i.$$.dirty[1]&1&&t(48,zi=Y(vi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&32&&t(49,no=Y(Ei?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&16&&ll(St,ei),i.$$.dirty[0]&262144&&t(52,Qr=Y(to?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(53,Xr=Y(si?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(54,Jr=$t===Rn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2147221504|i.$$.dirty[5]&15&&t(134,Tn={prevButton:Ut?Ut.right-Ut.left:0,replayButton:ri?ri.right-ri.left:0,playButton:xt?xt.right-xt.left:0,nextButton:Xe?Xe.right-Xe.left:0,playPrevChapterButton:mt?mt.right-mt.left:0,seekToInteractiveButton:ce?ce.right-ce.left:0,interactiveGraphButton:At?At.right-At.left:0,liveButton:tt?tt.right-tt.left:0,time:Qe?Qe.right-Qe.left:0,episodes:ot?ot.right-ot.left:0,vkLogo:j?j.right-j.left:0,volume:ke?ke.right-ke.left:0,subtitles:Se?Se.right-Se.left:0,settings:re?re.right-re.left:0,context:Pe?Pe.right-Pe.left:0,fullscreen:Oe?Oe.right-Oe.left:0,chromecast:O?O.right-O.left:0,additionalButtons:oe.length?oe.reduce(W=>[...W,40],[]):[]}),i.$$.dirty[4]&3072&&(!jo||jo<Tn.time)&&t(135,jo=Tn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&134144){let W=0;Ze&&(En(A,Mt.XL)?W=Tn.time:W=pd);const Ul=Tn.prevButton+Tn.playButton+Tn.nextButton+Tn.seekToInteractiveButton+Tn.interactiveGraphButton+Tn.liveButton+jo+W;t(136,Hl=he&&rl>=Ul)}i.$$.dirty[4]&135168&&t(55,xr=Hl&&En(A,Mt.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&65536&&Qf(Fo(),pn,Ke,Ii),i.$$.dirty[0]&167772160&&zr(al,z,Dt),i.$$.dirty[0]&150994944|i.$$.dirty[4]&32768&&Fr(sl,z,S),i.$$.dirty[0]&67108864|i.$$.dirty[4]&16384&&Nf(wn,x,ul)},t(51,Yr=Oi.logoType===Oo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),Ti(t(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:b,time:C,episodes:y,vkLogo:k,volume:M,subtitles:K,settings:I,context:Q,fullscreen:se,chromecast:ee}=pn,c,hi(t(71,f)),xi(t(70,m)),Vt(t(69,h)),Tt(t(68,_)),dt(t(67,v)),Wt(t(66,w)),Et(t(65,b)),wt(t(64,C)),Me(t(63,y)),et(t(62,k)),J(t(61,M)),De(t(60,K)),ie(t(59,I)),G(t(58,Q)),Te(t(57,se)),me(t(56,ee)))),[Kt,Wi,ii,Ii,Gt,Mi,Ct,Vi,$i,Bi,ci,Gi,Ri,Xi,Yi,Ni,Qi,ki,to,he,Ze,St,rl,Ke,sl,al,ul,z,oe,$t,si,vi,Ui,gi,_o,Dn,io,yt,ln,rn,zn,wo,_t,L,te,Ve,lt,pt,zi,no,Uo,Yr,Qr,Xr,Jr,xr,ee,se,Q,I,K,M,k,y,C,b,w,v,_,h,m,f,c,a,s,l,r,o,R,Rt,ji,qi,ti,ui,wi,Oi,Ot,en,dn,Di,nn,Si,an,un,le,$e,bt,It,Qt,cn,gn,Dt,bn,Cn,Sn,_n,X,ft,$,on,wn,yn,ao,uo,co,fo,mo,po,Pn,Yn,Qn,On,vo,go,bo,Ho,Xf,Jf,Yt,Zi,yi,Ki,Le,q,Tn,jo,Hl,n,x,S,ue,A,O,Oe,Pe,re,Se,ke,j,ot,Qe,tt,At,ce,mt,Xe,xt,ri,Ut,ei,Ei,Lt,Ai,Bt,ai,bi,_i,Nt,Li,ct,nt,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0,c0,f0,d0,m0,p0,h0,v0,g0,b0,_0,w0]}class fb extends _e{constructor(e){super(),be(this,e,cb,ub,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:128,videoLogoUrl:7,showNextPrevButtons:129,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:130,supportLink:10,customFullscreenSupported:131,playNextVideo:11,playPrevVideo:12,repeatPlaylist:132,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Hg,[-1,-1,-1,-1,-1,-1,-1])}}function db(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"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,l){T(r,e,l),p(e,t),p(t,n),p(t,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class mb extends _e{constructor(e){super(),be(this,e,null,db,ge,{})}}function pb(i){Ue(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=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){T(t,e,n)},p:Z,d(t){t&&P(e)}}}function hb(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=Nn(r,l()));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"),V(e,"expanded",i[1])},m(a,c){T(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){fe();const f=t;g(f.$$.fragment,1,0,()=>{H(f,1)}),de()}r?(t=Nn(r,l()),U(t.$$.fragment),d(t.$$.fragment,1),F(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),(!o||c&2)&&V(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&H(t),s&&s.d()}}}function vb(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[hb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function gb(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=Ye}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?zl:mb)},[l,o,r,s,a,n,c]}class Of extends _e{constructor(e){super(),be(this,e,gb,vb,ge,{muted:5,expanded:1,click:2,ref:0},pb)}}function bb(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=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"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"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(o,"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,l){T(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&V(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&V(o,"hidden",r[0])},i:Z,o:Z,d(r){r&&P(e)}}}function _b(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class wb extends _e{constructor(e){super(),be(this,e,_b,bb,ge,{isActive:0})}}function yb(i){let e,t;return e=new wb({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function kb(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:i[2],$$slots:{default:[yb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Cb(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=Ye}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class Sb extends _e{constructor(e){super(),be(this,e,Cb,kb,ge,{ref:0,isPictureInPictureActive:1,click:2})}}function Pb(i){Ue(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[155]=e[t].iconUrl,n[156]=e[t].ariaLabel,n[157]=e[t].testId,n[158]=e[t].onClick,n[159]=e[t].tooltip,n}function cu(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y=(!i[51]||i[53])&&fu(i),k=Jt(i[56]),M=[];for(let A=0;A<k.length;A+=1)M[A]=du(uu(i,k,A));const K=A=>g(M[A],1,1,()=>{M[A]=null});let I=i[36]&&mu(i),Q=i[37]&&pu(i),se=i[57]&&hu(i),ee=i[39]&&vu(i),R=i[8]&&gu(i),x=i[34]&&bu(i),S=i[33]&&_u(i),z=i[8]&&wu(i),ue=i[95]&&!i[29]&&yu(i);return{c(){e=E("div"),t=N(),n=E("div"),y&&y.c(),o=N(),r=E("div");for(let A=0;A<M.length;A+=1)M[A].c();l=N(),I&&I.c(),s=N(),Q&&Q.c(),a=N(),se&&se.c(),c=N(),ee&&ee.c(),f=N(),m=E("div"),R&&R.c(),h=N(),x&&x.c(),_=N(),S&&S.c(),v=N(),z&&z.c(),w=N(),ue&&ue.c(),b=vt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),V(r,"hidden",!i[3]&&!i[27]),V(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),V(m,"hidden",!i[3]||i[29])},m(A,oe){T(A,e,oe),T(A,t,oe),T(A,n,oe),y&&y.m(n,null),T(A,o,oe),T(A,r,oe);for(let O=0;O<M.length;O+=1)M[O]&&M[O].m(r,null);p(r,l),I&&I.m(r,null),p(r,s),Q&&Q.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),ee&&ee.m(r,null),T(A,f,oe),T(A,m,oe),R&&R.m(m,null),p(m,h),x&&x.m(m,null),p(m,_),S&&S.m(m,null),p(m,v),z&&z.m(m,null),T(A,w,oe),ue&&ue.m(A,oe),T(A,b,oe),C=!0},p(A,oe){if((!C||oe[1]&2048)&&V(e,"hidden",!A[42]),!A[51]||A[53]?y?(y.p(A,oe),oe[1]&5242880&&d(y,1)):(y=fu(A),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!C||oe[0]&8)&&V(n,"hidden",!A[3]),(!C||oe[1]&2097152)&&V(n,"fullscreen",A[52]),oe[1]&33554432){k=Jt(A[56]);let O;for(O=0;O<k.length;O+=1){const ne=uu(A,k,O);M[O]?(M[O].p(ne,oe),d(M[O],1)):(M[O]=du(ne),M[O].c(),d(M[O],1),M[O].m(r,l))}for(fe(),O=k.length;O<M.length;O+=1)K(O);de()}A[36]?I?(I.p(A,oe),oe[1]&32&&d(I,1)):(I=mu(A),I.c(),d(I,1),I.m(r,s)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),A[37]?Q?(Q.p(A,oe),oe[1]&64&&d(Q,1)):(Q=pu(A),Q.c(),d(Q,1),Q.m(r,a)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),A[57]?se?(se.p(A,oe),oe[1]&67108864&&d(se,1)):(se=hu(A),se.c(),d(se,1),se.m(r,c)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),A[39]?ee?(ee.p(A,oe),oe[1]&256&&d(ee,1)):(ee=vu(A),ee.c(),d(ee,1),ee.m(r,null)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),(!C||oe[0]&134217736)&&V(r,"hidden",!A[3]&&!A[27]),(!C||oe[1]&2097152)&&V(r,"fullscreen",A[52]),A[8]?R?(R.p(A,oe),oe[0]&256&&d(R,1)):(R=gu(A),R.c(),d(R,1),R.m(m,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),A[34]?x?(x.p(A,oe),oe[1]&8&&d(x,1)):(x=bu(A),x.c(),d(x,1),x.m(m,_)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),A[33]?S?(S.p(A,oe),oe[1]&4&&d(S,1)):(S=_u(A),S.c(),d(S,1),S.m(m,v)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),A[8]?z?(z.p(A,oe),oe[0]&256&&d(z,1)):(z=wu(A),z.c(),d(z,1),z.m(m,null)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),(!C||oe[0]&536870920)&&V(m,"hidden",!A[3]||A[29]),A[95]&&!A[29]?ue?(ue.p(A,oe),oe[0]&536870912&&d(ue,1)):(ue=yu(A),ue.c(),d(ue,1),ue.m(b.parentNode,b)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de())},i(A){if(!C){d(y);for(let oe=0;oe<k.length;oe+=1)d(M[oe]);d(I),d(Q),d(se),d(ee),d(R),d(x),d(S),d(z),d(ue),C=!0}},o(A){g(y),M=M.filter(Boolean);for(let oe=0;oe<M.length;oe+=1)g(M[oe]);g(I),g(Q),g(se),g(ee),g(R),g(x),g(S),g(z),g(ue),C=!1},d(A){A&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(w),P(b)),y&&y.d(),Vn(M,A),I&&I.d(),Q&&Q.d(),se&&se.d(),ee&&ee.d(),R&&R.d(),x&&x.d(),S&&S.d(),z&&z.d(),ue&&ue.d(A)}}}function fu(i){let e,t,n;function o(l){i[121](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[103]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new Of({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function du(i){var n;let e,t;return e=new Lf({props:{iconUrl:i[155],ariaLabel:(n=i[156])!=null?n:i[159],testId:i[157],onClick:i[158]}}),{c(){U(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[155]),r[1]&33554432&&(l.ariaLabel=(s=o[156])!=null?s:o[159]),r[1]&33554432&&(l.testId=o[157]),r[1]&33554432&&(l.onClick=o[158]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function mu(i){let e,t,n;function o(l){i[122](l)}let r={isMobile:!0,click:i[101],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new _f({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function pu(i){let e,t,n;function o(l){i[123](l)}let r={click:i[102],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Sb({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function hu(i){let e,t,n;function o(l){i[124](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function vu(i){let e,t,n;function o(l){i[125](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new bf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function gu(i){let e,t,n;function o(l){i[126](l)}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 Fl({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function bu(i){let e,t,n;function o(l){i[127](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Wr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _u(i){let e,t,n;function o(l){i[128](l)}let r={disabled:i[47],click:i[104],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Zr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function wu(i){let e,t,n;function o(l){i[129](l)}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 Fl({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yu(i){let e,t,n,o,r=i[98]&&Tb(i),l=i[96]&&Eb(i),s=i[97]&&Ab(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=vt()},m(a,c){r&&r.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Tb(i){let e,t,n;return t=new Af({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&V(e,"fullscreen",o[52]),(!n||r[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Eb(i){let e,t,n,o;function r(s){i[130](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new Tf({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class",Y0(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3]&&!i[58])},m(s,a){T(s,e,a),F(t,e,null),o=!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,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&V(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Ab(i){let e,t,n,o;function r(s){i[131](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new Pf({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8)&&V(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function ku(i){let e,t,n,o,r,l=i[53]&&Cu(i),s=i[32]&&Su(i);return o=new kf({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),n=E("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,t,c),T(a,n,c),F(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Cu(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),a[32]?s?(s.p(a,c),c[1]&2&&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]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&V(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),H(o)}}}function Cu(i){let e,t,n,o;function r(s){i[132](s)}let l={muted:i[54],expanded:!1,click:i[103]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new Of({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[52])},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Su(i){let e,t,n,o;function r(s){i[133](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new Wr({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Lb(i){let e,t,n;function o(l){i[134](l)}let r={disabled:i[47],$$slots:{default:[Ib]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ib(i){let e,t;return e=new Zr({props:{disabled:i[47],click:i[94]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pu(i){let e,t,n;function o(l){i[135](l)}let r={$$slots:{default:[Mb]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mb(i){let e,t;return e=new wf({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tu(i){let e,t,n;function o(l){i[136](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new mf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Eu(i){let e,t,n,o;return n=new Sf({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=E("div"),e.textContent="\xB7",t=N(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){T(r,e,l),T(r,t,l),F(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),H(n,r)}}}function Vb(i){let e,t,n=i[43]&&Eu(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=Eu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function Au(i){let e,t,n;function o(l){i[139](l)}let r={$$slots:{default:[Bb]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Bb(i){let e,t,n;function o(l){i[138](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lu(i){let e,t,n;function o(l){i[140](l)}let r={$$slots:{default:[Rb]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Rb(i){let e,t;return e=new vf({props:{click:i[14],isFullscreen:i[52]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Iu(i){let e,t,n,o;function r(s){i[143](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new df({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),o=!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],qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Nb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y=!i[4]&&cu(i),k=i[4]&&i[30]!==oi.INACTIVE&&ku(i),M=i[95]&&Lb(i),K=!i[4]&&i[25]&&Pu(i),I=i[41]&&Tu(i);function Q(S){i[137](S)}let se={className:"w-max",disabled:!i[43],$$slots:{default:[Vb]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(se.ref=i[20].episodes),c=new qt({props:se}),ye.push(()=>We(c,"ref",Q));let ee=i[38]&&Au(i),R=i[40]&&Lu(i);v=new Cf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let x=i[23]&&Iu(i);return{c(){y&&y.c(),e=N(),k&&k.c(),t=N(),n=E("div"),o=E("div"),r=E("div"),M&&M.c(),l=N(),K&&K.c(),s=N(),I&&I.c(),a=N(),U(c.$$.fragment),m=N(),ee&&ee.c(),h=N(),R&&R.c(),_=N(),U(v.$$.fragment),w=N(),x&&x.c(),b=vt(),u(r,"class","controls v-1tcstu3"),V(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",i[1]),V(n,"controls-hidden",!i[3]),V(n,"no-smooth",i[2]),V(n,"mobile",!0)},m(S,z){y&&y.m(S,z),T(S,e,z),k&&k.m(S,z),T(S,t,z),T(S,n,z),p(n,o),p(o,r),M&&M.m(r,null),p(r,l),K&&K.m(r,null),p(r,s),I&&I.m(r,null),p(r,a),F(c,r,null),p(r,m),ee&&ee.m(r,null),p(r,h),R&&R.m(r,null),i[141](r),p(o,_),F(v,o,null),i[142](n),T(S,w,z),x&&x.m(S,z),T(S,b,z),C=!0},p(S,z){S[4]?y&&(fe(),g(y,1,1,()=>{y=null}),de()):y?(y.p(S,z),z[0]&16&&d(y,1)):(y=cu(S),y.c(),d(y,1),y.m(e.parentNode,e)),S[4]&&S[30]!==oi.INACTIVE?k?(k.p(S,z),z[0]&1073741840&&d(k,1)):(k=ku(S),k.c(),d(k,1),k.m(t.parentNode,t)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),S[95]&&M.p(S,z),!S[4]&&S[25]?K?(K.p(S,z),z[0]&33554448&&d(K,1)):(K=Pu(S),K.c(),d(K,1),K.m(r,s)):K&&(fe(),g(K,1,1,()=>{K=null}),de()),S[41]?I?(I.p(S,z),z[1]&1024&&d(I,1)):(I=Tu(S),I.c(),d(I,1),I.m(r,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de());const ue={};z[1]&4096&&(ue.disabled=!S[43]),z[1]&1073745920|z[2]&1|z[5]&128&&(ue.$$scope={dirty:z,ctx:S}),!f&&z[0]&1048576&&(f=!0,ue.ref=S[20].episodes,qe(()=>f=!1)),c.$set(ue),S[38]?ee?(ee.p(S,z),z[1]&128&&d(ee,1)):(ee=Au(S),ee.c(),d(ee,1),ee.m(r,h)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),S[40]?R?(R.p(S,z),z[1]&512&&d(R,1)):(R=Lu(S),R.c(),d(R,1),R.m(r,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de());const A={};z[0]&16&&(A.isAds=S[4]),z[0]&32&&(A.canRewindLive=S[5]),z[0]&16777216&&(A.isRewindableLive=S[24]),v.$set(A),(!C||z[1]&2097152)&&V(o,"fullscreen",S[52]),(!C||z[0]&2)&&V(n,"hidden",S[1]),(!C||z[0]&8)&&V(n,"controls-hidden",!S[3]),(!C||z[0]&4)&&V(n,"no-smooth",S[2]),S[23]?x?(x.p(S,z),z[0]&8388608&&d(x,1)):(x=Iu(S),x.c(),d(x,1),x.m(b.parentNode,b)):x&&(fe(),g(x,1,1,()=>{x=null}),de())},i(S){C||(d(y),d(k),d(M),d(K),d(I),d(c.$$.fragment,S),d(ee),d(R),d(v.$$.fragment,S),d(x),C=!0)},o(S){g(y),g(k),g(M),g(K),g(I),g(c.$$.fragment,S),g(ee),g(R),g(v.$$.fragment,S),g(x),C=!1},d(S){S&&(P(e),P(t),P(n),P(w),P(b)),y&&y.d(S),k&&k.d(S),M&&M.d(),K&&K.d(),I&&I.d(),H(c),ee&&ee.d(),R&&R.d(),i[141](null),H(v),i[142](null),x&&x.d(S)}}}function Ob(i,e,t){var X,ft;let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S,z,ue,A,oe,O,ne,me,Oe,Fe,{bottomHidden:Te}=e,{bottomNoSmooth:Pe}=e,{showControls:pe}=e,{controlsElementRef:G=void 0}=e,{isAds:re=!1}=e,{canRewindLive:we}=e,{logoClickable:ie}=e,{logoHidden:Se}=e,{videoLogoUrl:Ie}=e,{showNextPrevButtons:De}=e,{nextButtonActive:ke}=e,{prevButtonActive:ae}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:j}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:et}=e,{playPrevVideo:ot}=e,{repeatPlaylist:je}=e,{toggleFullscreen:Me}=e,{returnFocus:Qe}=e,{seekToInteractive:st}=e,{toggleGraph:wt}=e,{playPrevChapter:tt}=e;const Ne=kt(),Et=vn(),At=Ne.actions.internal.toggleMuted,Ht=Ne.actions.internal.togglePlay,Wt=Ne.actions.internal.pause,ce=(X=Ne.callbacks)==null?void 0:X.onAudioDoesNotExistHint,gt=(ft=Ne.callbacks)==null?void 0:ft.onAudioDisabledHint,dt=Ne.playerPhase;D(i,dt,$=>t(118,I=$));const mt=Ne.state.duration$;D(i,mt,$=>t(62,Fe=$));const ut=Ne.state.positionWithScrubbing$;D(i,ut,$=>t(61,Oe=$));const Tt=Ne.state.playbackState$;D(i,Tt,$=>t(114,h=$));const Xe=Ne.state.isAudioAvailable$;D(i,Xe,$=>t(51,_=$));const ze=Ne.state.isAudioDisabled,Vt=Ne.state.isEnded$;D(i,Vt,$=>t(119,se=$));const xt=Ne.state.isLive$;D(i,xt,$=>t(25,C=$));const Fi=Ne.state.muted$;D(i,Fi,$=>t(54,z=$));const xi=Ne.state.isActiveLive$;D(i,xi,$=>t(116,w=$));const ri=Ne.state.isRewindableLive$;D(i,ri,$=>t(24,b=$));const Hi=Ne.ui.scrubbingInProgress;D(i,Hi,$=>t(29,Q=$));const hi=Ne.ui.mobileNotReportControlHidden$;D(i,hi,$=>t(27,M=$));const Ut=Ne.ui.isPictureInPictureActive$;D(i,Ut,$=>t(26,k=$));const Zt=Ne.ui.pictureInPictureType$;D(i,Zt,$=>t(117,y=$));const Ti=Ne.ui.mobileUnmuteButtonExpanded;D(i,Ti,$=>t(55,ue=$));const $t=Ne.ui.mobileUnmuteButtonVisible;D(i,$t,$=>t(53,S=$));const si=Ne.ui.settingsMenuVisible;D(i,si,$=>t(23,m=$));const ei=Ne.ui.settingsMenuOpenedByKeyboard;D(i,ei,$=>t(113,f=$));const Ei=Ne.ui.controls,vi=Ne.actions.internal.getVideoEpisodes(),Lt=Ne.webApi.pictureInPictureApi,Ui=Ne.state.chromecastState$;D(i,Ui,$=>t(28,K=$));const gi=Ne.state.crashed$;D(i,gi,$=>t(57,oe=$));const Ai=Ei.disabledControls$;D(i,Ai,$=>t(120,R=$));const Bt=Ne.ads.duration;D(i,Bt,$=>t(60,me=$));const ai=Ne.ads.position;D(i,ai,$=>t(59,ne=$));const bi=Ne.ads.playbackState;D(i,bi,$=>t(30,ee=$));const _i=Ne.ui.isFullscreen;D(i,_i,$=>t(52,x=$));const Nt=Ne.ui.playerSize;D(i,Nt,$=>t(115,v=$));const Li=Ne.ui.additionalButtons$;D(i,Li,$=>t(56,A=$));const ct=Ne.actions.internal.getVideoElement,nt=Ne.actions.internal.replayInteractive,Rt=Ne.state.isInteractive,ji=Ne.state.isInteractiveGraphEnabled,qi=Ne.state.isSeekToInteractiveEnable,ti=Ne.state.isPlayPrevChapterEnabled,ui=Ne.state.graphIsOpened$;D(i,ui,$=>t(58,O=$));const wi=Ne.ui.startedByKeyboard$;D(i,wi,$=>t(112,c=$));let Wi,ii,Ii,Kt,Gt,Mi,Ct,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,Ri;const Le={},Xi=Vl(Rf,G1,{leading:!1}),Yi=()=>Ne.actions.internal.toggleChromecast();function Ni(){ze?gt==null||gt():_?At():ce==null||ce()}function Qi(){return Ji(this,null,function*(){Lt!=null&&Lt.isActive()?yield Lt==null?void 0:Lt.remove():yield Lt==null?void 0:Lt.request()})}function ki(){!ze&&_&&$t.set(!1),Ni()}const He=J?Ht:je;let Ci="";const Oi=($,on)=>{if(!$){t(45,Ci=Y("tooltip_live"));return}on===Xt.PAUSED&&t(45,Ci=Y("tooltip_play"))};let fi,Ot;function en($){i.$$.not_equal(Le.volume,$)&&(Le.volume=$,t(20,Le))}function dn($){i.$$.not_equal(Le.chromecast,$)&&(Le.chromecast=$,t(20,Le))}function di($){i.$$.not_equal(Le.pip,$)&&(Le.pip=$,t(20,Le))}function tn($){Ot=$,t(22,Ot)}function Di($){i.$$.not_equal(Le.vkLogo,$)&&(Le.vkLogo=$,t(20,Le))}function nn($){i.$$.not_equal(Le.prevButton,$)&&(Le.prevButton=$,t(20,Le))}function Si($){i.$$.not_equal(Le.playButton,$)&&(Le.playButton=$,t(20,Le))}function an($){i.$$.not_equal(Le.replayButton,$)&&(Le.replayButton=$,t(20,Le))}function un($){i.$$.not_equal(Le.nextButton,$)&&(Le.nextButton=$,t(20,Le))}function mn($){i.$$.not_equal(Le.interactiveGraphButton,$)&&(Le.interactiveGraphButton=$,t(20,Le))}function le($){i.$$.not_equal(Le.seekToInteractiveButton,$)&&(Le.seekToInteractiveButton=$,t(20,Le))}function $e($){i.$$.not_equal(Le.volume,$)&&(Le.volume=$,t(20,Le))}function bt($){i.$$.not_equal(Le.playButton,$)&&(Le.playButton=$,t(20,Le))}function It($){i.$$.not_equal(Le.replayButton,$)&&(Le.replayButton=$,t(20,Le))}function Qt($){i.$$.not_equal(Le.liveButton,$)&&(Le.liveButton=$,t(20,Le))}function cn($){i.$$.not_equal(Le.time,$)&&(Le.time=$,t(20,Le))}function gn($){i.$$.not_equal(Le.episodes,$)&&(Le.episodes=$,t(20,Le))}function Dt($){Ot=$,t(22,Ot)}function pn($){i.$$.not_equal(Le.settings,$)&&(Le.settings=$,t(20,Le))}function bn($){i.$$.not_equal(Le.fullscreen,$)&&(Le.fullscreen=$,t(20,Le))}function Cn($){ye[$?"unshift":"push"](()=>{Gi=$,t(44,Gi)})}function Sn($){ye[$?"unshift":"push"](()=>{G=$,t(0,G)})}function _n($){fi=$,t(21,fi)}return i.$$set=$=>{"bottomHidden"in $&&t(1,Te=$.bottomHidden),"bottomNoSmooth"in $&&t(2,Pe=$.bottomNoSmooth),"showControls"in $&&t(3,pe=$.showControls),"controlsElementRef"in $&&t(0,G=$.controlsElementRef),"isAds"in $&&t(4,re=$.isAds),"canRewindLive"in $&&t(5,we=$.canRewindLive),"logoClickable"in $&&t(6,ie=$.logoClickable),"logoHidden"in $&&t(105,Se=$.logoHidden),"videoLogoUrl"in $&&t(7,Ie=$.videoLogoUrl),"showNextPrevButtons"in $&&t(8,De=$.showNextPrevButtons),"nextButtonActive"in $&&t(9,ke=$.nextButtonActive),"prevButtonActive"in $&&t(10,ae=$.prevButtonActive),"isOneVideoPlaylist"in $&&t(106,J=$.isOneVideoPlaylist),"supportLink"in $&&t(11,j=$.supportLink),"customFullscreenSupported"in $&&t(107,Ae=$.customFullscreenSupported),"playNextVideo"in $&&t(12,et=$.playNextVideo),"playPrevVideo"in $&&t(13,ot=$.playPrevVideo),"repeatPlaylist"in $&&t(108,je=$.repeatPlaylist),"toggleFullscreen"in $&&t(14,Me=$.toggleFullscreen),"returnFocus"in $&&t(15,Qe=$.returnFocus),"seekToInteractive"in $&&t(16,st=$.seekToInteractive),"toggleGraph"in $&&t(17,wt=$.toggleGraph),"playPrevChapter"in $&&t(18,tt=$.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&134217728&&t(111,n=R.has(at.EPISODE_BUTTON)),i.$$.dirty[3]&134217728&&t(50,o=R.has(at.GRAPH_BUTTON)),i.$$.dirty[3]&134217728&&t(49,r=R.has(at.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&134217728&&t(48,l=R.has(at.PLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(47,s=R.has(at.REPLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(46,a=R.has(at.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&2097152&&t(31,Wi=h===Xt.PLAYING),i.$$.dirty[0]&1073741824&&t(32,ii=ee===oi.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(33,Ii=se&&!re&&!Rt),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(34,Kt=!se||re),i.$$.dirty[3]&4194304&&t(109,Gt=v.width>300),i.$$.dirty[3]&4194304&&t(35,Mi=v.width>400),i.$$.dirty[0]&536870912&&t(110,Ct=Q),i.$$.dirty[0]&469762048|i.$$.dirty[3]&16777216&&t(36,Yt=K!==Rn.NOT_AVAILABLE&&!(k&&y===Un.DocumentPictureInPicture)&&!M&&!Rt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&50462720){const $=I===Be.WaitingLive;t(37,Vi=!!Lt&&K!==Rn.CONNECTED&&!M&&(y===Un.DocumentPictureInPicture&&$||!$)&&!Ct&&!Rt)}i.$$.dirty[3]&131072&&t(38,Zi=!Ct),i.$$.dirty[3]&4198400&&t(39,$i=!Se&&v.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&16924672&&t(40,Bi=Et.features.fullscreen&&!(k&&y===Un.DocumentPictureInPicture)&&(Rt?Ae:!0)&&!Ct),i.$$.dirty[0]&33554448|i.$$.dirty[3]&4325376&&t(41,yi=(!C||re)&&v.width>260&&!Ct&&!(Et.features.interactiveHideTime&&Rt)),i.$$.dirty[0]&8388616&&t(42,ci=m||pe),i.$$.dirty[0]&33554448|i.$$.dirty[3]&458752&&t(43,Ki=!re&&!C&&!!(vi!=null&&vi.length)&&Gt&&!n&&!Ct),i.$$.dirty[0]&16777216|i.$$.dirty[3]&8388608&&t(19,Ri=!b||w),i.$$.dirty[0]&1048584|i.$$.dirty[3]&4194304&&Xi(ct(),Ei,Le,pe),i.$$.dirty[0]&524288|i.$$.dirty[3]&2097152&&Oi(Ri,h),i.$$.dirty[0]&12582912&&zr(Ot,m,ei),i.$$.dirty[0]&10485760|i.$$.dirty[3]&1048576&&Fr(fi,m,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&524288&&Nf(wi,c,Le.playButton)},[G,Te,Pe,pe,re,we,ie,Ie,De,ke,ae,j,et,ot,Me,Qe,st,wt,tt,Ri,Le,fi,Ot,m,b,C,k,M,K,Q,ee,Wi,ii,Ii,Kt,Mi,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,Ci,a,s,l,r,o,_,x,S,z,ue,A,oe,O,ne,me,Oe,Fe,Ht,Wt,dt,mt,ut,Tt,Xe,ze,Vt,xt,Fi,xi,ri,Hi,hi,Ut,Zt,Ti,$t,si,ei,vi,Ui,gi,Ai,Bt,ai,bi,_i,Nt,Li,nt,Rt,ji,qi,ti,ui,wi,Yi,Qi,ki,He,Se,J,Ae,je,Gt,Ct,n,c,f,h,v,w,y,I,se,R,en,dn,di,tn,Di,nn,Si,an,un,mn,le,$e,bt,It,Qt,cn,gn,Dt,pn,bn,Cn,Sn,_n]}class Db extends _e{constructor(e){super(),be(this,e,Ob,Nb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:105,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:106,supportLink:11,customFullscreenSupported:107,playNextVideo:12,playPrevVideo:13,repeatPlaylist:108,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},Pb,[-1,-1,-1,-1,-1,-1])}}function zb(i){let e,t,n;function o(l){i[26](l)}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 fb({props:r}),ye.push(()=>We(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Fb(i){let e,t,n;function o(l){i[25](l)}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 Db({props:r}),ye.push(()=>We(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hb(i){let e,t,n,o;const r=[Fb,zb],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Ub(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=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:M}=e,{repeatPlaylist:K}=e,{toggleFullscreen:I}=e,{returnFocus:Q=Ye}=e,{seekToInteractive:se}=e,{toggleGraph:ee}=e,{playPrevChapter:R}=e;const S=kt().ui.isMobile;D(i,S,A=>t(23,n=A));function z(A){s=A,t(0,s)}function ue(A){s=A,t(0,s)}return i.$$set=A=>{"bottomHidden"in A&&t(1,o=A.bottomHidden),"bottomNoSmooth"in A&&t(2,r=A.bottomNoSmooth),"showControls"in A&&t(3,l=A.showControls),"controlsElementRef"in A&&t(0,s=A.controlsElementRef),"isAds"in A&&t(4,a=A.isAds),"canRewindLive"in A&&t(5,c=A.canRewindLive),"logoClickable"in A&&t(6,f=A.logoClickable),"logoHidden"in A&&t(7,m=A.logoHidden),"videoLogoUrl"in A&&t(8,h=A.videoLogoUrl),"showNextPrevButtons"in A&&t(9,_=A.showNextPrevButtons),"nextButtonActive"in A&&t(10,v=A.nextButtonActive),"prevButtonActive"in A&&t(11,w=A.prevButtonActive),"isOneVideoPlaylist"in A&&t(12,b=A.isOneVideoPlaylist),"supportLink"in A&&t(13,C=A.supportLink),"customFullscreenSupported"in A&&t(14,y=A.customFullscreenSupported),"playNextVideo"in A&&t(15,k=A.playNextVideo),"playPrevVideo"in A&&t(16,M=A.playPrevVideo),"repeatPlaylist"in A&&t(17,K=A.repeatPlaylist),"toggleFullscreen"in A&&t(18,I=A.toggleFullscreen),"returnFocus"in A&&t(19,Q=A.returnFocus),"seekToInteractive"in A&&t(20,se=A.seekToInteractive),"toggleGraph"in A&&t(21,ee=A.toggleGraph),"playPrevChapter"in A&&t(22,R=A.playPrevChapter)},[s,o,r,l,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,n,S,z,ue]}class Df extends _e{constructor(e){super(),be(this,e,Ub,Hb,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 jb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function qb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function Wb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Zb extends _e{constructor(e){super(),be(this,e,Wb,qb,ge,{reversed:0},jb)}}function Kb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(l,"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){T(b,e,C),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,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&&P(e)}}}function Gb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"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(o,"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){T(C,e,y),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,v),p(c,w),p(c,b)},d(C){C&&P(e)}}}function Yb(i){let e;function t(r,l){return r[0]?Gb:Kb}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function Qb(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class zf extends _e{constructor(e){super(),be(this,e,Qb,Yb,ge,{isOff:0})}}function Xb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Jb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function xb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class $b extends _e{constructor(e){super(),be(this,e,xb,Jb,ge,{reversed:0},Xb)}}function e_(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function t_(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function i_(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class n_ extends _e{constructor(e){super(),be(this,e,i_,t_,ge,{reversed:0},e_)}}function o_(i){Ue(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=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(i[4]),f,m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(i[4]),h,_,v,w,b,C=t&&Vu(i),y=i[4]===Ge.PAUSE&&Bu(),k=i[4]===Ge.PLAY&&Ru(),M=i[4]===Ge.REPLAY&&Nu(),K=i[4]===Ge.SUBTITLES_OFF&&Ou(),I=i[4]===Ge.SUBTITLES_ON&&Du(),Q=c&&zu(i),se=m&&Fu(i),ee=i[4]===Ge.MUTE&&Hu(),R=i[4]===Ge.VOLUME&&Uu(),x=i[5]&&ju(i);return{c(){e=E("div"),C&&C.c(),n=N(),y&&y.c(),o=N(),k&&k.c(),r=N(),M&&M.c(),l=N(),K&&K.c(),s=N(),I&&I.c(),a=N(),Q&&Q.c(),f=N(),se&&se.c(),h=N(),ee&&ee.c(),_=N(),R&&R.c(),v=N(),x&&x.c(),w=vt(),u(e,"class","v-4ftgwp")},m(S,z){T(S,e,z),C&&C.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),k&&k.m(e,null),p(e,r),M&&M.m(e,null),p(e,l),K&&K.m(e,null),p(e,s),I&&I.m(e,null),p(e,a),Q&&Q.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),ee&&ee.m(e,null),p(e,_),R&&R.m(e,null),T(S,v,z),x&&x.m(S,z),T(S,w,z),b=!0},p(S,z){z&16&&(t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(S[4])),t?C?(C.p(S,z),z&16&&d(C,1)):(C=Vu(S),C.c(),d(C,1),C.m(e,n)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),S[4]===Ge.PAUSE?y?z&16&&d(y,1):(y=Bu(),y.c(),d(y,1),y.m(e,o)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),S[4]===Ge.PLAY?k?z&16&&d(k,1):(k=Ru(),k.c(),d(k,1),k.m(e,r)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),S[4]===Ge.REPLAY?M?z&16&&d(M,1):(M=Nu(),M.c(),d(M,1),M.m(e,l)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),S[4]===Ge.SUBTITLES_OFF?K?z&16&&d(K,1):(K=Ou(),K.c(),d(K,1),K.m(e,s)):K&&(fe(),g(K,1,1,()=>{K=null}),de()),S[4]===Ge.SUBTITLES_ON?I?z&16&&d(I,1):(I=Du(),I.c(),d(I,1),I.m(e,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),z&16&&(c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(S[4])),c?Q?(Q.p(S,z),z&16&&d(Q,1)):(Q=zu(S),Q.c(),d(Q,1),Q.m(e,f)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),z&16&&(m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(S[4])),m?se?(se.p(S,z),z&16&&d(se,1)):(se=Fu(S),se.c(),d(se,1),se.m(e,h)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),S[4]===Ge.MUTE?ee?z&16&&d(ee,1):(ee=Hu(),ee.c(),d(ee,1),ee.m(e,_)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),S[4]===Ge.VOLUME?R?z&16&&d(R,1):(R=Uu(),R.c(),d(R,1),R.m(e,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),S[5]?x?x.p(S,z):(x=ju(S),x.c(),x.m(w.parentNode,w)):x&&(x.d(1),x=null)},i(S){b||(d(C),d(y),d(k),d(M),d(K),d(I),d(Q),d(se),d(ee),d(R),b=!0)},o(S){g(C),g(y),g(k),g(M),g(K),g(I),g(Q),g(se),g(ee),g(R),b=!1},d(S){S&&(P(e),P(v),P(w)),C&&C.d(),y&&y.d(),k&&k.d(),M&&M.d(),K&&K.d(),I&&I.d(),Q&&Q.d(),se&&se.d(),ee&&ee.d(),R&&R.d(),x&&x.d(S)}}}function Vu(i){let e,t;return e=new Zb({props:{reversed:i[4]===Ge.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bu(i){let e,t;return e=new gf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ru(i){let e,t;return e=new qr({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nu(i){let e,t;return e=new Ef({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ou(i){let e,t;return e=new zf({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Du(i){let e,t;return e=new zf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function zu(i){let e,t;return e=new $b({props:{reversed:i[4]===Ge.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fu(i){let e,t;return e=new n_({props:{reversed:i[4]===Ge.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Hu(i){let e,t;return e=new zl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uu(i){let e,t;return e=new zl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ju(i){let e,t;return{c(){e=E("span"),t=Re(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&P(e)}}}function l_(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"),V(e,"hidden",i[1]),V(e,"hot-key-helpers-container--left",i[2]),V(e,"hot-key-helpers-container--right",i[3])},m(o,r){T(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=Mu(o),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!t||r&2)&&V(e,"hidden",o[1]),(!t||r&4)&&V(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&V(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function r_(i,e,t){let n,o=Z,r=()=>(o(),o=ni(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ge.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ge.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=Y(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class s_ extends _e{constructor(e){super(),be(this,e,r_,l_,ge,{data:0},o_)}}function a_(i){Ue(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 u_(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y;return r=new Jn({props:{direction:"up"}}),a=new Jn({props:{direction:"up"}}),h=new Jn({props:{direction:"up"}}),w=new Jn({props:{direction:"up"}}),{c(){e=E("div"),t=E("div"),n=E("div"),o=E("div"),U(r.$$.fragment),l=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(o,"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",Y("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(k,M){T(k,e,M),p(e,t),p(t,n),p(n,o),F(r,o,null),p(n,l),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,m),F(h,m,null),p(f,_),p(f,v),F(w,v,null),b=!0,C||(y=[ve(o,"mousedown",i[1]),ve(o,"mouseup",i[5]),ve(o,"mouseleave",i[5]),ve(s,"mousedown",i[3]),ve(s,"mouseup",i[5]),ve(s,"mouseleave",i[5]),ve(m,"mousedown",i[4]),ve(m,"mouseup",i[5]),ve(m,"mouseleave",i[5]),ve(v,"mousedown",i[2]),ve(v,"mouseup",i[5]),ve(v,"mouseleave",i[5]),ve(e,"keydown",i[6]),ve(e,"keyup",i[7])],C=!0)},p(k,[M]){(!b||M&1)&&V(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&&P(e),H(r),H(a),H(h),H(w),C=!1,it(y)}}}function c_(i,e,t){let{isShifted:n=!1}=e;const o=kt(),r=new Set([Ce.ArrowUp,Ce.ArrowDown,Ce.ArrowLeft,Ce.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ce.ArrowUp:l();break;case Ce.ArrowDown:s();break;case Ce.ArrowLeft:c();break;case Ce.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return i.$$set=_=>{"isShifted"in _&&t(0,n=_.isShifted)},[n,l,s,a,c,f,m,h]}class Ff extends _e{constructor(e){super(),be(this,e,c_,u_,ge,{isShifted:0},a_)}}function f_(i){Ue(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 qu(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Wu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Zu(i){let e,t;function n(l,s){return l[7]&&l[8]?p_:l[5]?m_:d_}let o=n(i),r=o(i);return{c(){e=E("div"),t=E("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(l,s){T(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&V(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function d_(i){let e,t=Jt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ku(qu(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=vt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);T(o,e,r)},p(o,r){if(r&18){t=Jt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=qu(o,t,l);n[l]?n[l].p(s,r):(n[l]=Ku(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Vn(n,o)}}}function m_(i){let e,t,n=Jt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Yu(Wu(i,n,r));return{c(){e=E("span"),t=E("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){T(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=Jt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Wu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Yu(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&P(e),Vn(o,r)}}}function p_(i){let e,t,n=Y("subtitles_auto_caption")+"",o;return{c(){e=E("span"),t=E("span"),o=Re(n),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){T(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function Ku(i){let e,t,n=i[16]+"",o,r;return{c(){e=E("span"),t=E("span"),o=Re(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){T(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&xe(o,n),s&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function Gu(i){let e=i[16]+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&P(t)}}}function Yu(i){let e,t=(!i[17]||i[17]<=i[2])&&Gu(i);return{c(){t&&t.c(),e=vt()},m(n,o){t&&t.m(n,o),T(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Gu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function h_(i){let e,t=i[1].length>0&&Zu(i);return{c(){e=E("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){T(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Zu(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&P(e),t&&t.d()}}}function v_(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=kt(),m=vn(),h=f.state.currentSubtitle$;D(i,h,k=>t(12,n=k));const _=f.state.isAutoSubtitleCaptionVisible$;D(i,_,k=>t(8,o=k));let v,w,b,C,y;return hn(()=>{y=window.setTimeout(()=>{_.set(!1)},m.autoSubtitlesTimeout)}),Bl(()=>{window.clearTimeout(y)}),i.$$set=k=>{"shifted"in k&&t(0,r=k.shifted),"captions"in k&&t(1,l=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=l.some(k=>k.type==="timestamp")),i.$$.dirty&2&&t(6,b=l.reduce((k,{type:M,value:K})=>(M==="timestamp"?k.push({timeAppeared:Number(K),value:""}):k.length===0?k.push({value:String(K)}):k[k.length-1].value=String(K),k),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,l,s,c,v,w,b,C,o,h,_,a,n]}class Hf extends _e{constructor(e){super(),be(this,e,v_,h_,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},f_)}}function g_(i){Ue(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 Qu(i){let e,t,n;return{c(){e=E("div"),t=Re("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Re(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){T(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&xe(n,o[1])},d(o){o&&P(e)}}}function b_(i){let e,t,n,o,r,l,s=i[1]&&Qu(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",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){T(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=ve(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Qu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&P(e),s&&s.d(),r=!1,l()}}}function __(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){Ro.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class Uf extends _e{constructor(e){super(),be(this,e,__,b_,ge,{thumbUrl:0,chromecastDeviceName:1},g_)}}function w_(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class y_ extends _e{constructor(e){super(),be(this,e,null,w_,ge,{})}}function k_(i){Ue(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 C_(i){let e,t,n;return t=new y_({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){T(o,e,r),F(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}class jf extends _e{constructor(e){super(),be(this,e,null,C_,ge,{},k_)}}function S_(i){Ue(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 P_(i){let e,t,n,o,r,l,s,a,c;return r=new qr({}),{c(){e=E("div"),t=E("div"),n=E("div"),o=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",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,m){T(f,e,m),p(e,t),p(t,n),p(t,o),F(r,t,null),s=!0,a||(c=[ve(t,"keydown",i[3]),ve(e,"click",rt(function(){In(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&V(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),H(r),a=!1,it(c)}}}function T_(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;const s=kt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ce.Enter,Ce.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,o=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,o,r,a]}class qf extends _e{constructor(e){super(),be(this,e,T_,P_,ge,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},S_)}get handlePressKey(){return this.$$.ctx[3]}}function E_(i){Ue(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(
|
|
25
|
+
}.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function tp(i){let e,t,n,o,r,l,s;return{c(){e=E("div"),t=E("canvas"),n=N(),o=B("svg"),r=B("g"),l=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(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:Z,i:Z,o:Z,d(a){a&&P(e),i[2](null)}}}const ip=5e3;function np(i,e,t){let{onTimerEnded:n=Ye}=e,o;hn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/ip;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(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){ye[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class op extends _e{constructor(e){super(),be(this,e,np,tp,ge,{onTimerEnded:1},ep)}}function lp(i){Ue(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 $s(i){let e,t;return e=new op({props:{onTimerEnded:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function rp(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K;s=new $3({}),s.$on("click",i[4]);let I=i[3]&&$s(i);return{c(){e=E("div"),t=N(),n=E("div"),o=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),U(s.$$.fragment),a=N(),c=E("div"),f=E("div"),m=E("div"),h=E("div"),_=N(),I&&I.c(),w=N(),b=E("div"),C=E("div"),y=Re(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"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(Q,se){T(Q,e,se),T(Q,t,se),T(Q,n,se),p(n,o),p(o,r),p(o,l),F(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,_),I&&I.m(m,null),p(c,w),p(c,b),p(b,C),p(C,y),k=!0,M||(K=ve(c,"click",function(){In(i[2])&&i[2].apply(this,arguments)}),M=!0)},p(Q,[se]){i=Q,i[3]?I?(I.p(i,se),se&8&&d(I,1)):(I=$s(i),I.c(),d(I,1),I.m(m,null)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),(!k||se&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!k||se&1)&&xe(y,i[0])},i(Q){k||(d(s.$$.fragment,Q),d(I),k=!0)},o(Q){g(s.$$.fragment,Q),g(I),k=!1},d(Q){Q&&(P(e),P(t),P(n)),H(s),I&&I.d(),M=!1,K()}}}function sp(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class ap extends _e{constructor(e){super(),be(this,e,sp,rp,ge,{title:0,thumb:1,playNextVideo:2},lp)}}const ef=(i,e)=>Math.min(+(i+e).toFixed(2),1),tf=(i,e)=>Math.max(+(i-e).toFixed(2),0),nf=(i,e,t)=>{const n=ef(e,t);e<1&&i.actions.internal.setVolume(n)},of=(i,e,t)=>{const n=tf(e,t);e>0&&i.actions.internal.setVolume(n)};function up(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function cp(i){let e,t,n,o;const r=i[22].default,l=qn(r,i,i[21],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player"))},m(s,a){T(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[ve(e,"keyup",i[13]),ve(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Zn(l,r,s,s[21],t?Wn(r,s[21],a,null):Kn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,it(o)}}}function fp(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,{$$slots:v={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:y}=e,{showHotKeyHelpers:k}=e,{showKeyMap:M}=e,{fakePlayButtonHandler:K}=e;const I=kt(),Q=vn(),se=I.getLogger().createComponentLog("KeyboardControls component"),ee=I.state.playbackState$;D(i,ee,ie=>t(27,o=ie));const R=I.ads.playbackState;D(i,R,ie=>t(26,n=ie));const x=I.state.positionExact$;D(i,x,ie=>t(33,f=ie));const S=I.state.duration$;D(i,S,ie=>t(32,c=ie));const z=I.state.volume$;D(i,z,ie=>t(36,_=ie));const ue=I.ui.controls.disabledControls$;D(i,ue,ie=>t(31,a=ie));const A=I.state.muted$;D(i,A,ie=>t(29,l=ie));const oe=I.state.currentSubtitle$;D(i,oe,ie=>t(28,r=ie));const O=I.state.currentPlaybackRate$;D(i,O,ie=>t(34,m=ie));const ne=I.state.availablePlaybackRates$;D(i,ne,ie=>t(35,h=ie));const me=I.state.isEnded$;D(i,me,ie=>t(30,s=ie));let Oe=0,Fe=!0,Te;const Pe=()=>Te==null?void 0:Te.focus(),pe=ie=>(ie!==Fe&&(Fe=ie,Oe=0),Oe+=1,(Q.controls.seekStepKeyboard+Q.controls.seekStepKeyboard*Oe)/1e3),G=ie=>{var je;const Se=ie.target,Ie=(je=Se==null?void 0:Se.getAttribute("role"))==null?void 0:je.includes("menuitem"),De=Se.classList.contains("btn"),ke=ie.code;if(De&&ke===Ce.Space)return;const ae=dd.has(ke);if(Ie&&ae)return;const J=!fd.has(ke);if(ie.ctrlKey&&J||ie.altKey&&J||ie.metaKey)return;const j=Ie&&ke===Ce.Escape;md.has(ke)||j||C();const Ae=o===Xt.PLAYING||o===Xt.PAUSED,et=b&&(n===oi.PAUSED||n===oi.PLAYING),ot=!et&&!a.has(at.TIMELINE);if(Ae||et)switch(se({message:`key down, code: ${ke}`}),ke){case Ce.KeyJ:case Ce.ArrowLeft:{if(!ot)break;if(ie.ctrlKey||ie.altKey){const Me=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Me),Me&&k({type:Ge.EPISODE_PREV,text:Me.text}),ie.preventDefault()}else{const Me=ie.shiftKey?pe(!1):Q.controls.seekStepKeyboard/1e3,Qe=Math.max(f-Me,0);f>0&&(I.actions.internal.seekTime(Qe,jt.DOUBLE_TAP),k({type:Ge.BACKWARD_SEEK,text:Me.toString()}),ie.preventDefault())}break}case Ce.KeyL:case Ce.ArrowRight:{if(!ot)break;if(ie.ctrlKey||ie.altKey){const Me=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Me),Me&&k({type:Ge.EPISODE_NEXT,text:Me.text}),ie.preventDefault()}else{const Me=ie.shiftKey?pe(!0):Q.controls.seekStepKeyboard/1e3,Qe=Math.min(f+Me,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(Qe,jt.DOUBLE_TAP),k({type:Ge.FORWARD_SEEK,text:Me.toString()}),ie.preventDefault())}break}case Ce.ArrowUp:{const Me=_,Qe=Q.controls.volumeStepKeyboard,st=Me<=1;if(nf(I,Me,Qe),st){const wt=Math.round(ef(Me,Qe)*100).toString();k({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:wt}})}ie.preventDefault();break}case Ce.ArrowDown:{const Me=_,Qe=Q.controls.volumeStepKeyboard,st=Me>=0;if(of(I,Me,Qe),st){const wt=Math.round(tf(Me,Qe)*100).toString();k({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:wt}})}ie.preventDefault();break}case Ce.Comma:{if(ie.shiftKey){I.actions.internal.decrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ge.RATE_DOWN,text:Me==null?void 0:Me.displayValue}),ie.preventDefault()}else{if(et||o!==Xt.PAUSED)break;const Me=Math.max(f-Q.controls.seekStepFrame/1e3,0);f>0&&(k({type:Ge.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,jt.DOUBLE_TAP),ie.preventDefault())}break}case Ce.Period:{if(ie.shiftKey){I.actions.internal.incrementPlaybackRate();const Me=h.find(Qe=>Qe.value===m);k({type:Ge.RATE_UP,text:Me==null?void 0:Me.displayValue}),ie.preventDefault()}else{if(et||o!==Xt.PAUSED)break;const Me=Math.min(f+Q.controls.seekStepFrame/1e3,c);f<c&&(k({type:Ge.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Me,jt.DOUBLE_TAP),ie.preventDefault())}break}case Ce.KeyK:case Ce.Space:if(!a.has(at.PLAY_BUTTON))if(K)K();else{I.actions.internal.togglePlay();let Me=Ge.PLAY;o===Xt.PAUSED?Me=Ge.PAUSE:s&&(Me=Ge.REPLAY),k({type:Me})}ie.preventDefault();break;case Ce.KeyM:{k({type:l?Ge.VOLUME:Ge.MUTE}),I.actions.internal.toggleMuted(),ie.preventDefault();break}case Ce.KeyF:y(),ie.preventDefault();break;case Ce.KeyC:I.actions.internal.toggleSubtitle(),r.value!=="off"?k({type:Ge.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):k({type:Ge.SUBTITLES_OFF}),ie.preventDefault();break;case Ce.KeyI:I.actions.internal.togglePictureInPicture(),ie.preventDefault();break;case Ce.Digit1:case Ce.Numpad1:k(),I.actions.internal.seekToPercent(.1,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit2:case Ce.Numpad2:k(),I.actions.internal.seekToPercent(.2,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit3:case Ce.Numpad3:k(),I.actions.internal.seekToPercent(.3,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit4:case Ce.Numpad4:k(),I.actions.internal.seekToPercent(.4,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit5:case Ce.Numpad5:k(),I.actions.internal.seekToPercent(.5,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit6:case Ce.Numpad6:k(),I.actions.internal.seekToPercent(.6,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit7:case Ce.Numpad7:k(),I.actions.internal.seekToPercent(.7,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit8:case Ce.Numpad8:k(),I.actions.internal.seekToPercent(.8,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit9:case Ce.Numpad9:k(),I.actions.internal.seekToPercent(.9,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Digit0:case Ce.Numpad0:k(),I.actions.internal.seekToPercent(0,jt.DOUBLE_TAP),ie.preventDefault();break;case Ce.Slash:{ie.shiftKey&&Q.features.hotKeyMapModal&&(M(),ie.preventDefault());break}case Ce.ShiftLeft:case Ce.ShiftRight:ie.preventDefault();break;case Ce.Tab:case Ce.Escape:case Ce.Enter:break;default:M0(ke);break}},re=ie=>{const Se=ie.code;if(ie.ctrlKey||ie.altKey||ie.metaKey)return;const Ie=o===Xt.PLAYING||o===Xt.PAUSED,De=b&&(n===oi.PAUSED||n===oi.PLAYING);if(Ie||De)switch(Se){case Ce.ShiftLeft:case Ce.ShiftRight:Oe=0;break}};function we(ie){ye[ie?"unshift":"push"](()=>{Te=ie,t(0,Te)})}return i.$$set=ie=>{"isAds"in ie&&t(14,b=ie.isAds),"hideContextMenu"in ie&&t(15,C=ie.hideContextMenu),"toggleFullscreen"in ie&&t(16,y=ie.toggleFullscreen),"showHotKeyHelpers"in ie&&t(17,k=ie.showHotKeyHelpers),"showKeyMap"in ie&&t(18,M=ie.showKeyMap),"fakePlayButtonHandler"in ie&&t(19,K=ie.fakePlayButtonHandler),"$$scope"in ie&&t(21,w=ie.$$scope)},[Te,ee,R,x,S,z,ue,A,oe,O,ne,me,G,re,b,C,y,k,M,K,Pe,w,v,we]}class dp extends _e{constructor(e){super(),be(this,e,fp,cp,ge,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},up,[-1,-1])}get focus(){return this.$$.ctx[20]}}function mp(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=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(o,"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(o,"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(l,s){T(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:Z,o:Z,d(l){l&&P(e)}}}function pp(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class lf extends _e{constructor(e){super(),be(this,e,pp,mp,ge,{completed:0})}}function hp(i){Ue(i,"v-4j4dx7",".interactive-episode-icon-animated.v-4j4dx7{position:absolute;right:0;width:32px;height:32px;transform:translate3d(-50%, 50%);transition:0.7s;opacity:1}.invisible.v-4j4dx7{opacity:0}.fullscreen.v-4j4dx7:not(.mobile){width:40px;height:40px}.mobile.v-4j4dx7{width:28px;height:28px}.fullscreen.mobile.v-4j4dx7{width:32px;height:32px}@keyframes v-4j4dx7-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-4j4dx7: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-4j4dx7-pulse infinite;transition:0.7ms}.interactive-episode-icon-animated svg{width:100%;height:100%}")}function vp(i){let e,t,n;return t=new lf({props:{completed:!0}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","interactive-episode-icon-animated v-4j4dx7"),V(e,"mobile",i[0]),V(e,"fullscreen",i[1]),V(e,"invisible",!i[2]||i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,[r]){(!n||r&1)&&V(e,"mobile",o[0]),(!n||r&2)&&V(e,"fullscreen",o[1]),(!n||r&12)&&V(e,"invisible",!o[2]||o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function gp(i,e,t){let n,o,r,l;const s=kt(),a=s.ui.isMobile;D(i,a,h=>t(0,n=h));const c=s.ui.isFullscreen;D(i,c,h=>t(1,o=h));const f=s.state.isInteractiveTime$;D(i,f,h=>t(2,r=h));const{interactiveControlsOpacity$:m}=Rl();return D(i,m,h=>t(3,l=h)),[n,o,r,l,a,c,f,m]}class rf extends _e{constructor(e){super(),be(this,e,gp,vp,ge,{},hp)}}function bp(i){Ue(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 _p(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){T(t,e,n)},p:Z,i:Z,o:Z,d(t){t&&P(e)}}}class sf extends _e{constructor(e){super(),be(this,e,null,_p,ge,{},bp)}}function wp(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p:Z,i:Z,o:Z,d(v){v&&P(e)}}}class yp extends _e{constructor(e){super(),be(this,e,null,wp,ge,{})}}function kp(i){Ue(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 Cp(i){let e,t,n,o,r,l,s,a,c,f,m,h;const _=i[14].default,v=qn(_,i,i[13],null);return{c(){var w,b,C,y,k,M;e=E("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(w=i[3])!=null?w:null,u(e,"aria-hidden",r=(b=i[5])!=null?b:null),u(e,"aria-label",l=(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=(M=i[4])!=null?M:null),u(e,"tabindex",i[9])},m(w,b){T(w,e,b),v&&v.m(e,null),i[16](e),f=!0,m||(h=[ve(e,"pointerdown",rt(li(i[15]))),ve(e,"click",rt(li(function(){In(i[10]===Ye?null:i[10])&&(i[10]===Ye?null:i[10]).apply(this,arguments)}))),ve(e,"focus",li(function(){In(i[11]===Ye?null:i[11])&&(i[11]===Ye?null:i[11]).apply(this,arguments)})),ve(e,"blur",li(function(){In(i[12]===Ye?null:i[12])&&(i[12]===Ye?null:i[12]).apply(this,arguments)}))],m=!0)},p(w,[b]){var C,y,k,M,K,I;i=w,v&&v.p&&(!f||b&8192)&&Zn(v,_,i,i[13],f?Wn(_,i[13],b,null):Kn(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&&o!==(o=(C=i[3])!=null?C:null))&&(e.disabled=o),(!f||b&32&&r!==(r=(y=i[5])!=null?y:null))&&u(e,"aria-hidden",r),(!f||b&64&&l!==(l=(k=i[6])!=null?k:null))&&u(e,"aria-label",l),(!f||b&128&&s!==(s=(M=i[7])!=null?M:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(K=i[8])!=null?K:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(I=i[4])!=null?I: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&&P(e),v&&v.d(w),i[16](null),m=!1,it(h)}}}function Sp(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=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=Ye}=e,{focus:b=Ye}=e,{blur:C=Ye}=e;function y(M){Ro.call(this,i,M)}function k(M){ye[M?"unshift":"push"](()=>{m=M,t(0,m)})}return i.$$set=M=>{"className"in M&&t(1,r=M.className),"style"in M&&t(2,l=M.style),"disabled"in M&&t(3,s=M.disabled),"testId"in M&&t(4,a=M.testId),"ariaHidden"in M&&t(5,c=M.ariaHidden),"ariaLabel"in M&&t(6,f=M.ariaLabel),"ref"in M&&t(0,m=M.ref),"ariaKeyShortCut"in M&&t(7,h=M.ariaKeyShortCut),"ariaExpanded"in M&&t(8,_=M.ariaExpanded),"tabIndex"in M&&t(9,v=M.tabIndex),"click"in M&&t(10,w=M.click),"focus"in M&&t(11,b=M.focus),"blur"in M&&t(12,C=M.blur),"$$scope"in M&&t(13,o=M.$$scope)},[m,r,l,s,a,c,f,h,_,v,w,b,C,o,n,y,k]}class Pi extends _e{constructor(e){super(),be(this,e,Sp,Cp,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},kp)}}function Pp(i){Ue(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 ea(i){let e,t,n,o,r,l=i[2]&&ta(i);return{c(){e=E("div"),t=E("h3"),n=Re(i[3]),o=N(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&xe(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=ta(s),l.c(),d(l,1),l.m(e,null)):l&&(fe(),g(l,1,1,()=>{l=null}),de())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function ta(i){let e,t;return e=new Pi({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tp(i){let e,t;return e=new yp({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ep(i){let e,t,n,o,r,l,s=i[1]&&ea(i);const a=i[4].default,c=qn(a,i,i[5],null);return{c(){e=E("div"),t=E("div"),s&&s.c(),n=N(),o=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){T(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=ea(f),s.c(),d(s,1),s.m(t,n)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),c&&c.p&&(!l||m&32)&&Zn(c,a,f,f[5],l?Wn(a,f[5],m,null):Kn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function Ap(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!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,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class Lp extends _e{constructor(e){super(),be(this,e,Ap,Ep,ge,{onClose:0,showHeader:1,showCloseCross:2,title:3},Pp)}}const Ip=new Set(["BR"]),ia=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;Ip.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function Mp(i){Ue(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 na(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function oa(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function la(i){let e,t,n=ia(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=E("li"),t=E("span"),o=N(),r=E("span"),s=Re(l),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){T(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=ia(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&xe(s,l)},d(c){c&&P(e)}}}function ra(i){let e,t,n=i[5]+"",o,r,l,s,a=Jt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=la(oa(i,a,f));return{c(){e=E("div"),t=E("h5"),o=Re(n),r=N(),l=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(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){T(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&xe(o,n),m&1){a=Jt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=oa(f,a,h);c[h]?c[h].p(_,m):(c[h]=la(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),Vn(c,f)}}}function Vp(i){let e,t=Jt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=ra(na(i,t,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){T(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=Jt(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=na(o,t,l);n[l]?n[l].p(s,r):(n[l]=ra(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Vn(n,o)}}}function Bp(i){let e,t;return e=new Lp({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Vp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Rp(i,e,t){let n;const o=kt(),{data:r,show:l}=o.ui.modals.hotKeyMap;return D(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class Np extends _e{constructor(e){super(),be(this,e,Rp,Bp,ge,{},Mp)}}function Op(i){Ue(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 Dp(i){let e,t;const n=i[1].default,o=qn(n,i,i[0],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){T(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Zn(o,n,r,r[0],t?Wn(n,r[0],l,null):Kn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function zp(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class Fp extends _e{constructor(e){super(),be(this,e,zp,Dp,ge,{},Op)}}function Hp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class Up extends _e{constructor(e){super(),be(this,e,null,Hp,ge,{})}}function jp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class qp extends _e{constructor(e){super(),be(this,e,null,jp,ge,{})}}function Wp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Zp extends _e{constructor(e){super(),be(this,e,null,Wp,ge,{})}}function Kp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class af extends _e{constructor(e){super(),be(this,e,null,Kp,ge,{})}}function Gp(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class uf extends _e{constructor(e){super(),be(this,e,null,Gp,ge,{})}}const zo=i=>{switch(i){case Ao.Q_720P:return Zp;case Ao.Q_1080P:return af;case Ao.Q_1440P:return uf;case Ao.Q_2160P:return Up;case Ao.Q_4320P:return qp}};function Yp(i){Ue(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 Qp(i){let e,t,n,o,r,l,s=i[1]&&sa(i);return{c(){e=E("div"),s&&s.c(),t=N(),n=B("svg"),o=B("path"),r=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"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(o,"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",!!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"),V(e,"triple",i[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=sa(a),s.c(),d(s,1),s.m(e,t)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!l||c&2)&&V(r,"hidden",!!a[1]),(!l||c&4)&&V(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function Xp(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}function sa(i){let e,t;return e=new Fp({props:{$$slots:{default:[Jp]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jp(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=Nn(o,r())),{c(){e&&U(e.$$.fragment),t=vt()},m(l,s){e&&F(e,l,s),T(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){fe();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(e=Nn(o,r()),U(e.$$.fragment),d(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&H(e,l)}}}function xp(i){let e,t,n,o;const r=[Xp,Qp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function $p(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=zo(r)),i.$$.dirty&2&&t(2,l=!!n&&[af,uf].includes(n))},[o,n,l,r]}class cf extends _e{constructor(e){super(),be(this,e,$p,xp,ge,{isMobile:0,currentQuality:3},Yp)}}function eh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ff extends _e{constructor(e){super(),be(this,e,null,eh,ge,{})}}function th(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ih extends _e{constructor(e){super(),be(this,e,null,th,ge,{})}}function nh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class oh extends _e{constructor(e){super(),be(this,e,null,nh,ge,{})}}function lh(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"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(o,"fill","#fff"),u(o,"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,l){T(r,e,l),p(e,t),p(t,n),p(t,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class rh extends _e{constructor(e){super(),be(this,e,null,lh,ge,{})}}function sh(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function ah(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"),V(e,"reverted",i[2])},m(o,r){T(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function uh(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"),V(e,"reverted",i[2])},m(o,r){T(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function ch(i){let e;function t(r,l){return r[1]?uh:ah}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function fh(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class Jn extends _e{constructor(e){super(),be(this,e,fh,ch,ge,{direction:3,color:0},sh)}}function dh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class mh extends _e{constructor(e){super(),be(this,e,null,dh,ge,{})}}function ph(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class ol extends _e{constructor(e){super(),be(this,e,null,ph,ge,{})}}function hh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class vh extends _e{constructor(e){super(),be(this,e,null,hh,ge,{})}}function gh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class bh extends _e{constructor(e){super(),be(this,e,null,gh,ge,{})}}function _h(i){Ue(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 aa(i,e,t){const n=i.slice();return n[142]=e[t],n}function ua(i,e,t){const n=i.slice();return n[145]=e[t],n}function ca(i,e,t){const n=i.slice();return n[148]=e[t],n}function fa(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&da(i),_=i[28]&&ma(i),v=i[27]&&ha(i),w=i[26]&&va(i),b=i[25]&&ga(i),C=i[24]&&ba(i),y=i[8]&&_a(i);return{c(){e=E("div"),h&&h.c(),t=N(),n=E("ul"),_&&_.c(),o=N(),v&&v.c(),r=N(),w&&w.c(),l=N(),b&&b.c(),s=N(),C&&C.c(),a=N(),y&&y.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),V(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8]),V(e,"hidden",!i[15])},m(k,M){T(k,e,M),h&&h.m(e,null),p(e,t),p(e,n),_&&_.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),w&&w.m(n,null),p(n,l),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=[ve(e,"keydown",i[79]),ve(e,"mouseenter",i[73]),ve(e,"mouseleave",i[74])],f=!0)},p(k,M){k[8]?h?h.p(k,M):(h=da(k),h.c(),h.m(e,t)):h&&(h.d(1),h=null),k[28]?_?(_.p(k,M),M[0]&268435456&&d(_,1)):(_=ma(k),_.c(),d(_,1),_.m(n,o)):_&&(fe(),g(_,1,1,()=>{_=null}),de()),k[27]?v?(v.p(k,M),M[0]&134217728&&d(v,1)):(v=ha(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,M),M[0]&67108864&&d(w,1)):(w=va(k),w.c(),d(w,1),w.m(n,l)):w&&(fe(),g(w,1,1,()=>{w=null}),de()),k[25]?b?(b.p(k,M),M[0]&33554432&&d(b,1)):(b=ga(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,M),M[0]&16777216&&d(C,1)):(C=ba(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,M),M[0]&256&&d(y,1)):(y=_a(k),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!c||M[0]&256)&&V(n,"items-mobile",k[8]),(!c||M[0]&256)&&V(e,"menu-desktop",!k[8]),(!c||M[0]&256)&&V(e,"menu-mobile",k[8]),(!c||M[0]&32768)&&V(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&&P(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 da(i){let e,t,n,o,r,l,s,a;return{c(){e=E("div"),t=E("div"),t.textContent=`${Y("submenu_settings")}`,n=N(),o=E("div"),r=N(),l=E("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),V(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,t),p(e,n),p(e,o),T(c,r,f),T(c,l,f),s||(a=ve(o,"click",rt(i[59])),s=!0)},p(c,f){f[0]&256&&V(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function ma(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;n=new cf({});let v=i[36]&&!i[8]&&pa(i);return{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_quality")}`,l=N(),s=E("div"),a=Re(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=Y("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(_=[ve(e,"click",rt(i[60])),ve(e,"keydown",i[80])],h=!0)},p(w,b){(!m||b[0]&1048576)&&xe(a,w[20]),w[36]&&!w[8]?v?(v.p(w,b),b[0]&256|b[1]&32&&d(v,1)):(v=pa(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=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||b[0]&256)&&V(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&&P(e),H(n),v&&v.d(),i[112](null),h=!1,it(_)}}}function pa(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=Nn(o,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){T(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(t=Nn(o,r()),U(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function ha(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return n=new rh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_playback_rate")}`,l=N(),s=E("div"),a=Re(i[13]),c=Re("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=Y("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(_=[ve(e,"click",rt(li(i[64]))),ve(e,"keydown",i[83])],h=!0)},p(v,w){(!m||w[0]&8192)&&xe(a,v[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&V(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&&P(e),H(n),i[113](null),h=!1,it(_)}}}function va(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,_;return n=new ff({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("subtitles_caption")}`,l=N(),s=E("div"),c=Re(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=Y("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(_=[ve(e,"click",rt(i[66])),ve(e,"keydown",i[86])],h=!0)},p(v,w){(!m||w[1]&64)&&a!==(a=v[37].displayValue+"")&&xe(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&V(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&&P(e),H(n),i[114](null),h=!1,it(_)}}}function ga(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new oh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("menu_traffic_saving")}`,l=N(),s=E("div"),a=Re(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=Y("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(_,v){T(_,e,v),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[ve(e,"click",rt(i[61])),ve(e,"keydown",i[89])],m=!0)},p(_,v){(!f||v[0]&536870912)&&xe(a,_[29]),(!f||v[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&V(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&P(e),H(n),i[115](null),m=!1,it(h)}}}function ba(i){let e,t,n,o,r,l,s,a;return n=new ih({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("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",Y("aria_label_menu_download")),V(e,"item-mobile",i[8])},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ve(e,"click",rt(i[69])),ve(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&V(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,it(a)}}}function _a(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C=i[39].showSupport&&wh(i);return o=new vh({}),f=new bh({}),{c(){C&&C.c(),e=N(),t=E("li"),n=E("div"),U(o.$$.fragment),r=N(),l=E("div"),l.textContent=`${Y("menu_copy_debug")}`,s=N(),a=E("li"),c=E("div"),U(f.$$.fragment),m=N(),h=E("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"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",Y("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]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(y,k){C&&C.m(y,k),T(y,e,k),T(y,t,k),p(t,n),F(o,n,null),p(t,r),p(t,l),T(y,s,k),T(y,a,k),p(a,c),F(f,c,null),p(a,m),p(a,h),v=!0,w||(b=[ve(t,"click",rt(i[71])),ve(t,"keydown",i[94]),ve(a,"click",rt(i[72])),ve(a,"keydown",i[95])],w=!0)},p(y,k){y[39].showSupport&&C.p(y,k),(!v||k[1]&128&&_!==(_=y[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(y){v||(d(C),d(o.$$.fragment,y),d(f.$$.fragment,y),v=!0)},o(y){g(C),g(o.$$.fragment,y),g(f.$$.fragment,y),v=!1},d(y){y&&(P(e),P(t),P(s),P(a)),C&&C.d(y),H(o),H(f),w=!1,it(b)}}}function wh(i){let e,t,n,o,r,l,s,a;return n=new mh({}),{c(){e=E("li"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("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",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[ve(e,"click",rt(i[70])),ve(e,"keydown",i[93])],s=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,it(a)}}}function wa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Jn({props:{direction:"left"}});let _=Jt(i[12]),v=[];for(let b=0;b<_.length;b+=1)v[b]=Ca(ca(i,_,b));const w=b=>g(v[b],1,1,()=>{v[b]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("submenu_quality")}`,l=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",Y("aria_label_submenu_back")),V(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]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),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=[ve(t,"click",rt(i[68])),ve(c,"keydown",i[81])],m=!0)},p(b,C){if((!f||C[0]&256)&&V(t,"item-mobile",b[8]),C[0]&4352|C[2]&1048577){_=Jt(b[12]);let y;for(y=0;y<_.length;y+=1){const k=ca(b,_,y);v[y]?(v[y].p(k,C),d(v[y],1)):(v[y]=Ca(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)&&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){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&&P(e),H(n),i[117](null),Vn(v,b),i[120](null),m=!1,it(h)}}}function ya(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ka(i){let e,t,n;var o=zo(i[148].value);function r(l){return{}}return o&&(t=Nn(o,r())),{c(){e=E("div"),t&&U(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){T(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=zo(l[148].value))){if(t){fe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),de()}o?(t=Nn(o,r()),U(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function Ca(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&zo(i[148].value),a,c,f,m,h,_,v=i[148].selected&&ya(),w=s&&ka(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=Re(o),l=N(),w&&w.c(),a=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(y,k){T(y,e,k),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),w&&w.m(e,null),p(e,a),m=!0,h||(_=[ve(e,"click",rt(b)),ve(e,"keydown",C)],h=!0)},p(y,k){i=y,i[148].selected?v?k[0]&4096&&d(v,1):(v=ya(),v.c(),d(v,1),v.m(e,t)):v&&(fe(),g(v,1,1,()=>{v=null}),de()),(!m||k[0]&4096)&&o!==(o=i[148].displayValue+"")&&xe(r,o),(!m||k[0]&256)&&V(n,"quality-title-mobile",i[8]),k[0]&4352&&(s=!i[8]&&zo(i[148].value)),s?w?(w.p(i,k),k[0]&4352&&d(w,1)):(w=ka(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)&&V(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&&P(e),v&&v.d(),w&&w.d(),h=!1,it(_)}}}function Sa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Jn({props:{direction:"left"}});let _=Jt(i[11]),v=[];for(let b=0;b<_.length;b+=1)v[b]=Ta(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),o=N(),r=E("div"),r.textContent=`${Y("submenu_playback_rate")}`,l=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",Y("aria_label_submenu_back")),V(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]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(b,C){T(b,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),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=[ve(t,"click",rt(i[68])),ve(c,"keydown",i[84])],m=!0)},p(b,C){if((!f||C[0]&256)&&V(t,"item-mobile",b[8]),C[0]&2304|C[2]&8388616){_=Jt(b[11]);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]=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)&&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){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&&P(e),H(n),i[121](null),Vn(v,b),i[124](null),m=!1,it(h)}}}function Pa(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ta(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&Pa();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=Re(o),l=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ve(e,"click",rt(_)),ve(e,"keydown",v)],f=!0)},p(w,b){i=w,i[145].selected?h?b[0]&2048&&d(h,1):(h=Pa(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&2048)&&o!==(o=i[145].displayValue+"")&&xe(r,o),(!c||b[0]&256)&&V(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)&&V(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,it(m)}}}function Ea(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se;n=new Jn({props:{direction:"left"}});let ee=!i[9]&&Aa(),R=i[9]&&La();return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("submenu_traffic_saving")}`,l=N(),s=E("div"),a=N(),c=E("ul"),f=E("li"),ee&&ee.c(),m=N(),h=E("div"),h.textContent=`${Y("traffic_saving_disable")}`,_=N(),v=E("li"),R&&R.c(),w=N(),b=E("div"),b.textContent=`${Y("traffic_saving_enable")}`,C=N(),y=E("div"),k=N(),M=E("div"),K=E("span"),K.textContent=`${Y("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",Y("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),V(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",Y("aria_label_submenu_traffic_saving_off")),V(f,"item-mobile",i[8]),u(b,"class","v-5r0p3"),V(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",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),V(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",i[23]),V(c,"items-mobile",i[8]),u(y,"class","menu-divider v-5r0p3"),u(K,"class","v-5r0p3"),u(M,"class","item item-helper-text v-5r0p3"),V(M,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(x,S){T(x,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),ee&&ee.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,M),p(M,K),I=!0,Q||(se=[ve(t,"click",rt(i[68])),ve(f,"click",rt(i[126])),ve(f,"keydown",i[127]),ve(v,"click",rt(i[128])),ve(v,"keydown",i[129]),ve(c,"keydown",i[90])],Q=!0)},p(x,S){(!I||S[0]&256)&&V(t,"item-mobile",x[8]),x[9]?ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()):ee?S[0]&512&&d(ee,1):(ee=Aa(),ee.c(),d(ee,1),ee.m(f,m)),(!I||S[0]&256)&&V(h,"quality-title-mobile",x[8]),(!I||S[0]&256)&&V(f,"item-mobile",x[8]),x[9]?R?S[0]&512&&d(R,1):(R=La(),R.c(),d(R,1),R.m(v,w)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),(!I||S[0]&256)&&V(b,"quality-title-mobile",x[8]),(!I||S[0]&256)&&V(v,"item-mobile",x[8]),(!I||S[0]&8388608)&&u(c,"style",x[23]),(!I||S[0]&256)&&V(c,"items-mobile",x[8]),(!I||S[0]&256)&&V(M,"item-mobile",x[8]),(!I||S[0]&256)&&V(e,"menu-desktop",!x[8]),(!I||S[0]&256)&&V(e,"menu-mobile",x[8])},i(x){I||(d(n.$$.fragment,x),d(ee),d(R),I=!0)},o(x){g(n.$$.fragment,x),g(ee),g(R),I=!1},d(x){x&&P(e),H(n),i[125](null),ee&&ee.d(),R&&R.d(),i[130](null),Q=!1,it(se)}}}function Aa(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function La(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ia(i){let e,t,n,o,r,l,s,a,c,f;n=new Jn({props:{direction:"left"}});let m=Jt(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=Va(aa(i,m,v));const _=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=E("div"),t=E("div"),U(n.$$.fragment),o=N(),r=E("div"),r.textContent=`${Y("subtitles_caption")}`,l=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",Y("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),V(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(v,w){T(v,e,w),p(e,t),F(n,t,null),p(t,o),p(t,r),p(e,l),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=[ve(t,"click",rt(i[68])),ve(s,"keydown",i[87])],c=!0)},p(v,w){if((!a||w[0]&256)&&V(t,"item-mobile",v[8]),w[0]&1280|w[2]&67108896){m=Jt(v[10]);let b;for(b=0;b<m.length;b+=1){const C=aa(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)&&V(s,"items-mobile",v[8]),(!a||w[0]&256)&&V(e,"menu-desktop",!v[8]),(!a||w[0]&256)&&V(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&&P(e),H(n),Vn(h,v),i[133](null),c=!1,it(f)}}}function Ma(i){let e,t,n;return t=new ol({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){T(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Va(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&Ma();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=Re(o),l=N(),u(n,"class","v-5r0p3"),V(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),V(e,"item-mobile",i[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[ve(e,"click",rt(_)),ve(e,"keydown",v)],f=!0)},p(w,b){i=w,i[142].selected?h?b[0]&1024&&d(h,1):(h=Ma(),h.c(),d(h,1),h.m(e,t)):h&&(fe(),g(h,1,1,()=>{h=null}),de()),(!c||b[0]&1024)&&o!==(o=i[142].displayValue+"")&&xe(r,o),(!c||b[0]&256)&&V(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)&&V(e,"item-mobile",i[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&P(e),h&&h.d(),f=!1,it(m)}}}function yh(i){let e,t,n,o,r,l,s=i[14]&&fa(i),a=i[16]&&wa(i),c=i[17]&&Sa(i),f=i[19]&&Ea(i),m=i[18]&&Ia(i);return{c(){e=E("div"),s&&s.c(),t=N(),a&&a.c(),n=N(),c&&c.c(),o=N(),f&&f.c(),r=N(),m&&m.c(),u(e,"class","v-5r0p3"),V(e,"hidden",!i[14]),V(e,"container-mobile",i[8])},m(h,_){T(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,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&d(s,1)):(s=fa(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=wa(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=Sa(h),c.c(),d(c,1),c.m(e,o)):c&&(fe(),g(c,1,1,()=>{c=null}),de()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=Ea(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()),(!l||_[0]&16384)&&V(e,"hidden",!h[14]),(!l||_[0]&256)&&V(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const cr=18;function kh(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,{ref:x=void 0}=e,{supportLink:S}=e,{playerControlsHeight:z=0}=e,{returnFocus:ue}=e;const A=kt(),oe=vn(),O=A.state.currentQuality$;D(i,O,le=>t(103,w=le));const ne=A.state.availableQualities$;D(i,ne,le=>t(12,_=le));const me=A.state.autoQualityLimitingAvailable$;D(i,me,le=>t(107,k=le));const Oe=A.state.isAutoQualityEnabled$;D(i,Oe,le=>t(104,b=le));const Fe=A.state.currentPlaybackRate$;D(i,Fe,le=>t(13,v=le));const Te=A.state.availablePlaybackRates$;D(i,Te,le=>t(11,m=le));const Pe=A.state.currentSubtitle$;D(i,Pe,le=>t(37,ee=le));const pe=A.state.availableSubtitlesList$;D(i,pe,le=>t(10,c=le));const G=A.state.canDownload,re=A.state.hasMpegSources$;D(i,re,le=>t(108,M=le));const we=A.ui.settingsMenuVisible;D(i,we,le=>t(14,se=le));const ie=A.ui.settingsMenuOpenedByKeyboard;D(i,ie,le=>t(135,o=le));const Se=A.ui.isMobile;D(i,Se,le=>t(8,r=le));const Ie=A.ui.mobileNotReportControlHidden$;D(i,Ie,le=>t(105,C=le));const De=A.state.canChangePlaybackSpeed$;D(i,De,le=>t(106,y=le));const ke=A.ui.isFullscreen;D(i,ke,le=>t(111,Q=le));const ae=A.state.trafficSavingEnabled$;D(i,ae,le=>t(9,s=le));const J=A.ui.playerSize;D(i,J,le=>t(110,I=le));const j=A.ui.debugPanelVisible;D(i,j,le=>t(38,R=le));const Ae=A.ui.playerSize;D(i,Ae,le=>t(109,K=le));const et=A.state.isInteractiveTime$,ot=A.actions.internal.downloadVideo,je=A.actions.internal.closeSettingsMenu;let Me=!0,Qe=!1,st=!1,wt=!1,tt=!1,Ne=!1;function Et(){o||ue==null||ue(),je(),Ne=!1}function At(){t(15,Me=!1),t(16,Qe=!0)}function Ht(){t(15,Me=!1),t(19,tt=!0)}function Wt(le){A.actions.internal.setQuality(le),Et()}function ce(le){A.actions.internal.setTrafficSavingEnabled(le),Et()}function gt(){t(15,Me=!1),t(17,st=!0)}function dt(le){A.actions.internal.setPlaybackRate(le),Et()}function mt(){t(15,Me=!1),t(18,wt=!0)}function ut(le){A.actions.internal.setSubtitle(le),Et()}function Tt(){t(15,Me=!0),t(16,Qe=!1),t(17,st=!1),t(18,wt=!1),t(19,tt=!1)}function Xe(){ot(),Et()}function ze(){window.open(S,"_blank"),Et(),A.actions.internal.pause()}function Vt(){Cr(A.actions.internal.getDebugTextData()),Et()}function xt(){j.set(!0),Et()}function Fi(){Ne=!0}function xi(){Ne=!1}function ri(le,$e,bt){if(!le)return"...";const It=$e.find(cn=>cn.value===le),Qt=It?It.displayValue:le;return bt?le===Ao.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:Qt}):Qt}let Hi,hi,Ut,Zt,Ti,$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,ai,bi,_i=Ee(!1);D(i,_i,le=>t(102,h=le));let Nt,Li,ct=Ee(!1);D(i,ct,le=>t(101,f=le));let nt,Rt,ji=Ee(!1);D(i,ji,le=>t(100,a=le));let qi,ti,ui=Ee(!1);D(i,ui,le=>t(99,l=le));const wi=le=>{xc(le,je)},Wi=le=>Ji(this,null,function*(){wl(le,At,()=>{const $e=_.findIndex(bt=>bt.selected);return bi.childNodes[$e]})}),ii=le=>Ji(this,null,function*(){yl(le,Tt,_i,je)}),Ii=(le,$e)=>{sn(le,()=>Wt($e))},Kt=le=>Ji(this,null,function*(){wl(le,gt,()=>{const $e=m.findIndex(bt=>bt.selected);return Li.childNodes[$e]})}),Gt=le=>Ji(this,null,function*(){yl(le,Tt,ct,je)}),Mi=(le,$e)=>{sn(le,()=>dt($e))},Ct=le=>Ji(this,null,function*(){wl(le,mt,()=>{const $e=c.findIndex(bt=>bt.selected);return Rt.childNodes[$e]})}),Yt=le=>Ji(this,null,function*(){yl(le,Tt,ji,je)}),Vi=(le,$e)=>{sn(le,()=>ut($e))},Zi=le=>Ji(this,null,function*(){wl(le,Ht,()=>{const $e=s?2:0;return ti.childNodes[$e]})}),$i=le=>Ji(this,null,function*(){yl(le,Tt,ui,je)}),Bi=(le,$e)=>{sn(le,()=>ce($e))},yi=le=>{sn(le,()=>Xe())},ci=le=>{sn(le,()=>ze())},Ki=le=>{sn(le,()=>Vt())},Gi=le=>{sn(le,()=>xt())};hn(()=>{const le=et.subscribe($e=>{$e&&!r&&!Ne&&!o&&Et()});return()=>{le()}});function Ri(le){ye[le?"unshift":"push"](()=>{ai=le,t(4,ai)})}function Le(le){ye[le?"unshift":"push"](()=>{Nt=le,t(5,Nt)})}function Xi(le){ye[le?"unshift":"push"](()=>{nt=le,t(6,nt)})}function Yi(le){ye[le?"unshift":"push"](()=>{qi=le,t(7,qi)})}function Ni(le){ye[le?"unshift":"push"](()=>{x=le,t(0,x)})}function Qi(le){ye[le?"unshift":"push"](()=>{hi=le,t(1,hi)})}const ki=le=>Wt(le.value),He=(le,$e)=>Ii($e,le.value);function Ci(le){ye[le?"unshift":"push"](()=>{bi=le,t(32,bi)})}function Oi(le){ye[le?"unshift":"push"](()=>{Ut=le,t(2,Ut)})}const fi=le=>dt(le.value),Ot=(le,$e)=>Mi($e,le.value);function en(le){ye[le?"unshift":"push"](()=>{Li=le,t(33,Li)})}function dn(le){ye[le?"unshift":"push"](()=>{Zt=le,t(3,Zt)})}const di=()=>ce(!1),tn=le=>Bi(le,!1),Di=()=>ce(!0),nn=le=>Bi(le,!0);function Si(le){ye[le?"unshift":"push"](()=>{ti=le,t(35,ti)})}const an=le=>ut(le),un=(le,$e)=>Vi($e,le);function mn(le){ye[le?"unshift":"push"](()=>{Rt=le,t(34,Rt)})}return i.$$set=le=>{"ref"in le&&t(0,x=le.ref),"supportLink"in le&&t(96,S=le.supportLink),"playerControlsHeight"in le&&t(97,z=le.playerControlsHeight),"returnFocus"in le&&t(98,ue=le.returnFocus)},i.$$.update=()=>{var le,$e,bt,It;if(i.$$.dirty[0]&16384&&se&&(t(15,Me=!0),t(16,Qe=!1),t(17,st=!1),t(18,wt=!1),t(19,tt=!1)),i.$$.dirty[3]&1024&&t(36,n=zo(w)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Hi=ri(w,_,b)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&Q)t(21,Ti=`max-height: ${Math.round(I.height*.6)}px`);else if(r)t(21,Ti="");else{const Qt=K.height-cr-((le=hi==null?void 0:hi.clientHeight)!=null?le:0)-z;t(21,Ti=`max-height: ${Qt}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,$t="");else{const Qt=K.height-cr-(($e=Ut==null?void 0:Ut.clientHeight)!=null?$e:0)-z;t(22,$t=`max-height: ${Qt}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,si="");else{const Qt=K.height-cr-((bt=Zt==null?void 0:Zt.clientHeight)!=null?bt:0)-z;t(23,si=`max-height: ${Qt}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,ei=G&&M&&!C),i.$$.dirty[3]&20480&&t(25,Ei=oe.features.trafficSaving&&!C&&k),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,vi=c.length>0&&!C),i.$$.dirty[3]&12288&&t(27,Lt=!!y&&!C),i.$$.dirty[3]&4096&&t(28,Ui=!C),i.$$.dirty[0]&512&&t(29,gi=Y(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Ai=b?Y("auto_quality_option"):w),i.$$.dirty[0]&10240&&t(31,Bt=(It=m.find(Qt=>Qt.value===v))==null?void 0:It.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&_l(ai,_i,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&_l(Nt,ct,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&_l(nt,ji,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&_l(qi,ui,l)},[x,hi,Ut,Zt,ai,Nt,nt,qi,r,s,c,m,_,v,se,Me,Qe,st,wt,tt,Hi,Ti,$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,bi,Li,Rt,ti,n,ee,R,oe,O,ne,me,Oe,Fe,Te,Pe,pe,re,we,ie,Se,Ie,De,ke,ae,J,j,Ae,Et,At,Ht,Wt,ce,gt,dt,mt,ut,Tt,Xe,ze,Vt,xt,Fi,xi,_i,ct,ji,ui,wi,Wi,ii,Ii,Kt,Gt,Mi,Ct,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,S,z,ue,l,a,f,h,w,b,C,y,k,M,K,I,Q,Ri,Le,Xi,Yi,Ni,Qi,ki,He,Ci,Oi,fi,Ot,en,dn,di,tn,Di,nn,Si,an,un,mn]}class df extends _e{constructor(e){super(),be(this,e,kh,yh,ge,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},_h,[-1,-1,-1,-1,-1])}}function Ch(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Sh(i){let e,t,n;return t=new cf({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=E("span"),U(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ph(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],ariaExpanded:i[1],$$slots:{default:[Sh]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&2&&(a.ariaExpanded=l[1]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Th(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=kt(),a=s.state.currentQuality$;D(i,a,w=>t(4,r=w));const c=s.ui.settingsMenuVisible;D(i,c,w=>t(1,n=w));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;D(i,m,w=>t(3,o=w));let h;function _(w){const b=Dr(w);f(b)}function v(w){l=w,t(0,l)}return i.$$set=w=>{"ref"in w&&t(0,l=w.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,_,v]}class Ur extends _e{constructor(e){super(),be(this,e,Th,Ph,ge,{ref:0},Ch)}}function Eh(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ah extends _e{constructor(e){super(),be(this,e,null,Eh,ge,{})}}function Lh(i){let e,t;return e=new ff({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ih(i){let e,t;return e=new Ah({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Mh(i){let e,t,n,o;const r=[Ih,Lh],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Vh(i){let e,t;return e=new Pi({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:xo[Ce.KeyC],$$slots:{default:[Mh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class Rh extends _e{constructor(e){super(),be(this,e,Bh,Vh,ge,{isSubtitlesEnabled:0,click:1})}}function Nh(i){Ue(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 Ba(i){let e,t;return{c(){e=E("span"),t=Re(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&P(e)}}}function Oh(i){let e,t,n,o,r=i[2]&&Ba(i);return{c(){e=E("div"),t=E("span"),n=Re(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),V(e,"mobile",i[1])},m(l,s){T(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&xe(n,l[4]),l[2]?r?r.p(l,s):(r=Ba(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&V(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function Dh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){ye[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,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=jn(o)),i.$$.dirty&64&&t(4,c=jn(r))},[s,n,l,a,c,o,r,f]}class mf extends _e{constructor(e){super(),be(this,e,Dh,Oh,ge,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Nh)}}function zh(i){Ue(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 Fh(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=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(o,"class","wave1 v-1n5yyua"),u(o,"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",l="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){T(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(s){s&&P(e)}}}function Hh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class zl extends _e{constructor(e){super(),be(this,e,Hh,Fh,ge,{volume:1,muted:2},zh)}}function Uh(i){let e,t;const n=i[4].default,o=qn(n,i,i[3],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){T(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Zn(o,n,r,r[3],t?Wn(n,r[3],l,null):Kn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function jh(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=kt().ui.overlayContainer$;D(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)};hn(()=>(f(n),()=>c(n)));function m(h){ye[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,o,m]}class qh extends _e{constructor(e){super(),be(this,e,jh,Uh,ge,{})}}function Wh(i){Ue(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 Ra(i){let e,t;return e=new qh({props:{$$slots:{default:[Zh]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Zh(i){let e,t,n,o,r,l,s;return{c(){e=E("div"),t=E("div"),n=Re(i[1]),o=N(),r=E("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`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);`),V(e,"active",i[0])},m(a,c){T(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),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&&P(e),i[17](null)}}}function Kh(i){let e,t,n,o,r,l;const s=i[15].default,a=qn(s,i,i[18],null);let c=i[1]&&Ra(i);return{c(){e=E("div"),a&&a.c(),t=N(),c&&c.c(),n=vt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,m){T(f,e,m),a&&a.m(e,null),i[16](e),T(f,t,m),c&&c.m(f,m),T(f,n,m),o=!0,r||(l=[ve(e,"mouseenter",i[11]),ve(e,"mousemove",i[11]),ve(e,"mouseleave",i[12]),ve(e,"mousedown",i[12]),ve(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Zn(a,s,f,f[18],o?Wn(s,f[18],m,null):Kn(f[18]),null),(!o||m&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Ra(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(fe(),g(c,1,1,()=>{c=null}),de())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,it(l)}}}const kl=5;function Gh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=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=kl,C=0,y=0;const k=vn(),M=kt(),K=M.ui.playerSize;D(i,K,A=>t(21,o=A));const I=M.ui.overlayContainer$;D(i,I,A=>t(20,n=A));const Q=M.getLogger().createComponentLog("Tooltip component"),se=()=>{if(!n)return;const A=n.getBoundingClientRect(),oe=h.getBoundingClientRect(),O=oe.width,ne=_.clientWidth,me=o.width,Oe=(O-ne)/2,Fe=oe.left+c-A.left;let Te=Fe+Oe;const Pe=oe.top+f-A.top;let pe=ne/2-kl;const G=Te<dl,re=Te+ne>me-dl;G&&(Te=dl,pe=Fe+oe.width/2-2.5*kl),re&&(Te=me-dl-ne,pe=oe.left-A.left+oe.width/2-Te-kl),t(6,C=Te),t(7,y=Pe),t(5,w=pe)},ee=()=>{try{if(!n||!h)return;se(),t(0,a=!0)}catch(A){Q({message:String(A)})}},R=()=>{t(0,a=!1)},x=()=>{_&&(v||(v=window.setTimeout(ee,k.controls.hideTimeoutTooltips)),a&&ee())},S=()=>{R(),window.clearTimeout(v),v=void 0};Bl(()=>window.clearTimeout(v));function z(A){ye[A?"unshift":"push"](()=>{h=A,t(3,h)})}function ue(A){ye[A?"unshift":"push"](()=>{_=A,t(4,_)})}return i.$$set=A=>{"content"in A&&t(1,s=A.content),"active"in A&&t(0,a=A.active),"translateX"in A&&t(13,c=A.translateX),"translateY"in A&&t(14,f=A.translateY),"isFullWidthWrapper"in A&&t(2,m=A.isFullWidthWrapper),"$$scope"in A&&t(18,l=A.$$scope)},[a,s,m,h,_,w,C,y,b,K,I,x,S,c,f,r,z,ue,l]}class pf extends _e{constructor(e){super(),be(this,e,Gh,Kh,ge,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},Wh)}}function Yh(i){Ue(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 Qh(i){let e;const t=i[16].default,n=qn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Zn(n,t,o,o[21],e?Wn(t,o[21],r,null):Kn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function Xh(i){let e,t;return e=new pf({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,o){F(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Jh(i){let e;const t=i[16].default,n=qn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Zn(n,t,o,o[21],e?Wn(t,o[21],r,null):Kn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function xh(i){let e,t,n,o,r,l,s,a,c;const f=[Xh,Qh],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",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),No(()=>i[20].call(e))},m(_,v){T(_,e,v),m[t].m(e,null),i[19](e),l=Er(e,i[20].bind(e)),s=!0,a||(c=[ve(e,"pointerdown",rt(li(i[17]))),ve(e,"click",rt(li(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&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=_[6]||null))&&u(e,"aria-hidden",r)},i(_){s||(d(n),s=!0)},o(_){g(n),s=!1},d(_){_&&P(e),m[t].d(),i[19](null),l(),a=!1,it(c)}}}function $h(i,e,t){let n,o,{$$slots:r={},$$scope:l}=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=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:b=0}=e,{initialTranslateYPx:C=-18}=e;const y=kt(),k=y.ui.isMobile;D(i,k,R=>t(10,o=R));const M=y.state.graphIsOpened$;D(i,M,R=>t(15,n=R));let K;function I(R){Ro.call(this,i,R)}function Q(R){Ro.call(this,i,R)}function se(R){ye[R?"unshift":"push"](()=>{f=R,t(0,f)})}function ee(){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,l=R.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,K=n?Y("tooltip_disabled_when_graph_on"):v):t(9,K=_))},[f,m,s,c,h,_,w,b,C,K,o,k,M,a,v,n,r,I,Q,se,ee,l]}class qt extends _e{constructor(e){super(),be(this,e,$h,xh,ge,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Yh)}}function ev(i){Ue(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 tv(i){let e,t,n,o,r;return t=new lf({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}%`),No(()=>i[3].call(e)),V(e,"disabled",i[1])},m(l,s){T(l,e,s),F(t,e,null),o=Er(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&V(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),H(t),o()}}}function iv(i){let e,t;return e=new qt({props:{tooltipContent:Y(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:[tv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nv(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class ov extends _e{constructor(e){super(),be(this,e,nv,iv,ge,{videoEpisode:0,disabled:1},ev)}}function lv(i){Ue(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 Na(i,e,t){const n=i.slice();return n[2]=e[t],n}function Oa(i){let e,t,n,o,r,l,s,a,c;return{c(){e=E("div"),t=E("div"),n=E("div"),r=N(),l=E("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(l,"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}%`),V(e,"mobile",i[1])},m(f,m){T(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&V(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&V(e,"mobile",f[1])},d(f){f&&P(e)}}}function rv(i){let e,t=Jt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Oa(Na(i,t,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){T(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=Jt(o[0]);let l;for(l=0;l<t.length;l+=1){const s=Na(o,t,l);n[l]?n[l].p(s,r):(n[l]=Oa(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:Z,o:Z,d(o){o&&P(e),Vn(n,o)}}}function sv(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class av extends _e{constructor(e){super(),be(this,e,sv,rv,ge,{videoEpisodes:0,isMobile:1},lv)}}function uv(i){Ue(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 Da(i,e,t){const n=i.slice();return n[48]=e[t],n}function za(i){let e,t,n=Jt(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ha(Da(i,n,l));const r=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=E("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(l,s){T(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=Jt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Da(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=Ha(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(fe(),a=n.length;a<o.length;a+=1)r(a);de()}(!t||s[0]&32)&&V(e,"mobile",l[5]),(!t||s[0]&1048608)&&V(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),Vn(o,l)}}}function Fa(i){let e,t;return e=new ov({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[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){H(e,n)}}}function Ha(i){let e,t,n=i[48].interactive&&Fa(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=Fa(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function cv(i){let e,t,n,o,r,l;return{c(){e=E("div"),t=E("div"),o=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",l=`transform: translateX(${i[12]*100}%);`),V(r,"active-live",i[4]),V(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&V(r,"active-live",s[4]),a[0]&64&&V(r,"ads",s[6])},i:Z,o:Z,d(s){s&&P(e)}}}function fv(i){let e,t;return e=new av({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[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){H(e,n)}}}function dv(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v=i[8]&&za(i);const w=[fv,cv],b=[];function C(y,k){return y[21].length?0:1}return n=C(i),o=b[n]=w[n](i),{c(){var y;v&&v.c(),e=N(),t=E("div"),o.c(),r=N(),l=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),V(l,"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),V(t,"disabled",i[9]),V(t,"slider-dragging",i[20]),V(t,"hidden",i[2]),V(t,"slider-vertical",i[3]),V(t,"no-handle",i[10]),V(t,"square",i[7])},m(y,k){v&&v.m(y,k),T(y,e,k),T(y,t,k),b[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(_=[ve(t,"pointerdown",li(i[22])),ve(t,"pointermove",li(i[23])),ve(t,"pointerup",li(i[24])),ve(t,"pointerenter",li(i[25])),ve(t,"pointerleave",li(i[26])),ve(t,"click",rt(Ye)),ve(t,"wheel",i[27])],h=!0)},p(y,k){var K;y[8]?v?(v.p(y,k),k[0]&256&&d(v,1)):(v=za(y),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(fe(),g(v,1,1,()=>{v=null}),de());let M=n;n=C(y),n===M?b[n].p(y,k):(fe(),g(b[M],1,1,()=>{b[M]=null}),de(),o=b[n],o?o.p(y,k):(o=b[n]=w[n](y),o.c()),d(o,1),o.m(t,r)),(!m||k[0]&16)&&V(s,"active-live",y[4]),(!m||k[0]&8192&&a!==(a=`transform: translateX(${y[13]*100}%);`))&&u(l,"style",a),(!m||k[0]&1024)&&V(l,"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=(K=y[1])!=null?K:null))&&u(t,"data-testid",f),(!m||k[0]&513)&&V(t,"disabled",y[9]),(!m||k[0]&1048577)&&V(t,"slider-dragging",y[20]),(!m||k[0]&5)&&V(t,"hidden",y[2]),(!m||k[0]&9)&&V(t,"slider-vertical",y[3]),(!m||k[0]&1025)&&V(t,"no-handle",y[10]),(!m||k[0]&129)&&V(t,"square",y[7])},i(y){m||(d(v),d(o),m=!0)},o(y){g(v),g(o),m=!1},d(y){y&&(P(e),P(t)),v&&v.d(y),b[n].d(),i[42](null),h=!1,it(_)}}}function mv(i,e,t){let n,o,{className:r=""}=e,{testId:l=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:M=Ye}=e,{onHandleMove:K=Ye}=e,{onPointerUp:I=Ye}=e,{onPointerEnter:Q=Ye}=e,{onPointerMove:se=Ye}=e,{onPointerLeave:ee=Ye}=e,{onWheelUp:R=Ye}=e,{onWheelDown:x=Ye}=e,{onWheelLeft:S=Ye}=e,{onWheelRight:z=Ye}=e,{loadedProgress:ue=0}=e,{filledProgress:A=0}=e,{handleProgress:oe=0}=e,{ariaLabel:O=""}=e,{ariaValueMin:ne=void 0}=e,{ariaValueMax:me=void 0}=e,{ariaValueNow:Oe=void 0}=e,{ariaValueText:Fe=""}=e;const Te=vn();let Pe=!1,pe;function G(j){if(Pe)return;t(20,Pe=!0),k=y.getBoundingClientRect();const Ae=De(j.clientX,j.clientY);M(Ae),y.setPointerCapture(j.pointerId)}function re(j){const Ae=De(j.clientX,j.clientY),et=ke(j.clientX);se(Ae,et,k.width),Pe&&K(Ae)}function we(j){if(!Pe)return;t(20,Pe=!1);const Ae=De(j.clientX,j.clientY);I(Ae)}function ie(j){k=y.getBoundingClientRect();const Ae=De(j.clientX,j.clientY),et=ke(j.clientX);Q(Ae,et,k.width)}function Se(){ee()}function Ie(j){v&&(j.preventDefault(),j.deltaY<0?R():j.deltaY>0?x():j.deltaX>0?z():S())}function De(j,Ae){return a?Math.max(0,Math.min(1,(k.height-(Ae-k.top))/k.height)):Math.min(Math.max(j-k.x,0),k.width)/k.width}function ke(j){return Math.min(Math.max(j-k.x,0),k.width)}function ae(j,Ae){const et=Te.features.episodesClustering&&!w?Te.episodeMinWidthPc:0,ot=[];let je=0,Me=0,Qe=0;for(let tt=1;tt<_.length;tt++)Me=_[tt].time/pe*100,Me-je>et&&(ot.push({from:je,width:Math.max(0,Me-je),loadedWidth:Math.max(0,Math.min(Me,j)-je),filledWidth:Math.max(0,Math.min(Me,Ae)-je),interactive:_[tt-1].interactive,completed:_[tt-1].completed}),je=_[tt].time/pe*100,Qe++);const st={from:je,width:Math.max(0,100-je),loadedWidth:Math.max(0,Math.min(j,100)-je),filledWidth:Math.max(0,Math.min(Ae,100)-je),interactive:_[Qe].interactive,completed:_[Qe].completed};100-je<et?(Qe-=1,ot[Qe].width+=100-je,ot[Qe].loadedWidth+=Math.max(0,Math.min(j,100)-je),ot[Qe].filledWidth+=Math.max(0,Math.min(Ae,100)-je)):ot[Qe]=st;const wt=_[0].time;if(wt!==0){const tt=wt/pe*100;ot.unshift({from:0,width:tt,loadedWidth:Math.min(tt,j),filledWidth:Math.min(tt,Ae)})}return ot}function J(j){ye[j?"unshift":"push"](()=>{y=j,t(19,y)})}return i.$$set=j=>{"className"in j&&t(0,r=j.className),"testId"in j&&t(1,l=j.testId),"isHidden"in j&&t(2,s=j.isHidden),"isVertical"in j&&t(3,a=j.isVertical),"isActiveLive"in j&&t(4,c=j.isActiveLive),"isMobile"in j&&t(5,f=j.isMobile),"isAds"in j&&t(6,m=j.isAds),"squareBorders"in j&&t(7,h=j.squareBorders),"videoEpisodes"in j&&t(28,_=j.videoEpisodes),"withWheelHandler"in j&&t(29,v=j.withWheelHandler),"isInteractive"in j&&t(8,w=j.isInteractive),"disabled"in j&&t(9,b=j.disabled),"hideHandel"in j&&t(10,C=j.hideHandel),"onPointerDown"in j&&t(30,M=j.onPointerDown),"onHandleMove"in j&&t(31,K=j.onHandleMove),"onPointerUp"in j&&t(32,I=j.onPointerUp),"onPointerEnter"in j&&t(33,Q=j.onPointerEnter),"onPointerMove"in j&&t(34,se=j.onPointerMove),"onPointerLeave"in j&&t(35,ee=j.onPointerLeave),"onWheelUp"in j&&t(36,R=j.onWheelUp),"onWheelDown"in j&&t(37,x=j.onWheelDown),"onWheelLeft"in j&&t(38,S=j.onWheelLeft),"onWheelRight"in j&&t(39,z=j.onWheelRight),"loadedProgress"in j&&t(11,ue=j.loadedProgress),"filledProgress"in j&&t(12,A=j.filledProgress),"handleProgress"in j&&t(13,oe=j.handleProgress),"ariaLabel"in j&&t(14,O=j.ariaLabel),"ariaValueMin"in j&&t(15,ne=j.ariaValueMin),"ariaValueMax"in j&&t(16,me=j.ariaValueMax),"ariaValueNow"in j&&t(17,Oe=j.ariaValueNow),"ariaValueText"in j&&t(18,Fe=j.ariaValueText)},i.$$.update=()=>{var j;i.$$.dirty[0]&65536&&t(40,pe=me!=null?me:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((j=_[_.length-1])==null?void 0:j.time)<pe),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=_.length&&n&&pe?ae(ue*100,A*100):[])},[r,l,s,a,c,f,m,h,w,b,C,ue,A,oe,O,ne,me,Oe,Fe,y,Pe,o,G,re,we,ie,Se,Ie,_,v,M,K,I,Q,se,ee,R,x,S,z,pe,n,J]}class jr extends _e{constructor(e){super(),be(this,e,mv,dv,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},uv,[-1,-1])}}const En=(i,e)=>Do[i]>=Do[e],pv=(i,e)=>Do[i]<Do[e],hf=(i,e)=>Do[i]<=Do[e],hv=i=>i>Io.L?Mt.XL:i>Io.M?Mt.L:i>Io.S?Mt.M:i>Io.XS?Mt.S:Mt.XS;function vv(i){Ue(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 gv(i){let e,t;return e=new zl({props:{volume:i[4],muted:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[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){H(e,n)}}}function bv(i){let e,t;return e=new Pi({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:xo[Ce.KeyM],$$slots:{default:[gv]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ua(i){let e,t,n;return t=new jr({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]:Ye,onPointerLeave:i[3]?i[18]: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(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"),V(e,"volumeBar-vertical",i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ye),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ye),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function _v(i){let e,t,n,o,r,l;t=new pf({props:{content:i[6],translateY:-18,$$slots:{default:[bv]},$$scope:{ctx:i}}});let s=i[0]&&Ua(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){T(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[ve(e,"mouseenter",function(){In(i[3]?i[19]:Ye)&&(i[3]?i[19]:Ye).apply(this,arguments)}),ve(e,"mouseleave",function(){In(i[3]?i[20]:Ye)&&(i[3]?i[20]:Ye).apply(this,arguments)}),ve(e,"wheel",li(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=Ua(i),s.c(),d(s,1),s.m(e,null)):s&&(fe(),g(s,1,1,()=>{s=null}),de()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),H(t),s&&s.d(),r=!1,it(l)}}}function wv(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=kt(),c=vn(),f=a.state.volume$;D(i,f,ne=>t(4,n=ne));const m=a.state.muted$;D(i,m,ne=>t(23,r=ne));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(i,_,ne=>t(22,o=ne));let v=!1,w,b,C,y,k,M,K=1,I=!1;function Q(ne){K=n,h(ne)}function se(){nf(a,n,c.controls.volumeStepWheel)}function ee(){of(a,n,c.controls.volumeStepWheel)}function R(ne){h(ne)}function x(ne){const me=ne;h(me,me===0?K:me)}function S(){I=!0}function z(){I=!1,oe()}function ue(){clearTimeout(w),t(5,v=!0)}function A(){oe()}function oe(){w=window.setTimeout(()=>{I||t(5,v=!1)},c.controls.volumeBarTimeout)}function O(ne){ne.deltaY<0?se():ne.deltaY>0&&ee()}return i.$$set=ne=>{"isAudioAvailable"in ne&&t(0,l=ne.isAudioAvailable),"click"in ne&&t(1,s=ne.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,y=!l||r),i.$$.dirty[0]&4194304&&t(3,k=hf(o,Mt.S)),i.$$.dirty[0]&12&&(k?t(6,b=""):t(6,b=Y(y?"tooltip_volume":"tooltip_volume_muted")),t(7,C=Y(y?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,M=y?0:n)},[l,s,y,k,n,v,b,C,M,f,m,_,Q,se,ee,R,x,S,z,ue,A,O,o,r]}class yv extends _e{constructor(e){super(),be(this,e,wv,_v,ge,{isAudioAvailable:0,click:1},vv,[-1,-1])}}function kv(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){T(t,e,n)},d(t){t&&P(e)}}}function Cv(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){T(t,e,n)},d(t){t&&P(e)}}}function Sv(i){let e,t,n;function o(s,a){return s[0]?Cv:kv}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.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){T(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(s){s&&P(e),l.d()}}}function Pv(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class Tv extends _e{constructor(e){super(),be(this,e,Pv,Sv,ge,{isFullscreen:0})}}function Ev(i){let e,t;return e=new Tv({props:{isFullscreen:i[0]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function Av(i){let e,t;return e=new Pi({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:xo[Ce.KeyF],$$slots:{default:[Ev]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lv(i,e,t){let{isFullscreen:n=!1}=e,{click:o=Ye}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class vf extends _e{constructor(e){super(),be(this,e,Lv,Av,ge,{isFullscreen:0,click:1})}}function Iv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class qr extends _e{constructor(e){super(),be(this,e,null,Iv,ge,{})}}function Mv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class gf extends _e{constructor(e){super(),be(this,e,null,Mv,ge,{})}}function Vv(i){Ue(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 ja(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&P(e)}}}function Bv(i){let e,t,n,o,r=i[1]&&ja();var l=i[8];function s(a){return{}}return l&&(n=Nn(l,s())),{c(){r&&r.c(),e=N(),t=E("div"),n&&U(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,t,c),n&&F(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=ja(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){fe();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),de()}l?(n=Nn(l,s()),U(n.$$.fragment),d(n.$$.fragment,1),F(n,t,null)):n=null}(!o||c&2)&&V(t,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(P(e),P(t)),r&&r.d(a),n&&H(n)}}}function Rv(i){let e,t,n;function o(l){i[13](l)}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:xo[Ce.KeyK],$$slots:{default:[Bv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Nv(i,e,t){let n,o;const{fakeIsPlaying$:r}=Rl();D(i,r,y=>t(12,o=y));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=Ye}=e;const{toggle:h}=r;let _,v,w,b;function C(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=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=o!==null),i.$$.dirty&5152&&t(11,w=v?o:a),i.$$.dirty&2048&&t(7,b=Y(w?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=w?gf:qr)},t(6,_=h),[l,s,c,f,m,v,_,b,n,r,a,w,o,C]}class Wr extends _e{constructor(e){super(),be(this,e,Nv,Rv,ge,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Vv)}}function Ov(i){Ue(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 Dv(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"),V(e,"prev",i[0]),V(e,"mobile",i[1])},m(o,r){T(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&V(e,"prev",o[0]),r&2&&V(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&P(e)}}}function zv(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class Fv extends _e{constructor(e){super(),be(this,e,zv,Dv,ge,{isPrev:0,isMobile:1},Ov)}}function Hv(i){let e,t;return e=new Fv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&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){H(e,n)}}}function Uv(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[Hv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=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,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class Fl extends _e{constructor(e){super(),be(this,e,jv,Uv,ge,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function qv(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Wv extends _e{constructor(e){super(),be(this,e,null,qv,ge,{})}}function Zv(i){Ue(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function qa(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"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(l,"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(l,"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){T(a,e,c),T(a,t,c),T(a,n,c),T(a,o,c),T(a,r,c),T(a,l,c),T(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function Kv(i){let e,t,n,o=!i[0]&&qa();return{c(){e=B("svg"),t=B("path"),o&&o.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"),V(e,"mobile",i[1])},m(r,l){T(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=qa(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&V(e,"mobile",r[1])},i:Z,o:Z,d(r){r&&P(e),o&&o.d()}}}function Gv(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class Yv extends _e{constructor(e){super(),be(this,e,Gv,Kv,ge,{short:0,isMobile:1},Zv)}}function Qv(i){let e,t;return e=new Wv({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:Z,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xv(i){let e,t;return e=new Yv({props:{short:i[4],isMobile:!!i[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function Jv(i){let e,t,n,o;const r=[Xv,Qv],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function xv(i){let e,t,n;function o(l){i[13](l)}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:[Jv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $v(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=vn(),{logoLink:m,addTimeToLogoLink:h}=f,_=kt(),v=_.state.positionWithScrubbing$;D(i,v,I=>t(14,n=I));const w=_.ui.currentGridType$;D(i,w,I=>t(11,o=I));const b=_.ui.isMobile;D(i,b,I=>t(12,r=I));let C,y,k;const M=()=>{let I;if(y||!a)I=m;else{const Q=Math.round(n);if(h&&Q){const se=new URL(a);se.searchParams.append("t",V0(Q)),I=se.toString()}else I=a}c(),window.open(I,"_blank")};function K(I){l=I,t(0,l)}return i.$$set=I=>{"ref"in I&&t(0,l=I.ref),"logoClickable"in I&&t(1,s=I.logoClickable),"videoLogoUrl"in I&&t(9,a=I.videoLogoUrl),"click"in I&&t(10,c=I.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,k=(r||hf(o,Mt.L))&&y)},t(3,C=f.logoType===Oo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),t(2,y=f.logoType===Oo.VK_VIDEO),[l,s,y,C,k,v,w,b,M,a,c,o,r,K]}class bf extends _e{constructor(e){super(),be(this,e,$v,xv,ge,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function e5(i){Ue(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 t5(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"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(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"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",!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"),V(e,"connecting",i[2])},m(c,f){T(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&P(e)}}}function i5(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=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"),M=B("feBlend"),K=B("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(K,"in","SourceGraphic"),u(K,"in2","effect1_dropShadow_4085_178456"),u(K,"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(I,Q){T(I,e,Q),p(e,t),p(t,n),p(n,o),p(n,l),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,M),p(v,K)},p(I,Q){Q&2&&r!==(r=I[1]?"#2688EB":"#fff")&&u(o,"fill",r),Q&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(s,"fill",a),Q&2&&_!==(_=I[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(I){I&&P(e)}}}function n5(i){let e;function t(r,l){return r[0]?i5:t5}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function o5(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===Rn.CONNECTING),t(1,r=o===Rn.CONNECTED))},[n,r,l,o]}class l5 extends _e{constructor(e){super(),be(this,e,o5,n5,ge,{isMobile:0,state:3},e5)}}function r5(i){let e,t;return e=new l5({props:{isMobile:i[1],state:i[2]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&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){H(e,n)}}}function s5(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[r5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function a5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=Ye}=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,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===Rn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class _f extends _e{constructor(e){super(),be(this,e,a5,s5,ge,{ref:0,isMobile:1,state:2,click:3})}}function u5(i){let e,t;return e=new Gc({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function c5(i){let e,t;return e=new Pi({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Xt.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[u5]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===Xt.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function f5(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=kt(),a=s.state.playbackState$;D(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,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===Xt.PAUSED&&f()})},[o,r,l,n,m,a]}class wf extends _e{constructor(e){super(),be(this,e,f5,c5,ge,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function d5(i){Ue(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 m5(i){let e,t,n,o;const r=i[9].default,l=qn(r,i,i[8],null);return{c(){e=E("div"),t=E("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(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){T(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Zn(l,r,s,s[8],o?Wn(r,s[8],a,null):Kn(s[8]),null),(!o||a&1)&&V(t,"active",s[0]),(!o||a&2)&&V(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function p5(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!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){ye[b?"unshift":"push"](()=>{h=b,t(4,h)})}function w(b){ye[b?"unshift":"push"](()=>{m=b,t(3,m)})}return i.$$set=b=>{"active"in b&&t(0,l=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))},[l,s,c,m,h,n,a,f,r,o,v,w]}class h5 extends _e{constructor(e){super(),be(this,e,p5,m5,ge,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},d5)}}const yf=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function v5(i){Ue(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 Wa(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?b5:g5}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function g5(i){let e=(i[10].text||"")+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&P(t)}}}function b5(i){let e=Y("tooltip_episode_unfinished")+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p:Z,d(n){n&&P(t)}}}function _5(i){let e,t,n,o,r,l,s,a,c=i[10]&&Wa(i);return{c(){e=E("div"),t=E("div"),o=N(),r=E("div"),c&&c.c(),l=N(),s=E("div"),a=Re(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"),V(e,"mobile",i[1])},m(f,m){T(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),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=Wa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&xe(a,f[0]),m&2&&V(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&P(e),c&&c.d()}}}const Eo=150;function w5(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=kt().ui.rotateAlpha;D(i,h,Q=>t(11,n=Q));let _,v,w,b,C,y,k,M;function K(){let Q=s.frameWidth,se=s.frameHeight;return Q>Eo?(se=se/Q*Eo,Q=Eo):se>Eo&&(Q=Q/se*Eo,se=Eo),{width:Q,height:se}}function I(Q){let se;s.isUV?se=Math.floor(c*Q/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*Q)));const ee=Math.floor(se/s.countPerImage),R=Math.floor(se%s.countPerImage/s.countPerRow),x=se%s.countPerRow;let S=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ee===Math.floor(s.countTotal/s.countPerImage)&&(S=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&S++);let z=s.countPerRow;!s.isUV&&ee===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(z=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const ue=_*z,A=v*S,oe=-x*_,O=-R*v;return{imgSrc:s.links[ee],imgWidth:ue,imgHeight:A,imgOffsetX:oe,imgOffsetY:O}}return i.$$set=Q=>{"time"in Q&&t(0,o=Q.time),"isMobile"in Q&&t(1,r=Q.isMobile),"videoEpisodes"in Q&&t(13,l=Q.videoEpisodes),"previewThumbsData"in Q&&t(14,s=Q.previewThumbsData),"progress"in Q&&t(15,a=Q.progress),"duration"in Q&&t(16,c=Q.duration),"isInteractive"in Q&&t(2,f=Q.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:y,imgOffsetY:k}=I(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,M=yf(a,c,l))},t(3,{width:_,height:v}=K(),_,t(4,v)),[o,r,f,_,v,w,b,C,y,k,M,n,h,l,s,a,c]}class y5 extends _e{constructor(e){super(),be(this,e,w5,_5,ge,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},v5)}}function k5(i){Ue(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 C5(i){let e,t;return{c(){e=E("span"),t=Re(i[7]),u(e,"class","time v-5lzly8")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:Z,o:Z,d(n){n&&P(e)}}}function S5(i){let e,t;return e=new y5({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,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[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){H(e,n)}}}function P5(i){let e,t,n,o;const r=[S5,C5],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function T5(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[P5]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=z1(l,r[s]);return e=new h5({props:l}),n=new jr({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Y("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(at.TIMELINE),hideHandel:i[2]}}),{c(){U(e.$$.fragment),t=N(),U(n.$$.fragment)},m(s,a){F(e,s,a),T(s,t,a),F(n,s,a),o=!0},p(s,a){const c=a[0]&512?td(r,[id(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=Y("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(at.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),H(e,s),H(n,s)}}}function E5(i,e,t){let n,o,r,l,s,a,c,f,m,h,_,{showTimeline:v=!1}=e;const w=kt(),b=vn(),C=w.state.bufferedProgress$;D(i,C,J=>t(12,h=J));const y=w.state.positionWithScrubbing$;D(i,y,J=>t(39,a=J));const k=w.state.duration$;D(i,k,J=>t(1,r=J));const M=w.state.isLive$;D(i,M,J=>t(0,o=J));const K=w.state.isActiveLive$;D(i,K,J=>t(11,m=J));const I=w.ui.isMobile;D(i,I,J=>t(10,f=J));const Q=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),ee=w.state.interactiveEpisodes$;D(i,ee,J=>t(40,c=J));const R=w.state.isInteractive,x=w.state.isInteractiveTime$;D(i,x,J=>t(2,l=J));const S=w.state.isInteractiveExpectation$;D(i,S,J=>t(38,s=J));const z=w.actions.internal.correctSeekTimeToInteractive,ue=w.ui.controls.disabledControls$;D(i,ue,J=>t(13,_=J));let A,oe,O,ne,me=!1,Oe="",Fe=0,Te=0,Pe=0,pe;function G(J){return!z||!R?J:z(J*r)/r}function re(J){w.actions.internal.startScrubbing(G(J))}function we(J){l||w.actions.internal.progressScrubbing(G(J))}function ie(J){w.actions.internal.completeScrubbing(G(J)),t(34,me=!1)}function Se(J,j,Ae){ke(J,j,Ae),t(34,me=!0)}function Ie(J,j,Ae){ke(J,j,Ae),t(34,me=!0)}function De(){t(34,me=!1)}function ke(J,j,Ae){t(8,Pe=J),t(35,Fe=j),Ae&&t(36,Te=Ae),t(7,Oe=ae(J))}function ae(J){const j=jn((o?1-J:J)*r);return o?`-${j}`:j}return i.$$set=J=>{"showTimeline"in J&&t(33,v=J.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,A=R?c:Q),i.$$.dirty[0]&2&&t(4,oe=jn(r)),i.$$.dirty[1]&256&&t(5,O=jn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ne=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,pe=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:Te,translateXPx:Fe,translateYPx:R&&se?-36:-16,active:me&&v&&!pe,pointer:!b.features.timelinePreview||!se||o})},[o,r,l,A,oe,O,ne,Oe,Pe,n,f,m,h,_,b,C,y,k,M,K,I,se,ee,R,x,S,ue,re,we,ie,Se,Ie,De,v,me,Fe,Te,pe,s,a,c]}let A5=class extends _e{constructor(e){super(),be(this,e,E5,T5,ge,{showTimeline:33},k5,[-1,-1])}};function L5(i){let e,t;return e=new jr({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Y("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,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&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){H(e,n)}}}function I5(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=kt().ui.isMobile;D(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=jn(r)),i.$$.dirty&64&&t(2,c=jn(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class kf extends _e{constructor(e){super(),be(this,e,I5,L5,ge,{position:6,duration:0})}}function M5(i){Ue(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 V5(i){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){T(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:Z,o:Z,d(t){t&&P(e)}}}function B5(i){let e,t,n,o;const r=[N5,R5],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){T(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function R5(i){let e,t;return e=new A5({props:{showTimeline:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function N5(i){let e,t;return e=new kf({props:{position:i[3],duration:i[4]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&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){H(e,n)}}}function O5(i){let e,t,n,o;const r=[B5,V5],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function D5(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=kt(),h=m.state.isLive$;D(i,h,C=>t(12,n=C));const _=m.ads.duration;D(i,_,C=>t(4,l=C));const v=m.ads.position;D(i,v,C=>t(3,r=C));const w=m.ui.isMobile;D(i,w,C=>t(2,o=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,o,r,l,h,_,v,w,a,c,f,n]}class Cf extends _e{constructor(e){super(),be(this,e,D5,O5,ge,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},M5)}}function z5(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=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(o,"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(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ft(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,l){T(r,e,l),p(e,t),p(e,n),p(e,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class F5 extends _e{constructor(e){super(),be(this,e,null,z5,ge,{})}}function H5(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class U5 extends _e{constructor(e){super(),be(this,e,null,H5,ge,{})}}function j5(i){Ue(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 q5(i){let e,t,n,o;e=new F5({});function r(a,c){if(a[4]===lo.FULL)return K5;if(a[4]===lo.COUNT)return Z5}let l=r(i),s=l&&l(i);return{c(){U(e.$$.fragment),t=N(),s&&s.c(),n=vt()},m(a,c){F(e,a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),H(e,a),s&&s.d(a)}}}function W5(i){let e,t,n,o,r,l;return r=new U5({}),{c(){e=E("span"),t=Re(i[2]),n=N(),o=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,t),T(s,n,a),T(s,o,a),F(r,o,null),l=!0},p(s,a){(!l||a&4)&&xe(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),H(r)}}}function Z5(i){let e,t=i[0].length+"",n;return{c(){e=E("span"),n=Re(t),u(e,"class","text count v-1yhs2ga")},m(o,r){T(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&P(e)}}}function K5(i){let e,t;return{c(){e=E("span"),t=Re(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&4&&xe(t,n[2])},d(n){n&&P(e)}}}function G5(i){let e,t,n,o;const r=[W5,q5],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Y5(i){let e,t,n;function o(l){i[19](l)}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:[G5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Q5(i,e,t){var R,x,S;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=kt(),_=(x=(R=h.callbacks)==null?void 0:R.onEpisodeChanged)!=null?x:Ye,v=!!((S=h.callbacks)!=null&&S.onEpisodeClicked),w=h.ui.currentGridType$;D(i,w,z=>t(18,s=z));const b=h.ui.episodes.openedByKeyboard$;D(i,b,z=>t(17,l=z));const C=h.ui.episodes.panelOpened$;D(i,C,z=>t(3,r=z));const y=h.ui.isMobile;D(i,y,z=>t(6,a=z));let k;const M=z=>{var A,oe,O;if(!!((A=h.callbacks)!=null&&A.onEpisodeClicked)){const ne=Dr(z);b.set(ne),C.set(!0),(O=(oe=h.callbacks)==null?void 0:oe.onEpisodeClicked)==null||O.call(oe,ne)}};let K,I,Q;const se=(z,ue,A)=>Ji(this,null,function*(){yield Jo(),(z==null?void 0:z.getAttribute("aria-expanded"))==="false"&&ue&&!A&&(b.set(!1),z.focus())});function ee(z){k=z,t(1,k)}return i.$$set=z=>{"position"in z&&t(13,c=z.position),"duration"in z&&t(14,f=z.duration),"timeCodes"in z&&t(0,m=z.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const z=yf(n,f,m);z&&(K==null?void 0:K.text)!==z.text&&(_(z),t(15,K=z))}i.$$.dirty&32768&&t(2,o=(K==null?void 0:K.text)||""),i.$$.dirty&262144&&(En(s,Mt.XL)?t(4,I=lo.FULL):En(s,Mt.M)&&pv(s,Mt.XL)?t(4,I=lo.COUNT):t(4,I=lo.SHORT)),i.$$.dirty&4&&t(5,Q=`${Y("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&se(k,l,r)},[m,k,o,r,I,Q,a,v,w,b,C,y,M,c,f,K,n,l,s,ee]}class Sf extends _e{constructor(e){super(),be(this,e,Q5,Y5,ge,{position:13,duration:14,timeCodes:0},j5)}}function X5(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(o,r){T(o,e,r),p(e,t),p(e,n)},p:Z,i:Z,o:Z,d(o){o&&P(e)}}}class J5 extends _e{constructor(e){super(),be(this,e,null,X5,ge,{})}}function x5(i){let e,t;return e=new J5({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[x5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eg(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=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,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class Pf extends _e{constructor(e){super(),be(this,e,eg,$5,ge,{ref:0,hidden:1,disabled:2,click:3})}}function tg(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"),V(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(o,r){T(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&V(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&P(e)}}}function ig(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class ng extends _e{constructor(e){super(),be(this,e,ig,tg,ge,{isOpened:0})}}function og(i){let e,t;return e=new ng({props:{isOpened:i[3]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function lg(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[og]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rg(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!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,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=Y(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class Tf extends _e{constructor(e){super(),be(this,e,rg,lg,ge,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function sg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ef extends _e{constructor(e){super(),be(this,e,null,sg,ge,{})}}function ag(i){Ue(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 Za(i){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){T(t,e,n)},d(t){t&&P(e)}}}function ug(i){let e,t,n,o,r=i[1]&&Za();return n=new Ef({}),{c(){r&&r.c(),e=N(),t=E("div"),U(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),T(l,e,s),T(l,t,s),F(n,t,null),o=!0},p(l,s){l[1]?r||(r=Za(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&V(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),H(n)}}}function cg(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:xo[Ce.KeyK],$$slots:{default:[ug]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function fg(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=Ye}=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,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Zr extends _e{constructor(e){super(),be(this,e,fg,cg,ge,{ref:0,isMobile:1,disabled:2,className:3,click:4},ag)}}function dg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class mg extends _e{constructor(e){super(),be(this,e,null,dg,ge,{})}}function pg(i){let e,t;return e=new mg({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function hg(i){let e,t;return e=new Pi({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[pg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vg(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class Af extends _e{constructor(e){super(),be(this,e,vg,hg,ge,{hidden:0,disabled:1,click:2})}}function gg(i){Ue(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 bg(i){let e,t,n,o;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),os(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){T(r,e,l),n||(o=ve(e,"error",i[7]),n=!0)},p(r,l){l&1&&!os(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function _g(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){T(t,e,n)},p:Z,d(t){t&&P(e)}}}function wg(i){let e;function t(r,l){return r[5]?_g:bg}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function yg(i){let e,t;return e=new Pi({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[wg]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function kg(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ye}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=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===Ye),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class Lf extends _e{constructor(e){super(),be(this,e,kg,yg,ge,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},gg)}}class Ka{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 o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class If extends Ka{constructor(){super(),this.listeners||Ka.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 Cg=class{constructor(){Object.defineProperty(this,"signal",{value:new If,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){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(o){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&&(Cg.prototype[Symbol.toStringTag]="AbortController",If.prototype[Symbol.toStringTag]="AbortSignal");function Mf(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 Sg(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Mf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(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 l=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,l(a,c)])}return l(a,c)},Request:r}}const Kr=Mf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Vf=Kr?Sg({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,Pg=Kr?Vf.fetch:window.fetch;Kr?Vf.Request:window.Request;const Tg=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,Eg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Ag{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 kn,started$:new kn,paused$:new kn,resumed$:new kn,ended$:new kn,skipped$:new kn,clicked$:new kn},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};B0(Eg,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{ht(this.adsState),ht(this.playerState),ht(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Je(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(oi.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ht(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ht(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(oi.PAUSED)},this.onAdPlayed=()=>{ht(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(oi.PLAYING)},this.onAdMidrollPoint=()=>{ht(this.adman),ht(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Fn.Midroll,this.adman.start(Fn.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:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const _=this.playerState&&Je(this.playerState.vsid);_&&(h=parseInt(_,36));const v=Object.assign(Object.assign(Object.assign({dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:Tg(t,n),puid11:o?0:1,preview:m},h?{request_id:h}:{}),{duration:f}),c),w={slot:a,wrapper:l,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}ht(this.actions),ht(this.adsState),ht(this.playerState);const t=this.currentAdSection===Fn.Postroll;this.adsState.playbackState.set(oi.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(){ht(this.adsState),this.log({message:"toggle play"});const e=Je(this.adsState.playbackState);e===oi.PLAYING?this.pause():e===oi.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(){ht(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Fn.Preroll,this.adman.start(Fn.Preroll)}startPostroll(){ht(this.adman),ht(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Fn.Postroll,this.adman.start(Fn.Postroll)}play(){ht(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ht(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ht(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 Lg=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 Ig{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 o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new Bf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new Mg,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class Bf{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",o="0"){const r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class Mg{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new Bf;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let Xn,zt,fr=0,dr=!1;const Vg=(i,e,t)=>{var n;const o=i>=fr,r=i<fr,l=(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(fr=i,r&&(dr=!1),Ln(Xn)&&s(i,Xn.startTime,Xn.endTime)&&Xn.lang===e.value)return Xn;if(!Ln(zt)&&(c!=null&&c.length)&&!dr){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));zt=f&&Object.assign(Object.assign({},f),{lang:e.value}),Xn=void 0,!Ln(zt)&&c[c.length-1].endTime<i&&(dr=!0);return}else{if(s(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))return Xn=zt,zt=void 0,Xn;(o&&a(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime)||r&&l(i,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))&&(zt=void 0)}},mr={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 Cl=null;class Zo{constructor(e,t){if(!Cl){const n=new K0(e,t),o=new xn;Cl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Cl=null}})}}static getInstance(){return Cl}}const Bg=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:_,disabledControls:v,isInteractive:w,interactiveRanges:b,replayInteractive:C,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k,additionalButtons:M,looped:K=!1})=>{var I,Q,se,ee;const R=Object.assign(Object.assign({},h),{configName:[...(I=h.configName)!==null&&I!==void 0?I:[],"ui"],isAudioDisabled:r,live:Object.assign(Object.assign({},(Q=h.live)!==null&&Q!==void 0?Q:{}),{isLiveCatchUpMode:!!n})}),x=m,S=_||new E0(R);S.setLooped(K);const z=new D1,ue=new Ag(z,{loadTimeout:x.ads.loadTimeout,initTimeout:x.ads.initTimeout}),A=Zo.getInstance(),oe=kr.getInstance(),O=a==null?void 0:a.pictureInPictureApi,ne=a==null?void 0:a.annotationsApi,me=z.createComponentLog("Store");let Oe,Fe,Te={};const Pe=Pr(),pe=A?Pt(A.oneStat.vsid$):Bn(void 0),G=Ee(Yo()),re=(se=O==null?void 0:O.info.isActive$)!==null&&se!==void 0?se:new Sr(!1),we=O==null?void 0:O.info.type,ie=Ee(0),Se=Ee([]),Ie=R0(S.events.fatalError$,S.events.managedError$).subscribe(L=>Se.update(te=>[...te,L])),De=Bn(!1,L=>{const te=S.events.fatalError$.subscribe(()=>L(!0));return()=>te.unsubscribe()}),ke=L=>pi(void 0,void 0,void 0,function*(){var te;const he=Object.values(Qo).includes(L);if(x.downloadVKLanguages&&(he&&x.updateBuiltinLanguages||!Bs(L))){let Ze;try{Ze=yield D0(L,ud,cd)}catch(lt){(te=A==null?void 0:A.oneStat)===null||te===void 0||te.logError({errorType:"VKLangPack",fatal:!1}),oe==null||oe.report(lt,{errorType:"VKLangPack",fatal:!1})}Ze&&(Vs({language:L,pack:Ze,fallback:x.defaultLanguage}),ae.set(L))}Bs(L)&&ae.set(L)}),ae=Ee(i);ke(i);const J=(L,te)=>{const he=Je(ae);return Hc(he,L,te,x.defaultLanguage)},j=Ee(Be.Thumb),Ae=(()=>{const L=mi([De,j],([te,he])=>te?Be.Crashed:he);return Object.assign(Object.assign({},L),{is:te=>Je(L)===te})})(),et=(()=>{const L=Ee(new Set(v));return Object.assign(Object.assign({},L),{add:te=>{L.update(he=>new Set([...he].concat(te)))},remove:te=>{L.update(he=>{const Ve=[...he];return new Set(Array.isArray(te)?Ve.filter(Ze=>!te.includes(Ze)):Ve.filter(Ze=>Ze!==te))})},includes:te=>{const he=Je(L);return Array.isArray(te)?te.every(Ve=>he.has(Ve)):he.has(te)}})})();me({message:"create store"});const ot=L=>{me({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(S.experimental.element$.getValue()):S.initVideo(L),L.subtitles&&S.setExternalTextTracks(L.subtitles),Oe=L},je=new kn,Me=L=>je.next(L),Qe=new kn,st=new kn,wt=new kn,tt={actionRewind$:Qe,actionSeek$:st,inPiP$:re,inFullscreen$:new N0(L=>G.subscribe(te=>L.next(te))),actionSetSubtitle$:wt,nextMovie$:je};if(A){const{oneStat:L,statSubscription:te}=A;te.add(L.attachTo(S)),te.add(L.attachToUi(tt)),te.add(L.attachToAds(ue.events)),L.authorize(o).catch(he=>{me({message:`onestat auth error ${String(he)}`})})}if(oe){const L=new xn,te=(he,Ve)=>L.add(he.subscribe(Ve));if(te(S.events.managedError$,he=>{oe.logIError(he)}),te(S.events.fatalError$,he=>{oe.logIError(he,!0)}),A){const{oneStat:he}=A;te(he.experimental.error$,Ve=>{oe.logIError(Ve)})}oe.sentrySubscription.add(L)}const Ne=()=>{Tr()&&Fe&&l3(Fe)},Et=new xn().add(S.experimental.element$.subscribe(L=>{L&&(Fe=L,L.classList.add("player-media"),Ml(O)&&(O.updateVideoElement(),O.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(S.events.ended$.subscribe(()=>{var L;Ne(),(L=s==null?void 0:s.onEnded)===null||L===void 0||L.call(s)})).add(S.events.started$.subscribe(()=>pi(void 0,void 0,void 0,function*(){var L,te;Ml(O)&&(yield O==null?void 0:O.revealPictureInPicture());const he=S.info.muted$.getValue();(L=s==null?void 0:s.onStarted)===null||L===void 0||L.call(s),(te=Te.onStarted)===null||te===void 0||te.call(Te,he)}))).add(S.events.willSeek$.subscribe(({from:L,to:te})=>{var he;(he=s==null?void 0:s.onSeek)===null||he===void 0||he.call(s,L,te)})).add(S.info.position$.subscribe(L=>{var te;const he=S.info.duration$.getValue();(te=s==null?void 0:s.onTimeupdate)===null||te===void 0||te.call(s,he,L),ue.setPosition(L,he)})).add(S.events.fatalError$.subscribe(()=>{var L;(L=s==null?void 0:s.onCrashed)===null||L===void 0||L.call(s)})).add(S.info.is3DVideo$.subscribe(L=>{_t.ui.is3DVideo.set(L)})).add(S.info.isEnded$.subscribe(L=>{w&&(L?(Je(ln)&&et.add(Q1),et.add(at.PLAY_BUTTON)):et.remove(at.PLAY_BUTTON))})).add(S.info.liveTime$.subscribe(L=>{var te;(te=s==null?void 0:s.onLiveTime)===null||te===void 0||te.call(s,L)})).add(S.info.isStalled$.subscribe(L=>{var te;(te=s==null?void 0:s.onStalledChanged)===null||te===void 0||te.call(s,L)})),At=new xn,Ht=()=>{At.add(S.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(z.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},Wt=()=>{At.unsubscribe()},ce=(L,te)=>{S.startCameraManualRotation(L,te)},gt=(L=!1)=>{S.stopCameraManualRotation(L)},dt=(L,te,he)=>{S.moveCameraFocusPX(L,te,he)},mt=()=>{S.holdCamera()},ut=()=>{S.releaseCamera()},Tt=Bn(S.info.position$.getValue(),L=>{let te,he;const Ve=()=>{const Ze=S.info.playbackState$.getValue(),lt=S.info.isLive$.getValue(),St=S.info.duration$.getValue(),pt=S.info.position$.getValue();if([Xt.PLAYING,Xt.PAUSED].includes(Ze)){const zi=lt?pt-St:S.getExactTime();zi!==he&&L(zi),he=zi}te=requestAnimationFrame(Ve)};return Ve(),()=>cancelAnimationFrame(te)}),Xe=Pt(re),ze=Pt(S.info.playbackState$),Vt=Pt(S.info.currentBuffer$),xt=Pt(S.info.isEnded$),Fi=Pt(S.info.isLive$),xi=x.features.playbackRate?Pt(S.info.canChangePlaybackSpeed$):Bn(!1),ri=Pt(S.info.liveBufferTime$),Hi=Pt(S.info.volume$),hi=Pt(S.info.muted$),Ut=$1(S.info.autoQualityLimits$.pipe(O0(({max:L})=>L!==void 0)),((ee=S.info.autoQualityLimits$.getValue())===null||ee===void 0?void 0:ee.max)!==void 0),Zt=Pt(S.info.autoQualityLimitingAvailable$),Ti=Pt(S.info.availableQualities$),$t=Pt(S.info.availableQualitiesFps$),si=Pt(S.info.chromecastState$),ei=Pt(S.info.chromecastDeviceName$),Ei=Pt(S.info.currentFormat$),vi=Pt(S.info.throughputEstimation$),Lt=Pt(S.info.videoBitrate$),Ui=Pt(S.info.intrinsicVideoSize$),gi=Pt(S.info.duration$),Ai=Pt(S.info.isAudioAvailable$);let Bt=null;const ai=S.info.isBuffering$,bi=Bn(ai.getValue(),L=>{const te=ai.subscribe(he=>{he&&Bt===null?Bt=window.setTimeout(()=>{L(ai.getValue()),Bt=null},x.loaderDelay):L(he)});return()=>{te.unsubscribe(),Bt&&clearTimeout(Bt)}}),_i=()=>{Bt&&clearTimeout(Bt),Bt=null},Nt=mi([gi,Fi],([L,te])=>te?-L:L),Li=mi([ze],([L])=>L===Xt.PLAYING),ct=Pt(S.info.atLiveEdge$),nt=Pt(S.info.atLiveDurationEdge$),Rt=Pt(S.info.position$),ji=mi([Rt,gi],([L,te])=>isFinite(L)&&isFinite(te)&&!!te),qi=mi([si],([L])=>L===Rn.CONNECTED),ti=Ee(void 0),ui=Pt(S.info.isAutoQualityEnabled$,L=>L&&ti.set(void 0)),wi=Pt(S.info.currentQuality$,()=>ti.set(void 0)),Wi=mi([ti,wi],([L,te])=>L!=null?L:te),ii=mi([Ti,$t,ui,Wi,Ei],([L,te,he,Ve,Ze])=>{const lt=[];Ze!==qo.MPEG&<.push({value:Bo.AUTO,displayValue:J("auto_quality_option"),selected:he});const St=L.filter(pt=>pt!==Sl.INVARIANT);for(const pt of St){const zi=te[pt],no=pt===Sl.INVARIANT?J("auto_quality_option"):pt;lt.push({value:pt,displayValue:`${no}${zi?Lg(zi):""}`,selected:he?!1:pt===Ve})}return lt}),Ii=Pt(S.info.currentPlaybackRate$),Kt=mi([Ii,ct,nt],([L,te,he])=>{const Ve=he||w?1:x.controls.playbackRateMin,Ze=te?1:x.controls.playbackRateMax,lt=x.controls.playbackRateStep,St=[];for(let pt=Ve;pt<=Ze;pt+=lt)St.push({value:pt,displayValue:pt===1?J("playback_rate_1"):J("playback_rate",{multiplier:pt.toString(10)}),selected:L===pt});return St}),Gt=x.features.subtitles?Pt(S.info.availableTextTracks$):Bn([]),Mi=mi([Gt],([L],te)=>{const he=[],Ve=[];for(const Ze of L)Ze.url&&he.push(Pg(Ze.url));Promise.allSettled(he).then(Ze=>{for(const[lt,St]of Ze.entries())St.status==="fulfilled"&&St.value.text().then(pt=>{const zi=new Ig,no=L[lt].language,Uo=!!L[lt].isAuto,ll=zi.parse(pt);no&&ll&&Ve.push({lang:no,subtitles:ll,isAuto:Uo}),lt===Ze.length-1&&te(Ve)})})}),Ct={displayValue:J("subtitles_off"),value:"off"},Yt=Ee(Object.assign({},Ct)),Vi=mi([Mi,Yt,Mi],([L,te])=>{if((L==null?void 0:L.length)>0){const he=[Object.assign(Object.assign({},Ct),{selected:(te==null?void 0:te.value)===Ct.value})];for(const{lang:Ve,isAuto:Ze}of L)mr[Ve]&&he.push({displayValue:Ze?J("subtitles_auto",{language:mr[Ve]}):mr[Ve],value:Ve,selected:(te==null?void 0:te.value)===Ve,isAuto:Ze});return he}else return[]}),Zi=mi([Tt,Yt,Mi],([L,te,he])=>{if(te&&te.value!==Ct.value)return Vg(L,te,he)}),$i=mi([Zi],([L])=>L!=null&&L.texts?L.texts:[]),Bi=Ee(!0),yi=mi([Vt,Nt,Rt,ri],([L,te,he,Ve])=>{var Ze;const lt=(Ze=L==null?void 0:L.end)!==null&&Ze!==void 0?Ze:0;if(!Ve)return lt/te;const pt=-he+Ve-te;return(lt-pt)/te}),ci=Pt(S.info.availableSources$),Ki=mi([ci],([L])=>Object.keys((L==null?void 0:L[qo.MPEG])||{}).length>0),Gi=()=>{var L,te,he;const Ve=Object.keys(((te=(L=S.info.availableSources$)===null||L===void 0?void 0:L.getValue())===null||te===void 0?void 0:te[qo.MPEG])||{}),Ze=z0(Ve)||Sl.Q_144P;return(he=Oe.sources[qo.MPEG])===null||he===void 0?void 0:he[Ze]},Ri=()=>{var L;const te=Gi();te?_d(te,((L=Oe==null?void 0:Oe.meta)===null||L===void 0?void 0:L.title)||"video"):me({message:"There is no URL for download video"})},Le=()=>{me({message:"toggle muted"});const L=S.info.muted$.getValue(),Ve=!(S.info.volume$.getValue()===0||L);ki(Ve)},Xi=()=>{_t.ui.settingsMenuVisible.set(!1)},Yi=L=>{_t.ui.settingsMenuOpenedByKeyboard.set(!!L),_t.ui.settingsMenuVisible.set(!0)},Ni=L=>{Je(_t.ui.settingsMenuVisible)?Xi():Yi(L)},Qi=(L,te=L,he=!1)=>{var Ve,Ze,lt;const St=!he,pt=S.info.muted$.getValue();me({message:`set volume, volume: ${L}, preferredVolume: ${te}, internalCall: ${St}`}),S.setVolume(L),ue.setVolume(L),St&&((Ve=s==null?void 0:s.onVolumeChange)===null||Ve===void 0||Ve.call(s,L)),ss(te),pt?(S.setMuted(!1),St&&((Ze=s==null?void 0:s.onUnmute)===null||Ze===void 0||Ze.call(s)),Zl(!1)):!pt&&L===0&&(S.setMuted(!0),St&&((lt=s==null?void 0:s.onMute)===null||lt===void 0||lt.call(s)),Zl(!0))},ki=(L,te=!1)=>{var he,Ve,Ze,lt;const St=!te,pt=S.info.volume$.getValue();if(me({message:`set muted, currentVolume: ${pt}, mute: ${L}, internalCall: ${St}`}),S.setMuted(L),ue.setVolume(L?0:pt),Zl(L),St&&(L?(he=s==null?void 0:s.onMute)===null||he===void 0||he.call(s):(Ve=s==null?void 0:s.onUnmute)===null||Ve===void 0||Ve.call(s)),pt===0){let zi=(Ze=oc())!==null&&Ze!==void 0?Ze:x.volumeDefault;zi===0&&(zi=x.volumeMinRestore,ss(zi)),S.setVolume(zi),ue.setVolume(zi),St&&((lt=s==null?void 0:s.onVolumeChange)===null||lt===void 0||lt.call(s,zi))}},He=()=>{S.prepare()},Ci=()=>{var L,te;if(ht(_t),!Je(_t.ui.controls.disabledControls$).has(at.PLAY_BUTTON)){if(me({message:"toggle play"}),Je(_t.playerPhase)===Be.Ads){ue.togglePlay();return}if(S.info.playbackState$.getValue()!==Xt.PLAYING){if(S.info.isEnded$.getValue()){if(me({message:"toggle play, video ended, seek to 0"}),Qe.next(),st.next(jt.REWIND),w){C==null||C();return}S.seekTime(0)}me({message:"toggle play, call player.play"}),S.play(),(L=s==null?void 0:s.onPlay)===null||L===void 0||L.call(s)}else me({message:"toggle play, call player.pause"}),S.pause(),(te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)}},Oi=L=>{me({message:`set quality, quality: ${L}`}),S.setAutoQuality(L===Bo.AUTO),L!==Bo.AUTO?(wd(e,L),ti.set(L),S.setQuality(L)):lc()},fi=L=>{me({message:`set trafficSavingEnabled, value: ${L}`}),S.setAutoQualityLimits({max:L?x.trafficSavingLimit:void 0}),Cd(L)},Ot=L=>{S.setPlaybackRate(L)},en=()=>{const L=Je(Kt),te=L.findIndex(({selected:Ve})=>Ve);if(te===L.length-1)return;const he=L[te+1];Ot(he.value)},dn=()=>{const L=Je(Kt),te=L.findIndex(({selected:Ve})=>Ve);if(te===0)return;const he=L[te-1];Ot(he.value)},di=L=>{L&&L.value!==Ct.value&&wt.next(L.isAuto?L.value+"_auto":L.value),Yt.set(L)},tn=()=>{const L=Je(Vi),te=Je(Yt),he=Je(ae);if((te==null?void 0:te.value)===Ct.value){const Ve=L.filter(Ze=>Ze.value!==Ct.value).find(Ze=>Ze.value===he)||L[1];di(Ve!=null?Ve:Object.assign({},Ct))}else di(Object.assign(Object.assign({},Ct),{selected:!1}))},Di=(L,te,he=!0)=>{if(me({message:`seek to time, time: ${L}`}),st.next(te),S.info.isLive$.getValue()){const Ve=S.info.duration$.getValue(),Ze=Math.min(0,Ve+L);S.seekTime(Ze,he)}else{if(Je(ln))return;S.seekTime(rn(L),he)}},nn=L=>{me({message:`seek to episode start time: ${L}`}),Di(L,jt.EPISODE,!0)},Si=(L,te)=>{me({message:`seek to percent, percent: ${L}`});const he=Math.round(Je(Nt)*L);Di(he,te,!1)},an=L=>{me({message:`seek external, time: ${L}`}),st.next(jt.UNKNOWN),S.seekTime(S.info.isLive$.getValue()?-L:L)},un=L=>{var te,he;me({message:`set auto quality limitation. Max: ${(te=L.max)!==null&&te!==void 0?te:"none"}. Min: ${(he=L.min)!==null&&he!==void 0?he:"none"}`}),S.setAutoQualityLimits(L)},mn=L=>{me({message:`seek external to episode start time: ${L}`}),Di(L,jt.EPISODE,!0)},le=L=>{me({message:`set playback rate to: ${L}`}),S.setPlaybackRate(L)},$e=Ee(void 0),bt=Ee(!1),It=L=>{me({message:`start scrubbing, progress: ${L}`}),bt.set(!0),Qt(L)},Qt=L=>{$e.set(L)};let cn,gn;const Dt=()=>{$e.set(void 0),bt.set(!1)},pn=()=>{clearTimeout(gn),clearTimeout(cn),cn=window.setTimeout(()=>{Dt()},500),Fe==null||Fe.removeEventListener("seeked",pn)},bn=L=>{me({message:`complete scrubbing, progress: ${L}`}),Si(L,jt.SLIDER),Je(_t.ui.isMobile)&&Je(_t.state.currentFormat$)===qo.HLS?(Fe==null||Fe.addEventListener("seeked",pn),gn=window.setTimeout(()=>{pn()},300)):Dt()},Cn=mi([Tt,Nt,$e],([L,te,he],Ve)=>{Ve(Ln(he)?he*te:L)}),Sn=Ee({width:0,height:0}),_n=mi([Sn],([{width:L}],te)=>{const he=hv(L);te(he)}),X=Ee(!1),ft=mi([_n,X],([L,te])=>te?M.filter(he=>!he.hideOnMobile):M.filter(he=>{var Ve;return!(!((Ve=he.hideOnDesktopGridTypes)===null||Ve===void 0)&&Ve.includes(L))})),$=mi([X,De],([L,te],he)=>{he(L&&te)}),on=()=>{st.next(jt.LIVE),me({message:"switch to active live"}),S.seekTime(0),S.info.playbackState$.getValue()!==Xt.PLAYING&&_t.actions.internal.togglePlay()},wn=()=>ue.skip(),yn=(L=!0)=>{ht(_t),me({message:`switch from ads to video, callPlay: ${L}`}),j.set(Be.Video),L&&S.play()},ao=()=>{ht(_t),me({message:"switch from video to ads"}),_t.actions.internal.pause(),Ne(),j.set(Be.Ads)},uo=L=>{ht(_t);const te=L?Be.WaitingLive:Be.Thumb;j.set(te)},co=L=>{ht(_t);const te=L?Be.WaitingRecord:Be.Thumb;j.set(te)},fo=()=>(ht(_t),gd(S,Oe,_t)),mo=()=>(ht(_t),bd(S,Oe,_t)),po=()=>Fe,Fo=()=>{me({message:"toggle chromecast"}),S.toggleChromecast()},ho=L=>{var te;ht(_t);const he=!L;if(Je(_t.playerPhase)===Be.Ads){me({message:`pause ads, internalCall: ${he}`}),ue.pause();return}me({message:`pause video, internalCall: ${he}`}),he&&((te=s==null?void 0:s.onPause)===null||te===void 0||te.call(s)),S.pause()},Pn=L=>{var te;ht(_t);const he=!L;if(Je(_t.playerPhase)===Be.Ads){me({message:`play ads, internalCall: ${he}`}),ue.play();return}me({message:`play video, internalCall: ${he}`}),he&&((te=s==null?void 0:s.onPlay)===null||te===void 0||te.call(s)),S.play()},Yn=(L,te)=>{ht(_t),me({message:`first start, show ads: ${L}, internalCall: ${!te}`}),L?j.set(Be.Ads):(j.set(Be.Video),te?S.play():_t.actions.internal.togglePlay())},Qn=()=>(me({message:"getting time codes"}),c),On=()=>{const L=Qn();if(!L||[0,1].includes(L.length))return;const te=S.info.position$.getValue();return L.find(he=>he.time>te)},vo=L=>{let te=L;te||(te=On()),te&&(me({message:"seek to next episode"}),Di(te.time,jt.EPISODE,!0))},go=()=>{const L=Qn();if(!L||[0,1].includes(L.length))return;const te=S.info.position$.getValue(),he=L.findIndex(Ze=>Ze.time>te),Ve=he===-1?L.length-2:he-2;if(!(Ve<0))return L[Ve]},bo=L=>{let te=L;te||(te=go()),te&&(me({message:"seek to prev episode"}),Di(te.time,jt.EPISODE,!0))},Ho=()=>(me({message:"getting preview thumbs data"}),f),_o=()=>pi(void 0,void 0,void 0,function*(){O!=null&&O.isActive()?yield O==null?void 0:O.remove():yield O==null?void 0:O.request()}),to=(L=-90)=>{ie.update(te=>te+L)},Dn=Ee(b),io=mi([Dn],([L=[]])=>{const te=[];for(let he=0;he<L.length;he++){const{range:[Ve,Ze],subjects:lt}=L[he];he===0&&Ve!==0&&te.push({time:0,text:"",interactive:!1,completed:!0}),te.push({time:Ve/1e3,text:"",interactive:!0,completed:!lt.length}),Ze!==1/0&&te.push({time:Ze/1e3,text:"",interactive:!1,completed:!0})}return te}),q=L=>{const te=Je(Dn);Dn.set(te.map(he=>Object.assign(Object.assign({},he),{subjects:he.subjects.filter(Ve=>Ve!==L)})))},yt=Ee(!1),ln=mi([Rt,Dn,yt],([L,te,he])=>{if(!w)return!1;if(he)return!0;const Ve=L*1e3,Ze=te==null?void 0:te.find(({range:[lt,St],subjects:pt})=>lt<Ve&&Ve<St&&pt.length);return Ze&&Je(bt)&&Dt(),!!Ze}),rn=L=>{if(!w)return L;const te=Je(io),he=Je(Nt),Ze=Je(Rt)/he,lt=te.find(St=>St.interactive&&!St.completed&&St.time>Ze);return typeof(lt==null?void 0:lt.time)=="number"?Math.min(L,lt.time-.05):L},zn=()=>{_t.ui.episodes.panelOpened$.set(!1)},wo=()=>{clearTimeout(gn),clearTimeout(cn),Et.unsubscribe(),At.unsubscribe(),S.destroy(),ue.destroy(),A==null||A.destroy(),oe==null||oe.destroy(),Ie.unsubscribe()},_t={interfaceLanguage$:ae,initVideo:ot,videoId:e,isClip:t,playerPhase:Ae,vsid:pe,state:{positionExact$:Tt,positionWithScrubbing$:Cn,duration$:Nt,playbackState$:ze,isPlaying$:Li,isLoaderVisible:bi,bufferedProgress$:yi,isLive$:Fi,canChangePlaybackSpeed$:xi,isActiveLive$:ct,isOldestAvailableLive$:nt,isRewindableLive$:ji,isEnded$:xt,muted$:hi,volume$:Hi,trafficSavingEnabled$:Ut,autoQualityLimitingAvailable$:Zt,currentQuality$:Wi,isAutoQualityEnabled$:ui,availableQualities$:ii,currentPlaybackRate$:Ii,availablePlaybackRates$:Kt,currentSubtitle$:Yt,availableSubtitlesList$:Vi,currentSubtitleCaptions$:$i,isAutoSubtitleCaptionVisible$:Bi,chromecastState$:si,chromecastDeviceName$:ei,chromecastConnected$:qi,currentFormat$:Ei,throughputEstimation$:vi,videoBitrate$:Lt,videoSize$:Ui,errorLog$:Se,crashed$:De,isAudioAvailable$:Ai,isAudioDisabled:!!r,canDownload:x.features.download&&!!l,availableSources$:ci,hasMpegSources$:Ki,isInteractive:w,isInteractiveGraphEnabled:x.features.interactiveGraph,isSeekToInteractiveEnable:x.features.seekToInteractive,isPlayPrevChapterEnabled:x.features.interactivePlayPrevChapter,interactiveEpisodes$:io,isInteractiveTime$:ln,graphIsOpened$:Ee(!1),isInteractiveExpectation$:yt,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:k},ui:{controlsVisible:Ee(!1),touched:Ee(!1),controls:{prevButton:Ee(void 0),playButton:Ee(void 0),replayButton:Ee(void 0),nextButton:Ee(void 0),playPrevChapterButton:Ee(void 0),seekToInteractiveButton:Ee(void 0),interactiveGraphButton:Ee(void 0),liveButton:Ee(void 0),time:Ee(void 0),episodes:Ee(void 0),volume:Ee(void 0),subtitles:Ee(void 0),settings:Ee(void 0),context:Ee(void 0),chromecast:Ee(void 0),pip:Ee(void 0),fullscreen:Ee(void 0),vkLogo:Ee(void 0),additionalButtons:M.length?M.reduce(L=>[...L,Ee(void 0)],[]):[],disabledControls$:et},modals:{hotKeyMap:{show:Ee(!1),data:Ee({title:"",closeBtnText:"",groups:[]})}},isFullscreen:G,rotateAlpha:ie,isAutoplay:Ee(!1),contextMenuVisible:Ee(!1),debugPanelVisible:Ee(!1),episodes:{panelOpened$:Ee(!1),openedByKeyboard$:Ee(!1)},contextMenu:{btnRef$:Ee(void 0),openedByKeyboard$:Ee(!1),showContextMenuBtn$:Ee(!1)},playerSize:Sn,isMobile:X,mobileNotReportControlHidden$:$,mobileUnmuteButtonExpanded:Ee(!1),mobileUnmuteButtonVisible:Ee(!1),icon3DVideoVisible:Ee(!1),settingsMenuVisible:Ee(!1),settingsMenuOpenedByKeyboard:Ee(!1),scrubbingInProgress:bt,is3DVideo:Ee(!1),isPictureInPictureActive$:Xe,pictureInPictureType$:Bn(we),clientInfo$:Bn(Pe),currentGridType$:_n,additionalButtons$:ft,interactiveHideMobileControls:Ee(!1),overlayContainer$:Ee(void 0),startedByKeyboard$:Ee(!1)},ads:{position:Ee(0),duration:Ee(0),playbackState:Ee(oi.INACTIVE),canSkip:Ee(!1),secondsToWatchBeforeSkip:Ee(0),postrollPassed:Ee(!1)},webApi:{pictureInPictureApi:O,annotationsApi:ne},actions:{internal:{preload:He,firstStart:L=>Yn(L,!1),pause:()=>ho(!1),togglePlay:Ci,toggleMuted:Le,toggleSettingsMenu:Ni,openSettingsMenu:Yi,closeSettingsMenu:Xi,setVolume:Qi,setQuality:Oi,setTrafficSavingEnabled:L=>fi(L),setPlaybackRate:Ot,incrementPlaybackRate:en,decrementPlaybackRate:dn,setSubtitle:di,toggleSubtitle:tn,togglePictureInPicture:_o,startScrubbing:It,progressScrubbing:Qt,completeScrubbing:bn,toggleChromecast:Fo,switchToActiveLive:on,switchFromAdsToVideo:yn,switchFromVideoToAds:ao,skipAd:wn,setWaitingLive:uo,setWaitingRecord:co,getDebugTextData:fo,getDebugPanelData:mo,getVideoElement:po,seekTime:(L,te,he)=>Di(L,te,he),clearDelayedBufferingCheckTimeout:_i,seekEpisodeStartTime:nn,seekToPercent:Si,getNextEpisode:On,seekToNextEpisode:vo,getPrevEpisode:go,seekToPrevEpisode:bo,startLogging:Ht,stopLogging:Wt,startCameraManualRotation:ce,stopCameraManualRotation:gt,moveCameraFocusPX:dt,holdCamera:mt,releaseCamera:ut,getVideoEpisodes:Qn,getPreviewThumbsData:Ho,downloadVideo:Ri,addLanguage:Vs,setLanguage:ke,nextMovie:Me,videoRotate:to,completeInteractiveRange:q,correctSeekTimeToInteractive:rn,replayInteractive:C},external:{firstStart:L=>Yn(L,!0),play:()=>Pn(!0),pause:()=>ho(!0),seekTime:L=>an(L),seekEpisodeStartTime:L=>mn(L),setPlaybackRate:L=>le(L),setAutoQualityLimits:L=>un(L),setMuted:L=>ki(L,!0),setVolume:L=>Qi(L,L,!0),returnFocusToEpisodes:zn}},callbacks:s,setUiCallbacks:L=>{Te=Object.assign({},L)},getAdmanWrapper:()=>ue,getLogger:()=>z,destroy:wo};return _t},Rf=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}},Nf=(i,e,t)=>pi(void 0,void 0,void 0,function*(){yield Jo(),e&&t&&(t.focus(),i.set(!1))});function Rg(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class Ng extends _e{constructor(e){super(),be(this,e,null,Rg,ge,{})}}function Og(i){let e,t;return e=new Ng({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Dg(i){let e,t,n;function o(l){i[8](l)}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:[Og]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8&&(a.ariaExpanded=l[3]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function zg(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=kt(),s=l.ui.contextMenuVisible;D(i,s,b=>t(3,n=b));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=b=>{const C=Dr(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,o=b.disabled),"ariaLabel"in b&&t(1,r=b.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,_,v,w]}class Fg extends _e{constructor(e){super(),be(this,e,zg,Dg,ge,{disabled:0,ariaLabel:1})}}function Hg(i){Ue(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 Ga(i,e,t){const n=i.slice();return n[205]=e[t].iconUrl,n[206]=e[t].ariaLabel,n[207]=e[t].testId,n[208]=e[t].onClick,n[209]=e[t].tooltip,n}function Ya(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[Ug]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ug(i){let e,t;return e=new Fl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[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){H(e,n)}}}function Qa(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[74],tooltipContent:Y("tooltip_restart"),$$slots:{default:[jg]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&4096&&(a.disabled=l[74]),s[2]&4096|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jg(i){let e,t;return e=new Zr({props:{click:i[127],disabled:i[74]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xa(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[75],$$slots:{default:[qg]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&8192&&(a.disabled=l[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qg(i){let e,t,n;function o(l){i[173](l)}let r={isMobile:!1,isPlaying:i[34],click:i[86],disabled:i[75]};return i[26]!==void 0&&(r.ref=i[26]),e=new Wr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8&&(a.isPlaying=l[34]),s[2]&8192&&(a.disabled=l[75]),!t&&s[0]&67108864&&(t=!0,a.ref=l[26],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ja(i){let e,t,n;function o(l){i[175](l)}let r={disabled:!i[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[Wg]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wg(i){let e,t;return e=new Fl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[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){H(e,n)}}}function Zg(i){let e,t,n,o,r=i[121]&&Kg(i),l=i[120]&&Yg(i),s=i[119]&&Xg(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=vt()},m(a,c){r&&r.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&l.p(a,c),a[119]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Kg(i){let e,t,n;function o(l){i[176](l)}let r={disabled:i[73],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(i[123]),$$slots:{default:[Gg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[0]&131072|s[2]&2048|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Gg(i){let e,t;return e=new Af({props:{disabled:i[73],click:i[17]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),o[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){H(e,n)}}}function Yg(i){let e,t,n;function o(l){i[177](l)}let r={disabled:i[76],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(i[79]),$$slots:{default:[Qg]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&16384&&(a.disabled=l[76]),s[2]&131072&&(a.disabledTooltipContent=Y(l[79])),s[0]&32768|s[2]&16384|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Qg(i){let e,t;return e=new Pf({props:{disabled:i[76],click:i[15]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&16384&&(r.disabled=n[76]),o[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){H(e,n)}}}function Xg(i){let e,t,n;function o(l){i[178](l)}let r={tooltipContent:i[48],disabled:i[77],$$slots:{default:[Jg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.tooltipContent=l[48]),s[2]&32768&&(a.disabled=l[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Jg(i){let e,t;return e=new Tf({props:{click:i[16],graphIsOpened:i[31],disabled:i[77]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[1]&1&&(r.graphIsOpened=n[31]),o[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xa(i){let e,t,n;function o(l){i[179](l)}let r={tooltipContent:i[50],$$slots:{default:[xg]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&524288&&(a.tooltipContent=l[50]),s[0]&2097152|s[1]&524288|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function xg(i){let e,t;return e=new wf({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[50]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[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){H(e,n)}}}function $a(i){let e,t,n;function o(l){i[180](l)}let r={isMobile:!1,showDuration:i[55],position:i[4]?i[80]:i[81],duration:i[4]?i[82]:i[83]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new mf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16777216&&(a.showDuration=l[55]),s[0]&16|s[2]&786432&&(a.position=l[4]?l[80]:l[81]),s[0]&16|s[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function eu(i){let e,t;return e=new Sf({props:{position:i[81],duration:i[83],timeCodes:i[102]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&524288&&(r.position=n[81]),o[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $g(i){let e,t,n=i[20]&&eu(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=eu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function eb(i){var n;let e,t;return e=new Lf({props:{iconUrl:i[205],ariaLabel:(n=i[206])!=null?n:i[209],testId:i[207],onClick:i[208]}}),{c(){U(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&268435456&&(l.iconUrl=o[205]),r[0]&268435456&&(l.ariaLabel=(s=o[206])!=null?s:o[209]),r[0]&268435456&&(l.testId=o[207]),r[0]&268435456&&(l.onClick=o[208]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function tu(i){let e,t;return e=new qt({props:{tooltipContent:i[209],width:40,$$slots:{default:[eb]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function iu(i){let e,t,n;function o(l){i[183](l)}let r={disabled:!i[6],tooltipContent:i[51],$$slots:{default:[tb]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&192|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tb(i){let e,t;return e=new bf({props:{click:i[87],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[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){H(e,n)}}}function ib(i){let e,t;return e=new yv({props:{isAudioAvailable:i[78],click:i[126]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&65536&&(r.isAudioAvailable=n[78]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function nu(i){let e,t,n;function o(l){i[185](l)}let r={tooltipContent:i[52],$$slots:{default:[nb]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function nb(i){let e,t;return e=new Rh({props:{isSubtitlesEnabled:i[18],click:i[88]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[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){H(e,n)}}}function ou(i){var s;let e,t,n,o;function r(a){i[186](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[46])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new df({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),F(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(m=a[46])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),H(t)}}}function lu(i){let e,t,n;function o(l){i[188](l)}let r={tooltipContent:i[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[ob]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&134217728&&(a.tooltipContent=l[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ob(i){let e,t,n;function o(l){i[187](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lb(i){let e,t,n;function o(l){i[189](l)}let r={className:i[41]?"":"out-of-view",tooltipContent:i[49],$$slots:{default:[rb]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&1024&&(a.className=l[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=l[49]),s[1]&262144|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rb(i){let e,t;return e=new Fg({props:{ariaLabel:i[49]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ru(i){let e,t,n;function o(l){i[190](l)}let r={tooltipContent:i[53],$$slots:{default:[sb]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&1073750016|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sb(i){let e,t;return e=new vf({props:{click:i[13],isFullscreen:i[30]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[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){H(e,n)}}}function su(i){let e,t,n;function o(l){i[191](l)}let r={tooltipContent:i[54],$$slots:{default:[ab]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.tooltipContent=l[54]),s[0]&536870912|s[6]&67108864&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ab(i){let e,t;return e=new _f({props:{isMobile:!1,state:i[29],click:i[125]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[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){H(e,n)}}}function ub(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S;t=new Cf({props:{isHidden:!i[45],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[32]}});let z=i[38]&&Ya(i),ue=i[35]&&Qa(i),A=i[36]&&Xa(i),oe=i[37]&&Ja(i),O=i[118]&&Zg(i),ne=!i[4]&&i[33]&&xa(i),me=i[19]&&$a(i);function Oe(J){i[181](J)}let Fe={className:"w-max",disabled:!i[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[$g]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(Fe.ref=i[23].episodes),_=new qt({props:Fe}),ye.push(()=>We(_,"ref",Oe));let Te=Jt(i[28]),Pe=[];for(let J=0;J<Te.length;J+=1)Pe[J]=tu(Ga(i,Te,J));const pe=J=>g(Pe[J],1,1,()=>{Pe[J]=null});let G=i[43]&&iu(i);function re(J){i[184](J)}let we={$$slots:{default:[ib]},$$scope:{ctx:i}};i[23].volume!==void 0&&(we.ref=i[23].volume),M=new qt({props:we}),ye.push(()=>We(M,"ref",re));let ie=i[40]&&nu(i),Se=!i[84]&&!i[4]&&ou(i),Ie=i[42]&&lu(i),De=i[85].features.contextMenuButton&&lb(i),ke=i[44]&&ru(i),ae=i[39]&&su(i);return{c(){e=E("div"),U(t.$$.fragment),n=N(),o=E("div"),r=E("div"),z&&z.c(),l=N(),ue&&ue.c(),s=N(),A&&A.c(),a=N(),oe&&oe.c(),c=N(),O&&O.c(),f=N(),ne&&ne.c(),m=N(),me&&me.c(),h=N(),U(_.$$.fragment),b=N(),C=E("div");for(let J=0;J<Pe.length;J+=1)Pe[J].c();y=N(),G&&G.c(),k=N(),U(M.$$.fragment),I=N(),ie&&ie.c(),Q=N(),Se&&Se.c(),se=N(),Ie&&Ie.c(),ee=N(),De&&De.c(),R=N(),ke&&ke.c(),x=N(),ae&&ae.c(),u(r,"class","controls-left v-st0uzk"),No(()=>i[182].call(r)),u(C,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(J,j){T(J,e,j),F(t,e,null),p(e,n),p(e,o),p(o,r),z&&z.m(r,null),p(r,l),ue&&ue.m(r,null),p(r,s),A&&A.m(r,null),p(r,a),oe&&oe.m(r,null),p(r,c),O&&O.m(r,null),p(r,f),ne&&ne.m(r,null),p(r,m),me&&me.m(r,null),p(r,h),F(_,r,null),w=Er(r,i[182].bind(r)),p(o,b),p(o,C);for(let Ae=0;Ae<Pe.length;Ae+=1)Pe[Ae]&&Pe[Ae].m(C,null);p(C,y),G&&G.m(C,null),p(C,k),F(M,C,null),p(C,I),ie&&ie.m(C,null),p(C,Q),Se&&Se.m(C,null),p(C,se),Ie&&Ie.m(C,null),p(C,ee),De&&De.m(C,null),p(C,R),ke&&ke.m(C,null),p(C,x),ae&&ae.m(C,null),i[192](o),i[193](e),S=!0},p(J,j){const Ae={};j[1]&16384&&(Ae.isHidden=!J[45]),j[0]&16&&(Ae.isAds=J[4]),j[0]&32&&(Ae.canRewindLive=J[5]),j[1]&2&&(Ae.isRewindableLive=J[32]),t.$set(Ae),J[38]?z?(z.p(J,j),j[1]&128&&d(z,1)):(z=Ya(J),z.c(),d(z,1),z.m(r,l)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),J[35]?ue?(ue.p(J,j),j[1]&16&&d(ue,1)):(ue=Qa(J),ue.c(),d(ue,1),ue.m(r,s)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de()),J[36]?A?(A.p(J,j),j[1]&32&&d(A,1)):(A=Xa(J),A.c(),d(A,1),A.m(r,a)):A&&(fe(),g(A,1,1,()=>{A=null}),de()),J[37]?oe?(oe.p(J,j),j[1]&64&&d(oe,1)):(oe=Ja(J),oe.c(),d(oe,1),oe.m(r,c)):oe&&(fe(),g(oe,1,1,()=>{oe=null}),de()),J[118]&&O.p(J,j),!J[4]&&J[33]?ne?(ne.p(J,j),j[0]&16|j[1]&4&&d(ne,1)):(ne=xa(J),ne.c(),d(ne,1),ne.m(r,m)):ne&&(fe(),g(ne,1,1,()=>{ne=null}),de()),J[19]?me?(me.p(J,j),j[0]&524288&&d(me,1)):(me=$a(J),me.c(),d(me,1),me.m(r,h)):me&&(fe(),g(me,1,1,()=>{me=null}),de());const et={};if(j[0]&1048576&&(et.disabled=!J[20]),j[0]&1048576|j[2]&2621440|j[6]&67108864&&(et.$$scope={dirty:j,ctx:J}),!v&&j[0]&8388608&&(v=!0,et.ref=J[23].episodes,qe(()=>v=!1)),_.$set(et),j[0]&268435456){Te=Jt(J[28]);let je;for(je=0;je<Te.length;je+=1){const Me=Ga(J,Te,je);Pe[je]?(Pe[je].p(Me,j),d(Pe[je],1)):(Pe[je]=tu(Me),Pe[je].c(),d(Pe[je],1),Pe[je].m(C,y))}for(fe(),je=Te.length;je<Pe.length;je+=1)pe(je);de()}J[43]?G?(G.p(J,j),j[1]&4096&&d(G,1)):(G=iu(J),G.c(),d(G,1),G.m(C,k)):G&&(fe(),g(G,1,1,()=>{G=null}),de());const ot={};j[2]&65536|j[6]&67108864&&(ot.$$scope={dirty:j,ctx:J}),!K&&j[0]&8388608&&(K=!0,ot.ref=J[23].volume,qe(()=>K=!1)),M.$set(ot),J[40]?ie?(ie.p(J,j),j[1]&512&&d(ie,1)):(ie=nu(J),ie.c(),d(ie,1),ie.m(C,Q)):ie&&(fe(),g(ie,1,1,()=>{ie=null}),de()),!J[84]&&!J[4]?Se?(Se.p(J,j),j[0]&16|j[2]&4194304&&d(Se,1)):(Se=ou(J),Se.c(),d(Se,1),Se.m(C,se)):Se&&(fe(),g(Se,1,1,()=>{Se=null}),de()),J[42]?Ie?(Ie.p(J,j),j[1]&2048&&d(Ie,1)):(Ie=lu(J),Ie.c(),d(Ie,1),Ie.m(C,ee)):Ie&&(fe(),g(Ie,1,1,()=>{Ie=null}),de()),J[85].features.contextMenuButton&&De.p(J,j),J[44]?ke?(ke.p(J,j),j[1]&8192&&d(ke,1)):(ke=ru(J),ke.c(),d(ke,1),ke.m(C,x)):ke&&(fe(),g(ke,1,1,()=>{ke=null}),de()),J[39]?ae?(ae.p(J,j),j[1]&256&&d(ae,1)):(ae=su(J),ae.c(),d(ae,1),ae.m(C,null)):ae&&(fe(),g(ae,1,1,()=>{ae=null}),de()),(!S||j[0]&2)&&V(e,"hidden",J[1]),(!S||j[0]&8)&&V(e,"controls-hidden",!J[3]),(!S||j[0]&4)&&V(e,"no-smooth",J[2])},i(J){if(!S){d(t.$$.fragment,J),d(z),d(ue),d(A),d(oe),d(O),d(ne),d(me),d(_.$$.fragment,J);for(let j=0;j<Te.length;j+=1)d(Pe[j]);d(G),d(M.$$.fragment,J),d(ie),d(Se),d(Ie),d(De),d(ke),d(ae),S=!0}},o(J){g(t.$$.fragment,J),g(z),g(ue),g(A),g(oe),g(O),g(ne),g(me),g(_.$$.fragment,J),Pe=Pe.filter(Boolean);for(let j=0;j<Pe.length;j+=1)g(Pe[j]);g(G),g(M.$$.fragment,J),g(ie),g(Se),g(Ie),g(De),g(ke),g(ae),S=!1},d(J){J&&P(e),H(t),z&&z.d(),ue&&ue.d(),A&&A.d(),oe&&oe.d(),O&&O.d(),ne&&ne.d(),me&&me.d(),H(_),w(),Vn(Pe,J),G&&G.d(),H(M),ie&&ie.d(),Se&&Se.d(),Ie&&Ie.d(),De&&De.d(),ke&&ke.d(),ae&&ae.d(),i[192](null),i[193](null)}}}function cb(i,e,t){var $r,es;let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S,z,ue,A,oe,O,ne=Z,me=()=>(ne(),ne=ni(ee,W=>t(142,O=W)),ee),Oe,Fe=Z,Te=()=>(Fe(),Fe=ni(se,W=>t(143,Oe=W)),se),Pe,pe=Z,G=()=>(pe(),pe=ni(Q,W=>t(144,Pe=W)),Q),re,we=Z,ie=()=>(we(),we=ni(I,W=>t(145,re=W)),I),Se,Ie=Z,De=()=>(Ie(),Ie=ni(K,W=>t(146,Se=W)),K),ke,ae=Z,J=()=>(ae(),ae=ni(M,W=>t(147,ke=W)),M),j,Ae=Z,et=()=>(Ae(),Ae=ni(k,W=>t(148,j=W)),k),ot,je=Z,Me=()=>(je(),je=ni(y,W=>t(149,ot=W)),y),Qe,st=Z,wt=()=>(st(),st=ni(C,W=>t(150,Qe=W)),C),tt,Ne=Z,Et=()=>(Ne(),Ne=ni(b,W=>t(151,tt=W)),b),At,Ht=Z,Wt=()=>(Ht(),Ht=ni(w,W=>t(152,At=W)),w),ce,gt=Z,dt=()=>(gt(),gt=ni(v,W=>t(153,ce=W)),v),mt,ut=Z,Tt=()=>(ut(),ut=ni(_,W=>t(154,mt=W)),_),Xe,ze=Z,Vt=()=>(ze(),ze=ni(h,W=>t(155,Xe=W)),h),xt,Fi=Z,xi=()=>(Fi(),Fi=ni(m,W=>t(156,xt=W)),m),ri,Hi=Z,hi=()=>(Hi(),Hi=ni(f,W=>t(157,ri=W)),f),Ut,Zt=Z,Ti=()=>(Zt(),Zt=ni(c,W=>t(158,Ut=W)),c),$t,si,ei,Ei,vi,Lt,Ui,gi,Ai,Bt,ai,bi,_i,Nt,Li,ct,nt,Rt,ji,qi,ti,ui,wi;i.$$.on_destroy.push(()=>ne()),i.$$.on_destroy.push(()=>Fe()),i.$$.on_destroy.push(()=>pe()),i.$$.on_destroy.push(()=>we()),i.$$.on_destroy.push(()=>Ie()),i.$$.on_destroy.push(()=>ae()),i.$$.on_destroy.push(()=>Ae()),i.$$.on_destroy.push(()=>je()),i.$$.on_destroy.push(()=>st()),i.$$.on_destroy.push(()=>Ne()),i.$$.on_destroy.push(()=>Ht()),i.$$.on_destroy.push(()=>gt()),i.$$.on_destroy.push(()=>ut()),i.$$.on_destroy.push(()=>ze()),i.$$.on_destroy.push(()=>Fi()),i.$$.on_destroy.push(()=>Hi()),i.$$.on_destroy.push(()=>Zt());let{bottomHidden:Wi}=e,{bottomNoSmooth:ii}=e,{showControls:Ii}=e,{controlsElementRef:Kt=void 0}=e,{isAds:Gt=!1}=e,{canRewindLive:Mi}=e,{logoClickable:Ct}=e,{logoHidden:Yt}=e,{videoLogoUrl:Vi}=e,{showNextPrevButtons:Zi}=e,{nextButtonActive:$i}=e,{prevButtonActive:Bi}=e,{isOneVideoPlaylist:yi=!1}=e,{supportLink:ci}=e,{customFullscreenSupported:Ki=!0}=e,{playNextVideo:Gi}=e,{playPrevVideo:Ri}=e,{repeatPlaylist:Le}=e,{toggleFullscreen:Xi}=e,{returnFocus:Yi}=e,{seekToInteractive:Ni}=e,{toggleGraph:Qi}=e,{playPrevChapter:ki}=e;const He=kt(),Ci=Rl(),Oi=vn(),fi=He.actions.internal.toggleMuted,Ot=He.actions.internal.togglePlay,en=He.actions.internal.pause,dn=He.actions.internal.toggleSubtitle,di=($r=He.callbacks)==null?void 0:$r.onAudioDoesNotExistHint,tn=(es=He.callbacks)==null?void 0:es.onAudioDisabledHint,Di=He.state.duration$;D(i,Di,W=>t(83,ui=W));const nn=He.state.positionWithScrubbing$;D(i,nn,W=>t(81,qi=W));const Si=He.state.playbackState$;D(i,Si,W=>t(159,ei=W));const an=He.state.chromecastConnected$;D(i,an,W=>t(84,wi=W));const un=He.state.isAudioAvailable$;D(i,un,W=>t(78,R=W));const mn=He.state.isAudioDisabled,le=He.state.isEnded$;D(i,le,W=>t(167,Nt=W));const $e=He.state.isLive$;D(i,$e,W=>t(33,gi=W));const bt=He.state.isActiveLive$;D(i,bt,W=>t(161,Lt=W));const It=He.state.isRewindableLive$;D(i,It,W=>t(32,Ui=W));const Qt=He.ui.isPictureInPictureActive$;D(i,Qt,W=>t(163,Bt=W));const cn=He.ui.pictureInPictureType$;D(i,cn,W=>t(162,Ai=W));const gn=He.ui.settingsMenuVisible;D(i,gn,W=>t(27,z=W));const Dt=He.ui.settingsMenuOpenedByKeyboard;D(i,Dt,W=>t(139,S=W));const pn=He.ui.controls,bn=He.actions.internal.getVideoEpisodes(),Cn=He.state.chromecastState$;D(i,Cn,W=>t(29,$t=W));const Sn=He.state.availableSubtitlesList$;D(i,Sn,W=>t(166,_i=W));const _n=He.state.currentSubtitle$;D(i,_n,W=>t(168,Li=W));const X=pn.disabledControls$;D(i,X,W=>t(170,nt=W));const ft=He.ui.contextMenuVisible;D(i,ft,W=>t(160,Ei=W));const $=He.ui.contextMenu.showContextMenuBtn$;D(i,$,W=>t(164,ai=W));const on=He.ui.contextMenu.openedByKeyboard$;D(i,on,W=>t(165,bi=W));const wn=He.ui.startedByKeyboard$;D(i,wn,W=>t(138,x=W));const yn=He.ads.duration;D(i,yn,W=>t(82,ti=W));const ao=He.ads.position;D(i,ao,W=>t(80,ji=W));const uo=He.ads.playbackState;D(i,uo,W=>t(169,ct=W));const co=He.ui.isFullscreen;D(i,co,W=>t(30,si=W));const fo=He.ui.playerSize;D(i,fo,W=>t(140,ue=W));const mo=He.ui.currentGridType$;D(i,mo,W=>t(141,A=W));const po=He.ui.additionalButtons$;D(i,po,W=>t(28,oe=W));const Fo=He.actions.internal.getVideoElement,ho=He.actions.internal.replayInteractive,Pn=He.state.isInteractive,Yn=He.state.isInteractiveGraphEnabled,Qn=He.state.isSeekToInteractiveEnable,On=He.state.isPlayPrevChapterEnabled,vo=He.state.graphIsOpened$;D(i,vo,W=>t(31,vi=W));const go=He.state.playPrevChapterDisabledTooltip,bo=Ci.seekToInteractiveDisabledTooltip$;D(i,bo,W=>t(79,Rt=W));const Ho=()=>He.actions.internal.toggleChromecast();let _o,to,Dn,io,q,yt,ln,rn,zn,wo,_t,L,te,he,Ve,Ze,lt,St,pt,zi,no,Uo="";const ll=(W,Ul)=>{if(!W){t(50,Uo=Y("tooltip_live"));return}Ul===Xt.PAUSED&&t(50,Uo=Y("tooltip_play"))};let Yr,Qr,Xr,Jr,rl;const Ke={};let Tn,jo,Hl,xr;const Qf=Vl(Rf,G1,{leading:!1});let sl,al,ul;function Xf(){mn?tn==null||tn():R?fi():di==null||di()}const Jf=Pn?ho:yi?Ot:Le;function xf(W){i.$$.not_equal(Ke.prevButton,W)&&(Ke.prevButton=W,t(23,Ke))}function $f(W){i.$$.not_equal(Ke.replayButton,W)&&(Ke.replayButton=W,t(23,Ke))}function e0(W){ul=W,t(26,ul)}function t0(W){i.$$.not_equal(Ke.playButton,W)&&(Ke.playButton=W,t(23,Ke))}function i0(W){i.$$.not_equal(Ke.nextButton,W)&&(Ke.nextButton=W,t(23,Ke))}function n0(W){i.$$.not_equal(Ke.playPrevChapterButton,W)&&(Ke.playPrevChapterButton=W,t(23,Ke))}function o0(W){i.$$.not_equal(Ke.seekToInteractiveButton,W)&&(Ke.seekToInteractiveButton=W,t(23,Ke))}function l0(W){i.$$.not_equal(Ke.interactiveGraphButton,W)&&(Ke.interactiveGraphButton=W,t(23,Ke))}function r0(W){i.$$.not_equal(Ke.liveButton,W)&&(Ke.liveButton=W,t(23,Ke))}function s0(W){i.$$.not_equal(Ke.time,W)&&(Ke.time=W,t(23,Ke))}function a0(W){i.$$.not_equal(Ke.episodes,W)&&(Ke.episodes=W,t(23,Ke))}function u0(){rl=this.clientWidth,t(22,rl)}function c0(W){i.$$.not_equal(Ke.vkLogo,W)&&(Ke.vkLogo=W,t(23,Ke))}function f0(W){i.$$.not_equal(Ke.volume,W)&&(Ke.volume=W,t(23,Ke))}function d0(W){i.$$.not_equal(Ke.subtitles,W)&&(Ke.subtitles=W,t(23,Ke))}function m0(W){sl=W,t(24,sl)}function p0(W){al=W,t(25,al)}function h0(W){i.$$.not_equal(Ke.settings,W)&&(Ke.settings=W,t(23,Ke))}function v0(W){i.$$.not_equal(Ke.context,W)&&(Ke.context=W,t(23,Ke))}function g0(W){i.$$.not_equal(Ke.fullscreen,W)&&(Ke.fullscreen=W,t(23,Ke))}function b0(W){i.$$.not_equal(Ke.chromecast,W)&&(Ke.chromecast=W,t(23,Ke))}function _0(W){ye[W?"unshift":"push"](()=>{lt=W,t(46,lt)})}function w0(W){ye[W?"unshift":"push"](()=>{Kt=W,t(0,Kt)})}return i.$$set=W=>{"bottomHidden"in W&&t(1,Wi=W.bottomHidden),"bottomNoSmooth"in W&&t(2,ii=W.bottomNoSmooth),"showControls"in W&&t(3,Ii=W.showControls),"controlsElementRef"in W&&t(0,Kt=W.controlsElementRef),"isAds"in W&&t(4,Gt=W.isAds),"canRewindLive"in W&&t(5,Mi=W.canRewindLive),"logoClickable"in W&&t(6,Ct=W.logoClickable),"logoHidden"in W&&t(128,Yt=W.logoHidden),"videoLogoUrl"in W&&t(7,Vi=W.videoLogoUrl),"showNextPrevButtons"in W&&t(129,Zi=W.showNextPrevButtons),"nextButtonActive"in W&&t(8,$i=W.nextButtonActive),"prevButtonActive"in W&&t(9,Bi=W.prevButtonActive),"isOneVideoPlaylist"in W&&t(130,yi=W.isOneVideoPlaylist),"supportLink"in W&&t(10,ci=W.supportLink),"customFullscreenSupported"in W&&t(131,Ki=W.customFullscreenSupported),"playNextVideo"in W&&t(11,Gi=W.playNextVideo),"playPrevVideo"in W&&t(12,Ri=W.playPrevVideo),"repeatPlaylist"in W&&t(132,Le=W.repeatPlaylist),"toggleFullscreen"in W&&t(13,Xi=W.toggleFullscreen),"returnFocus"in W&&t(14,Yi=W.returnFocus),"seekToInteractive"in W&&t(15,Ni=W.seekToInteractive),"toggleGraph"in W&&t(16,Qi=W.toggleGraph),"playPrevChapter"in W&&t(17,ki=W.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&32768&&t(137,n=nt.has(at.EPISODE_BUTTON)),i.$$.dirty[5]&32768&&t(77,o=nt.has(at.GRAPH_BUTTON)),i.$$.dirty[5]&32768&&t(76,r=nt.has(at.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&32768&&t(75,l=nt.has(at.PLAY_BUTTON)),i.$$.dirty[5]&32768&&t(74,s=nt.has(at.REPLAY_BUTTON)),i.$$.dirty[5]&32768&&t(73,a=nt.has(at.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&16400&&t(34,_o=Gt?ct===oi.PLAYING:ei===Xt.PLAYING),i.$$.dirty[5]&8192&&t(18,to=Li.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(35,Dn=Nt&&!Gt||Pn),i.$$.dirty[0]&16|i.$$.dirty[5]&4096&&t(36,io=!Nt||Pn||Gt),i.$$.dirty[4]&131072&&t(133,q=En(A,Mt.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&131104&&t(37,yt=Zi&&En(A,Mt.M)&&!Gt&&$i),i.$$.dirty[0]&528|i.$$.dirty[4]&131104&&t(38,ln=Zi&&En(A,Mt.M)&&!Gt&&Bi),i.$$.dirty[0]&536870912|i.$$.dirty[4]&131072|i.$$.dirty[5]&384&&t(39,rn=$t!==Rn.NOT_AVAILABLE&&!(Bt&&Ai===Un.DocumentPictureInPicture)&&En(A,Mt.M)&&!Pn),i.$$.dirty[4]&131072|i.$$.dirty[5]&2048&&t(40,zn=_i.length>0&&En(A,Mt.M)),i.$$.dirty[5]&1536&&t(41,wo=bi||ai),i.$$.dirty[4]&131072&&t(42,_t=En(A,Mt.S)),i.$$.dirty[4]&16&&t(43,L=!Yt),i.$$.dirty[4]&131216|i.$$.dirty[5]&384&&t(44,te=Oi.features.fullscreen&&(Yt||En(A,Mt.S))&&!(Bt&&Ai===Un.DocumentPictureInPicture)&&(Pn?Ki:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&4&&t(19,he=(!gi||Gt)&&!(Oi.features.interactiveHideTime&&Pn)),i.$$.dirty[4]&65536&&t(45,Ve=ue.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&4|i.$$.dirty[4]&8704&&t(20,Ze=!Gt&&!gi&&!!(bn!=null&&bn.length)&&q&&!n),i.$$.dirty[1]&2|i.$$.dirty[5]&64&&t(21,St=!Ui||Lt),i.$$.dirty[5]&16&&t(47,pt=ei===Xt.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),i.$$.dirty[1]&1&&t(48,zi=Y(vi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&32&&t(49,no=Y(Ei?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&16&&ll(St,ei),i.$$.dirty[0]&262144&&t(52,Qr=Y(to?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&1073741824&&t(53,Xr=Y(si?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&536870912&&t(54,Jr=$t===Rn.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&2147221504|i.$$.dirty[5]&15&&t(134,Tn={prevButton:Ut?Ut.right-Ut.left:0,replayButton:ri?ri.right-ri.left:0,playButton:xt?xt.right-xt.left:0,nextButton:Xe?Xe.right-Xe.left:0,playPrevChapterButton:mt?mt.right-mt.left:0,seekToInteractiveButton:ce?ce.right-ce.left:0,interactiveGraphButton:At?At.right-At.left:0,liveButton:tt?tt.right-tt.left:0,time:Qe?Qe.right-Qe.left:0,episodes:ot?ot.right-ot.left:0,vkLogo:j?j.right-j.left:0,volume:ke?ke.right-ke.left:0,subtitles:Se?Se.right-Se.left:0,settings:re?re.right-re.left:0,context:Pe?Pe.right-Pe.left:0,fullscreen:Oe?Oe.right-Oe.left:0,chromecast:O?O.right-O.left:0,additionalButtons:oe.length?oe.reduce(W=>[...W,40],[]):[]}),i.$$.dirty[4]&3072&&(!jo||jo<Tn.time)&&t(135,jo=Tn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&134144){let W=0;Ze&&(En(A,Mt.XL)?W=Tn.time:W=pd);const Ul=Tn.prevButton+Tn.playButton+Tn.nextButton+Tn.seekToInteractiveButton+Tn.interactiveGraphButton+Tn.liveButton+jo+W;t(136,Hl=he&&rl>=Ul)}i.$$.dirty[4]&135168&&t(55,xr=Hl&&En(A,Mt.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&65536&&Qf(Fo(),pn,Ke,Ii),i.$$.dirty[0]&167772160&&zr(al,z,Dt),i.$$.dirty[0]&150994944|i.$$.dirty[4]&32768&&Fr(sl,z,S),i.$$.dirty[0]&67108864|i.$$.dirty[4]&16384&&Nf(wn,x,ul)},t(51,Yr=Oi.logoType===Oo.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),Ti(t(72,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:v,interactiveGraphButton:w,liveButton:b,time:C,episodes:y,vkLogo:k,volume:M,subtitles:K,settings:I,context:Q,fullscreen:se,chromecast:ee}=pn,c,hi(t(71,f)),xi(t(70,m)),Vt(t(69,h)),Tt(t(68,_)),dt(t(67,v)),Wt(t(66,w)),Et(t(65,b)),wt(t(64,C)),Me(t(63,y)),et(t(62,k)),J(t(61,M)),De(t(60,K)),ie(t(59,I)),G(t(58,Q)),Te(t(57,se)),me(t(56,ee)))),[Kt,Wi,ii,Ii,Gt,Mi,Ct,Vi,$i,Bi,ci,Gi,Ri,Xi,Yi,Ni,Qi,ki,to,he,Ze,St,rl,Ke,sl,al,ul,z,oe,$t,si,vi,Ui,gi,_o,Dn,io,yt,ln,rn,zn,wo,_t,L,te,Ve,lt,pt,zi,no,Uo,Yr,Qr,Xr,Jr,xr,ee,se,Q,I,K,M,k,y,C,b,w,v,_,h,m,f,c,a,s,l,r,o,R,Rt,ji,qi,ti,ui,wi,Oi,Ot,en,dn,Di,nn,Si,an,un,le,$e,bt,It,Qt,cn,gn,Dt,bn,Cn,Sn,_n,X,ft,$,on,wn,yn,ao,uo,co,fo,mo,po,Pn,Yn,Qn,On,vo,go,bo,Ho,Xf,Jf,Yt,Zi,yi,Ki,Le,q,Tn,jo,Hl,n,x,S,ue,A,O,Oe,Pe,re,Se,ke,j,ot,Qe,tt,At,ce,mt,Xe,xt,ri,Ut,ei,Ei,Lt,Ai,Bt,ai,bi,_i,Nt,Li,ct,nt,xf,$f,e0,t0,i0,n0,o0,l0,r0,s0,a0,u0,c0,f0,d0,m0,p0,h0,v0,g0,b0,_0,w0]}class fb extends _e{constructor(e){super(),be(this,e,cb,ub,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:128,videoLogoUrl:7,showNextPrevButtons:129,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:130,supportLink:10,customFullscreenSupported:131,playNextVideo:11,playPrevVideo:12,repeatPlaylist:132,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Hg,[-1,-1,-1,-1,-1,-1,-1])}}function db(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"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,l){T(r,e,l),p(e,t),p(t,n),p(t,o)},p:Z,i:Z,o:Z,d(r){r&&P(e)}}}class mb extends _e{constructor(e){super(),be(this,e,null,db,ge,{})}}function pb(i){Ue(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=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){T(t,e,n)},p:Z,d(t){t&&P(e)}}}function hb(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=Nn(r,l()));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"),V(e,"expanded",i[1])},m(a,c){T(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){fe();const f=t;g(f.$$.fragment,1,0,()=>{H(f,1)}),de()}r?(t=Nn(r,l()),U(t.$$.fragment),d(t.$$.fragment,1),F(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),(!o||c&2)&&V(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&H(t),s&&s.d()}}}function vb(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[hb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function gb(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=Ye}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?zl:mb)},[l,o,r,s,a,n,c]}class Of extends _e{constructor(e){super(),be(this,e,gb,vb,ge,{muted:5,expanded:1,click:2,ref:0},pb)}}function bb(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=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"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"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(o,"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,l){T(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&V(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&V(o,"hidden",r[0])},i:Z,o:Z,d(r){r&&P(e)}}}function _b(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class wb extends _e{constructor(e){super(),be(this,e,_b,bb,ge,{isActive:0})}}function yb(i){let e,t;return e=new wb({props:{isActive:i[1]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&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){H(e,n)}}}function kb(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:i[2],$$slots:{default:[yb]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Pi({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Cb(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=Ye}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class Sb extends _e{constructor(e){super(),be(this,e,Cb,kb,ge,{ref:0,isPictureInPictureActive:1,click:2})}}function Pb(i){Ue(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[155]=e[t].iconUrl,n[156]=e[t].ariaLabel,n[157]=e[t].testId,n[158]=e[t].onClick,n[159]=e[t].tooltip,n}function cu(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y=(!i[51]||i[53])&&fu(i),k=Jt(i[56]),M=[];for(let A=0;A<k.length;A+=1)M[A]=du(uu(i,k,A));const K=A=>g(M[A],1,1,()=>{M[A]=null});let I=i[36]&&mu(i),Q=i[37]&&pu(i),se=i[57]&&hu(i),ee=i[39]&&vu(i),R=i[8]&&gu(i),x=i[34]&&bu(i),S=i[33]&&_u(i),z=i[8]&&wu(i),ue=i[95]&&!i[29]&&yu(i);return{c(){e=E("div"),t=N(),n=E("div"),y&&y.c(),o=N(),r=E("div");for(let A=0;A<M.length;A+=1)M[A].c();l=N(),I&&I.c(),s=N(),Q&&Q.c(),a=N(),se&&se.c(),c=N(),ee&&ee.c(),f=N(),m=E("div"),R&&R.c(),h=N(),x&&x.c(),_=N(),S&&S.c(),v=N(),z&&z.c(),w=N(),ue&&ue.c(),b=vt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),V(r,"hidden",!i[3]&&!i[27]),V(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),V(m,"hidden",!i[3]||i[29])},m(A,oe){T(A,e,oe),T(A,t,oe),T(A,n,oe),y&&y.m(n,null),T(A,o,oe),T(A,r,oe);for(let O=0;O<M.length;O+=1)M[O]&&M[O].m(r,null);p(r,l),I&&I.m(r,null),p(r,s),Q&&Q.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),ee&&ee.m(r,null),T(A,f,oe),T(A,m,oe),R&&R.m(m,null),p(m,h),x&&x.m(m,null),p(m,_),S&&S.m(m,null),p(m,v),z&&z.m(m,null),T(A,w,oe),ue&&ue.m(A,oe),T(A,b,oe),C=!0},p(A,oe){if((!C||oe[1]&2048)&&V(e,"hidden",!A[42]),!A[51]||A[53]?y?(y.p(A,oe),oe[1]&5242880&&d(y,1)):(y=fu(A),y.c(),d(y,1),y.m(n,null)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),(!C||oe[0]&8)&&V(n,"hidden",!A[3]),(!C||oe[1]&2097152)&&V(n,"fullscreen",A[52]),oe[1]&33554432){k=Jt(A[56]);let O;for(O=0;O<k.length;O+=1){const ne=uu(A,k,O);M[O]?(M[O].p(ne,oe),d(M[O],1)):(M[O]=du(ne),M[O].c(),d(M[O],1),M[O].m(r,l))}for(fe(),O=k.length;O<M.length;O+=1)K(O);de()}A[36]?I?(I.p(A,oe),oe[1]&32&&d(I,1)):(I=mu(A),I.c(),d(I,1),I.m(r,s)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),A[37]?Q?(Q.p(A,oe),oe[1]&64&&d(Q,1)):(Q=pu(A),Q.c(),d(Q,1),Q.m(r,a)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),A[57]?se?(se.p(A,oe),oe[1]&67108864&&d(se,1)):(se=hu(A),se.c(),d(se,1),se.m(r,c)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),A[39]?ee?(ee.p(A,oe),oe[1]&256&&d(ee,1)):(ee=vu(A),ee.c(),d(ee,1),ee.m(r,null)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),(!C||oe[0]&134217736)&&V(r,"hidden",!A[3]&&!A[27]),(!C||oe[1]&2097152)&&V(r,"fullscreen",A[52]),A[8]?R?(R.p(A,oe),oe[0]&256&&d(R,1)):(R=gu(A),R.c(),d(R,1),R.m(m,h)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),A[34]?x?(x.p(A,oe),oe[1]&8&&d(x,1)):(x=bu(A),x.c(),d(x,1),x.m(m,_)):x&&(fe(),g(x,1,1,()=>{x=null}),de()),A[33]?S?(S.p(A,oe),oe[1]&4&&d(S,1)):(S=_u(A),S.c(),d(S,1),S.m(m,v)):S&&(fe(),g(S,1,1,()=>{S=null}),de()),A[8]?z?(z.p(A,oe),oe[0]&256&&d(z,1)):(z=wu(A),z.c(),d(z,1),z.m(m,null)):z&&(fe(),g(z,1,1,()=>{z=null}),de()),(!C||oe[0]&536870920)&&V(m,"hidden",!A[3]||A[29]),A[95]&&!A[29]?ue?(ue.p(A,oe),oe[0]&536870912&&d(ue,1)):(ue=yu(A),ue.c(),d(ue,1),ue.m(b.parentNode,b)):ue&&(fe(),g(ue,1,1,()=>{ue=null}),de())},i(A){if(!C){d(y);for(let oe=0;oe<k.length;oe+=1)d(M[oe]);d(I),d(Q),d(se),d(ee),d(R),d(x),d(S),d(z),d(ue),C=!0}},o(A){g(y),M=M.filter(Boolean);for(let oe=0;oe<M.length;oe+=1)g(M[oe]);g(I),g(Q),g(se),g(ee),g(R),g(x),g(S),g(z),g(ue),C=!1},d(A){A&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(w),P(b)),y&&y.d(),Vn(M,A),I&&I.d(),Q&&Q.d(),se&&se.d(),ee&&ee.d(),R&&R.d(),x&&x.d(),S&&S.d(),z&&z.d(),ue&&ue.d(A)}}}function fu(i){let e,t,n;function o(l){i[121](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[103]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new Of({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function du(i){var n;let e,t;return e=new Lf({props:{iconUrl:i[155],ariaLabel:(n=i[156])!=null?n:i[159],testId:i[157],onClick:i[158]}}),{c(){U(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[155]),r[1]&33554432&&(l.ariaLabel=(s=o[156])!=null?s:o[159]),r[1]&33554432&&(l.testId=o[157]),r[1]&33554432&&(l.onClick=o[158]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function mu(i){let e,t,n;function o(l){i[122](l)}let r={isMobile:!0,click:i[101],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new _f({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function pu(i){let e,t,n;function o(l){i[123](l)}let r={click:i[102],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new Sb({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function hu(i){let e,t,n;function o(l){i[124](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function vu(i){let e,t,n;function o(l){i[125](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new bf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function gu(i){let e,t,n;function o(l){i[126](l)}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 Fl({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function bu(i){let e,t,n;function o(l){i[127](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new Wr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _u(i){let e,t,n;function o(l){i[128](l)}let r={disabled:i[47],click:i[104],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Zr({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function wu(i){let e,t,n;function o(l){i[129](l)}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 Fl({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function yu(i){let e,t,n,o,r=i[98]&&Tb(i),l=i[96]&&Eb(i),s=i[97]&&Ab(i);return{c(){r&&r.c(),e=N(),l&&l.c(),t=N(),s&&s.c(),n=vt()},m(a,c){r&&r.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,t,c),s&&s.m(a,c),T(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function Tb(i){let e,t,n;return t=new Af({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(o,r){T(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&V(e,"fullscreen",o[52]),(!n||r[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Eb(i){let e,t,n,o;function r(s){i[130](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new Tf({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class",Y0(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3]&&!i[58])},m(s,a){T(s,e,a),F(t,e,null),o=!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,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&V(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Ab(i){let e,t,n,o;function r(s){i[131](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new Pf({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8)&&V(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function ku(i){let e,t,n,o,r,l=i[53]&&Cu(i),s=i[32]&&Su(i);return o=new kf({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=N(),s&&s.c(),t=N(),n=E("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,t,c),T(a,n,c),F(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Cu(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(fe(),g(l,1,1,()=>{l=null}),de()),a[32]?s?(s.p(a,c),c[1]&2&&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]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&V(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),H(o)}}}function Cu(i){let e,t,n,o;function r(s){i[132](s)}let l={muted:i[54],expanded:!1,click:i[103]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new Of({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[52])},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Su(i){let e,t,n,o;function r(s){i[133](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new Wr({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Lb(i){let e,t,n;function o(l){i[134](l)}let r={disabled:i[47],$$slots:{default:[Ib]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ib(i){let e,t;return e=new Zr({props:{disabled:i[47],click:i[94]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pu(i){let e,t,n;function o(l){i[135](l)}let r={$$slots:{default:[Mb]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mb(i){let e,t;return e=new wf({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tu(i){let e,t,n;function o(l){i[136](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new mf({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Eu(i){let e,t,n,o;return n=new Sf({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=E("div"),e.textContent="\xB7",t=N(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){T(r,e,l),T(r,t,l),F(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),H(n,r)}}}function Vb(i){let e,t,n=i[43]&&Eu(i);return{c(){n&&n.c(),e=vt()},m(o,r){n&&n.m(o,r),T(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=Eu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(fe(),g(n,1,1,()=>{n=null}),de())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function Au(i){let e,t,n;function o(l){i[139](l)}let r={$$slots:{default:[Bb]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Bb(i){let e,t,n;function o(l){i[138](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Ur({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lu(i){let e,t,n;function o(l){i[140](l)}let r={$$slots:{default:[Rb]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new qt({props:r}),ye.push(()=>We(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&128&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Rb(i){let e,t;return e=new vf({props:{click:i[14],isFullscreen:i[52]}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Iu(i){let e,t,n,o;function r(s){i[143](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new df({props:l}),ye.push(()=>We(t,"ref",r)),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),F(t,e,null),o=!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],qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function Nb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y=!i[4]&&cu(i),k=i[4]&&i[30]!==oi.INACTIVE&&ku(i),M=i[95]&&Lb(i),K=!i[4]&&i[25]&&Pu(i),I=i[41]&&Tu(i);function Q(S){i[137](S)}let se={className:"w-max",disabled:!i[43],$$slots:{default:[Vb]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(se.ref=i[20].episodes),c=new qt({props:se}),ye.push(()=>We(c,"ref",Q));let ee=i[38]&&Au(i),R=i[40]&&Lu(i);v=new Cf({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let x=i[23]&&Iu(i);return{c(){y&&y.c(),e=N(),k&&k.c(),t=N(),n=E("div"),o=E("div"),r=E("div"),M&&M.c(),l=N(),K&&K.c(),s=N(),I&&I.c(),a=N(),U(c.$$.fragment),m=N(),ee&&ee.c(),h=N(),R&&R.c(),_=N(),U(v.$$.fragment),w=N(),x&&x.c(),b=vt(),u(r,"class","controls v-1tcstu3"),V(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",i[1]),V(n,"controls-hidden",!i[3]),V(n,"no-smooth",i[2]),V(n,"mobile",!0)},m(S,z){y&&y.m(S,z),T(S,e,z),k&&k.m(S,z),T(S,t,z),T(S,n,z),p(n,o),p(o,r),M&&M.m(r,null),p(r,l),K&&K.m(r,null),p(r,s),I&&I.m(r,null),p(r,a),F(c,r,null),p(r,m),ee&&ee.m(r,null),p(r,h),R&&R.m(r,null),i[141](r),p(o,_),F(v,o,null),i[142](n),T(S,w,z),x&&x.m(S,z),T(S,b,z),C=!0},p(S,z){S[4]?y&&(fe(),g(y,1,1,()=>{y=null}),de()):y?(y.p(S,z),z[0]&16&&d(y,1)):(y=cu(S),y.c(),d(y,1),y.m(e.parentNode,e)),S[4]&&S[30]!==oi.INACTIVE?k?(k.p(S,z),z[0]&1073741840&&d(k,1)):(k=ku(S),k.c(),d(k,1),k.m(t.parentNode,t)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),S[95]&&M.p(S,z),!S[4]&&S[25]?K?(K.p(S,z),z[0]&33554448&&d(K,1)):(K=Pu(S),K.c(),d(K,1),K.m(r,s)):K&&(fe(),g(K,1,1,()=>{K=null}),de()),S[41]?I?(I.p(S,z),z[1]&1024&&d(I,1)):(I=Tu(S),I.c(),d(I,1),I.m(r,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de());const ue={};z[1]&4096&&(ue.disabled=!S[43]),z[1]&1073745920|z[2]&1|z[5]&128&&(ue.$$scope={dirty:z,ctx:S}),!f&&z[0]&1048576&&(f=!0,ue.ref=S[20].episodes,qe(()=>f=!1)),c.$set(ue),S[38]?ee?(ee.p(S,z),z[1]&128&&d(ee,1)):(ee=Au(S),ee.c(),d(ee,1),ee.m(r,h)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),S[40]?R?(R.p(S,z),z[1]&512&&d(R,1)):(R=Lu(S),R.c(),d(R,1),R.m(r,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de());const A={};z[0]&16&&(A.isAds=S[4]),z[0]&32&&(A.canRewindLive=S[5]),z[0]&16777216&&(A.isRewindableLive=S[24]),v.$set(A),(!C||z[1]&2097152)&&V(o,"fullscreen",S[52]),(!C||z[0]&2)&&V(n,"hidden",S[1]),(!C||z[0]&8)&&V(n,"controls-hidden",!S[3]),(!C||z[0]&4)&&V(n,"no-smooth",S[2]),S[23]?x?(x.p(S,z),z[0]&8388608&&d(x,1)):(x=Iu(S),x.c(),d(x,1),x.m(b.parentNode,b)):x&&(fe(),g(x,1,1,()=>{x=null}),de())},i(S){C||(d(y),d(k),d(M),d(K),d(I),d(c.$$.fragment,S),d(ee),d(R),d(v.$$.fragment,S),d(x),C=!0)},o(S){g(y),g(k),g(M),g(K),g(I),g(c.$$.fragment,S),g(ee),g(R),g(v.$$.fragment,S),g(x),C=!1},d(S){S&&(P(e),P(t),P(n),P(w),P(b)),y&&y.d(S),k&&k.d(S),M&&M.d(),K&&K.d(),I&&I.d(),H(c),ee&&ee.d(),R&&R.d(),i[141](null),H(v),i[142](null),x&&x.d(S)}}}function Ob(i,e,t){var X,ft;let n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,x,S,z,ue,A,oe,O,ne,me,Oe,Fe,{bottomHidden:Te}=e,{bottomNoSmooth:Pe}=e,{showControls:pe}=e,{controlsElementRef:G=void 0}=e,{isAds:re=!1}=e,{canRewindLive:we}=e,{logoClickable:ie}=e,{logoHidden:Se}=e,{videoLogoUrl:Ie}=e,{showNextPrevButtons:De}=e,{nextButtonActive:ke}=e,{prevButtonActive:ae}=e,{isOneVideoPlaylist:J=!1}=e,{supportLink:j}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:et}=e,{playPrevVideo:ot}=e,{repeatPlaylist:je}=e,{toggleFullscreen:Me}=e,{returnFocus:Qe}=e,{seekToInteractive:st}=e,{toggleGraph:wt}=e,{playPrevChapter:tt}=e;const Ne=kt(),Et=vn(),At=Ne.actions.internal.toggleMuted,Ht=Ne.actions.internal.togglePlay,Wt=Ne.actions.internal.pause,ce=(X=Ne.callbacks)==null?void 0:X.onAudioDoesNotExistHint,gt=(ft=Ne.callbacks)==null?void 0:ft.onAudioDisabledHint,dt=Ne.playerPhase;D(i,dt,$=>t(118,I=$));const mt=Ne.state.duration$;D(i,mt,$=>t(62,Fe=$));const ut=Ne.state.positionWithScrubbing$;D(i,ut,$=>t(61,Oe=$));const Tt=Ne.state.playbackState$;D(i,Tt,$=>t(114,h=$));const Xe=Ne.state.isAudioAvailable$;D(i,Xe,$=>t(51,_=$));const ze=Ne.state.isAudioDisabled,Vt=Ne.state.isEnded$;D(i,Vt,$=>t(119,se=$));const xt=Ne.state.isLive$;D(i,xt,$=>t(25,C=$));const Fi=Ne.state.muted$;D(i,Fi,$=>t(54,z=$));const xi=Ne.state.isActiveLive$;D(i,xi,$=>t(116,w=$));const ri=Ne.state.isRewindableLive$;D(i,ri,$=>t(24,b=$));const Hi=Ne.ui.scrubbingInProgress;D(i,Hi,$=>t(29,Q=$));const hi=Ne.ui.mobileNotReportControlHidden$;D(i,hi,$=>t(27,M=$));const Ut=Ne.ui.isPictureInPictureActive$;D(i,Ut,$=>t(26,k=$));const Zt=Ne.ui.pictureInPictureType$;D(i,Zt,$=>t(117,y=$));const Ti=Ne.ui.mobileUnmuteButtonExpanded;D(i,Ti,$=>t(55,ue=$));const $t=Ne.ui.mobileUnmuteButtonVisible;D(i,$t,$=>t(53,S=$));const si=Ne.ui.settingsMenuVisible;D(i,si,$=>t(23,m=$));const ei=Ne.ui.settingsMenuOpenedByKeyboard;D(i,ei,$=>t(113,f=$));const Ei=Ne.ui.controls,vi=Ne.actions.internal.getVideoEpisodes(),Lt=Ne.webApi.pictureInPictureApi,Ui=Ne.state.chromecastState$;D(i,Ui,$=>t(28,K=$));const gi=Ne.state.crashed$;D(i,gi,$=>t(57,oe=$));const Ai=Ei.disabledControls$;D(i,Ai,$=>t(120,R=$));const Bt=Ne.ads.duration;D(i,Bt,$=>t(60,me=$));const ai=Ne.ads.position;D(i,ai,$=>t(59,ne=$));const bi=Ne.ads.playbackState;D(i,bi,$=>t(30,ee=$));const _i=Ne.ui.isFullscreen;D(i,_i,$=>t(52,x=$));const Nt=Ne.ui.playerSize;D(i,Nt,$=>t(115,v=$));const Li=Ne.ui.additionalButtons$;D(i,Li,$=>t(56,A=$));const ct=Ne.actions.internal.getVideoElement,nt=Ne.actions.internal.replayInteractive,Rt=Ne.state.isInteractive,ji=Ne.state.isInteractiveGraphEnabled,qi=Ne.state.isSeekToInteractiveEnable,ti=Ne.state.isPlayPrevChapterEnabled,ui=Ne.state.graphIsOpened$;D(i,ui,$=>t(58,O=$));const wi=Ne.ui.startedByKeyboard$;D(i,wi,$=>t(112,c=$));let Wi,ii,Ii,Kt,Gt,Mi,Ct,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,Ri;const Le={},Xi=Vl(Rf,G1,{leading:!1}),Yi=()=>Ne.actions.internal.toggleChromecast();function Ni(){ze?gt==null||gt():_?At():ce==null||ce()}function Qi(){return Ji(this,null,function*(){Lt!=null&&Lt.isActive()?yield Lt==null?void 0:Lt.remove():yield Lt==null?void 0:Lt.request()})}function ki(){!ze&&_&&$t.set(!1),Ni()}const He=J?Ht:je;let Ci="";const Oi=($,on)=>{if(!$){t(45,Ci=Y("tooltip_live"));return}on===Xt.PAUSED&&t(45,Ci=Y("tooltip_play"))};let fi,Ot;function en($){i.$$.not_equal(Le.volume,$)&&(Le.volume=$,t(20,Le))}function dn($){i.$$.not_equal(Le.chromecast,$)&&(Le.chromecast=$,t(20,Le))}function di($){i.$$.not_equal(Le.pip,$)&&(Le.pip=$,t(20,Le))}function tn($){Ot=$,t(22,Ot)}function Di($){i.$$.not_equal(Le.vkLogo,$)&&(Le.vkLogo=$,t(20,Le))}function nn($){i.$$.not_equal(Le.prevButton,$)&&(Le.prevButton=$,t(20,Le))}function Si($){i.$$.not_equal(Le.playButton,$)&&(Le.playButton=$,t(20,Le))}function an($){i.$$.not_equal(Le.replayButton,$)&&(Le.replayButton=$,t(20,Le))}function un($){i.$$.not_equal(Le.nextButton,$)&&(Le.nextButton=$,t(20,Le))}function mn($){i.$$.not_equal(Le.interactiveGraphButton,$)&&(Le.interactiveGraphButton=$,t(20,Le))}function le($){i.$$.not_equal(Le.seekToInteractiveButton,$)&&(Le.seekToInteractiveButton=$,t(20,Le))}function $e($){i.$$.not_equal(Le.volume,$)&&(Le.volume=$,t(20,Le))}function bt($){i.$$.not_equal(Le.playButton,$)&&(Le.playButton=$,t(20,Le))}function It($){i.$$.not_equal(Le.replayButton,$)&&(Le.replayButton=$,t(20,Le))}function Qt($){i.$$.not_equal(Le.liveButton,$)&&(Le.liveButton=$,t(20,Le))}function cn($){i.$$.not_equal(Le.time,$)&&(Le.time=$,t(20,Le))}function gn($){i.$$.not_equal(Le.episodes,$)&&(Le.episodes=$,t(20,Le))}function Dt($){Ot=$,t(22,Ot)}function pn($){i.$$.not_equal(Le.settings,$)&&(Le.settings=$,t(20,Le))}function bn($){i.$$.not_equal(Le.fullscreen,$)&&(Le.fullscreen=$,t(20,Le))}function Cn($){ye[$?"unshift":"push"](()=>{Gi=$,t(44,Gi)})}function Sn($){ye[$?"unshift":"push"](()=>{G=$,t(0,G)})}function _n($){fi=$,t(21,fi)}return i.$$set=$=>{"bottomHidden"in $&&t(1,Te=$.bottomHidden),"bottomNoSmooth"in $&&t(2,Pe=$.bottomNoSmooth),"showControls"in $&&t(3,pe=$.showControls),"controlsElementRef"in $&&t(0,G=$.controlsElementRef),"isAds"in $&&t(4,re=$.isAds),"canRewindLive"in $&&t(5,we=$.canRewindLive),"logoClickable"in $&&t(6,ie=$.logoClickable),"logoHidden"in $&&t(105,Se=$.logoHidden),"videoLogoUrl"in $&&t(7,Ie=$.videoLogoUrl),"showNextPrevButtons"in $&&t(8,De=$.showNextPrevButtons),"nextButtonActive"in $&&t(9,ke=$.nextButtonActive),"prevButtonActive"in $&&t(10,ae=$.prevButtonActive),"isOneVideoPlaylist"in $&&t(106,J=$.isOneVideoPlaylist),"supportLink"in $&&t(11,j=$.supportLink),"customFullscreenSupported"in $&&t(107,Ae=$.customFullscreenSupported),"playNextVideo"in $&&t(12,et=$.playNextVideo),"playPrevVideo"in $&&t(13,ot=$.playPrevVideo),"repeatPlaylist"in $&&t(108,je=$.repeatPlaylist),"toggleFullscreen"in $&&t(14,Me=$.toggleFullscreen),"returnFocus"in $&&t(15,Qe=$.returnFocus),"seekToInteractive"in $&&t(16,st=$.seekToInteractive),"toggleGraph"in $&&t(17,wt=$.toggleGraph),"playPrevChapter"in $&&t(18,tt=$.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&134217728&&t(111,n=R.has(at.EPISODE_BUTTON)),i.$$.dirty[3]&134217728&&t(50,o=R.has(at.GRAPH_BUTTON)),i.$$.dirty[3]&134217728&&t(49,r=R.has(at.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&134217728&&t(48,l=R.has(at.PLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(47,s=R.has(at.REPLAY_BUTTON)),i.$$.dirty[3]&134217728&&t(46,a=R.has(at.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&2097152&&t(31,Wi=h===Xt.PLAYING),i.$$.dirty[0]&1073741824&&t(32,ii=ee===oi.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(33,Ii=se&&!re&&!Rt),i.$$.dirty[0]&16|i.$$.dirty[3]&67108864&&t(34,Kt=!se||re),i.$$.dirty[3]&4194304&&t(109,Gt=v.width>300),i.$$.dirty[3]&4194304&&t(35,Mi=v.width>400),i.$$.dirty[0]&536870912&&t(110,Ct=Q),i.$$.dirty[0]&469762048|i.$$.dirty[3]&16777216&&t(36,Yt=K!==Rn.NOT_AVAILABLE&&!(k&&y===Un.DocumentPictureInPicture)&&!M&&!Rt),i.$$.dirty[0]&402653184|i.$$.dirty[3]&50462720){const $=I===Be.WaitingLive;t(37,Vi=!!Lt&&K!==Rn.CONNECTED&&!M&&(y===Un.DocumentPictureInPicture&&$||!$)&&!Ct&&!Rt)}i.$$.dirty[3]&131072&&t(38,Zi=!Ct),i.$$.dirty[3]&4198400&&t(39,$i=!Se&&v.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&16924672&&t(40,Bi=Et.features.fullscreen&&!(k&&y===Un.DocumentPictureInPicture)&&(Rt?Ae:!0)&&!Ct),i.$$.dirty[0]&33554448|i.$$.dirty[3]&4325376&&t(41,yi=(!C||re)&&v.width>260&&!Ct&&!(Et.features.interactiveHideTime&&Rt)),i.$$.dirty[0]&8388616&&t(42,ci=m||pe),i.$$.dirty[0]&33554448|i.$$.dirty[3]&458752&&t(43,Ki=!re&&!C&&!!(vi!=null&&vi.length)&&Gt&&!n&&!Ct),i.$$.dirty[0]&16777216|i.$$.dirty[3]&8388608&&t(19,Ri=!b||w),i.$$.dirty[0]&1048584|i.$$.dirty[3]&4194304&&Xi(ct(),Ei,Le,pe),i.$$.dirty[0]&524288|i.$$.dirty[3]&2097152&&Oi(Ri,h),i.$$.dirty[0]&12582912&&zr(Ot,m,ei),i.$$.dirty[0]&10485760|i.$$.dirty[3]&1048576&&Fr(fi,m,f),i.$$.dirty[0]&1048576|i.$$.dirty[3]&524288&&Nf(wi,c,Le.playButton)},[G,Te,Pe,pe,re,we,ie,Ie,De,ke,ae,j,et,ot,Me,Qe,st,wt,tt,Ri,Le,fi,Ot,m,b,C,k,M,K,Q,ee,Wi,ii,Ii,Kt,Mi,Yt,Vi,Zi,$i,Bi,yi,ci,Ki,Gi,Ci,a,s,l,r,o,_,x,S,z,ue,A,oe,O,ne,me,Oe,Fe,Ht,Wt,dt,mt,ut,Tt,Xe,ze,Vt,xt,Fi,xi,ri,Hi,hi,Ut,Zt,Ti,$t,si,ei,vi,Ui,gi,Ai,Bt,ai,bi,_i,Nt,Li,nt,Rt,ji,qi,ti,ui,wi,Yi,Qi,ki,He,Se,J,Ae,je,Gt,Ct,n,c,f,h,v,w,y,I,se,R,en,dn,di,tn,Di,nn,Si,an,un,mn,le,$e,bt,It,Qt,cn,gn,Dt,pn,bn,Cn,Sn,_n]}class Db extends _e{constructor(e){super(),be(this,e,Ob,Nb,ge,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:105,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:106,supportLink:11,customFullscreenSupported:107,playNextVideo:12,playPrevVideo:13,repeatPlaylist:108,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},Pb,[-1,-1,-1,-1,-1,-1])}}function zb(i){let e,t,n;function o(l){i[26](l)}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 fb({props:r}),ye.push(()=>We(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Fb(i){let e,t,n;function o(l){i[25](l)}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 Db({props:r}),ye.push(()=>We(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hb(i){let e,t,n,o;const r=[Fb,zb],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=vt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(fe(),g(l[f],1,1,()=>{l[f]=null}),de(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Ub(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=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:M}=e,{repeatPlaylist:K}=e,{toggleFullscreen:I}=e,{returnFocus:Q=Ye}=e,{seekToInteractive:se}=e,{toggleGraph:ee}=e,{playPrevChapter:R}=e;const S=kt().ui.isMobile;D(i,S,A=>t(23,n=A));function z(A){s=A,t(0,s)}function ue(A){s=A,t(0,s)}return i.$$set=A=>{"bottomHidden"in A&&t(1,o=A.bottomHidden),"bottomNoSmooth"in A&&t(2,r=A.bottomNoSmooth),"showControls"in A&&t(3,l=A.showControls),"controlsElementRef"in A&&t(0,s=A.controlsElementRef),"isAds"in A&&t(4,a=A.isAds),"canRewindLive"in A&&t(5,c=A.canRewindLive),"logoClickable"in A&&t(6,f=A.logoClickable),"logoHidden"in A&&t(7,m=A.logoHidden),"videoLogoUrl"in A&&t(8,h=A.videoLogoUrl),"showNextPrevButtons"in A&&t(9,_=A.showNextPrevButtons),"nextButtonActive"in A&&t(10,v=A.nextButtonActive),"prevButtonActive"in A&&t(11,w=A.prevButtonActive),"isOneVideoPlaylist"in A&&t(12,b=A.isOneVideoPlaylist),"supportLink"in A&&t(13,C=A.supportLink),"customFullscreenSupported"in A&&t(14,y=A.customFullscreenSupported),"playNextVideo"in A&&t(15,k=A.playNextVideo),"playPrevVideo"in A&&t(16,M=A.playPrevVideo),"repeatPlaylist"in A&&t(17,K=A.repeatPlaylist),"toggleFullscreen"in A&&t(18,I=A.toggleFullscreen),"returnFocus"in A&&t(19,Q=A.returnFocus),"seekToInteractive"in A&&t(20,se=A.seekToInteractive),"toggleGraph"in A&&t(21,ee=A.toggleGraph),"playPrevChapter"in A&&t(22,R=A.playPrevChapter)},[s,o,r,l,a,c,f,m,h,_,v,w,b,C,y,k,M,K,I,Q,se,ee,R,n,S,z,ue]}class Df extends _e{constructor(e){super(),be(this,e,Ub,Hb,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 jb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function qb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function Wb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Zb extends _e{constructor(e){super(),be(this,e,Wb,qb,ge,{reversed:0},jb)}}function Kb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(l,"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){T(b,e,C),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,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&&P(e)}}}function Gb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=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(o,"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(o,"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){T(C,e,y),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,v),p(c,w),p(c,b)},d(C){C&&P(e)}}}function Yb(i){let e;function t(r,l){return r[0]?Gb:Kb}let n=t(i),o=n(i);return{c(){o.c(),e=vt()},m(r,l){o.m(r,l),T(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(r){r&&P(e),o.d(r)}}}function Qb(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class zf extends _e{constructor(e){super(),be(this,e,Qb,Yb,ge,{isOff:0})}}function Xb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Jb(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function xb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class $b extends _e{constructor(e){super(),be(this,e,xb,Jb,ge,{reversed:0},Xb)}}function e_(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function t_(i){let e,t,n,o,r,l,s,a,c,f,m,h,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=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(o,"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(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"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(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"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",i[0])},m(v,w){T(v,e,w),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,_)},p(v,[w]){w&1&&V(e,"reversed",v[0])},i:Z,o:Z,d(v){v&&P(e)}}}function i_(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class n_ extends _e{constructor(e){super(),be(this,e,i_,t_,ge,{reversed:0},e_)}}function o_(i){Ue(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=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(i[4]),f,m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(i[4]),h,_,v,w,b,C=t&&Vu(i),y=i[4]===Ge.PAUSE&&Bu(),k=i[4]===Ge.PLAY&&Ru(),M=i[4]===Ge.REPLAY&&Nu(),K=i[4]===Ge.SUBTITLES_OFF&&Ou(),I=i[4]===Ge.SUBTITLES_ON&&Du(),Q=c&&zu(i),se=m&&Fu(i),ee=i[4]===Ge.MUTE&&Hu(),R=i[4]===Ge.VOLUME&&Uu(),x=i[5]&&ju(i);return{c(){e=E("div"),C&&C.c(),n=N(),y&&y.c(),o=N(),k&&k.c(),r=N(),M&&M.c(),l=N(),K&&K.c(),s=N(),I&&I.c(),a=N(),Q&&Q.c(),f=N(),se&&se.c(),h=N(),ee&&ee.c(),_=N(),R&&R.c(),v=N(),x&&x.c(),w=vt(),u(e,"class","v-4ftgwp")},m(S,z){T(S,e,z),C&&C.m(e,null),p(e,n),y&&y.m(e,null),p(e,o),k&&k.m(e,null),p(e,r),M&&M.m(e,null),p(e,l),K&&K.m(e,null),p(e,s),I&&I.m(e,null),p(e,a),Q&&Q.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),ee&&ee.m(e,null),p(e,_),R&&R.m(e,null),T(S,v,z),x&&x.m(S,z),T(S,w,z),b=!0},p(S,z){z&16&&(t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(S[4])),t?C?(C.p(S,z),z&16&&d(C,1)):(C=Vu(S),C.c(),d(C,1),C.m(e,n)):C&&(fe(),g(C,1,1,()=>{C=null}),de()),S[4]===Ge.PAUSE?y?z&16&&d(y,1):(y=Bu(),y.c(),d(y,1),y.m(e,o)):y&&(fe(),g(y,1,1,()=>{y=null}),de()),S[4]===Ge.PLAY?k?z&16&&d(k,1):(k=Ru(),k.c(),d(k,1),k.m(e,r)):k&&(fe(),g(k,1,1,()=>{k=null}),de()),S[4]===Ge.REPLAY?M?z&16&&d(M,1):(M=Nu(),M.c(),d(M,1),M.m(e,l)):M&&(fe(),g(M,1,1,()=>{M=null}),de()),S[4]===Ge.SUBTITLES_OFF?K?z&16&&d(K,1):(K=Ou(),K.c(),d(K,1),K.m(e,s)):K&&(fe(),g(K,1,1,()=>{K=null}),de()),S[4]===Ge.SUBTITLES_ON?I?z&16&&d(I,1):(I=Du(),I.c(),d(I,1),I.m(e,a)):I&&(fe(),g(I,1,1,()=>{I=null}),de()),z&16&&(c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(S[4])),c?Q?(Q.p(S,z),z&16&&d(Q,1)):(Q=zu(S),Q.c(),d(Q,1),Q.m(e,f)):Q&&(fe(),g(Q,1,1,()=>{Q=null}),de()),z&16&&(m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(S[4])),m?se?(se.p(S,z),z&16&&d(se,1)):(se=Fu(S),se.c(),d(se,1),se.m(e,h)):se&&(fe(),g(se,1,1,()=>{se=null}),de()),S[4]===Ge.MUTE?ee?z&16&&d(ee,1):(ee=Hu(),ee.c(),d(ee,1),ee.m(e,_)):ee&&(fe(),g(ee,1,1,()=>{ee=null}),de()),S[4]===Ge.VOLUME?R?z&16&&d(R,1):(R=Uu(),R.c(),d(R,1),R.m(e,null)):R&&(fe(),g(R,1,1,()=>{R=null}),de()),S[5]?x?x.p(S,z):(x=ju(S),x.c(),x.m(w.parentNode,w)):x&&(x.d(1),x=null)},i(S){b||(d(C),d(y),d(k),d(M),d(K),d(I),d(Q),d(se),d(ee),d(R),b=!0)},o(S){g(C),g(y),g(k),g(M),g(K),g(I),g(Q),g(se),g(ee),g(R),b=!1},d(S){S&&(P(e),P(v),P(w)),C&&C.d(),y&&y.d(),k&&k.d(),M&&M.d(),K&&K.d(),I&&I.d(),Q&&Q.d(),se&&se.d(),ee&&ee.d(),R&&R.d(),x&&x.d(S)}}}function Vu(i){let e,t;return e=new Zb({props:{reversed:i[4]===Ge.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bu(i){let e,t;return e=new gf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ru(i){let e,t;return e=new qr({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nu(i){let e,t;return e=new Ef({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ou(i){let e,t;return e=new zf({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Du(i){let e,t;return e=new zf({}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function zu(i){let e,t;return e=new $b({props:{reversed:i[4]===Ge.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fu(i){let e,t;return e=new n_({props:{reversed:i[4]===Ge.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Hu(i){let e,t;return e=new zl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Uu(i){let e,t;return e=new zl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ju(i){let e,t;return{c(){e=E("span"),t=Re(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){T(n,e,o),p(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&P(e)}}}function l_(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"),V(e,"hidden",i[1]),V(e,"hot-key-helpers-container--left",i[2]),V(e,"hot-key-helpers-container--right",i[3])},m(o,r){T(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=Mu(o),n.c(),d(n,1),n.m(e,null)):n&&(fe(),g(n,1,1,()=>{n=null}),de()),(!t||r&2)&&V(e,"hidden",o[1]),(!t||r&4)&&V(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&V(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function r_(i,e,t){let n,o=Z,r=()=>(o(),o=ni(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ge.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ge.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=Y(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class s_ extends _e{constructor(e){super(),be(this,e,r_,l_,ge,{data:0},o_)}}function a_(i){Ue(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 u_(i){let e,t,n,o,r,l,s,a,c,f,m,h,_,v,w,b,C,y;return r=new Jn({props:{direction:"up"}}),a=new Jn({props:{direction:"up"}}),h=new Jn({props:{direction:"up"}}),w=new Jn({props:{direction:"up"}}),{c(){e=E("div"),t=E("div"),n=E("div"),o=E("div"),U(r.$$.fragment),l=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(o,"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",Y("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(k,M){T(k,e,M),p(e,t),p(t,n),p(n,o),F(r,o,null),p(n,l),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,m),F(h,m,null),p(f,_),p(f,v),F(w,v,null),b=!0,C||(y=[ve(o,"mousedown",i[1]),ve(o,"mouseup",i[5]),ve(o,"mouseleave",i[5]),ve(s,"mousedown",i[3]),ve(s,"mouseup",i[5]),ve(s,"mouseleave",i[5]),ve(m,"mousedown",i[4]),ve(m,"mouseup",i[5]),ve(m,"mouseleave",i[5]),ve(v,"mousedown",i[2]),ve(v,"mouseup",i[5]),ve(v,"mouseleave",i[5]),ve(e,"keydown",i[6]),ve(e,"keyup",i[7])],C=!0)},p(k,[M]){(!b||M&1)&&V(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&&P(e),H(r),H(a),H(h),H(w),C=!1,it(y)}}}function c_(i,e,t){let{isShifted:n=!1}=e;const o=kt(),r=new Set([Ce.ArrowUp,Ce.ArrowDown,Ce.ArrowLeft,Ce.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ce.ArrowUp:l();break;case Ce.ArrowDown:s();break;case Ce.ArrowLeft:c();break;case Ce.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return i.$$set=_=>{"isShifted"in _&&t(0,n=_.isShifted)},[n,l,s,a,c,f,m,h]}class Ff extends _e{constructor(e){super(),be(this,e,c_,u_,ge,{isShifted:0},a_)}}function f_(i){Ue(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 qu(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Wu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Zu(i){let e,t;function n(l,s){return l[7]&&l[8]?p_:l[5]?m_:d_}let o=n(i),r=o(i);return{c(){e=E("div"),t=E("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(l,s){T(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&V(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function d_(i){let e,t=Jt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ku(qu(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=vt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);T(o,e,r)},p(o,r){if(r&18){t=Jt(o[1]);let l;for(l=0;l<t.length;l+=1){const s=qu(o,t,l);n[l]?n[l].p(s,r):(n[l]=Ku(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Vn(n,o)}}}function m_(i){let e,t,n=Jt(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Yu(Wu(i,n,r));return{c(){e=E("span"),t=E("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){T(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=Jt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Wu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Yu(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&P(e),Vn(o,r)}}}function p_(i){let e,t,n=Y("subtitles_auto_caption")+"",o;return{c(){e=E("span"),t=E("span"),o=Re(n),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){T(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function Ku(i){let e,t,n=i[16]+"",o,r;return{c(){e=E("span"),t=E("span"),o=Re(n),r=N(),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){T(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&xe(o,n),s&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function Gu(i){let e=i[16]+"",t;return{c(){t=Re(e)},m(n,o){T(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&P(t)}}}function Yu(i){let e,t=(!i[17]||i[17]<=i[2])&&Gu(i);return{c(){t&&t.c(),e=vt()},m(n,o){t&&t.m(n,o),T(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Gu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function h_(i){let e,t=i[1].length>0&&Zu(i);return{c(){e=E("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){T(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Zu(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&P(e),t&&t.d()}}}function v_(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=kt(),m=vn(),h=f.state.currentSubtitle$;D(i,h,k=>t(12,n=k));const _=f.state.isAutoSubtitleCaptionVisible$;D(i,_,k=>t(8,o=k));let v,w,b,C,y;return hn(()=>{y=window.setTimeout(()=>{_.set(!1)},m.autoSubtitlesTimeout)}),Bl(()=>{window.clearTimeout(y)}),i.$$set=k=>{"shifted"in k&&t(0,r=k.shifted),"captions"in k&&t(1,l=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=l.some(k=>k.type==="timestamp")),i.$$.dirty&2&&t(6,b=l.reduce((k,{type:M,value:K})=>(M==="timestamp"?k.push({timeAppeared:Number(K),value:""}):k.length===0?k.push({value:String(K)}):k[k.length-1].value=String(K),k),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,l,s,c,v,w,b,C,o,h,_,a,n]}class Hf extends _e{constructor(e){super(),be(this,e,v_,h_,ge,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},f_)}}function g_(i){Ue(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 Qu(i){let e,t,n;return{c(){e=E("div"),t=Re("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Re(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){T(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&xe(n,o[1])},d(o){o&&P(e)}}}function b_(i){let e,t,n,o,r,l,s=i[1]&&Qu(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",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){T(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=ve(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Qu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&P(e),s&&s.d(),r=!1,l()}}}function __(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){Ro.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class Uf extends _e{constructor(e){super(),be(this,e,__,b_,ge,{thumbUrl:0,chromecastDeviceName:1},g_)}}function w_(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,o){T(n,e,o),p(e,t)},p:Z,i:Z,o:Z,d(n){n&&P(e)}}}class y_ extends _e{constructor(e){super(),be(this,e,null,w_,ge,{})}}function k_(i){Ue(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 C_(i){let e,t,n;return t=new y_({}),{c(){e=E("div"),U(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){T(o,e,r),F(t,e,null),n=!0},p:Z,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}class jf extends _e{constructor(e){super(),be(this,e,null,C_,ge,{},k_)}}function S_(i){Ue(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 P_(i){let e,t,n,o,r,l,s,a,c;return r=new qr({}),{c(){e=E("div"),t=E("div"),n=E("div"),o=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",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,m){T(f,e,m),p(e,t),p(t,n),p(t,o),F(r,t,null),s=!0,a||(c=[ve(t,"keydown",i[3]),ve(e,"click",rt(function(){In(i[2])&&i[2].apply(this,arguments)}))],a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&V(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),H(r),a=!1,it(c)}}}function T_(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;const s=kt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ce.Enter,Ce.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,o=c.hidden),"startVideo"in c&&t(2,r=c.startVideo)},[n,o,r,a]}class qf extends _e{constructor(e){super(),be(this,e,T_,P_,ge,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},S_)}get handlePressKey(){return this.$$.ctx[3]}}function E_(i){Ue(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(
|
|
26
26
|
0deg,
|
|
27
27
|
rgba(0, 0, 0, 0) 0%,
|
|
28
28
|
rgba(0, 0, 0, 0.02) 19%,
|