@vkontakte/videoplayer 1.1.36-dev.55db5eff.0 → 1.1.36-dev.5c03a18e.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/es2018.cjs.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.36-dev.55db5eff.0
3
- * Fri, 31 May 2024 10:58:23 GMT
2
+ * @vkontakte/videoplayer v1.1.36-dev.5c03a18e.0
3
+ * Fri, 31 May 2024 12:08:01 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
5
5
  */
6
- "use strict";var t0=Object.create;var Pl=Object.defineProperty;var i0=Object.getOwnPropertyDescriptor;var n0=Object.getOwnPropertyNames;var o0=Object.getPrototypeOf,l0=Object.prototype.hasOwnProperty;var r0=(t,e,i)=>e in t?Pl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var s0=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of n0(e))!l0.call(t,l)&&l!==i&&Pl(t,l,{get:()=>e[l],enumerable:!(n=i0(e,l))||n.enumerable});return t};var Dr=(t,e,i)=>(i=t!=null?t0(o0(t)):{},s0(e||!t||!t.__esModule?Pl(i,"default",{value:t,enumerable:!0}):i,t));var Tl=(t,e,i)=>(r0(t,typeof e!="symbol"?e+"":e,i),i);var $e=require("@vkontakte/videoplayer-core/es2018.cjs.js"),ne=require("@vkontakte/videoplayer-shared/es2018.cjs.js"),yt=require("@vkontakte/videoplayer-statistics/es2018.cjs.js");require("@vkontakte/videoplayer-interactive/es2018.cjs.js");function K(){}function g1(t,e){for(const i in e)t[i]=e[i];return t}function b1(t){return t()}function zr(){return Object.create(null)}function nt(t){t.forEach(b1)}function In(t){return typeof t=="function"}function be(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Go;function Fr(t,e){return Go||(Go=document.createElement("a")),Go.href=e,t===Go.href}function a0(t){return Object.keys(t).length===0}function Qt(t,...e){if(t==null){for(const n of e)n(void 0);return K}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function tt(t){let e;return Qt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Qt(e,i))}function Hn(t,e,i,n){if(t){const l=_1(t,e,i,n);return t[0](l)}}function _1(t,e,i,n){return t[1]&&n?g1(i.ctx.slice(),t[1](n(e))):i.ctx}function Un(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function qn(t,e,i,n,l,r){if(l){const o=_1(e,i,n,r);t.p(o,l)}}function jn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function u0(t){return t==null?"":t}const dl=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(t,e){t.appendChild(e)}function Ze(t,e,i){const n=c0(t);if(!n.getElementById(e)){const l=T("style");l.id=e,l.textContent=i,f0(n,l)}}function c0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function f0(t,e){return p(t.head||t,e),e.sheet}function P(t,e,i){t.insertBefore(e,i||null)}function S(t){t.parentNode&&t.parentNode.removeChild(t)}function Ln(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function T(t){return document.createElement(t)}function N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function ze(t){return document.createTextNode(t)}function O(){return ze(" ")}function mt(){return ze("")}function ve(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Jt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function st(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function d0(t){return Array.from(t.childNodes)}function et(t,e){e=""+e,t.data!==e&&(t.data=e)}function Ft(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Yo;function m0(){if(Yo===void 0){Yo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){Yo=!0}}return Yo}function sr(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=m0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ve(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ve(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function B(t,e,i){t.classList.toggle(e,!!i)}function Nn(t,e){return new t(e)}let Io;function Ao(t){Io=t}function Vo(){if(!Io)throw new Error("Function called outside component initialization");return Io}function vn(t){Vo().$$.on_mount.push(t)}function ml(t){Vo().$$.on_destroy.push(t)}function xl(t,e){return Vo().$$.context.set(t,e),e}function ar(t){return Vo().$$.context.get(t)}function w1(){return Vo().$$.context}function ko(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const vo=[],Ce=[];let _o=[];const $l=[],k1=Promise.resolve();let er=!1;function y1(){er||(er=!0,k1.then(C1))}function Mo(){return y1(),k1}function yo(t){_o.push(t)}function je(t){$l.push(t)}const El=new Set;let uo=0;function C1(){if(uo!==0)return;const t=Io;do{try{for(;uo<vo.length;){const e=vo[uo];uo++,Ao(e),p0(e.$$)}}catch(e){throw vo.length=0,uo=0,e}for(Ao(null),vo.length=0,uo=0;Ce.length;)Ce.pop()();for(let e=0;e<_o.length;e+=1){const i=_o[e];El.has(i)||(El.add(i),i())}_o.length=0}while(vo.length);for(;$l.length;)$l.pop()();er=!1,El.clear(),Ao(t)}function p0(t){if(t.fragment!==null){t.update(),nt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(yo)}}function h0(t){const e=[],i=[];_o.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),_o=e}const rl=new Set;let io;function de(){io={r:0,c:[],p:io}}function me(){io.r||nt(io.c),io=io.p}function d(t,e){t&&t.i&&(rl.delete(t),t.i(e))}function v(t,e,i,n){if(t&&t.o){if(rl.has(t))return;rl.add(t),io.c.push(()=>{rl.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Zt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function v0(t,e){const i={},n={},l={$$scope:1};let r=t.length;for(;r--;){const o=t[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(i[a]=s[a],l[a]=1);t[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in i||(i[o]=void 0);return i}function g0(t){return typeof t=="object"&&t!==null?t:{}}function We(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function q(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:l}=t.$$;n&&n.m(e,i),yo(()=>{const r=t.$$.on_mount.map(b1).filter(In);t.$$.on_destroy?t.$$.on_destroy.push(...r):nt(r),t.$$.on_mount=[]}),l.forEach(yo)}function H(t,e){const i=t.$$;i.fragment!==null&&(h0(i.after_update),nt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function b0(t,e){t.$$.dirty[0]===-1&&(vo.push(t),y1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function we(t,e,i,n,l,r,o,s=[-1]){const a=Io;Ao(t);const c=t.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:zr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:zr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(m,h,..._)=>{const g=_.length?_[0]:h;return c.ctx&&l(c.ctx[m],c.ctx[m]=g)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](g),f&&b0(t,m)),h}):[],c.update(),f=!0,nt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=d0(e.target);c.fragment&&c.fragment.l(m),m.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),F(t,e.target,e.anchor),C1()}Ao(a)}class ke{constructor(){Tl(this,"$$");Tl(this,"$$set")}$destroy(){H(this,1),this.$destroy=K}$on(e,i){if(!In(i))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!a0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const _0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_0);var Co;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(Co||(Co={}));const w0={isMobile:void 0,defaultLanguage:ne.InterfaceLanguage.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:Co.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ne.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},k0=t=>ne.fillWithDefault(t,w0),y0=t=>xl("ui-config",t),gn=()=>ar("ui-config"),tr="vk_player_debug_panel_opened",S1=300,C0=100,S0="videoplayer",P0="videoplayer";var Ae;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Ae||(Ae={}));const Bo={[Ae.KeyF]:"f",[Ae.KeyK]:"k",[Ae.KeyC]:"c",[Ae.KeyM]:"m"},T0=new Set([Ae.ArrowLeft,Ae.ArrowRight,Ae.KeyL,Ae.KeyJ]),E0=new Set([Ae.Tab,Ae.Space,Ae.ArrowLeft,Ae.ArrowRight,Ae.ArrowUp,Ae.ArrowDown]),A0=new Set([Ae.ShiftRight,Ae.ShiftLeft]);var dt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(dt||(dt={}));const Hr=40,P1=260,I0=60,Qo=8,T1=[dt.TIMELINE],sl=[...T1,dt.GRAPH_BUTTON],Ur=[...T1,dt.PLAY_BUTTON],E1=[...sl,dt.PLAY_BUTTON];var go;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(go||(go={}));exports.GridTypes=void 0;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const So={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},co=[];function Bn(t,e){return{subscribe:Ne(t,e).subscribe}}function Ne(t,e=K){let i;const n=new Set;function l(s){if(be(t,s)&&(t=s,i)){const a=!co.length;for(const c of n)c[1](),co.push(c,t);if(a){for(let c=0;c<co.length;c+=2)co[c][0](co[c+1]);co.length=0}}}function r(s){l(s(t))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(i=e(l,r)||K),s(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:l,update:r,subscribe:o}}function Ri(t,e,i){const n=!Array.isArray(t),l=n?[t]:t;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Bn(i,(o,s)=>{let a=!1;const c=[];let f=0,m=K;const h=()=>{if(f)return;m();const g=e(n?c[0]:c,o,s);r?o(g):m=In(g)?g:K},_=l.map((g,w)=>Qt(g,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){nt(_),m(),a=!1}})}const L0="prod",pl="1.1.36-dev.55db5eff.0",A1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},I1=Symbol("storeContext"),L1=Symbol("microStoresContext"),V0=(t,e)=>{xl(I1,t),xl(L1,e)},Ct=()=>{const t=ar(I1);return ne.assertNonNullable(t,"Store context is empty!"),t},No=()=>{const t=ar(L1);return ne.assertNonNullable(t,"MicroStores context is empty!"),t},kt=(t,e)=>V1(t,t.getValue(),e),V1=(t,e,i)=>Bn(e,n=>{const l=t.subscribe(r=>{n(r),i==null||i(r)});return()=>l.unsubscribe()}),M0=(t,e,i)=>{var n,l,r,o;const s=t.info,{width:a,height:c}=tt(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,m=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${pl} (core: ${$e.VERSION}, stat: ${yt.VERSION}, shared: ${ne.VERSION})`,g=tt(i.state.errorLog$),w=g.length?`
7
- `+g.map((k,y)=>{var M;const j=`${y}) Type: ${k.id}
8
- `,I=`Message: ${k.message} (${k.thrown})
9
- `,z=`Trace: ${(M=k.thrown)===null||M===void 0?void 0:M.stack}
10
- `;return j+I+z}).join(`
11
- `):void 0,b=i.state.isAudioDisabled?"disabled":tt(i.state.isAudioAvailable$)?void 0:"unavailable",C={Version:_,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${m}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:b,Position:`${tt(i.state.positionExact$)}s`,State:`${tt(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(C).filter(([k,y])=>y!==void 0).map(([k,y])=>`${k}: ${y}`).join(`
12
- `)},B0=(t,e,i)=>{const n=t.info,{width:l,height:r}=tt(i.ui.playerSize),o={version:pl,viewport:`${l}x${r}`,volume:Math.round(tt(i.state.volume$)*100)};o.id=i.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-tt(i.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(o.speed=m);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},N0=(t,e)=>A1(t,e,"mp4"),M1="vk_player_prefer_traffic_saving_enabled",B1="vk_player_preferred_volume",N1="vk_player_prefer_volume_mute",ur="vk_player_preferred_quality",R1=t=>t>1?1:t<0?0:t,qr=t=>ne.safeStorage.set(B1,R1(t).toString(10)),O1=()=>{const t=ne.safeStorage.get(B1);return ne.isNullable(t)?void 0:R1(parseFloat(t))},R0=(t,e)=>ne.safeStorage.set(ur,JSON.stringify({videoId:t,value:e})),D1=()=>ne.safeStorage.remove(ur),O0=t=>{const e=ne.safeStorage.get(ur);if(ne.isNullable(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){D1();return}return n},z1=(t,e)=>{e?ne.safeStorage.set(t,"true"):ne.safeStorage.remove(t)},F1=t=>ne.safeStorage.get(t)==="true",Al=t=>z1(N1,t),D0=()=>F1(N1),z0=t=>z1(M1,t),F0=()=>F1(M1);function H0(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_618_12297"),u(b,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(y,M){P(y,e,M),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},p(y,[M]){M&1&&C!==(C=!y[0]||null)&&u(e,"aria-hidden",C),M&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:K,o:K,d(y){y&&S(e)}}}function U0(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=l=>{"ariaLabel"in l&&i(0,n=l.ariaLabel)},[n]}class H1 extends ke{constructor(e){super(),we(this,e,U0,H0,be,{ariaLabel:0})}}var Il=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function q0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Xo=function(t){return t&&t.Math==Math&&t},Jn=Xo(typeof globalThis=="object"&&globalThis)||Xo(typeof window=="object"&&window)||Xo(typeof self=="object"&&self)||Xo(typeof Il=="object"&&Il)||function(){return this}()||Il||Function("return this")(),lo=function(t){try{return!!t()}catch(e){return!0}},j0=lo,hl=!j0(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),W0=hl,U1=Function.prototype,jr=U1.apply,Wr=U1.call,Z0=typeof Reflect=="object"&&Reflect.apply||(W0?Wr.bind(jr):function(){return Wr.apply(jr,arguments)}),q1=hl,j1=Function.prototype,ir=j1.call,K0=q1&&j1.bind.bind(ir,ir),xn=q1?K0:function(t){return function(){return ir.apply(t,arguments)}},W1=xn,G0=W1({}.toString),Y0=W1("".slice),vl=function(t){return Y0(G0(t),8,-1)},Q0=vl,X0=xn,Z1=function(t){if(Q0(t)==="Function")return X0(t)},nr=typeof document=="object"&&document.all,J0=typeof nr=="undefined"&&nr!==void 0,K1={all:nr,IS_HTMLDDA:J0},G1=K1,x0=G1.all,Wn=G1.IS_HTMLDDA?function(t){return typeof t=="function"||t===x0}:function(t){return typeof t=="function"},Y1={},$0=lo,Ro=!$0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),ed=hl,Jo=Function.prototype.call,Oo=ed?Jo.bind(Jo):function(){return Jo.apply(Jo,arguments)},Q1={},X1={}.propertyIsEnumerable,J1=Object.getOwnPropertyDescriptor,td=J1&&!X1.call({1:2},1);Q1.f=td?function(e){var i=J1(this,e);return!!i&&i.enumerable}:X1;var x1=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},id=xn,nd=lo,od=vl,Ll=Object,ld=id("".split),rd=nd(function(){return!Ll("z").propertyIsEnumerable(0)})?function(t){return od(t)=="String"?ld(t,""):Ll(t)}:Ll,cr=function(t){return t==null},sd=cr,ad=TypeError,fr=function(t){if(sd(t))throw ad("Can't call method on "+t);return t},ud=rd,cd=fr,fd=function(t){return ud(cd(t))},Zr=Wn,$1=K1,dd=$1.all,Do=$1.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:Zr(t)||t===dd}:function(t){return typeof t=="object"?t!==null:Zr(t)},ec={},Vl=ec,Ml=Jn,md=Wn,Kr=function(t){return md(t)?t:void 0},tc=function(t,e){return arguments.length<2?Kr(Vl[t])||Kr(Ml[t]):Vl[t]&&Vl[t][e]||Ml[t]&&Ml[t][e]},pd=xn,ic=pd({}.isPrototypeOf),hd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",nc=Jn,Bl=hd,Gr=nc.process,Yr=nc.Deno,Qr=Gr&&Gr.versions||Yr&&Yr.version,Xr=Qr&&Qr.v8,An,ul;Xr&&(An=Xr.split("."),ul=An[0]>0&&An[0]<4?1:+(An[0]+An[1]));!ul&&Bl&&(An=Bl.match(/Edge\/(\d+)/),(!An||An[1]>=74)&&(An=Bl.match(/Chrome\/(\d+)/),An&&(ul=+An[1])));var vd=ul,Jr=vd,gd=lo,bd=Jn,_d=bd.String,oc=!!Object.getOwnPropertySymbols&&!gd(function(){var t=Symbol();return!_d(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Jr&&Jr<41}),wd=oc,lc=wd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",kd=tc,yd=Wn,Cd=ic,Sd=lc,Pd=Object,rc=Sd?function(t){return typeof t=="symbol"}:function(t){var e=kd("Symbol");return yd(e)&&Cd(e.prototype,Pd(t))},Td=String,Ed=function(t){try{return Td(t)}catch(e){return"Object"}},Ad=Wn,Id=Ed,Ld=TypeError,sc=function(t){if(Ad(t))return t;throw Ld(Id(t)+" is not a function")},Vd=sc,Md=cr,ac=function(t,e){var i=t[e];return Md(i)?void 0:Vd(i)},Nl=Oo,Rl=Wn,Ol=Do,Bd=TypeError,Nd=function(t,e){var i,n;if(e==="string"&&Rl(i=t.toString)&&!Ol(n=Nl(i,t))||Rl(i=t.valueOf)&&!Ol(n=Nl(i,t))||e!=="string"&&Rl(i=t.toString)&&!Ol(n=Nl(i,t)))return n;throw Bd("Can't convert object to primitive value")},uc={exports:{}},xr=Jn,Rd=Object.defineProperty,Od=function(t,e){try{Rd(xr,t,{value:e,configurable:!0,writable:!0})}catch(i){xr[t]=e}return e},Dd=Jn,zd=Od,$r="__core-js_shared__",Fd=Dd[$r]||zd($r,{}),Hd=Fd,es=Hd;(uc.exports=function(t,e){return es[t]||(es[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ud=uc.exports,qd=fr,jd=Object,cc=function(t){return jd(qd(t))},Wd=xn,Zd=cc,Kd=Wd({}.hasOwnProperty),gl=Object.hasOwn||function(e,i){return Kd(Zd(e),i)},Gd=xn,Yd=0,Qd=Math.random(),Xd=Gd(1 .toString),Jd=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Xd(++Yd+Qd,36)},xd=Jn,$d=Ud,ts=gl,e2=Jd,t2=oc,i2=lc,bo=xd.Symbol,Dl=$d("wks"),n2=i2?bo.for||bo:bo&&bo.withoutSetter||e2,zo=function(t){return ts(Dl,t)||(Dl[t]=t2&&ts(bo,t)?bo[t]:n2("Symbol."+t)),Dl[t]},o2=Oo,is=Do,ns=rc,l2=ac,r2=Nd,s2=zo,a2=TypeError,u2=s2("toPrimitive"),c2=function(t,e){if(!is(t)||ns(t))return t;var i=l2(t,u2),n;if(i){if(e===void 0&&(e="default"),n=o2(i,t,e),!is(n)||ns(n))return n;throw a2("Can't convert object to primitive value")}return e===void 0&&(e="number"),r2(t,e)},f2=c2,d2=rc,fc=function(t){var e=f2(t,"string");return d2(e)?e:e+""},m2=Jn,os=Do,or=m2.document,p2=os(or)&&os(or.createElement),h2=function(t){return p2?or.createElement(t):{}},v2=Ro,g2=lo,b2=h2,dc=!v2&&!g2(function(){return Object.defineProperty(b2("div"),"a",{get:function(){return 7}}).a!=7}),_2=Ro,w2=Oo,k2=Q1,y2=x1,C2=fd,S2=fc,P2=gl,T2=dc,ls=Object.getOwnPropertyDescriptor;Y1.f=_2?ls:function(e,i){if(e=C2(e),i=S2(i),T2)try{return ls(e,i)}catch(n){}if(P2(e,i))return y2(!w2(k2.f,e,i),e[i])};var E2=lo,A2=Wn,I2=/#|\.prototype\./,Fo=function(t,e){var i=V2[L2(t)];return i==B2?!0:i==M2?!1:A2(e)?E2(e):!!e},L2=Fo.normalize=function(t){return String(t).replace(I2,".").toLowerCase()},V2=Fo.data={},M2=Fo.NATIVE="N",B2=Fo.POLYFILL="P",N2=Fo,rs=Z1,R2=sc,O2=hl,D2=rs(rs.bind),z2=function(t,e){return R2(t),e===void 0?t:O2?D2(t,e):function(){return t.apply(e,arguments)}},mc={},F2=Ro,H2=lo,U2=F2&&H2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),q2=Do,j2=String,W2=TypeError,pc=function(t){if(q2(t))return t;throw W2(j2(t)+" is not an object")},Z2=Ro,K2=dc,G2=U2,xo=pc,ss=fc,Y2=TypeError,zl=Object.defineProperty,Q2=Object.getOwnPropertyDescriptor,Fl="enumerable",Hl="configurable",Ul="writable";mc.f=Z2?G2?function(e,i,n){if(xo(e),i=ss(i),xo(n),typeof e=="function"&&i==="prototype"&&"value"in n&&Ul in n&&!n[Ul]){var l=Q2(e,i);l&&l[Ul]&&(e[i]=n.value,n={configurable:Hl in n?n[Hl]:l[Hl],enumerable:Fl in n?n[Fl]:l[Fl],writable:!1})}return zl(e,i,n)}:zl:function(e,i,n){if(xo(e),i=ss(i),xo(n),K2)try{return zl(e,i,n)}catch(l){}if("get"in n||"set"in n)throw Y2("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var X2=Ro,J2=mc,x2=x1,$2=X2?function(t,e,i){return J2.f(t,e,x2(1,i))}:function(t,e,i){return t[e]=i,t},$o=Jn,em=Z0,tm=Z1,im=Wn,nm=Y1.f,om=N2,fo=ec,lm=z2,mo=$2,as=gl,rm=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return em(t,this,arguments)};return e.prototype=t.prototype,e},sm=function(t,e){var i=t.target,n=t.global,l=t.stat,r=t.proto,o=n?$o:l?$o[i]:($o[i]||{}).prototype,s=n?fo:fo[i]||mo(fo,i,{})[i],a=s.prototype,c,f,m,h,_,g,w,b,C;for(h in e)c=om(n?h:i+(l?".":"#")+h,t.forced),f=!c&&o&&as(o,h),g=s[h],f&&(t.dontCallGetSet?(C=nm(o,h),w=C&&C.value):w=o[h]),_=f&&w?w:e[h],!(f&&typeof g==typeof _)&&(t.bind&&f?b=lm(_,$o):t.wrap&&f?b=rm(_):r&&im(_)?b=tm(_):b=_,(t.sham||_&&_.sham||g&&g.sham)&&mo(b,"sham",!0),mo(s,h,b),r&&(m=i+"Prototype",as(fo,m)||mo(fo,m,{}),mo(fo[m],h,_),t.real&&a&&(c||!a[h])&&mo(a,h,_)))},am=Do,um=vl,cm=zo,fm=cm("match"),dm=function(t){var e;return am(t)&&((e=t[fm])!==void 0?!!e:um(t)=="RegExp")},mm=zo,pm=mm("toStringTag"),hc={};hc[pm]="z";var hm=String(hc)==="[object z]",vm=hm,gm=Wn,al=vl,bm=zo,_m=bm("toStringTag"),wm=Object,km=al(function(){return arguments}())=="Arguments",ym=function(t,e){try{return t[e]}catch(i){}},Cm=vm?al:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=ym(e=wm(t),_m))=="string"?i:km?al(e):(n=al(e))=="Object"&&gm(e.callee)?"Arguments":n},Sm=Cm,Pm=String,Tm=function(t){if(Sm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Pm(t)},Em=pc,Am=function(){var t=Em(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Im=Oo,Lm=gl,Vm=ic,Mm=Am,us=RegExp.prototype,Bm=function(t){var e=t.flags;return e===void 0&&!("flags"in us)&&!Lm(t,"flags")&&Vm(us,t)?Im(Mm,t):e},dr=xn,Nm=cc,Rm=Math.floor,ql=dr("".charAt),Om=dr("".replace),jl=dr("".slice),Dm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,zm=/\$([$&'`]|\d{1,2})/g,Fm=function(t,e,i,n,l,r){var o=i+t.length,s=n.length,a=zm;return l!==void 0&&(l=Nm(l),a=Dm),Om(r,a,function(c,f){var m;switch(ql(f,0)){case"$":return"$";case"&":return t;case"`":return jl(e,0,i);case"'":return jl(e,o);case"<":m=l[jl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var _=Rm(h/10);return _===0?c:_<=s?n[_-1]===void 0?ql(f,1):n[_-1]+ql(f,1):c}m=n[h-1]}return m===void 0?"":m})},Hm=sm,Um=Oo,mr=xn,cs=fr,qm=Wn,jm=cr,Wm=dm,po=Tm,Zm=ac,Km=Bm,Gm=Fm,Ym=zo,Qm=Ym("replace"),Xm=TypeError,vc=mr("".indexOf),Jm=mr("".replace),fs=mr("".slice),xm=Math.max,ds=function(t,e,i){return i>t.length?-1:e===""?i:vc(t,e,i)};Hm({target:"String",proto:!0},{replaceAll:function(e,i){var n=cs(this),l,r,o,s,a,c,f,m,h,_=0,g=0,w="";if(!jm(e)){if(l=Wm(e),l&&(r=po(cs(Km(e))),!~vc(r,"g")))throw Xm("`.replaceAll` does not allow non-global regexes");if(o=Zm(e,Qm),o)return Um(o,e,n,i);if(l)return Jm(po(n),e,i)}for(s=po(n),a=po(e),c=qm(i),c||(i=po(i)),f=a.length,m=xm(1,f),_=ds(s,a,0);_!==-1;)h=c?po(i(a,_,s)):Gm(a,s,_,[],void 0,i),w+=fs(s,g,_)+h,g=_+f,_=ds(s,a,_+m);return g<s.length&&(w+=fs(s,g)),w}});var $m=tc,e4=$m,t4=e4,i4=t4("String","replaceAll"),n4=i4,o4=n4,l4=o4,r4=l4,s4=q0(r4);const a4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},u4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},Dn=new Map;Dn.set(ne.InterfaceLanguage.EN,u4);Dn.set(ne.InterfaceLanguage.RU,a4);const gc=new Map,ms=({language:t,pack:e,fallback:i})=>{if(Dn.has(t)){const n=Dn.get(t);Dn.set(t,{...n,...e})}else Dn.set(t,e);gc.set(t,i)},ps=t=>Dn.has(t),bc=(t,e,i,n)=>{var l;const r=Dn.get(t);let o=r==null?void 0:r[e];if(ne.isNullable(o)){const s=(l=gc.get(t))!==null&&l!==void 0?l:n,a=s?Dn.get(s):void 0;o=a==null?void 0:a[e]}return ne.isNullable(o)?e+Object.values(i!=null?i:{}).join(" "):i?s4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=i[a])!==null&&c!==void 0?c:""}):o},Y=(t,e)=>{const{interfaceLanguage$:i}=Ct(),n=tt(i),l=gn();return bc(n,t,e,l.defaultLanguage)};var cl;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(cl||(cl={}));const c4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,f4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,d4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,el="?",m4="X-Sentry-Auth",p4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function h4(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
- `);let n,l;for(let r=0;r<i.length;++r){if(n=c4.exec(i[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||el,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=d4.exec(i[r]))l={filename:n[2],function:n[1]||el,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=f4.exec(i[r]))r===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),l={filename:n[3],function:n[1]||el,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=el),e.push(l)}return e.length?{value:_c(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function _c(t){return(t&&t.message||"No error message").split(`
14
- `).filter(i=>!!i)[0]}function v4(t){try{const e=h4(t);if(e)return e}catch(e){}return{value:_c(t),type:t&&t.name,stacktrace:{frames:[]}}}function g4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class b4{constructor(e){if(e&&e.dsn){const i=p4.exec(e.dsn),n=i?i.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[v4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(m4,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:g4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function hs(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function _4(){return window}class pr extends b4{constructor(e,i=_4()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new pr({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>hs(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch(i){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>hs(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(i){return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return{...i,[n]:r||s?[...r||[],...s||[]]:{...typeof l!="string"?l:{},...typeof o!="string"?o:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let tl=null;class lr{constructor(e,i,n={}){!tl&&e.dsn&&(this.sentryClient=new pr({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new ne.Subscription,this.options=e,this.context=n,tl=this)}destroy(){var e,i;(e=this.sentryClient)===null||e===void 0||e.destroy(),(i=this.sentrySubscription)===null||i===void 0||i.unsubscribe(),tl=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=o,{errorType:h,category:_}=i;if(ne.isNonNullable(_)&&m.includes(_)||ne.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ne.isNonNullable(_)&&c.includes(_)||ne.isNonNullable(h)&&a.includes(h)){Object.keys(i).length&&l.setTags({version:this.version,...i}),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras({...r,...n});try{h&&l.captureMessage(h,i.fatal?cl.fatal:cl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return tl}}var wo;(function(t){t.AUTO="auto"})(wo||(wo={}));var De;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(De||(De={}));var On;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(On||(On={}));var Xt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Xt||(Xt={}));var zn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(zn||(zn={}));var Ye;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Ye||(Ye={}));var no;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(no||(no={}));const wc=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},kc=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),w4=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Lo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},yc=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},Cc=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},k4=t=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},y4=()=>({title:Y("hotkey_map_modal_title"),closeBtnText:Y("hotkey_map_modal_close_btn_text"),groups:[{title:Y("hotkey_map_group_title_common"),items:[{description:Y("hotkey_map_item_mute_description"),value:Y("hotkey_map_item_mute_value")},{description:Y("hotkey_map_item_volume_up_description"),value:Y("hotkey_map_item_volume_up_value")},{description:Y("hotkey_map_item_volume_down_description"),value:Y("hotkey_map_item_volume_down_value")},{description:Y("hotkey_map_item_pip_description"),value:Y("hotkey_map_item_pip_value")},{description:Y("hotkey_map_item_full_screen_description"),value:Y("hotkey_map_item_full_screen_value")},{description:Y("hotkey_map_item_show_hotkey_map_description"),value:Y("hotkey_map_item_show_hotkey_map_value")}]},{title:Y("hotkey_map_group_title_playback"),items:[{description:Y("hotkey_map_item_play_toggle_description"),value:Y("hotkey_map_item_play_toggle_value")},{description:Y("hotkey_map_item_seek_backward_description"),value:Y("hotkey_map_item_seek_backward_value")},{description:Y("hotkey_map_item_seek_forward_description"),value:Y("hotkey_map_item_seek_forward_value")},{description:Y("hotkey_map_item_fast_seek_backward_description"),value:Y("hotkey_map_item_fast_seek_backward_value")},{description:Y("hotkey_map_item_fast_seek_forward_description"),value:Y("hotkey_map_item_fast_seek_forward_value")},{description:Y("hotkey_map_item_rate_down_description"),value:Y("hotkey_map_item_rate_down_value")},{description:Y("hotkey_map_item_rate_up_description"),value:Y("hotkey_map_item_rate_up_value")},{description:Y("hotkey_map_item_prev_frame_description"),value:Y("hotkey_map_item_prev_frame_value")},{description:Y("hotkey_map_item_next_frame_description"),value:Y("hotkey_map_item_next_frame_value")},{description:Y("hotkey_map_item_jump_seek_description"),value:Y("hotkey_map_item_jump_seek_value")}]},{title:Y("hotkey_map_group_title_subtitles"),items:[{description:Y("hotkey_map_item_subtitles_toggle_description"),value:Y("hotkey_map_item_subtitles_toggle_value")}]},{title:Y("hotkey_map_group_title_episodes"),items:[{description:Y("hotkey_map_item_prev_episode_description"),value:ne.isMacLike()?Y("hotkey_map_item_prev_episode_mac_value"):Y("hotkey_map_item_prev_episode_pc_value")},{description:Y("hotkey_map_item_next_episode_description"),value:ne.isMacLike()?Y("hotkey_map_item_next_episode_mac_value"):Y("hotkey_map_item_next_episode_pc_value")}]}]});class hr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ne.debounceFn(this.onResize.bind(this),S1)},this.info={isActive$:new ne.ValueSubject(this.isActive()),type:zn.PictureInPicture}}isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(i){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var i,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e))}onLeavePictureInPicture(e){var i,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}function fl(t){return t instanceof hr}function C4(t){const e=Ct();return vn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class S4 extends ke{constructor(e){super(),we(this,e,C4,null,be,{})}}function P4(t){Ze(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function T4(t){let e=Y("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&3&&e!==(e=Y("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&et(i,e)},d(n){n&&S(i)}}}function E4(t){let e,i=Y("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=T("div"),n=ze(i),l=O(),r=N("svg"),o=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){P(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=ve(e,"click",st(function(){In(t[2])&&t[2].apply(this,arguments)})),s=!0)},p(c,f){t=c},d(c){c&&S(e),s=!1,a()}}}function A4(t){let e;function i(r,o){return r[3]?E4:T4}let n=i(t),l=n(t);return{c(){e=T("div"),l.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",t[4]),B(e,"skippable",t[3])},m(r,o){P(r,e,o),l.m(e,null)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&B(e,"container-mobile",r[4]),o&8&&B(e,"skippable",r[3])},i:K,o:K,d(r){r&&S(e),l.d()}}}function I4(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=ne.noop}=e;const a=Ct().ui.isMobile;D(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,o=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class L4 extends ke{constructor(e){super(),we(this,e,I4,A4,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},P4)}}function V4(t){Ze(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function M4(t){let e;return{c(){e=T("button"),e.textContent=`${Y("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){P(i,e,n)},p:K,i:K,o:K,d(i){i&&S(e)}}}class B4 extends ke{constructor(e){super(),we(this,e,null,M4,be,{},V4)}}function N4(t){Ze(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
6
+ "use strict";var Jf=Object.create;var yl=Object.defineProperty;var xf=Object.getOwnPropertyDescriptor;var $f=Object.getOwnPropertyNames;var e0=Object.getPrototypeOf,t0=Object.prototype.hasOwnProperty;var i0=(t,e,i)=>e in t?yl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var n0=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of $f(e))!t0.call(t,l)&&l!==i&&yl(t,l,{get:()=>e[l],enumerable:!(n=xf(e,l))||n.enumerable});return t};var Nr=(t,e,i)=>(i=t!=null?Jf(e0(t)):{},n0(e||!t||!t.__esModule?yl(i,"default",{value:t,enumerable:!0}):i,t));var Cl=(t,e,i)=>(i0(t,typeof e!="symbol"?e+"":e,i),i);var tt=require("@vkontakte/videoplayer-core/es2018.cjs.js"),ie=require("@vkontakte/videoplayer-shared/es2018.cjs.js"),St=require("@vkontakte/videoplayer-statistics/es2018.cjs.js");require("@vkontakte/videoplayer-interactive/es2018.cjs.js");function K(){}function d1(t,e){for(const i in e)t[i]=e[i];return t}function m1(t){return t()}function Rr(){return Object.create(null)}function lt(t){t.forEach(m1)}function En(t){return typeof t=="function"}function be(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Qo;function Or(t,e){return Qo||(Qo=document.createElement("a")),Qo.href=e,t===Qo.href}function o0(t){return Object.keys(t).length===0}function Jt(t,...e){if(t==null){for(const n of e)n(void 0);return K}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function et(t){let e;return Jt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Jt(e,i))}function Fn(t,e,i,n){if(t){const l=p1(t,e,i,n);return t[0](l)}}function p1(t,e,i,n){return t[1]&&n?d1(i.ctx.slice(),t[1](n(e))):i.ctx}function Hn(t,e,i,n){if(t[2]&&n){const l=t[2](n(i));if(e.dirty===void 0)return l;if(typeof l=="object"){const r=[],o=Math.max(e.dirty.length,l.length);for(let s=0;s<o;s+=1)r[s]=e.dirty[s]|l[s];return r}return e.dirty|l}return e.dirty}function Un(t,e,i,n,l,r){if(l){const o=p1(e,i,n,r);t.p(o,l)}}function qn(t){if(t.ctx.length>32){const e=[],i=t.ctx.length/32;for(let n=0;n<i;n++)e[n]=-1;return e}return-1}function l0(t){return t==null?"":t}const h1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(t,e){t.appendChild(e)}function Ke(t,e,i){const n=r0(t);if(!n.getElementById(e)){const l=E("style");l.id=e,l.textContent=i,s0(n,l)}}function r0(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function s0(t,e){return p(t.head||t,e),e.sheet}function T(t,e,i){t.insertBefore(e,i||null)}function S(t){t.parentNode&&t.parentNode.removeChild(t)}function In(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function E(t){return document.createElement(t)}function N(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Fe(t){return document.createTextNode(t)}function R(){return Fe(" ")}function ht(){return Fe("")}function ve(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function $t(t){return function(e){return e.preventDefault(),t.call(this,e)}}function st(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function u(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function a0(t){return Array.from(t.childNodes)}function it(t,e){e=""+e,t.data!==e&&(t.data=e)}function zt(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Xo;function u0(){if(Xo===void 0){Xo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(t){Xo=!0}}return Xo}function or(t,e){getComputedStyle(t).position==="static"&&(t.style.position="relative");const n=E("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const l=u0();let r;return l?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=ve(window,"message",o=>{o.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=ve(n.contentWindow,"resize",e),e()}),p(t,n),()=>{(l||r&&n.contentWindow)&&r(),S(n)}}function M(t,e,i){t.classList.toggle(e,!!i)}function Bn(t,e){return new t(e)}let Mo;function Vo(t){Mo=t}function No(){if(!Mo)throw new Error("Function called outside component initialization");return Mo}function dn(t){No().$$.on_mount.push(t)}function Ro(t){No().$$.on_destroy.push(t)}function Ql(t,e){return No().$$.context.set(t,e),e}function lr(t){return No().$$.context.get(t)}function v1(){return No().$$.context}function to(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const vo=[],Se=[];let _o=[];const Xl=[],g1=Promise.resolve();let Jl=!1;function b1(){Jl||(Jl=!0,g1.then(_1))}function Oo(){return b1(),g1}function ko(t){_o.push(t)}function qe(t){Xl.push(t)}const Sl=new Set;let uo=0;function _1(){if(uo!==0)return;const t=Mo;do{try{for(;uo<vo.length;){const e=vo[uo];uo++,Vo(e),c0(e.$$)}}catch(e){throw vo.length=0,uo=0,e}for(Vo(null),vo.length=0,uo=0;Se.length;)Se.pop()();for(let e=0;e<_o.length;e+=1){const i=_o[e];Sl.has(i)||(Sl.add(i),i())}_o.length=0}while(vo.length);for(;Xl.length;)Xl.pop()();Jl=!1,Sl.clear(),Vo(t)}function c0(t){if(t.fragment!==null){t.update(),lt(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ko)}}function f0(t){const e=[],i=[];_o.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),_o=e}const sl=new Set;let $n;function de(){$n={r:0,c:[],p:$n}}function me(){$n.r||lt($n.c),$n=$n.p}function m(t,e){t&&t.i&&(sl.delete(t),t.i(e))}function v(t,e,i,n){if(t&&t.o){if(sl.has(t))return;sl.add(t),$n.c.push(()=>{sl.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Kt(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function d0(t,e){const i={},n={},l={$$scope:1};let r=t.length;for(;r--;){const o=t[r],s=e[r];if(s){for(const a in o)a in s||(n[a]=1);for(const a in s)l[a]||(i[a]=s[a],l[a]=1);t[r]=s}else for(const a in o)l[a]=1}for(const o in n)o in i||(i[o]=void 0);return i}function m0(t){return typeof t=="object"&&t!==null?t:{}}function je(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function F(t,e,i){const{fragment:n,after_update:l}=t.$$;n&&n.m(e,i),ko(()=>{const r=t.$$.on_mount.map(m1).filter(En);t.$$.on_destroy?t.$$.on_destroy.push(...r):lt(r),t.$$.on_mount=[]}),l.forEach(ko)}function H(t,e){const i=t.$$;i.fragment!==null&&(f0(i.after_update),lt(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function p0(t,e){t.$$.dirty[0]===-1&&(vo.push(t),b1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function we(t,e,i,n,l,r,o,s=[-1]){const a=Mo;Vo(t);const c=t.$$={fragment:null,ctx:[],props:r,update:K,not_equal:l,bound:Rr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Rr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};o&&o(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(d,h,..._)=>{const g=_.length?_[0]:h;return c.ctx&&l(c.ctx[d],c.ctx[d]=g)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](g),f&&p0(t,d)),h}):[],c.update(),f=!0,lt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const d=a0(e.target);c.fragment&&c.fragment.l(d),d.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&m(t.$$.fragment),F(t,e.target,e.anchor),_1()}Vo(a)}class ke{constructor(){Cl(this,"$$");Cl(this,"$$set")}$destroy(){H(this,1),this.$destroy=K}$on(e,i){if(!En(i))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const l=n.indexOf(i);l!==-1&&n.splice(l,1)}}$set(e){this.$$set&&!o0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const h0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(h0);var yo;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(yo||(yo={}));const v0={isMobile:void 0,defaultLanguage:ie.InterfaceLanguage.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:yo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:ie.VideoQuality.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,interactiveTimeIndicator:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!0},controls:{hideTimeout:500,hideTimeoutMobile:3e3,hideTimeoutInitial:200,hideTimeoutFullscreen:3e3,hideTimeoutCursor:3e3,hideTimeoutTooltips:1e3,collapseMobileUnmute:6e3,hide360IconTimeout:3e3,hideHotKeyHelpers:2e3,playbackRateMin:.25,playbackRateMax:2,playbackRateStep:.25,volumeStepKeyboard:.05,volumeStepWheel:.05,volumeBarTimeout:300,seekStepKeyboard:1e4,seekStepMobile:15e3,seekStepFrame:400},ads:{enable:void 0,initTimeout:2e3,loadTimeout:2e3,slot:void 0,preview:void 0},interactive:{historyMaxLength:100,noInteractionEventTimeout:3e4}},g0=t=>ie.fillWithDefault(t,v0),b0=t=>Ql("ui-config",t),bn=()=>lr("ui-config"),xl="vk_player_debug_panel_opened",w1=300,_0=100,w0="videoplayer",k0="videoplayer";var Ee;(function(t){t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Comma="Comma",t.Period="Period",t.Space="Space",t.KeyM="KeyM",t.KeyF="KeyF",t.KeyK="KeyK",t.KeyL="KeyL",t.KeyJ="KeyJ",t.KeyC="KeyC",t.KeyI="KeyI",t.Digit1="Digit1",t.Digit2="Digit2",t.Digit3="Digit3",t.Digit4="Digit4",t.Digit5="Digit5",t.Digit6="Digit6",t.Digit7="Digit7",t.Digit8="Digit8",t.Digit9="Digit9",t.Digit0="Digit0",t.Numpad1="Numpad1",t.Numpad2="Numpad2",t.Numpad3="Numpad3",t.Numpad4="Numpad4",t.Numpad5="Numpad5",t.Numpad6="Numpad6",t.Numpad7="Numpad7",t.Numpad8="Numpad8",t.Numpad9="Numpad9",t.Numpad0="Numpad0",t.ShiftLeft="ShiftLeft",t.ShiftRight="ShiftRight",t.Slash="Slash",t.Tab="Tab",t.Escape="Escape",t.Enter="Enter"})(Ee||(Ee={}));const Do={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},y0=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),C0=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),S0=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var dt;(function(t){t.PLAY_BUTTON="PLAY_BUTTON",t.REPLAY_BUTTON="REPLAY_BUTTON",t.NEXT_BUTTON="NEXT_BUTTON",t.PREV_BUTTON="PREV_BUTTON",t.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",t.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",t.SETTINGS_BUTTON="SETTINGS_BUTTON",t.LIVE_BUTTON="LIVE_BUTTON",t.GRAPH_BUTTON="GRAPH_BUTTON",t.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",t.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",t.TIMELINE="TIMELINE",t.VOLUME_BAR="VOLUME_BAR",t.MUTE_BUTTON="MUTE_BUTTON",t.SUBTITLES_BUTTON="SUBTITLES_BUTTON",t.CHROMECAST_BUTTON="CHROMECAST_BUTTON",t.VK_BUTTON="VK_BUTTON",t.EPISODE_BUTTON="EPISODE_BUTTON",t.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",t.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(dt||(dt={}));const Dr=40,k1=260,T0=60,Jo=8,y1=[dt.TIMELINE],al=[...y1,dt.GRAPH_BUTTON],zr=[...y1,dt.PLAY_BUTTON],C1=[...al,dt.PLAY_BUTTON];var go;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(go||(go={}));exports.GridTypes=void 0;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(exports.GridTypes||(exports.GridTypes={}));const Co={[exports.GridTypes.XS]:0,[exports.GridTypes.S]:1,[exports.GridTypes.M]:2,[exports.GridTypes.L]:3,[exports.GridTypes.XL]:4},co=[];function Mn(t,e){return{subscribe:Me(t,e).subscribe}}function Me(t,e=K){let i;const n=new Set;function l(s){if(be(t,s)&&(t=s,i)){const a=!co.length;for(const c of n)c[1](),co.push(c,t);if(a){for(let c=0;c<co.length;c+=2)co[c][0](co[c+1]);co.length=0}}}function r(s){l(s(t))}function o(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(i=e(l,r)||K),s(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:l,update:r,subscribe:o}}function Di(t,e,i){const n=!Array.isArray(t),l=n?[t]:t;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return Mn(i,(o,s)=>{let a=!1;const c=[];let f=0,d=K;const h=()=>{if(f)return;d();const g=e(n?c[0]:c,o,s);r?o(g):d=En(g)?g:K},_=l.map((g,w)=>Jt(g,b=>{c[w]=b,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){lt(_),d(),a=!1}})}const P0="prod",ml="1.1.36-dev.5c03a18e.0",S1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},T1=Symbol("storeContext"),P1=Symbol("microStoresContext"),E0=(t,e)=>{Ql(T1,t),Ql(P1,e)},Tt=()=>{const t=lr(T1);return ie.assertNonNullable(t,"Store context is empty!"),t},zo=()=>{const t=lr(P1);return ie.assertNonNullable(t,"MicroStores context is empty!"),t},Ct=(t,e)=>E1(t,t.getValue(),e),E1=(t,e,i)=>Mn(e,n=>{const l=t.subscribe(r=>{n(r),i==null||i(r)});return()=>l.unsubscribe()}),I0=(t,e,i)=>{var n,l,r,o;const s=t.info,{width:a,height:c}=et(i.ui.playerSize),f=(l=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&l!==void 0?l:0,d=(o=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&o!==void 0?o:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${ml} (core: ${tt.VERSION}, stat: ${St.VERSION}, shared: ${ie.VERSION})`,g=et(i.state.errorLog$),w=g.length?`
7
+ `+g.map((k,y)=>{var V;const Q=`${y}) Type: ${k.id}
8
+ `,A=`Message: ${k.message} (${k.thrown})
9
+ `,z=`Trace: ${(V=k.thrown)===null||V===void 0?void 0:V.stack}
10
+ `;return Q+A+z}).join(`
11
+ `):void 0,b=i.state.isAudioDisabled?"disabled":et(i.state.isAudioAvailable$)?void 0:"unavailable",C={Version:_,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${d}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:b,Position:`${et(i.state.positionExact$)}s`,State:`${et(i.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:w};return Object.entries(C).filter(([k,y])=>y!==void 0).map(([k,y])=>`${k}: ${y}`).join(`
12
+ `)},A0=(t,e,i)=>{const n=t.info,{width:l,height:r}=et(i.ui.playerSize),o={version:ml,viewport:`${l}x${r}`,volume:Math.round(et(i.state.volume$)*100)};o.id=i.videoId,n.currentFormat$.getValue()&&(o.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(o.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(o.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(o.buffer=Math.max(f.end-et(i.state.positionExact$),0));const d=n.throughputEstimation$.getValue();d&&(o.speed=d);const h=n.videoBitrate$.getValue();return h&&(o.bitrate=h),o},L0=(t,e)=>S1(t,e,"mp4"),I1="vk_player_prefer_traffic_saving_enabled",A1="vk_player_preferred_volume",L1="vk_player_prefer_volume_mute",rr="vk_player_preferred_quality",V1=t=>t>1?1:t<0?0:t,Fr=t=>ie.safeStorage.set(A1,V1(t).toString(10)),M1=()=>{const t=ie.safeStorage.get(A1);return ie.isNullable(t)?void 0:V1(parseFloat(t))},V0=(t,e)=>ie.safeStorage.set(rr,JSON.stringify({videoId:t,value:e})),B1=()=>ie.safeStorage.remove(rr),M0=t=>{const e=ie.safeStorage.get(rr);if(ie.isNullable(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){B1();return}return n},N1=(t,e)=>{e?ie.safeStorage.set(t,"true"):ie.safeStorage.remove(t)},R1=t=>ie.safeStorage.get(t)==="true",Tl=t=>N1(L1,t),B0=()=>R1(L1),N0=t=>N1(I1,t),R0=()=>R1(I1);function O0(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("defs"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(l,"d","M26.86 15.183c1.372-.492 2.534-1.711 2.534-3.61C29.394 8.922 27.185 7 24.07 7c-1.965 0-3.573.784-4.67 2.29l-.108.149a1.333 1.333 0 0 0 .268 1.855c.536.402 1.295.343 1.736-.162.09-.102.164-.19.205-.247.594-.81 1.431-1.306 2.5-1.306 1.534 0 2.604.915 2.604 2.251 0 1.36-1.093 2.275-2.651 2.275h-.583a1.231 1.231 0 0 0 0 2.462h.583c1.744 0 2.907.985 2.907 2.392 0 1.453-1.186 2.462-2.884 2.462-1.296 0-2.201-.552-2.883-1.603a10.181 10.181 0 0 0-.2-.287 1.403 1.403 0 0 0-2.052-.246c-.494.42-.65 1.13-.305 1.68.072.116.146.227.218.322C20.132 23.137 21.678 24 23.999 24c3.28 0 5.628-2.04 5.628-4.924 0-2.204-1.395-3.4-2.767-3.893Z"),u(l,"fill","#fff"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(o,"d","M67 23.5c0-1.318-1.201-3.094-4.199-4.673a1.5 1.5 0 1 1 1.398-2.654C67.452 17.886 70 20.433 70 23.5c0 3.126-2.556 5.554-6.088 7.27-3.633 1.766-8.825 3.062-15.259 3.722a1.5 1.5 0 0 1-.306-2.984c6.248-.641 11.057-1.882 14.253-3.436C65.897 26.47 67 24.8 67 23.5ZM38.879 35H38c-9.64 0-17.447-1.133-22.9-3.018-2.72-.941-4.94-2.099-6.506-3.468C7.019 27.138 6 25.445 6 23.5c0-1.64.785-3.073 1.908-4.255 1.119-1.179 2.66-2.205 4.42-3.086a1.5 1.5 0 1 1 1.343 2.682c-1.584.793-2.794 1.634-3.588 2.47C9.293 22.143 9 22.873 9 23.5c0 .807.407 1.74 1.568 2.755 1.17 1.022 2.996 2.02 5.513 2.892C21.106 30.885 28.55 32 38 32h.879l-1.44-1.44a1.5 1.5 0 0 1 2.122-2.12l3.999 3.998.01.011a1.495 1.495 0 0 1 .317 1.624 1.499 1.499 0 0 1-.326.488l-4 4a1.5 1.5 0 0 1-2.122-2.122L38.88 35Z"),u(o,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_618_12297"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_618_12297"),u(b,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(y,V){T(y,e,V),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(e,a),p(a,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},p(y,[V]){V&1&&C!==(C=!y[0]||null)&&u(e,"aria-hidden",C),V&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:K,o:K,d(y){y&&S(e)}}}function D0(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=l=>{"ariaLabel"in l&&i(0,n=l.ariaLabel)},[n]}class O1 extends ke{constructor(e){super(),we(this,e,D0,O0,be,{ariaLabel:0})}}var Pl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function z0(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var xo=function(t){return t&&t.Math==Math&&t},Jn=xo(typeof globalThis=="object"&&globalThis)||xo(typeof window=="object"&&window)||xo(typeof self=="object"&&self)||xo(typeof Pl=="object"&&Pl)||function(){return this}()||Pl||Function("return this")(),no=function(t){try{return!!t()}catch(e){return!0}},F0=no,pl=!F0(function(){var t=function(){}.bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),H0=pl,D1=Function.prototype,Hr=D1.apply,Ur=D1.call,U0=typeof Reflect=="object"&&Reflect.apply||(H0?Ur.bind(Hr):function(){return Ur.apply(Hr,arguments)}),z1=pl,F1=Function.prototype,$l=F1.call,q0=z1&&F1.bind.bind($l,$l),xn=z1?q0:function(t){return function(){return $l.apply(t,arguments)}},H1=xn,j0=H1({}.toString),W0=H1("".slice),hl=function(t){return W0(j0(t),8,-1)},Z0=hl,K0=xn,U1=function(t){if(Z0(t)==="Function")return K0(t)},er=typeof document=="object"&&document.all,G0=typeof er=="undefined"&&er!==void 0,q1={all:er,IS_HTMLDDA:G0},j1=q1,Y0=j1.all,jn=j1.IS_HTMLDDA?function(t){return typeof t=="function"||t===Y0}:function(t){return typeof t=="function"},W1={},Q0=no,Fo=!Q0(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),X0=pl,$o=Function.prototype.call,Ho=X0?$o.bind($o):function(){return $o.apply($o,arguments)},Z1={},K1={}.propertyIsEnumerable,G1=Object.getOwnPropertyDescriptor,J0=G1&&!K1.call({1:2},1);Z1.f=J0?function(e){var i=G1(this,e);return!!i&&i.enumerable}:K1;var Y1=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},x0=xn,$0=no,ed=hl,El=Object,td=x0("".split),id=$0(function(){return!El("z").propertyIsEnumerable(0)})?function(t){return ed(t)=="String"?td(t,""):El(t)}:El,sr=function(t){return t==null},nd=sr,od=TypeError,ar=function(t){if(nd(t))throw od("Can't call method on "+t);return t},ld=id,rd=ar,sd=function(t){return ld(rd(t))},qr=jn,Q1=q1,ad=Q1.all,Uo=Q1.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:qr(t)||t===ad}:function(t){return typeof t=="object"?t!==null:qr(t)},X1={},Il=X1,Al=Jn,ud=jn,jr=function(t){return ud(t)?t:void 0},J1=function(t,e){return arguments.length<2?jr(Il[t])||jr(Al[t]):Il[t]&&Il[t][e]||Al[t]&&Al[t][e]},cd=xn,x1=cd({}.isPrototypeOf),fd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",$1=Jn,Ll=fd,Wr=$1.process,Zr=$1.Deno,Kr=Wr&&Wr.versions||Zr&&Zr.version,Gr=Kr&&Kr.v8,Pn,cl;Gr&&(Pn=Gr.split("."),cl=Pn[0]>0&&Pn[0]<4?1:+(Pn[0]+Pn[1]));!cl&&Ll&&(Pn=Ll.match(/Edge\/(\d+)/),(!Pn||Pn[1]>=74)&&(Pn=Ll.match(/Chrome\/(\d+)/),Pn&&(cl=+Pn[1])));var dd=cl,Yr=dd,md=no,pd=Jn,hd=pd.String,ec=!!Object.getOwnPropertySymbols&&!md(function(){var t=Symbol();return!hd(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Yr&&Yr<41}),vd=ec,tc=vd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",gd=J1,bd=jn,_d=x1,wd=tc,kd=Object,ic=wd?function(t){return typeof t=="symbol"}:function(t){var e=gd("Symbol");return bd(e)&&_d(e.prototype,kd(t))},yd=String,Cd=function(t){try{return yd(t)}catch(e){return"Object"}},Sd=jn,Td=Cd,Pd=TypeError,nc=function(t){if(Sd(t))return t;throw Pd(Td(t)+" is not a function")},Ed=nc,Id=sr,oc=function(t,e){var i=t[e];return Id(i)?void 0:Ed(i)},Vl=Ho,Ml=jn,Bl=Uo,Ad=TypeError,Ld=function(t,e){var i,n;if(e==="string"&&Ml(i=t.toString)&&!Bl(n=Vl(i,t))||Ml(i=t.valueOf)&&!Bl(n=Vl(i,t))||e!=="string"&&Ml(i=t.toString)&&!Bl(n=Vl(i,t)))return n;throw Ad("Can't convert object to primitive value")},lc={exports:{}},Qr=Jn,Vd=Object.defineProperty,Md=function(t,e){try{Vd(Qr,t,{value:e,configurable:!0,writable:!0})}catch(i){Qr[t]=e}return e},Bd=Jn,Nd=Md,Xr="__core-js_shared__",Rd=Bd[Xr]||Nd(Xr,{}),Od=Rd,Jr=Od;(lc.exports=function(t,e){return Jr[t]||(Jr[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Dd=lc.exports,zd=ar,Fd=Object,rc=function(t){return Fd(zd(t))},Hd=xn,Ud=rc,qd=Hd({}.hasOwnProperty),vl=Object.hasOwn||function(e,i){return qd(Ud(e),i)},jd=xn,Wd=0,Zd=Math.random(),Kd=jd(1 .toString),Gd=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Kd(++Wd+Zd,36)},Yd=Jn,Qd=Dd,xr=vl,Xd=Gd,Jd=ec,xd=tc,bo=Yd.Symbol,Nl=Qd("wks"),$d=xd?bo.for||bo:bo&&bo.withoutSetter||Xd,qo=function(t){return xr(Nl,t)||(Nl[t]=Jd&&xr(bo,t)?bo[t]:$d("Symbol."+t)),Nl[t]},e2=Ho,$r=Uo,es=ic,t2=oc,i2=Ld,n2=qo,o2=TypeError,l2=n2("toPrimitive"),r2=function(t,e){if(!$r(t)||es(t))return t;var i=t2(t,l2),n;if(i){if(e===void 0&&(e="default"),n=e2(i,t,e),!$r(n)||es(n))return n;throw o2("Can't convert object to primitive value")}return e===void 0&&(e="number"),i2(t,e)},s2=r2,a2=ic,sc=function(t){var e=s2(t,"string");return a2(e)?e:e+""},u2=Jn,ts=Uo,tr=u2.document,c2=ts(tr)&&ts(tr.createElement),f2=function(t){return c2?tr.createElement(t):{}},d2=Fo,m2=no,p2=f2,ac=!d2&&!m2(function(){return Object.defineProperty(p2("div"),"a",{get:function(){return 7}}).a!=7}),h2=Fo,v2=Ho,g2=Z1,b2=Y1,_2=sd,w2=sc,k2=vl,y2=ac,is=Object.getOwnPropertyDescriptor;W1.f=h2?is:function(e,i){if(e=_2(e),i=w2(i),y2)try{return is(e,i)}catch(n){}if(k2(e,i))return b2(!v2(g2.f,e,i),e[i])};var C2=no,S2=jn,T2=/#|\.prototype\./,jo=function(t,e){var i=E2[P2(t)];return i==A2?!0:i==I2?!1:S2(e)?C2(e):!!e},P2=jo.normalize=function(t){return String(t).replace(T2,".").toLowerCase()},E2=jo.data={},I2=jo.NATIVE="N",A2=jo.POLYFILL="P",L2=jo,ns=U1,V2=nc,M2=pl,B2=ns(ns.bind),N2=function(t,e){return V2(t),e===void 0?t:M2?B2(t,e):function(){return t.apply(e,arguments)}},uc={},R2=Fo,O2=no,D2=R2&&O2(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),z2=Uo,F2=String,H2=TypeError,cc=function(t){if(z2(t))return t;throw H2(F2(t)+" is not an object")},U2=Fo,q2=ac,j2=D2,el=cc,os=sc,W2=TypeError,Rl=Object.defineProperty,Z2=Object.getOwnPropertyDescriptor,Ol="enumerable",Dl="configurable",zl="writable";uc.f=U2?j2?function(e,i,n){if(el(e),i=os(i),el(n),typeof e=="function"&&i==="prototype"&&"value"in n&&zl in n&&!n[zl]){var l=Z2(e,i);l&&l[zl]&&(e[i]=n.value,n={configurable:Dl in n?n[Dl]:l[Dl],enumerable:Ol in n?n[Ol]:l[Ol],writable:!1})}return Rl(e,i,n)}:Rl:function(e,i,n){if(el(e),i=os(i),el(n),q2)try{return Rl(e,i,n)}catch(l){}if("get"in n||"set"in n)throw W2("Accessors not supported");return"value"in n&&(e[i]=n.value),e};var K2=Fo,G2=uc,Y2=Y1,Q2=K2?function(t,e,i){return G2.f(t,e,Y2(1,i))}:function(t,e,i){return t[e]=i,t},tl=Jn,X2=U0,J2=U1,x2=jn,$2=W1.f,em=L2,fo=X1,tm=N2,mo=Q2,ls=vl,im=function(t){var e=function(i,n,l){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(i);case 2:return new t(i,n)}return new t(i,n,l)}return X2(t,this,arguments)};return e.prototype=t.prototype,e},nm=function(t,e){var i=t.target,n=t.global,l=t.stat,r=t.proto,o=n?tl:l?tl[i]:(tl[i]||{}).prototype,s=n?fo:fo[i]||mo(fo,i,{})[i],a=s.prototype,c,f,d,h,_,g,w,b,C;for(h in e)c=em(n?h:i+(l?".":"#")+h,t.forced),f=!c&&o&&ls(o,h),g=s[h],f&&(t.dontCallGetSet?(C=$2(o,h),w=C&&C.value):w=o[h]),_=f&&w?w:e[h],!(f&&typeof g==typeof _)&&(t.bind&&f?b=tm(_,tl):t.wrap&&f?b=im(_):r&&x2(_)?b=J2(_):b=_,(t.sham||_&&_.sham||g&&g.sham)&&mo(b,"sham",!0),mo(s,h,b),r&&(d=i+"Prototype",ls(fo,d)||mo(fo,d,{}),mo(fo[d],h,_),t.real&&a&&(c||!a[h])&&mo(a,h,_)))},om=Uo,lm=hl,rm=qo,sm=rm("match"),am=function(t){var e;return om(t)&&((e=t[sm])!==void 0?!!e:lm(t)=="RegExp")},um=qo,cm=um("toStringTag"),fc={};fc[cm]="z";var fm=String(fc)==="[object z]",dm=fm,mm=jn,ul=hl,pm=qo,hm=pm("toStringTag"),vm=Object,gm=ul(function(){return arguments}())=="Arguments",bm=function(t,e){try{return t[e]}catch(i){}},_m=dm?ul:function(t){var e,i,n;return t===void 0?"Undefined":t===null?"Null":typeof(i=bm(e=vm(t),hm))=="string"?i:gm?ul(e):(n=ul(e))=="Object"&&mm(e.callee)?"Arguments":n},wm=_m,km=String,ym=function(t){if(wm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return km(t)},Cm=cc,Sm=function(){var t=Cm(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Tm=Ho,Pm=vl,Em=x1,Im=Sm,rs=RegExp.prototype,Am=function(t){var e=t.flags;return e===void 0&&!("flags"in rs)&&!Pm(t,"flags")&&Em(rs,t)?Tm(Im,t):e},ur=xn,Lm=rc,Vm=Math.floor,Fl=ur("".charAt),Mm=ur("".replace),Hl=ur("".slice),Bm=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Nm=/\$([$&'`]|\d{1,2})/g,Rm=function(t,e,i,n,l,r){var o=i+t.length,s=n.length,a=Nm;return l!==void 0&&(l=Lm(l),a=Bm),Mm(r,a,function(c,f){var d;switch(Fl(f,0)){case"$":return"$";case"&":return t;case"`":return Hl(e,0,i);case"'":return Hl(e,o);case"<":d=l[Hl(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var _=Vm(h/10);return _===0?c:_<=s?n[_-1]===void 0?Fl(f,1):n[_-1]+Fl(f,1):c}d=n[h-1]}return d===void 0?"":d})},Om=nm,Dm=Ho,cr=xn,ss=ar,zm=jn,Fm=sr,Hm=am,po=ym,Um=oc,qm=Am,jm=Rm,Wm=qo,Zm=Wm("replace"),Km=TypeError,dc=cr("".indexOf),Gm=cr("".replace),as=cr("".slice),Ym=Math.max,us=function(t,e,i){return i>t.length?-1:e===""?i:dc(t,e,i)};Om({target:"String",proto:!0},{replaceAll:function(e,i){var n=ss(this),l,r,o,s,a,c,f,d,h,_=0,g=0,w="";if(!Fm(e)){if(l=Hm(e),l&&(r=po(ss(qm(e))),!~dc(r,"g")))throw Km("`.replaceAll` does not allow non-global regexes");if(o=Um(e,Zm),o)return Dm(o,e,n,i);if(l)return Gm(po(n),e,i)}for(s=po(n),a=po(e),c=zm(i),c||(i=po(i)),f=a.length,d=Ym(1,f),_=us(s,a,0);_!==-1;)h=c?po(i(a,_,s)):jm(a,s,_,[],void 0,i),w+=as(s,g,_)+h,g=_+f,_=us(s,a,_+d);return g<s.length&&(w+=as(s,g)),w}});var Qm=J1,Xm=Qm,Jm=Xm,xm=Jm("String","replaceAll"),$m=xm,e4=$m,t4=e4,i4=t4,n4=z0(i4);const o4={auto_quality_invariant:"\u0410\u0432\u0442\u043E",auto_quality:"\u0410\u0432\u0442\u043E ({actual})",auto_quality_option:"\u0410\u0432\u0442\u043E",menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",menu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",menu_report:"\u0421\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u043E \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0435",menu_pip:"\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",menu_copy_video_link:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0432\u0438\u0434\u0435\u043E",menu_copy_video_link_with_timestamp:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u043A\u0430\u0434\u0440",menu_video_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C",menu_chromecast:"Chromecast \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F",menu_copy_debug:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_save_debug:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u043A\u0438",menu_debug_overlay:"\u0422\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",pip_dummy_title:"\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0432 \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0435",submenu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E",submenu_playback_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C",submenu_settings:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",submenu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445",mobile_unmute:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",playing_ads:"\u0420\u0435\u043A\u043B\u0430\u043C\u0430 {timeleft}",skip_ads_now:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443",skip_ads_after:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u043A\u043B\u0430\u043C\u0443 \u0447\u0435\u0440\u0435\u0437 {time}\u0441",visit_advertiser:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0441\u0430\u0439\u0442",aria_timeline:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B",aria_timeline_value:"{position} (\u043E\u0431\u0449\u0430\u044F \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C {duration}",aria_open_settings:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0438\u0434\u0435\u043E\u043F\u043B\u0435\u0435\u0440\u0430",doubletap_seek_step:"{seconds} \u0441\u0435\u043A\u0443\u043D\u0434",playback_rate_1:"\u041E\u0431\u044B\u0447\u043D\u0430\u044F",playback_rate:"{multiplier}x",video360:"\u043F\u0430\u043D\u043E\u0440\u0430\u043C\u043D\u043E\u0435 \u0432\u0438\u0434\u0435\u043E",subtitles_caption:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_auto:"{language} (\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435)",subtitles_off:"\u0412\u044B\u043A\u043B.",subtitles_auto_caption:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",subtitles_turn_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",traffic_saving_off:"\u041E\u0442\u043A\u043B.",traffic_saving_on:"\u0412\u043A\u043B.",traffic_saving_disable:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_enable:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0430",traffic_saving_helper_text:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E \u0432\u0438\u0434\u0435\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043D\u0438\u0436\u0435\u043D\u043E \u0434\u043B\u044F \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0442\u0440\u0430\u0444\u0438\u043A\u0430",tooltip_button_disabled:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_previous:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_restart:"\u041D\u0430\u0447\u0430\u0442\u044C \u0437\u0430\u043D\u043E\u0432\u043E",tooltip_play:"\u0421\u043C\u043E\u0442\u0440\u0435\u0442\u044C",tooltip_pause:"\u041F\u0430\u0443\u0437\u0430",tooltip_next:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",tooltip_interactive_go_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0439 \u0433\u043B\u0430\u0432\u0435",tooltip_interactive_go_back_disabled:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",tooltip_interactive_go_back_disabled_first:"\u0412\u044B \u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u043F\u0435\u0440\u0432\u0443\u044E \u0433\u043B\u0430\u0432\u0443",tooltip_interactive_go_back_disabled_limit:"\u041B\u0438\u043C\u0438\u0442 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u0432 \u0438\u0441\u0447\u0435\u0440\u043F\u0430\u043D",tooltip_chapter_without_interactive:"\u0412 \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u0435 \u043D\u0435\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_interactive_of_chapter_completed:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u044B \u044D\u0442\u043E\u0439 \u0433\u043B\u0430\u0432\u044B \u0443\u0436\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u044B",tooltip_interactive_seek:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0443",tooltip_interactive_graph_off:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_interactive_graph_on:"\u0421\u043A\u0440\u044B\u0442\u044C \u043A\u0430\u0440\u0442\u0443 \u0441\u044E\u0436\u0435\u0442\u0430",tooltip_live:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u043D\u0430 \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043B\u0430\u0439\u0432",tooltip_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",tooltip_volume:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_volume_muted:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",tooltip_subtitles_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_subtitles_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",tooltip_settings_off:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_settings_on:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltip_fullscreen_off:"\u041D\u0430 \u0432\u0435\u0441\u044C \u044D\u043A\u0440\u0430\u043D",tooltip_fullscreen_on:"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430",tooltip_chromecast_off:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_chromecast_on:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C Chromecast",tooltip_episode_finished:"\u0412\u044B \u0443\u0436\u0435 \u0441\u0434\u0435\u043B\u0430\u043B\u0438 \u0441\u0432\u043E\u0439 \u0432\u044B\u0431\u043E\u0440",tooltip_episode_unfinished:"\u041D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u043E",tooltip_disabled_when_interactive:"\u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442",tooltip_disabled_when_graph_on:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043A\u0430\u0440\u0442\u044B",tooltip_interactive_interaction_time_indicator:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",tooltip_vk_logo:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0432 VK \u0412\u0438\u0434\u0435\u043E",tooltip_vk_video_logo:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 VK \u0412\u0438\u0434\u0435\u043E",download_video_caption:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",hotkey_map_modal_close_btn_text:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",hotkey_map_group_title_common:"\u041E\u0431\u0449\u0438\u0435",hotkey_map_group_title_playback:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_group_title_subtitles:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_group_title_episodes:"\u042D\u043F\u0438\u0437\u043E\u0434\u044B",hotkey_map_item_mute_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_up_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445",hotkey_map_item_volume_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C",hotkey_map_item_volume_down_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437",hotkey_map_item_pip_description:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0438\u043B\u0438 \u0440\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u043C\u0438\u043D\u0438-\u043F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u044D\u043A\u0440\u0430\u043D\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0433\u043E\u0440\u044F\u0447\u0438\u0445 \u043A\u043B\u0430\u0432\u0438\u0448",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435",hotkey_map_item_play_toggle_value:"\u041F\u0440\u043E\u0431\u0435\u043B (\u0438\u043B\u0438 k)",hotkey_map_item_seek_backward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_seek_backward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E (\u0438\u043B\u0438 j)",hotkey_map_item_seek_forward_description:"\u041F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u0442\u044C \u0440\u043E\u043B\u0438\u043A \u043D\u0430 10 \u0441\u0435\u043A\u0443\u043D\u0434 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_seek_forward_value:"\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E (\u0438\u043B\u0438 l)",hotkey_map_item_fast_seek_backward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u043D\u0430\u0437\u0430\u0434",hotkey_map_item_fast_seek_backward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_fast_seek_forward_description:"\u0423\u0441\u043A\u043E\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u043A\u0430 \u0432\u043F\u0435\u0440\u0451\u0434",hotkey_map_item_fast_seek_forward_value:"Shift + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_rate_down_description:"\u0423\u043C\u0435\u043D\u044C\u0448\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043A\u0430\u0434\u0440\u0443 <br />(\u043A\u043E\u0433\u0434\u0430 \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u043C\u0443 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0432\u0438\u0434\u0435\u043E <br />(\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0446\u0438\u0444\u0440\u0443 \xAB7\xBB \u0440\u043E\u043B\u0438\u043A \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u043E\u0442\u0430\u043D \u0434\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043E\u0442\u043C\u0435\u0442\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 70% \u043E\u0442 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043E)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_prev_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_prev_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E",hotkey_map_item_next_episode_description:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u044D\u043F\u0438\u0437\u043E\u0434\u0443",hotkey_map_item_next_episode_pc_value:"Ctrl + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",hotkey_map_item_next_episode_mac_value:"Option + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E",waiting_live_day_value:"\u0434\u043D",waiting_live_hour_value:"\u0447",waiting_live_minute_value:"\u043C\u0438\u043D",waiting_live_second_value:"\u0441\u0435\u043A",waiting_live_colon:":",waiting_live_upcoming_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0435\u0449\u0435 \u043D\u0435 \u043D\u0430\u0447\u0430\u043B\u0430\u0441\u044C",waiting_live_timer_title:"\u0414\u043E \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u0438 \u043E\u0441\u0442\u0430\u043B\u043E\u0441\u044C",waiting_record_title:"\u0422\u0440\u0430\u043D\u0441\u043B\u044F\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u043B\u0430\u0441\u044C, \u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043A\u043E\u0440\u043E \u0441\u0442\u0430\u043D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",aria_label_video_player:"\u0412\u0438\u0434\u0435\u043E \u043F\u043B\u0435\u0435\u0440",aria_label_spherical_control:"\u041A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440 \u0434\u043B\u044F \u0441\u0444\u0435\u0440\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0438\u0434\u0435\u043E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0441\u043E \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438 \u0434\u043B\u044F \u043F\u0430\u043D\u043E\u0440\u0430\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0438\u0434\u0435\u043E.",aria_label_debug_panel:"\u041E\u0431\u043B\u0430\u0441\u0442\u044C \u0441 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439, \u0441\u0434\u0435\u043B\u0430\u0439\u0442\u0435 \u0441\u043A\u0440\u0438\u043D\u0448\u043E\u0442 \u0434\u043B\u044F \u0442\u0435\u0445\u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0438",aria_label_new_tab_alert:"\u041E\u0442\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0432 \u043D\u043E\u0432\u043E\u0439 \u0432\u043A\u043B\u0430\u0434\u043A\u0435.",aria_label_context_menu_open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_context_menu_close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0435 \u043C\u0435\u043D\u044E",aria_label_menu_quality:"\u041A\u0430\u0447\u0435\u0441\u0442\u0432\u043E: {actual}",aria_label_menu_rate:"\u0421\u043A\u043E\u0440\u043E\u0441\u0442\u044C: {actual}",aria_label_menu_traffic_saving:"\u042D\u043A\u043E\u043D\u043E\u043C\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445: {actual}",aria_label_menu_subtitle:"\u0421\u0443\u0431\u0442\u0438\u0442\u0440\u044B: {actual}",aria_label_menu_download:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0435\u043E",aria_label_menu_debug_overlay_enable:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_debug_overlay_disable:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438",aria_label_menu_rotate:"\u041F\u043E\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0438\u0434\u0435\u043E \u043D\u0430 90 \u0433\u0440\u0430\u0434\u0443\u0441\u043E\u0432",aria_label_submenu_back:"\u0412\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u043D\u044E \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A",aria_label_submenu_traffic_saving_off:"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445",aria_label_submenu_traffic_saving_on:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445"},l4={mobile_unmute:"Unmute",auto_quality_invariant:"Auto",auto_quality:"Auto ({actual})",auto_quality_option:"Auto",menu_quality:"Quality",menu_playback_rate:"Playback rate",menu_traffic_saving:"Data saving",menu_report:"Report a problem",menu_pip:"Picture in picture",menu_copy_video_link:"Copy video link",menu_copy_video_link_with_timestamp:"Copy link with timestamp",menu_video_rotate:"Rotate",menu_chromecast:"Chromecast stream",menu_copy_debug:"Copy debug info",menu_save_debug:"Save debug info",menu_debug_overlay:"Tech stats",pip_dummy_title:"Video plays in picture-in-picture mode",submenu_quality:"Quality",submenu_playback_rate:"Playback rate",submenu_traffic_saving:"Data saving",submenu_settings:"Settings",playing_ads:"Ads {timeleft}",skip_ads_after:"Skip ads",skip_ads_now:"Ads can be skipped in {time}s",visit_advertiser:"Visit site",aria_timeline:"Time scale slider",aria_timeline_value:"{position} out of {duration}",aria_open_settings:"Open video player settings",doubletap_seek_step:"{seconds} seconds",playback_rate_1:"Normal",playback_rate:"{multiplier}x",video360:"spherical video",subtitles_caption:"Subtitles",subtitles_auto:"{language} (Auto-generated)",subtitles_off:"Off",subtitles_auto_caption:"Auto subtitles",subtitles_turn_on:"Turn on subtitles",subtitles_turn_off:"Turn off subtitles",traffic_saving_off:"Off",traffic_saving_on:"On",traffic_saving_disable:"Disabled",traffic_saving_enable:"Enabled",traffic_saving_helper_text:"When turned on the video quality will be reduced to save data",tooltip_button_disabled:"Button disabled",tooltip_previous:"Previous video",tooltip_restart:"Watch again",tooltip_play:"Play",tooltip_pause:"Pause",tooltip_next:"Next video",tooltip_interactive_go_back:"Back to previous chapter",tooltip_interactive_go_back_disabled:"Interactive history unavailable",tooltip_interactive_go_back_disabled_first:"You're watching the first chapter",tooltip_interactive_go_back_disabled_limit:"Go-back limit exceeded",tooltip_chapter_without_interactive:"This chapter has no interactive segment",tooltip_interactive_of_chapter_completed:"Chapter's interactive segments already watched",tooltip_interactive_seek:"Go to interactive",tooltip_interactive_graph_off:"Show interactive graph",tooltip_interactive_graph_on:"Hide interactive graph",tooltip_live:"Go to the live edge",tooltip_episodes:"Episodes",tooltip_volume:"Turn volume off",tooltip_volume_muted:"Turn volume on",tooltip_subtitles_off:"Turn subtitles on",tooltip_subtitles_on:"Turn subtitles off",tooltip_settings_off:"Open settings",tooltip_settings_on:"Close settings",tooltip_fullscreen_off:"Enter fullscreen mode",tooltip_fullscreen_on:"Exit fullscreen mode",tooltip_chromecast_off:"Turn Chromecast on",tooltip_chromecast_on:"Turn Chromecast off",tooltip_episode_finished:"You have already viewed interactive episode",tooltip_episode_unfinished:"Interactive episode not finished",tooltip_disabled_when_interactive:"Interactive video in progress",tooltip_disabled_when_graph_on:"Button is disabled when graph is opened",tooltip_interactive_interaction_time_indicator:"Press the interactive element",tooltip_vk_logo:"Open in VK Video",tooltip_vk_video_logo:"Go to VK Video",download_video_caption:"Download video",hotkey_helper_current_volume:"{value} %",hotkey_map_modal_title:"Keyboard shortcuts",hotkey_map_modal_close_btn_text:"Close",hotkey_map_group_title_common:"Common",hotkey_map_group_title_playback:"Playback",hotkey_map_group_title_subtitles:"Subtitles",hotkey_map_group_title_episodes:"Episodes",hotkey_map_item_mute_description:"Toggle mute",hotkey_map_item_mute_value:"m",hotkey_map_item_volume_up_description:"Increase volume",hotkey_map_item_volume_up_value:"Arrow up",hotkey_map_item_volume_down_description:"Decrease volume",hotkey_map_item_volume_down_value:"Arrow down",hotkey_map_item_pip_description:"Toggle miniplayer",hotkey_map_item_pip_value:"i",hotkey_map_item_full_screen_description:"Toggle full screen",hotkey_map_item_full_screen_value:"f",hotkey_map_item_show_hotkey_map_description:"Hide or show list of hotkeys",hotkey_map_item_show_hotkey_map_value:"Shift + ?",hotkey_map_item_play_toggle_description:"Toggle play/pause",hotkey_map_item_play_toggle_value:"Space (or k)",hotkey_map_item_seek_backward_description:"Rewind 10 seconds",hotkey_map_item_seek_backward_value:"Arrow left (or j)",hotkey_map_item_seek_forward_description:"Forward 10 seconds",hotkey_map_item_seek_forward_value:"Arrow right (or l)",hotkey_map_item_fast_seek_backward_description:"Fast rewind",hotkey_map_item_fast_seek_backward_value:"Shift + Arrow left",hotkey_map_item_fast_seek_forward_description:"Fast forward",hotkey_map_item_fast_seek_forward_value:"Shift + Arrow right",hotkey_map_item_rate_down_description:"Decrease playback rate",hotkey_map_item_rate_down_value:"< (Shift + ,)",hotkey_map_item_rate_up_description:"Increase playback rate",hotkey_map_item_rate_up_value:"> (Shift + .)",hotkey_map_item_prev_frame_description:"Previous frame (while paused)",hotkey_map_item_prev_frame_value:",",hotkey_map_item_next_frame_description:"Next frame (while paused)",hotkey_map_item_next_frame_value:".",hotkey_map_item_jump_seek_description:"Seek to specific point in the video (7 advances to 70% of duration)",hotkey_map_item_jump_seek_value:"0, 1, 2, 3, 4, 5, 6, 7, 8, 9",hotkey_map_item_subtitles_toggle_description:"Toggle captions ON/OFF",hotkey_map_item_subtitles_toggle_value:"c",hotkey_map_item_prev_episode_description:"Seek to previous episode",hotkey_map_item_prev_episode_pc_value:"Ctrl + Arrow left",hotkey_map_item_prev_episode_mac_value:"Option + Arrow left",hotkey_map_item_next_episode_description:"Seek to next episode",hotkey_map_item_next_episode_pc_value:"Ctrl + Arrow right",hotkey_map_item_next_episode_mac_value:"Option + Arrow right",waiting_live_day_value:"d",waiting_live_hour_value:"h",waiting_live_minute_value:"min",waiting_live_second_value:"sec",waiting_live_colon:":",waiting_live_upcoming_title:"The broadcast hasn't started yet",waiting_live_timer_title:"Before the start of the broadcast left",waiting_record_title:"The broadcast has ended and the recording will be available soon",aria_label_video_player:"Video player",aria_label_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_debug_panel:"Technical information area, take a screenshot for technical support",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_context_menu_open:"Open context menu",aria_label_context_menu_close:"Close context menu",aria_label_menu_quality:"Quality: {actual}",aria_label_menu_rate:"Rate: {actual}",aria_label_menu_traffic_saving:"Data saving: {actual}",aria_label_menu_subtitle:"Subtitles: {actual}",aria_label_menu_download:"Download video",aria_label_menu_debug_overlay_enable:"Enable display of technical information",aria_label_menu_debug_overlay_disable:"Disable display of technical information",aria_label_menu_rotate:"Rotate video 90 degrees",aria_label_submenu_back:"Return to settings menu",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode"},On=new Map;On.set(ie.InterfaceLanguage.EN,l4);On.set(ie.InterfaceLanguage.RU,o4);const mc=new Map,cs=({language:t,pack:e,fallback:i})=>{if(On.has(t)){const n=On.get(t);On.set(t,{...n,...e})}else On.set(t,e);mc.set(t,i)},fs=t=>On.has(t),pc=(t,e,i,n)=>{var l;const r=On.get(t);let o=r==null?void 0:r[e];if(ie.isNullable(o)){const s=(l=mc.get(t))!==null&&l!==void 0?l:n,a=s?On.get(s):void 0;o=a==null?void 0:a[e]}return ie.isNullable(o)?e+Object.values(i!=null?i:{}).join(" "):i?n4(o,/{(\w+?)}/g,(s,a)=>{var c;return(c=i[a])!==null&&c!==void 0?c:""}):o},G=(t,e)=>{const{interfaceLanguage$:i}=Tt(),n=et(i),l=bn();return pc(n,t,e,l.defaultLanguage)};var fl;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(fl||(fl={}));const r4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,s4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,a4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,il="?",u4="X-Sentry-Auth",c4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function f4(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
+ `);let n,l;for(let r=0;r<i.length;++r){if(n=r4.exec(i[r]))l={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||il,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=a4.exec(i[r]))l={filename:n[2],function:n[1]||il,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=s4.exec(i[r]))r===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),l={filename:n[3],function:n[1]||il,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!l.function&&l.lineno&&(l.function=il),e.push(l)}return e.length?{value:hc(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function hc(t){return(t&&t.message||"No error message").split(`
14
+ `).filter(i=>!!i)[0]}function d4(t){try{const e=f4(t);if(e)return e}catch(e){}return{value:hc(t),type:t&&t.name,stacktrace:{frames:[]}}}function m4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class p4{constructor(e){if(e&&e.dsn){const i=c4.exec(e.dsn),n=i?i.slice(1):[],l=n[5].split("/"),r=l.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/api/"+l.pop()+"/store/",this.authHeader="Sentry sentry_version=7,sentry_key="+n[1]+(n[2]?",sentry_secret="+n[2]:"")}this.environment=e&&e.environment}prepare(e){return{...this.getRequestBlank(),exception:{values:[d4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const i=new XMLHttpRequest;i.open("POST",this.apiUrl,!0),i.setRequestHeader("Content-type","application/json"),i.setRequestHeader(u4,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:m4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ds(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function h4(){return window}class fr extends p4{constructor(e,i=h4()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:l=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:o=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=l,this.beforeBreadcrumb=r,this.blacklistUrls=o,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,i){return this.extendState({tags:{[e]:i}}),this}setExtra(e,i){return this.extendState({extra:{[e]:i}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new fr({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const i=this.clone();e(i),i.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,i){this.send({...this.getRequestBlank(),message:e,level:i})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(i=>this.ignoreErrors.some(n=>ds(i,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:i="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${i}: ${n}`]}catch(i){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>ds(i,n)):!1}getEventFilterUrl(e){try{if(e.exception){const i=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return i&&i[i.length-1].filename||null}return null}catch(i){return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const l=this._state[n],r=Array.isArray(l)?l:null,o=e[n],s=Array.isArray(o)?o:null;return{...i,[n]:r||s?[...r||[],...s||[]]:{...typeof l!="string"?l:{},...typeof o!="string"?o:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let nl=null;class ir{constructor(e,i,n={}){!nl&&e.dsn&&(this.sentryClient=new fr({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new ie.Subscription,this.options=e,this.context=n,nl=this)}destroy(){var e,i;(e=this.sentryClient)===null||e===void 0||e.destroy(),(i=this.sentrySubscription)===null||i===void 0||i.unsubscribe(),nl=null}logIError(e,i=!1){e.thrown&&this.report(e.thrown,{fatal:i,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,i={},n={}){const{sentryClient:l,context:r,options:o}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:d}=o,{errorType:h,category:_}=i;if(ie.isNonNullable(_)&&d.includes(_)||ie.isNonNullable(h)&&f.includes(h))return;if(Math.random()<=s||ie.isNonNullable(_)&&c.includes(_)||ie.isNonNullable(h)&&a.includes(h)){Object.keys(i).length&&l.setTags({version:this.version,...i}),(Object.keys(r).length||Object.keys(n).length)&&l.setExtras({...r,...n});try{h&&l.captureMessage(h,i.fatal?fl.fatal:fl.error),l.report(e)}catch(w){console.error(w)}}}static getInstance(){return nl}}var wo;(function(t){t.AUTO="auto"})(wo||(wo={}));var De;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(De||(De={}));var Rn;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(Rn||(Rn={}));var xt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(xt||(xt={}));var Dn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Dn||(Dn={}));var Qe;(function(t){t.PLAY="PLAY",t.PAUSE="PAUSE",t.REPLAY="REPLAY",t.BACKWARD_SEEK="BACKWARD_SEEK",t.FORWARD_SEEK="FORWARD_SEEK",t.SUBTITLES_ON="SUBTITLES_ON",t.SUBTITLES_OFF="SUBTITLES_OFF",t.RATE_UP="RATE_UP",t.RATE_DOWN="RATE_DOWN",t.EPISODE_PREV="EPISODE_PREV",t.EPISODE_NEXT="EPISODE_NEXT",t.MUTE="MUTE",t.VOLUME="VOLUME"})(Qe||(Qe={}));var eo;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(eo||(eo={}));const vc=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.msRequestFullscreen)return t.msRequestFullscreen();if(t.webkitRequestFullscreen)return t.webkitRequestFullscreen();if(t.mozRequestFullScreen)return t.mozRequestFullScreen();const e=t.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},gc=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),v4=t=>{const e=t;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},Bo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},bc=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},_c=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},g4=t=>{const e=window.screen;return(async l=>e.orientation?e.orientation.lock(l):e.mozLockOrientation?e.mozLockOrientation(l):e.msLockOrientation?e.msLockOrientation(l):Promise.reject())(((l={width:0,height:0})=>l.width<=l.height?"portrait":"landscape")(t))},b4=()=>({title:G("hotkey_map_modal_title"),closeBtnText:G("hotkey_map_modal_close_btn_text"),groups:[{title:G("hotkey_map_group_title_common"),items:[{description:G("hotkey_map_item_mute_description"),value:G("hotkey_map_item_mute_value")},{description:G("hotkey_map_item_volume_up_description"),value:G("hotkey_map_item_volume_up_value")},{description:G("hotkey_map_item_volume_down_description"),value:G("hotkey_map_item_volume_down_value")},{description:G("hotkey_map_item_pip_description"),value:G("hotkey_map_item_pip_value")},{description:G("hotkey_map_item_full_screen_description"),value:G("hotkey_map_item_full_screen_value")},{description:G("hotkey_map_item_show_hotkey_map_description"),value:G("hotkey_map_item_show_hotkey_map_value")}]},{title:G("hotkey_map_group_title_playback"),items:[{description:G("hotkey_map_item_play_toggle_description"),value:G("hotkey_map_item_play_toggle_value")},{description:G("hotkey_map_item_seek_backward_description"),value:G("hotkey_map_item_seek_backward_value")},{description:G("hotkey_map_item_seek_forward_description"),value:G("hotkey_map_item_seek_forward_value")},{description:G("hotkey_map_item_fast_seek_backward_description"),value:G("hotkey_map_item_fast_seek_backward_value")},{description:G("hotkey_map_item_fast_seek_forward_description"),value:G("hotkey_map_item_fast_seek_forward_value")},{description:G("hotkey_map_item_rate_down_description"),value:G("hotkey_map_item_rate_down_value")},{description:G("hotkey_map_item_rate_up_description"),value:G("hotkey_map_item_rate_up_value")},{description:G("hotkey_map_item_prev_frame_description"),value:G("hotkey_map_item_prev_frame_value")},{description:G("hotkey_map_item_next_frame_description"),value:G("hotkey_map_item_next_frame_value")},{description:G("hotkey_map_item_jump_seek_description"),value:G("hotkey_map_item_jump_seek_value")}]},{title:G("hotkey_map_group_title_subtitles"),items:[{description:G("hotkey_map_item_subtitles_toggle_description"),value:G("hotkey_map_item_subtitles_toggle_value")}]},{title:G("hotkey_map_group_title_episodes"),items:[{description:G("hotkey_map_item_prev_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_prev_episode_mac_value"):G("hotkey_map_item_prev_episode_pc_value")},{description:G("hotkey_map_item_next_episode_description"),value:ie.isMacLike()?G("hotkey_map_item_next_episode_mac_value"):G("hotkey_map_item_next_episode_pc_value")}]}]});class dr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:ie.debounceFn(this.onResize.bind(this),w1)},this.info={isActive$:new ie.ValueSubject(this.isActive()),type:Dn.PictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(i){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,i;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(i=this.videoElement)===null||i===void 0||i.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var i,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(i,e))}onLeavePictureInPicture(e){var i,n,l;const o=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,o==null||o.removeEventListener("resize",this.eventHandlers.resize),(n=(i=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(i,e),(l=this.playerDummyElement)===null||l===void 0||l.$destroy()}onResize(e){var i,n;(n=(i=this.externalEventHandlers).resize)===null||n===void 0||n.call(i,e)}}function dl(t){return t instanceof dr}function _4(t){const e=Tt();return dn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class w4 extends ke{constructor(e){super(),we(this,e,_4,null,be,{})}}function k4(t){Ke(t,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function y4(t){let e=G("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=Fe(e)},m(n,l){T(n,i,l)},p(n,l){l&3&&e!==(e=G("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&it(i,e)},d(n){n&&S(i)}}}function C4(t){let e,i=G("skip_ads_now")+"",n,l,r,o,s,a;return{c(){e=E("div"),n=Fe(i),l=R(),r=N("svg"),o=N("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M0.263627 0.263605C-0.0878444 0.615078 -0.0878429 1.18493 0.26363 1.5364L4.72723 5.99998L0.263627 10.4636C-0.0878444 10.8151 -0.0878429 11.3849 0.26363 11.7364C0.615103 12.0879 1.18495 12.0879 1.53642 11.7364L6.63642 6.63637C6.98789 6.2849 6.98789 5.71505 6.63642 5.36358L1.53642 0.263602C1.18495 -0.0878686 0.615098 -0.0878673 0.263627 0.263605Z"),u(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),p(e,n),p(e,l),p(e,r),p(r,o),s||(a=ve(e,"click",st(function(){En(t[2])&&t[2].apply(this,arguments)})),s=!0)},p(c,f){t=c},d(c){c&&S(e),s=!1,a()}}}function S4(t){let e;function i(r,o){return r[3]?C4:y4}let n=i(t),l=n(t);return{c(){e=E("div"),l.c(),u(e,"class","container v-22jj8o"),M(e,"container-mobile",t[4]),M(e,"skippable",t[3])},m(r,o){T(r,e,o),l.m(e,null)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e,null))),o&16&&M(e,"container-mobile",r[4]),o&8&&M(e,"skippable",r[3])},i:K,o:K,d(r){r&&S(e),l.d()}}}function T4(t,e,i){let n,{position:l=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:o=ie.noop}=e;const a=Tt().ui.isMobile;D(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,l=f.position),"secondsToWatchBeforeSkip"in f&&i(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,o=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=l>0&&l>=r)},[l,r,o,c,n,a]}class P4 extends ke{constructor(e){super(),we(this,e,T4,S4,be,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},k4)}}function E4(t){Ke(t,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function I4(t){let e;return{c(){e=E("button"),e.textContent=`${G("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){T(i,e,n)},p:K,i:K,o:K,d(i){i&&S(e)}}}class A4 extends ke{constructor(e){super(),we(this,e,null,I4,be,{},E4)}}function L4(t){Ke(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@
21
21
  rgba(0, 0, 0, 0.5) 77%,
22
22
  rgba(0, 0, 0, 0.55) 88%,
23
23
  rgba(0, 0, 0, 0.65) 100%
24
- )}`)}function vs(t){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function gs(t){let e,i;return e=new L4({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function bs(t){let e,i;return e=new S4({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _s(t){let e,i;return e=new B4({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function R4(t){let e,i,n,l,r,o,s,a=t[0]&&vs(),c=t[3]&&gs(t),f=t[7]&&bs(),m=t[4]&&_s();return{c(){e=T("div"),a&&a.c(),i=O(),n=T("video"),l=O(),c&&c.c(),r=O(),f&&f.c(),o=O(),m&&m.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){P(h,e,_),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),m&&m.m(e,null),t[20](e),s=!0},p(h,[_]){h[0]?a||(a=vs(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=gs(h),c.c(),d(c,1),c.m(e,r)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[7]?f?_&128&&d(f,1):(f=bs(),f.c(),d(f,1),f.m(e,o)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[4]?m?_&16&&d(m,1):(m=_s(),m.c(),d(m,1),m.m(e,null)):m&&(de(),v(m,1,1,()=>{m=null}),me())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){v(c),v(f),v(m),s=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),m&&m.d(),t[20](null)}}}function O4(t,e,i){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=Ct(),_=h.state.isEnded$;D(t,_,R=>i(7,s=R));const g=h.ui.isMobile;D(t,g,R=>i(0,l=R));let w,b,C=!1;const k=h.ads.playbackState;D(t,k,R=>i(18,n=R));const y=h.ads.canSkip,M=h.ads.position;D(t,M,R=>i(5,r=R));const j=h.ads.secondsToWatchBeforeSkip;D(t,j,R=>i(6,o=R));let I,z;vn(()=>{const R=new AbortController;let te=()=>{R.abort()};const X=h.getAdmanWrapper();if(!a){X.onAdmanLoadingError();return}const{width:G,height:A}=tt(h.ui.playerSize),V=tt(h.ui.isFullscreen),x=tt(h.ui.isAutoplay),L={width:G,height:A,isFullscreen:V,isAutoplay:x,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(X.initAdman(L),C=!0):X.loadAdman(R.signal).then(()=>{X.initAdman(L),C=!0}).catch(()=>{X.onAdmanLoadingError()}),()=>{!C&&te()}});function ae(R){Ce[R?"unshift":"push"](()=>{b=R,i(2,b)})}function se(R){Ce[R?"unshift":"push"](()=>{w=R,i(1,w)})}return t.$$set=R=>{"adsSlotId"in R&&i(14,a=R.adsSlotId),"adsParams"in R&&i(15,c=R.adsParams),"adsPreviewParam"in R&&i(16,f=R.adsPreviewParam),"duration"in R&&i(17,m=R.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,I=y&&n!==Xt.INACTIVE),t.$$.dirty&262145&&i(4,z=l&&n!==Xt.INACTIVE)},[l,w,b,I,z,r,o,s,h,_,g,k,M,j,a,c,f,m,n,ae,se]}class Sc extends ke{constructor(e){super(),we(this,e,O4,R4,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},N4)}}const Fn=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function D4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function z4(t){let e,i,n;return{c(){e=N("svg"),i=N("rect"),n=N("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function F4(t){let e;function i(r,o){return r[0]?z4:D4}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function H4(t,e,i){let{isActive:n=!1}=e;return t.$$set=l=>{"isActive"in l&&i(0,n=l.isActive)},[n]}class Pc extends ke{constructor(e){super(),we(this,e,H4,F4,be,{isActive:0})}}function U4(t){Ze(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function q4(t){let e=Fn(t[4]-t[3])+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&24&&e!==(e=Fn(n[4]-n[3])+"")&&et(i,e)},i:K,o:K,d(n){n&&S(i)}}}function j4(t){let e,i,n;return i=new Pc({props:{isActive:!0}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function W4(t){let e,i,n,l,r,o,s;const a=[j4,q4],c=[];function f(m,h){return m[1]?0:1}return r=f(t),o=c[r]=a[r](t),{c(){e=T("div"),i=T("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=O(),l=T("span"),o.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),B(e,"live",t[1]),B(e,"hidden",t[0]),B(e,"playing",t[2])},m(m,h){P(m,e,h),p(e,i),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(m,[h]){let _=r;r=f(m),r===_?c[r].p(m,h):(de(),v(c[_],1,1,()=>{c[_]=null}),me(),o=c[r],o?o.p(m,h):(o=c[r]=a[r](m),o.c()),d(o,1),o.m(l,null)),(!s||h&2)&&B(e,"live",m[1]),(!s||h&1)&&B(e,"hidden",m[0]),(!s||h&4)&&B(e,"playing",m[2])},i(m){s||(d(o),s=!0)},o(m){v(o),s=!1},d(m){m&&S(e),c[r].d()}}}function Z4(t,e,i){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,l=a.isLive),"isPlaying"in a&&i(2,r=a.isPlaying),"position"in a&&i(3,o=a.position),"duration"in a&&i(4,s=a.duration)},[n,l,r,o,s]}class Tc extends ke{constructor(e){super(),we(this,e,Z4,W4,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},U4)}}const rr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},oo=t=>{t.stopPropagation(),t.preventDefault()},K4=t=>{var e;let i=t.previousElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.lastElementChild),i==null||i.focus()},G4=t=>{var e;let i=t.nextElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.firstElementChild),i==null||i.focus()},Y4=t=>{const e=t.code;return e===Ae.Tab&&!t.shiftKey||e===Ae.ArrowDown},Q4=t=>{const e=t.code;return e===Ae.Tab||e===Ae.ArrowUp},Ec=t=>t.code===Ae.Escape,X4=t=>t.code===Ae.ArrowLeft,Ac=(t,e=!0)=>{const i=t.code;return[Ae.Enter,Ae.Space].includes(i)||!e&&i===Ae.ArrowRight},Ic=t=>{if(Y4(t)){oo(t),G4(t.target);return}Q4(t)&&(oo(t),K4(t.target))},vr=t=>(t==null?void 0:t.detail)===0,gr=async(t,e,i)=>{await Mo(),t&&!t.classList.contains("opened")&&!e&&tt(i)&&(i.set(!1),t.focus())},br=async(t,e,i)=>{await Mo(),!!t&&e&&i&&t.firstChild.focus()},il=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},C0))},Lc=(t,e)=>{Ic(t),Ec(t)&&(oo(t),e())},nl=async(t,e,i)=>{if(Ac(t,!1)){oo(t),e(),await Mo();const n=i();n==null||n.focus()}},ol=async(t,e,i,n)=>{if(Ic(t),X4(t)){oo(t),e(),i.set(!0);return}Ec(t)&&(oo(t),n())},tn=(t,e)=>{Ac(t)&&(oo(t),e())};function J4(t){Ze(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function ws(t){var M;let e,i,n,l,r,o,s=(t[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug"))+"",a,c,f,m=Y("menu_debug_overlay")+"",h,_,g,w,b=t[9].features.copyVideoLink&&((M=t[8].callbacks)==null?void 0:M.onCopyVideoLink)&&x4(t),C=t[11]&&t[5]!==$e.ChromecastState.CONNECTED&&!t[16]&&ys(t),k=t[9].features.videoRotate&&!t[16]&&$4(t),y=t[9].showSupport&&!t[6]&&Cs(t);return{c(){e=T("ul"),b&&b.c(),i=O(),C&&C.c(),n=O(),k&&k.c(),l=O(),y&&y.c(),r=O(),o=T("li"),a=ze(s),c=O(),f=T("li"),h=ze(m),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",t[9].features.saveDebugInfoToFile?Y("menu_save_debug"):Y("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[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",t[3]+"px"),Ft(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(j,I){P(j,e,I),b&&b.m(e,null),p(e,i),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),t[40](e),g||(w=[ve(o,"click",st(t[19])),ve(o,"keydown",t[29]),ve(f,"click",st(t[20])),ve(f,"keydown",t[30]),ve(e,"contextmenu",Jt(t[37])),ve(e,"keydown",t[23])],g=!0)},p(j,I){var z;j[9].features.copyVideoLink&&((z=j[8].callbacks)!=null&&z.onCopyVideoLink)&&b.p(j,I),j[11]&&j[5]!==$e.ChromecastState.CONNECTED&&!j[16]?C?C.p(j,I):(C=ys(j),C.c(),C.m(e,n)):C&&(C.d(1),C=null),j[9].features.videoRotate&&!j[16]&&k.p(j,I),j[9].showSupport&&!j[6]?y?y.p(j,I):(y=Cs(j),y.c(),y.m(e,r)):y&&(y.d(1),y=null),I[0]&128&&_!==(_=j[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",j[3]+"px"),I[0]&4&&Ft(e,"left",j[2]+"px")},d(j){j&&S(e),b&&b.d(),C&&C.d(),k&&k.d(),y&&y.d(),t[40](null),g=!1,nt(w)}}}function x4(t){let e,i=Y("menu_copy_video_link")+"",n,l,r,o,s,a=!t[4]&&!t[16]&&ks(t);return{c(){e=T("li"),n=ze(i),l=O(),a&&a.c(),r=mt(),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){P(c,e,f),p(e,n),P(c,l,f),a&&a.m(c,f),P(c,r,f),o||(s=[ve(e,"click",st(t[38])),ve(e,"keydown",t[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ks(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,nt(s)}}}function ks(t){let e,i=Y("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=T("li"),n=ze(i),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(o,s){P(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[39])),ve(e,"keydown",t[25])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function ys(t){let e,i=Y("menu_pip")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("menu_pip")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[21])),ve(e,"keydown",t[26])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function $4(t){let e,i=Y("menu_video_rotate")+"",n,l,r;return{c(){e=T("li"),n=ze(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Y("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){P(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[17])),ve(e,"keydown",t[27])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function Cs(t){let e,i=Y("menu_report")+"",n,l,r;return{c(){e=T("li"),n=ze(i),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(o,s){P(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[18])),ve(e,"keydown",t[28])],l=!0)},p:K,d(o){o&&S(e),l=!1,nt(r)}}}function ep(t){let e,i=t[1]&&ws(t);return{c(){i&&i.c(),e=mt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){n[1]?i?i.p(n,l):(i=ws(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:K,o:K,d(n){n&&S(e),i&&i.d(n)}}}function tp(t,e,i){var Ie;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:g=void 0}=e,{returnFocus:w}=e,b=0,C=0;const k=Ct(),y=gn(),M=k.ui.contextMenuVisible,j=k.ui.debugPanelVisible;D(t,j,ce=>i(7,s=ce));const I=k.webApi.pictureInPictureApi,z=(Ie=k.webApi.pictureInPictureApi)==null?void 0:Ie.info.isActive$;D(t,z,ce=>i(6,o=ce));const ae=k.state.chromecastState$;D(t,ae,ce=>i(5,r=ce));const se=k.state.isLive$;D(t,se,ce=>i(4,l=ce));const R=k.state.positionExact$;D(t,R,ce=>i(41,n=ce));const te=k.state.isInteractive,X=()=>{M.set(!1)},G=(ce,he)=>{if(!g||!h||!_)return;const re=g.getBoundingClientRect(),Te=h.getBoundingClientRect();i(2,b=ce-Te.left),i(3,C=he-Te.top),b+re.width>Te.width&&i(2,b=Te.width-re.width),C+re.height>Te.height&&i(3,C=Te.height-re.height),i(2,b=Math.max(b,0)),i(3,C=Math.max(C,0))},A=()=>{X(),k.actions.internal.videoRotate()},V=()=>{window.open(c,"_blank"),X(),k.actions.internal.pause()},x=()=>{const ce=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const he=new Blob([...ce],{type:"plain/text"}),re=window.URL.createObjectURL(he);A1(re,"vk_player_debug_info","txt")}else rr(k.actions.internal.getDebugTextData());X(),w==null||w()},L=()=>{j.set(!0),X(),w==null||w()},ie=async()=>{try{I!=null&&I.isActive()?await(I==null?void 0:I.remove()):await(I==null?void 0:I.request())}finally{X(),w==null||w()}},Ee=(ce=!1)=>{var he,re;if((he=k.callbacks)!=null&&he.onCopyVideoLink){const Te=(re=k.callbacks)==null?void 0:re.onCopyVideoLink(ce,n);Te&&rr(Te)}X()},ye=ce=>{Lc(ce,X)},Le=ce=>{tn(ce,()=>Ee())},Ve=ce=>{tn(ce,()=>Ee(!0))},_e=ce=>{tn(ce,()=>ie())},Se=ce=>{tn(ce,()=>A())},W=ce=>{tn(ce,()=>V())},$=ce=>{tn(ce,()=>x())},fe=ce=>{tn(ce,()=>L())};function ue(ce){ko.call(this,t,ce)}const Fe=()=>Ee(),Oe=()=>Ee(!0);function Me(ce){Ce[ce?"unshift":"push"](()=>{g=ce,i(0,g)})}return t.$$set=ce=>{"visible"in ce&&i(1,a=ce.visible),"supportLink"in ce&&i(31,c=ce.supportLink),"x"in ce&&i(32,f=ce.x),"y"in ce&&i(33,m=ce.y),"playerContainerRef"in ce&&i(34,h=ce.playerContainerRef),"controlsContainerRef"in ce&&i(35,_=ce.controlsContainerRef),"menuElementRef"in ce&&i(0,g=ce.menuElementRef),"returnFocus"in ce&&i(36,w=ce.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&g&&h&&_&&G(f,m)},[g,a,b,C,l,r,o,s,k,y,j,I,z,ae,se,R,te,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se,W,$,fe,c,f,m,h,_,w,ue,Fe,Oe,Me]}class ip extends ke{constructor(e){super(),we(this,e,tp,ep,be,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},J4,[-1,-1])}}class np{constructor(e){this.value=e,this.next=null}}class Wl{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new np(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function op(t){Ze(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function lp(t){let e,i;return{c(){e=T("div"),i=T("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){P(n,e,l),p(e,i),t[3](i)},p:K,i:K,o:K,d(n){n&&S(e),t[3](null)}}}const Zl=16,Kl=120,Ss=60;function rp(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function sp(t,e,i){let{values:n=[]}=e,l,r;const o=Kl/Ss;vn(()=>{i(0,l.width=Kl,l),i(0,l.height=Zl,l),i(2,r=l.getContext("2d"))});function s(a){Ce[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,Kl,Zl);let c=Ss-1;for(let f=n.length-1;f>=0;f--){const m=c*o,h=a>0?Zl*(n[f]/a):0;rp(r,m,0,o,h),c--}}},[l,n,r,s]}class _r extends ke{constructor(e){super(),we(this,e,sp,lp,be,{values:1},op)}}function ap(t){Ze(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Ps(t){let e,i,n,l,r=t[0].id+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Video id",n=O(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&et(o,r)},d(s){s&&S(e)}}}function Ts(t){let e,i,n,l,r=t[0].provider+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Provider",n=O(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&et(o,r)},d(s){s&&S(e)}}}function Es(t){let e,i,n,l,r=t[0].viewport+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Viewport",n=O(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&et(o,r)},d(s){s&&S(e)}}}function As(t){let e,i,n,l,r=t[0].videoSize+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="Video size",n=O(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&et(o,r)},d(s){s&&S(e)}}}function Is(t){let e,i,n,l,r=t[0].cdn+"",o;return{c(){e=T("div"),i=T("div"),i.textContent="CDN host",n=O(),l=T("span"),o=ze(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){P(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&et(o,r)},d(s){s&&S(e)}}}function Ls(t){let e,i,n,l,r=t[0].volume+"",o,s;return{c(){e=T("div"),i=T("div"),i.textContent="Volume",n=O(),l=T("span"),o=ze(r),s=ze(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&et(o,r)},d(a){a&&S(e)}}}function Vs(t){let e,i,n,l,r=t[0].buffer.toFixed(2)+"",o,s;return{c(){e=T("div"),i=T("div"),i.textContent="Buffer",n=O(),l=T("span"),o=ze(r),s=ze(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){P(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&et(o,r)},d(a){a&&S(e)}}}function Ms(t){let e,i,n,l,r,o,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new _r({props:{values:t[5]}}),{c(){e=T("div"),i=T("div"),i.textContent="Network",n=O(),q(l.$$.fragment),r=O(),o=T("span"),a=ze(s),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){P(m,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(m,h){const _={};h&32&&(_.values=m[5]),l.$set(_),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&et(a,s)},i(m){f||(d(l.$$.fragment,m),f=!0)},o(m){v(l.$$.fragment,m),f=!1},d(m){m&&S(e),H(l)}}}function Bs(t){let e,i,n,l,r,o,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new _r({props:{values:t[6]}}),{c(){e=T("div"),i=T("div"),i.textContent="V bitrate",n=O(),q(l.$$.fragment),r=O(),o=T("span"),a=ze(s),c=ze(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){P(m,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(m,h){const _={};h&64&&(_.values=m[6]),l.$set(_),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&et(a,s)},i(m){f||(d(l.$$.fragment,m),f=!0)},o(m){v(l.$$.fragment,m),f=!1},d(m){m&&S(e),H(l)}}}function up(t){let e,i,n,l,r,o,s,a,c=t[0].version+"",f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se=t[0].id&&Ps(t),W=t[0].provider&&Ts(t),$=t[0].viewport&&Es(t),fe=t[0].videoSize&&As(t),ue=t[0].cdn&&Is(t),Fe=t[0].volume&&Ls(t),Oe=t[0].buffer&&Vs(t),Me=t[0].speed&&Ms(t),Ie=t[0].bitrate&&Bs(t);return L=new _r({props:{values:t[4]}}),{c(){e=T("div"),i=T("button"),i.textContent="[x]",n=O(),l=T("div"),r=T("div"),o=T("div"),o.textContent="Version",s=O(),a=T("span"),f=ze(c),m=O(),Se&&Se.c(),h=O(),W&&W.c(),_=O(),$&&$.c(),g=O(),fe&&fe.c(),w=O(),ue&&ue.c(),b=O(),Fe&&Fe.c(),C=O(),Oe&&Oe.c(),k=O(),y=T("div"),M=T("div"),M.textContent="Dropped",j=O(),I=T("span"),z=ze(t[2]),ae=ze(" / "),se=ze(t[1]),R=ze(" frames"),te=O(),Me&&Me.c(),X=O(),Ie&&Ie.c(),G=O(),A=T("div"),V=T("div"),V.textContent="FPS",x=O(),q(L.$$.fragment),ie=O(),Ee=T("span"),ye=ze(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(M,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(A,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_debug_panel")),B(e,"container-mobile",t[7])},m(ce,he){P(ce,e,he),p(e,i),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,m),Se&&Se.m(l,null),p(l,h),W&&W.m(l,null),p(l,_),$&&$.m(l,null),p(l,g),fe&&fe.m(l,null),p(l,w),ue&&ue.m(l,null),p(l,b),Fe&&Fe.m(l,null),p(l,C),Oe&&Oe.m(l,null),p(l,k),p(l,y),p(y,M),p(y,j),p(y,I),p(I,z),p(I,ae),p(I,se),p(I,R),p(l,te),Me&&Me.m(l,null),p(l,X),Ie&&Ie.m(l,null),p(l,G),p(l,A),p(A,V),p(A,x),F(L,A,null),p(A,ie),p(A,Ee),p(Ee,ye),Le=!0,Ve||(_e=ve(i,"click",st(t[9])),Ve=!0)},p(ce,[he]){(!Le||he&1)&&c!==(c=ce[0].version+"")&&et(f,c),ce[0].id?Se?Se.p(ce,he):(Se=Ps(ce),Se.c(),Se.m(l,h)):Se&&(Se.d(1),Se=null),ce[0].provider?W?W.p(ce,he):(W=Ts(ce),W.c(),W.m(l,_)):W&&(W.d(1),W=null),ce[0].viewport?$?$.p(ce,he):($=Es(ce),$.c(),$.m(l,g)):$&&($.d(1),$=null),ce[0].videoSize?fe?fe.p(ce,he):(fe=As(ce),fe.c(),fe.m(l,w)):fe&&(fe.d(1),fe=null),ce[0].cdn?ue?ue.p(ce,he):(ue=Is(ce),ue.c(),ue.m(l,b)):ue&&(ue.d(1),ue=null),ce[0].volume?Fe?Fe.p(ce,he):(Fe=Ls(ce),Fe.c(),Fe.m(l,C)):Fe&&(Fe.d(1),Fe=null),ce[0].buffer?Oe?Oe.p(ce,he):(Oe=Vs(ce),Oe.c(),Oe.m(l,k)):Oe&&(Oe.d(1),Oe=null),(!Le||he&4)&&et(z,ce[2]),(!Le||he&2)&&et(se,ce[1]),ce[0].speed?Me?(Me.p(ce,he),he&1&&d(Me,1)):(Me=Ms(ce),Me.c(),d(Me,1),Me.m(l,X)):Me&&(de(),v(Me,1,1,()=>{Me=null}),me()),ce[0].bitrate?Ie?(Ie.p(ce,he),he&1&&d(Ie,1)):(Ie=Bs(ce),Ie.c(),d(Ie,1),Ie.m(l,G)):Ie&&(de(),v(Ie,1,1,()=>{Ie=null}),me());const re={};he&16&&(re.values=ce[4]),L.$set(re),(!Le||he&8)&&et(ye,ce[3]),(!Le||he&128)&&B(e,"container-mobile",ce[7])},i(ce){Le||(d(Me),d(Ie),d(L.$$.fragment,ce),Le=!0)},o(ce){v(Me),v(Ie),v(L.$$.fragment,ce),Le=!1},d(ce){ce&&S(e),Se&&Se.d(),W&&W.d(),$&&$.d(),fe&&fe.d(),ue&&ue.d(),Fe&&Fe.d(),Oe&&Oe.d(),Me&&Me.d(),Ie&&Ie.d(),H(L),Ve=!1,_e()}}}function cp(t,e,i){let n;const l=Ct(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(t,o,y=>i(7,n=y));const s=()=>{ne.safeStorage.remove(tr),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,m=0,h=0;const _=new Wl(60),g=new Wl(60),w=new Wl(60);let b=[],C=[],k=[];return vn(()=>{ne.safeStorage.set(tr,"true"),l.actions.internal.startLogging(),c&&(i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let M;return c&&(M=window.setInterval(()=>{if(c){i(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const j=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=j-f),i(1,f=j),_.push(h),a.speed&&g.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,b=_.getValuesFromBottom()),i(5,C=g.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),M&&clearInterval(M)}}),[a,f,m,h,b,C,k,n,o,s]}class Vc extends ke{constructor(e){super(),we(this,e,cp,up,be,{},ap)}}function fp(t){Ze(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function dp(t){let e,i,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(l,r){P(l,e,r),i||(n=ve(e,"click",st(t[0])),i=!0)},p:K,i:K,o:K,d(l){l&&S(e),i=!1,n()}}}function mp(t){function e(i){ko.call(this,t,i)}return[e]}class pp extends ke{constructor(e){super(),we(this,e,mp,dp,be,{},fp)}}function hp(t){Ze(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
- }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function vp(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("canvas"),n=O(),l=N("svg"),r=N("g"),o=N("g"),s=N("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){P(a,e,c),p(e,i),t[2](i),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&S(e),t[2](null)}}}const gp=5e3;function bp(t,e,i){let{onTimerEnded:n=ne.noop}=e,l;vn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/gp;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Ce[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"onTimerEnded"in o&&i(1,n=o.onTimerEnded)},[l,n,r]}class _p extends ke{constructor(e){super(),we(this,e,bp,vp,be,{onTimerEnded:1},hp)}}function wp(t){Ze(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Ns(t){let e,i;return e=new _p({props:{onTimerEnded:t[2]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function kp(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j;s=new pp({}),s.$on("click",t[4]);let I=t[3]&&Ns(t);return{c(){e=T("div"),i=O(),n=T("div"),l=T("div"),r=T("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=O(),q(s.$$.fragment),a=O(),c=T("div"),f=T("div"),m=T("div"),h=T("div"),_=O(),I&&I.c(),w=O(),b=T("div"),C=T("div"),k=ze(t[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",g=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(b,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(z,ae){P(z,e,ae),P(z,i,ae),P(z,n,ae),p(n,l),p(l,r),p(l,o),F(s,l,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,k),y=!0,M||(j=ve(c,"click",function(){In(t[2])&&t[2].apply(this,arguments)}),M=!0)},p(z,[ae]){t=z,t[3]?I?(I.p(t,ae),ae&8&&d(I,1)):(I=Ns(t),I.c(),d(I,1),I.m(m,null)):I&&(de(),v(I,1,1,()=>{I=null}),me()),(!y||ae&2&&g!==(g=`background-image: url('${t[1]}')`))&&u(m,"style",g),(!y||ae&1)&&et(k,t[0])},i(z){y||(d(s.$$.fragment,z),d(I),y=!0)},o(z){v(s.$$.fragment,z),v(I),y=!1},d(z){z&&(S(e),S(i),S(n)),H(s),I&&I.d(),M=!1,j()}}}function yp(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>i(3,o=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,r=a.playNextVideo)},[n,l,r,o,s]}class Cp extends ke{constructor(e){super(),we(this,e,yp,kp,be,{title:0,thumb:1,playNextVideo:2},wp)}}const Mc=(t,e)=>Math.min(+(t+e).toFixed(2),1),Bc=(t,e)=>Math.max(+(t-e).toFixed(2),0),Nc=(t,e,i)=>{const n=Mc(e,i);e<1&&t.actions.internal.setVolume(n)},Rc=(t,e,i)=>{const n=Bc(e,i);e>0&&t.actions.internal.setVolume(n)};function Sp(t){Ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Pp(t){let e,i,n,l;const r=t[22].default,o=Hn(r,t,t[21],null);return{c(){e=T("div"),o&&o.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){P(s,e,a),o&&o.m(e,null),t[23](e),i=!0,n||(l=[ve(e,"keyup",t[13]),ve(e,"keydown",t[12])],n=!0)},p(s,a){o&&o.p&&(!i||a[0]&2097152)&&qn(o,r,s,s[21],i?Un(r,s[21],a,null):jn(s[21]),null)},i(s){i||(d(o,s),i=!0)},o(s){v(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[23](null),n=!1,nt(l)}}}function Tp(t,e,i){let n,l,r,o,s,a,c,f,m,h,_,{$$slots:g={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:M}=e,{fakePlayButtonHandler:j}=e;const I=Ct(),z=gn(),ae=I.getLogger().createComponentLog("KeyboardControls component"),se=I.state.playbackState$;D(t,se,ue=>i(27,l=ue));const R=I.ads.playbackState;D(t,R,ue=>i(26,n=ue));const te=I.state.positionExact$;D(t,te,ue=>i(33,f=ue));const X=I.state.duration$;D(t,X,ue=>i(32,c=ue));const G=I.state.volume$;D(t,G,ue=>i(36,_=ue));const A=I.ui.controls.disabledControls$;D(t,A,ue=>i(31,a=ue));const V=I.state.muted$;D(t,V,ue=>i(29,o=ue));const x=I.state.currentSubtitle$;D(t,x,ue=>i(28,r=ue));const L=I.state.currentPlaybackRate$;D(t,L,ue=>i(34,m=ue));const ie=I.state.availablePlaybackRates$;D(t,ie,ue=>i(35,h=ue));const Ee=I.state.isEnded$;D(t,Ee,ue=>i(30,s=ue));let ye=0,Le=!0,Ve;const _e=()=>Ve==null?void 0:Ve.focus(),Se=ue=>(ue!==Le&&(Le=ue,ye=0),ye+=1,(z.controls.seekStepKeyboard+z.controls.seekStepKeyboard*ye)/1e3),W=ue=>{var Ke;const Fe=ue.target,Oe=(Ke=Fe==null?void 0:Fe.getAttribute("role"))==null?void 0:Ke.includes("menuitem"),Me=Fe.classList.contains("btn"),Ie=ue.code;if(Me&&Ie===Ae.Space)return;const ce=E0.has(Ie);if(Oe&&ce)return;const he=!T0.has(Ie);if(ue.ctrlKey&&he||ue.altKey&&he||ue.metaKey)return;const re=Oe&&Ie===Ae.Escape;A0.has(Ie)||re||C();const Te=l===$e.PlaybackState.PLAYING||l===$e.PlaybackState.PAUSED,pe=b&&(n===Xt.PAUSED||n===Xt.PLAYING),Pe=!pe&&!a.has(dt.TIMELINE);if(Te||pe)switch(ae({message:`key down, code: ${Ie}`}),Ie){case Ae.KeyJ:case Ae.ArrowLeft:{if(!Pe)break;if(ue.ctrlKey||ue.altKey){const Re=I.actions.internal.getPrevEpisode();I.actions.internal.seekToPrevEpisode(Re),Re&&y({type:Ye.EPISODE_PREV,text:Re.text}),ue.preventDefault()}else{const Re=ue.shiftKey?Se(!1):z.controls.seekStepKeyboard/1e3,xe=Math.max(f-Re,0);f>0&&(I.actions.internal.seekTime(xe,yt.SeekAction.DOUBLE_TAP),y({type:Ye.BACKWARD_SEEK,text:Re.toString()}),ue.preventDefault())}break}case Ae.KeyL:case Ae.ArrowRight:{if(!Pe)break;if(ue.ctrlKey||ue.altKey){const Re=I.actions.internal.getNextEpisode();I.actions.internal.seekToNextEpisode(Re),Re&&y({type:Ye.EPISODE_NEXT,text:Re.text}),ue.preventDefault()}else{const Re=ue.shiftKey?Se(!0):z.controls.seekStepKeyboard/1e3,xe=Math.min(f+Re,c);Math.round(f)<Math.round(c)&&(I.actions.internal.seekTime(xe,yt.SeekAction.DOUBLE_TAP),y({type:Ye.FORWARD_SEEK,text:Re.toString()}),ue.preventDefault())}break}case Ae.ArrowUp:{const Re=_,xe=z.controls.volumeStepKeyboard,Xe=Re<=1;if(Nc(I,Re,xe),Xe){const ot=Math.round(Mc(Re,xe)*100).toString();y({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:ot}})}ue.preventDefault();break}case Ae.ArrowDown:{const Re=_,xe=z.controls.volumeStepKeyboard,Xe=Re>=0;if(Rc(I,Re,xe),Xe){const ot=Math.round(Bc(Re,xe)*100).toString();y({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:ot}})}ue.preventDefault();break}case Ae.Comma:{if(ue.shiftKey){I.actions.internal.decrementPlaybackRate();const Re=h.find(xe=>xe.value===m);y({type:Ye.RATE_DOWN,text:Re==null?void 0:Re.displayValue}),ue.preventDefault()}else{if(pe||l!==$e.PlaybackState.PAUSED)break;const Re=Math.max(f-z.controls.seekStepFrame/1e3,0);f>0&&(y({type:Ye.BACKWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Re,yt.SeekAction.DOUBLE_TAP),ue.preventDefault())}break}case Ae.Period:{if(ue.shiftKey){I.actions.internal.incrementPlaybackRate();const Re=h.find(xe=>xe.value===m);y({type:Ye.RATE_UP,text:Re==null?void 0:Re.displayValue}),ue.preventDefault()}else{if(pe||l!==$e.PlaybackState.PAUSED)break;const Re=Math.min(f+z.controls.seekStepFrame/1e3,c);f<c&&(y({type:Ye.FORWARD_SEEK}),I.actions.internal.clearDelayedBufferingCheckTimeout(),I.actions.internal.seekTime(Re,yt.SeekAction.DOUBLE_TAP),ue.preventDefault())}break}case Ae.KeyK:case Ae.Space:if(!a.has(dt.PLAY_BUTTON))if(j)j();else{I.actions.internal.togglePlay();let Re=Ye.PLAY;l===$e.PlaybackState.PAUSED?Re=Ye.PAUSE:s&&(Re=Ye.REPLAY),y({type:Re})}ue.preventDefault();break;case Ae.KeyM:{y({type:o?Ye.VOLUME:Ye.MUTE}),I.actions.internal.toggleMuted(),ue.preventDefault();break}case Ae.KeyF:k(),ue.preventDefault();break;case Ae.KeyC:I.actions.internal.toggleSubtitle(),r.value!=="off"?y({type:Ye.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):y({type:Ye.SUBTITLES_OFF}),ue.preventDefault();break;case Ae.KeyI:I.actions.internal.togglePictureInPicture(),ue.preventDefault();break;case Ae.Digit1:case Ae.Numpad1:y(),I.actions.internal.seekToPercent(.1,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit2:case Ae.Numpad2:y(),I.actions.internal.seekToPercent(.2,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit3:case Ae.Numpad3:y(),I.actions.internal.seekToPercent(.3,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit4:case Ae.Numpad4:y(),I.actions.internal.seekToPercent(.4,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit5:case Ae.Numpad5:y(),I.actions.internal.seekToPercent(.5,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit6:case Ae.Numpad6:y(),I.actions.internal.seekToPercent(.6,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit7:case Ae.Numpad7:y(),I.actions.internal.seekToPercent(.7,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit8:case Ae.Numpad8:y(),I.actions.internal.seekToPercent(.8,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit9:case Ae.Numpad9:y(),I.actions.internal.seekToPercent(.9,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Digit0:case Ae.Numpad0:y(),I.actions.internal.seekToPercent(0,yt.SeekAction.DOUBLE_TAP),ue.preventDefault();break;case Ae.Slash:{ue.shiftKey&&z.features.hotKeyMapModal&&(M(),ue.preventDefault());break}case Ae.ShiftLeft:case Ae.ShiftRight:ue.preventDefault();break;case Ae.Tab:case Ae.Escape:case Ae.Enter:break;default:ne.checkNever(Ie);break}},$=ue=>{const Fe=ue.code;if(ue.ctrlKey||ue.altKey||ue.metaKey)return;const Oe=l===$e.PlaybackState.PLAYING||l===$e.PlaybackState.PAUSED,Me=b&&(n===Xt.PAUSED||n===Xt.PLAYING);if(Oe||Me)switch(Fe){case Ae.ShiftLeft:case Ae.ShiftRight:ye=0;break}};function fe(ue){Ce[ue?"unshift":"push"](()=>{Ve=ue,i(0,Ve)})}return t.$$set=ue=>{"isAds"in ue&&i(14,b=ue.isAds),"hideContextMenu"in ue&&i(15,C=ue.hideContextMenu),"toggleFullscreen"in ue&&i(16,k=ue.toggleFullscreen),"showHotKeyHelpers"in ue&&i(17,y=ue.showHotKeyHelpers),"showKeyMap"in ue&&i(18,M=ue.showKeyMap),"fakePlayButtonHandler"in ue&&i(19,j=ue.fakePlayButtonHandler),"$$scope"in ue&&i(21,w=ue.$$scope)},[Ve,se,R,te,X,G,A,V,x,L,ie,Ee,W,$,b,C,k,y,M,j,_e,w,g,fe]}class Ep extends ke{constructor(e){super(),we(this,e,Tp,Pp,be,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},Sp,[-1,-1])}get focus(){return this.$$.ctx[20]}}function Ap(t){Ze(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Ip(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){P(i,e,n)},p:K,i:K,o:K,d(i){i&&S(e)}}}class Oc extends ke{constructor(e){super(),we(this,e,null,Ip,be,{},Ap)}}function Lp(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p:K,i:K,o:K,d(g){g&&S(e)}}}class Vp extends ke{constructor(e){super(),we(this,e,null,Lp,be,{})}}function Mp(t){Ze(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function Bp(t){let e,i,n,l,r,o,s,a,c,f,m,h;const _=t[14].default,g=Hn(_,t,t[13],null);return{c(){var w,b,C,k,y,M;e=T("button"),g&&g.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=l=(w=t[3])!=null?w:null,u(e,"aria-hidden",r=(b=t[5])!=null?b:null),u(e,"aria-label",o=(C=t[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=t[7])!=null?k:null),u(e,"aria-expanded",a=(y=t[8])!=null?y:null),u(e,"data-testid",c=(M=t[4])!=null?M:null),u(e,"tabindex",t[9])},m(w,b){P(w,e,b),g&&g.m(e,null),t[16](e),f=!0,m||(h=[ve(e,"pointerdown",st(Jt(t[15]))),ve(e,"click",st(Jt(function(){In(t[10]===ne.noop?null:t[10])&&(t[10]===ne.noop?null:t[10]).apply(this,arguments)}))),ve(e,"focus",Jt(function(){In(t[11]===ne.noop?null:t[11])&&(t[11]===ne.noop?null:t[11]).apply(this,arguments)})),ve(e,"blur",Jt(function(){In(t[12]===ne.noop?null:t[12])&&(t[12]===ne.noop?null:t[12]).apply(this,arguments)}))],m=!0)},p(w,[b]){var C,k,y,M,j,I;t=w,g&&g.p&&(!f||b&8192)&&qn(g,_,t,t[13],f?Un(_,t[13],b,null):jn(t[13]),null),(!f||b&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||b&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||b&8&&l!==(l=(C=t[3])!=null?C:null))&&(e.disabled=l),(!f||b&32&&r!==(r=(k=t[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||b&64&&o!==(o=(y=t[6])!=null?y:null))&&u(e,"aria-label",o),(!f||b&128&&s!==(s=(M=t[7])!=null?M:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(j=t[8])!=null?j:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(I=t[4])!=null?I:null))&&u(e,"data-testid",c),(!f||b&512)&&u(e,"tabindex",t[9])},i(w){f||(d(g,w),f=!0)},o(w){v(g,w),f=!1},d(w){w&&S(e),g&&g.d(w),t[16](null),m=!1,nt(h)}}}function Np(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:g=0}=e,{click:w=ne.noop}=e,{focus:b=ne.noop}=e,{blur:C=ne.noop}=e;function k(M){ko.call(this,t,M)}function y(M){Ce[M?"unshift":"push"](()=>{m=M,i(0,m)})}return t.$$set=M=>{"className"in M&&i(1,r=M.className),"style"in M&&i(2,o=M.style),"disabled"in M&&i(3,s=M.disabled),"testId"in M&&i(4,a=M.testId),"ariaHidden"in M&&i(5,c=M.ariaHidden),"ariaLabel"in M&&i(6,f=M.ariaLabel),"ref"in M&&i(0,m=M.ref),"ariaKeyShortCut"in M&&i(7,h=M.ariaKeyShortCut),"ariaExpanded"in M&&i(8,_=M.ariaExpanded),"tabIndex"in M&&i(9,g=M.tabIndex),"click"in M&&i(10,w=M.click),"focus"in M&&i(11,b=M.focus),"blur"in M&&i(12,C=M.blur),"$$scope"in M&&i(13,l=M.$$scope)},[m,r,o,s,a,c,f,h,_,g,w,b,C,l,n,k,y]}class Pi extends ke{constructor(e){super(),we(this,e,Np,Bp,be,{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},Mp)}}function Rp(t){Ze(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Rs(t){let e,i,n,l,r,o=t[2]&&Os(t);return{c(){e=T("div"),i=T("h3"),n=ze(t[3]),l=O(),o&&o.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&et(n,s[3]),s[2]?o?(o.p(s,a),a&4&&d(o,1)):(o=Os(s),o.c(),d(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me())},i(s){r||(d(o),r=!0)},o(s){v(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function Os(t){let e,i;return e=new Pi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Y("hotkey_map_modal_close_btn_text"),$$slots:{default:[Op]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Op(t){let e,i;return e=new Vp({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dp(t){let e,i,n,l,r,o,s=t[1]&&Rs(t);const a=t[4].default,c=Hn(a,t,t[5],null);return{c(){e=T("div"),i=T("div"),s&&s.c(),n=O(),l=T("div"),r=T("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){P(f,e,m),p(e,i),s&&s.m(i,null),p(i,n),p(i,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=Rs(f),s.c(),d(s,1),s.m(i,n)):s&&(de(),v(s,1,1,()=>{s=null}),me()),c&&c.p&&(!o||m&32)&&qn(c,a,f,f[5],o?Un(a,f[5],m,null):jn(f[5]),null)},i(f){o||(d(s),d(c,f),o=!0)},o(f){v(s),v(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function zp(t,e,i){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,r=c.onClose),"showHeader"in c&&i(1,o=c.showHeader),"showCloseCross"in c&&i(2,s=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,l=c.$$scope)},[r,o,s,a,n,l]}class Fp extends ke{constructor(e){super(),we(this,e,zp,Dp,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},Rp)}}const Hp=new Set(["BR"]),Ds=t=>{var e;const i=document.createElement("DIV");i.innerHTML=t;const n=i.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;Hp.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return i.innerHTML};function Up(t){Ze(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function zs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Fs(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Hs(t){let e,i,n=Ds(t[9])+"",l,r,o=t[10]+"",s,a;return{c(){e=T("li"),i=T("span"),l=O(),r=T("span"),s=ze(o),a=O(),u(i,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){P(c,e,f),p(e,i),i.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Ds(c[9])+"")&&(i.innerHTML=n),f&1&&o!==(o=c[10]+"")&&et(s,o)},d(c){c&&S(e)}}}function Us(t){let e,i,n=t[5]+"",l,r,o,s,a=Zt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Hs(Fs(t,a,f));return{c(){e=T("div"),i=T("h5"),l=ze(n),r=O(),o=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=O(),u(i,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){P(f,e,m),p(e,i),p(i,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&et(l,n),m&1){a=Zt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=Fs(f,a,h);c[h]?c[h].p(_,m):(c[h]=Hs(_),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),Ln(c,f)}}}function qp(t){let e,i=Zt(t[0].groups),n=[];for(let l=0;l<i.length;l+=1)n[l]=Us(zs(t,i,l));return{c(){e=T("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){i=Zt(l[0].groups);let o;for(o=0;o<i.length;o+=1){const s=zs(l,i,o);n[o]?n[o].p(s,r):(n[o]=Us(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Ln(n,l)}}}function jp(t){let e,i;return e=new Fp({props:{title:t[0].title,onClose:t[2],$$slots:{default:[qp]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wp(t,e,i){let n;const l=Ct(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(t,r,a=>i(0,n=a)),[n,r,()=>{o.set(!1)}]}class Zp extends ke{constructor(e){super(),we(this,e,Wp,jp,be,{},Up)}}function Kp(t){Ze(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function Gp(t){let e,i;const n=t[1].default,l=Hn(n,t,t[0],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){P(r,e,o),l&&l.m(e,null),i=!0},p(r,[o]){l&&l.p&&(!i||o&1)&&qn(l,n,r,r[0],i?Un(n,r[0],o,null):jn(r[0]),null)},i(r){i||(d(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r)}}}function Yp(t,e,i){let{$$slots:n={},$$scope:l}=e;return t.$$set=r=>{"$$scope"in r&&i(0,l=r.$$scope)},[l,n]}class Qp extends ke{constructor(e){super(),we(this,e,Yp,Gp,be,{},Kp)}}function Xp(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Jp extends ke{constructor(e){super(),we(this,e,null,Xp,be,{})}}function xp(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class $p extends ke{constructor(e){super(),we(this,e,null,xp,be,{})}}function e3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class t3 extends ke{constructor(e){super(),we(this,e,null,e3,be,{})}}function i3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Dc extends ke{constructor(e){super(),we(this,e,null,i3,be,{})}}function n3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class zc extends ke{constructor(e){super(),we(this,e,null,n3,be,{})}}const Po=t=>{switch(t){case $e.VideoQuality.Q_720P:return t3;case $e.VideoQuality.Q_1080P:return Dc;case $e.VideoQuality.Q_1440P:return zc;case $e.VideoQuality.Q_2160P:return Jp;case $e.VideoQuality.Q_4320P:return $p}};function o3(t){Ze(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function l3(t){let e,i,n,l,r,o,s=t[1]&&qs(t);return{c(){e=T("div"),s&&s.c(),i=O(),n=N("svg"),l=N("path"),r=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),B(r,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),B(e,"triple",t[2])},m(a,c){P(a,e,c),s&&s.m(e,null),p(e,i),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=qs(a),s.c(),d(s,1),s.m(e,i)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!o||c&2)&&B(r,"hidden",!!a[1]),(!o||c&4)&&B(e,"triple",a[2])},i(a){o||(d(s),o=!0)},o(a){v(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function r3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}function qs(t){let e,i;return e=new Qp({props:{$$slots:{default:[s3]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s3(t){let e,i,n;var l=t[1];function r(o){return{}}return l&&(e=Nn(l,r())),{c(){e&&q(e.$$.fragment),i=mt()},m(o,s){e&&F(e,o,s),P(o,i,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){de();const a=e;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(e=Nn(l,r()),q(e.$$.fragment),d(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(o){n||(e&&d(e.$$.fragment,o),n=!0)},o(o){e&&v(e.$$.fragment,o),n=!1},d(o){o&&S(i),e&&H(e,o)}}}function a3(t){let e,i,n,l;const r=[r3,l3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function u3(t,e,i){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return t.$$set=s=>{"isMobile"in s&&i(0,l=s.isMobile),"currentQuality"in s&&i(3,r=s.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=Po(r)),t.$$.dirty&2&&i(2,o=!!n&&[Dc,zc].includes(n))},[l,n,o,r]}class Fc extends ke{constructor(e){super(),we(this,e,u3,a3,be,{isMobile:0,currentQuality:3},o3)}}function c3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Hc extends ke{constructor(e){super(),we(this,e,null,c3,be,{})}}function f3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class d3 extends ke{constructor(e){super(),we(this,e,null,f3,be,{})}}function m3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class p3 extends ke{constructor(e){super(),we(this,e,null,m3,be,{})}}function h3(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class v3 extends ke{constructor(e){super(),we(this,e,null,h3,be,{})}}function g3(t){Ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function b3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&B(e,"reverted",l[2])},d(l){l&&S(e)}}}function _3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(l,r){P(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&B(e,"reverted",l[2])},d(l){l&&S(e)}}}function w3(t){let e;function i(r,o){return r[1]?_3:b3}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function k3(t,e,i){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return t.$$set=s=>{"direction"in s&&i(3,n=s.direction),"color"in s&&i(0,l=s.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,r=["up","down"].includes(n)),i(2,o=["right","down"].includes(n)))},[l,r,o,n]}class Xn extends ke{constructor(e){super(),we(this,e,k3,w3,be,{direction:3,color:0},g3)}}function y3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class C3 extends ke{constructor(e){super(),we(this,e,null,y3,be,{})}}function S3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Ho extends ke{constructor(e){super(),we(this,e,null,S3,be,{})}}function P3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class T3 extends ke{constructor(e){super(),we(this,e,null,P3,be,{})}}function E3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class A3 extends ke{constructor(e){super(),we(this,e,null,E3,be,{})}}function I3(t){Ze(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function js(t,e,i){const n=t.slice();return n[142]=e[i],n}function Ws(t,e,i){const n=t.slice();return n[145]=e[i],n}function Zs(t,e,i){const n=t.slice();return n[148]=e[i],n}function Ks(t){let e,i,n,l,r,o,s,a,c,f,m,h=t[8]&&Gs(t),_=t[28]&&Ys(t),g=t[27]&&Xs(t),w=t[26]&&Js(t),b=t[25]&&xs(t),C=t[24]&&$s(t),k=t[8]&&ea(t);return{c(){e=T("div"),h&&h.c(),i=O(),n=T("ul"),_&&_.c(),l=O(),g&&g.c(),r=O(),w&&w.c(),o=O(),b&&b.c(),s=O(),C&&C.c(),a=O(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),B(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8]),B(e,"hidden",!t[15])},m(y,M){P(y,e,M),h&&h.m(e,null),p(e,i),p(e,n),_&&_.m(n,null),p(n,l),g&&g.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(m=[ve(e,"keydown",t[79]),ve(e,"mouseenter",t[73]),ve(e,"mouseleave",t[74])],f=!0)},p(y,M){y[8]?h?h.p(y,M):(h=Gs(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[28]?_?(_.p(y,M),M[0]&268435456&&d(_,1)):(_=Ys(y),_.c(),d(_,1),_.m(n,l)):_&&(de(),v(_,1,1,()=>{_=null}),me()),y[27]?g?(g.p(y,M),M[0]&134217728&&d(g,1)):(g=Xs(y),g.c(),d(g,1),g.m(n,r)):g&&(de(),v(g,1,1,()=>{g=null}),me()),y[26]?w?(w.p(y,M),M[0]&67108864&&d(w,1)):(w=Js(y),w.c(),d(w,1),w.m(n,o)):w&&(de(),v(w,1,1,()=>{w=null}),me()),y[25]?b?(b.p(y,M),M[0]&33554432&&d(b,1)):(b=xs(y),b.c(),d(b,1),b.m(n,s)):b&&(de(),v(b,1,1,()=>{b=null}),me()),y[24]?C?(C.p(y,M),M[0]&16777216&&d(C,1)):(C=$s(y),C.c(),d(C,1),C.m(n,a)):C&&(de(),v(C,1,1,()=>{C=null}),me()),y[8]?k?(k.p(y,M),M[0]&256&&d(k,1)):(k=ea(y),k.c(),d(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!c||M[0]&256)&&B(n,"items-mobile",y[8]),(!c||M[0]&256)&&B(e,"menu-desktop",!y[8]),(!c||M[0]&256)&&B(e,"menu-mobile",y[8]),(!c||M[0]&32768)&&B(e,"hidden",!y[15])},i(y){c||(d(_),d(g),d(w),d(b),d(C),d(k),c=!0)},o(y){v(_),v(g),v(w),v(b),v(C),v(k),c=!1},d(y){y&&S(e),h&&h.d(),_&&_.d(),g&&g.d(),w&&w.d(),b&&b.d(),C&&C.d(),k&&k.d(),t[116](null),f=!1,nt(m)}}}function Gs(t){let e,i,n,l,r,o,s,a;return{c(){e=T("div"),i=T("div"),i.textContent=`${Y("submenu_settings")}`,n=O(),l=T("div"),r=O(),o=T("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(e,"item-mobile",t[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){P(c,e,f),p(e,i),p(e,n),p(e,l),P(c,r,f),P(c,o,f),s||(a=ve(l,"click",st(t[59])),s=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function Ys(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;n=new Fc({});let g=t[36]&&!t[8]&&Qs(t);return{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("menu_quality")}`,o=O(),s=T("div"),a=ze(t[20]),c=O(),g&&g.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(w,b){P(w,e,b),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),g&&g.m(s,null),t[112](e),m=!0,h||(_=[ve(e,"click",st(t[60])),ve(e,"keydown",t[80])],h=!0)},p(w,b){(!m||b[0]&1048576)&&et(a,w[20]),w[36]&&!w[8]?g?(g.p(w,b),b[0]&256|b[1]&32&&d(g,1)):(g=Qs(w),g.c(),d(g,1),g.m(s,null)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!m||b[0]&1073741824&&f!==(f=Y("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!m||b[0]&256)&&B(e,"item-mobile",w[8])},i(w){m||(d(n.$$.fragment,w),d(g),m=!0)},o(w){v(n.$$.fragment,w),v(g),m=!1},d(w){w&&S(e),H(n),g&&g.d(),t[112](null),h=!1,nt(_)}}}function Qs(t){let e,i,n;var l=t[36];function r(o){return{}}return l&&(i=Nn(l,r())),{c(){e=T("div"),i&&q(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){P(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[1]&32&&l!==(l=o[36])){if(i){de();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(i=Nn(l,r()),q(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&d(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&H(i)}}}function Xs(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;return n=new v3({}),{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("menu_playback_rate")}`,o=O(),s=T("div"),a=ze(t[13]),c=ze("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),t[113](e),m=!0,h||(_=[ve(e,"click",st(Jt(t[64]))),ve(e,"keydown",t[83])],h=!0)},p(g,w){(!m||w[0]&8192)&&et(a,g[13]),(!m||w[1]&1&&f!==(f=Y("aria_label_menu_rate",{actual:g[31]})))&&u(e,"aria-label",f),(!m||w[0]&256)&&B(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){v(n.$$.fragment,g),m=!1},d(g){g&&S(e),H(n),t[113](null),h=!1,nt(_)}}}function Js(t){let e,i,n,l,r,o,s,a=t[37].displayValue+"",c,f,m,h,_;return n=new Hc({}),{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("subtitles_caption")}`,o=O(),s=T("div"),c=ze(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Y("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),t[114](e),m=!0,h||(_=[ve(e,"click",st(t[66])),ve(e,"keydown",t[86])],h=!0)},p(g,w){(!m||w[1]&64)&&a!==(a=g[37].displayValue+"")&&et(c,a),(!m||w[1]&64&&f!==(f=Y("aria_label_menu_subtitle",{actual:g[37].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&B(e,"item-mobile",g[8])},i(g){m||(d(n.$$.fragment,g),m=!0)},o(g){v(n.$$.fragment,g),m=!1},d(g){g&&S(e),H(n),t[114](null),h=!1,nt(_)}}}function xs(t){let e,i,n,l,r,o,s,a,c,f,m,h;return n=new p3({}),{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("menu_traffic_saving")}`,o=O(),s=T("div"),a=ze(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Y("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(_,g){P(_,e,g),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),t[115](e),f=!0,m||(h=[ve(e,"click",st(t[61])),ve(e,"keydown",t[89])],m=!0)},p(_,g){(!f||g[0]&536870912)&&et(a,_[29]),(!f||g[0]&536870912&&c!==(c=Y("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&B(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){v(n.$$.fragment,_),f=!1},d(_){_&&S(e),H(n),t[115](null),m=!1,nt(h)}}}function $s(t){let e,i,n,l,r,o,s,a;return n=new d3({}),{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Y("aria_label_menu_download")),B(e,"item-mobile",t[8])},m(c,f){P(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",st(t[69])),ve(e,"keydown",t[92])],s=!0)},p(c,f){(!o||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){o||(d(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,nt(a)}}}function ea(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C=t[39].showSupport&&L3(t);return l=new T3({}),f=new A3({}),{c(){C&&C.c(),e=O(),i=T("li"),n=T("div"),q(l.$$.fragment),r=O(),o=T("div"),o.textContent=`${Y("menu_copy_debug")}`,s=O(),a=T("li"),c=T("div"),q(f.$$.fragment),m=O(),h=T("div"),h.textContent=`${Y("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",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",_=t[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable"))},m(k,y){C&&C.m(k,y),P(k,e,y),P(k,i,y),p(i,n),F(l,n,null),p(i,r),p(i,o),P(k,s,y),P(k,a,y),p(a,c),F(f,c,null),p(a,m),p(a,h),g=!0,w||(b=[ve(i,"click",st(t[71])),ve(i,"keydown",t[94]),ve(a,"click",st(t[72])),ve(a,"keydown",t[95])],w=!0)},p(k,y){k[39].showSupport&&C.p(k,y),(!g||y[1]&128&&_!==(_=k[38]?Y("aria_label_menu_debug_overlay_disable"):Y("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){g||(d(C),d(l.$$.fragment,k),d(f.$$.fragment,k),g=!0)},o(k){v(C),v(l.$$.fragment,k),v(f.$$.fragment,k),g=!1},d(k){k&&(S(e),S(i),S(s),S(a)),C&&C.d(k),H(l),H(f),w=!1,nt(b)}}}function L3(t){let e,i,n,l,r,o,s,a;return n=new C3({}),{c(){e=T("li"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Y("menu_report")}. ${Y("aria_label_new_tab_alert")}`)},m(c,f){P(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",st(t[70])),ve(e,"keydown",t[93])],s=!0)},p:K,i(c){o||(d(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,nt(a)}}}function ta(t){let e,i,n,l,r,o,s,a,c,f,m,h;n=new Xn({props:{direction:"left"}});let _=Zt(t[12]),g=[];for(let b=0;b<_.length;b+=1)g[b]=oa(Zs(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("submenu_quality")}`,o=O(),s=T("div"),a=O(),c=T("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[21]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(b,C){P(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[117](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[120](c),f=!0,m||(h=[ve(i,"click",st(t[68])),ve(c,"keydown",t[81])],m=!0)},p(b,C){if((!f||C[0]&256)&&B(i,"item-mobile",b[8]),C[0]&4352|C[2]&1048577){_=Zt(b[12]);let k;for(k=0;k<_.length;k+=1){const y=Zs(b,_,k);g[k]?(g[k].p(y,C),d(g[k],1)):(g[k]=oa(y),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&2097152)&&u(c,"style",b[21]),(!f||C[0]&256)&&B(c,"items-mobile",b[8]),(!f||C[0]&256)&&B(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!f){d(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)d(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),t[117](null),Ln(g,b),t[120](null),m=!1,nt(h)}}}function ia(t){let e,i,n;return i=new Ho({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function na(t){let e,i,n;var l=Po(t[148].value);function r(o){return{}}return l&&(i=Nn(l,r())),{c(){e=T("div"),i&&q(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){P(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=Po(o[148].value))){if(i){de();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(i=Nn(l,r()),q(i.$$.fragment),d(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&d(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&H(i)}}}function oa(t){let e,i,n,l=t[148].displayValue+"",r,o,s=!t[8]&&Po(t[148].value),a,c,f,m,h,_,g=t[148].selected&&ia(),w=s&&na(t);function b(){return t[118](t[148])}function C(...k){return t[119](t[148],...k)}return{c(){e=T("li"),g&&g.c(),i=O(),n=T("div"),r=ze(l),o=O(),w&&w.c(),a=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=t[148].displayValue),B(e,"item-mobile",t[8])},m(k,y){P(k,e,y),g&&g.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),m=!0,h||(_=[ve(e,"click",st(b)),ve(e,"keydown",C)],h=!0)},p(k,y){t=k,t[148].selected?g?y[0]&4096&&d(g,1):(g=ia(),g.c(),d(g,1),g.m(e,i)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!m||y[0]&4096)&&l!==(l=t[148].displayValue+"")&&et(r,l),(!m||y[0]&256)&&B(n,"quality-title-mobile",t[8]),y[0]&4352&&(s=!t[8]&&Po(t[148].value)),s?w?(w.p(t,y),y[0]&4352&&d(w,1)):(w=na(t),w.c(),d(w,1),w.m(e,a)):w&&(de(),v(w,1,1,()=>{w=null}),me()),(!m||y[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!m||y[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!m||y[0]&256)&&B(e,"item-mobile",t[8])},i(k){m||(d(g),d(w),m=!0)},o(k){v(g),v(w),m=!1},d(k){k&&S(e),g&&g.d(),w&&w.d(),h=!1,nt(_)}}}function la(t){let e,i,n,l,r,o,s,a,c,f,m,h;n=new Xn({props:{direction:"left"}});let _=Zt(t[11]),g=[];for(let b=0;b<_.length;b+=1)g[b]=sa(Ws(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("submenu_playback_rate")}`,o=O(),s=T("div"),a=O(),c=T("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),B(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(b,C){P(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[121](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[124](c),f=!0,m||(h=[ve(i,"click",st(t[68])),ve(c,"keydown",t[84])],m=!0)},p(b,C){if((!f||C[0]&256)&&B(i,"item-mobile",b[8]),C[0]&2304|C[2]&8388616){_=Zt(b[11]);let k;for(k=0;k<_.length;k+=1){const y=Ws(b,_,k);g[k]?(g[k].p(y,C),d(g[k],1)):(g[k]=sa(y),g[k].c(),d(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&4194304)&&u(c,"style",b[22]),(!f||C[0]&256)&&B(c,"items-mobile",b[8]),(!f||C[0]&256)&&B(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!f){d(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)d(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),t[121](null),Ln(g,b),t[124](null),m=!1,nt(h)}}}function ra(t){let e,i,n;return i=new Ho({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function sa(t){let e,i,n,l=t[145].displayValue+"",r,o,s,a,c,f,m,h=t[145].selected&&ra();function _(){return t[122](t[145])}function g(...w){return t[123](t[145],...w)}return{c(){e=T("li"),h&&h.c(),i=O(),n=T("div"),r=ze(l),o=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),B(e,"item-mobile",t[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(m=[ve(e,"click",st(_)),ve(e,"keydown",g)],f=!0)},p(w,b){t=w,t[145].selected?h?b[0]&2048&&d(h,1):(h=ra(),h.c(),d(h,1),h.m(e,i)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&2048)&&l!==(l=t[145].displayValue+"")&&et(r,l),(!c||b[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||b[0]&2048&&s!==(s=t[145].value))&&u(e,"data-value",s),(!c||b[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,nt(m)}}}function aa(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae;n=new Xn({props:{direction:"left"}});let se=!t[9]&&ua(),R=t[9]&&ca();return{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("submenu_traffic_saving")}`,o=O(),s=T("div"),a=O(),c=T("ul"),f=T("li"),se&&se.c(),m=O(),h=T("div"),h.textContent=`${Y("traffic_saving_disable")}`,_=O(),g=T("li"),R&&R.c(),w=O(),b=T("div"),b.textContent=`${Y("traffic_saving_enable")}`,C=O(),k=T("div"),y=O(),M=T("div"),j=T("span"),j.textContent=`${Y("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),B(h,"quality-title-mobile",t[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",Y("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",t[8]),u(b,"class","v-5r0p3"),B(b,"quality-title-mobile",t[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${Y("aria_label_submenu_traffic_saving_on")}. ${Y("traffic_saving_helper_text")}`),B(g,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),B(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(j,"class","v-5r0p3"),u(M,"class","item item-helper-text v-5r0p3"),B(M,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(te,X){P(te,e,X),p(e,i),F(n,i,null),p(i,l),p(i,r),t[125](i),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),se&&se.m(f,null),p(f,m),p(f,h),p(c,_),p(c,g),R&&R.m(g,null),p(g,w),p(g,b),t[130](c),p(e,C),p(e,k),p(e,y),p(e,M),p(M,j),I=!0,z||(ae=[ve(i,"click",st(t[68])),ve(f,"click",st(t[126])),ve(f,"keydown",t[127]),ve(g,"click",st(t[128])),ve(g,"keydown",t[129]),ve(c,"keydown",t[90])],z=!0)},p(te,X){(!I||X[0]&256)&&B(i,"item-mobile",te[8]),te[9]?se&&(de(),v(se,1,1,()=>{se=null}),me()):se?X[0]&512&&d(se,1):(se=ua(),se.c(),d(se,1),se.m(f,m)),(!I||X[0]&256)&&B(h,"quality-title-mobile",te[8]),(!I||X[0]&256)&&B(f,"item-mobile",te[8]),te[9]?R?X[0]&512&&d(R,1):(R=ca(),R.c(),d(R,1),R.m(g,w)):R&&(de(),v(R,1,1,()=>{R=null}),me()),(!I||X[0]&256)&&B(b,"quality-title-mobile",te[8]),(!I||X[0]&256)&&B(g,"item-mobile",te[8]),(!I||X[0]&8388608)&&u(c,"style",te[23]),(!I||X[0]&256)&&B(c,"items-mobile",te[8]),(!I||X[0]&256)&&B(M,"item-mobile",te[8]),(!I||X[0]&256)&&B(e,"menu-desktop",!te[8]),(!I||X[0]&256)&&B(e,"menu-mobile",te[8])},i(te){I||(d(n.$$.fragment,te),d(se),d(R),I=!0)},o(te){v(n.$$.fragment,te),v(se),v(R),I=!1},d(te){te&&S(e),H(n),t[125](null),se&&se.d(),R&&R.d(),t[130](null),z=!1,nt(ae)}}}function ua(t){let e,i,n;return i=new Ho({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function ca(t){let e,i,n;return i=new Ho({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function fa(t){let e,i,n,l,r,o,s,a,c,f;n=new Xn({props:{direction:"left"}});let m=Zt(t[10]),h=[];for(let g=0;g<m.length;g+=1)h[g]=ma(js(t,m,g));const _=g=>v(h[g],1,1,()=>{h[g]=null});return{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("div"),r.textContent=`${Y("subtitles_caption")}`,o=O(),s=T("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",Y("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),B(s,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),B(e,"menu-desktop",!t[8]),B(e,"menu-mobile",t[8])},m(g,w){P(g,e,w),p(e,i),F(n,i,null),p(i,l),p(i,r),p(e,o),p(e,s);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(s,null);t[133](s),a=!0,c||(f=[ve(i,"click",st(t[68])),ve(s,"keydown",t[87])],c=!0)},p(g,w){if((!a||w[0]&256)&&B(i,"item-mobile",g[8]),w[0]&1280|w[2]&67108896){m=Zt(g[10]);let b;for(b=0;b<m.length;b+=1){const C=js(g,m,b);h[b]?(h[b].p(C,w),d(h[b],1)):(h[b]=ma(C),h[b].c(),d(h[b],1),h[b].m(s,null))}for(de(),b=m.length;b<h.length;b+=1)_(b);me()}(!a||w[0]&256)&&B(s,"items-mobile",g[8]),(!a||w[0]&256)&&B(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&B(e,"menu-mobile",g[8])},i(g){if(!a){d(n.$$.fragment,g);for(let w=0;w<m.length;w+=1)d(h[w]);a=!0}},o(g){v(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)v(h[w]);a=!1},d(g){g&&S(e),H(n),Ln(h,g),t[133](null),c=!1,nt(f)}}}function da(t){let e,i,n;return i=new Ho({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){P(l,e,r),F(i,e,null),n=!0},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function ma(t){let e,i,n,l=t[142].displayValue+"",r,o,s,a,c,f,m,h=t[142].selected&&da();function _(){return t[131](t[142])}function g(...w){return t[132](t[142],...w)}return{c(){e=T("li"),h&&h.c(),i=O(),n=T("div"),r=ze(l),o=O(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),B(e,"item-mobile",t[8])},m(w,b){P(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(m=[ve(e,"click",st(_)),ve(e,"keydown",g)],f=!0)},p(w,b){t=w,t[142].selected?h?b[0]&1024&&d(h,1):(h=da(),h.c(),d(h,1),h.m(e,i)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&1024)&&l!==(l=t[142].displayValue+"")&&et(r,l),(!c||b[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||b[0]&1024&&s!==(s=t[142].value))&&u(e,"data-value",s),(!c||b[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,nt(m)}}}function V3(t){let e,i,n,l,r,o,s=t[14]&&Ks(t),a=t[16]&&ta(t),c=t[17]&&la(t),f=t[19]&&aa(t),m=t[18]&&fa(t);return{c(){e=T("div"),s&&s.c(),i=O(),a&&a.c(),n=O(),c&&c.c(),l=O(),f&&f.c(),r=O(),m&&m.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!t[14]),B(e,"container-mobile",t[8])},m(h,_){P(h,e,_),s&&s.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),m&&m.m(e,null),o=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&d(s,1)):(s=Ks(h),s.c(),d(s,1),s.m(e,i)):s&&(de(),v(s,1,1,()=>{s=null}),me()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=ta(h),a.c(),d(a,1),a.m(e,n)):a&&(de(),v(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=la(h),c.c(),d(c,1),c.m(e,l)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=aa(h),f.c(),d(f,1),f.m(e,r)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[18]?m?(m.p(h,_),_[0]&262144&&d(m,1)):(m=fa(h),m.c(),d(m,1),m.m(e,null)):m&&(de(),v(m,1,1,()=>{m=null}),me()),(!o||_[0]&16384)&&B(e,"hidden",!h[14]),(!o||_[0]&256)&&B(e,"container-mobile",h[8])},i(h){o||(d(s),d(a),d(c),d(f),d(m),o=!0)},o(h){v(s),v(a),v(c),v(f),v(m),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const Gl=18;function M3(t,e,i){let n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,{ref:te=void 0}=e,{supportLink:X}=e,{playerControlsHeight:G=0}=e,{returnFocus:A}=e;const V=Ct(),x=gn(),L=V.state.currentQuality$;D(t,L,ee=>i(103,w=ee));const ie=V.state.availableQualities$;D(t,ie,ee=>i(12,_=ee));const Ee=V.state.autoQualityLimitingAvailable$;D(t,Ee,ee=>i(107,y=ee));const ye=V.state.isAutoQualityEnabled$;D(t,ye,ee=>i(104,b=ee));const Le=V.state.currentPlaybackRate$;D(t,Le,ee=>i(13,g=ee));const Ve=V.state.availablePlaybackRates$;D(t,Ve,ee=>i(11,m=ee));const _e=V.state.currentSubtitle$;D(t,_e,ee=>i(37,se=ee));const Se=V.state.availableSubtitlesList$;D(t,Se,ee=>i(10,c=ee));const W=V.state.canDownload,$=V.state.hasMpegSources$;D(t,$,ee=>i(108,M=ee));const fe=V.ui.settingsMenuVisible;D(t,fe,ee=>i(14,ae=ee));const ue=V.ui.settingsMenuOpenedByKeyboard;D(t,ue,ee=>i(135,l=ee));const Fe=V.ui.isMobile;D(t,Fe,ee=>i(8,r=ee));const Oe=V.ui.mobileNotReportControlHidden$;D(t,Oe,ee=>i(105,C=ee));const Me=V.state.canChangePlaybackSpeed$;D(t,Me,ee=>i(106,k=ee));const Ie=V.ui.isFullscreen;D(t,Ie,ee=>i(111,z=ee));const ce=V.state.trafficSavingEnabled$;D(t,ce,ee=>i(9,s=ee));const he=V.ui.playerSize;D(t,he,ee=>i(110,I=ee));const re=V.ui.debugPanelVisible;D(t,re,ee=>i(38,R=ee));const Te=V.ui.playerSize;D(t,Te,ee=>i(109,j=ee));const pe=V.state.isInteractiveTime$,Pe=V.actions.internal.downloadVideo,Ke=V.actions.internal.closeSettingsMenu;let Re=!0,xe=!1,Xe=!1,ot=!1,at=!1,At=!1;function pt(){l||A==null||A(),Ke(),At=!1}function xt(){i(15,Re=!1),i(16,xe=!0)}function gt(){i(15,Re=!1),i(19,at=!0)}function Mt(ee){V.actions.internal.setQuality(ee),pt()}function oe(ee){V.actions.internal.setTrafficSavingEnabled(ee),pt()}function _t(){i(15,Re=!1),i(17,Xe=!0)}function rt(ee){V.actions.internal.setPlaybackRate(ee),pt()}function Rt(){i(15,Re=!1),i(18,ot=!0)}function ut(ee){V.actions.internal.setSubtitle(ee),pt()}function It(){i(15,Re=!0),i(16,xe=!1),i(17,Xe=!1),i(18,ot=!1),i(19,at=!1)}function Je(){Pe(),pt()}function Ue(){window.open(X,"_blank"),pt(),V.actions.internal.pause()}function St(){rr(V.actions.internal.getDebugTextData()),pt()}function Ji(){re.set(!0),pt()}function fi(){At=!0}function di(){At=!1}function nn(ee,it,Ut){if(!ee)return"...";const Si=it.find(cn=>cn.value===ee),ht=Si?Si.displayValue:ee;return Ut?ee===$e.VideoQuality.INVARIANT?Y("auto_quality_invariant"):Y("auto_quality",{actual:ht}):ht}let $t,Kt,ei,Ot,ti,Oi,ii,Ti,mi,ni,Di,Ei,zi,oi,Fi,Pt,Tt,pi=Ne(!1);D(t,pi,ee=>i(102,h=ee));let Ai,lt,ct=Ne(!1);D(t,ct,ee=>i(101,f=ee));let li,Bt,ri=Ne(!1);D(t,ri,ee=>i(100,a=ee));let hi,vi,Dt=Ne(!1);D(t,Dt,ee=>i(99,o=ee));const Wi=ee=>{Lc(ee,Ke)},gi=async ee=>{nl(ee,xt,()=>{const it=_.findIndex(Ut=>Ut.selected);return Tt.childNodes[it]})},Gt=async ee=>{ol(ee,It,pi,Ke)},Ii=(ee,it)=>{tn(ee,()=>Mt(it))},on=async ee=>{nl(ee,_t,()=>{const it=m.findIndex(Ut=>Ut.selected);return lt.childNodes[it]})},bi=async ee=>{ol(ee,It,ct,Ke)},Hi=(ee,it)=>{tn(ee,()=>rt(it))},Nt=async ee=>{nl(ee,Rt,()=>{const it=c.findIndex(Ut=>Ut.selected);return Bt.childNodes[it]})},Ht=async ee=>{ol(ee,It,ri,Ke)},_i=(ee,it)=>{tn(ee,()=>ut(it))},Li=async ee=>{nl(ee,gt,()=>{const it=s?2:0;return vi.childNodes[it]})},Vi=async ee=>{ol(ee,It,Dt,Ke)},si=(ee,it)=>{tn(ee,()=>oe(it))},Zi=ee=>{tn(ee,()=>Je())},wi=ee=>{tn(ee,()=>Ue())},ki=ee=>{tn(ee,()=>St())},Ui=ee=>{tn(ee,()=>Ji())};vn(()=>{const ee=pe.subscribe(it=>{it&&!r&&!At&&!l&&pt()});return()=>{ee()}});function yi(ee){Ce[ee?"unshift":"push"](()=>{Pt=ee,i(4,Pt)})}function Ki(ee){Ce[ee?"unshift":"push"](()=>{Ai=ee,i(5,Ai)})}function jt(ee){Ce[ee?"unshift":"push"](()=>{li=ee,i(6,li)})}function Yt(ee){Ce[ee?"unshift":"push"](()=>{hi=ee,i(7,hi)})}function Mi(ee){Ce[ee?"unshift":"push"](()=>{te=ee,i(0,te)})}function Bi(ee){Ce[ee?"unshift":"push"](()=>{Kt=ee,i(1,Kt)})}const Wt=ee=>Mt(ee.value),ai=(ee,it)=>Ii(it,ee.value);function ui(ee){Ce[ee?"unshift":"push"](()=>{Tt=ee,i(32,Tt)})}function qe(ee){Ce[ee?"unshift":"push"](()=>{ei=ee,i(2,ei)})}const Gi=ee=>rt(ee.value),ci=(ee,it)=>Hi(it,ee.value);function qi(ee){Ce[ee?"unshift":"push"](()=>{lt=ee,i(33,lt)})}function Be(ee){Ce[ee?"unshift":"push"](()=>{Ot=ee,i(3,Ot)})}const ln=()=>oe(!1),rn=ee=>si(ee,!1),Yi=()=>oe(!0),Lt=ee=>si(ee,!0);function sn(ee){Ce[ee?"unshift":"push"](()=>{vi=ee,i(35,vi)})}const xi=ee=>ut(ee),ji=(ee,it)=>_i(it,ee);function Ci(ee){Ce[ee?"unshift":"push"](()=>{Bt=ee,i(34,Bt)})}return t.$$set=ee=>{"ref"in ee&&i(0,te=ee.ref),"supportLink"in ee&&i(96,X=ee.supportLink),"playerControlsHeight"in ee&&i(97,G=ee.playerControlsHeight),"returnFocus"in ee&&i(98,A=ee.returnFocus)},t.$$.update=()=>{var ee,it,Ut,Si;if(t.$$.dirty[0]&16384&&ae&&(i(15,Re=!0),i(16,xe=!1),i(17,Xe=!1),i(18,ot=!1),i(19,at=!1)),t.$$.dirty[3]&1024&&i(36,n=Po(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,$t=nn(w,_,b)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(r&&z)i(21,ti=`max-height: ${Math.round(I.height*.6)}px`);else if(r)i(21,ti="");else{const ht=j.height-Gl-((ee=Kt==null?void 0:Kt.clientHeight)!=null?ee:0)-G;i(21,ti=`max-height: ${ht}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(r)i(22,Oi="");else{const ht=j.height-Gl-((it=ei==null?void 0:ei.clientHeight)!=null?it:0)-G;i(22,Oi=`max-height: ${ht}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(r)i(23,ii="");else{const ht=j.height-Gl-((Ut=Ot==null?void 0:Ot.clientHeight)!=null?Ut:0)-G;i(23,ii=`max-height: ${ht}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Ti=W&&M&&!C),t.$$.dirty[3]&20480&&i(25,mi=x.features.trafficSaving&&!C&&y),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,ni=c.length>0&&!C),t.$$.dirty[3]&12288&&i(27,Di=!!k&&!C),t.$$.dirty[3]&4096&&i(28,Ei=!C),t.$$.dirty[0]&512&&i(29,zi=Y(s?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,oi=b?Y("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Fi=(Si=m.find(ht=>ht.value===g))==null?void 0:Si.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&il(Pt,pi,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&il(Ai,ct,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&il(li,ri,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&il(hi,Dt,o)},[te,Kt,ei,Ot,Pt,Ai,li,hi,r,s,c,m,_,g,ae,Re,xe,Xe,ot,at,$t,ti,Oi,ii,Ti,mi,ni,Di,Ei,zi,oi,Fi,Tt,lt,Bt,vi,n,se,R,x,L,ie,Ee,ye,Le,Ve,_e,Se,$,fe,ue,Fe,Oe,Me,Ie,ce,he,re,Te,pt,xt,gt,Mt,oe,_t,rt,Rt,ut,It,Je,Ue,St,Ji,fi,di,pi,ct,ri,Dt,Wi,gi,Gt,Ii,on,bi,Hi,Nt,Ht,_i,Li,Vi,si,Zi,wi,ki,Ui,X,G,A,o,a,f,h,w,b,C,k,y,M,j,I,z,yi,Ki,jt,Yt,Mi,Bi,Wt,ai,ui,qe,Gi,ci,qi,Be,ln,rn,Yi,Lt,sn,xi,ji,Ci]}class Uc extends ke{constructor(e){super(),we(this,e,M3,V3,be,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},I3,[-1,-1,-1,-1,-1])}}function B3(t){Ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function N3(t){let e,i,n;return i=new Fc({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=T("span"),q(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),i.$set(o)},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function R3(t){let e,i,n;function l(o){t[9](o)}let r={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[N3]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function O3(t,e,i){let n,l,r,{ref:o=void 0}=e;const s=Ct(),a=s.state.currentQuality$;D(t,a,w=>i(4,r=w));const c=s.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;D(t,m,w=>i(3,l=w));let h;function _(w){const b=vr(w);f(b)}function g(w){o=w,i(0,o)}return t.$$set=w=>{"ref"in w&&i(0,o=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=Y(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,m,_,g]}class wr extends ke{constructor(e){super(),we(this,e,O3,R3,be,{ref:0},B3)}}function D3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class z3 extends ke{constructor(e){super(),we(this,e,null,D3,be,{})}}function F3(t){let e,i;return e=new Hc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function H3(t){let e,i;return e=new z3({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function U3(t){let e,i,n,l;const r=[H3,F3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i||(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function q3(t){let e,i;return e=new Pi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Bo[Ae.KeyC],$$slots:{default:[U3]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function j3(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return t.$$set=o=>{"isSubtitlesEnabled"in o&&i(0,n=o.isSubtitlesEnabled),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Y(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class W3 extends ke{constructor(e){super(),we(this,e,j3,q3,be,{isSubtitlesEnabled:0,click:1})}}function Z3(t){Ze(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function pa(t){let e,i;return{c(){e=T("span"),i=ze(t[3]),u(e,"class","duration v-19o2urr")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&8&&et(i,n[3])},d(n){n&&S(e)}}}function K3(t){let e,i,n,l,r=t[2]&&pa(t);return{c(){e=T("div"),i=T("span"),n=ze(t[4]),l=O(),r&&r.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",t[1])},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),r&&r.m(e,null),t[7](e)},p(o,[s]){s&16&&et(n,o[4]),o[2]?r?r.p(o,s):(r=pa(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&B(e,"mobile",o[1])},i:K,o:K,d(o){o&&S(e),r&&r.d(),t[7](null)}}}function G3(t,e,i){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(m){Ce[m?"unshift":"push"](()=>{s=m,i(0,s)})}return t.$$set=m=>{"isMobile"in m&&i(1,n=m.isMobile),"duration"in m&&i(5,l=m.duration),"position"in m&&i(6,r=m.position),"showDuration"in m&&i(2,o=m.showDuration),"ref"in m&&i(0,s=m.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Fn(l)),t.$$.dirty&64&&i(4,c=Fn(r))},[s,n,o,a,c,l,r,f]}class qc extends ke{constructor(e){super(),we(this,e,G3,K3,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Z3)}}function Y3(t){Ze(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Q3(t){let e,i,n,l,r,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",o="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){P(s,e,a),p(e,i),p(i,n),p(i,l),p(i,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&S(e)}}}function X3(t,e,i){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return t.$$set=s=>{"volume"in s&&i(1,n=s.volume),"muted"in s&&i(2,l=s.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,o=r(n,l))},[o,n,l]}class bl extends ke{constructor(e){super(),we(this,e,X3,Q3,be,{volume:1,muted:2},Y3)}}function J3(t){let e,i;const n=t[4].default,l=Hn(n,t,t[3],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){P(r,e,o),l&&l.m(e,null),t[5](e),i=!0},p(r,[o]){l&&l.p&&(!i||o&8)&&qn(l,n,r,r[3],i?Un(n,r[3],o,null):jn(r[3]),null)},i(r){i||(d(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[5](null)}}}function x3(t,e,i){let n,{$$slots:l={},$$scope:r}=e;const s=Ct().ui.overlayContainer$;D(t,s,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};vn(()=>(f(n),()=>c(n)));function m(h){Ce[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,r=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,s,n,r,l,m]}class $3 extends ke{constructor(e){super(),we(this,e,x3,J3,be,{})}}function eh(t){Ze(t,"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 ha(t){let e,i;return e=new $3({props:{$$slots:{default:[th]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&262387&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function th(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("div"),n=ze(t[1]),l=O(),r=T("div"),u(i,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",o=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${t[6]}px, ${t[7]}px);`),B(e,"active",t[0])},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),t[17](e)},p(a,c){c&2&&et(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&B(e,"active",a[0])},d(a){a&&S(e),t[17](null)}}}function ih(t){let e,i,n,l,r,o;const s=t[15].default,a=Hn(s,t,t[18],null);let c=t[1]&&ha(t);return{c(){e=T("div"),a&&a.c(),i=O(),c&&c.c(),n=mt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(e,"full-width",t[2])},m(f,m){P(f,e,m),a&&a.m(e,null),t[16](e),P(f,i,m),c&&c.m(f,m),P(f,n,m),l=!0,r||(o=[ve(e,"mouseenter",t[11]),ve(e,"mousemove",t[11]),ve(e,"mouseleave",t[12]),ve(e,"mousedown",t[12]),ve(e,"mouseup",t[11])],r=!0)},p(f,[m]){a&&a.p&&(!l||m&262144)&&qn(a,s,f,f[18],l?Un(s,f[18],m,null):jn(f[18]),null),(!l||m&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=ha(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(de(),v(c,1,1,()=>{c=null}),me())},i(f){l||(d(a,f),d(c),l=!0)},o(f){v(a,f),v(c),l=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[16](null),c&&c.d(f),r=!1,nt(o)}}}const ll=5;function nh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,_,g,w=0,b=ll,C=0,k=0;const y=gn(),M=Ct(),j=M.ui.playerSize;D(t,j,V=>i(21,l=V));const I=M.ui.overlayContainer$;D(t,I,V=>i(20,n=V));const z=M.getLogger().createComponentLog("Tooltip component"),ae=()=>{if(!n)return;const V=n.getBoundingClientRect(),x=h.getBoundingClientRect(),L=x.width,ie=_.clientWidth,Ee=l.width,ye=(L-ie)/2,Le=x.left+c-V.left;let Ve=Le+ye;const _e=x.top+f-V.top;let Se=ie/2-ll;const W=Ve<Qo,$=Ve+ie>Ee-Qo;W&&(Ve=Qo,Se=Le+x.width/2-2.5*ll),$&&(Ve=Ee-Qo-ie,Se=x.left-V.left+x.width/2-Ve-ll),i(6,C=Ve),i(7,k=_e),i(5,w=Se)},se=()=>{try{if(!n||!h)return;ae(),i(0,a=!0)}catch(V){z({message:String(V)})}},R=()=>{i(0,a=!1)},te=()=>{_&&(g||(g=window.setTimeout(se,y.controls.hideTimeoutTooltips)),a&&se())},X=()=>{R(),window.clearTimeout(g),g=void 0};ml(()=>window.clearTimeout(g));function G(V){Ce[V?"unshift":"push"](()=>{h=V,i(3,h)})}function A(V){Ce[V?"unshift":"push"](()=>{_=V,i(4,_)})}return t.$$set=V=>{"content"in V&&i(1,s=V.content),"active"in V&&i(0,a=V.active),"translateX"in V&&i(13,c=V.translateX),"translateY"in V&&i(14,f=V.translateY),"isFullWidthWrapper"in V&&i(2,m=V.isFullWidthWrapper),"$$scope"in V&&i(18,o=V.$$scope)},[a,s,m,h,_,w,C,k,b,j,I,te,X,c,f,r,G,A,o]}class jc extends ke{constructor(e){super(),we(this,e,nh,ih,be,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},eh)}}function oh(t){Ze(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function lh(t){let e;const i=t[16].default,n=Hn(i,t,t[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&qn(n,i,l,l[21],e?Un(i,l[21],r,null):jn(l[21]),null)},i(l){e||(d(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function rh(t){let e,i;return e=new jc({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[sh]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&512&&(r.content=n[9]),l&128&&(r.translateX=n[7]),l&256&&(r.translateY=n[8]),l&16&&(r.isFullWidthWrapper=n[4]),l&2097152&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sh(t){let e;const i=t[16].default,n=Hn(i,t,t[21],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&2097152)&&qn(n,i,l,l[21],e?Un(i,l[21],r,null):jn(l[21]),null)},i(l){e||(d(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function ah(t){let e,i,n,l,r,o,s,a,c;const f=[rh,lh],m=[];function h(_,g){return _[3]&&_[5]&&!_[10]?0:1}return i=h(t),n=m[i]=f[i](t),{c(){e=T("div"),n.c(),u(e,"class",l="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",r=t[6]||null),yo(()=>t[20].call(e))},m(_,g){P(_,e,g),m[i].m(e,null),t[19](e),o=sr(e,t[20].bind(e)),s=!0,a||(c=[ve(e,"pointerdown",st(Jt(t[17]))),ve(e,"click",st(Jt(t[18])))],a=!0)},p(_,[g]){let w=i;i=h(_),i===w?m[i].p(_,g):(de(),v(m[w],1,1,()=>{m[w]=null}),me(),n=m[i],n?n.p(_,g):(n=m[i]=f[i](_),n.c()),d(n,1),n.m(e,null)),(!s||g&4&&l!==(l="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",l),(!s||g&64&&r!==(r=_[6]||null))&&u(e,"aria-hidden",r)},i(_){s||(d(n),s=!0)},o(_){v(n),s=!1},d(_){_&&S(e),m[i].d(),t[19](null),o(),a=!1,nt(c)}}}function uh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{disabledTooltipContent:g=Y("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:b=0}=e,{initialTranslateYPx:C=-18}=e;const k=Ct(),y=k.ui.isMobile;D(t,y,R=>i(10,l=R));const M=k.state.graphIsOpened$;D(t,M,R=>i(15,n=R));let j;function I(R){ko.call(this,t,R)}function z(R){ko.call(this,t,R)}function ae(R){Ce[R?"unshift":"push"](()=>{f=R,i(0,f)})}function se(){m=this.clientWidth,i(1,m)}return t.$$set=R=>{"className"in R&&i(2,s=R.className),"disabled"in R&&i(13,a=R.disabled),"hasTooltip"in R&&i(3,c=R.hasTooltip),"ref"in R&&i(0,f=R.ref),"width"in R&&i(1,m=R.width),"isFullWidthTooltip"in R&&i(4,h=R.isFullWidthTooltip),"tooltipContent"in R&&i(5,_=R.tooltipContent),"disabledTooltipContent"in R&&i(14,g=R.disabledTooltipContent),"isAriaHidden"in R&&i(6,w=R.isAriaHidden),"initialTranslateXPx"in R&&i(7,b=R.initialTranslateXPx),"initialTranslateYPx"in R&&i(8,C=R.initialTranslateYPx),"$$scope"in R&&i(21,o=R.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,j=n?Y("tooltip_disabled_when_graph_on"):g):i(9,j=_))},[f,m,s,c,h,_,w,b,C,j,l,y,M,a,g,n,r,I,z,ae,se,o]}class qt extends ke{constructor(e){super(),we(this,e,uh,ah,be,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},oh)}}function ch(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("rect"),l=N("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){P(o,e,s),p(e,i),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(i,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&S(e)}}}function fh(t,e,i){let{completed:n}=e;return t.$$set=l=>{"completed"in l&&i(0,n=l.completed)},[n]}class Wc extends ke{constructor(e){super(),we(this,e,fh,ch,be,{completed:0})}}function dh(t){Ze(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function mh(t){let e,i,n,l,r;return i=new Wc({props:{completed:!!t[0].completed}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),yo(()=>t[3].call(e)),B(e,"disabled",t[1])},m(o,s){P(o,e,s),F(i,e,null),l=sr(e,t[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),i.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&B(e,"disabled",o[1])},i(o){r||(d(i.$$.fragment,o),r=!0)},o(o){v(i.$$.fragment,o),r=!1},d(o){o&&S(e),H(i),l()}}}function ph(t){let e,i;return e=new qt({props:{tooltipContent:Y(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[mh]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=Y(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hh(t,e,i){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,i(2,r)}return t.$$set=s=>{"videoEpisode"in s&&i(0,n=s.videoEpisode),"disabled"in s&&i(1,l=s.disabled)},[n,l,r,o]}class vh extends ke{constructor(e){super(),we(this,e,hh,ph,be,{videoEpisode:0,disabled:1},dh)}}function gh(t){Ze(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function va(t,e,i){const n=t.slice();return n[2]=e[i],n}function ga(t){let e,i,n,l,r,o,s,a,c;return{c(){e=T("div"),i=T("div"),n=T("div"),r=O(),o=T("div"),a=O(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),B(o,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),B(e,"mobile",t[1])},m(f,m){P(f,e,m),p(e,i),p(i,n),p(i,r),p(i,o),p(e,a)},p(f,m){m&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),m&2&&B(o,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&B(e,"mobile",f[1])},d(f){f&&S(e)}}}function bh(t){let e,i=Zt(t[0]),n=[];for(let l=0;l<i.length;l+=1)n[l]=ga(va(t,i,l));return{c(){e=T("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){P(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){i=Zt(l[0]);let o;for(o=0;o<i.length;o+=1){const s=va(l,i,o);n[o]?n[o].p(s,r):(n[o]=ga(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},i:K,o:K,d(l){l&&S(e),Ln(n,l)}}}function _h(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return t.$$set=r=>{"videoEpisodes"in r&&i(0,n=r.videoEpisodes),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class wh extends ke{constructor(e){super(),we(this,e,_h,bh,be,{videoEpisodes:0,isMobile:1},gh)}}function kh(t){Ze(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function ba(t,e,i){const n=t.slice();return n[48]=e[i],n}function _a(t){let e,i,n=Zt(t[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=ka(ba(t,n,o));const r=o=>v(l[o],1,1,()=>{l[o]=null});return{c(){e=T("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",t[5]),B(e,"hidden",t[5]&&!t[20])},m(o,s){P(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);i=!0},p(o,s){if(s[0]&2097664){n=Zt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=ba(o,n,a);l[a]?(l[a].p(c,s),d(l[a],1)):(l[a]=ka(c),l[a].c(),d(l[a],1),l[a].m(e,null))}for(de(),a=n.length;a<l.length;a+=1)r(a);me()}(!i||s[0]&32)&&B(e,"mobile",o[5]),(!i||s[0]&1048608)&&B(e,"hidden",o[5]&&!o[20])},i(o){if(!i){for(let s=0;s<n.length;s+=1)d(l[s]);i=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)v(l[s]);i=!1},d(o){o&&S(e),Ln(l,o)}}}function wa(t){let e,i;return e=new vh({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ka(t){let e,i,n=t[48].interactive&&wa(t);return{c(){n&&n.c(),e=mt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&d(n,1)):(n=wa(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(d(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function yh(t){let e,i,n,l,r,o;return{c(){e=T("div"),i=T("div"),l=O(),r=T("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${t[12]*100}%);`),B(r,"active-live",t[4]),B(r,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(s,a){P(s,e,a),p(e,i),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&B(r,"active-live",s[4]),a[0]&64&&B(r,"ads",s[6])},i:K,o:K,d(s){s&&S(e)}}}function Ch(t){let e,i;return e=new wh({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sh(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g=t[8]&&_a(t);const w=[Ch,yh],b=[];function C(k,y){return k[21].length?0:1}return n=C(t),l=b[n]=w[n](t),{c(){var k;g&&g.c(),e=O(),i=T("div"),l.c(),r=O(),o=T("div"),s=T("div"),u(s,"class","handle v-1golz1y"),B(s,"active-live",t[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${t[13]*100}%);`),B(o,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=(k=t[1])!=null?k:null),B(i,"disabled",t[9]),B(i,"slider-dragging",t[20]),B(i,"hidden",t[2]),B(i,"slider-vertical",t[3]),B(i,"no-handle",t[10]),B(i,"square",t[7])},m(k,y){g&&g.m(k,y),P(k,e,y),P(k,i,y),b[n].m(i,null),p(i,r),p(i,o),p(o,s),t[42](i),m=!0,h||(_=[ve(i,"pointerdown",Jt(t[22])),ve(i,"pointermove",Jt(t[23])),ve(i,"pointerup",Jt(t[24])),ve(i,"pointerenter",Jt(t[25])),ve(i,"pointerleave",Jt(t[26])),ve(i,"click",st(ne.noop)),ve(i,"wheel",t[27])],h=!0)},p(k,y){var j;k[8]?g?(g.p(k,y),y[0]&256&&d(g,1)):(g=_a(k),g.c(),d(g,1),g.m(e.parentNode,e)):g&&(de(),v(g,1,1,()=>{g=null}),me());let M=n;n=C(k),n===M?b[n].p(k,y):(de(),v(b[M],1,1,()=>{b[M]=null}),me(),l=b[n],l?l.p(k,y):(l=b[n]=w[n](k),l.c()),d(l,1),l.m(i,r)),(!m||y[0]&16)&&B(s,"active-live",k[4]),(!m||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(o,"style",a),(!m||y[0]&1024)&&B(o,"hidden",k[10]),(!m||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!m||y[0]&16384)&&u(i,"aria-label",k[14]),(!m||y[0]&32768)&&u(i,"aria-valuemin",k[15]),(!m||y[0]&65536)&&u(i,"aria-valuemax",k[16]),(!m||y[0]&131072)&&u(i,"aria-valuenow",k[17]),(!m||y[0]&262144)&&u(i,"aria-valuetext",k[18]),(!m||y[0]&2&&f!==(f=(j=k[1])!=null?j:null))&&u(i,"data-testid",f),(!m||y[0]&513)&&B(i,"disabled",k[9]),(!m||y[0]&1048577)&&B(i,"slider-dragging",k[20]),(!m||y[0]&5)&&B(i,"hidden",k[2]),(!m||y[0]&9)&&B(i,"slider-vertical",k[3]),(!m||y[0]&1025)&&B(i,"no-handle",k[10]),(!m||y[0]&129)&&B(i,"square",k[7])},i(k){m||(d(g),d(l),m=!0)},o(k){v(g),v(l),m=!1},d(k){k&&(S(e),S(i)),g&&g.d(k),b[n].d(),t[42](null),h=!1,nt(_)}}}function Ph(t,e,i){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:b=!1}=e,{hideHandel:C=!1}=e,k,y,{onPointerDown:M=ne.noop}=e,{onHandleMove:j=ne.noop}=e,{onPointerUp:I=ne.noop}=e,{onPointerEnter:z=ne.noop}=e,{onPointerMove:ae=ne.noop}=e,{onPointerLeave:se=ne.noop}=e,{onWheelUp:R=ne.noop}=e,{onWheelDown:te=ne.noop}=e,{onWheelLeft:X=ne.noop}=e,{onWheelRight:G=ne.noop}=e,{loadedProgress:A=0}=e,{filledProgress:V=0}=e,{handleProgress:x=0}=e,{ariaLabel:L=""}=e,{ariaValueMin:ie=void 0}=e,{ariaValueMax:Ee=void 0}=e,{ariaValueNow:ye=void 0}=e,{ariaValueText:Le=""}=e;const Ve=gn();let _e=!1,Se;function W(re){if(_e)return;i(20,_e=!0),y=k.getBoundingClientRect();const Te=Me(re.clientX,re.clientY);M(Te),k.setPointerCapture(re.pointerId)}function $(re){const Te=Me(re.clientX,re.clientY),pe=Ie(re.clientX);ae(Te,pe,y.width),_e&&j(Te)}function fe(re){if(!_e)return;i(20,_e=!1);const Te=Me(re.clientX,re.clientY);I(Te)}function ue(re){y=k.getBoundingClientRect();const Te=Me(re.clientX,re.clientY),pe=Ie(re.clientX);z(Te,pe,y.width)}function Fe(){se()}function Oe(re){g&&(re.preventDefault(),re.deltaY<0?R():re.deltaY>0?te():re.deltaX>0?G():X())}function Me(re,Te){return a?Math.max(0,Math.min(1,(y.height-(Te-y.top))/y.height)):Math.min(Math.max(re-y.x,0),y.width)/y.width}function Ie(re){return Math.min(Math.max(re-y.x,0),y.width)}function ce(re,Te){const pe=Ve.features.episodesClustering&&!w?Ve.episodeMinWidthPc:0,Pe=[];let Ke=0,Re=0,xe=0;for(let at=1;at<_.length;at++)Re=_[at].time/Se*100,Re-Ke>pe&&(Pe.push({from:Ke,width:Math.max(0,Re-Ke),loadedWidth:Math.max(0,Math.min(Re,re)-Ke),filledWidth:Math.max(0,Math.min(Re,Te)-Ke),interactive:_[at-1].interactive,completed:_[at-1].completed}),Ke=_[at].time/Se*100,xe++);const Xe={from:Ke,width:Math.max(0,100-Ke),loadedWidth:Math.max(0,Math.min(re,100)-Ke),filledWidth:Math.max(0,Math.min(Te,100)-Ke),interactive:_[xe].interactive,completed:_[xe].completed};100-Ke<pe?(xe-=1,Pe[xe].width+=100-Ke,Pe[xe].loadedWidth+=Math.max(0,Math.min(re,100)-Ke),Pe[xe].filledWidth+=Math.max(0,Math.min(Te,100)-Ke)):Pe[xe]=Xe;const ot=_[0].time;if(ot!==0){const at=ot/Se*100;Pe.unshift({from:0,width:at,loadedWidth:Math.min(at,re),filledWidth:Math.min(at,Te)})}return Pe}function he(re){Ce[re?"unshift":"push"](()=>{k=re,i(19,k)})}return t.$$set=re=>{"className"in re&&i(0,r=re.className),"testId"in re&&i(1,o=re.testId),"isHidden"in re&&i(2,s=re.isHidden),"isVertical"in re&&i(3,a=re.isVertical),"isActiveLive"in re&&i(4,c=re.isActiveLive),"isMobile"in re&&i(5,f=re.isMobile),"isAds"in re&&i(6,m=re.isAds),"squareBorders"in re&&i(7,h=re.squareBorders),"videoEpisodes"in re&&i(28,_=re.videoEpisodes),"withWheelHandler"in re&&i(29,g=re.withWheelHandler),"isInteractive"in re&&i(8,w=re.isInteractive),"disabled"in re&&i(9,b=re.disabled),"hideHandel"in re&&i(10,C=re.hideHandel),"onPointerDown"in re&&i(30,M=re.onPointerDown),"onHandleMove"in re&&i(31,j=re.onHandleMove),"onPointerUp"in re&&i(32,I=re.onPointerUp),"onPointerEnter"in re&&i(33,z=re.onPointerEnter),"onPointerMove"in re&&i(34,ae=re.onPointerMove),"onPointerLeave"in re&&i(35,se=re.onPointerLeave),"onWheelUp"in re&&i(36,R=re.onWheelUp),"onWheelDown"in re&&i(37,te=re.onWheelDown),"onWheelLeft"in re&&i(38,X=re.onWheelLeft),"onWheelRight"in re&&i(39,G=re.onWheelRight),"loadedProgress"in re&&i(11,A=re.loadedProgress),"filledProgress"in re&&i(12,V=re.filledProgress),"handleProgress"in re&&i(13,x=re.handleProgress),"ariaLabel"in re&&i(14,L=re.ariaLabel),"ariaValueMin"in re&&i(15,ie=re.ariaValueMin),"ariaValueMax"in re&&i(16,Ee=re.ariaValueMax),"ariaValueNow"in re&&i(17,ye=re.ariaValueNow),"ariaValueText"in re&&i(18,Le=re.ariaValueText)},t.$$.update=()=>{var re;t.$$.dirty[0]&65536&&i(40,Se=Ee!=null?Ee:0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=((re=_[_.length-1])==null?void 0:re.time)<Se),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,l=_.length&&n&&Se?ce(A*100,V*100):[])},[r,o,s,a,c,f,m,h,w,b,C,A,V,x,L,ie,Ee,ye,Le,k,_e,l,W,$,fe,ue,Fe,Oe,_,g,M,j,I,z,ae,se,R,te,X,G,Se,n,he]}class kr extends ke{constructor(e){super(),we(this,e,Ph,Sh,be,{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},kh,[-1,-1])}}const En=(t,e)=>So[t]>=So[e],Th=(t,e)=>So[t]<So[e],Zc=(t,e)=>So[t]<=So[e],Eh=t=>t>go.L?exports.GridTypes.XL:t>go.M?exports.GridTypes.L:t>go.S?exports.GridTypes.M:t>go.XS?exports.GridTypes.S:exports.GridTypes.XS;function Ah(t){Ze(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Ih(t){let e,i;return e=new bl({props:{volume:t[3],muted:t[1]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Lh(t){let e,i;return e=new Pi({props:{className:"btn-full-opacity",disabled:t[9],testId:t[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[0],ariaKeyShortCut:Bo[Ae.KeyM],$$slots:{default:[Ih]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ya(t){let e,i,n;return i=new kr({props:{className:t[2]?"volumeBar-slider-vertical":"",isHidden:t[2]&&!t[5],isVertical:t[2],withWheelHandler:!0,onWheelUp:t[15],onWheelDown:t[16],onPointerDown:t[14],onHandleMove:t[17],onPointerUp:t[18],onPointerEnter:t[2]?t[19]:ne.noop,onPointerLeave:t[2]?t[20]:ne.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",t[2])},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:ne.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:ne.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),i.$set(o),(!n||r[0]&4)&&B(e,"volumeBar-vertical",l[2])},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Vh(t){let e,i,n,l,r,o;i=new jc({props:{content:t[6],translateY:-18,$$slots:{default:[Lh]},$$scope:{ctx:t}}});let s=t[4]&&ya(t);return{c(){e=T("div"),q(i.$$.fragment),n=O(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",t[2])},m(a,c){P(a,e,c),F(i,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[ve(e,"mouseenter",function(){In(t[2]?t[21]:ne.noop)&&(t[2]?t[21]:ne.noop).apply(this,arguments)}),ve(e,"mouseleave",function(){In(t[2]?t[22]:ne.noop)&&(t[2]?t[22]:ne.noop).apply(this,arguments)}),ve(e,"wheel",Jt(t[23]))],r=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[4]?s?(s.p(t,c),c[0]&16&&d(s,1)):(s=ya(t),s.c(),d(s,1),s.m(e,null)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!l||c[0]&4)&&B(e,"vertical",t[2])},i(a){l||(d(i.$$.fragment,a),d(s),l=!0)},o(a){v(i.$$.fragment,a),v(s),l=!1},d(a){a&&S(e),H(i),s&&s.d(),r=!1,nt(o)}}}function Mh(t,e,i){var _e,Se;let n,l,r,o,{click:s}=e;const a=Ct(),c=gn(),f=a.state.volume$;D(t,f,W=>i(3,n=W));const m=a.state.muted$;D(t,m,W=>i(25,o=W));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(t,_,W=>i(24,r=W));const g=(_e=a.callbacks)==null?void 0:_e.onAudioDoesNotExistHint,w=(Se=a.callbacks)==null?void 0:Se.onAudioDisabledHint,b=a.state.isAudioAvailable$;D(t,b,W=>i(4,l=W));const C=a.state.isAudioDisabled;let k=!1,y,M,j,I,z,ae,se=1,R=!1,te=!1;function X(W){se=n,h(W)}function G(){Nc(a,n,c.controls.volumeStepWheel)}function A(){Rc(a,n,c.controls.volumeStepWheel)}function V(W){h(W)}function x(W){const $=W;h($,$===0?se:$)}function L(){R=!0}function ie(){R=!1,Le()}function Ee(){clearTimeout(y),i(5,k=!0)}function ye(){Le()}function Le(){y=window.setTimeout(()=>{R||i(5,k=!1)},c.controls.volumeBarTimeout)}function Ve(W){W.deltaY<0?G():W.deltaY>0&&A()}return t.$$set=W=>{"click"in W&&i(0,s=W.click)},t.$$.update=()=>{t.$$.dirty[0]&33554448&&i(1,I=!l||o),t.$$.dirty[0]&16777216&&i(2,z=Zc(r,exports.GridTypes.S)),t.$$.dirty[0]&6&&(z?i(6,M=""):i(6,M=Y(I?"tooltip_volume":"tooltip_volume_muted")),i(7,j=Y(I?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&10&&i(8,ae=I?0:n),t.$$.dirty[0]&16&&i(9,te=C&&!w||!l&&!g)},[s,I,z,n,l,k,M,j,ae,te,f,m,_,b,X,G,A,V,x,L,ie,Ee,ye,Ve,r,o]}class Bh extends ke{constructor(e){super(),we(this,e,Mh,Vh,be,{click:0},Ah,[-1,-1])}}function Nh(t){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Rh(t){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Oh(t){let e,i,n;function l(s,a){return s[0]?Rh:Nh}let r=l(t),o=r(t);return{c(){e=N("svg"),i=N("g"),o.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){P(s,e,a),p(e,i),o.m(i,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(i,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&S(e),o.d()}}}function Dh(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen)},[n]}class zh extends ke{constructor(e){super(),we(this,e,Dh,Oh,be,{isFullscreen:0})}}function Fh(t){let e,i;return e=new zh({props:{isFullscreen:t[0]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Hh(t){let e,i;return e=new Pi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Bo[Ae.KeyF],$$slots:{default:[Fh]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Uh(t,e,i){let{isFullscreen:n=!1}=e,{click:l=ne.noop}=e,r;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=Y(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class Kc extends ke{constructor(e){super(),we(this,e,Uh,Hh,be,{isFullscreen:0,click:1})}}function qh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class yr extends ke{constructor(e){super(),we(this,e,null,qh,be,{})}}function jh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Gc extends ke{constructor(e){super(),we(this,e,null,jh,be,{})}}function Wh(t){Ze(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ca(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function Zh(t){let e,i,n,l,r=t[1]&&Ca();var o=t[8];function s(a){return{}}return o&&(n=Nn(o,s())),{c(){r&&r.c(),e=O(),i=T("div"),n&&q(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(a,c){r&&r.m(a,c),P(a,e,c),P(a,i,c),n&&F(n,i,null),l=!0},p(a,c){if(a[1]?r||(r=Ca(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){de();const f=n;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}o?(n=Nn(o,s()),q(n.$$.fragment),d(n.$$.fragment,1),F(n,i,null)):n=null}(!l||c&2)&&B(i,"mobile",a[1])},i(a){l||(n&&d(n.$$.fragment,a),l=!0)},o(a){n&&v(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(i)),r&&r.d(a),n&&H(n)}}}function Kh(t){let e,i,n;function l(o){t[13](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Bo[Ae.KeyK],$$slots:{default:[Zh]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Gh(t,e,i){let n,l;const{fakeIsPlaying$:r}=No();D(t,r,k=>i(12,l=k));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=ne.noop}=e;const{toggle:h}=r;let _,g,w,b;function C(k){o=k,i(0,o)}return t.$$set=k=>{"ref"in k&&i(0,o=k.ref),"isMobile"in k&&i(1,s=k.isMobile),"isPlaying"in k&&i(10,a=k.isPlaying),"disabled"in k&&i(2,c=k.disabled),"className"in k&&i(3,f=k.className),"click"in k&&i(4,m=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,g=l!==null),t.$$.dirty&5152&&i(11,w=g?l:a),t.$$.dirty&2048&&i(7,b=Y(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?Gc:yr)},i(6,_=h),[o,s,c,f,m,g,_,b,n,r,a,w,l,C]}class Cr extends ke{constructor(e){super(),we(this,e,Gh,Kh,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Wh)}}function Yh(t){Ze(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Qh(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),B(e,"prev",t[0]),B(e,"mobile",t[1])},m(l,r){P(l,e,r),p(e,i)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&B(e,"prev",l[0]),r&2&&B(e,"mobile",l[1])},i:K,o:K,d(l){l&&S(e)}}}function Xh(t,e,i){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return t.$$set=r=>{"isPrev"in r&&i(0,n=r.isPrev),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Jh extends ke{constructor(e){super(),we(this,e,Xh,Qh,be,{isPrev:0,isMobile:1},Yh)}}function xh(t){let e,i;return e=new Jh({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $h(t){let e,i,n;function l(o){t[6](o)}let r={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[xh]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ev(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,l=f.isMobile),"disabled"in f&&i(2,r=f.disabled),"type"in f&&i(3,o=f.type),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class _l extends ke{constructor(e){super(),we(this,e,ev,$h,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function tv(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class iv extends ke{constructor(e){super(),we(this,e,null,tv,be,{})}}function nv(t){Ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Sa(t){let e,i,n,l,r,o,s;return{c(){e=N("path"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){P(a,e,c),P(a,i,c),P(a,n,c),P(a,l,c),P(a,r,c),P(a,o,c),P(a,s,c)},d(a){a&&(S(e),S(i),S(n),S(l),S(r),S(o),S(s))}}}function ov(t){let e,i,n,l=!t[0]&&Sa();return{c(){e=N("svg"),i=N("path"),l&&l.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),B(e,"mobile",t[1])},m(r,o){P(r,e,o),p(e,i),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=Sa(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&B(e,"mobile",r[1])},i:K,o:K,d(r){r&&S(e),l&&l.d()}}}function lv(t,e,i){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return t.$$set=s=>{"short"in s&&i(0,n=s.short),"isMobile"in s&&i(1,l=s.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,r=n?20:93),i(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class rv extends ke{constructor(e){super(),we(this,e,lv,ov,be,{short:0,isMobile:1},nv)}}function sv(t){let e,i;return e=new iv({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function av(t){let e,i;return e=new rv({props:{short:t[4],isMobile:!!t[7]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function uv(t){let e,i,n,l;const r=[av,sv],o=[];function s(a,c){return a[2]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function cv(t){let e,i,n;function l(o){t[13](o)}let r={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[uv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fv(t,e,i){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=gn(),{logoLink:m,addTimeToLogoLink:h}=f,_=Ct(),g=_.state.positionWithScrubbing$;D(t,g,I=>i(14,n=I));const w=_.ui.currentGridType$;D(t,w,I=>i(11,l=I));const b=_.ui.isMobile;D(t,b,I=>i(12,r=I));let C,k,y;const M=()=>{let I;if(k||!a)I=m;else{const z=Math.round(n);if(h&&z){const ae=new URL(a);ae.searchParams.append("t",ne.timeCodeToString(z)),I=ae.toString()}else I=a}c(),window.open(I,"_blank")};function j(I){o=I,i(0,o)}return t.$$set=I=>{"ref"in I&&i(0,o=I.ref),"logoClickable"in I&&i(1,s=I.logoClickable),"videoLogoUrl"in I&&i(9,a=I.videoLogoUrl),"click"in I&&i(10,c=I.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,y=(r||Zc(l,exports.GridTypes.L))&&k)},i(3,C=f.logoType===Co.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),i(2,k=f.logoType===Co.VK_VIDEO),[o,s,k,C,y,g,w,b,M,a,c,l,r,j]}class Yc extends ke{constructor(e){super(),we(this,e,fv,cv,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function dv(t){Ze(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function mv(t){let e,i,n,l,r,o,s,a;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),B(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),B(e,"connecting",t[2])},m(c,f){P(c,e,f),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(i,a)},p(c,f){f&2&&B(a,"hidden",!c[1]),f&4&&B(e,"connecting",c[2])},d(c){c&&S(e)}}}function pv(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j;return{c(){e=N("svg"),i=N("g"),n=N("mask"),l=N("path"),o=N("path"),s=N("path"),c=N("path"),f=N("defs"),m=N("clipPath"),h=N("path"),g=N("filter"),w=N("feFlood"),b=N("feColorMatrix"),C=N("feOffset"),k=N("feGaussianBlur"),y=N("feColorMatrix"),M=N("feBlend"),j=N("feBlend"),u(l,"fill",r=t[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",_=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(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(k,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(M,"in2","BackgroundImageFix"),u(M,"result","effect1_dropShadow_4085_178456"),u(j,"in","SourceGraphic"),u(j,"in2","effect1_dropShadow_4085_178456"),u(j,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(I,z){P(I,e,z),p(e,i),p(i,n),p(n,l),p(n,o),p(i,s),p(i,c),p(e,f),p(f,m),p(m,h),p(f,g),p(g,w),p(g,b),p(g,C),p(g,k),p(g,y),p(g,M),p(g,j)},p(I,z){z&2&&r!==(r=I[1]?"#2688EB":"#fff")&&u(l,"fill",r),z&2&&a!==(a=I[1]?"#2688EB":"#fff")&&u(s,"fill",a),z&2&&_!==(_=I[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(I){I&&S(e)}}}function hv(t){let e;function i(r,o){return r[0]?pv:mv}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function vv(t,e,i){let{isMobile:n=!1}=e,{state:l}=e,r,o;return t.$$set=s=>{"isMobile"in s&&i(0,n=s.isMobile),"state"in s&&i(3,l=s.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,o=l===$e.ChromecastState.CONNECTING),i(1,r=l===$e.ChromecastState.CONNECTED))},[n,r,o,l]}class gv extends ke{constructor(e){super(),we(this,e,vv,hv,be,{isMobile:0,state:3},dv)}}function bv(t){let e,i;return e=new gv({props:{isMobile:t[1],state:t[2]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _v(t){let e,i,n;function l(o){t[5](o)}let r={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[bv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function wv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=ne.noop}=e,s;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"state"in c&&i(2,r=c.state),"click"in c&&i(3,o=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,s=r===$e.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class Qc extends ke{constructor(e){super(),we(this,e,wv,_v,be,{ref:0,isMobile:1,state:2,click:3})}}function kv(t){let e,i;return e=new Pc({props:{isActive:t[1]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function yv(t){let e,i;return e=new Pi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===$e.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[kv]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===$e.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Cv(t,e,i){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Ct(),a=s.state.playbackState$;D(t,a,h=>i(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return t.$$set=h=>{"isMobile"in h&&i(0,l=h.isMobile),"isActiveLive"in h&&i(1,r=h.isActiveLive),"ariaLabel"in h&&i(2,o=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,m=()=>{if(!r){c();return}n===$e.PlaybackState.PAUSED&&f()})},[l,r,o,n,m,a]}class Xc extends ke{constructor(e){super(),we(this,e,Cv,yv,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Sv(t){Ze(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Pv(t){let e,i,n,l;const r=t[9].default,o=Hn(r,t,t[8],null);return{c(){e=T("div"),i=T("div"),o&&o.c(),u(i,"class","tooltip v-5ygsa2"),B(i,"active",t[0]),B(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(s,a){P(s,e,a),p(e,i),o&&o.m(i,null),t[10](i),t[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&qn(o,r,s,s[8],l?Un(r,s[8],a,null):jn(s[8]),null),(!l||a&1)&&B(i,"active",s[0]),(!l||a&2)&&B(i,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(d(o,s),l=!0)},o(s){v(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),t[10](null),t[11](null)}}}function Tv(t,e,i){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function _(b){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return b<k?k:b>f-k?f-k:b}function g(b){Ce[b?"unshift":"push"](()=>{h=b,i(4,h)})}function w(b){Ce[b?"unshift":"push"](()=>{m=b,i(3,m)})}return t.$$set=b=>{"active"in b&&i(0,o=b.active),"pointer"in b&&i(1,s=b.pointer),"translateXPx"in b&&i(6,a=b.translateXPx),"translateYPx"in b&&i(2,c=b.translateYPx),"containerWidth"in b&&i(7,f=b.containerWidth),"$$scope"in b&&i(8,r=b.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[o,s,c,m,h,n,a,f,r,l,g,w]}class Ev extends ke{constructor(e){super(),we(this,e,Tv,Pv,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Sv)}}const Jc=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Av(t){Ze(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Pa(t){let e;function i(r,o){return r[2]&&r[10].completed===!1?Lv:Iv}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Iv(t){let e=(t[10].text||"")+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&et(i,e)},d(n){n&&S(i)}}}function Lv(t){let e=Y("tooltip_episode_unfinished")+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p:K,d(n){n&&S(i)}}}function Vv(t){let e,i,n,l,r,o,s,a,c=t[10]&&Pa(t);return{c(){e=T("div"),i=T("div"),l=O(),r=T("div"),c&&c.c(),o=O(),s=T("div"),a=ze(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(e,"mobile",t[1])},m(f,m){P(f,e,m),p(e,i),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[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(i,"style",n),f[10]?c?c.p(f,m):(c=Pa(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&et(a,f[0]),m&2&&B(e,"mobile",f[1])},i:K,o:K,d(f){f&&S(e),c&&c.d()}}}const ho=150;function Mv(t,e,i){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Ct().ui.rotateAlpha;D(t,h,z=>i(11,n=z));let _,g,w,b,C,k,y,M;function j(){let z=s.frameWidth,ae=s.frameHeight;return z>ho?(ae=ae/z*ho,z=ho):ae>ho&&(z=z/ae*ho,ae=ho),{width:z,height:ae}}function I(z){let ae;s.isUV?ae=Math.floor(c*z/s.frequency):ae=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*z)));const se=Math.floor(ae/s.countPerImage),R=Math.floor(ae%s.countPerImage/s.countPerRow),te=ae%s.countPerRow;let X=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&se===Math.floor(s.countTotal/s.countPerImage)&&(X=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&X++);let G=s.countPerRow;!s.isUV&&se===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(G=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const A=_*G,V=g*X,x=-te*_,L=-R*g;return{imgSrc:s.links[se],imgWidth:A,imgHeight:V,imgOffsetX:x,imgOffsetY:L}}return t.$$set=z=>{"time"in z&&i(0,l=z.time),"isMobile"in z&&i(1,r=z.isMobile),"videoEpisodes"in z&&i(13,o=z.videoEpisodes),"previewThumbsData"in z&&i(14,s=z.previewThumbsData),"progress"in z&&i(15,a=z.progress),"duration"in z&&i(16,c=z.duration),"isInteractive"in z&&i(2,f=z.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:k,imgOffsetY:y}=I(a),w,(i(6,b),i(15,a)),(i(7,C),i(15,a)),(i(8,k),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,M=Jc(a,c,o))},i(3,{width:_,height:g}=j(),_,i(4,g)),[l,r,f,_,g,w,b,C,k,y,M,n,h,o,s,a,c]}class Bv extends ke{constructor(e){super(),we(this,e,Mv,Vv,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Av)}}function Nv(t){Ze(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Rv(t){let e,i;return{c(){e=T("span"),i=ze(t[7]),u(e,"class","time v-5lzly8")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l[0]&128&&et(i,n[7])},i:K,o:K,d(n){n&&S(e)}}}function Ov(t){let e,i;return e=new Bv({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dv(t){let e,i,n,l;const r=[Ov,Rv],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function zv(t){let e,i,n,l;const r=[t[9]];let o={$$slots:{default:[Dv]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)o=g1(o,r[s]);return e=new Ev({props:o}),n=new kr({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:Y("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:Y("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(dt.TIMELINE),hideHandel:t[2]}}),{c(){q(e.$$.fragment),i=O(),q(n.$$.fragment)},m(s,a){F(e,s,a),P(s,i,a),F(n,s,a),l=!0},p(s,a){const c=a[0]&512?v0(r,[g0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=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(dt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(d(e.$$.fragment,s),d(n.$$.fragment,s),l=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),l=!1},d(s){s&&S(i),H(e,s),H(n,s)}}}function Fv(t,e,i){let n,l,r,o,s,a,c,f,m,h,_,{showTimeline:g=!1}=e;const w=Ct(),b=gn(),C=w.state.bufferedProgress$;D(t,C,he=>i(12,h=he));const k=w.state.positionWithScrubbing$;D(t,k,he=>i(39,a=he));const y=w.state.duration$;D(t,y,he=>i(1,r=he));const M=w.state.isLive$;D(t,M,he=>i(0,l=he));const j=w.state.isActiveLive$;D(t,j,he=>i(11,m=he));const I=w.ui.isMobile;D(t,I,he=>i(10,f=he));const z=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,ae=w.actions.internal.getPreviewThumbsData(),se=w.state.interactiveEpisodes$;D(t,se,he=>i(40,c=he));const R=w.state.isInteractive,te=w.state.isInteractiveTime$;D(t,te,he=>i(2,o=he));const X=w.state.isInteractiveExpectation$;D(t,X,he=>i(38,s=he));const G=w.actions.internal.correctSeekTimeToInteractive,A=w.ui.controls.disabledControls$;D(t,A,he=>i(13,_=he));let V,x,L,ie,Ee=!1,ye="",Le=0,Ve=0,_e=0,Se;function W(he){return!G||!R?he:G(he*r)/r}function $(he){w.actions.internal.startScrubbing(W(he))}function fe(he){o||w.actions.internal.progressScrubbing(W(he))}function ue(he){w.actions.internal.completeScrubbing(W(he)),i(34,Ee=!1)}function Fe(he,re,Te){Ie(he,re,Te),i(34,Ee=!0)}function Oe(he,re,Te){Ie(he,re,Te),i(34,Ee=!0)}function Me(){i(34,Ee=!1)}function Ie(he,re,Te){i(8,_e=he),i(35,Le=re),Te&&i(36,Ve=Te),i(7,ye=ce(he))}function ce(he){const re=Fn((l?1-he:he)*r);return l?`-${re}`:re}return t.$$set=he=>{"showTimeline"in he&&i(33,g=he.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,V=R?c:z),t.$$.dirty[0]&2&&i(4,x=Fn(r)),t.$$.dirty[1]&256&&i(5,L=Fn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ie=a/r),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,Se=s||o),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ve,translateXPx:Le,translateYPx:R&&ae?-36:-16,active:Ee&&g&&!Se,pointer:!b.features.timelinePreview||!ae||l})},[l,r,o,V,x,L,ie,ye,_e,n,f,m,h,_,b,C,k,y,M,j,I,ae,se,R,te,X,A,$,fe,ue,Fe,Oe,Me,g,Ee,Le,Ve,Se,s,a,c]}let Hv=class extends ke{constructor(e){super(),we(this,e,Fv,zv,be,{showTimeline:33},Nv,[-1,-1])}};function Uv(t){let e,i;return e=new kr({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:Y("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=Y("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function qv(t,e,i){let n,{position:l=0}=e,{duration:r=0}=e;const s=Ct().ui.isMobile;D(t,s,m=>i(4,n=m));let a,c,f;return t.$$set=m=>{"position"in m&&i(6,l=m.position),"duration"in m&&i(0,r=m.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Fn(r)),t.$$.dirty&64&&i(2,c=Fn(l)),t.$$.dirty&65&&i(3,f=l/r)},[r,a,c,f,n,s,l]}class xc extends ke{constructor(e){super(),we(this,e,qv,Uv,be,{position:6,duration:0})}}function jv(t){Ze(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Wv(t){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",t[2])},m(i,n){P(i,e,n)},p(i,n){n&4&&B(e,"mobile",i[2])},i:K,o:K,d(i){i&&S(e)}}}function Zv(t){let e,i,n,l;const r=[Gv,Kv],o=[];function s(a,c){return a[0]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",t[2])},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),d(n,1),n.m(e,null)),(!l||c&4)&&B(e,"mobile",a[2])},i(a){l||(d(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function Kv(t){let e,i;return e=new Hv({props:{showTimeline:t[1]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gv(t){let e,i;return e=new xc({props:{position:t[3],duration:t[4]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yv(t){let e,i,n,l;const r=[Zv,Wv],o=[];function s(a,c){return a[1]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Qv(t,e,i){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=Ct(),h=m.state.isLive$;D(t,h,C=>i(12,n=C));const _=m.ads.duration;D(t,_,C=>i(4,o=C));const g=m.ads.position;D(t,g,C=>i(3,r=C));const w=m.ui.isMobile;D(t,w,C=>i(2,l=C));let b;return t.$$set=C=>{"isAds"in C&&i(0,s=C.isAds),"canRewindLive"in C&&i(9,a=C.canRewindLive),"isRewindableLive"in C&&i(10,c=C.isRewindableLive),"isHidden"in C&&i(11,f=C.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,b=!f&&(!n||n&&a&&c||s))},[s,b,l,r,o,h,_,g,w,a,c,f,n]}class $c extends ke{constructor(e){super(),we(this,e,Qv,Yv,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},jv)}}function Xv(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),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,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Jv extends ke{constructor(e){super(),we(this,e,null,Xv,be,{})}}function xv(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class $v extends ke{constructor(e){super(),we(this,e,null,xv,be,{})}}function e5(t){Ze(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function t5(t){let e,i,n,l;e=new Jv({});function r(a,c){if(a[4]===no.FULL)return o5;if(a[4]===no.COUNT)return n5}let o=r(t),s=o&&o(t);return{c(){q(e.$$.fragment),i=O(),s&&s.c(),n=mt()},m(a,c){F(e,a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(d(e.$$.fragment,a),l=!0)},o(a){v(e.$$.fragment,a),l=!1},d(a){a&&(S(i),S(n)),H(e,a),s&&s.d(a)}}}function i5(t){let e,i,n,l,r,o;return r=new $v({}),{c(){e=T("span"),i=ze(t[2]),n=O(),l=T("div"),q(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){P(s,e,a),p(e,i),P(s,n,a),P(s,l,a),F(r,l,null),o=!0},p(s,a){(!o||a&4)&&et(i,s[2])},i(s){o||(d(r.$$.fragment,s),o=!0)},o(s){v(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),H(r)}}}function n5(t){let e,i=t[0].length+"",n;return{c(){e=T("span"),n=ze(i),u(e,"class","text count v-1yhs2ga")},m(l,r){P(l,e,r),p(e,n)},p(l,r){r&1&&i!==(i=l[0].length+"")&&et(n,i)},d(l){l&&S(e)}}}function o5(t){let e,i;return{c(){e=T("span"),i=ze(t[2]),u(e,"class","text v-1yhs2ga")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&4&&et(i,n[2])},d(n){n&&S(e)}}}function l5(t){let e,i,n,l;const r=[i5,t5],o=[];function s(a,c){return a[6]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function r5(t){let e,i,n;function l(o){t[19](o)}let r={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[l5]},$$scope:{ctx:t}};return t[1]!==void 0&&(r.ref=t[1]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!i&&s&2&&(i=!0,a.ref=o[1],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function s5(t,e,i){var R,te,X;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=Ct(),_=(te=(R=h.callbacks)==null?void 0:R.onEpisodeChanged)!=null?te:ne.noop,g=!!((X=h.callbacks)!=null&&X.onEpisodeClicked),w=h.ui.currentGridType$;D(t,w,G=>i(18,s=G));const b=h.ui.episodes.openedByKeyboard$;D(t,b,G=>i(17,o=G));const C=h.ui.episodes.panelOpened$;D(t,C,G=>i(3,r=G));const k=h.ui.isMobile;D(t,k,G=>i(6,a=G));let y;const M=G=>{var V,x,L;if(!!((V=h.callbacks)!=null&&V.onEpisodeClicked)){const ie=vr(G);b.set(ie),C.set(!0),(L=(x=h.callbacks)==null?void 0:x.onEpisodeClicked)==null||L.call(x,ie)}};let j,I,z;const ae=async(G,A,V)=>{await Mo(),(G==null?void 0:G.getAttribute("aria-expanded"))==="false"&&A&&!V&&(b.set(!1),G.focus())};function se(G){y=G,i(1,y)}return t.$$set=G=>{"position"in G&&i(13,c=G.position),"duration"in G&&i(14,f=G.duration),"timeCodes"in G&&i(0,m=G.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const G=Jc(n,f,m);G&&(j==null?void 0:j.text)!==G.text&&(_(G),i(15,j=G))}t.$$.dirty&32768&&i(2,l=(j==null?void 0:j.text)||""),t.$$.dirty&262144&&(En(s,exports.GridTypes.XL)?i(4,I=no.FULL):En(s,exports.GridTypes.M)&&Th(s,exports.GridTypes.XL)?i(4,I=no.COUNT):i(4,I=no.SHORT)),t.$$.dirty&4&&i(5,z=`${Y("tooltip_episodes")}: ${l}`),t.$$.dirty&131082&&ae(y,o,r)},[m,y,l,r,I,z,a,g,w,b,C,k,M,c,f,j,n,o,s,se]}class ef extends ke{constructor(e){super(),we(this,e,s5,r5,be,{position:13,duration:14,timeCodes:0},e5)}}function a5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class u5 extends ke{constructor(e){super(),we(this,e,null,a5,be,{})}}function c5(t){let e,i;return e=new u5({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Y("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[c5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function d5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class tf extends ke{constructor(e){super(),we(this,e,d5,f5,be,{ref:0,hidden:1,disabled:2,click:3})}}function m5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),B(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,[r]){r&1&&B(n,"hidden",!l[0])},i:K,o:K,d(l){l&&S(e)}}}function p5(t,e,i){let{isOpened:n=!1}=e;return t.$$set=l=>{"isOpened"in l&&i(0,n=l.isOpened)},[n]}class h5 extends ke{constructor(e){super(),we(this,e,p5,m5,be,{isOpened:0})}}function v5(t){let e,i;return e=new h5({props:{isOpened:t[3]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function g5(t){let e,i,n;function l(o){t[6](o)}let r={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[v5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function b5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,l=f.hidden),"disabled"in f&&i(2,r=f.disabled),"graphIsOpened"in f&&i(3,o=f.graphIsOpened),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=Y(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class nf extends ke{constructor(e){super(),we(this,e,b5,g5,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function _5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class of extends ke{constructor(e){super(),we(this,e,null,_5,be,{})}}function w5(t){Ze(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ta(t){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){P(i,e,n)},d(i){i&&S(e)}}}function k5(t){let e,i,n,l,r=t[1]&&Ta();return n=new of({}),{c(){r&&r.c(),e=O(),i=T("div"),q(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(o,s){r&&r.m(o,s),P(o,e,s),P(o,i,s),F(n,i,null),l=!0},p(o,s){o[1]?r||(r=Ta(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&B(i,"mobile",o[1])},i(o){l||(d(n.$$.fragment,o),l=!0)},o(o){v(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(i)),r&&r.d(o),H(n)}}}function y5(t){let e,i,n;function l(o){t[5](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:Y("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Bo[Ae.KeyK],$$slots:{default:[k5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function C5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=ne.noop}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"disabled"in c&&i(2,r=c.disabled),"className"in c&&i(3,o=c.className),"click"in c&&i(4,s=c.click)},[n,l,r,o,s,a]}class Sr extends ke{constructor(e){super(),we(this,e,C5,y5,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},w5)}}function S5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class P5 extends ke{constructor(e){super(),we(this,e,null,S5,be,{})}}function T5(t){let e,i;return e=new P5({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function E5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Y("tooltip_interactive_go_back"),disabled:t[2],click:t[3],$$slots:{default:[T5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function A5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class lf extends ke{constructor(e){super(),we(this,e,A5,E5,be,{ref:0,hidden:1,disabled:2,click:3})}}function I5(t){Ze(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function L5(t){let e,i,n,l;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),Fr(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),n||(l=ve(e,"error",t[7]),n=!0)},p(r,o){o&1&&!Fr(e.src,i=r[0])&&u(e,"src",i)},d(r){r&&S(e),n=!1,l()}}}function V5(t){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){P(i,e,n)},p:K,d(i){i&&S(e)}}}function M5(t){let e;function i(r,o){return r[5]?V5:L5}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function B5(t){let e,i;return e=new Pi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[M5]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function N5(t,e,i){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ne.noop}=e;const m=()=>{i(5,r=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,o=h.iconUrl),"ariaLabel"in h&&i(1,s=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===ne.noop),t.$$.dirty&272&&i(6,l=n||a)},i(5,r=!1),[o,s,c,f,n,r,l,m,a]}class rf extends ke{constructor(e){super(),we(this,e,N5,B5,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},I5)}}class Ea{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===i){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class sf extends Ea{constructor(){super(),this.listeners||Ea.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 R5=class{constructor(){Object.defineProperty(this,"signal",{value:new sf,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(R5.prototype[Symbol.toStringTag]="AbortController",sf.prototype[Symbol.toStringTag]="AbortSignal");function af(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function O5(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=t;if(!af({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=i;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new i(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=i.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let 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((_,g)=>{f.addEventListener("abort",()=>g(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const Pr=af({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),uf=Pr?O5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,D5=Pr?uf.fetch:window.fetch;Pr?uf.Request:window.Request;const z5=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,F5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class H5{constructor(e,i){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ne.Subject,started$:new ne.Subject,paused$:new ne.Subject,resumed$:new ne.Subject,ended$:new ne.Subject,skipped$:new ne.Subject,clicked$:new ne.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};ne.addScript(F5,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState),ne.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),tt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(Xt.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ne.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Xt.PAUSED)},this.onAdPlayed=()=>{ne.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Xt.PLAYING)},this.onAdMidrollPoint=()=>{ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=On.Midroll,this.adman.start(On.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const _=this.playerState&&tt(this.playerState.vsid);_&&(h=parseInt(_,36));const g={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:i,player_height:n,puid10:z5(i,n),puid11:l?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:g,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(w),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ne.assertNonNullable(this.actions),ne.assertNonNullable(this.adsState),ne.assertNonNullable(this.playerState);const i=this.currentAdSection===On.Postroll;this.adsState.playbackState.set(Xt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ne.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=tt(this.adsState.playbackState);e===Xt.PLAYING?this.pause():e===Xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){ne.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=On.Preroll,this.adman.start(On.Preroll)}startPostroll(){ne.assertNonNullable(this.adman),ne.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=On.Postroll,this.adman.start(On.Postroll)}play(){ne.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ne.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ne.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const U5=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class q5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new cf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new j5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&i.push(r)}return i}}class cf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(i)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class j5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const i={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,m)=>{const h=o.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new cf;for(const o of l)r.isTime(o)?i.texts.push({type:"timestamp",value:r.parseTime(o)}):i.texts.push({type:"text",value:o});return i}}let Qn,zt,Yl=0,Ql=!1;const W5=(t,e,i)=>{var n;const l=t>=Yl,r=t<Yl,o=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=i.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Yl=t,r&&(Ql=!1),ne.isNonNullable(Qn)&&s(t,Qn.startTime,Qn.endTime)&&Qn.lang===e.value)return Qn;if(!ne.isNonNullable(zt)&&(c!=null&&c.length)&&!Ql){const f=c.find(({startTime:m,endTime:h})=>s(t,m,h)||l&&o(t,m,h));zt=f&&{...f,lang:e.value},Qn=void 0,!ne.isNonNullable(zt)&&c[c.length-1].endTime<t&&(Ql=!0);return}else{if(s(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))return Qn=zt,zt=void 0,Qn;(l&&a(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime)||r&&o(t,zt==null?void 0:zt.startTime,zt==null?void 0:zt.endTime))&&(zt=void 0)}},Xl={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class Z5{constructor(e,i){this.oneStat=new yt.OneStat(e,i),this.statSubscription=new ne.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const K5=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:_,disabledControls:g,isInteractive:w,interactiveRanges$:b,isInteractiveTime$:C,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M,additionalButtons:j,looped:I=!1,statistics:z})=>{var ae,se,R,te;const X={...h,configName:[...(ae=h.configName)!==null&&ae!==void 0?ae:[],"ui"],isAudioDisabled:r,live:{...(se=h.live)!==null&&se!==void 0?se:{},isLiveCatchUpMode:!!n}},G=m,A=_||new $e.Player(X);A.setLooped(I);const V=new ne.Logger,x=new H5(V,{loadTimeout:G.ads.loadTimeout,initTimeout:G.ads.initTimeout}),L=lr.getInstance(),ie=a==null?void 0:a.pictureInPictureApi,Ee=a==null?void 0:a.annotationsApi,ye=V.createComponentLog("Store");let Le,Ve,_e={};const Se=ne.getCurrentBrowser(),W=z?kt(z.oneStat.vsid$):Bn(void 0),$=Ne(Lo()),fe=(R=ie==null?void 0:ie.info.isActive$)!==null&&R!==void 0?R:new ne.ValueSubject(!1),ue=ie==null?void 0:ie.info.type,Fe=Ne(0),Oe=Ne([]),Me=ne.merge(A.events.fatalError$,A.events.managedError$).subscribe(E=>Oe.update(le=>[...le,E])),Ie=Bn(!1,E=>{const le=A.events.fatalError$.subscribe(()=>E(!0));return()=>le.unsubscribe()}),ce=async E=>{var le;const ge=Object.values(ne.InterfaceLanguage).includes(E);if(G.downloadVKLanguages&&(ge&&G.updateBuiltinLanguages||!ps(E))){let Qe;try{Qe=await ne.loadVKLangPack(E,S0,P0)}catch(ft){(le=z==null?void 0:z.oneStat)===null||le===void 0||le.logError({errorType:"VKLangPack",fatal:!1}),L==null||L.report(ft,{errorType:"VKLangPack",fatal:!1})}Qe&&(ms({language:E,pack:Qe,fallback:G.defaultLanguage}),he.set(E))}ps(E)&&he.set(E)},he=Ne(t);ce(t);const re=(E,le)=>{const ge=tt(he);return bc(ge,E,le,G.defaultLanguage)},Te=Ne(De.Thumb),pe=(()=>{const E=Ri([Ie,Te],([le,ge])=>le?De.Crashed:ge);return{...E,is:le=>tt(E)===le}})(),Pe=(()=>{const E=Ne(new Set(g));return{...E,add:le=>{E.update(ge=>new Set([...ge].concat(le)))},remove:le=>{E.update(ge=>{const He=[...ge];return new Set(Array.isArray(le)?He.filter(Qe=>!le.includes(Qe)):He.filter(Qe=>Qe!==le))})},includes:le=>{const ge=tt(E);return Array.isArray(le)?le.every(He=>ge.has(He)):ge.has(le)}}})();ye({message:"create store"});const Ke=E=>{ye({message:`init video, config: ${JSON.stringify(E)}`}),w?E.container.append(A.experimental.element$.getValue()):A.initVideo(E),E.subtitles&&A.setExternalTextTracks(E.subtitles),Le=E},Re=new ne.Subject,xe=E=>Re.next(E),Xe=new ne.Subject,ot=new ne.Subject,at=new ne.Subject,At={actionRewind$:Xe,actionSeek$:ot,inPiP$:fe,inFullscreen$:new ne.Observable(E=>$.subscribe(le=>E.next(le))),actionSetSubtitle$:at,nextMovie$:Re};if(z){const{oneStat:E,statSubscription:le}=z;le.add(E.attachTo(A)),le.add(E.attachToUi(At)),le.add(E.attachToAds(x.events)),E.authorize(l).catch(ge=>{ye({message:`onestat auth error ${String(ge)}`})})}if(L){const E=new ne.Subscription,le=(ge,He)=>E.add(ge.subscribe(He));if(le(A.events.managedError$,ge=>{L.logIError(ge)}),le(A.events.fatalError$,ge=>{L.logIError(ge,!0)}),z){const{oneStat:ge}=z;le(ge.experimental.error$,He=>{L.logIError(He)})}L.sentrySubscription.add(E)}const pt=()=>{ne.isIOS()&&Ve&&w4(Ve)},xt=new ne.Subscription().add(A.experimental.element$.subscribe(E=>{E&&(Ve=E,E.classList.add("player-media"),fl(ie)&&(ie.updateVideoElement(),ie.registryEventHandlers()),w&&E.setAttribute("pip","false"))})).add(A.events.ended$.subscribe(()=>{var E;pt(),(E=s==null?void 0:s.onEnded)===null||E===void 0||E.call(s)})).add(A.events.started$.subscribe(async()=>{var E,le;fl(ie)&&await(ie==null?void 0:ie.revealPictureInPicture());const ge=A.info.muted$.getValue();(E=s==null?void 0:s.onStarted)===null||E===void 0||E.call(s),(le=_e.onStarted)===null||le===void 0||le.call(_e,ge)})).add(A.events.willSeek$.subscribe(({from:E,to:le})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,E,le)})).add(A.info.position$.subscribe(E=>{var le;const ge=A.info.duration$.getValue();(le=s==null?void 0:s.onTimeupdate)===null||le===void 0||le.call(s,ge,E),x.setPosition(E,ge)})).add(A.events.fatalError$.subscribe(()=>{var E;(E=s==null?void 0:s.onCrashed)===null||E===void 0||E.call(s)})).add(A.info.is3DVideo$.subscribe(E=>{bt.ui.is3DVideo.set(E)})).add(A.info.isEnded$.subscribe(E=>{w&&(E?(C!=null&&C.getValue()&&Pe.add(E1),Pe.add(dt.PLAY_BUTTON)):Pe.remove(dt.PLAY_BUTTON))})).add(A.info.liveTime$.subscribe(E=>{var le;(le=s==null?void 0:s.onLiveTime)===null||le===void 0||le.call(s,E)})).add(A.info.isStalled$.subscribe(E=>{var le;(le=s==null?void 0:s.onStalledChanged)===null||le===void 0||le.call(s,E)})),gt=new ne.Subscription,Mt=()=>{gt.add(A.events.log$.subscribe(E=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${E.component}`,E.message)})).add(V.log$.subscribe(E=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${E.component}.`,E.message)}))},oe=()=>{gt.unsubscribe()},_t=(E,le)=>{A.startCameraManualRotation(E,le)},rt=(E=!1)=>{A.stopCameraManualRotation(E)},Rt=(E,le,ge)=>{A.moveCameraFocusPX(E,le,ge)},ut=()=>{A.holdCamera()},It=()=>{A.releaseCamera()},Je=Bn(A.info.position$.getValue(),E=>{let le,ge;const He=()=>{const Qe=A.info.playbackState$.getValue(),ft=A.info.isLive$.getValue(),Vt=A.info.duration$.getValue(),wt=A.info.position$.getValue();if([$e.PlaybackState.PLAYING,$e.PlaybackState.PAUSED].includes(Qe)){const Ni=ft?wt-Vt:A.getExactTime();Ni!==ge&&E(Ni),ge=Ni}le=requestAnimationFrame(He)};return He(),()=>cancelAnimationFrame(le)}),Ue=kt(fe),St=kt(A.info.playbackState$),Ji=kt(A.info.currentBuffer$),fi=kt(A.info.isEnded$),di=kt(A.info.isLive$),nn=G.features.playbackRate?kt(A.info.canChangePlaybackSpeed$):Bn(!1),$t=kt(A.info.liveBufferTime$),Kt=kt(A.info.volume$),ei=kt(A.info.muted$),Ot=V1(A.info.autoQualityLimits$.pipe(ne.map(({max:E})=>E!==void 0)),((te=A.info.autoQualityLimits$.getValue())===null||te===void 0?void 0:te.max)!==void 0),ti=kt(A.info.autoQualityLimitingAvailable$),Oi=kt(A.info.availableQualities$),ii=kt(A.info.availableQualitiesFps$),Ti=kt(A.info.chromecastState$),mi=kt(A.info.chromecastDeviceName$),ni=kt(A.info.currentFormat$),Di=kt(A.info.throughputEstimation$),Ei=kt(A.info.videoBitrate$),zi=kt(A.info.intrinsicVideoSize$),oi=kt(A.info.duration$),Fi=kt(A.info.isAudioAvailable$);let Pt=null;const Tt=A.info.isBuffering$,pi=Bn(Tt.getValue(),E=>{const le=Tt.subscribe(ge=>{ge&&Pt===null?Pt=window.setTimeout(()=>{E(Tt.getValue()),Pt=null},G.loaderDelay):E(ge)});return()=>{le.unsubscribe(),Pt&&clearTimeout(Pt)}}),Ai=()=>{Pt&&clearTimeout(Pt),Pt=null},lt=Ri([oi,di],([E,le])=>le?-E:E),ct=Ri([St],([E])=>E===$e.PlaybackState.PLAYING),li=kt(A.info.atLiveEdge$),Bt=kt(A.info.atLiveDurationEdge$),ri=kt(A.info.position$),hi=Ri([ri,oi],([E,le])=>isFinite(E)&&isFinite(le)&&!!le),vi=Ri([Ti],([E])=>E===$e.ChromecastState.CONNECTED),Dt=Ne(void 0),Wi=kt(A.info.isAutoQualityEnabled$,E=>E&&Dt.set(void 0)),gi=kt(A.info.currentQuality$,()=>Dt.set(void 0)),Gt=Ri([Dt,gi],([E,le])=>E!=null?E:le),Ii=Ri([Oi,ii,Wi,Gt,ni],([E,le,ge,He,Qe])=>{const ft=[];Qe!==$e.VideoFormat.MPEG&&ft.push({value:wo.AUTO,displayValue:re("auto_quality_option"),selected:ge});const Vt=E.filter(wt=>wt!==ne.VideoQuality.INVARIANT);for(const wt of Vt){const Ni=le[wt],Yn=wt===ne.VideoQuality.INVARIANT?re("auto_quality_option"):wt;ft.push({value:wt,displayValue:`${Yn}${Ni?U5(Ni):""}`,selected:ge?!1:wt===He})}return ft}),on=kt(A.info.currentPlaybackRate$),bi=Ri([on,li,Bt],([E,le,ge])=>{const He=ge||w?1:G.controls.playbackRateMin,Qe=le?1:G.controls.playbackRateMax,ft=G.controls.playbackRateStep,Vt=[];for(let wt=He;wt<=Qe;wt+=ft)Vt.push({value:wt,displayValue:wt===1?re("playback_rate_1"):re("playback_rate",{multiplier:wt.toString(10)}),selected:E===wt});return Vt}),Hi=G.features.subtitles?kt(A.info.availableTextTracks$):Bn([]),Nt=Ri([Hi],([E],le)=>{const ge=[],He=[];for(const Qe of E)Qe.url&&ge.push(D5(Qe.url));Promise.allSettled(ge).then(Qe=>{for(const[ft,Vt]of Qe.entries())Vt.status==="fulfilled"&&Vt.value.text().then(wt=>{const Ni=new q5,Yn=E[ft].language,qo=!!E[ft].isAuto,ao=Ni.parse(wt);Yn&&ao&&He.push({lang:Yn,subtitles:ao,isAuto:qo}),ft===Qe.length-1&&le(He)})})}),Ht={displayValue:re("subtitles_off"),value:"off"},_i=Ne({...Ht}),Li=Ri([Nt,_i,Nt],([E,le])=>{if((E==null?void 0:E.length)>0){const ge=[{...Ht,selected:(le==null?void 0:le.value)===Ht.value}];for(const{lang:He,isAuto:Qe}of E)Xl[He]&&ge.push({displayValue:Qe?re("subtitles_auto",{language:Xl[He]}):Xl[He],value:He,selected:(le==null?void 0:le.value)===He,isAuto:Qe});return ge}else return[]}),Vi=Ri([Je,_i,Nt],([E,le,ge])=>{if(le&&le.value!==Ht.value)return W5(E,le,ge)}),si=Ri([Vi],([E])=>E!=null&&E.texts?E.texts:[]),Zi=Ne(!0),wi=Ri([Ji,lt,ri,$t],([E,le,ge,He])=>{var Qe;const ft=(Qe=E==null?void 0:E.end)!==null&&Qe!==void 0?Qe:0;if(!He)return ft/le;const wt=-ge+He-le;return(ft-wt)/le}),ki=kt(A.info.availableSources$),Ui=Ri([ki],([E])=>Object.keys((E==null?void 0:E[$e.VideoFormat.MPEG])||{}).length>0),yi=()=>{var E,le,ge;const He=Object.keys(((le=(E=A.info.availableSources$)===null||E===void 0?void 0:E.getValue())===null||le===void 0?void 0:le[$e.VideoFormat.MPEG])||{}),Qe=ne.getHighestQuality(He)||ne.VideoQuality.Q_144P;return(ge=Le.sources[$e.VideoFormat.MPEG])===null||ge===void 0?void 0:ge[Qe]},Ki=()=>{var E;const le=yi();le?N0(le,((E=Le==null?void 0:Le.meta)===null||E===void 0?void 0:E.title)||"video"):ye({message:"There is no URL for download video"})},jt=()=>{ye({message:"toggle muted"});const E=A.info.muted$.getValue(),He=!(A.info.volume$.getValue()===0||E);ai(He)},Yt=()=>{bt.ui.settingsMenuVisible.set(!1)},Mi=E=>{bt.ui.settingsMenuOpenedByKeyboard.set(!!E),bt.ui.settingsMenuVisible.set(!0)},Bi=E=>{tt(bt.ui.settingsMenuVisible)?Yt():Mi(E)},Wt=(E,le=E,ge=!1)=>{var He,Qe,ft;const Vt=!ge,wt=A.info.muted$.getValue();ye({message:`set volume, volume: ${E}, preferredVolume: ${le}, internalCall: ${Vt}`}),A.setVolume(E),x.setVolume(E),Vt&&((He=s==null?void 0:s.onVolumeChange)===null||He===void 0||He.call(s,E)),qr(le),wt?(A.setMuted(!1),Vt&&((Qe=s==null?void 0:s.onUnmute)===null||Qe===void 0||Qe.call(s)),Al(!1)):!wt&&E===0&&(A.setMuted(!0),Vt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),Al(!0))},ai=(E,le=!1)=>{var ge,He,Qe,ft;const Vt=!le,wt=A.info.volume$.getValue();if(ye({message:`set muted, currentVolume: ${wt}, mute: ${E}, internalCall: ${Vt}`}),A.setMuted(E),x.setVolume(E?0:wt),Al(E),Vt&&(E?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(He=s==null?void 0:s.onUnmute)===null||He===void 0||He.call(s)),wt===0){let Ni=(Qe=O1())!==null&&Qe!==void 0?Qe:G.volumeDefault;Ni===0&&(Ni=G.volumeMinRestore,qr(Ni)),A.setVolume(Ni),x.setVolume(Ni),Vt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Ni))}},ui=()=>{A.prepare()},qe=()=>{var E,le;if(ne.assertNonNullable(bt),!tt(bt.ui.controls.disabledControls$).has(dt.PLAY_BUTTON)){if(ye({message:"toggle play"}),tt(bt.playerPhase)===De.Ads){x.togglePlay();return}if(A.info.playbackState$.getValue()!==$e.PlaybackState.PLAYING){if(A.info.isEnded$.getValue()){if(ye({message:"toggle play, video ended, seek to 0"}),Xe.next(),ot.next(yt.SeekAction.REWIND),w){k==null||k();return}A.seekTime(0)}ye({message:"toggle play, call player.play"}),A.play(),(E=s==null?void 0:s.onPlay)===null||E===void 0||E.call(s)}else ye({message:"toggle play, call player.pause"}),A.pause(),(le=s==null?void 0:s.onPause)===null||le===void 0||le.call(s)}},Gi=E=>{ye({message:`set quality, quality: ${E}`}),A.setAutoQuality(E===wo.AUTO),E!==wo.AUTO?(R0(e,E),Dt.set(E),A.setQuality(E)):D1()},ci=E=>{ye({message:`set trafficSavingEnabled, value: ${E}`}),A.setAutoQualityLimits({max:E?G.trafficSavingLimit:void 0}),z0(E)},qi=E=>{A.setPlaybackRate(E)},Be=()=>{const E=tt(bi),le=E.findIndex(({selected:He})=>He);if(le===E.length-1)return;const ge=E[le+1];qi(ge.value)},ln=()=>{const E=tt(bi),le=E.findIndex(({selected:He})=>He);if(le===0)return;const ge=E[le-1];qi(ge.value)},rn=E=>{E&&E.value!==Ht.value&&at.next(E.isAuto?E.value+"_auto":E.value),_i.set(E)},Yi=()=>{const E=tt(Li),le=tt(_i),ge=tt(he);if((le==null?void 0:le.value)===Ht.value){const He=E.filter(Qe=>Qe.value!==Ht.value).find(Qe=>Qe.value===ge)||E[1];rn(He!=null?He:{...Ht})}else rn({...Ht,selected:!1})},Lt=(E,le,ge=!0)=>{if(ye({message:`seek to time, time: ${E}`}),ot.next(le),A.info.isLive$.getValue()){const He=A.info.duration$.getValue(),Qe=Math.min(0,He+E);A.seekTime(Qe,ge)}else{if(C!=null&&C.getValue())return;A.seekTime(Mn(E),ge)}},sn=E=>{ye({message:`seek to episode start time: ${E}`}),Lt(E,yt.SeekAction.EPISODE,!0)},xi=(E,le)=>{ye({message:`seek to percent, percent: ${E}`});const ge=Math.round(tt(lt)*E);Lt(ge,le,!1)},ji=E=>{ye({message:`seek external, time: ${E}`}),ot.next(yt.SeekAction.UNKNOWN),A.seekTime(A.info.isLive$.getValue()?-E:E)},Ci=E=>{var le,ge;ye({message:`set auto quality limitation. Max: ${(le=E.max)!==null&&le!==void 0?le:"none"}. Min: ${(ge=E.min)!==null&&ge!==void 0?ge:"none"}`}),A.setAutoQualityLimits(E)},ee=E=>{ye({message:`seek external to episode start time: ${E}`}),Lt(E,yt.SeekAction.EPISODE,!0)},it=E=>{ye({message:`set playback rate to: ${E}`}),A.setPlaybackRate(E)},Ut=Ne(void 0),Si=Ne(!1),ht=E=>{ye({message:`start scrubbing, progress: ${E}`}),Si.set(!0),cn(E)},cn=E=>{Ut.set(E)};let bn,fn;const _n=()=>{Ut.set(void 0),Si.set(!1)},an=()=>{clearTimeout(fn),clearTimeout(bn),bn=window.setTimeout(()=>{_n()},500),Ve==null||Ve.removeEventListener("seeked",an)},$i=E=>{ye({message:`complete scrubbing, progress: ${E}`}),xi(E,yt.SeekAction.SLIDER),tt(bt.ui.isMobile)&&tt(bt.state.currentFormat$)===$e.VideoFormat.HLS?(Ve==null||Ve.addEventListener("seeked",an),fn=window.setTimeout(()=>{an()},300)):_n()},wn=Ri([Je,lt,Ut],([E,le,ge],He)=>{He(ne.isNonNullable(ge)?ge*le:E)}),kn=Ne({width:0,height:0}),yn=Ri([kn],([{width:E}],le)=>{const ge=Eh(E);le(ge)}),dn=Ne(!1),Cn=Ri([yn,dn],([E,le])=>le?j.filter(ge=>!ge.hideOnMobile):j.filter(ge=>{var He;return!(!((He=ge.hideOnDesktopGridTypes)===null||He===void 0)&&He.includes(E))})),J=Ri([dn,Ie],([E,le],ge)=>{ge(E&&le)}),vt=()=>{ot.next(yt.SeekAction.LIVE),ye({message:"switch to active live"}),A.seekTime(0),A.info.playbackState$.getValue()!==$e.PlaybackState.PLAYING&&bt.actions.internal.togglePlay()},mn=()=>x.skip(),Qi=(E=!0)=>{ne.assertNonNullable(bt),ye({message:`switch from ads to video, callPlay: ${E}`}),Te.set(De.Video),E&&A.play()},pn=()=>{ne.assertNonNullable(bt),ye({message:"switch from video to ads"}),bt.actions.internal.pause(),pt(),Te.set(De.Ads)},un=E=>{ne.assertNonNullable(bt);const le=E?De.WaitingLive:De.Thumb;Te.set(le)},Zn=E=>{ne.assertNonNullable(bt);const le=E?De.WaitingRecord:De.Thumb;Te.set(le)},Kn=()=>(ne.assertNonNullable(bt),M0(A,Le,bt)),Gn=()=>(ne.assertNonNullable(bt),B0(A,Le,bt)),Vn=()=>Ve,Rn=()=>{ye({message:"toggle chromecast"}),A.toggleChromecast()},Sn=E=>{var le;ne.assertNonNullable(bt);const ge=!E;if(tt(bt.playerPhase)===De.Ads){ye({message:`pause ads, internalCall: ${ge}`}),x.pause();return}ye({message:`pause video, internalCall: ${ge}`}),ge&&((le=s==null?void 0:s.onPause)===null||le===void 0||le.call(s)),A.pause()},$n=E=>{var le;ne.assertNonNullable(bt);const ge=!E;if(tt(bt.playerPhase)===De.Ads){ye({message:`play ads, internalCall: ${ge}`}),x.play();return}ye({message:`play video, internalCall: ${ge}`}),ge&&((le=s==null?void 0:s.onPlay)===null||le===void 0||le.call(s)),A.play()},Xi=(E,le)=>{ne.assertNonNullable(bt),ye({message:`first start, show ads: ${E}, internalCall: ${!le}`}),E?Te.set(De.Ads):(Te.set(De.Video),le?A.play():bt.actions.internal.togglePlay())},Pn=()=>(ye({message:"getting time codes"}),c),Q=()=>{const E=Pn();if(!E||[0,1].includes(E.length))return;const le=A.info.position$.getValue();return E.find(ge=>ge.time>le)},eo=E=>{let le=E;le||(le=Q()),le&&(ye({message:"seek to next episode"}),Lt(le.time,yt.SeekAction.EPISODE,!0))},ro=()=>{const E=Pn();if(!E||[0,1].includes(E.length))return;const le=A.info.position$.getValue(),ge=E.findIndex(Qe=>Qe.time>le),He=ge===-1?E.length-2:ge-2;if(!(He<0))return E[He]},To=E=>{let le=E;le||(le=ro()),le&&(ye({message:"seek to prev episode"}),Lt(le.time,yt.SeekAction.EPISODE,!0))},so=()=>(ye({message:"getting preview thumbs data"}),f),Z=async()=>{ie!=null&&ie.isActive()?await(ie==null?void 0:ie.remove()):await(ie==null?void 0:ie.request())},Et=(E=-90)=>{Fe.update(le=>le+E)},en=Ne([]);b==null||b.subscribe(E=>{const le=[];for(let ge=0;ge<E.length;ge++){const{range:[He,Qe],subjects:ft}=E[ge];ge===0&&He!==0&&le.push({time:0,text:"",interactive:!1,completed:!0}),le.push({time:He/1e3,text:"",interactive:!0,completed:!ft.length}),Qe!==1/0&&le.push({time:Qe/1e3,text:"",interactive:!1,completed:!0})}en.set(le)});const hn=Ne(!1);C==null||C.subscribe(E=>{E&&tt(Si)&&_n()});const Mn=E=>{if(!w)return E;const le=tt(en),ge=tt(lt),Qe=tt(ri)/ge,ft=le.find(Vt=>Vt.interactive&&!Vt.completed&&Vt.time>Qe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(E,ft.time-.05):E},to=()=>{bt.ui.episodes.panelOpened$.set(!1)},Uo=()=>{clearTimeout(fn),clearTimeout(bn),xt.unsubscribe(),gt.unsubscribe(),A.destroy(),x.destroy(),z==null||z.destroy(),L==null||L.destroy(),Me.unsubscribe()},bt={interfaceLanguage$:he,initVideo:Ke,videoId:e,isClip:i,playerPhase:pe,vsid:W,state:{positionExact$:Je,positionWithScrubbing$:wn,duration$:lt,playbackState$:St,isPlaying$:ct,isLoaderVisible:pi,bufferedProgress$:wi,isLive$:di,canChangePlaybackSpeed$:nn,isActiveLive$:li,isOldestAvailableLive$:Bt,isRewindableLive$:hi,isEnded$:fi,muted$:ei,volume$:Kt,trafficSavingEnabled$:Ot,autoQualityLimitingAvailable$:ti,currentQuality$:Gt,isAutoQualityEnabled$:Wi,availableQualities$:Ii,currentPlaybackRate$:on,availablePlaybackRates$:bi,currentSubtitle$:_i,availableSubtitlesList$:Li,currentSubtitleCaptions$:si,isAutoSubtitleCaptionVisible$:Zi,chromecastState$:Ti,chromecastDeviceName$:mi,chromecastConnected$:vi,currentFormat$:ni,throughputEstimation$:Di,videoBitrate$:Ei,videoSize$:zi,errorLog$:Oe,crashed$:Ie,isAudioAvailable$:Fi,isAudioDisabled:!!r,canDownload:G.features.download&&!!o,availableSources$:ki,hasMpegSources$:Ui,isInteractive:w,showInteractiveGraph:G.features.interactiveGraph,showSeekToInteractive:G.features.seekToInteractive,showPlayPrevChapter:G.features.interactivePlayPrevChapter,interactiveEpisodes$:en,isInteractiveTime$:C?kt(C):Ne(!1),graphIsOpened$:Ne(!1),isInteractiveExpectation$:hn,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:M},ui:{controlsVisible:Ne(!1),touched:Ne(!1),controls:{prevButton:Ne(void 0),playButton:Ne(void 0),replayButton:Ne(void 0),nextButton:Ne(void 0),playPrevChapterButton:Ne(void 0),seekToInteractiveButton:Ne(void 0),interactiveGraphButton:Ne(void 0),liveButton:Ne(void 0),time:Ne(void 0),episodes:Ne(void 0),volume:Ne(void 0),subtitles:Ne(void 0),settings:Ne(void 0),context:Ne(void 0),chromecast:Ne(void 0),pip:Ne(void 0),fullscreen:Ne(void 0),vkLogo:Ne(void 0),interactiveTimeIcon:Ne(void 0),additionalButtons:j.length?j.reduce(E=>[...E,Ne(void 0)],[]):[],disabledControls$:Pe},modals:{hotKeyMap:{show:Ne(!1),data:Ne({title:"",closeBtnText:"",groups:[]})}},isFullscreen:$,rotateAlpha:Fe,isAutoplay:Ne(!1),contextMenuVisible:Ne(!1),debugPanelVisible:Ne(!1),episodes:{panelOpened$:Ne(!1),openedByKeyboard$:Ne(!1)},contextMenu:{btnRef$:Ne(void 0),openedByKeyboard$:Ne(!1),showContextMenuBtn$:Ne(!1)},playerSize:kn,isMobile:dn,mobileNotReportControlHidden$:J,mobileUnmuteButtonExpanded:Ne(!1),mobileUnmuteButtonVisible:Ne(!1),icon3DVideoVisible:Ne(!1),settingsMenuVisible:Ne(!1),settingsMenuOpenedByKeyboard:Ne(!1),scrubbingInProgress:Si,is3DVideo:Ne(!1),isPictureInPictureActive$:Ue,pictureInPictureType$:Bn(ue),clientInfo$:Bn(Se),currentGridType$:yn,additionalButtons$:Cn,interactiveHideMobileControls:Ne(!1),overlayContainer$:Ne(void 0),startedByKeyboard$:Ne(!1)},ads:{position:Ne(0),duration:Ne(0),playbackState:Ne(Xt.INACTIVE),canSkip:Ne(!1),secondsToWatchBeforeSkip:Ne(0),postrollPassed:Ne(!1)},webApi:{pictureInPictureApi:ie,annotationsApi:Ee},actions:{internal:{preload:ui,firstStart:E=>Xi(E,!1),pause:()=>Sn(!1),togglePlay:qe,toggleMuted:jt,toggleSettingsMenu:Bi,openSettingsMenu:Mi,closeSettingsMenu:Yt,setVolume:Wt,setQuality:Gi,setTrafficSavingEnabled:E=>ci(E),setPlaybackRate:qi,incrementPlaybackRate:Be,decrementPlaybackRate:ln,setSubtitle:rn,toggleSubtitle:Yi,togglePictureInPicture:Z,startScrubbing:ht,progressScrubbing:cn,completeScrubbing:$i,toggleChromecast:Rn,switchToActiveLive:vt,switchFromAdsToVideo:Qi,switchFromVideoToAds:pn,skipAd:mn,setWaitingLive:un,setWaitingRecord:Zn,getDebugTextData:Kn,getDebugPanelData:Gn,getVideoElement:Vn,seekTime:(E,le,ge)=>Lt(E,le,ge),clearDelayedBufferingCheckTimeout:Ai,seekEpisodeStartTime:sn,seekToPercent:xi,getNextEpisode:Q,seekToNextEpisode:eo,getPrevEpisode:ro,seekToPrevEpisode:To,startLogging:Mt,stopLogging:oe,startCameraManualRotation:_t,stopCameraManualRotation:rt,moveCameraFocusPX:Rt,holdCamera:ut,releaseCamera:It,getVideoEpisodes:Pn,getPreviewThumbsData:so,downloadVideo:Ki,addLanguage:ms,setLanguage:ce,nextMovie:xe,videoRotate:Et,correctSeekTimeToInteractive:Mn,replayInteractive:k},external:{firstStart:E=>Xi(E,!0),play:()=>$n(!0),pause:()=>Sn(!0),seekTime:E=>ji(E),seekEpisodeStartTime:E=>ee(E),setPlaybackRate:E=>it(E),setAutoQualityLimits:E=>Ci(E),setMuted:E=>ai(E,!0),setVolume:E=>Wt(E,E,!0),returnFocusToEpisodes:to}},callbacks:s,setUiCallbacks:E=>{_e={...E}},getAdmanWrapper:()=>x,getLogger:()=>V,destroy:Uo};return bt},ff=(t,e,i,n)=>{var l;if(!t)return;const r=["interactiveTimeIcon"],o=t.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=i[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},df=async(t,e,i)=>{await Mo(),e&&i&&(i.focus(),t.set(!1))};function G5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Y5 extends ke{constructor(e){super(),we(this,e,null,G5,be,{})}}function Q5(t){let e,i;return e=new Y5({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function X5(t){let e,i,n;function l(o){t[8](o)}let r={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[Q5]},$$scope:{ctx:t}};return t[2]!==void 0&&(r.ref=t[2]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!i&&s&4&&(i=!0,a.ref=o[2],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function J5(t,e,i){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Ct(),s=o.ui.contextMenuVisible;D(t,s,b=>i(3,n=b));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,m=b=>{const C=vr(b);a.set(C),s.set(!n)};let h;const _=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(b){h=b,i(2,h)}return t.$$set=b=>{"disabled"in b&&i(0,l=b.disabled),"ariaLabel"in b&&i(1,r=b.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,m,_,g,w]}class x5 extends ke{constructor(e){super(),we(this,e,J5,X5,be,{disabled:0,ariaLabel:1})}}function $5(t){Ze(t,"v-1syq7kl",".interactive-episode-icon-animated.v-1syq7kl{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-1syq7kl{opacity:0;visibility:hidden}.fullscreen.v-1syq7kl:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-1syq7kl{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-1syq7kl{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-1syq7kl{top:40px;right:16px}}@keyframes v-1syq7kl-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-1syq7kl:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-1syq7kl-pulse infinite;transition:0.3ms}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-1syq7kl{position:absolute;top:0;width:100%;height:100%}.hidden.v-1syq7kl{display:none}")}function eg(t){let e,i,n,l,r,o,s;return i=new Wc({props:{completed:!0}}),{c(){e=T("div"),q(i.$$.fragment),n=O(),l=T("div"),u(l,"class","ref-block v-1syq7kl"),B(l,"hidden",t[2]),u(e,"class","interactive-episode-icon-animated v-1syq7kl"),B(e,"mobile",t[1]),B(e,"fullscreen",t[3]),B(e,"invisible",t[2])},m(a,c){P(a,e,c),F(i,e,null),p(e,n),p(e,l),t[14](l),r=!0,o||(s=ve(e,"click",t[9]),o=!0)},p(a,[c]){(!r||c&4)&&B(l,"hidden",a[2]),(!r||c&2)&&B(e,"mobile",a[1]),(!r||c&8)&&B(e,"fullscreen",a[3]),(!r||c&4)&&B(e,"invisible",a[2])},i(a){r||(d(i.$$.fragment,a),r=!0)},o(a){v(i.$$.fragment,a),r=!1},d(a){a&&S(e),H(i),t[14](null),o=!1,s()}}}function tg(t,e,i){var M;let n,l,r,o,s,{ref:a=void 0}=e;const c=Ct(),f=c.ui.isMobile;D(t,f,j=>i(1,o=j));const m=c.ui.isFullscreen;D(t,m,j=>i(3,s=j));const h=c.state.isInteractiveTime$;D(t,h,j=>i(12,l=j));const _=c.ui.controlsVisible;D(t,_,j=>i(13,r=j));const g=(M=c.callbacks)==null?void 0:M.onInteractiveTimeIconClick,{interactiveControlsOpacity$:w}=No();D(t,w,j=>i(11,n=j));let b,C;const k=()=>{C||g==null||g()};function y(j){Ce[j?"unshift":"push"](()=>{a=j,i(0,a)})}return t.$$set=j=>{"ref"in j&&i(0,a=j.ref)},t.$$.update=()=>{t.$$.dirty&8194&&i(10,b=!o&&r),t.$$.dirty&7168&&i(2,C=!l||!!n||b)},[a,o,C,s,f,m,h,_,w,k,b,n,l,r,y]}class mf extends ke{constructor(e){super(),we(this,e,tg,eg,be,{ref:0},$5)}}const{Boolean:ig}=dl;function ng(t){Ze(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Aa(t,e,i){const n=t.slice();return n[211]=e[i].iconUrl,n[212]=e[i].ariaLabel,n[213]=e[i].testId,n[214]=e[i].onClick,n[215]=e[i].tooltip,n}function Ia(t){let e,i,n;function l(o){t[174](o)}let r={disabled:!t[9],tooltipContent:Y("tooltip_previous"),$$slots:{default:[og]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(r.ref=t[23].prevButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].prevButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function og(t){let e,i;return e=new _l({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function La(t){let e,i,n;function l(o){t[175](o)}let r={disabled:t[75],tooltipContent:Y("tooltip_restart"),$$slots:{default:[lg]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(r.ref=t[23].replayButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&8192&&(a.disabled=o[75]),s[2]&8192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function lg(t){let e,i;return e=new Sr({props:{click:t[129],disabled:t[75]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&8192&&(r.disabled=n[75]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Va(t){let e,i,n;function l(o){t[177](o)}let r={tooltipContent:t[48],disabled:t[76],$$slots:{default:[rg]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(r.ref=t[23].playButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&16384&&(a.disabled=o[76]),s[0]&67108864|s[1]&16|s[2]&16384|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function rg(t){let e,i,n;function l(o){t[176](o)}let r={isMobile:!1,isPlaying:t[35],click:t[86],disabled:t[76]};return t[26]!==void 0&&(r.ref=t[26]),e=new Cr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.isPlaying=o[35]),s[2]&16384&&(a.disabled=o[76]),!i&&s[0]&67108864&&(i=!0,a.ref=o[26],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ma(t){let e,i,n;function l(o){t[178](o)}let r={disabled:!t[8],tooltipContent:Y("tooltip_next"),$$slots:{default:[sg]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(r.ref=t[23].nextButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].nextButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function sg(t){let e,i;return e=new _l({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ag(t){let e,i,n,l,r=t[123]&&ug(t),o=t[122]&&fg(t),s=t[121]&&mg(t);return{c(){r&&r.c(),e=O(),o&&o.c(),i=O(),s&&s.c(),n=mt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[123]&&r.p(a,c),a[122]&&o.p(a,c),a[121]&&s.p(a,c)},i(a){l||(d(r),d(o),d(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function ug(t){let e,i,n;function l(o){t[179](o)}let r={disabled:t[74],tooltipContent:Y("tooltip_interactive_go_back"),disabledTooltipContent:Y(t[125]),$$slots:{default:[cg]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(r.ref=t[23].playPrevChapterButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[0]&131072|s[2]&4096|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playPrevChapterButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function cg(t){let e,i;return e=new lf({props:{disabled:t[74],click:t[17]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fg(t){let e,i,n;function l(o){t[180](o)}let r={disabled:t[77],tooltipContent:Y("tooltip_interactive_seek"),disabledTooltipContent:Y(t[79]),$$slots:{default:[dg]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(r.ref=t[23].seekToInteractiveButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&32768&&(a.disabled=o[77]),s[2]&131072&&(a.disabledTooltipContent=Y(o[79])),s[0]&32768|s[2]&32768|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].seekToInteractiveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function dg(t){let e,i;return e=new tf({props:{disabled:t[77],click:t[15]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&32768&&(r.disabled=n[77]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function mg(t){let e,i,n;function l(o){t[181](o)}let r={tooltipContent:t[49],disabled:t[78],$$slots:{default:[pg]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(r.ref=t[23].interactiveGraphButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.tooltipContent=o[49]),s[2]&65536&&(a.disabled=o[78]),s[0]&65536|s[1]&1|s[2]&65536|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveGraphButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function pg(t){let e,i;return e=new nf({props:{click:t[16],graphIsOpened:t[31],disabled:t[78]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&65536&&(r.disabled=n[78]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ba(t){let e,i,n;function l(o){t[182](o)}let r={tooltipContent:t[51],$$slots:{default:[hg]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(r.ref=t[23].liveButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&2097152|s[1]&1048576|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].liveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function hg(t){let e,i;return e=new Xc({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[51]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&1048576&&(r.ariaLabel=n[51]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Na(t){let e,i,n;function l(o){t[183](o)}let r={isMobile:!1,showDuration:t[56],position:t[4]?t[80]:t[81],duration:t[4]?t[82]:t[83]};return t[23].time!==void 0&&(r.ref=t[23].time),e=new qc({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&33554432&&(a.showDuration=o[56]),s[0]&16|s[2]&786432&&(a.position=o[4]?o[80]:o[81]),s[0]&16|s[2]&3145728&&(a.duration=o[4]?o[82]:o[83]),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].time,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ra(t){let e,i;return e=new ef({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&524288&&(r.position=n[81]),l[2]&2097152&&(r.duration=n[83]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vg(t){let e,i,n=t[20]&&Ra(t);return{c(){n&&n.c(),e=mt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&d(n,1)):(n=Ra(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(d(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function gg(t){var n;let e,i;return e=new rf({props:{iconUrl:t[211],ariaLabel:(n=t[212])!=null?n:t[215],testId:t[213],onClick:t[214]}}),{c(){q(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[211]),r[0]&268435456&&(o.ariaLabel=(s=l[212])!=null?s:l[215]),r[0]&268435456&&(o.testId=l[213]),r[0]&268435456&&(o.onClick=l[214]),e.$set(o)},i(l){i||(d(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Oa(t){let e,i;return e=new qt({props:{tooltipContent:t[215],width:40,$$slots:{default:[gg]},$$scope:{ctx:t}}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[215]),l[0]&268435456|l[7]&2&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Da(t){let e,i,n;function l(o){t[186](o)}let r={disabled:!t[6],tooltipContent:t[52],$$slots:{default:[bg]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(r.ref=t[23].vkLogo),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&192|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].vkLogo,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function bg(t){let e,i;return e=new Yc({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _g(t){let e,i;return e=new Bh({props:{click:t[128]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function za(t){let e,i,n;function l(o){t[188](o)}let r={tooltipContent:t[53],$$slots:{default:[wg]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(r.ref=t[23].subtitles),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&262144|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].subtitles,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function wg(t){let e,i;return e=new W3({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fa(t){var s;let e,i,n,l;function r(a){t[189](a)}let o={supportLink:t[10],playerControlsHeight:(s=t[47])==null?void 0:s.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(o.ref=t[24]),i=new Uc({props:o}),Ce.push(()=>We(i,"ref",r)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){P(a,e,c),F(i,e,null),l=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&65536&&(f.playerControlsHeight=(m=a[47])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],je(()=>n=!1)),i.$set(f)},i(a){l||(d(i.$$.fragment,a),l=!0)},o(a){v(i.$$.fragment,a),l=!1},d(a){a&&S(e),H(i)}}}function Ha(t){let e,i,n;function l(o){t[191](o)}let r={tooltipContent:t[27]?void 0:Y("tooltip_settings_off"),$$slots:{default:[kg]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(r.ref=t[23].settings),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:Y("tooltip_settings_off")),s[0]&33554432|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].settings,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function kg(t){let e,i,n;function l(o){t[190](o)}let r={};return t[25]!==void 0&&(r.ref=t[25]),e=new wr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&33554432&&(i=!0,a.ref=o[25],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function yg(t){let e,i,n;function l(o){t[192](o)}let r={className:t[42]?"":"out-of-view",tooltipContent:t[50],$$slots:{default:[Cg]},$$scope:{ctx:t}};return t[23].context!==void 0&&(r.ref=t[23].context),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&2048&&(a.className=o[42]?"":"out-of-view"),s[1]&524288&&(a.tooltipContent=o[50]),s[1]&524288|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].context,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Cg(t){let e,i;return e=new x5({props:{ariaLabel:t[50]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ua(t){let e,i,n;function l(o){t[193](o)}let r={tooltipContent:t[54],$$slots:{default:[Sg]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(r.ref=t[23].fullscreen),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&1073750016|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].fullscreen,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Sg(t){let e,i;return e=new Kc({props:{click:t[13],isFullscreen:t[30]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function qa(t){let e,i,n;function l(o){t[194](o)}let r={tooltipContent:t[55],$$slots:{default:[Pg]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(r.ref=t[23].chromecast),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.tooltipContent=o[55]),s[0]&536870912|s[7]&2&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].chromecast,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Pg(t){let e,i;return e=new Qc({props:{isMobile:!1,state:t[29],click:t[127]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ja(t){let e,i,n;function l(o){t[197](o)}let r={};return t[23].interactiveTimeIcon!==void 0&&(r.ref=t[23].interactiveTimeIcon),e=new mf({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveTimeIcon,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Tg(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A;i=new $c({props:{isHidden:!t[46],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let V=t[39]&&Ia(t),x=t[36]&&La(t),L=t[37]&&Va(t),ie=t[38]&&Ma(t),Ee=t[118]&&ag(t),ye=!t[4]&&t[33]&&Ba(t),Le=t[19]&&Na(t);function Ve(pe){t[184](pe)}let _e={className:"w-max",disabled:!t[20],tooltipContent:Y("tooltip_episodes"),$$slots:{default:[vg]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(_e.ref=t[23].episodes),_=new qt({props:_e}),Ce.push(()=>We(_,"ref",Ve));let Se=Zt(t[28]),W=[];for(let pe=0;pe<Se.length;pe+=1)W[pe]=Oa(Aa(t,Se,pe));const $=pe=>v(W[pe],1,1,()=>{W[pe]=null});let fe=t[44]&&Da(t);function ue(pe){t[187](pe)}let Fe={$$slots:{default:[_g]},$$scope:{ctx:t}};t[23].volume!==void 0&&(Fe.ref=t[23].volume),M=new qt({props:Fe}),Ce.push(()=>We(M,"ref",ue));let Oe=t[41]&&za(t),Me=!t[84]&&!t[4]&&Fa(t),Ie=t[43]&&Ha(t),ce=t[85].features.contextMenuButton&&yg(t),he=t[45]&&Ua(t),re=t[40]&&qa(t),Te=t[34]&&ja(t);return{c(){e=T("div"),q(i.$$.fragment),n=O(),l=T("div"),r=T("div"),V&&V.c(),o=O(),x&&x.c(),s=O(),L&&L.c(),a=O(),ie&&ie.c(),c=O(),Ee&&Ee.c(),f=O(),ye&&ye.c(),m=O(),Le&&Le.c(),h=O(),q(_.$$.fragment),b=O(),C=T("div");for(let pe=0;pe<W.length;pe+=1)W[pe].c();k=O(),fe&&fe.c(),y=O(),q(M.$$.fragment),I=O(),Oe&&Oe.c(),z=O(),Me&&Me.c(),ae=O(),Ie&&Ie.c(),se=O(),ce&&ce.c(),R=O(),he&&he.c(),te=O(),re&&re.c(),X=O(),Te&&Te.c(),G=mt(),u(r,"class","controls-left v-st0uzk"),yo(()=>t[185].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),B(e,"hidden",t[1]),B(e,"controls-hidden",!t[3]),B(e,"no-smooth",t[2])},m(pe,Pe){P(pe,e,Pe),F(i,e,null),p(e,n),p(e,l),p(l,r),V&&V.m(r,null),p(r,o),x&&x.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),ie&&ie.m(r,null),p(r,c),Ee&&Ee.m(r,null),p(r,f),ye&&ye.m(r,null),p(r,m),Le&&Le.m(r,null),p(r,h),F(_,r,null),w=sr(r,t[185].bind(r)),p(l,b),p(l,C);for(let Ke=0;Ke<W.length;Ke+=1)W[Ke]&&W[Ke].m(C,null);p(C,k),fe&&fe.m(C,null),p(C,y),F(M,C,null),p(C,I),Oe&&Oe.m(C,null),p(C,z),Me&&Me.m(C,null),p(C,ae),Ie&&Ie.m(C,null),p(C,se),ce&&ce.m(C,null),p(C,R),he&&he.m(C,null),p(C,te),re&&re.m(C,null),t[195](l),t[196](e),P(pe,X,Pe),Te&&Te.m(pe,Pe),P(pe,G,Pe),A=!0},p(pe,Pe){const Ke={};Pe[1]&32768&&(Ke.isHidden=!pe[46]),Pe[0]&16&&(Ke.isAds=pe[4]),Pe[0]&32&&(Ke.canRewindLive=pe[5]),Pe[1]&2&&(Ke.isRewindableLive=pe[32]),i.$set(Ke),pe[39]?V?(V.p(pe,Pe),Pe[1]&256&&d(V,1)):(V=Ia(pe),V.c(),d(V,1),V.m(r,o)):V&&(de(),v(V,1,1,()=>{V=null}),me()),pe[36]?x?(x.p(pe,Pe),Pe[1]&32&&d(x,1)):(x=La(pe),x.c(),d(x,1),x.m(r,s)):x&&(de(),v(x,1,1,()=>{x=null}),me()),pe[37]?L?(L.p(pe,Pe),Pe[1]&64&&d(L,1)):(L=Va(pe),L.c(),d(L,1),L.m(r,a)):L&&(de(),v(L,1,1,()=>{L=null}),me()),pe[38]?ie?(ie.p(pe,Pe),Pe[1]&128&&d(ie,1)):(ie=Ma(pe),ie.c(),d(ie,1),ie.m(r,c)):ie&&(de(),v(ie,1,1,()=>{ie=null}),me()),pe[118]&&Ee.p(pe,Pe),!pe[4]&&pe[33]?ye?(ye.p(pe,Pe),Pe[0]&16|Pe[1]&4&&d(ye,1)):(ye=Ba(pe),ye.c(),d(ye,1),ye.m(r,m)):ye&&(de(),v(ye,1,1,()=>{ye=null}),me()),pe[19]?Le?(Le.p(pe,Pe),Pe[0]&524288&&d(Le,1)):(Le=Na(pe),Le.c(),d(Le,1),Le.m(r,h)):Le&&(de(),v(Le,1,1,()=>{Le=null}),me());const Re={};if(Pe[0]&1048576&&(Re.disabled=!pe[20]),Pe[0]&1048576|Pe[2]&2621440|Pe[7]&2&&(Re.$$scope={dirty:Pe,ctx:pe}),!g&&Pe[0]&8388608&&(g=!0,Re.ref=pe[23].episodes,je(()=>g=!1)),_.$set(Re),Pe[0]&268435456){Se=Zt(pe[28]);let Xe;for(Xe=0;Xe<Se.length;Xe+=1){const ot=Aa(pe,Se,Xe);W[Xe]?(W[Xe].p(ot,Pe),d(W[Xe],1)):(W[Xe]=Oa(ot),W[Xe].c(),d(W[Xe],1),W[Xe].m(C,k))}for(de(),Xe=Se.length;Xe<W.length;Xe+=1)$(Xe);me()}pe[44]?fe?(fe.p(pe,Pe),Pe[1]&8192&&d(fe,1)):(fe=Da(pe),fe.c(),d(fe,1),fe.m(C,y)):fe&&(de(),v(fe,1,1,()=>{fe=null}),me());const xe={};Pe[7]&2&&(xe.$$scope={dirty:Pe,ctx:pe}),!j&&Pe[0]&8388608&&(j=!0,xe.ref=pe[23].volume,je(()=>j=!1)),M.$set(xe),pe[41]?Oe?(Oe.p(pe,Pe),Pe[1]&1024&&d(Oe,1)):(Oe=za(pe),Oe.c(),d(Oe,1),Oe.m(C,z)):Oe&&(de(),v(Oe,1,1,()=>{Oe=null}),me()),!pe[84]&&!pe[4]?Me?(Me.p(pe,Pe),Pe[0]&16|Pe[2]&4194304&&d(Me,1)):(Me=Fa(pe),Me.c(),d(Me,1),Me.m(C,ae)):Me&&(de(),v(Me,1,1,()=>{Me=null}),me()),pe[43]?Ie?(Ie.p(pe,Pe),Pe[1]&4096&&d(Ie,1)):(Ie=Ha(pe),Ie.c(),d(Ie,1),Ie.m(C,se)):Ie&&(de(),v(Ie,1,1,()=>{Ie=null}),me()),pe[85].features.contextMenuButton&&ce.p(pe,Pe),pe[45]?he?(he.p(pe,Pe),Pe[1]&16384&&d(he,1)):(he=Ua(pe),he.c(),d(he,1),he.m(C,te)):he&&(de(),v(he,1,1,()=>{he=null}),me()),pe[40]?re?(re.p(pe,Pe),Pe[1]&512&&d(re,1)):(re=qa(pe),re.c(),d(re,1),re.m(C,null)):re&&(de(),v(re,1,1,()=>{re=null}),me()),(!A||Pe[0]&2)&&B(e,"hidden",pe[1]),(!A||Pe[0]&8)&&B(e,"controls-hidden",!pe[3]),(!A||Pe[0]&4)&&B(e,"no-smooth",pe[2]),pe[34]?Te?(Te.p(pe,Pe),Pe[1]&8&&d(Te,1)):(Te=ja(pe),Te.c(),d(Te,1),Te.m(G.parentNode,G)):Te&&(de(),v(Te,1,1,()=>{Te=null}),me())},i(pe){if(!A){d(i.$$.fragment,pe),d(V),d(x),d(L),d(ie),d(Ee),d(ye),d(Le),d(_.$$.fragment,pe);for(let Pe=0;Pe<Se.length;Pe+=1)d(W[Pe]);d(fe),d(M.$$.fragment,pe),d(Oe),d(Me),d(Ie),d(ce),d(he),d(re),d(Te),A=!0}},o(pe){v(i.$$.fragment,pe),v(V),v(x),v(L),v(ie),v(Ee),v(ye),v(Le),v(_.$$.fragment,pe),W=W.filter(ig);for(let Pe=0;Pe<W.length;Pe+=1)v(W[Pe]);v(fe),v(M.$$.fragment,pe),v(Oe),v(Me),v(Ie),v(ce),v(he),v(re),v(Te),A=!1},d(pe){pe&&(S(e),S(X),S(G)),H(i),V&&V.d(),x&&x.d(),L&&L.d(),ie&&ie.d(),Ee&&Ee.d(),ye&&ye.d(),Le&&Le.d(),H(_),w(),Ln(W,pe),fe&&fe.d(),H(M),Oe&&Oe.d(),Me&&Me.d(),Ie&&Ie.d(),ce&&ce.d(),he&&he.d(),re&&re.d(),t[195](null),t[196](null),Te&&Te.d(pe)}}}function Eg(t,e,i){var Rr,Or;let n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee=K,ye=()=>(Ee(),Ee=Qt(se,U=>i(145,ie=U)),se),Le,Ve=K,_e=()=>(Ve(),Ve=Qt(ae,U=>i(146,Le=U)),ae),Se,W=K,$=()=>(W(),W=Qt(z,U=>i(147,Se=U)),z),fe,ue=K,Fe=()=>(ue(),ue=Qt(I,U=>i(148,fe=U)),I),Oe,Me=K,Ie=()=>(Me(),Me=Qt(j,U=>i(149,Oe=U)),j),ce,he=K,re=()=>(he(),he=Qt(M,U=>i(150,ce=U)),M),Te,pe=K,Pe=()=>(pe(),pe=Qt(y,U=>i(151,Te=U)),y),Ke,Re=K,xe=()=>(Re(),Re=Qt(k,U=>i(152,Ke=U)),k),Xe,ot=K,at=()=>(ot(),ot=Qt(C,U=>i(153,Xe=U)),C),At,pt=K,xt=()=>(pt(),pt=Qt(b,U=>i(154,At=U)),b),gt,Mt=K,oe=()=>(Mt(),Mt=Qt(w,U=>i(155,gt=U)),w),_t,rt=K,Rt=()=>(rt(),rt=Qt(g,U=>i(156,_t=U)),g),ut,It=K,Je=()=>(It(),It=Qt(_,U=>i(157,ut=U)),_),Ue,St=K,Ji=()=>(St(),St=Qt(h,U=>i(158,Ue=U)),h),fi,di=K,nn=()=>(di(),di=Qt(m,U=>i(159,fi=U)),m),$t,Kt=K,ei=()=>(Kt(),Kt=Qt(f,U=>i(160,$t=U)),f),Ot,ti=K,Oi=()=>(ti(),ti=Qt(c,U=>i(161,Ot=U)),c),ii,Ti,mi,ni,Di,Ei,zi,oi,Fi,Pt,Tt,pi,Ai,lt,ct,li,Bt,ri,hi,vi,Dt,Wi,gi,Gt;t.$$.on_destroy.push(()=>Ee()),t.$$.on_destroy.push(()=>Ve()),t.$$.on_destroy.push(()=>W()),t.$$.on_destroy.push(()=>ue()),t.$$.on_destroy.push(()=>Me()),t.$$.on_destroy.push(()=>he()),t.$$.on_destroy.push(()=>pe()),t.$$.on_destroy.push(()=>Re()),t.$$.on_destroy.push(()=>ot()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>Mt()),t.$$.on_destroy.push(()=>rt()),t.$$.on_destroy.push(()=>It()),t.$$.on_destroy.push(()=>St()),t.$$.on_destroy.push(()=>di()),t.$$.on_destroy.push(()=>Kt()),t.$$.on_destroy.push(()=>ti());let{bottomHidden:Ii}=e,{bottomNoSmooth:on}=e,{showControls:bi}=e,{controlsElementRef:Hi=void 0}=e,{isAds:Nt=!1}=e,{canRewindLive:Ht}=e,{logoClickable:_i}=e,{logoHidden:Li}=e,{videoLogoUrl:Vi}=e,{showNextPrevButtons:si}=e,{nextButtonActive:Zi}=e,{prevButtonActive:wi}=e,{isOneVideoPlaylist:ki=!1}=e,{supportLink:Ui}=e,{customFullscreenSupported:yi=!0}=e,{playNextVideo:Ki}=e,{playPrevVideo:jt}=e,{repeatPlaylist:Yt}=e,{toggleFullscreen:Mi}=e,{returnFocus:Bi}=e,{seekToInteractive:Wt}=e,{toggleGraph:ai}=e,{playPrevChapter:ui}=e;const qe=Ct(),Gi=No(),ci=gn(),qi=qe.actions.internal.toggleMuted,Be=qe.actions.internal.togglePlay,ln=qe.actions.internal.pause,rn=qe.actions.internal.toggleSubtitle,Yi=(Rr=qe.callbacks)==null?void 0:Rr.onAudioDoesNotExistHint,Lt=(Or=qe.callbacks)==null?void 0:Or.onAudioDisabledHint,sn=qe.state.duration$;D(t,sn,U=>i(83,gi=U));const xi=qe.state.positionWithScrubbing$;D(t,xi,U=>i(81,Dt=U));const ji=qe.state.playbackState$;D(t,ji,U=>i(162,mi=U));const Ci=qe.state.chromecastConnected$;D(t,Ci,U=>i(84,Gt=U));const ee=qe.state.isAudioAvailable$;D(t,ee,U=>i(198,R=U));const it=qe.state.isAudioDisabled,Ut=qe.state.isEnded$;D(t,Ut,U=>i(170,lt=U));const Si=qe.state.isLive$;D(t,Si,U=>i(33,oi=U));const ht=qe.state.isActiveLive$;D(t,ht,U=>i(164,Ei=U));const cn=qe.state.isRewindableLive$;D(t,cn,U=>i(32,zi=U));const bn=qe.ui.isPictureInPictureActive$;D(t,bn,U=>i(166,Pt=U));const fn=qe.ui.pictureInPictureType$;D(t,fn,U=>i(165,Fi=U));const _n=qe.ui.settingsMenuVisible;D(t,_n,U=>i(27,G=U));const an=qe.ui.settingsMenuOpenedByKeyboard;D(t,an,U=>i(141,X=U));const $i=qe.ui.controls,wn=qe.actions.internal.getVideoEpisodes(),kn=qe.state.chromecastState$;D(t,kn,U=>i(29,ii=U));const yn=qe.state.availableSubtitlesList$;D(t,yn,U=>i(169,Ai=U));const dn=qe.state.currentSubtitle$;D(t,dn,U=>i(171,ct=U));const Cn=$i.disabledControls$;D(t,Cn,U=>i(173,Bt=U));const J=qe.ui.contextMenuVisible;D(t,J,U=>i(163,ni=U));const vt=qe.ui.contextMenu.showContextMenuBtn$;D(t,vt,U=>i(167,Tt=U));const mn=qe.ui.contextMenu.openedByKeyboard$;D(t,mn,U=>i(168,pi=U));const Qi=qe.ui.startedByKeyboard$;D(t,Qi,U=>i(140,te=U));const pn=qe.ads.duration;D(t,pn,U=>i(82,Wi=U));const un=qe.ads.position;D(t,un,U=>i(80,vi=U));const Zn=qe.ads.playbackState;D(t,Zn,U=>i(172,li=U));const Kn=qe.ui.isFullscreen;D(t,Kn,U=>i(30,Ti=U));const Gn=qe.ui.playerSize;D(t,Gn,U=>i(143,V=U));const Vn=qe.ui.currentGridType$;D(t,Vn,U=>i(144,x=U));const Rn=qe.ui.additionalButtons$;D(t,Rn,U=>i(28,L=U));const Sn=qe.actions.internal.getVideoElement,$n=qe.actions.internal.replayInteractive,Xi=qe.state.isInteractive,Pn=qe.state.isInteractiveTime$;D(t,Pn,U=>i(142,A=U));const Q=qe.state.interactiveEpisodes$;D(t,Q,U=>i(199,ri=U));const eo=qe.state.showInteractiveGraph,ro=qe.state.showSeekToInteractive,To=qe.state.showPlayPrevChapter,so=qe.state.graphIsOpened$;D(t,so,U=>i(31,Di=U));const Z=qe.state.playPrevChapterDisabledTooltip,Et=Gi.seekToInteractiveDisabledTooltip$;D(t,Et,U=>i(79,hi=U));let en;en=!!(Xi&&ri.length);const hn=()=>qe.actions.internal.toggleChromecast();let Mn,to,Uo,bt,E,le,ge,He,Qe,ft,Vt,wt,Ni,Yn,qo,ao,wl,kl,Er,Ar,Ir,yl="";const Ef=(U,Sl)=>{if(!U){i(51,yl=Y("tooltip_live"));return}Sl===$e.PlaybackState.PAUSED&&i(51,yl=Y("tooltip_play"))};let Lr,Vr,Mr,Br,jo;const Ge={};let Tn,Eo,Cl,Nr;const Af=ne.throttleFn(ff,P1,{leading:!1});let Wo,Zo,Ko;function If(){it?Lt==null||Lt():R?qi():Yi==null||Yi()}const Lf=Xi?$n:ki?Be:Yt;function Vf(U){t.$$.not_equal(Ge.prevButton,U)&&(Ge.prevButton=U,i(23,Ge))}function Mf(U){t.$$.not_equal(Ge.replayButton,U)&&(Ge.replayButton=U,i(23,Ge))}function Bf(U){Ko=U,i(26,Ko)}function Nf(U){t.$$.not_equal(Ge.playButton,U)&&(Ge.playButton=U,i(23,Ge))}function Rf(U){t.$$.not_equal(Ge.nextButton,U)&&(Ge.nextButton=U,i(23,Ge))}function Of(U){t.$$.not_equal(Ge.playPrevChapterButton,U)&&(Ge.playPrevChapterButton=U,i(23,Ge))}function Df(U){t.$$.not_equal(Ge.seekToInteractiveButton,U)&&(Ge.seekToInteractiveButton=U,i(23,Ge))}function zf(U){t.$$.not_equal(Ge.interactiveGraphButton,U)&&(Ge.interactiveGraphButton=U,i(23,Ge))}function Ff(U){t.$$.not_equal(Ge.liveButton,U)&&(Ge.liveButton=U,i(23,Ge))}function Hf(U){t.$$.not_equal(Ge.time,U)&&(Ge.time=U,i(23,Ge))}function Uf(U){t.$$.not_equal(Ge.episodes,U)&&(Ge.episodes=U,i(23,Ge))}function qf(){jo=this.clientWidth,i(22,jo)}function jf(U){t.$$.not_equal(Ge.vkLogo,U)&&(Ge.vkLogo=U,i(23,Ge))}function Wf(U){t.$$.not_equal(Ge.volume,U)&&(Ge.volume=U,i(23,Ge))}function Zf(U){t.$$.not_equal(Ge.subtitles,U)&&(Ge.subtitles=U,i(23,Ge))}function Kf(U){Wo=U,i(24,Wo)}function Gf(U){Zo=U,i(25,Zo)}function Yf(U){t.$$.not_equal(Ge.settings,U)&&(Ge.settings=U,i(23,Ge))}function Qf(U){t.$$.not_equal(Ge.context,U)&&(Ge.context=U,i(23,Ge))}function Xf(U){t.$$.not_equal(Ge.fullscreen,U)&&(Ge.fullscreen=U,i(23,Ge))}function Jf(U){t.$$.not_equal(Ge.chromecast,U)&&(Ge.chromecast=U,i(23,Ge))}function xf(U){Ce[U?"unshift":"push"](()=>{wl=U,i(47,wl)})}function $f(U){Ce[U?"unshift":"push"](()=>{Hi=U,i(0,Hi)})}function e0(U){t.$$.not_equal(Ge.interactiveTimeIcon,U)&&(Ge.interactiveTimeIcon=U,i(23,Ge))}return t.$$set=U=>{"bottomHidden"in U&&i(1,Ii=U.bottomHidden),"bottomNoSmooth"in U&&i(2,on=U.bottomNoSmooth),"showControls"in U&&i(3,bi=U.showControls),"controlsElementRef"in U&&i(0,Hi=U.controlsElementRef),"isAds"in U&&i(4,Nt=U.isAds),"canRewindLive"in U&&i(5,Ht=U.canRewindLive),"logoClickable"in U&&i(6,_i=U.logoClickable),"logoHidden"in U&&i(130,Li=U.logoHidden),"videoLogoUrl"in U&&i(7,Vi=U.videoLogoUrl),"showNextPrevButtons"in U&&i(131,si=U.showNextPrevButtons),"nextButtonActive"in U&&i(8,Zi=U.nextButtonActive),"prevButtonActive"in U&&i(9,wi=U.prevButtonActive),"isOneVideoPlaylist"in U&&i(132,ki=U.isOneVideoPlaylist),"supportLink"in U&&i(10,Ui=U.supportLink),"customFullscreenSupported"in U&&i(133,yi=U.customFullscreenSupported),"playNextVideo"in U&&i(11,Ki=U.playNextVideo),"playPrevVideo"in U&&i(12,jt=U.playPrevVideo),"repeatPlaylist"in U&&i(134,Yt=U.repeatPlaylist),"toggleFullscreen"in U&&i(13,Mi=U.toggleFullscreen),"returnFocus"in U&&i(14,Bi=U.returnFocus),"seekToInteractive"in U&&i(15,Wt=U.seekToInteractive),"toggleGraph"in U&&i(16,ai=U.toggleGraph),"playPrevChapter"in U&&i(17,ui=U.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&262144&&i(139,n=Bt.has(dt.EPISODE_BUTTON)),t.$$.dirty[5]&262144&&i(78,l=Bt.has(dt.GRAPH_BUTTON)),t.$$.dirty[5]&262144&&i(77,r=Bt.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&262144&&i(76,o=Bt.has(dt.PLAY_BUTTON)),t.$$.dirty[5]&262144&&i(75,s=Bt.has(dt.REPLAY_BUTTON)),t.$$.dirty[5]&262144&&i(74,a=Bt.has(dt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&131200&&i(35,Mn=Nt?li===Xt.PLAYING:mi===$e.PlaybackState.PLAYING),t.$$.dirty[5]&65536&&i(18,to=ct.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&32768&&i(36,Uo=lt&&!Nt||Xi),t.$$.dirty[0]&16|t.$$.dirty[5]&32768&&i(37,bt=!lt||Xi||Nt),t.$$.dirty[4]&1048576&&i(135,E=En(x,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&1048704&&i(38,le=si&&En(x,exports.GridTypes.M)&&!Nt&&Zi),t.$$.dirty[0]&528|t.$$.dirty[4]&1048704&&i(39,ge=si&&En(x,exports.GridTypes.M)&&!Nt&&wi),t.$$.dirty[0]&536870912|t.$$.dirty[4]&1048576|t.$$.dirty[5]&3072&&i(40,He=ii!==$e.ChromecastState.NOT_AVAILABLE&&!(Pt&&Fi===zn.DocumentPictureInPicture)&&En(x,exports.GridTypes.M)&&!Xi),t.$$.dirty[4]&1048576|t.$$.dirty[5]&16384&&i(41,Qe=Ai.length>0&&En(x,exports.GridTypes.M)),t.$$.dirty[5]&12288&&i(42,ft=pi||Tt),t.$$.dirty[4]&1048576&&i(43,Vt=En(x,exports.GridTypes.S)),t.$$.dirty[4]&64&&i(44,wt=!Li),t.$$.dirty[4]&1049152|t.$$.dirty[5]&3072&&i(45,Ni=ci.features.fullscreen&&(Li||En(x,exports.GridTypes.S))&&!(Pt&&Fi===zn.DocumentPictureInPicture)&&(Xi?yi:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,Yn=(!oi||Nt)&&!(ci.features.interactiveHideTime&&Xi)),t.$$.dirty[4]&524288&&i(46,qo=V.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&34816&&i(20,ao=!Nt&&!oi&&!!(wn!=null&&wn.length)&&E&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&512&&i(21,kl=!zi||Ei),t.$$.dirty[5]&128&&i(48,Er=mi===$e.PlaybackState.PLAYING?Y("tooltip_pause"):Y("tooltip_play")),t.$$.dirty[1]&1&&i(49,Ar=Y(Di?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&256&&i(50,Ir=Y(ni?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&128&&Ef(kl,mi),t.$$.dirty[0]&262144&&i(53,Vr=Y(to?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(54,Mr=Y(Ti?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(55,Br=ii===$e.ChromecastState.CONNECTED?Y("tooltip_chromecast_on"):Y("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2145386496|t.$$.dirty[5]&127&&i(136,Tn={prevButton:Ot?Ot.right-Ot.left:0,replayButton:$t?$t.right-$t.left:0,playButton:fi?fi.right-fi.left:0,nextButton:Ue?Ue.right-Ue.left:0,playPrevChapterButton:ut?ut.right-ut.left:0,seekToInteractiveButton:_t?_t.right-_t.left:0,interactiveGraphButton:gt?gt.right-gt.left:0,liveButton:At?At.right-At.left:0,time:Xe?Xe.right-Xe.left:0,episodes:Ke?Ke.right-Ke.left:0,vkLogo:Te?Te.right-Te.left:0,volume:ce?ce.right-ce.left:0,subtitles:Oe?Oe.right-Oe.left:0,settings:fe?fe.right-fe.left:0,context:Se?Se.right-Se.left:0,fullscreen:Le?Le.right-Le.left:0,chromecast:ie?ie.right-ie.left:0,additionalButtons:L.length?L.reduce(U=>[...U,40],[]):[]}),t.$$.dirty[4]&12288&&(!Eo||Eo<Tn.time)&&i(137,Eo=Tn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&1060864){let U=0;ao&&(En(x,exports.GridTypes.XL)?U=Tn.time:U=I0);const Sl=Tn.prevButton+Tn.playButton+Tn.nextButton+Tn.seekToInteractiveButton+Tn.interactiveGraphButton+Tn.liveButton+Eo+U;i(138,Cl=Yn&&jo>=Sl)}t.$$.dirty[4]&1064960&&i(56,Nr=Cl&&En(x,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&786432&&Af(Sn(),$i,Ge,bi),t.$$.dirty[0]&167772160&&gr(Zo,G,an),t.$$.dirty[0]&150994944|t.$$.dirty[4]&131072&&br(Wo,G,X),t.$$.dirty[0]&67108864|t.$$.dirty[4]&65536&&df(Qi,te,Ko)},i(52,Lr=ci.logoType===Co.VK_VIDEO?Y("tooltip_vk_video_logo"):Y("tooltip_vk_logo")),Oi(i(73,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:b,time:C,episodes:k,vkLogo:y,volume:M,subtitles:j,settings:I,context:z,fullscreen:ae,chromecast:se}=$i,c,ei(i(72,f)),nn(i(71,m)),Ji(i(70,h)),Je(i(69,_)),Rt(i(68,g)),oe(i(67,w)),xt(i(66,b)),at(i(65,C)),xe(i(64,k)),Pe(i(63,y)),re(i(62,M)),Ie(i(61,j)),Fe(i(60,I)),$(i(59,z)),_e(i(58,ae)),ye(i(57,se)))),[Hi,Ii,on,bi,Nt,Ht,_i,Vi,Zi,wi,Ui,Ki,jt,Mi,Bi,Wt,ai,ui,to,Yn,ao,kl,jo,Ge,Wo,Zo,Ko,G,L,ii,Ti,Di,zi,oi,en,Mn,Uo,bt,le,ge,He,Qe,ft,Vt,wt,Ni,qo,wl,Er,Ar,Ir,yl,Lr,Vr,Mr,Br,Nr,se,ae,z,I,j,M,y,k,C,b,w,g,_,h,m,f,c,a,s,o,r,l,hi,vi,Dt,Wi,gi,Gt,ci,Be,ln,rn,sn,xi,ji,Ci,ee,Ut,Si,ht,cn,bn,fn,_n,an,wn,kn,yn,dn,Cn,J,vt,mn,Qi,pn,un,Zn,Kn,Gn,Vn,Rn,Xi,Pn,Q,eo,ro,To,so,Z,Et,hn,If,Lf,Li,si,ki,yi,Yt,E,Tn,Eo,Cl,n,te,X,A,V,x,ie,Le,Se,fe,Oe,ce,Te,Ke,Xe,At,gt,_t,ut,Ue,fi,$t,Ot,mi,ni,Ei,Fi,Pt,Tt,pi,Ai,lt,ct,li,Bt,Vf,Mf,Bf,Nf,Rf,Of,Df,zf,Ff,Hf,Uf,qf,jf,Wf,Zf,Kf,Gf,Yf,Qf,Xf,Jf,xf,$f,e0]}class Ag extends ke{constructor(e){super(),we(this,e,Eg,Tg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:130,videoLogoUrl:7,showNextPrevButtons:131,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:132,supportLink:10,customFullscreenSupported:133,playNextVideo:11,playPrevVideo:12,repeatPlaylist:134,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},ng,[-1,-1,-1,-1,-1,-1,-1,-1])}}function Ig(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Lg extends ke{constructor(e){super(),we(this,e,null,Ig,be,{})}}function Vg(t){Ze(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Wa(t){let e;return{c(){e=T("span"),e.textContent=`${Y("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){P(i,e,n)},p:K,d(i){i&&S(e)}}}function Mg(t){let e,i,n,l;var r=t[4];function o(a){return{}}r&&(i=Nn(r,o()));let s=t[1]&&Wa();return{c(){e=T("div"),i&&q(i.$$.fragment),n=O(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",t[1])},m(a,c){P(a,e,c),i&&F(i,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(i){de();const f=i;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}r?(i=Nn(r,o()),q(i.$$.fragment),d(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?s?s.p(a,c):(s=Wa(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&B(e,"expanded",a[1])},i(a){l||(i&&d(i.$$.fragment,a),l=!0)},o(a){i&&v(i.$$.fragment,a),l=!1},d(a){a&&S(e),i&&H(i),s&&s.d()}}}function Bg(t){let e,i,n;function l(o){t[6](o)}let r={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[Mg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ng(t,e,i){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=ne.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,i(0,o)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,l=f.expanded),"click"in f&&i(2,r=f.click),"ref"in f&&i(0,o=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,s=Y(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=l?bl:Lg)},[o,l,r,s,a,n,c]}class pf extends ke{constructor(e){super(),we(this,e,Ng,Bg,be,{muted:5,expanded:1,click:2,ref:0},Vg)}}function Rg(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),B(n,"hidden",!t[0]),u(l,"fill",t[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),B(l,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){P(r,e,o),p(e,i),p(e,n),p(e,l)},p(r,[o]){o&2&&u(i,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&B(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&B(l,"hidden",r[0])},i:K,o:K,d(r){r&&S(e)}}}function Og(t,e,i){let n,{isActive:l=!1}=e;return t.$$set=r=>{"isActive"in r&&i(0,l=r.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=l?"#2688EB":"#fff")},[l,n]}class Dg extends ke{constructor(e){super(),we(this,e,Og,Rg,be,{isActive:0})}}function zg(t){let e,i;return e=new Dg({props:{isActive:t[1]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fg(t){let e,i,n;function l(o){t[3](o)}let r={testId:"btn-pip",ariaLabel:Y("menu_pip"),click:t[2],$$slots:{default:[zg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Pi({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Hg(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=ne.noop}=e;function o(s){n=s,i(0,n)}return t.$$set=s=>{"ref"in s&&i(0,n=s.ref),"isPictureInPictureActive"in s&&i(1,l=s.isPictureInPictureActive),"click"in s&&i(2,r=s.click)},[n,l,r,o]}class Ug extends ke{constructor(e){super(),we(this,e,Hg,Fg,be,{ref:0,isPictureInPictureActive:1,click:2})}}const{Boolean:qg}=dl;function jg(t){Ze(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Za(t,e,i){const n=t.slice();return n[171]=e[i].iconUrl,n[172]=e[i].ariaLabel,n[173]=e[i].testId,n[174]=e[i].onClick,n[175]=e[i].tooltip,n}function Ka(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k=(!t[52]||t[54])&&Ga(t),y=Zt(t[57]),M=[];for(let V=0;V<y.length;V+=1)M[V]=Ya(Za(t,y,V));const j=V=>v(M[V],1,1,()=>{M[V]=null});let I=t[37]&&Qa(t),z=t[38]&&Xa(t),ae=t[58]&&Ja(t),se=t[40]&&xa(t),R=t[8]&&$a(t),te=t[35]&&eu(t),X=t[34]&&tu(t),G=t[8]&&iu(t),A=t[97]&&!t[29]&&nu(t);return{c(){e=T("div"),i=O(),n=T("div"),k&&k.c(),l=O(),r=T("div");for(let V=0;V<M.length;V+=1)M[V].c();o=O(),I&&I.c(),s=O(),z&&z.c(),a=O(),ae&&ae.c(),c=O(),se&&se.c(),f=O(),m=T("div"),R&&R.c(),h=O(),te&&te.c(),_=O(),X&&X.c(),g=O(),G&&G.c(),w=O(),A&&A.c(),b=mt(),u(e,"class","overlay-mobile v-1tcstu3"),B(e,"hidden",!t[43]),u(n,"class","wrapper-top-left v-1tcstu3"),B(n,"hidden",!t[3]),B(n,"fullscreen",t[53]),u(r,"class","wrapper-top-right v-1tcstu3"),B(r,"hidden",!t[3]&&!t[27]),B(r,"fullscreen",t[53]),u(m,"class","wrapper-middle v-1tcstu3"),B(m,"hidden",!t[3]||t[29])},m(V,x){P(V,e,x),P(V,i,x),P(V,n,x),k&&k.m(n,null),P(V,l,x),P(V,r,x);for(let L=0;L<M.length;L+=1)M[L]&&M[L].m(r,null);p(r,o),I&&I.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),ae&&ae.m(r,null),p(r,c),se&&se.m(r,null),P(V,f,x),P(V,m,x),R&&R.m(m,null),p(m,h),te&&te.m(m,null),p(m,_),X&&X.m(m,null),p(m,g),G&&G.m(m,null),P(V,w,x),A&&A.m(V,x),P(V,b,x),C=!0},p(V,x){if((!C||x[1]&4096)&&B(e,"hidden",!V[43]),!V[52]||V[54]?k?(k.p(V,x),x[1]&10485760&&d(k,1)):(k=Ga(V),k.c(),d(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!C||x[0]&8)&&B(n,"hidden",!V[3]),(!C||x[1]&4194304)&&B(n,"fullscreen",V[53]),x[1]&67108864){y=Zt(V[57]);let L;for(L=0;L<y.length;L+=1){const ie=Za(V,y,L);M[L]?(M[L].p(ie,x),d(M[L],1)):(M[L]=Ya(ie),M[L].c(),d(M[L],1),M[L].m(r,o))}for(de(),L=y.length;L<M.length;L+=1)j(L);me()}V[37]?I?(I.p(V,x),x[1]&64&&d(I,1)):(I=Qa(V),I.c(),d(I,1),I.m(r,s)):I&&(de(),v(I,1,1,()=>{I=null}),me()),V[38]?z?(z.p(V,x),x[1]&128&&d(z,1)):(z=Xa(V),z.c(),d(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me()),V[58]?ae?(ae.p(V,x),x[1]&134217728&&d(ae,1)):(ae=Ja(V),ae.c(),d(ae,1),ae.m(r,c)):ae&&(de(),v(ae,1,1,()=>{ae=null}),me()),V[40]?se?(se.p(V,x),x[1]&512&&d(se,1)):(se=xa(V),se.c(),d(se,1),se.m(r,null)):se&&(de(),v(se,1,1,()=>{se=null}),me()),(!C||x[0]&134217736)&&B(r,"hidden",!V[3]&&!V[27]),(!C||x[1]&4194304)&&B(r,"fullscreen",V[53]),V[8]?R?(R.p(V,x),x[0]&256&&d(R,1)):(R=$a(V),R.c(),d(R,1),R.m(m,h)):R&&(de(),v(R,1,1,()=>{R=null}),me()),V[35]?te?(te.p(V,x),x[1]&16&&d(te,1)):(te=eu(V),te.c(),d(te,1),te.m(m,_)):te&&(de(),v(te,1,1,()=>{te=null}),me()),V[34]?X?(X.p(V,x),x[1]&8&&d(X,1)):(X=tu(V),X.c(),d(X,1),X.m(m,g)):X&&(de(),v(X,1,1,()=>{X=null}),me()),V[8]?G?(G.p(V,x),x[0]&256&&d(G,1)):(G=iu(V),G.c(),d(G,1),G.m(m,null)):G&&(de(),v(G,1,1,()=>{G=null}),me()),(!C||x[0]&536870920)&&B(m,"hidden",!V[3]||V[29]),V[97]&&!V[29]?A?(A.p(V,x),x[0]&536870912&&d(A,1)):(A=nu(V),A.c(),d(A,1),A.m(b.parentNode,b)):A&&(de(),v(A,1,1,()=>{A=null}),me())},i(V){if(!C){d(k);for(let x=0;x<y.length;x+=1)d(M[x]);d(I),d(z),d(ae),d(se),d(R),d(te),d(X),d(G),d(A),C=!0}},o(V){v(k),M=M.filter(qg);for(let x=0;x<M.length;x+=1)v(M[x]);v(I),v(z),v(ae),v(se),v(R),v(te),v(X),v(G),v(A),C=!1},d(V){V&&(S(e),S(i),S(n),S(l),S(r),S(f),S(m),S(w),S(b)),k&&k.d(),Ln(M,V),I&&I.d(),z&&z.d(),ae&&ae.d(),se&&se.d(),R&&R.d(),te&&te.d(),X&&X.d(),G&&G.d(),A&&A.d(V)}}}function Ga(t){let e,i,n;function l(o){t[131](o)}let r={muted:t[55],expanded:t[52]&&!t[71]&&t[56],click:t[107]};return t[20].volume!==void 0&&(r.ref=t[20].volume),e=new pf({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.muted=o[55]),s[1]&35651584&&(a.expanded=o[52]&&!o[71]&&o[56]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].volume,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ya(t){var n;let e,i;return e=new rf({props:{iconUrl:t[171],ariaLabel:(n=t[172])!=null?n:t[175],testId:t[173],onClick:t[174]}}),{c(){q(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[1]&67108864&&(o.iconUrl=l[171]),r[1]&67108864&&(o.ariaLabel=(s=l[172])!=null?s:l[175]),r[1]&67108864&&(o.testId=l[173]),r[1]&67108864&&(o.onClick=l[174]),e.$set(o)},i(l){i||(d(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Qa(t){let e,i,n;function l(o){t[132](o)}let r={isMobile:!0,click:t[105],state:t[28]};return t[20].chromecast!==void 0&&(r.ref=t[20].chromecast),e=new Qc({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].chromecast,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xa(t){let e,i,n;function l(o){t[133](o)}let r={click:t[106],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(r.ref=t[20].pip),e=new Ug({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].pip,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ja(t){let e,i,n;function l(o){t[134](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new wr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function xa(t){let e,i,n;function l(o){t[135](o)}let r={click:t[65],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(r.ref=t[20].vkLogo),e=new Yc({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].vkLogo,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $a(t){let e,i,n;function l(o){t[136](o)}let r={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(r.ref=t[20].prevButton),e=new _l({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].prevButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function eu(t){let e,i,n;function l(o){t[137](o)}let r={disabled:t[50],click:t[64],isMobile:!0,isPlaying:t[32]};return t[20].playButton!==void 0&&(r.ref=t[20].playButton),e=new Cr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.disabled=o[50]),s[1]&2&&(a.isPlaying=o[32]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].playButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tu(t){let e,i,n;function l(o){t[138](o)}let r={disabled:t[49],click:t[108],isMobile:!0};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Sr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function iu(t){let e,i,n;function l(o){t[139](o)}let r={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(r.ref=t[20].nextButton),e=new _l({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].nextButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function nu(t){let e,i,n,l,r=t[101]&&Wg(t),o=t[99]&&Zg(t),s=t[100]&&Kg(t);return{c(){r&&r.c(),e=O(),o&&o.c(),i=O(),s&&s.c(),n=mt()},m(a,c){r&&r.m(a,c),P(a,e,c),o&&o.m(a,c),P(a,i,c),s&&s.m(a,c),P(a,n,c),l=!0},p(a,c){a[101]&&r.p(a,c),a[99]&&o.p(a,c),a[100]&&s.p(a,c)},i(a){l||(d(r),d(o),d(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Wg(t){let e,i,n,l,r,o;function s(c){t[140](c)}let a={hidden:!t[3],disabled:t[48],click:t[18]};return t[20].playPrevChapterButton!==void 0&&(a.ref=t[20].playPrevChapterButton),i=new lf({props:a}),Ce.push(()=>We(i,"ref",s)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3])},m(c,f){P(c,e,f),F(i,e,null),l=!0,r||(o=ve(e,"click",t[109]),r=!0)},p(c,f){const m={};f[0]&8&&(m.hidden=!c[3]),f[1]&131072&&(m.disabled=c[48]),f[0]&262144&&(m.click=c[18]),!n&&f[0]&1048576&&(n=!0,m.ref=c[20].playPrevChapterButton,je(()=>n=!1)),i.$set(m),(!l||f[1]&4194304)&&B(e,"fullscreen",c[53]),(!l||f[0]&8)&&B(e,"hidden",!c[3])},i(c){l||(d(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),H(i),r=!1,o()}}}function Zg(t){let e,i,n,l;function r(s){t[141](s)}let o={hidden:!t[3]&&!t[59],disabled:t[51],click:t[17],graphIsOpened:t[59]};return t[20].interactiveGraphButton!==void 0&&(o.ref=t[20].interactiveGraphButton),i=new nf({props:o}),Ce.push(()=>We(i,"ref",r)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class",u0(t[101]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3]&&!t[59])},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&268435456&&(c.hidden=!s[3]&&!s[59]),a[1]&1048576&&(c.disabled=s[51]),a[0]&131072&&(c.click=s[17]),a[1]&268435456&&(c.graphIsOpened=s[59]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,je(()=>n=!1)),i.$set(c),(!l||a[1]&4194304)&&B(e,"fullscreen",s[53]),(!l||a[0]&8|a[1]&268435456)&&B(e,"hidden",!s[3]&&!s[59])},i(s){l||(d(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function Kg(t){let e,i,n,l,r,o;function s(c){t[142](c)}let a={hidden:!t[3],disabled:t[47],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(a.ref=t[20].seekToInteractiveButton),i=new tf({props:a}),Ce.push(()=>We(i,"ref",s)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3])},m(c,f){P(c,e,f),F(i,e,null),l=!0,r||(o=ve(e,"click",t[110]),r=!0)},p(c,f){const m={};f[0]&8&&(m.hidden=!c[3]),f[1]&65536&&(m.disabled=c[47]),f[0]&65536&&(m.click=c[16]),!n&&f[0]&1048576&&(n=!0,m.ref=c[20].seekToInteractiveButton,je(()=>n=!1)),i.$set(m),(!l||f[1]&4194304)&&B(e,"fullscreen",c[53]),(!l||f[0]&8)&&B(e,"hidden",!c[3])},i(c){l||(d(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),H(i),r=!1,o()}}}function ou(t){let e,i,n,l,r,o=t[54]&&lu(t),s=t[33]&&ru(t);return l=new xc({props:{position:t[60],duration:t[61]}}),{c(){o&&o.c(),e=O(),s&&s.c(),i=O(),n=T("div"),q(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",t[53])},m(a,c){o&&o.m(a,c),P(a,e,c),s&&s.m(a,c),P(a,i,c),P(a,n,c),F(l,n,null),r=!0},p(a,c){a[54]?o?(o.p(a,c),c[1]&8388608&&d(o,1)):(o=lu(a),o.c(),d(o,1),o.m(e.parentNode,e)):o&&(de(),v(o,1,1,()=>{o=null}),me()),a[33]?s?(s.p(a,c),c[1]&4&&d(s,1)):(s=ru(a),s.c(),d(s,1),s.m(i.parentNode,i)):s&&(de(),v(s,1,1,()=>{s=null}),me());const f={};c[1]&536870912&&(f.position=a[60]),c[1]&1073741824&&(f.duration=a[61]),l.$set(f),(!r||c[1]&4194304)&&B(n,"fullscreen",a[53])},i(a){r||(d(o),d(s),d(l.$$.fragment,a),r=!0)},o(a){v(o),v(s),v(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(i),S(n)),o&&o.d(a),s&&s.d(a),H(l)}}}function lu(t){let e,i,n,l;function r(s){t[143](s)}let o={muted:t[55],expanded:!1,click:t[107]};return t[20].volume!==void 0&&(o.ref=t[20].volume),i=new pf({props:o}),Ce.push(()=>We(i,"ref",r)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",t[53])},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&16777216&&(c.muted=s[55]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,je(()=>n=!1)),i.$set(c),(!l||a[1]&4194304)&&B(e,"fullscreen",s[53])},i(s){l||(d(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function ru(t){let e,i,n,l;function r(s){t[144](s)}let o={disabled:t[50],click:t[64],isMobile:!0,isPlaying:!t[33]};return t[20].playButton!==void 0&&(o.ref=t[20].playButton),i=new Cr({props:o}),Ce.push(()=>We(i,"ref",r)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&524288&&(c.disabled=s[50]),a[1]&4&&(c.isPlaying=!s[33]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,je(()=>n=!1)),i.$set(c)},i(s){l||(d(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function Gg(t){let e,i,n;function l(o){t[145](o)}let r={disabled:t[49],$$slots:{default:[Yg]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&262144|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Yg(t){let e,i;return e=new Sr({props:{disabled:t[49],click:t[96]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&262144&&(r.disabled=n[49]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function su(t){let e,i,n;function l(o){t[146](o)}let r={$$slots:{default:[Qg]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(r.ref=t[20].liveButton),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&32768|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].liveButton,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Qg(t){let e,i;return e=new Xc({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[46]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&32768&&(r.ariaLabel=n[46]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function au(t){let e,i,n;function l(o){t[147](o)}let r={showDuration:t[36],position:t[4]?t[60]:t[62],duration:t[4]?t[61]:t[63],isMobile:!0};return t[20].time!==void 0&&(r.ref=t[20].time),e=new qc({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&32&&(a.showDuration=o[36]),s[0]&16|s[1]&536870912|s[2]&1&&(a.position=o[4]?o[60]:o[62]),s[0]&16|s[1]&1073741824|s[2]&2&&(a.duration=o[4]?o[61]:o[63]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].time,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function uu(t){let e,i,n,l;return n=new ef({props:{position:t[62],duration:t[63],timeCodes:t[85]}}),{c(){e=T("div"),e.textContent="\xB7",i=O(),q(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){P(r,e,o),P(r,i,o),F(n,r,o),l=!0},p(r,o){const s={};o[2]&1&&(s.position=r[62]),o[2]&2&&(s.duration=r[63]),n.$set(s)},i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){v(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(i)),H(n,r)}}}function Xg(t){let e,i,n=t[44]&&uu(t);return{c(){n&&n.c(),e=mt()},m(l,r){n&&n.m(l,r),P(l,e,r),i=!0},p(l,r){l[44]?n?(n.p(l,r),r[1]&8192&&d(n,1)):(n=uu(l),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(d(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function cu(t){let e,i,n;function l(o){t[150](o)}let r={$$slots:{default:[Jg]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(r.ref=t[20].settings),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].settings,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Jg(t){let e,i,n;function l(o){t[149](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new wr({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fu(t){let e,i,n;function l(o){t[151](o)}let r={$$slots:{default:[xg]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(r.ref=t[20].fullscreen),e=new qt({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&4194304|s[5]&8388608&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].fullscreen,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function xg(t){let e,i;return e=new Kc({props:{click:t[14],isFullscreen:t[53]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&4194304&&(r.isFullscreen=n[53]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function du(t){let e,i,n,l;function r(s){t[154](s)}let o={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(o.ref=t[21]),i=new Uc({props:o}),Ce.push(()=>We(i,"ref",r)),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){P(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],je(()=>n=!1)),i.$set(c)},i(s){l||(d(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function mu(t){let e,i,n;function l(o){t[155](o)}let r={};return t[20].interactiveTimeIcon!==void 0&&(r.ref=t[20].interactiveTimeIcon),e=new mf({props:r}),Ce.push(()=>We(e,"ref",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&1048576&&(i=!0,a.ref=o[20].interactiveTimeIcon,je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $g(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y=!t[4]&&Ka(t),M=t[4]&&t[30]!==Xt.INACTIVE&&ou(t),j=t[97]&&Gg(t),I=!t[4]&&t[25]&&su(t),z=t[42]&&au(t);function ae(A){t[148](A)}let se={className:"w-max",disabled:!t[44],$$slots:{default:[Xg]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(se.ref=t[20].episodes),c=new qt({props:se}),Ce.push(()=>We(c,"ref",ae));let R=t[39]&&cu(t),te=t[41]&&fu(t);g=new $c({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let X=t[23]&&du(t),G=t[31]&&mu(t);return{c(){y&&y.c(),e=O(),M&&M.c(),i=O(),n=T("div"),l=T("div"),r=T("div"),j&&j.c(),o=O(),I&&I.c(),s=O(),z&&z.c(),a=O(),q(c.$$.fragment),m=O(),R&&R.c(),h=O(),te&&te.c(),_=O(),q(g.$$.fragment),w=O(),X&&X.c(),b=O(),G&&G.c(),C=mt(),u(r,"class","controls v-1tcstu3"),B(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),B(l,"fullscreen",t[53]),u(n,"class","wrapper-bottom v-1tcstu3"),B(n,"hidden",t[1]),B(n,"controls-hidden",!t[3]),B(n,"no-smooth",t[2]),B(n,"mobile",!0)},m(A,V){y&&y.m(A,V),P(A,e,V),M&&M.m(A,V),P(A,i,V),P(A,n,V),p(n,l),p(l,r),j&&j.m(r,null),p(r,o),I&&I.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),F(c,r,null),p(r,m),R&&R.m(r,null),p(r,h),te&&te.m(r,null),t[152](r),p(l,_),F(g,l,null),t[153](n),P(A,w,V),X&&X.m(A,V),P(A,b,V),G&&G.m(A,V),P(A,C,V),k=!0},p(A,V){A[4]?y&&(de(),v(y,1,1,()=>{y=null}),me()):y?(y.p(A,V),V[0]&16&&d(y,1)):(y=Ka(A),y.c(),d(y,1),y.m(e.parentNode,e)),A[4]&&A[30]!==Xt.INACTIVE?M?(M.p(A,V),V[0]&1073741840&&d(M,1)):(M=ou(A),M.c(),d(M,1),M.m(i.parentNode,i)):M&&(de(),v(M,1,1,()=>{M=null}),me()),A[97]&&j.p(A,V),!A[4]&&A[25]?I?(I.p(A,V),V[0]&33554448&&d(I,1)):(I=su(A),I.c(),d(I,1),I.m(r,s)):I&&(de(),v(I,1,1,()=>{I=null}),me()),A[42]?z?(z.p(A,V),V[1]&2048&&d(z,1)):(z=au(A),z.c(),d(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me());const x={};V[1]&8192&&(x.disabled=!A[44]),V[1]&8192|V[2]&3|V[5]&8388608&&(x.$$scope={dirty:V,ctx:A}),!f&&V[0]&1048576&&(f=!0,x.ref=A[20].episodes,je(()=>f=!1)),c.$set(x),A[39]?R?(R.p(A,V),V[1]&256&&d(R,1)):(R=cu(A),R.c(),d(R,1),R.m(r,h)):R&&(de(),v(R,1,1,()=>{R=null}),me()),A[41]?te?(te.p(A,V),V[1]&1024&&d(te,1)):(te=fu(A),te.c(),d(te,1),te.m(r,null)):te&&(de(),v(te,1,1,()=>{te=null}),me());const L={};V[0]&16&&(L.isAds=A[4]),V[0]&32&&(L.canRewindLive=A[5]),V[0]&16777216&&(L.isRewindableLive=A[24]),g.$set(L),(!k||V[1]&4194304)&&B(l,"fullscreen",A[53]),(!k||V[0]&2)&&B(n,"hidden",A[1]),(!k||V[0]&8)&&B(n,"controls-hidden",!A[3]),(!k||V[0]&4)&&B(n,"no-smooth",A[2]),A[23]?X?(X.p(A,V),V[0]&8388608&&d(X,1)):(X=du(A),X.c(),d(X,1),X.m(b.parentNode,b)):X&&(de(),v(X,1,1,()=>{X=null}),me()),A[31]?G?(G.p(A,V),V[1]&1&&d(G,1)):(G=mu(A),G.c(),d(G,1),G.m(C.parentNode,C)):G&&(de(),v(G,1,1,()=>{G=null}),me())},i(A){k||(d(y),d(M),d(j),d(I),d(z),d(c.$$.fragment,A),d(R),d(te),d(g.$$.fragment,A),d(X),d(G),k=!0)},o(A){v(y),v(M),v(j),v(I),v(z),v(c.$$.fragment,A),v(R),v(te),v(g.$$.fragment,A),v(X),v(G),k=!1},d(A){A&&(S(e),S(i),S(n),S(w),S(b),S(C)),y&&y.d(A),M&&M.d(A),j&&j.d(),I&&I.d(),z&&z.d(),H(c),R&&R.d(),te&&te.d(),t[152](null),H(g),t[153](null),X&&X.d(A),G&&G.d(A)}}}function eb(t,e,i){var Xi,Pn;let n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se,{bottomHidden:W}=e,{bottomNoSmooth:$}=e,{showControls:fe}=e,{controlsElementRef:ue=void 0}=e,{isAds:Fe=!1}=e,{canRewindLive:Oe}=e,{logoClickable:Me}=e,{logoHidden:Ie}=e,{videoLogoUrl:ce}=e,{showNextPrevButtons:he}=e,{nextButtonActive:re}=e,{prevButtonActive:Te}=e,{isOneVideoPlaylist:pe=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:Ke=!0}=e,{playNextVideo:Re}=e,{playPrevVideo:xe}=e,{repeatPlaylist:Xe}=e,{toggleFullscreen:ot}=e,{returnFocus:at}=e,{seekToInteractive:At}=e,{toggleGraph:pt}=e,{playPrevChapter:xt}=e,{onDisabledPlayPrevChapterClick:gt}=e,{onDisabledSeekToInteractiveClick:Mt}=e;const oe=Ct(),_t=No(),rt=gn(),Rt=oe.actions.internal.toggleMuted,ut=oe.actions.internal.togglePlay,It=oe.actions.internal.pause,Je=(Xi=oe.callbacks)==null?void 0:Xi.onAudioDoesNotExistHint,Ue=(Pn=oe.callbacks)==null?void 0:Pn.onAudioDisabledHint,St=oe.playerPhase;D(t,St,Q=>i(127,z=Q));const Ji=oe.state.duration$;D(t,Ji,Q=>i(63,Se=Q));const fi=oe.state.positionWithScrubbing$;D(t,fi,Q=>i(62,_e=Q));const di=oe.state.playbackState$;D(t,di,Q=>i(122,h=Q));const nn=oe.state.isAudioAvailable$;D(t,nn,Q=>i(52,_=Q));const $t=oe.state.isAudioDisabled,Kt=oe.state.isEnded$;D(t,Kt,Q=>i(128,se=Q));const ei=oe.state.isLive$;D(t,ei,Q=>i(25,k=Q));const Ot=oe.state.muted$;D(t,Ot,Q=>i(55,x=Q));const ti=oe.state.isActiveLive$;D(t,ti,Q=>i(125,b=Q));const Oi=oe.state.isRewindableLive$;D(t,Oi,Q=>i(24,C=Q));const ii=oe.ui.scrubbingInProgress;D(t,ii,Q=>i(29,ae=Q));const Ti=oe.ui.mobileNotReportControlHidden$;D(t,Ti,Q=>i(27,j=Q));const mi=oe.ui.isPictureInPictureActive$;D(t,mi,Q=>i(26,M=Q));const ni=oe.ui.pictureInPictureType$;D(t,ni,Q=>i(126,y=Q));const Di=oe.ui.mobileUnmuteButtonExpanded;D(t,Di,Q=>i(56,L=Q));const Ei=oe.ui.mobileUnmuteButtonVisible;D(t,Ei,Q=>i(54,V=Q));const zi=oe.ui.settingsMenuVisible;D(t,zi,Q=>i(23,m=Q));const oi=oe.ui.settingsMenuOpenedByKeyboard;D(t,oi,Q=>i(121,f=Q));const Fi=oe.ui.controls,Pt=oe.actions.internal.getVideoEpisodes(),Tt=oe.webApi.pictureInPictureApi,pi=oe.state.chromecastState$;D(t,pi,Q=>i(28,I=Q));const Ai=oe.state.crashed$;D(t,Ai,Q=>i(58,Ee=Q));const lt=Fi.disabledControls$;D(t,lt,Q=>i(129,te=Q));const ct=oe.ui.startedByKeyboard$;D(t,ct,Q=>i(120,c=Q));const li=oe.ads.duration;D(t,li,Q=>i(61,Ve=Q));const Bt=oe.ads.position;D(t,Bt,Q=>i(60,Le=Q));const ri=oe.ads.playbackState;D(t,ri,Q=>i(30,R=Q));const hi=oe.ui.isFullscreen;D(t,hi,Q=>i(53,A=Q));const vi=oe.ui.playerSize;D(t,vi,Q=>i(124,w=Q));const Dt=oe.ui.additionalButtons$;D(t,Dt,Q=>i(57,ie=Q));const Wi=oe.actions.internal.getVideoElement,gi=oe.actions.internal.replayInteractive,Gt=oe.state.isInteractive,Ii=oe.state.isInteractiveTime$;D(t,Ii,Q=>i(123,g=Q));const on=oe.state.showInteractiveGraph,bi=oe.state.showSeekToInteractive,Hi=oe.state.showPlayPrevChapter,Nt=oe.state.interactiveEpisodes$;D(t,Nt,Q=>i(158,G=Q));const Ht=oe.state.graphIsOpened$;D(t,Ht,Q=>i(59,ye=Q));const _i=_t.seekToInteractiveDisabledTooltip$;D(t,_i,Q=>i(130,X=Q));let Li;Li=!!(Gt&&G.length);let Vi,si,Zi,wi,ki,Ui,yi,Ki,jt,Yt,Mi,Bi,Wt,ai,ui,qe,Gi,ci,qi;const Be={},ln=ne.throttleFn(ff,P1,{leading:!1}),rn=()=>oe.actions.internal.toggleChromecast();function Yi(){$t?Ue==null||Ue():_?Rt():Je==null||Je()}async function Lt(){Tt!=null&&Tt.isActive()?await(Tt==null?void 0:Tt.remove()):await(Tt==null?void 0:Tt.request())}function sn(){!$t&&_&&Ei.set(!1),Yi()}const xi=pe?ut:Xe;let ji="";const Ci=(Q,eo)=>{if(!Q){i(46,ji=Y("tooltip_live"));return}eo===$e.PlaybackState.PAUSED&&i(46,ji=Y("tooltip_play"))};let ee,it;const Ut=()=>{a&&gt(Vi)},Si=()=>{r&&Mt(si)};function ht(Q){t.$$.not_equal(Be.volume,Q)&&(Be.volume=Q,i(20,Be))}function cn(Q){t.$$.not_equal(Be.chromecast,Q)&&(Be.chromecast=Q,i(20,Be))}function bn(Q){t.$$.not_equal(Be.pip,Q)&&(Be.pip=Q,i(20,Be))}function fn(Q){it=Q,i(22,it)}function _n(Q){t.$$.not_equal(Be.vkLogo,Q)&&(Be.vkLogo=Q,i(20,Be))}function an(Q){t.$$.not_equal(Be.prevButton,Q)&&(Be.prevButton=Q,i(20,Be))}function $i(Q){t.$$.not_equal(Be.playButton,Q)&&(Be.playButton=Q,i(20,Be))}function wn(Q){t.$$.not_equal(Be.replayButton,Q)&&(Be.replayButton=Q,i(20,Be))}function kn(Q){t.$$.not_equal(Be.nextButton,Q)&&(Be.nextButton=Q,i(20,Be))}function yn(Q){t.$$.not_equal(Be.playPrevChapterButton,Q)&&(Be.playPrevChapterButton=Q,i(20,Be))}function dn(Q){t.$$.not_equal(Be.interactiveGraphButton,Q)&&(Be.interactiveGraphButton=Q,i(20,Be))}function Cn(Q){t.$$.not_equal(Be.seekToInteractiveButton,Q)&&(Be.seekToInteractiveButton=Q,i(20,Be))}function J(Q){t.$$.not_equal(Be.volume,Q)&&(Be.volume=Q,i(20,Be))}function vt(Q){t.$$.not_equal(Be.playButton,Q)&&(Be.playButton=Q,i(20,Be))}function mn(Q){t.$$.not_equal(Be.replayButton,Q)&&(Be.replayButton=Q,i(20,Be))}function Qi(Q){t.$$.not_equal(Be.liveButton,Q)&&(Be.liveButton=Q,i(20,Be))}function pn(Q){t.$$.not_equal(Be.time,Q)&&(Be.time=Q,i(20,Be))}function un(Q){t.$$.not_equal(Be.episodes,Q)&&(Be.episodes=Q,i(20,Be))}function Zn(Q){it=Q,i(22,it)}function Kn(Q){t.$$.not_equal(Be.settings,Q)&&(Be.settings=Q,i(20,Be))}function Gn(Q){t.$$.not_equal(Be.fullscreen,Q)&&(Be.fullscreen=Q,i(20,Be))}function Vn(Q){Ce[Q?"unshift":"push"](()=>{ci=Q,i(45,ci)})}function Rn(Q){Ce[Q?"unshift":"push"](()=>{ue=Q,i(0,ue)})}function Sn(Q){ee=Q,i(21,ee)}function $n(Q){t.$$.not_equal(Be.interactiveTimeIcon,Q)&&(Be.interactiveTimeIcon=Q,i(20,Be))}return t.$$set=Q=>{"bottomHidden"in Q&&i(1,W=Q.bottomHidden),"bottomNoSmooth"in Q&&i(2,$=Q.bottomNoSmooth),"showControls"in Q&&i(3,fe=Q.showControls),"controlsElementRef"in Q&&i(0,ue=Q.controlsElementRef),"isAds"in Q&&i(4,Fe=Q.isAds),"canRewindLive"in Q&&i(5,Oe=Q.canRewindLive),"logoClickable"in Q&&i(6,Me=Q.logoClickable),"logoHidden"in Q&&i(111,Ie=Q.logoHidden),"videoLogoUrl"in Q&&i(7,ce=Q.videoLogoUrl),"showNextPrevButtons"in Q&&i(8,he=Q.showNextPrevButtons),"nextButtonActive"in Q&&i(9,re=Q.nextButtonActive),"prevButtonActive"in Q&&i(10,Te=Q.prevButtonActive),"isOneVideoPlaylist"in Q&&i(112,pe=Q.isOneVideoPlaylist),"supportLink"in Q&&i(11,Pe=Q.supportLink),"customFullscreenSupported"in Q&&i(113,Ke=Q.customFullscreenSupported),"playNextVideo"in Q&&i(12,Re=Q.playNextVideo),"playPrevVideo"in Q&&i(13,xe=Q.playPrevVideo),"repeatPlaylist"in Q&&i(114,Xe=Q.repeatPlaylist),"toggleFullscreen"in Q&&i(14,ot=Q.toggleFullscreen),"returnFocus"in Q&&i(15,at=Q.returnFocus),"seekToInteractive"in Q&&i(16,At=Q.seekToInteractive),"toggleGraph"in Q&&i(17,pt=Q.toggleGraph),"playPrevChapter"in Q&&i(18,xt=Q.playPrevChapter),"onDisabledPlayPrevChapterClick"in Q&&i(115,gt=Q.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in Q&&i(116,Mt=Q.onDisabledSeekToInteractiveClick)},t.$$.update=()=>{if(t.$$.dirty[4]&64&&(si=Y(X)),t.$$.dirty[4]&32&&i(119,n=te.has(dt.EPISODE_BUTTON)),t.$$.dirty[4]&32&&i(51,l=te.has(dt.GRAPH_BUTTON)),t.$$.dirty[4]&32&&i(47,r=te.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&32&&i(50,o=te.has(dt.PLAY_BUTTON)),t.$$.dirty[4]&32&&i(49,s=te.has(dt.REPLAY_BUTTON)),t.$$.dirty[4]&32&&i(48,a=te.has(dt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&536870912&&i(32,Zi=h===$e.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(33,wi=R===Xt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[4]&16&&i(34,ki=se&&!Fe&&!Gt),t.$$.dirty[0]&16|t.$$.dirty[4]&16&&i(35,Ui=!se||Fe),t.$$.dirty[4]&1&&i(117,yi=w.width>300),t.$$.dirty[4]&1&&i(36,Ki=w.width>400),t.$$.dirty[0]&536870912&&i(118,jt=ae),t.$$.dirty[0]&469762048|t.$$.dirty[4]&4&&i(37,Yt=I!==$e.ChromecastState.NOT_AVAILABLE&&!(M&&y===zn.DocumentPictureInPicture)&&!j&&!Gt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&33554432|t.$$.dirty[4]&12){const Q=z===De.WaitingLive;i(38,Mi=!!Tt&&I!==$e.ChromecastState.CONNECTED&&!j&&(y===zn.DocumentPictureInPicture&&Q||!Q)&&!jt&&!Gt)}t.$$.dirty[3]&33554432&&i(39,Bi=!jt),t.$$.dirty[3]&262144|t.$$.dirty[4]&1&&i(40,Wt=!Ie&&w.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&34603008|t.$$.dirty[4]&4&&i(41,ai=rt.features.fullscreen&&!(M&&y===zn.DocumentPictureInPicture)&&(Gt?Ke:!0)&&!jt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&33554432|t.$$.dirty[4]&1&&i(42,ui=(!k||Fe)&&w.width>260&&!jt&&!(rt.features.interactiveHideTime&&Gt)),t.$$.dirty[0]&8388616&&i(43,qe=m||fe),t.$$.dirty[0]&33554448|t.$$.dirty[3]&117440512&&i(44,Gi=!Fe&&!k&&!!(Pt!=null&&Pt.length)&&yi&&!n&&!jt),t.$$.dirty[0]&16777216|t.$$.dirty[4]&2&&i(19,qi=!C||b),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1073741824|t.$$.dirty[4]&1&&ln(Wi(),Fi,Be,fe),t.$$.dirty[0]&524288|t.$$.dirty[3]&536870912&&Ci(qi,h),t.$$.dirty[0]&12582912&&gr(it,m,oi),t.$$.dirty[0]&10485760|t.$$.dirty[3]&268435456&&br(ee,m,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&134217728&&df(ct,c,Be.playButton)},Vi=Y(oe.state.playPrevChapterDisabledTooltip),[ue,W,$,fe,Fe,Oe,Me,ce,he,re,Te,Pe,Re,xe,ot,at,At,pt,xt,qi,Be,ee,it,m,C,k,M,j,I,ae,R,Li,Zi,wi,ki,Ui,Ki,Yt,Mi,Bi,Wt,ai,ui,qe,Gi,ci,ji,r,a,s,o,l,_,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se,ut,It,St,Ji,fi,di,nn,$t,Kt,ei,Ot,ti,Oi,ii,Ti,mi,ni,Di,Ei,zi,oi,Pt,pi,Ai,lt,ct,li,Bt,ri,hi,vi,Dt,gi,Gt,Ii,on,bi,Hi,Nt,Ht,_i,rn,Lt,sn,xi,Ut,Si,Ie,pe,Ke,Xe,gt,Mt,yi,jt,n,c,f,h,g,w,b,y,z,se,te,X,ht,cn,bn,fn,_n,an,$i,wn,kn,yn,dn,Cn,J,vt,mn,Qi,pn,un,Zn,Kn,Gn,Vn,Rn,Sn,$n]}class tb extends ke{constructor(e){super(),we(this,e,eb,$g,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:111,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:112,supportLink:11,customFullscreenSupported:113,playNextVideo:12,playPrevVideo:13,repeatPlaylist:114,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:115,onDisabledSeekToInteractiveClick:116},jg,[-1,-1,-1,-1,-1,-1])}}function ib(t){let e,i,n;function l(o){t[28](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new Ag({props:r}),Ce.push(()=>We(e,"controlsElementRef",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function nb(t){let e,i,n;function l(o){t[27](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22],onDisabledPlayPrevChapterClick:t[23],onDisabledSeekToInteractiveClick:t[24]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new tb({props:r}),Ce.push(()=>We(e,"controlsElementRef",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ob(t){let e,i,n,l;const r=[nb,ib],o=[];function s(a,c){return a[25]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=mt()},m(a,c){o[e].m(a,c),P(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){l||(d(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function lb(t,e,i){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:b=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:M}=e,{repeatPlaylist:j}=e,{toggleFullscreen:I}=e,{returnFocus:z=ne.noop}=e,{seekToInteractive:ae}=e,{toggleGraph:se}=e,{playPrevChapter:R}=e,{onDisabledPlayPrevChapterClick:te=ne.noop}=e,{onDisabledSeekToInteractiveClick:X=ne.noop}=e;const A=Ct().ui.isMobile;D(t,A,L=>i(25,n=L));function V(L){s=L,i(0,s)}function x(L){s=L,i(0,s)}return t.$$set=L=>{"bottomHidden"in L&&i(1,l=L.bottomHidden),"bottomNoSmooth"in L&&i(2,r=L.bottomNoSmooth),"showControls"in L&&i(3,o=L.showControls),"controlsElementRef"in L&&i(0,s=L.controlsElementRef),"isAds"in L&&i(4,a=L.isAds),"canRewindLive"in L&&i(5,c=L.canRewindLive),"logoClickable"in L&&i(6,f=L.logoClickable),"logoHidden"in L&&i(7,m=L.logoHidden),"videoLogoUrl"in L&&i(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&i(9,_=L.showNextPrevButtons),"nextButtonActive"in L&&i(10,g=L.nextButtonActive),"prevButtonActive"in L&&i(11,w=L.prevButtonActive),"isOneVideoPlaylist"in L&&i(12,b=L.isOneVideoPlaylist),"supportLink"in L&&i(13,C=L.supportLink),"customFullscreenSupported"in L&&i(14,k=L.customFullscreenSupported),"playNextVideo"in L&&i(15,y=L.playNextVideo),"playPrevVideo"in L&&i(16,M=L.playPrevVideo),"repeatPlaylist"in L&&i(17,j=L.repeatPlaylist),"toggleFullscreen"in L&&i(18,I=L.toggleFullscreen),"returnFocus"in L&&i(19,z=L.returnFocus),"seekToInteractive"in L&&i(20,ae=L.seekToInteractive),"toggleGraph"in L&&i(21,se=L.toggleGraph),"playPrevChapter"in L&&i(22,R=L.playPrevChapter),"onDisabledPlayPrevChapterClick"in L&&i(23,te=L.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in L&&i(24,X=L.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,n,A,V,x]}class hf extends ke{constructor(e){super(),we(this,e,lb,ob,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function rb(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function sb(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(g,[w]){w&1&&B(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function ab(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class ub extends ke{constructor(e){super(),we(this,e,ab,sb,be,{reversed:0},rb)}}function cb(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("clipPath"),s=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),m=N("feOffset"),h=N("feGaussianBlur"),_=N("feColorMatrix"),g=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(b,C){P(b,e,C),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,_),p(a,g),p(a,w)},d(b){b&&S(e)}}}function fb(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("defs"),s=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),m=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(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(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104293"),u(b,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){P(C,e,k),p(e,i),p(i,n),p(i,l),p(i,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,m),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},d(C){C&&S(e)}}}function db(t){let e;function i(r,o){return r[0]?fb:cb}let n=i(t),l=n(t);return{c(){l.c(),e=mt()},m(r,o){l.m(r,o),P(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function mb(t,e,i){let{isOff:n=!1}=e;return t.$$set=l=>{"isOff"in l&&i(0,n=l.isOff)},[n]}class vf extends ke{constructor(e){super(),we(this,e,mb,db,be,{isOff:0})}}function pb(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function hb(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(g,[w]){w&1&&B(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function vb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class gb extends ke{constructor(e){super(),we(this,e,vb,hb,be,{reversed:0},pb)}}function bb(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _b(t){let e,i,n,l,r,o,s,a,c,f,m,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),m=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(g,w){P(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,m),p(o,h),p(o,_)},p(g,[w]){w&1&&B(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function wb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class kb extends ke{constructor(e){super(),we(this,e,wb,_b,be,{reversed:0},bb)}}function yb(t){Ze(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function pu(t){let e,i=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(t[4]),n,l,r,o,s,a,c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(t[4]),f,m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(t[4]),h,_,g,w,b,C=i&&hu(t),k=t[4]===Ye.PAUSE&&vu(),y=t[4]===Ye.PLAY&&gu(),M=t[4]===Ye.REPLAY&&bu(),j=t[4]===Ye.SUBTITLES_OFF&&_u(),I=t[4]===Ye.SUBTITLES_ON&&wu(),z=c&&ku(t),ae=m&&yu(t),se=t[4]===Ye.MUTE&&Cu(),R=t[4]===Ye.VOLUME&&Su(),te=t[5]&&Pu(t);return{c(){e=T("div"),C&&C.c(),n=O(),k&&k.c(),l=O(),y&&y.c(),r=O(),M&&M.c(),o=O(),j&&j.c(),s=O(),I&&I.c(),a=O(),z&&z.c(),f=O(),ae&&ae.c(),h=O(),se&&se.c(),_=O(),R&&R.c(),g=O(),te&&te.c(),w=mt(),u(e,"class","v-4ftgwp")},m(X,G){P(X,e,G),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),M&&M.m(e,null),p(e,o),j&&j.m(e,null),p(e,s),I&&I.m(e,null),p(e,a),z&&z.m(e,null),p(e,f),ae&&ae.m(e,null),p(e,h),se&&se.m(e,null),p(e,_),R&&R.m(e,null),P(X,g,G),te&&te.m(X,G),P(X,w,G),b=!0},p(X,G){G&16&&(i=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(X[4])),i?C?(C.p(X,G),G&16&&d(C,1)):(C=hu(X),C.c(),d(C,1),C.m(e,n)):C&&(de(),v(C,1,1,()=>{C=null}),me()),X[4]===Ye.PAUSE?k?G&16&&d(k,1):(k=vu(),k.c(),d(k,1),k.m(e,l)):k&&(de(),v(k,1,1,()=>{k=null}),me()),X[4]===Ye.PLAY?y?G&16&&d(y,1):(y=gu(),y.c(),d(y,1),y.m(e,r)):y&&(de(),v(y,1,1,()=>{y=null}),me()),X[4]===Ye.REPLAY?M?G&16&&d(M,1):(M=bu(),M.c(),d(M,1),M.m(e,o)):M&&(de(),v(M,1,1,()=>{M=null}),me()),X[4]===Ye.SUBTITLES_OFF?j?G&16&&d(j,1):(j=_u(),j.c(),d(j,1),j.m(e,s)):j&&(de(),v(j,1,1,()=>{j=null}),me()),X[4]===Ye.SUBTITLES_ON?I?G&16&&d(I,1):(I=wu(),I.c(),d(I,1),I.m(e,a)):I&&(de(),v(I,1,1,()=>{I=null}),me()),G&16&&(c=[Ye.RATE_DOWN,Ye.RATE_UP].includes(X[4])),c?z?(z.p(X,G),G&16&&d(z,1)):(z=ku(X),z.c(),d(z,1),z.m(e,f)):z&&(de(),v(z,1,1,()=>{z=null}),me()),G&16&&(m=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(X[4])),m?ae?(ae.p(X,G),G&16&&d(ae,1)):(ae=yu(X),ae.c(),d(ae,1),ae.m(e,h)):ae&&(de(),v(ae,1,1,()=>{ae=null}),me()),X[4]===Ye.MUTE?se?G&16&&d(se,1):(se=Cu(),se.c(),d(se,1),se.m(e,_)):se&&(de(),v(se,1,1,()=>{se=null}),me()),X[4]===Ye.VOLUME?R?G&16&&d(R,1):(R=Su(),R.c(),d(R,1),R.m(e,null)):R&&(de(),v(R,1,1,()=>{R=null}),me()),X[5]?te?te.p(X,G):(te=Pu(X),te.c(),te.m(w.parentNode,w)):te&&(te.d(1),te=null)},i(X){b||(d(C),d(k),d(y),d(M),d(j),d(I),d(z),d(ae),d(se),d(R),b=!0)},o(X){v(C),v(k),v(y),v(M),v(j),v(I),v(z),v(ae),v(se),v(R),b=!1},d(X){X&&(S(e),S(g),S(w)),C&&C.d(),k&&k.d(),y&&y.d(),M&&M.d(),j&&j.d(),I&&I.d(),z&&z.d(),ae&&ae.d(),se&&se.d(),R&&R.d(),te&&te.d(X)}}}function hu(t){let e,i;return e=new ub({props:{reversed:t[4]===Ye.FORWARD_SEEK}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vu(t){let e,i;return e=new Gc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gu(t){let e,i;return e=new yr({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function bu(t){let e,i;return e=new of({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _u(t){let e,i;return e=new vf({props:{isOff:!0}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wu(t){let e,i;return e=new vf({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ku(t){let e,i;return e=new gb({props:{reversed:t[4]===Ye.RATE_UP}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.RATE_UP),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function yu(t){let e,i;return e=new kb({props:{reversed:t[4]===Ye.EPISODE_NEXT}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Cu(t){let e,i;return e=new bl({props:{volume:0}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Su(t){let e,i;return e=new bl({props:{volume:1}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Pu(t){let e,i;return{c(){e=T("span"),i=ze(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&32&&et(i,n[5])},d(n){n&&S(e)}}}function Cb(t){let e,i,n=!t[1]&&t[4]&&pu(t);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),B(e,"hidden",t[1]),B(e,"hot-key-helpers-container--left",t[2]),B(e,"hot-key-helpers-container--right",t[3])},m(l,r){P(l,e,r),n&&n.m(e,null),i=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&d(n,1)):(n=pu(l),n.c(),d(n,1),n.m(e,null)):n&&(de(),v(n,1,1,()=>{n=null}),me()),(!i||r&2)&&B(e,"hidden",l[1]),(!i||r&4)&&B(e,"hot-key-helpers-container--left",l[2]),(!i||r&8)&&B(e,"hot-key-helpers-container--right",l[3])},i(l){i||(d(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d()}}}function Sb(t,e,i){let n,l=K,r=()=>(l(),l=Qt(o,h=>i(6,n=h)),o);t.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,m;return t.$$set=h=>{"data"in h&&r(i(0,o=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,s=!n),i(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),i(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),i(4,f=n==null?void 0:n.type),n!=null&&n.t?i(5,m=Y(n.t.key,{value:n.t.value||""})):i(5,m=n==null?void 0:n.text))},[o,s,a,c,f,m,n]}class Pb extends ke{constructor(e){super(),we(this,e,Sb,Cb,be,{data:0},yb)}}function Tb(t){Ze(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Eb(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k;return r=new Xn({props:{direction:"up"}}),a=new Xn({props:{direction:"up"}}),h=new Xn({props:{direction:"up"}}),w=new Xn({props:{direction:"up"}}),{c(){e=T("div"),i=T("div"),n=T("div"),l=T("div"),q(r.$$.fragment),o=O(),s=T("div"),q(a.$$.fragment),c=O(),f=T("div"),m=T("div"),q(h.$$.fragment),_=O(),g=T("div"),q(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(g,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Y("aria_label_spherical_control")),B(e,"m-shifted",t[0])},m(y,M){P(y,e,M),p(e,i),p(i,n),p(n,l),F(r,l,null),p(n,o),p(n,s),F(a,s,null),p(i,c),p(i,f),p(f,m),F(h,m,null),p(f,_),p(f,g),F(w,g,null),b=!0,C||(k=[ve(l,"mousedown",t[1]),ve(l,"mouseup",t[5]),ve(l,"mouseleave",t[5]),ve(s,"mousedown",t[3]),ve(s,"mouseup",t[5]),ve(s,"mouseleave",t[5]),ve(m,"mousedown",t[4]),ve(m,"mouseup",t[5]),ve(m,"mouseleave",t[5]),ve(g,"mousedown",t[2]),ve(g,"mouseup",t[5]),ve(g,"mouseleave",t[5]),ve(e,"keydown",t[6]),ve(e,"keyup",t[7])],C=!0)},p(y,[M]){(!b||M&1)&&B(e,"m-shifted",y[0])},i(y){b||(d(r.$$.fragment,y),d(a.$$.fragment,y),d(h.$$.fragment,y),d(w.$$.fragment,y),b=!0)},o(y){v(r.$$.fragment,y),v(a.$$.fragment,y),v(h.$$.fragment,y),v(w.$$.fragment,y),b=!1},d(y){y&&S(e),H(r),H(a),H(h),H(w),C=!1,nt(k)}}}function Ab(t,e,i){let{isShifted:n=!1}=e;const l=Ct(),r=new Set([Ae.ArrowUp,Ae.ArrowDown,Ae.ArrowLeft,Ae.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),m=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ae.ArrowUp:o();break;case Ae.ArrowDown:s();break;case Ae.ArrowLeft:c();break;case Ae.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,o,s,a,c,f,m,h]}class gf extends ke{constructor(e){super(),we(this,e,Ab,Eb,be,{isShifted:0},Tb)}}function Ib(t){Ze(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Tu(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function Eu(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function Au(t){let e,i;function n(o,s){return o[7]&&o[8]?Mb:o[5]?Vb:Lb}let l=n(t),r=l(t);return{c(){e=T("div"),i=T("span"),r.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(e,"mobile",t[3])},m(o,s){P(o,e,s),p(e,i),r.m(i,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(i,null))),s&8&&B(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function Lb(t){let e,i=Zt(t[1]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Iu(Tu(t,i,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=mt()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);P(l,e,r)},p(l,r){if(r&18){i=Zt(l[1]);let o;for(o=0;o<i.length;o+=1){const s=Tu(l,i,o);n[o]?n[o].p(s,r):(n[o]=Iu(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),Ln(n,l)}}}function Vb(t){let e,i,n=Zt(t[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=Vu(Eu(t,n,r));return{c(){e=T("span"),i=T("span");for(let r=0;r<l.length;r+=1)l[r].c();u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(i,null)},p(r,o){if(o&68){n=Zt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Eu(r,n,s);l[s]?l[s].p(a,o):(l[s]=Vu(a),l[s].c(),l[s].m(i,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&Ft(i,"font-size",r[4]+"px")},d(r){r&&S(e),Ln(l,r)}}}function Mb(t){let e,i,n=Y("subtitles_auto_caption")+"",l;return{c(){e=T("span"),i=T("span"),l=ze(n),u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){P(r,e,o),p(e,i),p(i,l)},p(r,o){o&16&&Ft(i,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function Iu(t){let e,i,n=t[16]+"",l,r;return{c(){e=T("span"),i=T("span"),l=ze(n),r=O(),u(i,"class","caption-segment v-ovfyp5"),Ft(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){P(o,e,s),p(e,i),p(i,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&et(l,n),s&16&&Ft(i,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function Lu(t){let e=t[16]+"",i;return{c(){i=ze(e)},m(n,l){P(n,i,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&et(i,e)},d(n){n&&S(i)}}}function Vu(t){let e,i=(!t[17]||t[17]<=t[2])&&Lu(t);return{c(){i&&i.c(),e=mt()},m(n,l){i&&i.m(n,l),P(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?i?i.p(n,l):(i=Lu(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function Bb(t){let e,i=t[1].length>0&&Au(t);return{c(){e=T("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),B(e,"shifted",t[0]),B(e,"auto",t[5]&&!t[8])},m(n,l){P(n,e,l),i&&i.m(e,null)},p(n,[l]){n[1].length>0?i?i.p(n,l):(i=Au(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),l&1&&B(e,"shifted",n[0]),l&288&&B(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&S(e),i&&i.d()}}}function Nb(t,e,i){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Ct(),m=gn(),h=f.state.currentSubtitle$;D(t,h,y=>i(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;D(t,_,y=>i(8,l=y));let g,w,b,C,k;return vn(()=>{k=window.setTimeout(()=>{_.set(!1)},m.autoSubtitlesTimeout)}),ml(()=>{window.clearTimeout(k)}),t.$$set=y=>{"shifted"in y&&i(0,r=y.shifted),"captions"in y&&i(1,o=y.captions),"position"in y&&i(2,s=y.position),"playerSize"in y&&i(11,a=y.playerSize),"isMobile"in y&&i(3,c=y.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const y=a.width*.02;i(4,g=y<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,w=o.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,b=o.reduce((y,{type:M,value:j})=>(M==="timestamp"?y.push({timeAppeared:Number(j),value:""}):y.length===0?y.push({value:String(j)}):y[y.length-1].value=String(j),y),[])),t.$$.dirty&4096&&i(7,C=!!n.isAuto)},[r,o,s,c,g,w,b,C,l,h,_,a,n]}class bf extends ke{constructor(e){super(),we(this,e,Nb,Bb,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Ib)}}function Rb(t){Ze(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Mu(t){let e,i,n;return{c(){e=T("div"),i=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(t[1]),u(e,"class","text v-1o62kpz")},m(l,r){P(l,e,r),p(e,i),p(e,n)},p(l,r){r&2&&et(n,l[1])},d(l){l&&S(e)}}}function Ob(t){let e,i,n,l,r,o,s=t[1]&&Mu(t);return{c(){e=T("div"),i=T("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=O(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){P(a,e,c),p(e,i),p(e,n),s&&s.m(e,null),r||(o=ve(e,"click",t[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Mu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function Db(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){ko.call(this,t,o)}return t.$$set=o=>{"thumbUrl"in o&&i(0,n=o.thumbUrl),"chromecastDeviceName"in o&&i(1,l=o.chromecastDeviceName)},[n,l,r]}class _f extends ke{constructor(e){super(),we(this,e,Db,Ob,be,{thumbUrl:0,chromecastDeviceName:1},Rb)}}function zb(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Fb extends ke{constructor(e){super(),we(this,e,null,zb,be,{})}}function Hb(t){Ze(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function Ub(t){let e,i,n;return i=new Fb({}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}class wf extends ke{constructor(e){super(),we(this,e,null,Ub,be,{},Hb)}}function qb(t){Ze(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function jb(t){let e,i,n,l,r,o,s,a,c;return r=new yr({}),{c(){e=T("div"),i=T("div"),n=T("div"),l=O(),q(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(i,"tabindex","0"),u(i,"role","button"),u(i,"aria-label",Y("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${t[0]||""}')`),B(e,"hidden",t[1])},m(f,m){P(f,e,m),p(e,i),p(i,n),p(i,l),F(r,i,null),s=!0,a||(c=[ve(i,"keydown",t[3]),ve(e,"click",st(function(){In(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[m]){t=f,(!s||m&1&&o!==(o=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",o),(!s||m&2)&&B(e,"hidden",t[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){v(r.$$.fragment,f),s=!1},d(f){f&&S(e),H(r),a=!1,nt(c)}}}function Wb(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Ct().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ae.Enter,Ae.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,l=c.hidden),"startVideo"in c&&i(2,r=c.startVideo)},[n,l,r,a]}class kf extends ke{constructor(e){super(),we(this,e,Wb,jb,be,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},qb)}get handlePressKey(){return this.$$.ctx[3]}}function Zb(t){Ze(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
24
+ )}`)}function ms(t){let e;return{c(){e=E("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function ps(t){let e,i;return e=new P4({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&32&&(r.position=n[5]),l&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hs(t){let e,i;return e=new w4({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vs(t){let e,i;return e=new A4({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function V4(t){let e,i,n,l,r,o,s,a=t[0]&&ms(),c=t[3]&&ps(t),f=t[7]&&hs(),d=t[4]&&vs();return{c(){e=E("div"),a&&a.c(),i=R(),n=E("video"),l=R(),c&&c.c(),r=R(),f&&f.c(),o=R(),d&&d.c(),zt(n,"width","100%"),zt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){T(h,e,_),a&&a.m(e,null),p(e,i),p(e,n),t[19](n),p(e,l),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,o),d&&d.m(e,null),t[20](e),s=!0},p(h,[_]){h[0]?a||(a=ms(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&m(c,1)):(c=ps(h),c.c(),m(c,1),c.m(e,r)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[7]?f?_&128&&m(f,1):(f=hs(),f.c(),m(f,1),f.m(e,o)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[4]?d?_&16&&m(d,1):(d=vs(),d.c(),m(d,1),d.m(e,null)):d&&(de(),v(d,1,1,()=>{d=null}),me())},i(h){s||(m(c),m(f),m(d),s=!0)},o(h){v(c),v(f),v(d),s=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),d&&d.d(),t[20](null)}}}function M4(t,e,i){let n,l,r,o,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:d=0}=e;const h=Tt(),_=h.state.isEnded$;D(t,_,Z=>i(7,s=Z));const g=h.ui.isMobile;D(t,g,Z=>i(0,l=Z));let w,b,C=!1;const k=h.ads.playbackState;D(t,k,Z=>i(18,n=Z));const y=h.ads.canSkip,V=h.ads.position;D(t,V,Z=>i(5,r=Z));const Q=h.ads.secondsToWatchBeforeSkip;D(t,Q,Z=>i(6,o=Z));let A,z;dn(()=>{const Z=new AbortController;let Y=()=>{Z.abort()};const O=h.getAdmanWrapper();if(!a){O.onAdmanLoadingError();return}const{width:J,height:L}=et(h.ui.playerSize),B=et(h.ui.isFullscreen),te=et(h.ui.isAutoplay),P={width:J,height:L,isFullscreen:B,isAutoplay:te,adsContainer:w,adsVideoElement:b,slotId:a,params:c,previewParam:f,duration:d};return window.AdmanHTML?(O.initAdman(P),C=!0):O.loadAdman(Z.signal).then(()=>{O.initAdman(P),C=!0}).catch(()=>{O.onAdmanLoadingError()}),()=>{!C&&Y()}});function se(Z){Se[Z?"unshift":"push"](()=>{b=Z,i(2,b)})}function re(Z){Se[Z?"unshift":"push"](()=>{w=Z,i(1,w)})}return t.$$set=Z=>{"adsSlotId"in Z&&i(14,a=Z.adsSlotId),"adsParams"in Z&&i(15,c=Z.adsParams),"adsPreviewParam"in Z&&i(16,f=Z.adsPreviewParam),"duration"in Z&&i(17,d=Z.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,A=y&&n!==xt.INACTIVE),t.$$.dirty&262145&&i(4,z=l&&n!==xt.INACTIVE)},[l,w,b,A,z,r,o,s,h,_,g,k,V,Q,a,c,f,d,n,se,re]}class wc extends ke{constructor(e){super(),we(this,e,M4,V4,be,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},L4)}}const zn=t=>{if(!isFinite(t))return"00:00";let e=Math.round(t);const i=Math.floor(e/(60*60));e-=i*(60*60);const n=Math.floor(e/60);return e-=n*60,(i>0?[i,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function B4(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function N4(t){let e,i,n;return{c(){e=N("svg"),i=N("rect"),n=N("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},d(l){l&&S(e)}}}function R4(t){let e;function i(r,o){return r[0]?N4:B4}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function O4(t,e,i){let{isActive:n=!1}=e;return t.$$set=l=>{"isActive"in l&&i(0,n=l.isActive)},[n]}class kc extends ke{constructor(e){super(),we(this,e,O4,R4,be,{isActive:0})}}function D4(t){Ke(t,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function z4(t){let e=zn(t[4]-t[3])+"",i;return{c(){i=Fe(e)},m(n,l){T(n,i,l)},p(n,l){l&24&&e!==(e=zn(n[4]-n[3])+"")&&it(i,e)},i:K,o:K,d(n){n&&S(i)}}}function F4(t){let e,i,n;return i=new kc({props:{isActive:!0}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(l,r){T(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function H4(t){let e,i,n,l,r,o,s;const a=[F4,z4],c=[];function f(d,h){return d[1]?0:1}return r=f(t),o=c[r]=a[r](t),{c(){e=E("div"),i=E("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),l=E("span"),o.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(l,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),M(e,"live",t[1]),M(e,"hidden",t[0]),M(e,"playing",t[2])},m(d,h){T(d,e,h),p(e,i),p(e,n),p(e,l),c[r].m(l,null),s=!0},p(d,[h]){let _=r;r=f(d),r===_?c[r].p(d,h):(de(),v(c[_],1,1,()=>{c[_]=null}),me(),o=c[r],o?o.p(d,h):(o=c[r]=a[r](d),o.c()),m(o,1),o.m(l,null)),(!s||h&2)&&M(e,"live",d[1]),(!s||h&1)&&M(e,"hidden",d[0]),(!s||h&4)&&M(e,"playing",d[2])},i(d){s||(m(o),s=!0)},o(d){v(o),s=!1},d(d){d&&S(e),c[r].d()}}}function U4(t,e,i){let{isHidden:n=!1}=e,{isLive:l=!1}=e,{isPlaying:r=!1}=e,{position:o}=e,{duration:s}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,l=a.isLive),"isPlaying"in a&&i(2,r=a.isPlaying),"position"in a&&i(3,o=a.position),"duration"in a&&i(4,s=a.duration)},[n,l,r,o,s]}class yc extends ke{constructor(e){super(),we(this,e,U4,H4,be,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},D4)}}const nr=t=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=t,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},io=t=>{t.stopPropagation(),t.preventDefault()},q4=t=>{var e;let i=t.previousElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.lastElementChild),i==null||i.focus()},j4=t=>{var e;let i=t.nextElementSibling;i||(i=(e=t.parentNode)===null||e===void 0?void 0:e.firstElementChild),i==null||i.focus()},W4=t=>{const e=t.code;return e===Ee.Tab&&!t.shiftKey||e===Ee.ArrowDown},Z4=t=>{const e=t.code;return e===Ee.Tab||e===Ee.ArrowUp},Cc=t=>t.code===Ee.Escape,K4=t=>t.code===Ee.ArrowLeft,Sc=(t,e=!0)=>{const i=t.code;return[Ee.Enter,Ee.Space].includes(i)||!e&&i===Ee.ArrowRight},Tc=t=>{if(W4(t)){io(t),j4(t.target);return}Z4(t)&&(io(t),q4(t.target))},mr=t=>(t==null?void 0:t.detail)===0,pr=async(t,e,i)=>{await Oo(),t&&!t.classList.contains("opened")&&!e&&et(i)&&(i.set(!1),t.focus())},hr=async(t,e,i)=>{await Oo(),!!t&&e&&i&&t.firstChild.focus()},ol=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},_0))},Pc=(t,e)=>{Tc(t),Cc(t)&&(io(t),e())},ll=async(t,e,i)=>{if(Sc(t,!1)){io(t),e(),await Oo();const n=i();n==null||n.focus()}},rl=async(t,e,i,n)=>{if(Tc(t),K4(t)){io(t),e(),i.set(!0);return}Cc(t)&&(io(t),n())},ln=(t,e)=>{Sc(t)&&(io(t),e())};function G4(t){Ke(t,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function gs(t){var V;let e,i,n,l,r,o,s=(t[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug"))+"",a,c,f,d=G("menu_debug_overlay")+"",h,_,g,w,b=t[9].features.copyVideoLink&&((V=t[8].callbacks)==null?void 0:V.onCopyVideoLink)&&Y4(t),C=t[11]&&t[5]!==tt.ChromecastState.CONNECTED&&!t[16]&&_s(t),k=t[9].features.videoRotate&&!t[16]&&Q4(t),y=t[9].showSupport&&!t[6]&&ws(t);return{c(){e=E("ul"),b&&b.c(),i=R(),C&&C.c(),n=R(),k&&k.c(),l=R(),y&&y.c(),r=R(),o=E("li"),a=Fe(s),c=R(),f=E("li"),h=Fe(d),u(o,"tabindex","0"),u(o,"role","menuitem"),u(o,"aria-label",t[9].features.saveDebugInfoToFile?G("menu_save_debug"):G("menu_copy_debug")),u(o,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),zt(e,"top",t[3]+"px"),zt(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(Q,A){T(Q,e,A),b&&b.m(e,null),p(e,i),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),p(e,o),p(o,a),p(e,c),p(e,f),p(f,h),t[40](e),g||(w=[ve(o,"click",st(t[19])),ve(o,"keydown",t[29]),ve(f,"click",st(t[20])),ve(f,"keydown",t[30]),ve(e,"contextmenu",$t(t[37])),ve(e,"keydown",t[23])],g=!0)},p(Q,A){var z;Q[9].features.copyVideoLink&&((z=Q[8].callbacks)!=null&&z.onCopyVideoLink)&&b.p(Q,A),Q[11]&&Q[5]!==tt.ChromecastState.CONNECTED&&!Q[16]?C?C.p(Q,A):(C=_s(Q),C.c(),C.m(e,n)):C&&(C.d(1),C=null),Q[9].features.videoRotate&&!Q[16]&&k.p(Q,A),Q[9].showSupport&&!Q[6]?y?y.p(Q,A):(y=ws(Q),y.c(),y.m(e,r)):y&&(y.d(1),y=null),A[0]&128&&_!==(_=Q[7]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),A[0]&8&&zt(e,"top",Q[3]+"px"),A[0]&4&&zt(e,"left",Q[2]+"px")},d(Q){Q&&S(e),b&&b.d(),C&&C.d(),k&&k.d(),y&&y.d(),t[40](null),g=!1,lt(w)}}}function Y4(t){let e,i=G("menu_copy_video_link")+"",n,l,r,o,s,a=!t[4]&&!t[16]&&bs(t);return{c(){e=E("li"),n=Fe(i),l=R(),a&&a.c(),r=ht(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),p(e,n),T(c,l,f),a&&a.m(c,f),T(c,r,f),o||(s=[ve(e,"click",st(t[38])),ve(e,"keydown",t[24])],o=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=bs(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(l),S(r)),a&&a.d(c),o=!1,lt(s)}}}function bs(t){let e,i=G("menu_copy_video_link_with_timestamp")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[39])),ve(e,"keydown",t[25])],l=!0)},p:K,d(o){o&&S(e),l=!1,lt(r)}}}function _s(t){let e,i=G("menu_pip")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("menu_pip")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[21])),ve(e,"keydown",t[26])],l=!0)},p:K,d(o){o&&S(e),l=!1,lt(r)}}}function Q4(t){let e,i=G("menu_video_rotate")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",G("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[17])),ve(e,"keydown",t[27])],l=!0)},p:K,d(o){o&&S(e),l=!1,lt(r)}}}function ws(t){let e,i=G("menu_report")+"",n,l,r;return{c(){e=E("li"),n=Fe(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(o,s){T(o,e,s),p(e,n),l||(r=[ve(e,"click",st(t[18])),ve(e,"keydown",t[28])],l=!0)},p:K,d(o){o&&S(e),l=!1,lt(r)}}}function X4(t){let e,i=t[1]&&gs(t);return{c(){i&&i.c(),e=ht()},m(n,l){i&&i.m(n,l),T(n,e,l)},p(n,l){n[1]?i?i.p(n,l):(i=gs(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:K,o:K,d(n){n&&S(e),i&&i.d(n)}}}function J4(t,e,i){var Ae;let n,l,r,o,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:d=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:g=void 0}=e,{returnFocus:w}=e,b=0,C=0;const k=Tt(),y=bn(),V=k.ui.contextMenuVisible,Q=k.ui.debugPanelVisible;D(t,Q,ue=>i(7,s=ue));const A=k.webApi.pictureInPictureApi,z=(Ae=k.webApi.pictureInPictureApi)==null?void 0:Ae.info.isActive$;D(t,z,ue=>i(6,o=ue));const se=k.state.chromecastState$;D(t,se,ue=>i(5,r=ue));const re=k.state.isLive$;D(t,re,ue=>i(4,l=ue));const Z=k.state.positionExact$;D(t,Z,ue=>i(41,n=ue));const Y=k.state.isInteractive,O=()=>{V.set(!1)},J=(ue,he)=>{if(!g||!h||!_)return;const le=g.getBoundingClientRect(),Le=h.getBoundingClientRect();i(2,b=ue-Le.left),i(3,C=he-Le.top),b+le.width>Le.width&&i(2,b=Le.width-le.width),C+le.height>Le.height&&i(3,C=Le.height-le.height),i(2,b=Math.max(b,0)),i(3,C=Math.max(C,0))},L=()=>{O(),k.actions.internal.videoRotate()},B=()=>{window.open(c,"_blank"),O(),k.actions.internal.pause()},te=()=>{const ue=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const he=new Blob([...ue],{type:"plain/text"}),le=window.URL.createObjectURL(he);S1(le,"vk_player_debug_info","txt")}else nr(k.actions.internal.getDebugTextData());O(),w==null||w()},P=()=>{Q.set(!0),O(),w==null||w()},ee=async()=>{try{A!=null&&A.isActive()?await(A==null?void 0:A.remove()):await(A==null?void 0:A.request())}finally{O(),w==null||w()}},Pe=(ue=!1)=>{var he,le;if((he=k.callbacks)!=null&&he.onCopyVideoLink){const Le=(le=k.callbacks)==null?void 0:le.onCopyVideoLink(ue,n);Le&&nr(Le)}O()},ye=ue=>{Pc(ue,O)},Ie=ue=>{ln(ue,()=>Pe())},Re=ue=>{ln(ue,()=>Pe(!0))},_e=ue=>{ln(ue,()=>ee())},Ce=ue=>{ln(ue,()=>L())},q=ue=>{ln(ue,()=>B())},x=ue=>{ln(ue,()=>te())},ce=ue=>{ln(ue,()=>P())};function ae(ue){to.call(this,t,ue)}const We=()=>Pe(),Oe=()=>Pe(!0);function Ve(ue){Se[ue?"unshift":"push"](()=>{g=ue,i(0,g)})}return t.$$set=ue=>{"visible"in ue&&i(1,a=ue.visible),"supportLink"in ue&&i(31,c=ue.supportLink),"x"in ue&&i(32,f=ue.x),"y"in ue&&i(33,d=ue.y),"playerContainerRef"in ue&&i(34,h=ue.playerContainerRef),"controlsContainerRef"in ue&&i(35,_=ue.controlsContainerRef),"menuElementRef"in ue&&i(0,g=ue.menuElementRef),"returnFocus"in ue&&i(36,w=ue.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&g&&h&&_&&J(f,d)},[g,a,b,C,l,r,o,s,k,y,Q,A,z,se,re,Z,Y,L,B,te,P,ee,Pe,ye,Ie,Re,_e,Ce,q,x,ce,c,f,d,h,_,w,ae,We,Oe,Ve]}class x4 extends ke{constructor(e){super(),we(this,e,J4,X4,be,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},G4,[-1,-1])}}class $4{constructor(e){this.value=e,this.next=null}}class Ul{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new $4(e);this.top?(this.top.next=i,this.top=i):(this.top=i,this.bottom=i),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let i=this.bottom;for(;i;)e.push(i.value),i=i.next;return e}}function ep(t){Ke(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function tp(t){let e,i;return{c(){e=E("div"),i=E("canvas"),u(i,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,l){T(n,e,l),p(e,i),t[3](i)},p:K,i:K,o:K,d(n){n&&S(e),t[3](null)}}}const ql=16,jl=120,ks=60;function ip(t,e,i,n,l){l===0&&(l=1),t.fillStyle="#fff",t.fillRect(e,i,n,l)}function np(t,e,i){let{values:n=[]}=e,l,r;const o=jl/ks;dn(()=>{i(0,l.width=jl,l),i(0,l.height=ql,l),i(2,r=l.getContext("2d"))});function s(a){Se[a?"unshift":"push"](()=>{l=a,i(0,l)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,jl,ql);let c=ks-1;for(let f=n.length-1;f>=0;f--){const d=c*o,h=a>0?ql*(n[f]/a):0;ip(r,d,0,o,h),c--}}},[l,n,r,s]}class vr extends ke{constructor(e){super(),we(this,e,np,tp,be,{values:1},ep)}}function op(t){Ke(t,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function ys(t){let e,i,n,l,r=t[0].id+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Video id",n=R(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].id+"")&&it(o,r)},d(s){s&&S(e)}}}function Cs(t){let e,i,n,l,r=t[0].provider+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Provider",n=R(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&it(o,r)},d(s){s&&S(e)}}}function Ss(t){let e,i,n,l,r=t[0].viewport+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Viewport",n=R(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&it(o,r)},d(s){s&&S(e)}}}function Ts(t){let e,i,n,l,r=t[0].videoSize+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="Video size",n=R(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&it(o,r)},d(s){s&&S(e)}}}function Ps(t){let e,i,n,l,r=t[0].cdn+"",o;return{c(){e=E("div"),i=E("div"),i.textContent="CDN host",n=R(),l=E("span"),o=Fe(r),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){T(s,e,a),p(e,i),p(e,n),p(e,l),p(l,o)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&it(o,r)},d(s){s&&S(e)}}}function Es(t){let e,i,n,l,r=t[0].volume+"",o,s;return{c(){e=E("div"),i=E("div"),i.textContent="Volume",n=R(),l=E("span"),o=Fe(r),s=Fe(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&it(o,r)},d(a){a&&S(e)}}}function Is(t){let e,i,n,l,r=t[0].buffer.toFixed(2)+"",o,s;return{c(){e=E("div"),i=E("div"),i.textContent="Buffer",n=R(),l=E("span"),o=Fe(r),s=Fe(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),p(e,i),p(e,n),p(e,l),p(l,o),p(l,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&it(o,r)},d(a){a&&S(e)}}}function As(t){let e,i,n,l,r,o,s=t[0].speed.toFixed(2)+"",a,c,f;return l=new vr({props:{values:t[5]}}),{c(){e=E("div"),i=E("div"),i.textContent="Network",n=R(),U(l.$$.fragment),r=R(),o=E("span"),a=Fe(s),c=Fe(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){T(d,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&32&&(_.values=d[5]),l.$set(_),(!f||h&1)&&s!==(s=d[0].speed.toFixed(2)+"")&&it(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),H(l)}}}function Ls(t){let e,i,n,l,r,o,s=t[0].bitrate.toFixed(2)+"",a,c,f;return l=new vr({props:{values:t[6]}}),{c(){e=E("div"),i=E("div"),i.textContent="V bitrate",n=R(),U(l.$$.fragment),r=R(),o=E("span"),a=Fe(s),c=Fe(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(d,h){T(d,e,h),p(e,i),p(e,n),F(l,e,null),p(e,r),p(e,o),p(o,a),p(o,c),f=!0},p(d,h){const _={};h&64&&(_.values=d[6]),l.$set(_),(!f||h&1)&&s!==(s=d[0].bitrate.toFixed(2)+"")&&it(a,s)},i(d){f||(m(l.$$.fragment,d),f=!0)},o(d){v(l.$$.fragment,d),f=!1},d(d){d&&S(e),H(l)}}}function lp(t){let e,i,n,l,r,o,s,a,c=t[0].version+"",f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe,ye,Ie,Re,_e,Ce=t[0].id&&ys(t),q=t[0].provider&&Cs(t),x=t[0].viewport&&Ss(t),ce=t[0].videoSize&&Ts(t),ae=t[0].cdn&&Ps(t),We=t[0].volume&&Es(t),Oe=t[0].buffer&&Is(t),Ve=t[0].speed&&As(t),Ae=t[0].bitrate&&Ls(t);return P=new vr({props:{values:t[4]}}),{c(){e=E("div"),i=E("button"),i.textContent="[x]",n=R(),l=E("div"),r=E("div"),o=E("div"),o.textContent="Version",s=R(),a=E("span"),f=Fe(c),d=R(),Ce&&Ce.c(),h=R(),q&&q.c(),_=R(),x&&x.c(),g=R(),ce&&ce.c(),w=R(),ae&&ae.c(),b=R(),We&&We.c(),C=R(),Oe&&Oe.c(),k=R(),y=E("div"),V=E("div"),V.textContent="Dropped",Q=R(),A=E("span"),z=Fe(t[2]),se=Fe(" / "),re=Fe(t[1]),Z=Fe(" frames"),Y=R(),Ve&&Ve.c(),O=R(),Ae&&Ae.c(),J=R(),L=E("div"),B=E("div"),B.textContent="FPS",te=R(),U(P.$$.fragment),ee=R(),Pe=E("span"),ye=Fe(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(o,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(V,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(l,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",G("aria_label_debug_panel")),M(e,"container-mobile",t[7])},m(ue,he){T(ue,e,he),p(e,i),p(e,n),p(e,l),p(l,r),p(r,o),p(r,s),p(r,a),p(a,f),p(l,d),Ce&&Ce.m(l,null),p(l,h),q&&q.m(l,null),p(l,_),x&&x.m(l,null),p(l,g),ce&&ce.m(l,null),p(l,w),ae&&ae.m(l,null),p(l,b),We&&We.m(l,null),p(l,C),Oe&&Oe.m(l,null),p(l,k),p(l,y),p(y,V),p(y,Q),p(y,A),p(A,z),p(A,se),p(A,re),p(A,Z),p(l,Y),Ve&&Ve.m(l,null),p(l,O),Ae&&Ae.m(l,null),p(l,J),p(l,L),p(L,B),p(L,te),F(P,L,null),p(L,ee),p(L,Pe),p(Pe,ye),Ie=!0,Re||(_e=ve(i,"click",st(t[9])),Re=!0)},p(ue,[he]){(!Ie||he&1)&&c!==(c=ue[0].version+"")&&it(f,c),ue[0].id?Ce?Ce.p(ue,he):(Ce=ys(ue),Ce.c(),Ce.m(l,h)):Ce&&(Ce.d(1),Ce=null),ue[0].provider?q?q.p(ue,he):(q=Cs(ue),q.c(),q.m(l,_)):q&&(q.d(1),q=null),ue[0].viewport?x?x.p(ue,he):(x=Ss(ue),x.c(),x.m(l,g)):x&&(x.d(1),x=null),ue[0].videoSize?ce?ce.p(ue,he):(ce=Ts(ue),ce.c(),ce.m(l,w)):ce&&(ce.d(1),ce=null),ue[0].cdn?ae?ae.p(ue,he):(ae=Ps(ue),ae.c(),ae.m(l,b)):ae&&(ae.d(1),ae=null),ue[0].volume?We?We.p(ue,he):(We=Es(ue),We.c(),We.m(l,C)):We&&(We.d(1),We=null),ue[0].buffer?Oe?Oe.p(ue,he):(Oe=Is(ue),Oe.c(),Oe.m(l,k)):Oe&&(Oe.d(1),Oe=null),(!Ie||he&4)&&it(z,ue[2]),(!Ie||he&2)&&it(re,ue[1]),ue[0].speed?Ve?(Ve.p(ue,he),he&1&&m(Ve,1)):(Ve=As(ue),Ve.c(),m(Ve,1),Ve.m(l,O)):Ve&&(de(),v(Ve,1,1,()=>{Ve=null}),me()),ue[0].bitrate?Ae?(Ae.p(ue,he),he&1&&m(Ae,1)):(Ae=Ls(ue),Ae.c(),m(Ae,1),Ae.m(l,J)):Ae&&(de(),v(Ae,1,1,()=>{Ae=null}),me());const le={};he&16&&(le.values=ue[4]),P.$set(le),(!Ie||he&8)&&it(ye,ue[3]),(!Ie||he&128)&&M(e,"container-mobile",ue[7])},i(ue){Ie||(m(Ve),m(Ae),m(P.$$.fragment,ue),Ie=!0)},o(ue){v(Ve),v(Ae),v(P.$$.fragment,ue),Ie=!1},d(ue){ue&&S(e),Ce&&Ce.d(),q&&q.d(),x&&x.d(),ce&&ce.d(),ae&&ae.d(),We&&We.d(),Oe&&Oe.d(),Ve&&Ve.d(),Ae&&Ae.d(),H(P),Re=!1,_e()}}}function rp(t,e,i){let n;const l=Tt(),r=l.ui.debugPanelVisible,o=l.ui.isMobile;D(t,o,y=>i(7,n=y));const s=()=>{ie.safeStorage.remove(xl),r.set(!1)};let a=l.actions.internal.getDebugPanelData(),c=l.actions.internal.getVideoElement(),f=0,d=0,h=0;const _=new Ul(60),g=new Ul(60),w=new Ul(60);let b=[],C=[],k=[];return dn(()=>{ie.safeStorage.set(xl,"true"),l.actions.internal.startLogging(),c&&(i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=l.actions.internal.getDebugPanelData())},500);let V;return c&&(V=window.setInterval(()=>{if(c){i(2,d=c.getVideoPlaybackQuality().droppedVideoFrames);const Q=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=Q-f),i(1,f=Q),_.push(h),a.speed&&g.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,b=_.getValuesFromBottom()),i(5,C=g.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{l.actions.internal.stopLogging(),clearInterval(y),V&&clearInterval(V)}}),[a,f,d,h,b,C,k,n,o,s]}class Ec extends ke{constructor(e){super(),we(this,e,rp,lp,be,{},op)}}function sp(t){Ke(t,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function ap(t){let e,i,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(l,r){T(l,e,r),i||(n=ve(e,"click",st(t[0])),i=!0)},p:K,i:K,o:K,d(l){l&&S(e),i=!1,n()}}}function up(t){function e(i){to.call(this,t,i)}return[e]}class cp extends ke{constructor(e){super(),we(this,e,up,ap,be,{},sp)}}function fp(t){Ke(t,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
+ }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function dp(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("canvas"),n=R(),l=N("svg"),r=N("g"),o=N("g"),s=N("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(o,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(l,"class","timer-play-icon v-8jhsry"),u(l,"viewBox","0 0 24 24"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),p(e,i),t[2](i),p(e,n),p(e,l),p(l,r),p(r,o),p(o,s)},p:K,i:K,o:K,d(a){a&&S(e),t[2](null)}}}const mp=5e3;function pp(t,e,i){let{onTimerEnded:n=ie.noop}=e,l;dn(()=>{let o;const s=l.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/mp;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),o=requestAnimationFrame(c)):n()};return o=requestAnimationFrame(c),()=>{cancelAnimationFrame(o)}});function r(o){Se[o?"unshift":"push"](()=>{l=o,i(0,l)})}return t.$$set=o=>{"onTimerEnded"in o&&i(1,n=o.onTimerEnded)},[l,n,r]}class hp extends ke{constructor(e){super(),we(this,e,pp,dp,be,{onTimerEnded:1},fp)}}function vp(t){Ke(t,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Vs(t){let e,i;return e=new hp({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gp(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;s=new cp({}),s.$on("click",t[4]);let A=t[3]&&Vs(t);return{c(){e=E("div"),i=R(),n=E("div"),l=E("div"),r=E("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",o=R(),U(s.$$.fragment),a=R(),c=E("div"),f=E("div"),d=E("div"),h=E("div"),_=R(),A&&A.c(),w=R(),b=E("div"),C=E("div"),k=Fe(t[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(l,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(d,"class","thumb v-kisfwc"),u(d,"style",g=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(b,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(z,se){T(z,e,se),T(z,i,se),T(z,n,se),p(n,l),p(l,r),p(l,o),F(s,l,null),p(n,a),p(n,c),p(c,f),p(f,d),p(d,h),p(d,_),A&&A.m(d,null),p(c,w),p(c,b),p(b,C),p(C,k),y=!0,V||(Q=ve(c,"click",function(){En(t[2])&&t[2].apply(this,arguments)}),V=!0)},p(z,[se]){t=z,t[3]?A?(A.p(t,se),se&8&&m(A,1)):(A=Vs(t),A.c(),m(A,1),A.m(d,null)):A&&(de(),v(A,1,1,()=>{A=null}),me()),(!y||se&2&&g!==(g=`background-image: url('${t[1]}')`))&&u(d,"style",g),(!y||se&1)&&it(k,t[0])},i(z){y||(m(s.$$.fragment,z),m(A),y=!0)},o(z){v(s.$$.fragment,z),v(A),y=!1},d(z){z&&(S(e),S(i),S(n)),H(s),A&&A.d(),V=!1,Q()}}}function bp(t,e,i){let{title:n}=e,{thumb:l}=e,{playNextVideo:r}=e,o=!0;const s=()=>i(3,o=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,l=a.thumb),"playNextVideo"in a&&i(2,r=a.playNextVideo)},[n,l,r,o,s]}class _p extends ke{constructor(e){super(),we(this,e,bp,gp,be,{title:0,thumb:1,playNextVideo:2},vp)}}const Ic=(t,e)=>Math.min(+(t+e).toFixed(2),1),Ac=(t,e)=>Math.max(+(t-e).toFixed(2),0),Lc=(t,e,i)=>{const n=Ic(e,i);e<1&&t.actions.internal.setVolume(n)},Vc=(t,e,i)=>{const n=Ac(e,i);e>0&&t.actions.internal.setVolume(n)};function wp(t){Ke(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function kp(t){let e,i,n,l;const r=t[22].default,o=Fn(r,t,t[21],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player"))},m(s,a){T(s,e,a),o&&o.m(e,null),t[23](e),i=!0,n||(l=[ve(e,"keyup",t[13]),ve(e,"keydown",t[12])],n=!0)},p(s,a){o&&o.p&&(!i||a[0]&2097152)&&Un(o,r,s,s[21],i?Hn(r,s[21],a,null):qn(s[21]),null)},i(s){i||(m(o,s),i=!0)},o(s){v(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[23](null),n=!1,lt(l)}}}function yp(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,{$$slots:g={},$$scope:w}=e,{isAds:b}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:V}=e,{fakePlayButtonHandler:Q}=e;const A=Tt(),z=bn(),se=A.getLogger().createComponentLog("KeyboardControls component"),re=A.state.playbackState$;D(t,re,ae=>i(27,l=ae));const Z=A.ads.playbackState;D(t,Z,ae=>i(26,n=ae));const Y=A.state.positionExact$;D(t,Y,ae=>i(33,f=ae));const O=A.state.duration$;D(t,O,ae=>i(32,c=ae));const J=A.state.volume$;D(t,J,ae=>i(36,_=ae));const L=A.ui.controls.disabledControls$;D(t,L,ae=>i(31,a=ae));const B=A.state.muted$;D(t,B,ae=>i(29,o=ae));const te=A.state.currentSubtitle$;D(t,te,ae=>i(28,r=ae));const P=A.state.currentPlaybackRate$;D(t,P,ae=>i(34,d=ae));const ee=A.state.availablePlaybackRates$;D(t,ee,ae=>i(35,h=ae));const Pe=A.state.isEnded$;D(t,Pe,ae=>i(30,s=ae));let ye=0,Ie=!0,Re;const _e=()=>Re==null?void 0:Re.focus(),Ce=ae=>(ae!==Ie&&(Ie=ae,ye=0),ye+=1,(z.controls.seekStepKeyboard+z.controls.seekStepKeyboard*ye)/1e3),q=ae=>{var Ge;const We=ae.target,Oe=(Ge=We==null?void 0:We.getAttribute("role"))==null?void 0:Ge.includes("menuitem"),Ve=We.classList.contains("btn"),Ae=ae.code;if(Ve&&Ae===Ee.Space)return;const ue=C0.has(Ae);if(Oe&&ue)return;const he=!y0.has(Ae);if(ae.ctrlKey&&he||ae.altKey&&he||ae.metaKey)return;const le=Oe&&Ae===Ee.Escape;S0.has(Ae)||le||C();const Le=l===tt.PlaybackState.PLAYING||l===tt.PlaybackState.PAUSED,pe=b&&(n===xt.PAUSED||n===xt.PLAYING),Te=!pe&&!a.has(dt.TIMELINE);if(Le||pe)switch(se({message:`key down, code: ${Ae}`}),Ae){case Ee.KeyJ:case Ee.ArrowLeft:{if(!Te)break;if(ae.ctrlKey||ae.altKey){const Ne=A.actions.internal.getPrevEpisode();A.actions.internal.seekToPrevEpisode(Ne),Ne&&y({type:Qe.EPISODE_PREV,text:Ne.text}),ae.preventDefault()}else{const Ne=ae.shiftKey?Ce(!1):z.controls.seekStepKeyboard/1e3,Je=Math.max(f-Ne,0);f>0&&(A.actions.internal.seekTime(Je,St.SeekAction.DOUBLE_TAP),y({type:Qe.BACKWARD_SEEK,text:Ne.toString()}),ae.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!Te)break;if(ae.ctrlKey||ae.altKey){const Ne=A.actions.internal.getNextEpisode();A.actions.internal.seekToNextEpisode(Ne),Ne&&y({type:Qe.EPISODE_NEXT,text:Ne.text}),ae.preventDefault()}else{const Ne=ae.shiftKey?Ce(!0):z.controls.seekStepKeyboard/1e3,Je=Math.min(f+Ne,c);Math.round(f)<Math.round(c)&&(A.actions.internal.seekTime(Je,St.SeekAction.DOUBLE_TAP),y({type:Qe.FORWARD_SEEK,text:Ne.toString()}),ae.preventDefault())}break}case Ee.ArrowUp:{const Ne=_,Je=z.controls.volumeStepKeyboard,xe=Ne<=1;if(Lc(A,Ne,Je),xe){const rt=Math.round(Ic(Ne,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:rt}})}ae.preventDefault();break}case Ee.ArrowDown:{const Ne=_,Je=z.controls.volumeStepKeyboard,xe=Ne>=0;if(Vc(A,Ne,Je),xe){const rt=Math.round(Ac(Ne,Je)*100).toString();y({type:Qe.VOLUME,t:{key:"hotkey_helper_current_volume",value:rt}})}ae.preventDefault();break}case Ee.Comma:{if(ae.shiftKey){A.actions.internal.decrementPlaybackRate();const Ne=h.find(Je=>Je.value===d);y({type:Qe.RATE_DOWN,text:Ne==null?void 0:Ne.displayValue}),ae.preventDefault()}else{if(pe||l!==tt.PlaybackState.PAUSED)break;const Ne=Math.max(f-z.controls.seekStepFrame/1e3,0);f>0&&(y({type:Qe.BACKWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Ne,St.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ee.Period:{if(ae.shiftKey){A.actions.internal.incrementPlaybackRate();const Ne=h.find(Je=>Je.value===d);y({type:Qe.RATE_UP,text:Ne==null?void 0:Ne.displayValue}),ae.preventDefault()}else{if(pe||l!==tt.PlaybackState.PAUSED)break;const Ne=Math.min(f+z.controls.seekStepFrame/1e3,c);f<c&&(y({type:Qe.FORWARD_SEEK}),A.actions.internal.clearDelayedBufferingCheckTimeout(),A.actions.internal.seekTime(Ne,St.SeekAction.DOUBLE_TAP),ae.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(dt.PLAY_BUTTON))if(Q)Q();else{A.actions.internal.togglePlay();let Ne=Qe.PLAY;l===tt.PlaybackState.PAUSED?Ne=Qe.PAUSE:s&&(Ne=Qe.REPLAY),y({type:Ne})}ae.preventDefault();break;case Ee.KeyM:{y({type:o?Qe.VOLUME:Qe.MUTE}),A.actions.internal.toggleMuted(),ae.preventDefault();break}case Ee.KeyF:k(),ae.preventDefault();break;case Ee.KeyC:A.actions.internal.toggleSubtitle(),r.value!=="off"?y({type:Qe.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):y({type:Qe.SUBTITLES_OFF}),ae.preventDefault();break;case Ee.KeyI:A.actions.internal.togglePictureInPicture(),ae.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:y(),A.actions.internal.seekToPercent(.1,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:y(),A.actions.internal.seekToPercent(.2,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:y(),A.actions.internal.seekToPercent(.3,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:y(),A.actions.internal.seekToPercent(.4,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:y(),A.actions.internal.seekToPercent(.5,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:y(),A.actions.internal.seekToPercent(.6,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:y(),A.actions.internal.seekToPercent(.7,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:y(),A.actions.internal.seekToPercent(.8,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:y(),A.actions.internal.seekToPercent(.9,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:y(),A.actions.internal.seekToPercent(0,St.SeekAction.DOUBLE_TAP),ae.preventDefault();break;case Ee.Slash:{ae.shiftKey&&z.features.hotKeyMapModal&&(V(),ae.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:ae.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:ie.checkNever(Ae);break}},x=ae=>{const We=ae.code;if(ae.ctrlKey||ae.altKey||ae.metaKey)return;const Oe=l===tt.PlaybackState.PLAYING||l===tt.PlaybackState.PAUSED,Ve=b&&(n===xt.PAUSED||n===xt.PLAYING);if(Oe||Ve)switch(We){case Ee.ShiftLeft:case Ee.ShiftRight:ye=0;break}};function ce(ae){Se[ae?"unshift":"push"](()=>{Re=ae,i(0,Re)})}return t.$$set=ae=>{"isAds"in ae&&i(14,b=ae.isAds),"hideContextMenu"in ae&&i(15,C=ae.hideContextMenu),"toggleFullscreen"in ae&&i(16,k=ae.toggleFullscreen),"showHotKeyHelpers"in ae&&i(17,y=ae.showHotKeyHelpers),"showKeyMap"in ae&&i(18,V=ae.showKeyMap),"fakePlayButtonHandler"in ae&&i(19,Q=ae.fakePlayButtonHandler),"$$scope"in ae&&i(21,w=ae.$$scope)},[Re,re,Z,Y,O,J,L,B,te,P,ee,Pe,q,x,b,C,k,y,V,Q,_e,w,g,ce]}class Cp extends ke{constructor(e){super(),we(this,e,yp,kp,be,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},wp,[-1,-1])}get focus(){return this.$$.ctx[20]}}function Sp(t){Ke(t,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Tp(t){let e;return{c(){e=E("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(i,n){T(i,e,n)},p:K,i:K,o:K,d(i){i&&S(e)}}}class Mc extends ke{constructor(e){super(),we(this,e,null,Tp,be,{},Sp)}}function Pp(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(l,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(o,"id","a"),u(o,"x",".5"),u(o,"y",".5"),u(o,"width","23"),u(o,"height","23"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(g,w){T(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p:K,i:K,o:K,d(g){g&&S(e)}}}class Ep extends ke{constructor(e){super(),we(this,e,null,Pp,be,{})}}function Ip(t){Ke(t,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function Ap(t){let e,i,n,l,r,o,s,a,c,f,d,h;const _=t[14].default,g=Fn(_,t,t[13],null);return{c(){var w,b,C,k,y,V;e=E("button"),g&&g.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=l=(w=t[3])!=null?w:null,u(e,"aria-hidden",r=(b=t[5])!=null?b:null),u(e,"aria-label",o=(C=t[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=t[7])!=null?k:null),u(e,"aria-expanded",a=(y=t[8])!=null?y:null),u(e,"data-testid",c=(V=t[4])!=null?V:null),u(e,"tabindex",t[9])},m(w,b){T(w,e,b),g&&g.m(e,null),t[16](e),f=!0,d||(h=[ve(e,"pointerdown",st($t(t[15]))),ve(e,"click",st($t(function(){En(t[10]===ie.noop?null:t[10])&&(t[10]===ie.noop?null:t[10]).apply(this,arguments)}))),ve(e,"focus",$t(function(){En(t[11]===ie.noop?null:t[11])&&(t[11]===ie.noop?null:t[11]).apply(this,arguments)})),ve(e,"blur",$t(function(){En(t[12]===ie.noop?null:t[12])&&(t[12]===ie.noop?null:t[12]).apply(this,arguments)}))],d=!0)},p(w,[b]){var C,k,y,V,Q,A;t=w,g&&g.p&&(!f||b&8192)&&Un(g,_,t,t[13],f?Hn(_,t[13],b,null):qn(t[13]),null),(!f||b&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||b&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||b&8&&l!==(l=(C=t[3])!=null?C:null))&&(e.disabled=l),(!f||b&32&&r!==(r=(k=t[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||b&64&&o!==(o=(y=t[6])!=null?y:null))&&u(e,"aria-label",o),(!f||b&128&&s!==(s=(V=t[7])!=null?V:null))&&u(e,"aria-keyshortcuts",s),(!f||b&256&&a!==(a=(Q=t[8])!=null?Q:null))&&u(e,"aria-expanded",a),(!f||b&16&&c!==(c=(A=t[4])!=null?A:null))&&u(e,"data-testid",c),(!f||b&512)&&u(e,"tabindex",t[9])},i(w){f||(m(g,w),f=!0)},o(w){v(g,w),f=!1},d(w){w&&S(e),g&&g.d(w),t[16](null),d=!1,lt(h)}}}function Lp(t,e,i){let{$$slots:n={},$$scope:l}=e,{className:r=""}=e,{style:o=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:d=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:g=0}=e,{click:w=ie.noop}=e,{focus:b=ie.noop}=e,{blur:C=ie.noop}=e;function k(V){to.call(this,t,V)}function y(V){Se[V?"unshift":"push"](()=>{d=V,i(0,d)})}return t.$$set=V=>{"className"in V&&i(1,r=V.className),"style"in V&&i(2,o=V.style),"disabled"in V&&i(3,s=V.disabled),"testId"in V&&i(4,a=V.testId),"ariaHidden"in V&&i(5,c=V.ariaHidden),"ariaLabel"in V&&i(6,f=V.ariaLabel),"ref"in V&&i(0,d=V.ref),"ariaKeyShortCut"in V&&i(7,h=V.ariaKeyShortCut),"ariaExpanded"in V&&i(8,_=V.ariaExpanded),"tabIndex"in V&&i(9,g=V.tabIndex),"click"in V&&i(10,w=V.click),"focus"in V&&i(11,b=V.focus),"blur"in V&&i(12,C=V.blur),"$$scope"in V&&i(13,l=V.$$scope)},[d,r,o,s,a,c,f,h,_,g,w,b,C,l,n,k,y]}class Ti extends ke{constructor(e){super(),we(this,e,Lp,Ap,be,{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},Ip)}}function Vp(t){Ke(t,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Ms(t){let e,i,n,l,r,o=t[2]&&Bs(t);return{c(){e=E("div"),i=E("h3"),n=Fe(t[3]),l=R(),o&&o.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){T(s,e,a),p(e,i),p(i,n),p(e,l),o&&o.m(e,null),r=!0},p(s,a){(!r||a&8)&&it(n,s[3]),s[2]?o?(o.p(s,a),a&4&&m(o,1)):(o=Bs(s),o.c(),m(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me())},i(s){r||(m(o),r=!0)},o(s){v(o),r=!1},d(s){s&&S(e),o&&o.d()}}}function Bs(t){let e,i;return e=new Ti({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:G("hotkey_map_modal_close_btn_text"),$$slots:{default:[Mp]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.click=n[0]),l&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mp(t){let e,i;return e=new Ep({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Bp(t){let e,i,n,l,r,o,s=t[1]&&Ms(t);const a=t[4].default,c=Fn(a,t,t[5],null);return{c(){e=E("div"),i=E("div"),s&&s.c(),n=R(),l=E("div"),r=E("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(l,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,d){T(f,e,d),p(e,i),s&&s.m(i,null),p(i,n),p(i,l),p(l,r),c&&c.m(r,null),o=!0},p(f,[d]){f[1]?s?(s.p(f,d),d&2&&m(s,1)):(s=Ms(f),s.c(),m(s,1),s.m(i,n)):s&&(de(),v(s,1,1,()=>{s=null}),me()),c&&c.p&&(!o||d&32)&&Un(c,a,f,f[5],o?Hn(a,f[5],d,null):qn(f[5]),null)},i(f){o||(m(s),m(c,f),o=!0)},o(f){v(s),v(c,f),o=!1},d(f){f&&S(e),s&&s.d(),c&&c.d(f)}}}function Np(t,e,i){let{$$slots:n={},$$scope:l}=e,{onClose:r}=e,{showHeader:o=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,r=c.onClose),"showHeader"in c&&i(1,o=c.showHeader),"showCloseCross"in c&&i(2,s=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,l=c.$$scope)},[r,o,s,a,n,l]}class Rp extends ke{constructor(e){super(),we(this,e,Np,Bp,be,{onClose:0,showHeader:1,showCloseCross:2,title:3},Vp)}}const Op=new Set(["BR"]),Ns=t=>{var e;const i=document.createElement("DIV");i.innerHTML=t;const n=i.querySelectorAll("*");let l=n.length;for(;l--;){const r=n[l],o=r.tagName;Op.has(o)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return i.innerHTML};function Dp(t){Ke(t,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Rs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Os(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Ds(t){let e,i,n=Ns(t[9])+"",l,r,o=t[10]+"",s,a;return{c(){e=E("li"),i=E("span"),l=R(),r=E("span"),s=Fe(o),a=R(),u(i,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),p(e,i),i.innerHTML=n,p(e,l),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Ns(c[9])+"")&&(i.innerHTML=n),f&1&&o!==(o=c[10]+"")&&it(s,o)},d(c){c&&S(e)}}}function zs(t){let e,i,n=t[5]+"",l,r,o,s,a=Kt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Ds(Os(t,a,f));return{c(){e=E("div"),i=E("h5"),l=Fe(n),r=R(),o=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=R(),u(i,"class","hot-key-map-group-title v-quklnq"),u(o,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,d){T(f,e,d),p(e,i),p(i,l),p(e,r),p(e,o);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(o,null);p(e,s)},p(f,d){if(d&1&&n!==(n=f[5]+"")&&it(l,n),d&1){a=Kt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=Os(f,a,h);c[h]?c[h].p(_,d):(c[h]=Ds(_),c[h].c(),c[h].m(o,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),In(c,f)}}}function zp(t){let e,i=Kt(t[0].groups),n=[];for(let l=0;l<i.length;l+=1)n[l]=zs(Rs(t,i,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","hot-key-map v-quklnq")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,r){if(r&1){i=Kt(l[0].groups);let o;for(o=0;o<i.length;o+=1){const s=Rs(l,i,o);n[o]?n[o].p(s,r):(n[o]=zs(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),In(n,l)}}}function Fp(t){let e,i;return e=new Rp({props:{title:t[0].title,onClose:t[2],$$slots:{default:[zp]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.title=n[0].title),l&8193&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Hp(t,e,i){let n;const l=Tt(),{data:r,show:o}=l.ui.modals.hotKeyMap;return D(t,r,a=>i(0,n=a)),[n,r,()=>{o.set(!1)}]}class Up extends ke{constructor(e){super(),we(this,e,Hp,Fp,be,{},Dp)}}function qp(t){Ke(t,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function jp(t){let e,i;const n=t[1].default,l=Fn(n,t,t[0],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","pillow v-1oe0j8n")},m(r,o){T(r,e,o),l&&l.m(e,null),i=!0},p(r,[o]){l&&l.p&&(!i||o&1)&&Un(l,n,r,r[0],i?Hn(n,r[0],o,null):qn(r[0]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r)}}}function Wp(t,e,i){let{$$slots:n={},$$scope:l}=e;return t.$$set=r=>{"$$scope"in r&&i(0,l=r.$$scope)},[l,n]}class Zp extends ke{constructor(e){super(),we(this,e,Wp,jp,be,{},qp)}}function Kp(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Gp extends ke{constructor(e){super(),we(this,e,null,Kp,be,{})}}function Yp(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Qp extends ke{constructor(e){super(),we(this,e,null,Yp,be,{})}}function Xp(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Jp extends ke{constructor(e){super(),we(this,e,null,Xp,be,{})}}function xp(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Bc extends ke{constructor(e){super(),we(this,e,null,xp,be,{})}}function $p(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class Nc extends ke{constructor(e){super(),we(this,e,null,$p,be,{})}}const So=t=>{switch(t){case tt.VideoQuality.Q_720P:return Jp;case tt.VideoQuality.Q_1080P:return Bc;case tt.VideoQuality.Q_1440P:return Nc;case tt.VideoQuality.Q_2160P:return Gp;case tt.VideoQuality.Q_4320P:return Qp}};function e3(t){Ke(t,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function t3(t){let e,i,n,l,r,o,s=t[1]&&Fs(t);return{c(){e=E("div"),s&&s.c(),i=R(),n=N("svg"),l=N("path"),r=N("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(l,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),M(r,"hidden",!!t[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),M(e,"triple",t[2])},m(a,c){T(a,e,c),s&&s.m(e,null),p(e,i),p(e,n),p(n,l),p(n,r),o=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=Fs(a),s.c(),m(s,1),s.m(e,i)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!o||c&2)&&M(r,"hidden",!!a[1]),(!o||c&4)&&M(e,"triple",a[2])},i(a){o||(m(s),o=!0)},o(a){v(s),o=!1},d(a){a&&S(e),s&&s.d()}}}function i3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}function Fs(t){let e,i;return e=new Zp({props:{$$slots:{default:[n3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&18&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n3(t){let e,i,n;var l=t[1];function r(o){return{}}return l&&(e=Bn(l,r())),{c(){e&&U(e.$$.fragment),i=ht()},m(o,s){e&&F(e,o,s),T(o,i,s),n=!0},p(o,s){if(s&2&&l!==(l=o[1])){if(e){de();const a=e;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(e=Bn(l,r()),U(e.$$.fragment),m(e.$$.fragment,1),F(e,i.parentNode,i)):e=null}},i(o){n||(e&&m(e.$$.fragment,o),n=!0)},o(o){e&&v(e.$$.fragment,o),n=!1},d(o){o&&S(i),e&&H(e,o)}}}function o3(t){let e,i,n,l;const r=[i3,t3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function l3(t,e,i){let n,{isMobile:l=!1}=e,{currentQuality:r=void 0}=e,o;return t.$$set=s=>{"isMobile"in s&&i(0,l=s.isMobile),"currentQuality"in s&&i(3,r=s.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=So(r)),t.$$.dirty&2&&i(2,o=!!n&&[Bc,Nc].includes(n))},[l,n,o,r]}class Rc extends ke{constructor(e){super(),we(this,e,l3,o3,be,{isMobile:0,currentQuality:3},e3)}}function r3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Oc extends ke{constructor(e){super(),we(this,e,null,r3,be,{})}}function s3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class a3 extends ke{constructor(e){super(),we(this,e,null,s3,be,{})}}function u3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class c3 extends ke{constructor(e){super(),we(this,e,null,u3,be,{})}}function f3(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(l,"fill","#fff"),u(l,"fill-rule","nonzero"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class d3 extends ke{constructor(e){super(),we(this,e,null,f3,be,{})}}function m3(t){Ke(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function p3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),M(e,"reverted",t[2])},m(l,r){T(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&S(e)}}}function h3(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),M(e,"reverted",t[2])},m(l,r){T(l,e,r),p(e,i)},p(l,r){r&1&&u(i,"fill",l[0]),r&4&&n!==(n=l[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&M(e,"reverted",l[2])},d(l){l&&S(e)}}}function v3(t){let e;function i(r,o){return r[1]?h3:p3}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function g3(t,e,i){let{direction:n="left"}=e,{color:l="#fff"}=e,r,o;return t.$$set=s=>{"direction"in s&&i(3,n=s.direction),"color"in s&&i(0,l=s.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,r=["up","down"].includes(n)),i(2,o=["right","down"].includes(n)))},[l,r,o,n]}class Xn extends ke{constructor(e){super(),we(this,e,g3,v3,be,{direction:3,color:0},m3)}}function b3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class _3 extends ke{constructor(e){super(),we(this,e,null,b3,be,{})}}function w3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Wo extends ke{constructor(e){super(),we(this,e,null,w3,be,{})}}function k3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class y3 extends ke{constructor(e){super(),we(this,e,null,k3,be,{})}}function C3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class S3 extends ke{constructor(e){super(),we(this,e,null,C3,be,{})}}function T3(t){Ke(t,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function Hs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Us(t,e,i){const n=t.slice();return n[145]=e[i],n}function qs(t,e,i){const n=t.slice();return n[148]=e[i],n}function js(t){let e,i,n,l,r,o,s,a,c,f,d,h=t[8]&&Ws(t),_=t[28]&&Zs(t),g=t[27]&&Gs(t),w=t[26]&&Ys(t),b=t[25]&&Qs(t),C=t[24]&&Xs(t),k=t[8]&&Js(t);return{c(){e=E("div"),h&&h.c(),i=R(),n=E("ul"),_&&_.c(),l=R(),g&&g.c(),r=R(),w&&w.c(),o=R(),b&&b.c(),s=R(),C&&C.c(),a=R(),k&&k.c(),u(n,"class","items v-5r0p3"),u(n,"role","menu"),M(n,"items-mobile",t[8]),u(e,"class","menu v-5r0p3"),M(e,"menu-desktop",!t[8]),M(e,"menu-mobile",t[8]),M(e,"hidden",!t[15])},m(y,V){T(y,e,V),h&&h.m(e,null),p(e,i),p(e,n),_&&_.m(n,null),p(n,l),g&&g.m(n,null),p(n,r),w&&w.m(n,null),p(n,o),b&&b.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(d=[ve(e,"keydown",t[79]),ve(e,"mouseenter",t[73]),ve(e,"mouseleave",t[74])],f=!0)},p(y,V){y[8]?h?h.p(y,V):(h=Ws(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[28]?_?(_.p(y,V),V[0]&268435456&&m(_,1)):(_=Zs(y),_.c(),m(_,1),_.m(n,l)):_&&(de(),v(_,1,1,()=>{_=null}),me()),y[27]?g?(g.p(y,V),V[0]&134217728&&m(g,1)):(g=Gs(y),g.c(),m(g,1),g.m(n,r)):g&&(de(),v(g,1,1,()=>{g=null}),me()),y[26]?w?(w.p(y,V),V[0]&67108864&&m(w,1)):(w=Ys(y),w.c(),m(w,1),w.m(n,o)):w&&(de(),v(w,1,1,()=>{w=null}),me()),y[25]?b?(b.p(y,V),V[0]&33554432&&m(b,1)):(b=Qs(y),b.c(),m(b,1),b.m(n,s)):b&&(de(),v(b,1,1,()=>{b=null}),me()),y[24]?C?(C.p(y,V),V[0]&16777216&&m(C,1)):(C=Xs(y),C.c(),m(C,1),C.m(n,a)):C&&(de(),v(C,1,1,()=>{C=null}),me()),y[8]?k?(k.p(y,V),V[0]&256&&m(k,1)):(k=Js(y),k.c(),m(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!c||V[0]&256)&&M(n,"items-mobile",y[8]),(!c||V[0]&256)&&M(e,"menu-desktop",!y[8]),(!c||V[0]&256)&&M(e,"menu-mobile",y[8]),(!c||V[0]&32768)&&M(e,"hidden",!y[15])},i(y){c||(m(_),m(g),m(w),m(b),m(C),m(k),c=!0)},o(y){v(_),v(g),v(w),v(b),v(C),v(k),c=!1},d(y){y&&S(e),h&&h.d(),_&&_.d(),g&&g.d(),w&&w.d(),b&&b.d(),C&&C.d(),k&&k.d(),t[116](null),f=!1,lt(d)}}}function Ws(t){let e,i,n,l,r,o,s,a;return{c(){e=E("div"),i=E("div"),i.textContent=`${G("submenu_settings")}`,n=R(),l=E("div"),r=R(),o=E("div"),u(l,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),M(e,"item-mobile",t[8]),u(o,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),p(e,i),p(e,n),p(e,l),T(c,r,f),T(c,o,f),s||(a=ve(l,"click",st(t[59])),s=!0)},p(c,f){f[0]&256&&M(e,"item-mobile",c[8])},d(c){c&&(S(e),S(r),S(o)),s=!1,a()}}}function Zs(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;n=new Rc({});let g=t[36]&&!t[8]&&Ks(t);return{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_quality")}`,o=R(),s=E("div"),a=Fe(t[20]),c=R(),g&&g.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",t[8])},m(w,b){T(w,e,b),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),g&&g.m(s,null),t[112](e),d=!0,h||(_=[ve(e,"click",st(t[60])),ve(e,"keydown",t[80])],h=!0)},p(w,b){(!d||b[0]&1048576)&&it(a,w[20]),w[36]&&!w[8]?g?(g.p(w,b),b[0]&256|b[1]&32&&m(g,1)):(g=Ks(w),g.c(),m(g,1),g.m(s,null)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!d||b[0]&1073741824&&f!==(f=G("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!d||b[0]&256)&&M(e,"item-mobile",w[8])},i(w){d||(m(n.$$.fragment,w),m(g),d=!0)},o(w){v(n.$$.fragment,w),v(g),d=!1},d(w){w&&S(e),H(n),g&&g.d(),t[112](null),h=!1,lt(_)}}}function Ks(t){let e,i,n;var l=t[36];function r(o){return{}}return l&&(i=Bn(l,r())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(o,s){T(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[1]&32&&l!==(l=o[36])){if(i){de();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(i=Bn(l,r()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&H(i)}}}function Gs(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return n=new d3({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_playback_rate")}`,o=R(),s=E("div"),a=Fe(t[13]),c=Fe("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",t[8])},m(g,w){T(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),p(s,c),t[113](e),d=!0,h||(_=[ve(e,"click",st($t(t[64]))),ve(e,"keydown",t[83])],h=!0)},p(g,w){(!d||w[0]&8192)&&it(a,g[13]),(!d||w[1]&1&&f!==(f=G("aria_label_menu_rate",{actual:g[31]})))&&u(e,"aria-label",f),(!d||w[0]&256)&&M(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&S(e),H(n),t[113](null),h=!1,lt(_)}}}function Ys(t){let e,i,n,l,r,o,s,a=t[37].displayValue+"",c,f,d,h,_;return n=new Oc({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=R(),s=E("div"),c=Fe(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=G("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),M(e,"item-mobile",t[8])},m(g,w){T(g,e,w),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,c),t[114](e),d=!0,h||(_=[ve(e,"click",st(t[66])),ve(e,"keydown",t[86])],h=!0)},p(g,w){(!d||w[1]&64)&&a!==(a=g[37].displayValue+"")&&it(c,a),(!d||w[1]&64&&f!==(f=G("aria_label_menu_subtitle",{actual:g[37].displayValue})))&&u(e,"aria-label",f),(!d||w[0]&256)&&M(e,"item-mobile",g[8])},i(g){d||(m(n.$$.fragment,g),d=!0)},o(g){v(n.$$.fragment,g),d=!1},d(g){g&&S(e),H(n),t[114](null),h=!1,lt(_)}}}function Qs(t){let e,i,n,l,r,o,s,a,c,f,d,h;return n=new c3({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_traffic_saving")}`,o=R(),s=E("div"),a=Fe(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=G("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),M(e,"item-mobile",t[8])},m(_,g){T(_,e,g),p(e,i),F(n,i,null),p(e,l),p(e,r),p(e,o),p(e,s),p(s,a),t[115](e),f=!0,d||(h=[ve(e,"click",st(t[61])),ve(e,"keydown",t[89])],d=!0)},p(_,g){(!f||g[0]&536870912)&&it(a,_[29]),(!f||g[0]&536870912&&c!==(c=G("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||g[0]&256)&&M(e,"item-mobile",_[8])},i(_){f||(m(n.$$.fragment,_),f=!0)},o(_){v(n.$$.fragment,_),f=!1},d(_){_&&S(e),H(n),t[115](null),d=!1,lt(h)}}}function Xs(t){let e,i,n,l,r,o,s,a;return n=new a3({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",G("aria_label_menu_download")),M(e,"item-mobile",t[8])},m(c,f){T(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",st(t[69])),ve(e,"keydown",t[92])],s=!0)},p(c,f){(!o||f[0]&256)&&M(e,"item-mobile",c[8])},i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,lt(a)}}}function Js(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C=t[39].showSupport&&P3(t);return l=new y3({}),f=new S3({}),{c(){C&&C.c(),e=R(),i=E("li"),n=E("div"),U(l.$$.fragment),r=R(),o=E("div"),o.textContent=`${G("menu_copy_debug")}`,s=R(),a=E("li"),c=E("div"),U(f.$$.fragment),d=R(),h=E("div"),h.textContent=`${G("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(o,"class","menu-title v-5r0p3"),u(i,"class","item item-mobile v-5r0p3"),u(i,"role","menuitem"),u(i,"tabindex","0"),u(i,"aria-label",G("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-5r0p3"),u(h,"class","menu-title v-5r0p3"),u(a,"class","item item-mobile v-5r0p3"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=t[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable"))},m(k,y){C&&C.m(k,y),T(k,e,y),T(k,i,y),p(i,n),F(l,n,null),p(i,r),p(i,o),T(k,s,y),T(k,a,y),p(a,c),F(f,c,null),p(a,d),p(a,h),g=!0,w||(b=[ve(i,"click",st(t[71])),ve(i,"keydown",t[94]),ve(a,"click",st(t[72])),ve(a,"keydown",t[95])],w=!0)},p(k,y){k[39].showSupport&&C.p(k,y),(!g||y[1]&128&&_!==(_=k[38]?G("aria_label_menu_debug_overlay_disable"):G("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){g||(m(C),m(l.$$.fragment,k),m(f.$$.fragment,k),g=!0)},o(k){v(C),v(l.$$.fragment,k),v(f.$$.fragment,k),g=!1},d(k){k&&(S(e),S(i),S(s),S(a)),C&&C.d(k),H(l),H(f),w=!1,lt(b)}}}function P3(t){let e,i,n,l,r,o,s,a;return n=new _3({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${G("menu_report")}. ${G("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0,s||(a=[ve(e,"click",st(t[70])),ve(e,"keydown",t[93])],s=!0)},p:K,i(c){o||(m(n.$$.fragment,c),o=!0)},o(c){v(n.$$.fragment,c),o=!1},d(c){c&&S(e),H(n),s=!1,lt(a)}}}function xs(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new Xn({props:{direction:"left"}});let _=Kt(t[12]),g=[];for(let b=0;b<_.length;b+=1)g[b]=ta(qs(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_quality")}`,o=R(),s=E("div"),a=R(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),M(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[21]),M(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!t[8]),M(e,"menu-mobile",t[8])},m(b,C){T(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[117](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[120](c),f=!0,d||(h=[ve(i,"click",st(t[68])),ve(c,"keydown",t[81])],d=!0)},p(b,C){if((!f||C[0]&256)&&M(i,"item-mobile",b[8]),C[0]&4352|C[2]&1048577){_=Kt(b[12]);let k;for(k=0;k<_.length;k+=1){const y=qs(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=ta(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&2097152)&&u(c,"style",b[21]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),t[117](null),In(g,b),t[120](null),d=!1,lt(h)}}}function $s(t){let e,i,n;return i=new Wo({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function ea(t){let e,i,n;var l=So(t[148].value);function r(o){return{}}return l&&(i=Bn(l,r())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(o,s){T(o,e,s),i&&F(i,e,null),n=!0},p(o,s){if(s[0]&4096&&l!==(l=So(o[148].value))){if(i){de();const a=i;v(a.$$.fragment,1,0,()=>{H(a,1)}),me()}l?(i=Bn(l,r()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,null)):i=null}},i(o){n||(i&&m(i.$$.fragment,o),n=!0)},o(o){i&&v(i.$$.fragment,o),n=!1},d(o){o&&S(e),i&&H(i)}}}function ta(t){let e,i,n,l=t[148].displayValue+"",r,o,s=!t[8]&&So(t[148].value),a,c,f,d,h,_,g=t[148].selected&&$s(),w=s&&ea(t);function b(){return t[118](t[148])}function C(...k){return t[119](t[148],...k)}return{c(){e=E("li"),g&&g.c(),i=R(),n=E("div"),r=Fe(l),o=R(),w&&w.c(),a=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=t[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=t[148].displayValue),M(e,"item-mobile",t[8])},m(k,y){T(k,e,y),g&&g.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),w&&w.m(e,null),p(e,a),d=!0,h||(_=[ve(e,"click",st(b)),ve(e,"keydown",C)],h=!0)},p(k,y){t=k,t[148].selected?g?y[0]&4096&&m(g,1):(g=$s(),g.c(),m(g,1),g.m(e,i)):g&&(de(),v(g,1,1,()=>{g=null}),me()),(!d||y[0]&4096)&&l!==(l=t[148].displayValue+"")&&it(r,l),(!d||y[0]&256)&&M(n,"quality-title-mobile",t[8]),y[0]&4352&&(s=!t[8]&&So(t[148].value)),s?w?(w.p(t,y),y[0]&4352&&m(w,1)):(w=ea(t),w.c(),m(w,1),w.m(e,a)):w&&(de(),v(w,1,1,()=>{w=null}),me()),(!d||y[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!d||y[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!d||y[0]&256)&&M(e,"item-mobile",t[8])},i(k){d||(m(g),m(w),d=!0)},o(k){v(g),v(w),d=!1},d(k){k&&S(e),g&&g.d(),w&&w.d(),h=!1,lt(_)}}}function ia(t){let e,i,n,l,r,o,s,a,c,f,d,h;n=new Xn({props:{direction:"left"}});let _=Kt(t[11]),g=[];for(let b=0;b<_.length;b+=1)g[b]=oa(Us(t,_,b));const w=b=>v(g[b],1,1,()=>{g[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_playback_rate")}`,o=R(),s=E("div"),a=R(),c=E("ul");for(let b=0;b<g.length;b+=1)g[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),M(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[22]),M(c,"items-mobile",t[8]),u(e,"class","menu menu-subList v-5r0p3"),M(e,"menu-desktop",!t[8]),M(e,"menu-mobile",t[8])},m(b,C){T(b,e,C),p(e,i),F(n,i,null),p(i,l),p(i,r),t[121](i),p(e,o),p(e,s),p(e,a),p(e,c);for(let k=0;k<g.length;k+=1)g[k]&&g[k].m(c,null);t[124](c),f=!0,d||(h=[ve(i,"click",st(t[68])),ve(c,"keydown",t[84])],d=!0)},p(b,C){if((!f||C[0]&256)&&M(i,"item-mobile",b[8]),C[0]&2304|C[2]&8388616){_=Kt(b[11]);let k;for(k=0;k<_.length;k+=1){const y=Us(b,_,k);g[k]?(g[k].p(y,C),m(g[k],1)):(g[k]=oa(y),g[k].c(),m(g[k],1),g[k].m(c,null))}for(de(),k=_.length;k<g.length;k+=1)w(k);me()}(!f||C[0]&4194304)&&u(c,"style",b[22]),(!f||C[0]&256)&&M(c,"items-mobile",b[8]),(!f||C[0]&256)&&M(e,"menu-desktop",!b[8]),(!f||C[0]&256)&&M(e,"menu-mobile",b[8])},i(b){if(!f){m(n.$$.fragment,b);for(let C=0;C<_.length;C+=1)m(g[C]);f=!0}},o(b){v(n.$$.fragment,b),g=g.filter(Boolean);for(let C=0;C<g.length;C+=1)v(g[C]);f=!1},d(b){b&&S(e),H(n),t[121](null),In(g,b),t[124](null),d=!1,lt(h)}}}function na(t){let e,i,n;return i=new Wo({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function oa(t){let e,i,n,l=t[145].displayValue+"",r,o,s,a,c,f,d,h=t[145].selected&&na();function _(){return t[122](t[145])}function g(...w){return t[123](t[145],...w)}return{c(){e=E("li"),h&&h.c(),i=R(),n=E("div"),r=Fe(l),o=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[145].displayValue),M(e,"item-mobile",t[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[ve(e,"click",st(_)),ve(e,"keydown",g)],f=!0)},p(w,b){t=w,t[145].selected?h?b[0]&2048&&m(h,1):(h=na(),h.c(),m(h,1),h.m(e,i)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&2048)&&l!==(l=t[145].displayValue+"")&&it(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",t[8]),(!c||b[0]&2048&&s!==(s=t[145].value))&&u(e,"data-value",s),(!c||b[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,lt(d)}}}function la(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se;n=new Xn({props:{direction:"left"}});let re=!t[9]&&ra(),Z=t[9]&&sa();return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("submenu_traffic_saving")}`,o=R(),s=E("div"),a=R(),c=E("ul"),f=E("li"),re&&re.c(),d=R(),h=E("div"),h.textContent=`${G("traffic_saving_disable")}`,_=R(),g=E("li"),Z&&Z.c(),w=R(),b=E("div"),b.textContent=`${G("traffic_saving_enable")}`,C=R(),k=E("div"),y=R(),V=E("div"),Q=E("span"),Q.textContent=`${G("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),M(i,"item-mobile",t[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),M(h,"quality-title-mobile",t[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",G("aria_label_submenu_traffic_saving_off")),M(f,"item-mobile",t[8]),u(b,"class","v-5r0p3"),M(b,"quality-title-mobile",t[8]),u(g,"class","item item-traffic-saving v-5r0p3"),u(g,"role","menuitem"),u(g,"tabindex","0"),u(g,"aria-label",`${G("aria_label_submenu_traffic_saving_on")}. ${G("traffic_saving_helper_text")}`),M(g,"item-mobile",t[8]),u(c,"class","items v-5r0p3"),u(c,"role","menu"),u(c,"style",t[23]),M(c,"items-mobile",t[8]),u(k,"class","menu-divider v-5r0p3"),u(Q,"class","v-5r0p3"),u(V,"class","item item-helper-text v-5r0p3"),M(V,"item-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),M(e,"menu-desktop",!t[8]),M(e,"menu-mobile",t[8])},m(Y,O){T(Y,e,O),p(e,i),F(n,i,null),p(i,l),p(i,r),t[125](i),p(e,o),p(e,s),p(e,a),p(e,c),p(c,f),re&&re.m(f,null),p(f,d),p(f,h),p(c,_),p(c,g),Z&&Z.m(g,null),p(g,w),p(g,b),t[130](c),p(e,C),p(e,k),p(e,y),p(e,V),p(V,Q),A=!0,z||(se=[ve(i,"click",st(t[68])),ve(f,"click",st(t[126])),ve(f,"keydown",t[127]),ve(g,"click",st(t[128])),ve(g,"keydown",t[129]),ve(c,"keydown",t[90])],z=!0)},p(Y,O){(!A||O[0]&256)&&M(i,"item-mobile",Y[8]),Y[9]?re&&(de(),v(re,1,1,()=>{re=null}),me()):re?O[0]&512&&m(re,1):(re=ra(),re.c(),m(re,1),re.m(f,d)),(!A||O[0]&256)&&M(h,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&M(f,"item-mobile",Y[8]),Y[9]?Z?O[0]&512&&m(Z,1):(Z=sa(),Z.c(),m(Z,1),Z.m(g,w)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),(!A||O[0]&256)&&M(b,"quality-title-mobile",Y[8]),(!A||O[0]&256)&&M(g,"item-mobile",Y[8]),(!A||O[0]&8388608)&&u(c,"style",Y[23]),(!A||O[0]&256)&&M(c,"items-mobile",Y[8]),(!A||O[0]&256)&&M(V,"item-mobile",Y[8]),(!A||O[0]&256)&&M(e,"menu-desktop",!Y[8]),(!A||O[0]&256)&&M(e,"menu-mobile",Y[8])},i(Y){A||(m(n.$$.fragment,Y),m(re),m(Z),A=!0)},o(Y){v(n.$$.fragment,Y),v(re),v(Z),A=!1},d(Y){Y&&S(e),H(n),t[125](null),re&&re.d(),Z&&Z.d(),t[130](null),z=!1,lt(se)}}}function ra(t){let e,i,n;return i=new Wo({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function sa(t){let e,i,n;return i=new Wo({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function aa(t){let e,i,n,l,r,o,s,a,c,f;n=new Xn({props:{direction:"left"}});let d=Kt(t[10]),h=[];for(let g=0;g<d.length;g+=1)h[g]=ca(Hs(t,d,g));const _=g=>v(h[g],1,1,()=>{h[g]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("div"),r.textContent=`${G("subtitles_caption")}`,o=R(),s=E("ul");for(let g=0;g<h.length;g+=1)h[g].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",G("aria_label_submenu_back")),M(i,"item-mobile",t[8]),u(s,"class","items v-5r0p3"),u(s,"role","menu"),M(s,"items-mobile",t[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),M(e,"menu-desktop",!t[8]),M(e,"menu-mobile",t[8])},m(g,w){T(g,e,w),p(e,i),F(n,i,null),p(i,l),p(i,r),p(e,o),p(e,s);for(let b=0;b<h.length;b+=1)h[b]&&h[b].m(s,null);t[133](s),a=!0,c||(f=[ve(i,"click",st(t[68])),ve(s,"keydown",t[87])],c=!0)},p(g,w){if((!a||w[0]&256)&&M(i,"item-mobile",g[8]),w[0]&1280|w[2]&67108896){d=Kt(g[10]);let b;for(b=0;b<d.length;b+=1){const C=Hs(g,d,b);h[b]?(h[b].p(C,w),m(h[b],1)):(h[b]=ca(C),h[b].c(),m(h[b],1),h[b].m(s,null))}for(de(),b=d.length;b<h.length;b+=1)_(b);me()}(!a||w[0]&256)&&M(s,"items-mobile",g[8]),(!a||w[0]&256)&&M(e,"menu-desktop",!g[8]),(!a||w[0]&256)&&M(e,"menu-mobile",g[8])},i(g){if(!a){m(n.$$.fragment,g);for(let w=0;w<d.length;w+=1)m(h[w]);a=!0}},o(g){v(n.$$.fragment,g),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)v(h[w]);a=!1},d(g){g&&S(e),H(n),In(h,g),t[133](null),c=!1,lt(f)}}}function ua(t){let e,i,n;return i=new Wo({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(l,r){T(l,e,r),F(i,e,null),n=!0},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function ca(t){let e,i,n,l=t[142].displayValue+"",r,o,s,a,c,f,d,h=t[142].selected&&ua();function _(){return t[131](t[142])}function g(...w){return t[132](t[142],...w)}return{c(){e=E("li"),h&&h.c(),i=R(),n=E("div"),r=Fe(l),o=R(),u(n,"class","v-5r0p3"),M(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=t[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=t[142].displayValue),M(e,"item-mobile",t[8])},m(w,b){T(w,e,b),h&&h.m(e,null),p(e,i),p(e,n),p(n,r),p(e,o),c=!0,f||(d=[ve(e,"click",st(_)),ve(e,"keydown",g)],f=!0)},p(w,b){t=w,t[142].selected?h?b[0]&1024&&m(h,1):(h=ua(),h.c(),m(h,1),h.m(e,i)):h&&(de(),v(h,1,1,()=>{h=null}),me()),(!c||b[0]&1024)&&l!==(l=t[142].displayValue+"")&&it(r,l),(!c||b[0]&256)&&M(n,"quality-title-mobile",t[8]),(!c||b[0]&1024&&s!==(s=t[142].value))&&u(e,"data-value",s),(!c||b[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||b[0]&256)&&M(e,"item-mobile",t[8])},i(w){c||(m(h),c=!0)},o(w){v(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,lt(d)}}}function E3(t){let e,i,n,l,r,o,s=t[14]&&js(t),a=t[16]&&xs(t),c=t[17]&&ia(t),f=t[19]&&la(t),d=t[18]&&aa(t);return{c(){e=E("div"),s&&s.c(),i=R(),a&&a.c(),n=R(),c&&c.c(),l=R(),f&&f.c(),r=R(),d&&d.c(),u(e,"class","v-5r0p3"),M(e,"hidden",!t[14]),M(e,"container-mobile",t[8])},m(h,_){T(h,e,_),s&&s.m(e,null),p(e,i),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,l),f&&f.m(e,null),p(e,r),d&&d.m(e,null),o=!0},p(h,_){h[14]?s?(s.p(h,_),_[0]&16384&&m(s,1)):(s=js(h),s.c(),m(s,1),s.m(e,i)):s&&(de(),v(s,1,1,()=>{s=null}),me()),h[16]?a?(a.p(h,_),_[0]&65536&&m(a,1)):(a=xs(h),a.c(),m(a,1),a.m(e,n)):a&&(de(),v(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,_),_[0]&131072&&m(c,1)):(c=ia(h),c.c(),m(c,1),c.m(e,l)):c&&(de(),v(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,_),_[0]&524288&&m(f,1)):(f=la(h),f.c(),m(f,1),f.m(e,r)):f&&(de(),v(f,1,1,()=>{f=null}),me()),h[18]?d?(d.p(h,_),_[0]&262144&&m(d,1)):(d=aa(h),d.c(),m(d,1),d.m(e,null)):d&&(de(),v(d,1,1,()=>{d=null}),me()),(!o||_[0]&16384)&&M(e,"hidden",!h[14]),(!o||_[0]&256)&&M(e,"container-mobile",h[8])},i(h){o||(m(s),m(a),m(c),m(f),m(d),o=!0)},o(h){v(s),v(a),v(c),v(f),v(d),o=!1},d(h){h&&S(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),d&&d.d()}}}const Wl=18;function I3(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,{ref:Y=void 0}=e,{supportLink:O}=e,{playerControlsHeight:J=0}=e,{returnFocus:L}=e;const B=Tt(),te=bn(),P=B.state.currentQuality$;D(t,P,ne=>i(103,w=ne));const ee=B.state.availableQualities$;D(t,ee,ne=>i(12,_=ne));const Pe=B.state.autoQualityLimitingAvailable$;D(t,Pe,ne=>i(107,y=ne));const ye=B.state.isAutoQualityEnabled$;D(t,ye,ne=>i(104,b=ne));const Ie=B.state.currentPlaybackRate$;D(t,Ie,ne=>i(13,g=ne));const Re=B.state.availablePlaybackRates$;D(t,Re,ne=>i(11,d=ne));const _e=B.state.currentSubtitle$;D(t,_e,ne=>i(37,re=ne));const Ce=B.state.availableSubtitlesList$;D(t,Ce,ne=>i(10,c=ne));const q=B.state.canDownload,x=B.state.hasMpegSources$;D(t,x,ne=>i(108,V=ne));const ce=B.ui.settingsMenuVisible;D(t,ce,ne=>i(14,se=ne));const ae=B.ui.settingsMenuOpenedByKeyboard;D(t,ae,ne=>i(135,l=ne));const We=B.ui.isMobile;D(t,We,ne=>i(8,r=ne));const Oe=B.ui.mobileNotReportControlHidden$;D(t,Oe,ne=>i(105,C=ne));const Ve=B.state.canChangePlaybackSpeed$;D(t,Ve,ne=>i(106,k=ne));const Ae=B.ui.isFullscreen;D(t,Ae,ne=>i(111,z=ne));const ue=B.state.trafficSavingEnabled$;D(t,ue,ne=>i(9,s=ne));const he=B.ui.playerSize;D(t,he,ne=>i(110,A=ne));const le=B.ui.debugPanelVisible;D(t,le,ne=>i(38,Z=ne));const Le=B.ui.playerSize;D(t,Le,ne=>i(109,Q=ne));const pe=B.state.isInteractiveTime$,Te=B.actions.internal.downloadVideo,Ge=B.actions.internal.closeSettingsMenu;let Ne=!0,Je=!1,xe=!1,rt=!1,ct=!1,It=!1;function vt(){l||L==null||L(),Ge(),It=!1}function Gt(){i(15,Ne=!1),i(16,Je=!0)}function _t(){i(15,Ne=!1),i(19,ct=!0)}function ze(ne){B.actions.internal.setQuality(ne),vt()}function fe(ne){B.actions.internal.setTrafficSavingEnabled(ne),vt()}function wt(){i(15,Ne=!1),i(17,xe=!0)}function at(ne){B.actions.internal.setPlaybackRate(ne),vt()}function Vt(){i(15,Ne=!1),i(18,rt=!0)}function mt(ne){B.actions.internal.setSubtitle(ne),vt()}function Pt(){i(15,Ne=!0),i(16,Je=!1),i(17,xe=!1),i(18,rt=!1),i(19,ct=!1)}function $e(){Te(),vt()}function Ze(){window.open(O,"_blank"),vt(),B.actions.internal.pause()}function Et(){nr(B.actions.internal.getDebugTextData()),vt()}function xi(){le.set(!0),vt()}function fi(){It=!0}function di(){It=!1}function $i(ne,nt,qt){if(!ne)return"...";const Si=nt.find(mn=>mn.value===ne),gt=Si?Si.displayValue:ne;return qt?ne===tt.VideoQuality.INVARIANT?G("auto_quality_invariant"):G("auto_quality",{actual:gt}):gt}let mi,Yt,ei,Nt,ti,zi,ii,Pi,pi,ni,Ei,Fi,Ii,hi,vi,ut,Qt,gi=Me(!1);D(t,gi,ne=>i(102,h=ne));let Ai,ot,pt=Me(!1);D(t,pt,ne=>i(101,f=ne));let oi,Mt,li=Me(!1);D(t,li,ne=>i(100,a=ne));let bi,_i,Ht=Me(!1);D(t,Ht,ne=>i(99,o=ne));const Ui=ne=>{Pc(ne,Ge)},Rt=async ne=>{ll(ne,Gt,()=>{const nt=_.findIndex(qt=>qt.selected);return Qt.childNodes[nt]})},qi=async ne=>{rl(ne,Pt,gi,Ge)},Hi=(ne,nt)=>{ln(ne,()=>ze(nt))},en=async ne=>{ll(ne,wt,()=>{const nt=d.findIndex(qt=>qt.selected);return ot.childNodes[nt]})},ri=async ne=>{rl(ne,Pt,pt,Ge)},jt=(ne,nt)=>{ln(ne,()=>at(nt))},Li=async ne=>{ll(ne,Vt,()=>{const nt=c.findIndex(qt=>qt.selected);return Mt.childNodes[nt]})},Ut=async ne=>{rl(ne,Pt,li,Ge)},Xt=(ne,nt)=>{ln(ne,()=>mt(nt))},ji=async ne=>{ll(ne,_t,()=>{const nt=s?2:0;return _i.childNodes[nt]})},si=async ne=>{rl(ne,Pt,Ht,Ge)},wi=(ne,nt)=>{ln(ne,()=>fe(nt))},Wi=ne=>{ln(ne,()=>$e())},ki=ne=>{ln(ne,()=>Ze())},yi=ne=>{ln(ne,()=>Et())},Vi=ne=>{ln(ne,()=>xi())};dn(()=>{const ne=pe.subscribe(nt=>{nt&&!r&&!It&&!l&&vt()});return()=>{ne()}});function Wt(ne){Se[ne?"unshift":"push"](()=>{ut=ne,i(4,ut)})}function Zi(ne){Se[ne?"unshift":"push"](()=>{Ai=ne,i(5,Ai)})}function Mi(ne){Se[ne?"unshift":"push"](()=>{oi=ne,i(6,oi)})}function ai(ne){Se[ne?"unshift":"push"](()=>{bi=ne,i(7,bi)})}function Bi(ne){Se[ne?"unshift":"push"](()=>{Y=ne,i(0,Y)})}function Ni(ne){Se[ne?"unshift":"push"](()=>{Yt=ne,i(1,Yt)})}const Zt=ne=>ze(ne.value),ui=(ne,nt)=>Hi(nt,ne.value);function Ue(ne){Se[ne?"unshift":"push"](()=>{Qt=ne,i(32,Qt)})}function Ci(ne){Se[ne?"unshift":"push"](()=>{ei=ne,i(2,ei)})}const ci=ne=>at(ne.value),Be=(ne,nt)=>jt(nt,ne.value);function Ki(ne){Se[ne?"unshift":"push"](()=>{ot=ne,i(33,ot)})}function rn(ne){Se[ne?"unshift":"push"](()=>{Nt=ne,i(3,Nt)})}const sn=()=>fe(!1),Gi=ne=>wi(ne,!1),Yi=()=>fe(!0),Bt=ne=>wi(ne,!0);function Qi(ne){Se[ne?"unshift":"push"](()=>{_i=ne,i(35,_i)})}const tn=ne=>mt(ne),Ri=(ne,nt)=>Xt(nt,ne);function Ot(ne){Se[ne?"unshift":"push"](()=>{Mt=ne,i(34,Mt)})}return t.$$set=ne=>{"ref"in ne&&i(0,Y=ne.ref),"supportLink"in ne&&i(96,O=ne.supportLink),"playerControlsHeight"in ne&&i(97,J=ne.playerControlsHeight),"returnFocus"in ne&&i(98,L=ne.returnFocus)},t.$$.update=()=>{var ne,nt,qt,Si;if(t.$$.dirty[0]&16384&&se&&(i(15,Ne=!0),i(16,Je=!1),i(17,xe=!1),i(18,rt=!1),i(19,ct=!1)),t.$$.dirty[3]&1024&&i(36,n=So(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,mi=$i(w,_,b)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(r&&z)i(21,ti=`max-height: ${Math.round(A.height*.6)}px`);else if(r)i(21,ti="");else{const gt=Q.height-Wl-((ne=Yt==null?void 0:Yt.clientHeight)!=null?ne:0)-J;i(21,ti=`max-height: ${gt}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(r)i(22,zi="");else{const gt=Q.height-Wl-((nt=ei==null?void 0:ei.clientHeight)!=null?nt:0)-J;i(22,zi=`max-height: ${gt}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(r)i(23,ii="");else{const gt=Q.height-Wl-((qt=Nt==null?void 0:Nt.clientHeight)!=null?qt:0)-J;i(23,ii=`max-height: ${gt}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Pi=q&&V&&!C),t.$$.dirty[3]&20480&&i(25,pi=te.features.trafficSaving&&!C&&y),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,ni=c.length>0&&!C),t.$$.dirty[3]&12288&&i(27,Ei=!!k&&!C),t.$$.dirty[3]&4096&&i(28,Fi=!C),t.$$.dirty[0]&512&&i(29,Ii=G(s?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,hi=b?G("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,vi=(Si=d.find(gt=>gt.value===g))==null?void 0:Si.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&ol(ut,gi,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&ol(Ai,pt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&ol(oi,li,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&ol(bi,Ht,o)},[Y,Yt,ei,Nt,ut,Ai,oi,bi,r,s,c,d,_,g,se,Ne,Je,xe,rt,ct,mi,ti,zi,ii,Pi,pi,ni,Ei,Fi,Ii,hi,vi,Qt,ot,Mt,_i,n,re,Z,te,P,ee,Pe,ye,Ie,Re,_e,Ce,x,ce,ae,We,Oe,Ve,Ae,ue,he,le,Le,vt,Gt,_t,ze,fe,wt,at,Vt,mt,Pt,$e,Ze,Et,xi,fi,di,gi,pt,li,Ht,Ui,Rt,qi,Hi,en,ri,jt,Li,Ut,Xt,ji,si,wi,Wi,ki,yi,Vi,O,J,L,o,a,f,h,w,b,C,k,y,V,Q,A,z,Wt,Zi,Mi,ai,Bi,Ni,Zt,ui,Ue,Ci,ci,Be,Ki,rn,sn,Gi,Yi,Bt,Qi,tn,Ri,Ot]}class Dc extends ke{constructor(e){super(),we(this,e,I3,E3,be,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},T3,[-1,-1,-1,-1,-1])}}function A3(t){Ke(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function L3(t){let e,i,n;return i=new Rc({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=E("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(l,r){T(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r&8&&(o.isMobile=l[3]),r&16&&(o.currentQuality=l[4]),i.$set(o)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function V3(t){let e,i,n;function l(o){t[9](o)}let r={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[L3]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"opened":""),s&4&&(a.ariaLabel=o[2]),s&2&&(a.ariaExpanded=o[1]),s&4120&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function M3(t,e,i){let n,l,r,{ref:o=void 0}=e;const s=Tt(),a=s.state.currentQuality$;D(t,a,w=>i(4,r=w));const c=s.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=s.actions.internal.toggleSettingsMenu,d=s.ui.isMobile;D(t,d,w=>i(3,l=w));let h;function _(w){const b=mr(w);f(b)}function g(w){o=w,i(0,o)}return t.$$set=w=>{"ref"in w&&i(0,o=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=G(n?"tooltip_settings_on":"tooltip_settings_off"))},[o,n,h,l,r,a,c,d,_,g]}class gr extends ke{constructor(e){super(),we(this,e,M3,V3,be,{ref:0},A3)}}function B3(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class N3 extends ke{constructor(e){super(),we(this,e,null,B3,be,{})}}function R3(t){let e,i;return e=new Oc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function O3(t){let e,i;return e=new N3({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function D3(t){let e,i,n,l;const r=[O3,R3],o=[];function s(a,c){return a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e!==f&&(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i||(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function z3(t){let e,i;return e=new Ti({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Do[Ee.KeyC],$$slots:{default:[D3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function F3(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:l}=e,r;return t.$$set=o=>{"isSubtitlesEnabled"in o&&i(0,n=o.isSubtitlesEnabled),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=G(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,l,r]}class H3 extends ke{constructor(e){super(),we(this,e,F3,z3,be,{isSubtitlesEnabled:0,click:1})}}function U3(t){Ke(t,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function fa(t){let e,i;return{c(){e=E("span"),i=Fe(t[3]),u(e,"class","duration v-19o2urr")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&8&&it(i,n[3])},d(n){n&&S(e)}}}function q3(t){let e,i,n,l,r=t[2]&&fa(t);return{c(){e=E("div"),i=E("span"),n=Fe(t[4]),l=R(),r&&r.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),M(e,"mobile",t[1])},m(o,s){T(o,e,s),p(e,i),p(i,n),p(e,l),r&&r.m(e,null),t[7](e)},p(o,[s]){s&16&&it(n,o[4]),o[2]?r?r.p(o,s):(r=fa(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&M(e,"mobile",o[1])},i:K,o:K,d(o){o&&S(e),r&&r.d(),t[7](null)}}}function j3(t,e,i){let{isMobile:n=!1}=e,{duration:l}=e,{position:r}=e,{showDuration:o=!0}=e,{ref:s}=e,a,c;function f(d){Se[d?"unshift":"push"](()=>{s=d,i(0,s)})}return t.$$set=d=>{"isMobile"in d&&i(1,n=d.isMobile),"duration"in d&&i(5,l=d.duration),"position"in d&&i(6,r=d.position),"showDuration"in d&&i(2,o=d.showDuration),"ref"in d&&i(0,s=d.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=zn(l)),t.$$.dirty&64&&i(4,c=zn(r))},[s,n,o,a,c,l,r,f]}class zc extends ke{constructor(e){super(),we(this,e,j3,q3,be,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},U3)}}function W3(t){Ke(t,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function Z3(t){let e,i,n,l,r,o;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(l,"class","wave1 v-1n5yyua"),u(l,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"data-value",t[0]),u(e,"data-testid",o="volume-"+t[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){T(s,e,a),p(e,i),p(i,n),p(i,l),p(i,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&o!==(o="volume-"+s[0]+"-icon")&&u(e,"data-testid",o)},i:K,o:K,d(s){s&&S(e)}}}function K3(t,e,i){let{volume:n=1}=e,{muted:l=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let o;return t.$$set=s=>{"volume"in s&&i(1,n=s.volume),"muted"in s&&i(2,l=s.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,o=r(n,l))},[o,n,l]}class gl extends ke{constructor(e){super(),we(this,e,K3,Z3,be,{volume:1,muted:2},W3)}}function G3(t){let e,i;const n=t[4].default,l=Fn(n,t,t[3],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","overlay")},m(r,o){T(r,e,o),l&&l.m(e,null),t[5](e),i=!0},p(r,[o]){l&&l.p&&(!i||o&8)&&Un(l,n,r,r[3],i?Hn(n,r[3],o,null):qn(r[3]),null)},i(r){i||(m(l,r),i=!0)},o(r){v(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[5](null)}}}function Y3(t,e,i){let n,{$$slots:l={},$$scope:r}=e;const s=Tt().ui.overlayContainer$;D(t,s,h=>i(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};dn(()=>(f(n),()=>c(n)));function d(h){Se[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,r=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,s,n,r,l,d]}class Q3 extends ke{constructor(e){super(),we(this,e,Y3,G3,be,{})}}function X3(t){Ke(t,"v-tny135",'.tooltip-wrapper.v-tny135{display:flex;flex-direction:column;min-width:0}.full-width.v-tny135{width:100%}.tooltip.v-tny135{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-tny135{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-tny135{opacity:1;visibility:visible}.tooltip-pointer.v-tny135{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}.bottom-placement-pointer.v-tny135{top:0;bottom:auto}')}function da(t){let e,i;return e=new Q3({props:{$$slots:{default:[J3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1048819&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function J3(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("div"),n=Fe(t[1]),l=R(),r=E("div"),u(i,"class","content v-tny135"),u(r,"class","tooltip-pointer v-tny135"),u(r,"style",o=`transform: translate(${t[5]}px, ${t[9]}px) rotate(${t[8]?0:"180deg"});`),M(r,"bottom-placement-pointer",!t[8]),u(e,"class","tooltip v-tny135"),u(e,"style",s=`transform: translate(${t[6]}px, ${t[7]}px);`),M(e,"active",t[0])},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),t[19](e)},p(a,c){c&2&&it(n,a[1]),c&32&&o!==(o=`transform: translate(${a[5]}px, ${a[9]}px) rotate(${a[8]?0:"180deg"});`)&&u(r,"style",o),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&M(e,"active",a[0])},d(a){a&&S(e),t[19](null)}}}function x3(t){let e,i,n,l,r,o;const s=t[17].default,a=Fn(s,t,t[20],null);let c=t[1]&&da(t);return{c(){e=E("div"),a&&a.c(),i=R(),c&&c.c(),n=ht(),u(e,"class","tooltip-wrapper v-tny135"),M(e,"full-width",t[2])},m(f,d){T(f,e,d),a&&a.m(e,null),t[18](e),T(f,i,d),c&&c.m(f,d),T(f,n,d),l=!0,r||(o=[ve(e,"mouseenter",t[12]),ve(e,"mousemove",t[12]),ve(e,"mouseleave",t[13]),ve(e,"mousedown",t[13]),ve(e,"mouseup",t[12])],r=!0)},p(f,[d]){a&&a.p&&(!l||d&1048576)&&Un(a,s,f,f[20],l?Hn(s,f[20],d,null):qn(f[20]),null),(!l||d&4)&&M(e,"full-width",f[2]),f[1]?c?(c.p(f,d),d&2&&m(c,1)):(c=da(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(de(),v(c,1,1,()=>{c=null}),me())},i(f){l||(m(a,f),m(c),l=!0)},o(f){v(a,f),v(c),l=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[18](null),c&&c.d(f),r=!1,lt(o)}}}const Lo=5;function $3(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:d=!1}=e,{placement:h="top"}=e;const _=h==="top";let g,w,b,C=0,k=_?Lo:-Lo,y=0,V=0;const Q=bn(),A=Tt(),z=A.ui.playerSize;D(t,z,P=>i(23,l=P));const se=A.ui.overlayContainer$;D(t,se,P=>i(22,n=P));const re=A.getLogger().createComponentLog("Tooltip component"),Z=()=>{if(!n)return;const P=n.getBoundingClientRect(),ee=g.getBoundingClientRect(),Pe=ee.width,ye=w.clientWidth,Ie=l.width,Re=(Pe-ye)/2,_e=ee.left+c-P.left;let Ce=_e+Re;const q=ee.top+f-P.top;let x=ye/2-Lo;const ce=Ce<Jo,ae=Ce+ye>Ie-Jo;ce&&(Ce=Jo,x=_e+ee.width/2-2.5*Lo),ae&&(Ce=Ie-Jo-ye,x=ee.left-P.left+ee.width/2-Ce-Lo),i(6,y=Ce),i(7,V=q),i(5,C=x)},Y=()=>{try{if(!n||!g)return;Z(),i(0,a=!0)}catch(P){re({message:String(P)})}},O=()=>{i(0,a=!1)},J=()=>{w&&(b||(b=window.setTimeout(Y,Q.controls.hideTimeoutTooltips)),a&&Y())},L=()=>{O(),window.clearTimeout(b),b=void 0};dn(Z),Ro(()=>window.clearTimeout(b));function B(P){Se[P?"unshift":"push"](()=>{g=P,i(3,g)})}function te(P){Se[P?"unshift":"push"](()=>{w=P,i(4,w)})}return t.$$set=P=>{"content"in P&&i(1,s=P.content),"active"in P&&i(0,a=P.active),"translateX"in P&&i(14,c=P.translateX),"translateY"in P&&i(15,f=P.translateY),"isFullWidthWrapper"in P&&i(2,d=P.isFullWidthWrapper),"placement"in P&&i(16,h=P.placement),"$$scope"in P&&i(20,o=P.$$scope)},[a,s,d,g,w,C,y,V,_,k,z,se,J,L,c,f,h,r,B,te,o]}class Fc extends ke{constructor(e){super(),we(this,e,$3,x3,be,{content:1,active:0,translateX:14,translateY:15,isFullWidthWrapper:2,placement:16},X3)}}function eh(t){Ke(t,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function th(t){let e;const i=t[18].default,n=Fn(i,t,t[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&Un(n,i,l,l[23],e?Hn(i,l[23],r,null):qn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function ih(t){let e,i;return e=new Fc({props:{content:t[11],translateX:t[9],translateY:t[10],isFullWidthWrapper:t[4],active:t[6],placement:t[7],$$slots:{default:[nh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2048&&(r.content=n[11]),l&512&&(r.translateX=n[9]),l&1024&&(r.translateY=n[10]),l&16&&(r.isFullWidthWrapper=n[4]),l&64&&(r.active=n[6]),l&128&&(r.placement=n[7]),l&8388608&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function nh(t){let e;const i=t[18].default,n=Fn(i,t,t[23],null);return{c(){n&&n.c()},m(l,r){n&&n.m(l,r),e=!0},p(l,r){n&&n.p&&(!e||r&8388608)&&Un(n,i,l,l[23],e?Hn(i,l[23],r,null):qn(l[23]),null)},i(l){e||(m(n,l),e=!0)},o(l){v(n,l),e=!1},d(l){n&&n.d(l)}}}function oh(t){let e,i,n,l,r,o,s,a,c;const f=[ih,th],d=[];function h(_,g){return _[3]&&_[5]&&!_[12]?0:1}return i=h(t),n=d[i]=f[i](t),{c(){e=E("div"),n.c(),u(e,"class",l="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",r=t[8]||null),ko(()=>t[22].call(e))},m(_,g){T(_,e,g),d[i].m(e,null),t[21](e),o=or(e,t[22].bind(e)),s=!0,a||(c=[ve(e,"pointerdown",st($t(t[19]))),ve(e,"click",st($t(t[20])))],a=!0)},p(_,[g]){let w=i;i=h(_),i===w?d[i].p(_,g):(de(),v(d[w],1,1,()=>{d[w]=null}),me(),n=d[i],n?n.p(_,g):(n=d[i]=f[i](_),n.c()),m(n,1),n.m(e,null)),(!s||g&4&&l!==(l="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",l),(!s||g&256&&r!==(r=_[8]||null))&&u(e,"aria-hidden",r)},i(_){s||(m(n),s=!0)},o(_){v(n),s=!1},d(_){_&&S(e),d[i].d(),t[21](null),o(),a=!1,lt(c)}}}function lh(t,e,i){let n,l,{$$slots:r={},$$scope:o}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:d=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{tooltipActive:g=!1}=e,{tooltipPlacement:w="top"}=e,{disabledTooltipContent:b=G("tooltip_button_disabled")}=e,{isAriaHidden:C=!1}=e,{initialTranslateXPx:k=0}=e,{initialTranslateYPx:y=-18}=e;const V=Tt(),Q=V.ui.isMobile;D(t,Q,O=>i(12,l=O));const A=V.state.graphIsOpened$;D(t,A,O=>i(17,n=O));let z;function se(O){to.call(this,t,O)}function re(O){to.call(this,t,O)}function Z(O){Se[O?"unshift":"push"](()=>{f=O,i(0,f)})}function Y(){d=this.clientWidth,i(1,d)}return t.$$set=O=>{"className"in O&&i(2,s=O.className),"disabled"in O&&i(15,a=O.disabled),"hasTooltip"in O&&i(3,c=O.hasTooltip),"ref"in O&&i(0,f=O.ref),"width"in O&&i(1,d=O.width),"isFullWidthTooltip"in O&&i(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&i(5,_=O.tooltipContent),"tooltipActive"in O&&i(6,g=O.tooltipActive),"tooltipPlacement"in O&&i(7,w=O.tooltipPlacement),"disabledTooltipContent"in O&&i(16,b=O.disabledTooltipContent),"isAriaHidden"in O&&i(8,C=O.isAriaHidden),"initialTranslateXPx"in O&&i(9,k=O.initialTranslateXPx),"initialTranslateYPx"in O&&i(10,y=O.initialTranslateYPx),"$$scope"in O&&i(23,o=O.$$scope)},t.$$.update=()=>{t.$$.dirty&229408&&(a?i(11,z=n?G("tooltip_disabled_when_graph_on"):b):i(11,z=_))},[f,d,s,c,h,_,g,w,C,k,y,z,l,Q,A,a,b,n,r,se,re,Z,Y,o]}class Ft extends ke{constructor(e){super(),we(this,e,lh,oh,be,{className:2,disabled:15,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,tooltipActive:6,tooltipPlacement:7,disabledTooltipContent:16,isAriaHidden:8,initialTranslateXPx:9,initialTranslateYPx:10},eh)}}function rh(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("rect"),l=N("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(l,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(l,"fill",r=t[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),p(e,i),p(e,l)},p(o,[s]){s&1&&n!==(n=o[0]?1:.24)&&u(i,"fill-opacity",n),s&1&&r!==(r=o[0]?"var(--interactive-episode-complete)":"white")&&u(l,"fill",r)},i:K,o:K,d(o){o&&S(e)}}}function sh(t,e,i){let{completed:n}=e;return t.$$set=l=>{"completed"in l&&i(0,n=l.completed)},[n]}class Hc extends ke{constructor(e){super(),we(this,e,sh,rh,be,{completed:0})}}function ah(t){Ke(t,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function uh(t){let e,i,n,l,r;return i=new Hc({props:{completed:!!t[0].completed}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${t[0].from+t[0].width/2}%`),ko(()=>t[3].call(e)),M(e,"disabled",t[1])},m(o,s){T(o,e,s),F(i,e,null),l=or(e,t[3].bind(e)),r=!0},p(o,s){const a={};s&1&&(a.completed=!!o[0].completed),i.$set(a),(!r||s&1&&n!==(n=`left: ${o[0].from+o[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&M(e,"disabled",o[1])},i(o){r||(m(i.$$.fragment,o),r=!0)},o(o){v(i.$$.fragment,o),r=!1},d(o){o&&S(e),H(i),l()}}}function ch(t){let e,i;return e=new Ft({props:{tooltipContent:G(t[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:t[1],width:t[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[uh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.tooltipContent=G(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),l&2&&(r.disabled=n[1]),l&4&&(r.width=n[2]||0),l&23&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fh(t,e,i){let{videoEpisode:n}=e,{disabled:l}=e,r;function o(){r=this.clientWidth,i(2,r)}return t.$$set=s=>{"videoEpisode"in s&&i(0,n=s.videoEpisode),"disabled"in s&&i(1,l=s.disabled)},[n,l,r,o]}class dh extends ke{constructor(e){super(),we(this,e,fh,ch,be,{videoEpisode:0,disabled:1},ah)}}function mh(t){Ke(t,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function ma(t,e,i){const n=t.slice();return n[2]=e[i],n}function pa(t){let e,i,n,l,r,o,s,a,c;return{c(){e=E("div"),i=E("div"),n=E("div"),r=R(),o=E("div"),a=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",l=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(o,"class","video-episode-filled v-1h9p3m2"),u(o,"style",s=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),M(o,"mobile",t[1]),u(i,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${t[2].from}%; width: ${t[2].width}%`),M(e,"mobile",t[1])},m(f,d){T(f,e,d),p(e,i),p(i,n),p(i,r),p(i,o),p(e,a)},p(f,d){d&1&&l!==(l=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",l),d&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(o,"style",s),d&2&&M(o,"mobile",f[1]),d&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),d&2&&M(e,"mobile",f[1])},d(f){f&&S(e)}}}function ph(t){let e,i=Kt(t[0]),n=[];for(let l=0;l<i.length;l+=1)n[l]=pa(ma(t,i,l));return{c(){e=E("div");for(let l=0;l<n.length;l+=1)n[l].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(l,r){T(l,e,r);for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(e,null)},p(l,[r]){if(r&3){i=Kt(l[0]);let o;for(o=0;o<i.length;o+=1){const s=ma(l,i,o);n[o]?n[o].p(s,r):(n[o]=pa(s),n[o].c(),n[o].m(e,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},i:K,o:K,d(l){l&&S(e),In(n,l)}}}function hh(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:l}=e;return t.$$set=r=>{"videoEpisodes"in r&&i(0,n=r.videoEpisodes),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class vh extends ke{constructor(e){super(),we(this,e,hh,ph,be,{videoEpisodes:0,isMobile:1},mh)}}function gh(t){Ke(t,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function ha(t,e,i){const n=t.slice();return n[48]=e[i],n}function va(t){let e,i,n=Kt(t[21]),l=[];for(let o=0;o<n.length;o+=1)l[o]=ba(ha(t,n,o));const r=o=>v(l[o],1,1,()=>{l[o]=null});return{c(){e=E("div");for(let o=0;o<l.length;o+=1)l[o].c();u(e,"class","interactive-icons v-1golz1y"),M(e,"mobile",t[5]),M(e,"hidden",t[5]&&!t[20])},m(o,s){T(o,e,s);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(e,null);i=!0},p(o,s){if(s[0]&2097664){n=Kt(o[21]);let a;for(a=0;a<n.length;a+=1){const c=ha(o,n,a);l[a]?(l[a].p(c,s),m(l[a],1)):(l[a]=ba(c),l[a].c(),m(l[a],1),l[a].m(e,null))}for(de(),a=n.length;a<l.length;a+=1)r(a);me()}(!i||s[0]&32)&&M(e,"mobile",o[5]),(!i||s[0]&1048608)&&M(e,"hidden",o[5]&&!o[20])},i(o){if(!i){for(let s=0;s<n.length;s+=1)m(l[s]);i=!0}},o(o){l=l.filter(Boolean);for(let s=0;s<l.length;s+=1)v(l[s]);i=!1},d(o){o&&S(e),In(l,o)}}}function ga(t){let e,i;return e=new dh({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisode=n[48]),l[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ba(t){let e,i,n=t[48].interactive&&ga(t);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[48].interactive?n?(n.p(l,r),r[0]&2097152&&m(n,1)):(n=ga(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function bh(t){let e,i,n,l,r,o;return{c(){e=E("div"),i=E("div"),l=R(),r=E("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",o=`transform: translateX(${t[12]*100}%);`),M(r,"active-live",t[4]),M(r,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(s,a){T(s,e,a),p(e,i),p(e,l),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&o!==(o=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",o),a[0]&16&&M(r,"active-live",s[4]),a[0]&64&&M(r,"ads",s[6])},i:K,o:K,d(s){s&&S(e)}}}function _h(t){let e,i;return e=new vh({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.videoEpisodes=n[21]),l[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wh(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g=t[8]&&va(t);const w=[_h,bh],b=[];function C(k,y){return k[21].length?0:1}return n=C(t),l=b[n]=w[n](t),{c(){var k;g&&g.c(),e=R(),i=E("div"),l.c(),r=R(),o=E("div"),s=E("div"),u(s,"class","handle v-1golz1y"),M(s,"active-live",t[4]),u(o,"class","handleWrap v-1golz1y"),u(o,"style",a=`transform: translateX(${t[13]*100}%);`),M(o,"hidden",t[10]),u(i,"class",c="slider "+t[0]+" v-1golz1y"),u(i,"aria-label",t[14]),u(i,"aria-valuemin",t[15]),u(i,"aria-valuemax",t[16]),u(i,"aria-valuenow",t[17]),u(i,"aria-valuetext",t[18]),u(i,"role","slider"),u(i,"tabindex","0"),u(i,"data-testid",f=(k=t[1])!=null?k:null),M(i,"disabled",t[9]),M(i,"slider-dragging",t[20]),M(i,"hidden",t[2]),M(i,"slider-vertical",t[3]),M(i,"no-handle",t[10]),M(i,"square",t[7])},m(k,y){g&&g.m(k,y),T(k,e,y),T(k,i,y),b[n].m(i,null),p(i,r),p(i,o),p(o,s),t[42](i),d=!0,h||(_=[ve(i,"pointerdown",$t(t[22])),ve(i,"pointermove",$t(t[23])),ve(i,"pointerup",$t(t[24])),ve(i,"pointerenter",$t(t[25])),ve(i,"pointerleave",$t(t[26])),ve(i,"click",st(ie.noop)),ve(i,"wheel",t[27])],h=!0)},p(k,y){var Q;k[8]?g?(g.p(k,y),y[0]&256&&m(g,1)):(g=va(k),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(de(),v(g,1,1,()=>{g=null}),me());let V=n;n=C(k),n===V?b[n].p(k,y):(de(),v(b[V],1,1,()=>{b[V]=null}),me(),l=b[n],l?l.p(k,y):(l=b[n]=w[n](k),l.c()),m(l,1),l.m(i,r)),(!d||y[0]&16)&&M(s,"active-live",k[4]),(!d||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(o,"style",a),(!d||y[0]&1024)&&M(o,"hidden",k[10]),(!d||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!d||y[0]&16384)&&u(i,"aria-label",k[14]),(!d||y[0]&32768)&&u(i,"aria-valuemin",k[15]),(!d||y[0]&65536)&&u(i,"aria-valuemax",k[16]),(!d||y[0]&131072)&&u(i,"aria-valuenow",k[17]),(!d||y[0]&262144)&&u(i,"aria-valuetext",k[18]),(!d||y[0]&2&&f!==(f=(Q=k[1])!=null?Q:null))&&u(i,"data-testid",f),(!d||y[0]&513)&&M(i,"disabled",k[9]),(!d||y[0]&1048577)&&M(i,"slider-dragging",k[20]),(!d||y[0]&5)&&M(i,"hidden",k[2]),(!d||y[0]&9)&&M(i,"slider-vertical",k[3]),(!d||y[0]&1025)&&M(i,"no-handle",k[10]),(!d||y[0]&129)&&M(i,"square",k[7])},i(k){d||(m(g),m(l),d=!0)},o(k){v(g),v(l),d=!1},d(k){k&&(S(e),S(i)),g&&g.d(k),b[n].d(),t[42](null),h=!1,lt(_)}}}function kh(t,e,i){let n,l,{className:r=""}=e,{testId:o=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:d=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:w=!1}=e,{disabled:b=!1}=e,{hideHandel:C=!1}=e,k,y,{onPointerDown:V=ie.noop}=e,{onHandleMove:Q=ie.noop}=e,{onPointerUp:A=ie.noop}=e,{onPointerEnter:z=ie.noop}=e,{onPointerMove:se=ie.noop}=e,{onPointerLeave:re=ie.noop}=e,{onWheelUp:Z=ie.noop}=e,{onWheelDown:Y=ie.noop}=e,{onWheelLeft:O=ie.noop}=e,{onWheelRight:J=ie.noop}=e,{loadedProgress:L=0}=e,{filledProgress:B=0}=e,{handleProgress:te=0}=e,{ariaLabel:P=""}=e,{ariaValueMin:ee=void 0}=e,{ariaValueMax:Pe=void 0}=e,{ariaValueNow:ye=void 0}=e,{ariaValueText:Ie=""}=e;const Re=bn();let _e=!1,Ce;function q(le){if(_e)return;i(20,_e=!0),y=k.getBoundingClientRect();const Le=Ve(le.clientX,le.clientY);V(Le),k.setPointerCapture(le.pointerId)}function x(le){const Le=Ve(le.clientX,le.clientY),pe=Ae(le.clientX);se(Le,pe,y.width),_e&&Q(Le)}function ce(le){if(!_e)return;i(20,_e=!1);const Le=Ve(le.clientX,le.clientY);A(Le)}function ae(le){y=k.getBoundingClientRect();const Le=Ve(le.clientX,le.clientY),pe=Ae(le.clientX);z(Le,pe,y.width)}function We(){re()}function Oe(le){g&&(le.preventDefault(),le.deltaY<0?Z():le.deltaY>0?Y():le.deltaX>0?J():O())}function Ve(le,Le){return a?Math.max(0,Math.min(1,(y.height-(Le-y.top))/y.height)):Math.min(Math.max(le-y.x,0),y.width)/y.width}function Ae(le){return Math.min(Math.max(le-y.x,0),y.width)}function ue(le,Le){const pe=Re.features.episodesClustering&&!w?Re.episodeMinWidthPc:0,Te=[];let Ge=0,Ne=0,Je=0;for(let ct=1;ct<_.length;ct++)Ne=_[ct].time/Ce*100,Ne-Ge>pe&&(Te.push({from:Ge,width:Math.max(0,Ne-Ge),loadedWidth:Math.max(0,Math.min(Ne,le)-Ge),filledWidth:Math.max(0,Math.min(Ne,Le)-Ge),interactive:_[ct-1].interactive,completed:_[ct-1].completed}),Ge=_[ct].time/Ce*100,Je++);const xe={from:Ge,width:Math.max(0,100-Ge),loadedWidth:Math.max(0,Math.min(le,100)-Ge),filledWidth:Math.max(0,Math.min(Le,100)-Ge),interactive:_[Je].interactive,completed:_[Je].completed};100-Ge<pe?(Je-=1,Te[Je].width+=100-Ge,Te[Je].loadedWidth+=Math.max(0,Math.min(le,100)-Ge),Te[Je].filledWidth+=Math.max(0,Math.min(Le,100)-Ge)):Te[Je]=xe;const rt=_[0].time;if(rt!==0){const ct=rt/Ce*100;Te.unshift({from:0,width:ct,loadedWidth:Math.min(ct,le),filledWidth:Math.min(ct,Le)})}return Te}function he(le){Se[le?"unshift":"push"](()=>{k=le,i(19,k)})}return t.$$set=le=>{"className"in le&&i(0,r=le.className),"testId"in le&&i(1,o=le.testId),"isHidden"in le&&i(2,s=le.isHidden),"isVertical"in le&&i(3,a=le.isVertical),"isActiveLive"in le&&i(4,c=le.isActiveLive),"isMobile"in le&&i(5,f=le.isMobile),"isAds"in le&&i(6,d=le.isAds),"squareBorders"in le&&i(7,h=le.squareBorders),"videoEpisodes"in le&&i(28,_=le.videoEpisodes),"withWheelHandler"in le&&i(29,g=le.withWheelHandler),"isInteractive"in le&&i(8,w=le.isInteractive),"disabled"in le&&i(9,b=le.disabled),"hideHandel"in le&&i(10,C=le.hideHandel),"onPointerDown"in le&&i(30,V=le.onPointerDown),"onHandleMove"in le&&i(31,Q=le.onHandleMove),"onPointerUp"in le&&i(32,A=le.onPointerUp),"onPointerEnter"in le&&i(33,z=le.onPointerEnter),"onPointerMove"in le&&i(34,se=le.onPointerMove),"onPointerLeave"in le&&i(35,re=le.onPointerLeave),"onWheelUp"in le&&i(36,Z=le.onWheelUp),"onWheelDown"in le&&i(37,Y=le.onWheelDown),"onWheelLeft"in le&&i(38,O=le.onWheelLeft),"onWheelRight"in le&&i(39,J=le.onWheelRight),"loadedProgress"in le&&i(11,L=le.loadedProgress),"filledProgress"in le&&i(12,B=le.filledProgress),"handleProgress"in le&&i(13,te=le.handleProgress),"ariaLabel"in le&&i(14,P=le.ariaLabel),"ariaValueMin"in le&&i(15,ee=le.ariaValueMin),"ariaValueMax"in le&&i(16,Pe=le.ariaValueMax),"ariaValueNow"in le&&i(17,ye=le.ariaValueNow),"ariaValueText"in le&&i(18,Ie=le.ariaValueText)},t.$$.update=()=>{var le;t.$$.dirty[0]&65536&&i(40,Ce=Pe!=null?Pe:0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=((le=_[_.length-1])==null?void 0:le.time)<Ce),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,l=_.length&&n&&Ce?ue(L*100,B*100):[])},[r,o,s,a,c,f,d,h,w,b,C,L,B,te,P,ee,Pe,ye,Ie,k,_e,l,q,x,ce,ae,We,Oe,_,g,V,Q,A,z,se,re,Z,Y,O,J,Ce,n,he]}class br extends ke{constructor(e){super(),we(this,e,kh,wh,be,{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},gh,[-1,-1])}}const Tn=(t,e)=>Co[t]>=Co[e],yh=(t,e)=>Co[t]<Co[e],Uc=(t,e)=>Co[t]<=Co[e],Ch=t=>t>go.L?exports.GridTypes.XL:t>go.M?exports.GridTypes.L:t>go.S?exports.GridTypes.M:t>go.XS?exports.GridTypes.S:exports.GridTypes.XS;function Sh(t){Ke(t,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Th(t){let e,i;return e=new gl({props:{volume:t[3],muted:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.volume=n[3]),l[0]&2&&(r.muted=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ph(t){let e,i;return e=new Ti({props:{className:"btn-full-opacity",disabled:t[9],testId:t[2]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[0],ariaKeyShortCut:Do[Ee.KeyM],$$slots:{default:[Th]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&512&&(r.disabled=n[9]),l[0]&4&&(r.testId=n[2]?"btn-volume-vertical":"btn-volume-horizontal"),l[0]&128&&(r.ariaLabel=n[7]),l[0]&1&&(r.click=n[0]),l[0]&10|l[1]&32&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _a(t){let e,i,n;return i=new br({props:{className:t[2]?"volumeBar-slider-vertical":"",isHidden:t[2]&&!t[5],isVertical:t[2],withWheelHandler:!0,onWheelUp:t[15],onWheelDown:t[16],onPointerDown:t[14],onHandleMove:t[17],onPointerUp:t[18],onPointerEnter:t[2]?t[19]:ie.noop,onPointerLeave:t[2]?t[20]:ie.noop,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(t[8]*100),ariaValueText:`${Math.round(t[8]*100)}%`,filledProgress:t[8],handleProgress:t[8],testId:t[2]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),M(e,"volumeBar-vertical",t[2])},m(l,r){T(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&4&&(o.className=l[2]?"volumeBar-slider-vertical":""),r[0]&36&&(o.isHidden=l[2]&&!l[5]),r[0]&4&&(o.isVertical=l[2]),r[0]&4&&(o.onPointerEnter=l[2]?l[19]:ie.noop),r[0]&4&&(o.onPointerLeave=l[2]?l[20]:ie.noop),r[0]&256&&(o.ariaValueNow=Math.round(l[8]*100)),r[0]&256&&(o.ariaValueText=`${Math.round(l[8]*100)}%`),r[0]&256&&(o.filledProgress=l[8]),r[0]&256&&(o.handleProgress=l[8]),r[0]&4&&(o.testId=l[2]?"volume-slider-vertical":"volume-slider"),i.$set(o),(!n||r[0]&4)&&M(e,"volumeBar-vertical",l[2])},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Eh(t){let e,i,n,l,r,o;i=new Fc({props:{content:t[6],translateY:-18,$$slots:{default:[Ph]},$$scope:{ctx:t}}});let s=t[4]&&_a(t);return{c(){e=E("div"),U(i.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),M(e,"vertical",t[2])},m(a,c){T(a,e,c),F(i,e,null),p(e,n),s&&s.m(e,null),l=!0,r||(o=[ve(e,"mouseenter",function(){En(t[2]?t[21]:ie.noop)&&(t[2]?t[21]:ie.noop).apply(this,arguments)}),ve(e,"mouseleave",function(){En(t[2]?t[22]:ie.noop)&&(t[2]?t[22]:ie.noop).apply(this,arguments)}),ve(e,"wheel",$t(t[23]))],r=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&655|c[1]&32&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[4]?s?(s.p(t,c),c[0]&16&&m(s,1)):(s=_a(t),s.c(),m(s,1),s.m(e,null)):s&&(de(),v(s,1,1,()=>{s=null}),me()),(!l||c[0]&4)&&M(e,"vertical",t[2])},i(a){l||(m(i.$$.fragment,a),m(s),l=!0)},o(a){v(i.$$.fragment,a),v(s),l=!1},d(a){a&&S(e),H(i),s&&s.d(),r=!1,lt(o)}}}function Ih(t,e,i){var _e,Ce;let n,l,r,o,{click:s}=e;const a=Tt(),c=bn(),f=a.state.volume$;D(t,f,q=>i(3,n=q));const d=a.state.muted$;D(t,d,q=>i(25,o=q));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(t,_,q=>i(24,r=q));const g=(_e=a.callbacks)==null?void 0:_e.onAudioDoesNotExistHint,w=(Ce=a.callbacks)==null?void 0:Ce.onAudioDisabledHint,b=a.state.isAudioAvailable$;D(t,b,q=>i(4,l=q));const C=a.state.isAudioDisabled;let k=!1,y,V,Q,A,z,se,re=1,Z=!1,Y=!1;function O(q){re=n,h(q)}function J(){Lc(a,n,c.controls.volumeStepWheel)}function L(){Vc(a,n,c.controls.volumeStepWheel)}function B(q){h(q)}function te(q){const x=q;h(x,x===0?re:x)}function P(){Z=!0}function ee(){Z=!1,Ie()}function Pe(){clearTimeout(y),i(5,k=!0)}function ye(){Ie()}function Ie(){y=window.setTimeout(()=>{Z||i(5,k=!1)},c.controls.volumeBarTimeout)}function Re(q){q.deltaY<0?J():q.deltaY>0&&L()}return t.$$set=q=>{"click"in q&&i(0,s=q.click)},t.$$.update=()=>{t.$$.dirty[0]&33554448&&i(1,A=!l||o),t.$$.dirty[0]&16777216&&i(2,z=Uc(r,exports.GridTypes.S)),t.$$.dirty[0]&6&&(z?i(6,V=""):i(6,V=G(A?"tooltip_volume":"tooltip_volume_muted")),i(7,Q=G(A?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&10&&i(8,se=A?0:n),t.$$.dirty[0]&16&&i(9,Y=C&&!w||!l&&!g)},[s,A,z,n,l,k,V,Q,se,Y,f,d,_,b,O,J,L,B,te,P,ee,Pe,ye,Re,r,o]}class Ah extends ke{constructor(e){super(),we(this,e,Ih,Eh,be,{click:0},Sh,[-1,-1])}}function Lh(t){let e;return{c(){e=N("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Vh(t){let e;return{c(){e=N("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Mh(t){let e,i,n;function l(s,a){return s[0]?Vh:Lh}let r=l(t),o=r(t);return{c(){e=N("svg"),i=N("g"),o.c(),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){T(s,e,a),p(e,i),o.m(i,null)},p(s,[a]){r!==(r=l(s))&&(o.d(1),o=r(s),o&&(o.c(),o.m(i,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&S(e),o.d()}}}function Bh(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen)},[n]}class Nh extends ke{constructor(e){super(),we(this,e,Bh,Mh,be,{isFullscreen:0})}}function Rh(t){let e,i;return e=new Nh({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Oh(t){let e,i;return e=new Ti({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Do[Ee.KeyF],$$slots:{default:[Rh]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&4&&(r.ariaLabel=n[2]),l&2&&(r.click=n[1]),l&9&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dh(t,e,i){let{isFullscreen:n=!1}=e,{click:l=ie.noop}=e,r;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen),"click"in o&&i(1,l=o.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=G(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,l,r]}class qc extends ke{constructor(e){super(),we(this,e,Dh,Oh,be,{isFullscreen:0,click:1})}}function zh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class _r extends ke{constructor(e){super(),we(this,e,null,zh,be,{})}}function Fh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class jc extends ke{constructor(e){super(),we(this,e,null,Fh,be,{})}}function Hh(t){Ke(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function wa(t){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function Uh(t){let e,i,n,l,r=t[1]&&wa();var o=t[8];function s(a){return{}}return o&&(n=Bn(o,s())),{c(){r&&r.c(),e=R(),i=E("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),M(i,"mobile",t[1])},m(a,c){r&&r.m(a,c),T(a,e,c),T(a,i,c),n&&F(n,i,null),l=!0},p(a,c){if(a[1]?r||(r=wa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&o!==(o=a[8])){if(n){de();const f=n;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}o?(n=Bn(o,s()),U(n.$$.fragment),m(n.$$.fragment,1),F(n,i,null)):n=null}(!l||c&2)&&M(i,"mobile",a[1])},i(a){l||(n&&m(n.$$.fragment,a),l=!0)},o(a){n&&v(n.$$.fragment,a),l=!1},d(a){a&&(S(e),S(i)),r&&r.d(a),n&&H(n)}}}function qh(t){let e,i,n;function l(o){t[13](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-play",click:t[5]?t[6]:t[4],disabled:t[2],ariaLabel:t[7],ariaKeyShortCut:Do[Ee.KeyK],$$slots:{default:[Uh]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&112&&(a.click=o[5]?o[6]:o[4]),s&4&&(a.disabled=o[2]),s&128&&(a.ariaLabel=o[7]),s&33026&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function jh(t,e,i){let n,l;const{fakeIsPlaying$:r}=zo();D(t,r,k=>i(12,l=k));let{ref:o=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:d=ie.noop}=e;const{toggle:h}=r;let _,g,w,b;function C(k){o=k,i(0,o)}return t.$$set=k=>{"ref"in k&&i(0,o=k.ref),"isMobile"in k&&i(1,s=k.isMobile),"isPlaying"in k&&i(10,a=k.isPlaying),"disabled"in k&&i(2,c=k.disabled),"className"in k&&i(3,f=k.className),"click"in k&&i(4,d=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,g=l!==null),t.$$.dirty&5152&&i(11,w=g?l:a),t.$$.dirty&2048&&i(7,b=G(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?jc:_r)},i(6,_=h),[o,s,c,f,d,g,_,b,n,r,a,w,l,C]}class wr extends ke{constructor(e){super(),we(this,e,jh,qh,be,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},Hh)}}function Wh(t){Ke(t,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function Zh(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),M(e,"prev",t[0]),M(e,"mobile",t[1])},m(l,r){T(l,e,r),p(e,i)},p(l,[r]){r&1&&n!==(n=l[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&M(e,"prev",l[0]),r&2&&M(e,"mobile",l[1])},i:K,o:K,d(l){l&&S(e)}}}function Kh(t,e,i){let{isPrev:n=!1}=e,{isMobile:l=!1}=e;return t.$$set=r=>{"isPrev"in r&&i(0,n=r.isPrev),"isMobile"in r&&i(1,l=r.isMobile)},[n,l]}class Gh extends ke{constructor(e){super(),we(this,e,Kh,Zh,be,{isPrev:0,isMobile:1},Wh)}}function Yh(t){let e,i;return e=new Gh({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qh(t){let e,i,n;function l(o){t[6](o)}let r={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[Yh]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.testId="btn-"+o[3]),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&138&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xh(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{type:o}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"isMobile"in f&&i(1,l=f.isMobile),"disabled"in f&&i(2,r=f.disabled),"type"in f&&i(3,o=f.type),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=G(o==="prev"?"tooltip_previous":"tooltip_next"))},[n,l,r,o,s,a,c]}class bl extends ke{constructor(e){super(),we(this,e,Xh,Qh,be,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function Jh(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class xh extends ke{constructor(e){super(),we(this,e,null,Jh,be,{})}}function $h(t){Ke(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function ka(t){let e,i,n,l,r,o,s;return{c(){e=N("path"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(l,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(l,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(o,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(o,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){T(a,e,c),T(a,i,c),T(a,n,c),T(a,l,c),T(a,r,c),T(a,o,c),T(a,s,c)},d(a){a&&(S(e),S(i),S(n),S(l),S(r),S(o),S(s))}}}function ev(t){let e,i,n,l=!t[0]&&ka();return{c(){e=N("svg"),i=N("path"),l&&l.c(),u(i,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(i,"fill","white"),u(e,"width",t[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(t[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",t[3]),u(e,"class","v-1bbobod"),M(e,"mobile",t[1])},m(r,o){T(r,e,o),p(e,i),l&&l.m(e,null)},p(r,[o]){r[0]?l&&(l.d(1),l=null):l||(l=ka(),l.c(),l.m(e,null)),o&4&&u(e,"width",r[2]),o&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),o&8&&u(e,"data-testid",r[3]),o&2&&M(e,"mobile",r[1])},i:K,o:K,d(r){r&&S(e),l&&l.d()}}}function tv(t,e,i){let{short:n=!1}=e,{isMobile:l=!1}=e,r,o;return t.$$set=s=>{"short"in s&&i(0,n=s.short),"isMobile"in s&&i(1,l=s.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,r=n?20:93),i(3,o=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,l,r,o]}class iv extends ke{constructor(e){super(),we(this,e,tv,ev,be,{short:0,isMobile:1},$h)}}function nv(t){let e,i;return e=new xh({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ov(t){let e,i;return e=new iv({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.short=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function lv(t){let e,i,n,l;const r=[ov,nv],o=[];function s(a,c){return a[2]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function rv(t){let e,i,n;function l(o){t[13](o)}let r={className:"btn-full-opacity",disabled:!t[1],click:t[8],testId:t[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:t[3],$$slots:{default:[lv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.disabled=!o[1]),s&4&&(a.testId=o[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=o[3]),s&524308&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function sv(t,e,i){let n,l,r,{ref:o=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=bn(),{logoLink:d,addTimeToLogoLink:h}=f,_=Tt(),g=_.state.positionWithScrubbing$;D(t,g,A=>i(14,n=A));const w=_.ui.currentGridType$;D(t,w,A=>i(11,l=A));const b=_.ui.isMobile;D(t,b,A=>i(12,r=A));let C,k,y;const V=()=>{let A;if(k||!a)A=d;else{const z=Math.round(n);if(h&&z){const se=new URL(a);se.searchParams.append("t",ie.timeCodeToString(z)),A=se.toString()}else A=a}c(),window.open(A,"_blank")};function Q(A){o=A,i(0,o)}return t.$$set=A=>{"ref"in A&&i(0,o=A.ref),"logoClickable"in A&&i(1,s=A.logoClickable),"videoLogoUrl"in A&&i(9,a=A.videoLogoUrl),"click"in A&&i(10,c=A.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,y=(r||Uc(l,exports.GridTypes.L))&&k)},i(3,C=f.logoType===yo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),i(2,k=f.logoType===yo.VK_VIDEO),[o,s,k,C,y,g,w,b,V,a,c,l,r,Q]}class Wc extends ke{constructor(e){super(),we(this,e,sv,rv,be,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function av(t){Ke(t,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function uv(t){let e,i,n,l,r,o,s,a;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("path"),s=N("path"),a=N("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(l,"class","wave wave2 v-8z1bf5"),u(l,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(l,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(o,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(o,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),M(a,"hidden",!t[1]),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),M(e,"connecting",t[2])},m(c,f){T(c,e,f),p(e,i),p(i,n),p(i,l),p(i,r),p(i,o),p(i,s),p(i,a)},p(c,f){f&2&&M(a,"hidden",!c[1]),f&4&&M(e,"connecting",c[2])},d(c){c&&S(e)}}}function cv(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;return{c(){e=N("svg"),i=N("g"),n=N("mask"),l=N("path"),o=N("path"),s=N("path"),c=N("path"),f=N("defs"),d=N("clipPath"),h=N("path"),g=N("filter"),w=N("feFlood"),b=N("feColorMatrix"),C=N("feOffset"),k=N("feGaussianBlur"),y=N("feColorMatrix"),V=N("feBlend"),Q=N("feBlend"),u(l,"fill",r=t[1]?"#2688EB":"#fff"),u(l,"d","M1.1 3.1h22v18h-22z"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=t[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(h,"fill",_=t[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(d,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(b,"in","SourceAlpha"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(b,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(y,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(V,"in2","BackgroundImageFix"),u(V,"result","effect1_dropShadow_4085_178456"),u(Q,"in","SourceGraphic"),u(Q,"in2","effect1_dropShadow_4085_178456"),u(Q,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(A,z){T(A,e,z),p(e,i),p(i,n),p(n,l),p(n,o),p(i,s),p(i,c),p(e,f),p(f,d),p(d,h),p(f,g),p(g,w),p(g,b),p(g,C),p(g,k),p(g,y),p(g,V),p(g,Q)},p(A,z){z&2&&r!==(r=A[1]?"#2688EB":"#fff")&&u(l,"fill",r),z&2&&a!==(a=A[1]?"#2688EB":"#fff")&&u(s,"fill",a),z&2&&_!==(_=A[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(A){A&&S(e)}}}function fv(t){let e;function i(r,o){return r[0]?cv:uv}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function dv(t,e,i){let{isMobile:n=!1}=e,{state:l}=e,r,o;return t.$$set=s=>{"isMobile"in s&&i(0,n=s.isMobile),"state"in s&&i(3,l=s.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,o=l===tt.ChromecastState.CONNECTING),i(1,r=l===tt.ChromecastState.CONNECTED))},[n,r,o,l]}class mv extends ke{constructor(e){super(),we(this,e,dv,fv,be,{isMobile:0,state:3},av)}}function pv(t){let e,i;return e=new mv({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isMobile=n[1]),l&4&&(r.state=n[2]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hv(t){let e,i,n;function l(o){t[5](o)}let r={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[pv]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&16&&(a.ariaLabel=o[4]),s&8&&(a.click=o[3]),s&70&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function vv(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{state:r}=e,{click:o=ie.noop}=e,s;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"state"in c&&i(2,r=c.state),"click"in c&&i(3,o=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,s=r===tt.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off"))},[n,l,r,o,s,a]}class Zc extends ke{constructor(e){super(),we(this,e,vv,hv,be,{ref:0,isMobile:1,state:2,click:3})}}function gv(t){let e,i;return e=new kc({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function bv(t){let e,i;return e=new Ti({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===tt.PlaybackState.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[gv]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),l&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),l&10&&(r.disabled=n[1]&&n[3]===tt.PlaybackState.PLAYING),l&4&&(r.ariaLabel=n[2]),l&16&&(r.click=n[4]),l&514&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _v(t,e,i){let n,{isMobile:l=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:o=""}=e;const s=Tt(),a=s.state.playbackState$;D(t,a,h=>i(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let d;return t.$$set=h=>{"isMobile"in h&&i(0,l=h.isMobile),"isActiveLive"in h&&i(1,r=h.isActiveLive),"ariaLabel"in h&&i(2,o=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,d=()=>{if(!r){c();return}n===tt.PlaybackState.PAUSED&&f()})},[l,r,o,n,d,a]}class Kc extends ke{constructor(e){super(),we(this,e,_v,bv,be,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function wv(t){Ke(t,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function kv(t){let e,i,n,l;const r=t[9].default,o=Fn(r,t,t[8],null);return{c(){e=E("div"),i=E("div"),o&&o.c(),u(i,"class","tooltip v-5ygsa2"),M(i,"active",t[0]),M(i,"pointer",t[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${t[5]}px, ${t[2]}px);`)},m(s,a){T(s,e,a),p(e,i),o&&o.m(i,null),t[10](i),t[11](e),l=!0},p(s,[a]){o&&o.p&&(!l||a&256)&&Un(o,r,s,s[8],l?Hn(r,s[8],a,null):qn(s[8]),null),(!l||a&1)&&M(i,"active",s[0]),(!l||a&2)&&M(i,"pointer",s[1]),(!l||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){l||(m(o,s),l=!0)},o(s){v(o,s),l=!1},d(s){s&&S(e),o&&o.d(s),t[10](null),t[11](null)}}}function yv(t,e,i){let n,{$$slots:l={},$$scope:r}=e,{active:o=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,d,h;function _(b){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return b<k?k:b>f-k?f-k:b}function g(b){Se[b?"unshift":"push"](()=>{h=b,i(4,h)})}function w(b){Se[b?"unshift":"push"](()=>{d=b,i(3,d)})}return t.$$set=b=>{"active"in b&&i(0,o=b.active),"pointer"in b&&i(1,s=b.pointer),"translateXPx"in b&&i(6,a=b.translateXPx),"translateYPx"in b&&i(2,c=b.translateYPx),"containerWidth"in b&&i(7,f=b.containerWidth),"$$scope"in b&&i(8,r=b.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[o,s,c,d,h,n,a,f,r,l,g,w]}class Cv extends ke{constructor(e){super(),we(this,e,yv,kv,be,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},wv)}}const Gc=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Sv(t){Ke(t,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function ya(t){let e;function i(r,o){return r[2]&&r[10].completed===!1?Pv:Tv}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function Tv(t){let e=(t[10].text||"")+"",i;return{c(){i=Fe(e)},m(n,l){T(n,i,l)},p(n,l){l&1024&&e!==(e=(n[10].text||"")+"")&&it(i,e)},d(n){n&&S(i)}}}function Pv(t){let e=G("tooltip_episode_unfinished")+"",i;return{c(){i=Fe(e)},m(n,l){T(n,i,l)},p:K,d(n){n&&S(i)}}}function Ev(t){let e,i,n,l,r,o,s,a,c=t[10]&&ya(t);return{c(){e=E("div"),i=E("div"),l=R(),r=E("div"),c&&c.c(),o=R(),s=E("div"),a=Fe(t[0]),u(i,"class","preview v-l51fc1"),u(i,"style",n=`width: ${t[3]}px; height: ${t[4]}px; background-image: url(${t[5]}); background-size: ${t[6]}px ${t[7]}px; background-position: ${t[8]}px ${t[9]}px; transform: translateY(${t[11]%180?-35:0}px) rotate(${t[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),M(e,"mobile",t[1])},m(f,d){T(f,e,d),p(e,i),p(e,l),p(e,r),c&&c.m(r,null),p(e,o),p(e,s),p(s,a)},p(f,[d]){d&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(i,"style",n),f[10]?c?c.p(f,d):(c=ya(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),d&1&&it(a,f[0]),d&2&&M(e,"mobile",f[1])},i:K,o:K,d(f){f&&S(e),c&&c.d()}}}const ho=150;function Iv(t,e,i){let n,{time:l=""}=e,{isMobile:r=!1}=e,{videoEpisodes:o=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=Tt().ui.rotateAlpha;D(t,h,z=>i(11,n=z));let _,g,w,b,C,k,y,V;function Q(){let z=s.frameWidth,se=s.frameHeight;return z>ho?(se=se/z*ho,z=ho):se>ho&&(z=z/se*ho,se=ho),{width:z,height:se}}function A(z){let se;s.isUV?se=Math.floor(c*z/s.frequency):se=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*z)));const re=Math.floor(se/s.countPerImage),Z=Math.floor(se%s.countPerImage/s.countPerRow),Y=se%s.countPerRow;let O=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&(O=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&O++);let J=s.countPerRow;!s.isUV&&re===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(J=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const L=_*J,B=g*O,te=-Y*_,P=-Z*g;return{imgSrc:s.links[re],imgWidth:L,imgHeight:B,imgOffsetX:te,imgOffsetY:P}}return t.$$set=z=>{"time"in z&&i(0,l=z.time),"isMobile"in z&&i(1,r=z.isMobile),"videoEpisodes"in z&&i(13,o=z.videoEpisodes),"previewThumbsData"in z&&i(14,s=z.previewThumbsData),"progress"in z&&i(15,a=z.progress),"duration"in z&&i(16,c=z.duration),"isInteractive"in z&&i(2,f=z.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:b,imgHeight:C,imgOffsetX:k,imgOffsetY:y}=A(a),w,(i(6,b),i(15,a)),(i(7,C),i(15,a)),(i(8,k),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,V=Gc(a,c,o))},i(3,{width:_,height:g}=Q(),_,i(4,g)),[l,r,f,_,g,w,b,C,k,y,V,n,h,o,s,a,c]}class Av extends ke{constructor(e){super(),we(this,e,Iv,Ev,be,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Sv)}}function Lv(t){Ke(t,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Vv(t){let e,i;return{c(){e=E("span"),i=Fe(t[7]),u(e,"class","time v-5lzly8")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l[0]&128&&it(i,n[7])},i:K,o:K,d(n){n&&S(e)}}}function Mv(t){let e,i;return e=new Av({props:{time:t[7],isMobile:t[10],videoEpisodes:t[3],previewThumbsData:t[21],progress:t[8],duration:t[1],isInteractive:t[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&128&&(r.time=n[7]),l[0]&1024&&(r.isMobile=n[10]),l[0]&8&&(r.videoEpisodes=n[3]),l[0]&256&&(r.progress=n[8]),l[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Bv(t){let e,i,n,l;const r=[Mv,Vv],o=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Nv(t){let e,i,n,l;const r=[t[9]];let o={$$slots:{default:[Bv]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)o=d1(o,r[s]);return e=new Cv({props:o}),n=new br({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:G("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:G("aria_timeline_value",{position:t[5],duration:t[4]}),loadedProgress:t[12],filledProgress:t[6],handleProgress:t[6],videoEpisodes:t[3],onPointerDown:t[27],onHandleMove:t[28],onPointerMove:t[31],onPointerUp:t[29],onPointerEnter:t[30],onPointerLeave:t[32],isInteractive:t[23],disabled:t[13].has(dt.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=R(),U(n.$$.fragment)},m(s,a){F(e,s,a),T(s,i,a),F(n,s,a),l=!0},p(s,a){const c=a[0]&512?d0(r,[m0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=G("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(dt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){l||(m(e.$$.fragment,s),m(n.$$.fragment,s),l=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),l=!1},d(s){s&&S(i),H(e,s),H(n,s)}}}function Rv(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,{showTimeline:g=!1}=e;const w=Tt(),b=bn(),C=w.state.bufferedProgress$;D(t,C,he=>i(12,h=he));const k=w.state.positionWithScrubbing$;D(t,k,he=>i(39,a=he));const y=w.state.duration$;D(t,y,he=>i(1,r=he));const V=w.state.isLive$;D(t,V,he=>i(0,l=he));const Q=w.state.isActiveLive$;D(t,Q,he=>i(11,d=he));const A=w.ui.isMobile;D(t,A,he=>i(10,f=he));const z=b.features.episodes?w.actions.internal.getVideoEpisodes():void 0,se=w.actions.internal.getPreviewThumbsData(),re=w.state.interactiveEpisodes$;D(t,re,he=>i(40,c=he));const Z=w.state.isInteractive,Y=w.state.isInteractiveTime$;D(t,Y,he=>i(2,o=he));const O=w.state.isInteractiveExpectation$;D(t,O,he=>i(38,s=he));const J=w.actions.internal.correctSeekTimeToInteractive,L=w.ui.controls.disabledControls$;D(t,L,he=>i(13,_=he));let B,te,P,ee,Pe=!1,ye="",Ie=0,Re=0,_e=0,Ce;function q(he){return!J||!Z?he:J(he*r)/r}function x(he){w.actions.internal.startScrubbing(q(he))}function ce(he){o||w.actions.internal.progressScrubbing(q(he))}function ae(he){w.actions.internal.completeScrubbing(q(he)),i(34,Pe=!1)}function We(he,le,Le){Ae(he,le,Le),i(34,Pe=!0)}function Oe(he,le,Le){Ae(he,le,Le),i(34,Pe=!0)}function Ve(){i(34,Pe=!1)}function Ae(he,le,Le){i(8,_e=he),i(35,Ie=le),Le&&i(36,Re=Le),i(7,ye=ue(he))}function ue(he){const le=zn((l?1-he:he)*r);return l?`-${le}`:le}return t.$$set=he=>{"showTimeline"in he&&i(33,g=he.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,B=Z?c:z),t.$$.dirty[0]&2&&i(4,te=zn(r)),t.$$.dirty[1]&256&&i(5,P=zn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ee=a/r),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,Ce=s||o),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Re,translateXPx:Ie,translateYPx:Z&&se?-36:-16,active:Pe&&g&&!Ce,pointer:!b.features.timelinePreview||!se||l})},[l,r,o,B,te,P,ee,ye,_e,n,f,d,h,_,b,C,k,y,V,Q,A,se,re,Z,Y,O,L,x,ce,ae,We,Oe,Ve,g,Pe,Ie,Re,Ce,s,a,c]}let Ov=class extends ke{constructor(e){super(),we(this,e,Rv,Nv,be,{showTimeline:33},Lv,[-1,-1])}};function Dv(t){let e,i;return e=new br({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:G("aria_timeline_value",{position:t[2],duration:t[1]}),filledProgress:t[3],isAds:!0,hideHandel:!0,squareBorders:t[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&1&&(r.ariaValueMax=n[0]),l&8&&(r.ariaValueNow=Math.round(n[3]*100)),l&6&&(r.ariaValueText=G("aria_timeline_value",{position:n[2],duration:n[1]})),l&8&&(r.filledProgress=n[3]),l&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zv(t,e,i){let n,{position:l=0}=e,{duration:r=0}=e;const s=Tt().ui.isMobile;D(t,s,d=>i(4,n=d));let a,c,f;return t.$$set=d=>{"position"in d&&i(6,l=d.position),"duration"in d&&i(0,r=d.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=zn(r)),t.$$.dirty&64&&i(2,c=zn(l)),t.$$.dirty&65&&i(3,f=l/r)},[r,a,c,f,n,s,l]}class Yc extends ke{constructor(e){super(),we(this,e,zv,Dv,be,{position:6,duration:0})}}function Fv(t){Ke(t,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Hv(t){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),M(e,"mobile",t[2])},m(i,n){T(i,e,n)},p(i,n){n&4&&M(e,"mobile",i[2])},i:K,o:K,d(i){i&&S(e)}}}function Uv(t){let e,i,n,l;const r=[jv,qv],o=[];function s(a,c){return a[0]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),M(e,"mobile",t[2])},m(a,c){T(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null)),(!l||c&4)&&M(e,"mobile",a[2])},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function qv(t){let e,i;return e=new Ov({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function jv(t){let e,i;return e=new Yc({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.position=n[3]),l&16&&(r.duration=n[4]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wv(t){let e,i,n,l;const r=[Uv,Hv],o=[];function s(a,c){return a[1]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function Zv(t,e,i){let n,l,r,o,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const d=Tt(),h=d.state.isLive$;D(t,h,C=>i(12,n=C));const _=d.ads.duration;D(t,_,C=>i(4,o=C));const g=d.ads.position;D(t,g,C=>i(3,r=C));const w=d.ui.isMobile;D(t,w,C=>i(2,l=C));let b;return t.$$set=C=>{"isAds"in C&&i(0,s=C.isAds),"canRewindLive"in C&&i(9,a=C.canRewindLive),"isRewindableLive"in C&&i(10,c=C.isRewindableLive),"isHidden"in C&&i(11,f=C.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,b=!f&&(!n||n&&a&&c||s))},[s,b,l,r,o,h,_,g,w,a,c,f,n]}class Qc extends ke{constructor(e){super(),we(this,e,Zv,Wv,be,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Fv)}}function Kv(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(l,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(l,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),zt(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,o){T(r,e,o),p(e,i),p(e,n),p(e,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Gv extends ke{constructor(e){super(),we(this,e,null,Kv,be,{})}}function Yv(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Qv extends ke{constructor(e){super(),we(this,e,null,Yv,be,{})}}function Xv(t){Ke(t,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function Jv(t){let e,i,n,l;e=new Gv({});function r(a,c){if(a[4]===eo.FULL)return e5;if(a[4]===eo.COUNT)return $v}let o=r(t),s=o&&o(t);return{c(){U(e.$$.fragment),i=R(),s&&s.c(),n=ht()},m(a,c){F(e,a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){o===(o=r(a))&&s?s.p(a,c):(s&&s.d(1),s=o&&o(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){l||(m(e.$$.fragment,a),l=!0)},o(a){v(e.$$.fragment,a),l=!1},d(a){a&&(S(i),S(n)),H(e,a),s&&s.d(a)}}}function xv(t){let e,i,n,l,r,o;return r=new Qv({}),{c(){e=E("span"),i=Fe(t[2]),n=R(),l=E("div"),U(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(l,"class","chevron-episodes v-1yhs2ga")},m(s,a){T(s,e,a),p(e,i),T(s,n,a),T(s,l,a),F(r,l,null),o=!0},p(s,a){(!o||a&4)&&it(i,s[2])},i(s){o||(m(r.$$.fragment,s),o=!0)},o(s){v(r.$$.fragment,s),o=!1},d(s){s&&(S(e),S(n),S(l)),H(r)}}}function $v(t){let e,i=t[0].length+"",n;return{c(){e=E("span"),n=Fe(i),u(e,"class","text count v-1yhs2ga")},m(l,r){T(l,e,r),p(e,n)},p(l,r){r&1&&i!==(i=l[0].length+"")&&it(n,i)},d(l){l&&S(e)}}}function e5(t){let e,i;return{c(){e=E("span"),i=Fe(t[2]),u(e,"class","text v-1yhs2ga")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&4&&it(i,n[2])},d(n){n&&S(e)}}}function t5(t){let e,i,n,l;const r=[xv,Jv],o=[];function s(a,c){return a[6]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,c){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function i5(t){let e,i,n;function l(o){t[19](o)}let r={className:"w-max btn-full-opacity "+(t[6]?"px-0":""),testId:"btn-episodes",click:t[12],disabled:!t[7],ariaExpanded:t[3],ariaLabel:t[5],$$slots:{default:[t5]},$$scope:{ctx:t}};return t[1]!==void 0&&(r.ref=t[1]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(o[6]?"px-0":"")),s&8&&(a.ariaExpanded=o[3]),s&32&&(a.ariaLabel=o[5]),s&8388693&&(a.$$scope={dirty:s,ctx:o}),!i&&s&2&&(i=!0,a.ref=o[1],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function n5(t,e,i){var Z,Y,O;let n,l,r,o,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:d=[]}=e;const h=Tt(),_=(Y=(Z=h.callbacks)==null?void 0:Z.onEpisodeChanged)!=null?Y:ie.noop,g=!!((O=h.callbacks)!=null&&O.onEpisodeClicked),w=h.ui.currentGridType$;D(t,w,J=>i(18,s=J));const b=h.ui.episodes.openedByKeyboard$;D(t,b,J=>i(17,o=J));const C=h.ui.episodes.panelOpened$;D(t,C,J=>i(3,r=J));const k=h.ui.isMobile;D(t,k,J=>i(6,a=J));let y;const V=J=>{var B,te,P;if(!!((B=h.callbacks)!=null&&B.onEpisodeClicked)){const ee=mr(J);b.set(ee),C.set(!0),(P=(te=h.callbacks)==null?void 0:te.onEpisodeClicked)==null||P.call(te,ee)}};let Q,A,z;const se=async(J,L,B)=>{await Oo(),(J==null?void 0:J.getAttribute("aria-expanded"))==="false"&&L&&!B&&(b.set(!1),J.focus())};function re(J){y=J,i(1,y)}return t.$$set=J=>{"position"in J&&i(13,c=J.position),"duration"in J&&i(14,f=J.duration),"timeCodes"in J&&i(0,d=J.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const J=Gc(n,f,d);J&&(Q==null?void 0:Q.text)!==J.text&&(_(J),i(15,Q=J))}t.$$.dirty&32768&&i(2,l=(Q==null?void 0:Q.text)||""),t.$$.dirty&262144&&(Tn(s,exports.GridTypes.XL)?i(4,A=eo.FULL):Tn(s,exports.GridTypes.M)&&yh(s,exports.GridTypes.XL)?i(4,A=eo.COUNT):i(4,A=eo.SHORT)),t.$$.dirty&4&&i(5,z=`${G("tooltip_episodes")}: ${l}`),t.$$.dirty&131082&&se(y,o,r)},[d,y,l,r,A,z,a,g,w,b,C,k,V,c,f,Q,n,o,s,re]}class Xc extends ke{constructor(e){super(),we(this,e,n5,i5,be,{position:13,duration:14,timeCodes:0},Xv)}}function o5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p:K,i:K,o:K,d(l){l&&S(e)}}}class l5 extends ke{constructor(e){super(),we(this,e,null,o5,be,{})}}function r5(t){let e,i;return e=new l5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:G("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[r5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function a5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class Jc extends ke{constructor(e){super(),we(this,e,a5,s5,be,{ref:0,hidden:1,disabled:2,click:3})}}function u5(t){let e,i,n;return{c(){e=N("svg"),i=N("path"),n=N("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),M(n,"hidden",!t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p(l,[r]){r&1&&M(n,"hidden",!l[0])},i:K,o:K,d(l){l&&S(e)}}}function c5(t,e,i){let{isOpened:n=!1}=e;return t.$$set=l=>{"isOpened"in l&&i(0,n=l.isOpened)},[n]}class f5 extends ke{constructor(e){super(),we(this,e,c5,u5,be,{isOpened:0})}}function d5(t){let e,i;return e=new f5({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&8&&(r.isOpened=n[3]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function m5(t){let e,i,n;function l(o){t[6](o)}let r={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[d5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&32&&(a.ariaLabel=o[5]),s&16&&(a.click=o[4]),s&136&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function p5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{graphIsOpened:o=!1}=e,{click:s}=e,a;function c(f){n=f,i(0,n)}return t.$$set=f=>{"ref"in f&&i(0,n=f.ref),"hidden"in f&&i(1,l=f.hidden),"disabled"in f&&i(2,r=f.disabled),"graphIsOpened"in f&&i(3,o=f.graphIsOpened),"click"in f&&i(4,s=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=G(o?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,l,r,o,s,a,c]}class xc extends ke{constructor(e){super(),we(this,e,p5,m5,be,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function h5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class $c extends ke{constructor(e){super(),we(this,e,null,h5,be,{})}}function v5(t){Ke(t,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ca(t){let e;return{c(){e=E("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function g5(t){let e,i,n,l,r=t[1]&&Ca();return n=new $c({}),{c(){r&&r.c(),e=R(),i=E("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),M(i,"mobile",t[1])},m(o,s){r&&r.m(o,s),T(o,e,s),T(o,i,s),F(n,i,null),l=!0},p(o,s){o[1]?r||(r=Ca(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!l||s&2)&&M(i,"mobile",o[1])},i(o){l||(m(n.$$.fragment,o),l=!0)},o(o){v(n.$$.fragment,o),l=!1},d(o){o&&(S(e),S(i)),r&&r.d(o),H(n)}}}function b5(t){let e,i,n;function l(o){t[5](o)}let r={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:G("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Do[Ee.KeyK],$$slots:{default:[g5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&10&&(a.className=(o[1]?"btn-m--play":"")+" "+o[3]),s&4&&(a.disabled=o[2]),s&16&&(a.click=o[4]),s&66&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function _5(t,e,i){let{ref:n=void 0}=e,{isMobile:l=!1}=e,{disabled:r=!1}=e,{className:o=""}=e,{click:s=ie.noop}=e;function a(c){n=c,i(0,n)}return t.$$set=c=>{"ref"in c&&i(0,n=c.ref),"isMobile"in c&&i(1,l=c.isMobile),"disabled"in c&&i(2,r=c.disabled),"className"in c&&i(3,o=c.className),"click"in c&&i(4,s=c.click)},[n,l,r,o,s,a]}class kr extends ke{constructor(e){super(),we(this,e,_5,b5,be,{ref:0,isMobile:1,disabled:2,className:3,click:4},v5)}}function w5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class k5 extends ke{constructor(e){super(),we(this,e,null,w5,be,{})}}function y5(t){let e,i;return e=new k5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C5(t){let e,i,n;function l(o){t[4](o)}let r={className:t[1]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:G("tooltip_interactive_go_back"),disabled:t[2],click:t[3],$$slots:{default:[y5]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.className=o[1]?"hidden":""),s&4&&(a.disabled=o[2]),s&8&&(a.click=o[3]),s&32&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function S5(t,e,i){let{ref:n=void 0}=e,{hidden:l=!1}=e,{disabled:r=!1}=e,{click:o}=e;function s(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,l=a.hidden),"disabled"in a&&i(2,r=a.disabled),"click"in a&&i(3,o=a.click)},[n,l,r,o,s]}class ef extends ke{constructor(e){super(),we(this,e,S5,C5,be,{ref:0,hidden:1,disabled:2,click:3})}}function T5(t){Ke(t,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function P5(t){let e,i,n,l;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),Or(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),n||(l=ve(e,"error",t[7]),n=!0)},p(r,o){o&1&&!Or(e.src,i=r[0])&&u(e,"src",i)},d(r){r&&S(e),n=!1,l()}}}function E5(t){let e;return{c(){e=E("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(i,n){T(i,e,n)},p:K,d(i){i&&S(e)}}}function I5(t){let e;function i(r,o){return r[5]?E5:P5}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,o){n===(n=i(r))&&l?l.p(r,o):(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},d(r){r&&S(e),l.d(r)}}}function A5(t){let e,i;return e=new Ti({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[I5]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,[l]){const r={};l&16&&(r.className=n[4]?"btn-full-opacity":""),l&2&&(r.ariaLabel=n[1]),l&8&&(r.click=n[3]),l&64&&(r.disabled=n[6]),l&4&&(r.testId=n[2]),l&545&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function L5(t,e,i){let n,l,r,{iconUrl:o}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=ie.noop}=e;const d=()=>{i(5,r=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,o=h.iconUrl),"ariaLabel"in h&&i(1,s=h.ariaLabel),"disabled"in h&&i(8,a=h.disabled),"testId"in h&&i(2,c=h.testId),"onClick"in h&&i(3,f=h.onClick)},t.$$.update=()=>{t.$$.dirty&8&&i(4,n=f===ie.noop),t.$$.dirty&272&&i(6,l=n||a)},i(5,r=!1),[o,s,c,f,n,r,l,d,a]}class tf extends ke{constructor(e){super(),we(this,e,L5,A5,be,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},T5)}}class Sa{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,i,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:i,options:n})}removeEventListener(e,i){if(!(e in this.listeners))return;const n=this.listeners[e];for(let l=0,r=n.length;l<r;l++)if(n[l].callback===i){n.splice(l,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let l=0,r=n.length;l<r;l++){const o=n[l];try{o.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}o.options&&o.options.once&&this.removeEventListener(e.type,o.callback)}return!e.defaultPrevented}}class nf extends Sa{constructor(){super(),this.listeners||Sa.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 V5=class{constructor(){Object.defineProperty(this,"signal",{value:new nf,writable:!0,configurable:!0})}abort(e){let i;try{i=new Event("abort")}catch(l){typeof document!="undefined"?document.createEvent?(i=document.createEvent("Event"),i.initEvent("abort",!1,!1)):(i=document.createEventObject(),i.type="abort"):i={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(l){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(i)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(V5.prototype[Symbol.toStringTag]="AbortController",nf.prototype[Symbol.toStringTag]="AbortSignal");function of(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof t.Request=="function"&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function M5(t){typeof t=="function"&&(t={fetch:t});const{fetch:e,Request:i=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l=!1}=t;if(!of({fetch:e,Request:i,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:l}))return{fetch:e,Request:r};let r=i;(r&&!r.prototype.hasOwnProperty("signal")||l)&&(r=function(c,f){let d;f&&f.signal&&(d=f.signal,delete f.signal);const h=new i(c,f);return d&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:d}),h},r.prototype=i.prototype);const o=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let d;try{d=new DOMException("Aborted","AbortError")}catch(_){d=new Error("Aborted"),d.name="AbortError"}if(f.aborted)return Promise.reject(d);const h=new Promise((_,g)=>{f.addEventListener("abort",()=>g(d),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,o(a,c)])}return o(a,c)},Request:r}}const yr=of({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),lf=yr?M5({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,B5=yr?lf.fetch:window.fetch;yr?lf.Request:window.Request;const N5=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,R5="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class O5{constructor(e,i){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new ie.Subject,started$:new ie.Subject,paused$:new ie.Subject,resumed$:new ie.Subject,ended$:new ie.Subject,skipped$:new ie.Subject,clicked$:new ie.Subject},this.loadAdman=n=>new Promise((l,r)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?l():r()};ie.addScript(R5,n,this.loadTimeout).then(()=>{window.AdmanHTML?l():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,l)=>{ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState),ie.assertNonNullable(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(l)}`}),this.events.started$.next(n),l.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),et(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(l.duration),this.adsState.playbackState.set(xt.PLAYING),this.adsState.canSkip.set(l.allowClose),this.adsState.secondsToWatchBeforeSkip.set(l.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{ie.assertNonNullable(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(xt.PAUSED)},this.onAdPlayed=()=>{ie.assertNonNullable(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(xt.PLAYING)},this.onAdMidrollPoint=()=>{ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Rn.Midroll,this.adman.start(Rn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=i.loadTimeout,this.initTimeout=i.initTimeout}init(e,i,n){this.actions=e,this.adsState=i,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:l,isAutoplay:r,adsContainer:o,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:d}=e;let h;const _=this.playerState&&et(this.playerState.vsid);_&&(h=parseInt(_,36));const g={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:i,player_height:n,puid10:N5(i,n),puid11:l?0:1,preview:d,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:o,videoEl:s,videoQuality:n,params:g,browser:{mobile:!1}},b=new window.AdmanHTML;b.setDebug(!1),b.onReady(this.onAdsReady),b.onStarted(this.onAdStarted),b.onPlayed(this.onAdPlayed),b.onPaused(this.onAdPaused),b.adMidrollPoint(this.onAdMidrollPoint),b.onClosed(this.onAdClosed),b.onSkipped(this.onAdSkipped),b.onClicked(this.onAdClicked),b.onTimeRemained(this.onAdTimeRemained),b.onCompleted(this.onAdCompleted),b.onError(this.onAdError),b.init(w),this.adman=b,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(w)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}ie.assertNonNullable(this.actions),ie.assertNonNullable(this.adsState),ie.assertNonNullable(this.playerState);const i=this.currentAdSection===Rn.Postroll;this.adsState.playbackState.set(xt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${i}`}),i&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!i)}togglePlay(){ie.assertNonNullable(this.adsState),this.log({message:"toggle play"});const e=et(this.adsState.playbackState);e===xt.PLAYING?this.pause():e===xt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var i;this.log({message:`set volume ${e}`}),(i=this.adman)===null||i===void 0||i.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var i;this.log({message:`set fullscreen ${e}`}),(i=this.adman)===null||i===void 0||i.setFullscreen(e)}startPreroll(){ie.assertNonNullable(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Rn.Preroll,this.adman.start(Rn.Preroll)}startPostroll(){ie.assertNonNullable(this.adman),ie.assertNonNullable(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Rn.Postroll,this.adman.start(Rn.Postroll)}play(){ie.assertNonNullable(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ie.assertNonNullable(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ie.assertNonNullable(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(i))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const D5=t=>{const e=Math.round(t);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class z5{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const l of n){const r={startTime:0,endTime:0,texts:[],lang:""},o=l.split(this.oneLineRegExp);for(const s of o)if(!r.startTime&&!r.endTime){const a=new rf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new F5,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&i.push(r)}return i}}class rf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const i={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(i.startTime=this.calcTime(n[1],n[2],n[3],n[4]),i.endTime=this.calcTime(n[6],n[7],n[8],n[9])),i}parseTime(e){const i=this.timeRegExp.exec(e);return i?this.calcTime(i[1],i[2],i[3],i[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",i="0",n="0",l="0"){const r=Number(e)*60*60,o=Number(i)*60,s=Number(n),a=+`0.${l}`;return r+o+s+a}}class F5{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const i={texts:[]},l=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](o){let s=0;const a=[];for(;s<o.length;){const c=["<",">"].reduce((f,d)=>{const h=o.indexOf(d,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(o.substring(s));break}a.push(o.substring(s,c)),s=c+1}return a}}),r=new rf;for(const o of l)r.isTime(o)?i.texts.push({type:"timestamp",value:r.parseTime(o)}):i.texts.push({type:"text",value:o});return i}}let Qn,Dt,Zl=0,Kl=!1;const H5=(t,e,i)=>{var n;const l=t>=Zl,r=t<Zl,o=(f,d=0,h=0)=>f<d&&f<h,s=(f,d=0,h=0)=>f>=d&&f<=h,a=(f,d=0,h=0)=>f>d&&f>h,c=(n=i.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Zl=t,r&&(Kl=!1),ie.isNonNullable(Qn)&&s(t,Qn.startTime,Qn.endTime)&&Qn.lang===e.value)return Qn;if(!ie.isNonNullable(Dt)&&(c!=null&&c.length)&&!Kl){const f=c.find(({startTime:d,endTime:h})=>s(t,d,h)||l&&o(t,d,h));Dt=f&&{...f,lang:e.value},Qn=void 0,!ie.isNonNullable(Dt)&&c[c.length-1].endTime<t&&(Kl=!0);return}else{if(s(t,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))return Qn=Dt,Dt=void 0,Qn;(l&&a(t,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime)||r&&o(t,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))&&(Dt=void 0)}},Gl={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};class U5{constructor(e,i){this.oneStat=new St.OneStat(e,i),this.statSubscription=new ie.Subscription}destroy(){this.oneStat.destroy(),this.statSubscription.unsubscribe()}}const q5=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:l,isAudioDisabled:r,canDownload:o,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:d,coreConfig:h,player:_,disabledControls:g,isInteractive:w,interactiveRanges$:b,isInteractiveTime$:C,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:V,additionalButtons:Q,looped:A=!1,statistics:z})=>{var se,re,Z,Y;const O={...h,configName:[...(se=h.configName)!==null&&se!==void 0?se:[],"ui"],isAudioDisabled:r,live:{...(re=h.live)!==null&&re!==void 0?re:{},isLiveCatchUpMode:!!n}},J=d,L=_||new tt.Player(O);L.setLooped(A);const B=new ie.Logger,te=new O5(B,{loadTimeout:J.ads.loadTimeout,initTimeout:J.ads.initTimeout}),P=ir.getInstance(),ee=a==null?void 0:a.pictureInPictureApi,Pe=a==null?void 0:a.annotationsApi,ye=B.createComponentLog("Store");let Ie,Re,_e={};const Ce=ie.getCurrentBrowser(),q=z?Ct(z.oneStat.vsid$):Mn(void 0),x=Me(Bo()),ce=(Z=ee==null?void 0:ee.info.isActive$)!==null&&Z!==void 0?Z:new ie.ValueSubject(!1),ae=ee==null?void 0:ee.info.type,We=Me(0),Oe=Me([]),Ve=ie.merge(L.events.fatalError$,L.events.managedError$).subscribe(I=>Oe.update(oe=>[...oe,I])),Ae=Mn(!1,I=>{const oe=L.events.fatalError$.subscribe(()=>I(!0));return()=>oe.unsubscribe()}),ue=async I=>{var oe;const ge=Object.values(ie.InterfaceLanguage).includes(I);if(J.downloadVKLanguages&&(ge&&J.updateBuiltinLanguages||!fs(I))){let Xe;try{Xe=await ie.loadVKLangPack(I,w0,k0)}catch(ft){(oe=z==null?void 0:z.oneStat)===null||oe===void 0||oe.logError({errorType:"VKLangPack",fatal:!1}),P==null||P.report(ft,{errorType:"VKLangPack",fatal:!1})}Xe&&(cs({language:I,pack:Xe,fallback:J.defaultLanguage}),he.set(I))}fs(I)&&he.set(I)},he=Me(t);ue(t);const le=(I,oe)=>{const ge=et(he);return pc(ge,I,oe,J.defaultLanguage)},Le=Me(De.Thumb),pe=(()=>{const I=Di([Ae,Le],([oe,ge])=>oe?De.Crashed:ge);return{...I,is:oe=>et(I)===oe}})(),Te=(()=>{const I=Me(new Set(g));return{...I,add:oe=>{I.update(ge=>new Set([...ge].concat(oe)))},remove:oe=>{I.update(ge=>{const He=[...ge];return new Set(Array.isArray(oe)?He.filter(Xe=>!oe.includes(Xe)):He.filter(Xe=>Xe!==oe))})},includes:oe=>{const ge=et(I);return Array.isArray(oe)?oe.every(He=>ge.has(He)):ge.has(oe)}}})();ye({message:"create store"});const Ge=I=>{ye({message:`init video, config: ${JSON.stringify(I)}`}),w?I.container.append(L.experimental.element$.getValue()):L.initVideo(I),I.subtitles&&L.setExternalTextTracks(I.subtitles),Ie=I},Ne=new ie.Subject,Je=I=>Ne.next(I),xe=new ie.Subject,rt=new ie.Subject,ct=new ie.Subject,It={actionRewind$:xe,actionSeek$:rt,inPiP$:ce,inFullscreen$:new ie.Observable(I=>x.subscribe(oe=>I.next(oe))),actionSetSubtitle$:ct,nextMovie$:Ne};if(z){const{oneStat:I,statSubscription:oe}=z;oe.add(I.attachTo(L)),oe.add(I.attachToUi(It)),oe.add(I.attachToAds(te.events)),I.authorize(l).catch(ge=>{ye({message:`onestat auth error ${String(ge)}`})})}if(P){const I=new ie.Subscription,oe=(ge,He)=>I.add(ge.subscribe(He));if(oe(L.events.managedError$,ge=>{P.logIError(ge)}),oe(L.events.fatalError$,ge=>{P.logIError(ge,!0)}),z){const{oneStat:ge}=z;oe(ge.experimental.error$,He=>{P.logIError(He)})}P.sentrySubscription.add(I)}const vt=()=>{ie.isIOS()&&Re&&v4(Re)},Gt=new ie.Subscription().add(L.experimental.element$.subscribe(I=>{I&&(Re=I,I.classList.add("player-media"),dl(ee)&&(ee.updateVideoElement(),ee.registryEventHandlers()),w&&I.setAttribute("pip","false"))})).add(L.events.ended$.subscribe(()=>{var I;vt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(L.events.started$.subscribe(async()=>{var I,oe;dl(ee)&&await(ee==null?void 0:ee.revealPictureInPicture());const ge=L.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(oe=_e.onStarted)===null||oe===void 0||oe.call(_e,ge)})).add(L.events.willSeek$.subscribe(({from:I,to:oe})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,I,oe)})).add(L.info.position$.subscribe(I=>{var oe;const ge=L.info.duration$.getValue();(oe=s==null?void 0:s.onTimeupdate)===null||oe===void 0||oe.call(s,ge,I),te.setPosition(I,ge)})).add(L.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(L.info.is3DVideo$.subscribe(I=>{kt.ui.is3DVideo.set(I)})).add(L.info.isEnded$.subscribe(I=>{w&&(I?(C!=null&&C.getValue()&&Te.add(C1),Te.add(dt.PLAY_BUTTON)):Te.remove(dt.PLAY_BUTTON))})).add(L.info.liveTime$.subscribe(I=>{var oe;(oe=s==null?void 0:s.onLiveTime)===null||oe===void 0||oe.call(s,I)})).add(L.info.isStalled$.subscribe(I=>{var oe;(oe=s==null?void 0:s.onStalledChanged)===null||oe===void 0||oe.call(s,I)})),_t=new ie.Subscription,ze=()=>{_t.add(L.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(B.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},fe=()=>{_t.unsubscribe()},wt=(I,oe)=>{L.startCameraManualRotation(I,oe)},at=(I=!1)=>{L.stopCameraManualRotation(I)},Vt=(I,oe,ge)=>{L.moveCameraFocusPX(I,oe,ge)},mt=()=>{L.holdCamera()},Pt=()=>{L.releaseCamera()},$e=Mn(L.info.position$.getValue(),I=>{let oe,ge;const He=()=>{const Xe=L.info.playbackState$.getValue(),ft=L.info.isLive$.getValue(),Lt=L.info.duration$.getValue(),yt=L.info.position$.getValue();if([tt.PlaybackState.PLAYING,tt.PlaybackState.PAUSED].includes(Xe)){const Oi=ft?yt-Lt:L.getExactTime();Oi!==ge&&I(Oi),ge=Oi}oe=requestAnimationFrame(He)};return He(),()=>cancelAnimationFrame(oe)}),Ze=Ct(ce),Et=Ct(L.info.playbackState$),xi=Ct(L.info.currentBuffer$),fi=Ct(L.info.isEnded$),di=Ct(L.info.isLive$),$i=J.features.playbackRate?Ct(L.info.canChangePlaybackSpeed$):Mn(!1),mi=Ct(L.info.liveBufferTime$),Yt=Ct(L.info.volume$),ei=Ct(L.info.muted$),Nt=E1(L.info.autoQualityLimits$.pipe(ie.map(({max:I})=>I!==void 0)),((Y=L.info.autoQualityLimits$.getValue())===null||Y===void 0?void 0:Y.max)!==void 0),ti=Ct(L.info.autoQualityLimitingAvailable$),zi=Ct(L.info.availableQualities$),ii=Ct(L.info.availableQualitiesFps$),Pi=Ct(L.info.chromecastState$),pi=Ct(L.info.chromecastDeviceName$),ni=Ct(L.info.currentFormat$),Ei=Ct(L.info.throughputEstimation$),Fi=Ct(L.info.videoBitrate$),Ii=Ct(L.info.intrinsicVideoSize$),hi=Ct(L.info.duration$),vi=Ct(L.info.isAudioAvailable$);let ut=null;const Qt=L.info.isBuffering$,gi=Mn(Qt.getValue(),I=>{const oe=Qt.subscribe(ge=>{ge&&ut===null?ut=window.setTimeout(()=>{I(Qt.getValue()),ut=null},J.loaderDelay):I(ge)});return()=>{oe.unsubscribe(),ut&&clearTimeout(ut)}}),Ai=()=>{ut&&clearTimeout(ut),ut=null},ot=Di([hi,di],([I,oe])=>oe?-I:I),pt=Di([Et],([I])=>I===tt.PlaybackState.PLAYING),oi=Ct(L.info.atLiveEdge$),Mt=Ct(L.info.atLiveDurationEdge$),li=Ct(L.info.position$),bi=Di([li,hi],([I,oe])=>isFinite(I)&&isFinite(oe)&&!!oe),_i=Di([Pi],([I])=>I===tt.ChromecastState.CONNECTED),Ht=Me(void 0),Ui=Ct(L.info.isAutoQualityEnabled$,I=>I&&Ht.set(void 0)),Rt=Ct(L.info.currentQuality$,()=>Ht.set(void 0)),qi=Di([Ht,Rt],([I,oe])=>I!=null?I:oe),Hi=Di([zi,ii,Ui,qi,ni],([I,oe,ge,He,Xe])=>{const ft=[];Xe!==tt.VideoFormat.MPEG&&ft.push({value:wo.AUTO,displayValue:le("auto_quality_option"),selected:ge});const Lt=I.filter(yt=>yt!==ie.VideoQuality.INVARIANT);for(const yt of Lt){const Oi=oe[yt],Yn=yt===ie.VideoQuality.INVARIANT?le("auto_quality_option"):yt;ft.push({value:yt,displayValue:`${Yn}${Oi?D5(Oi):""}`,selected:ge?!1:yt===He})}return ft}),en=Ct(L.info.currentPlaybackRate$),ri=Di([en,oi,Mt],([I,oe,ge])=>{const He=ge||w?1:J.controls.playbackRateMin,Xe=oe?1:J.controls.playbackRateMax,ft=J.controls.playbackRateStep,Lt=[];for(let yt=He;yt<=Xe;yt+=ft)Lt.push({value:yt,displayValue:yt===1?le("playback_rate_1"):le("playback_rate",{multiplier:yt.toString(10)}),selected:I===yt});return Lt}),jt=J.features.subtitles?Ct(L.info.availableTextTracks$):Mn([]),Li=Di([jt],([I],oe)=>{const ge=[],He=[];for(const Xe of I)Xe.url&&ge.push(B5(Xe.url));Promise.allSettled(ge).then(Xe=>{for(const[ft,Lt]of Xe.entries())Lt.status==="fulfilled"&&Lt.value.text().then(yt=>{const Oi=new z5,Yn=I[ft].language,Io=!!I[ft].isAuto,ao=Oi.parse(yt);Yn&&ao&&He.push({lang:Yn,subtitles:ao,isAuto:Io}),ft===Xe.length-1&&oe(He)})})}),Ut={displayValue:le("subtitles_off"),value:"off"},Xt=Me({...Ut}),ji=Di([Li,Xt,Li],([I,oe])=>{if((I==null?void 0:I.length)>0){const ge=[{...Ut,selected:(oe==null?void 0:oe.value)===Ut.value}];for(const{lang:He,isAuto:Xe}of I)Gl[He]&&ge.push({displayValue:Xe?le("subtitles_auto",{language:Gl[He]}):Gl[He],value:He,selected:(oe==null?void 0:oe.value)===He,isAuto:Xe});return ge}else return[]}),si=Di([$e,Xt,Li],([I,oe,ge])=>{if(oe&&oe.value!==Ut.value)return H5(I,oe,ge)}),wi=Di([si],([I])=>I!=null&&I.texts?I.texts:[]),Wi=Me(!0),ki=Di([xi,ot,li,mi],([I,oe,ge,He])=>{var Xe;const ft=(Xe=I==null?void 0:I.end)!==null&&Xe!==void 0?Xe:0;if(!He)return ft/oe;const yt=-ge+He-oe;return(ft-yt)/oe}),yi=Ct(L.info.availableSources$),Vi=Di([yi],([I])=>Object.keys((I==null?void 0:I[tt.VideoFormat.MPEG])||{}).length>0),Wt=()=>{var I,oe,ge;const He=Object.keys(((oe=(I=L.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||oe===void 0?void 0:oe[tt.VideoFormat.MPEG])||{}),Xe=ie.getHighestQuality(He)||ie.VideoQuality.Q_144P;return(ge=Ie.sources[tt.VideoFormat.MPEG])===null||ge===void 0?void 0:ge[Xe]},Zi=()=>{var I;const oe=Wt();oe?L0(oe,((I=Ie==null?void 0:Ie.meta)===null||I===void 0?void 0:I.title)||"video"):ye({message:"There is no URL for download video"})},Mi=()=>{ye({message:"toggle muted"});const I=L.info.muted$.getValue(),He=!(L.info.volume$.getValue()===0||I);ui(He)},ai=()=>{kt.ui.settingsMenuVisible.set(!1)},Bi=I=>{kt.ui.settingsMenuOpenedByKeyboard.set(!!I),kt.ui.settingsMenuVisible.set(!0)},Ni=I=>{et(kt.ui.settingsMenuVisible)?ai():Bi(I)},Zt=(I,oe=I,ge=!1)=>{var He,Xe,ft;const Lt=!ge,yt=L.info.muted$.getValue();ye({message:`set volume, volume: ${I}, preferredVolume: ${oe}, internalCall: ${Lt}`}),L.setVolume(I),te.setVolume(I),Lt&&((He=s==null?void 0:s.onVolumeChange)===null||He===void 0||He.call(s,I)),Fr(oe),yt?(L.setMuted(!1),Lt&&((Xe=s==null?void 0:s.onUnmute)===null||Xe===void 0||Xe.call(s)),Tl(!1)):!yt&&I===0&&(L.setMuted(!0),Lt&&((ft=s==null?void 0:s.onMute)===null||ft===void 0||ft.call(s)),Tl(!0))},ui=(I,oe=!1)=>{var ge,He,Xe,ft;const Lt=!oe,yt=L.info.volume$.getValue();if(ye({message:`set muted, currentVolume: ${yt}, mute: ${I}, internalCall: ${Lt}`}),L.setMuted(I),te.setVolume(I?0:yt),Tl(I),Lt&&(I?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(He=s==null?void 0:s.onUnmute)===null||He===void 0||He.call(s)),yt===0){let Oi=(Xe=M1())!==null&&Xe!==void 0?Xe:J.volumeDefault;Oi===0&&(Oi=J.volumeMinRestore,Fr(Oi)),L.setVolume(Oi),te.setVolume(Oi),Lt&&((ft=s==null?void 0:s.onVolumeChange)===null||ft===void 0||ft.call(s,Oi))}},Ue=()=>{L.prepare()},Ci=()=>{var I,oe;if(ie.assertNonNullable(kt),!et(kt.ui.controls.disabledControls$).has(dt.PLAY_BUTTON)){if(ye({message:"toggle play"}),et(kt.playerPhase)===De.Ads){te.togglePlay();return}if(L.info.playbackState$.getValue()!==tt.PlaybackState.PLAYING){if(L.info.isEnded$.getValue()){if(ye({message:"toggle play, video ended, seek to 0"}),xe.next(),rt.next(St.SeekAction.REWIND),w){k==null||k();return}L.seekTime(0)}ye({message:"toggle play, call player.play"}),L.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ye({message:"toggle play, call player.pause"}),L.pause(),(oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)}},ci=I=>{ye({message:`set quality, quality: ${I}`}),L.setAutoQuality(I===wo.AUTO),I!==wo.AUTO?(V0(e,I),Ht.set(I),L.setQuality(I)):B1()},Be=I=>{ye({message:`set trafficSavingEnabled, value: ${I}`}),L.setAutoQualityLimits({max:I?J.trafficSavingLimit:void 0}),N0(I)},Ki=I=>{L.setPlaybackRate(I)},rn=()=>{const I=et(ri),oe=I.findIndex(({selected:He})=>He);if(oe===I.length-1)return;const ge=I[oe+1];Ki(ge.value)},sn=()=>{const I=et(ri),oe=I.findIndex(({selected:He})=>He);if(oe===0)return;const ge=I[oe-1];Ki(ge.value)},Gi=I=>{I&&I.value!==Ut.value&&ct.next(I.isAuto?I.value+"_auto":I.value),Xt.set(I)},Yi=()=>{const I=et(ji),oe=et(Xt),ge=et(he);if((oe==null?void 0:oe.value)===Ut.value){const He=I.filter(Xe=>Xe.value!==Ut.value).find(Xe=>Xe.value===ge)||I[1];Gi(He!=null?He:{...Ut})}else Gi({...Ut,selected:!1})},Bt=(I,oe,ge=!0)=>{if(ye({message:`seek to time, time: ${I}`}),rt.next(oe),L.info.isLive$.getValue()){const He=L.info.duration$.getValue(),Xe=Math.min(0,He+I);L.seekTime(Xe,ge)}else{if(C!=null&&C.getValue())return;L.seekTime(Vn(I),ge)}},Qi=I=>{ye({message:`seek to episode start time: ${I}`}),Bt(I,St.SeekAction.EPISODE,!0)},tn=(I,oe)=>{ye({message:`seek to percent, percent: ${I}`});const ge=Math.round(et(ot)*I);Bt(ge,oe,!1)},Ri=I=>{ye({message:`seek external, time: ${I}`}),rt.next(St.SeekAction.UNKNOWN),L.seekTime(L.info.isLive$.getValue()?-I:I)},Ot=I=>{var oe,ge;ye({message:`set auto quality limitation. Max: ${(oe=I.max)!==null&&oe!==void 0?oe:"none"}. Min: ${(ge=I.min)!==null&&ge!==void 0?ge:"none"}`}),L.setAutoQualityLimits(I)},ne=I=>{ye({message:`seek external to episode start time: ${I}`}),Bt(I,St.SeekAction.EPISODE,!0)},nt=I=>{ye({message:`set playback rate to: ${I}`}),L.setPlaybackRate(I)},qt=Me(void 0),Si=Me(!1),gt=I=>{ye({message:`start scrubbing, progress: ${I}`}),Si.set(!0),mn(I)},mn=I=>{qt.set(I)};let _n,pn;const hn=()=>{qt.set(void 0),Si.set(!1)},an=()=>{clearTimeout(pn),clearTimeout(_n),_n=window.setTimeout(()=>{hn()},500),Re==null||Re.removeEventListener("seeked",an)},Xi=I=>{ye({message:`complete scrubbing, progress: ${I}`}),tn(I,St.SeekAction.SLIDER),et(kt.ui.isMobile)&&et(kt.state.currentFormat$)===tt.VideoFormat.HLS?(Re==null||Re.addEventListener("seeked",an),pn=window.setTimeout(()=>{an()},300)):hn()},An=Di([$e,ot,qt],([I,oe,ge],He)=>{He(ie.isNonNullable(ge)?ge*oe:I)}),kn=Me({width:0,height:0}),yn=Di([kn],([{width:I}],oe)=>{const ge=Ch(I);oe(ge)}),vn=Me(!1),Cn=Di([yn,vn],([I,oe])=>oe?Q.filter(ge=>!ge.hideOnMobile):Q.filter(ge=>{var He;return!(!((He=ge.hideOnDesktopGridTypes)===null||He===void 0)&&He.includes(I))})),$=Di([vn,Ae],([I,oe],ge)=>{ge(I&&oe)}),bt=()=>{rt.next(St.SeekAction.LIVE),ye({message:"switch to active live"}),L.seekTime(0),L.info.playbackState$.getValue()!==tt.PlaybackState.PLAYING&&kt.actions.internal.togglePlay()},un=()=>te.skip(),nn=(I=!0)=>{ie.assertNonNullable(kt),ye({message:`switch from ads to video, callPlay: ${I}`}),Le.set(De.Video),I&&L.play()},gn=()=>{ie.assertNonNullable(kt),ye({message:"switch from video to ads"}),kt.actions.internal.pause(),vt(),Le.set(De.Ads)},cn=I=>{ie.assertNonNullable(kt);const oe=I?De.WaitingLive:De.Thumb;Le.set(oe)},Wn=I=>{ie.assertNonNullable(kt);const oe=I?De.WaitingRecord:De.Thumb;Le.set(oe)},Zn=()=>(ie.assertNonNullable(kt),I0(L,Ie,kt)),Kn=()=>(ie.assertNonNullable(kt),A0(L,Ie,kt)),Ln=()=>Re,Gn=()=>{ye({message:"toggle chromecast"}),L.toggleChromecast()},wn=I=>{var oe;ie.assertNonNullable(kt);const ge=!I;if(et(kt.playerPhase)===De.Ads){ye({message:`pause ads, internalCall: ${ge}`}),te.pause();return}ye({message:`pause video, internalCall: ${ge}`}),ge&&((oe=s==null?void 0:s.onPause)===null||oe===void 0||oe.call(s)),L.pause()},fn=I=>{var oe;ie.assertNonNullable(kt);const ge=!I;if(et(kt.playerPhase)===De.Ads){ye({message:`play ads, internalCall: ${ge}`}),te.play();return}ye({message:`play video, internalCall: ${ge}`}),ge&&((oe=s==null?void 0:s.onPlay)===null||oe===void 0||oe.call(s)),L.play()},X=(I,oe)=>{ie.assertNonNullable(kt),ye({message:`first start, show ads: ${I}, internalCall: ${!oe}`}),I?Le.set(De.Ads):(Le.set(De.Video),oe?L.play():kt.actions.internal.togglePlay())},Nn=()=>(ye({message:"getting time codes"}),c),oo=()=>{const I=Nn();if(!I||[0,1].includes(I.length))return;const oe=L.info.position$.getValue();return I.find(ge=>ge.time>oe)},To=I=>{let oe=I;oe||(oe=oo()),oe&&(ye({message:"seek to next episode"}),Bt(oe.time,St.SeekAction.EPISODE,!0))},lo=()=>{const I=Nn();if(!I||[0,1].includes(I.length))return;const oe=L.info.position$.getValue(),ge=I.findIndex(Xe=>Xe.time>oe),He=ge===-1?I.length-2:ge-2;if(!(He<0))return I[He]},ro=I=>{let oe=I;oe||(oe=lo()),oe&&(ye({message:"seek to prev episode"}),Bt(oe.time,St.SeekAction.EPISODE,!0))},Po=()=>(ye({message:"getting preview thumbs data"}),f),W=async()=>{ee!=null&&ee.isActive()?await(ee==null?void 0:ee.remove()):await(ee==null?void 0:ee.request())},At=(I=-90)=>{We.update(oe=>oe+I)},Ji=Me([]);b==null||b.subscribe(I=>{const oe=[];for(let ge=0;ge<I.length;ge++){const{range:[He,Xe],subjects:ft}=I[ge];ge===0&&He!==0&&oe.push({time:0,text:"",interactive:!1,completed:!0}),oe.push({time:He/1e3,text:"",interactive:!0,completed:!ft.length}),Xe!==1/0&&oe.push({time:Xe/1e3,text:"",interactive:!1,completed:!0})}Ji.set(oe)});const on=Me(!1);C==null||C.subscribe(I=>{I&&et(Si)&&hn()});const Vn=I=>{if(!w)return I;const oe=et(Ji),ge=et(ot),Xe=et(li)/ge,ft=oe.find(Lt=>Lt.interactive&&!Lt.completed&&Lt.time>Xe);return typeof(ft==null?void 0:ft.time)=="number"?Math.min(I,ft.time-.05):I},so=()=>{kt.ui.episodes.panelOpened$.set(!1)},Eo=()=>{clearTimeout(pn),clearTimeout(_n),Gt.unsubscribe(),_t.unsubscribe(),L.destroy(),te.destroy(),z==null||z.destroy(),P==null||P.destroy(),Ve.unsubscribe()},kt={interfaceLanguage$:he,initVideo:Ge,videoId:e,isClip:i,playerPhase:pe,vsid:q,state:{positionExact$:$e,positionWithScrubbing$:An,duration$:ot,playbackState$:Et,isPlaying$:pt,isLoaderVisible:gi,bufferedProgress$:ki,isLive$:di,canChangePlaybackSpeed$:$i,isActiveLive$:oi,isOldestAvailableLive$:Mt,isRewindableLive$:bi,isEnded$:fi,muted$:ei,volume$:Yt,trafficSavingEnabled$:Nt,autoQualityLimitingAvailable$:ti,currentQuality$:qi,isAutoQualityEnabled$:Ui,availableQualities$:Hi,currentPlaybackRate$:en,availablePlaybackRates$:ri,currentSubtitle$:Xt,availableSubtitlesList$:ji,currentSubtitleCaptions$:wi,isAutoSubtitleCaptionVisible$:Wi,chromecastState$:Pi,chromecastDeviceName$:pi,chromecastConnected$:_i,currentFormat$:ni,throughputEstimation$:Ei,videoBitrate$:Fi,videoSize$:Ii,errorLog$:Oe,crashed$:Ae,isAudioAvailable$:vi,isAudioDisabled:!!r,canDownload:J.features.download&&!!o,availableSources$:yi,hasMpegSources$:Vi,isInteractive:w,showInteractiveGraph:J.features.interactiveGraph,showSeekToInteractive:J.features.seekToInteractive,showPlayPrevChapter:J.features.interactivePlayPrevChapter,showInteractiveTimeIndicator:J.features.interactiveTimeIndicator&&!!et(Ji).length,interactiveEpisodes$:Ji,isInteractiveTime$:C?Ct(C):Me(!1),graphIsOpened$:Me(!1),isInteractiveExpectation$:on,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:V,showInteractiveTimeIndicatorTooltip$:Me(!1)},ui:{controlsVisible:Me(!1),touched:Me(!1),controls:{prevButton:Me(void 0),playButton:Me(void 0),replayButton:Me(void 0),nextButton:Me(void 0),playPrevChapterButton:Me(void 0),seekToInteractiveButton:Me(void 0),interactiveGraphButton:Me(void 0),liveButton:Me(void 0),time:Me(void 0),episodes:Me(void 0),volume:Me(void 0),subtitles:Me(void 0),settings:Me(void 0),context:Me(void 0),chromecast:Me(void 0),pip:Me(void 0),fullscreen:Me(void 0),vkLogo:Me(void 0),interactiveTimeIndicator:Me(void 0),additionalButtons:Q.length?Q.reduce(I=>[...I,Me(void 0)],[]):[],disabledControls$:Te},modals:{hotKeyMap:{show:Me(!1),data:Me({title:"",closeBtnText:"",groups:[]})}},isFullscreen:x,rotateAlpha:We,isAutoplay:Me(!1),contextMenuVisible:Me(!1),debugPanelVisible:Me(!1),episodes:{panelOpened$:Me(!1),openedByKeyboard$:Me(!1)},contextMenu:{btnRef$:Me(void 0),openedByKeyboard$:Me(!1),showContextMenuBtn$:Me(!1)},playerSize:kn,isMobile:vn,mobileNotReportControlHidden$:$,mobileUnmuteButtonExpanded:Me(!1),mobileUnmuteButtonVisible:Me(!1),icon3DVideoVisible:Me(!1),settingsMenuVisible:Me(!1),settingsMenuOpenedByKeyboard:Me(!1),scrubbingInProgress:Si,is3DVideo:Me(!1),isPictureInPictureActive$:Ze,pictureInPictureType$:Mn(ae),clientInfo$:Mn(Ce),currentGridType$:yn,additionalButtons$:Cn,interactiveHideMobileControls:Me(!1),overlayContainer$:Me(void 0),startedByKeyboard$:Me(!1)},ads:{position:Me(0),duration:Me(0),playbackState:Me(xt.INACTIVE),canSkip:Me(!1),secondsToWatchBeforeSkip:Me(0),postrollPassed:Me(!1)},webApi:{pictureInPictureApi:ee,annotationsApi:Pe},actions:{internal:{preload:Ue,firstStart:I=>X(I,!1),pause:()=>wn(!1),togglePlay:Ci,toggleMuted:Mi,toggleSettingsMenu:Ni,openSettingsMenu:Bi,closeSettingsMenu:ai,setVolume:Zt,setQuality:ci,setTrafficSavingEnabled:I=>Be(I),setPlaybackRate:Ki,incrementPlaybackRate:rn,decrementPlaybackRate:sn,setSubtitle:Gi,toggleSubtitle:Yi,togglePictureInPicture:W,startScrubbing:gt,progressScrubbing:mn,completeScrubbing:Xi,toggleChromecast:Gn,switchToActiveLive:bt,switchFromAdsToVideo:nn,switchFromVideoToAds:gn,skipAd:un,setWaitingLive:cn,setWaitingRecord:Wn,getDebugTextData:Zn,getDebugPanelData:Kn,getVideoElement:Ln,seekTime:(I,oe,ge)=>Bt(I,oe,ge),clearDelayedBufferingCheckTimeout:Ai,seekEpisodeStartTime:Qi,seekToPercent:tn,getNextEpisode:oo,seekToNextEpisode:To,getPrevEpisode:lo,seekToPrevEpisode:ro,startLogging:ze,stopLogging:fe,startCameraManualRotation:wt,stopCameraManualRotation:at,moveCameraFocusPX:Vt,holdCamera:mt,releaseCamera:Pt,getVideoEpisodes:Nn,getPreviewThumbsData:Po,downloadVideo:Zi,addLanguage:cs,setLanguage:ue,nextMovie:Je,videoRotate:At,correctSeekTimeToInteractive:Vn,replayInteractive:k},external:{firstStart:I=>X(I,!0),play:()=>fn(!0),pause:()=>wn(!0),seekTime:I=>Ri(I),seekEpisodeStartTime:I=>ne(I),setPlaybackRate:I=>nt(I),setAutoQualityLimits:I=>Ot(I),setMuted:I=>ui(I,!0),setVolume:I=>Zt(I,I,!0),returnFocusToEpisodes:so}},callbacks:s,setUiCallbacks:I=>{_e={...I}},getAdmanWrapper:()=>te,getLogger:()=>B,destroy:Eo};return kt},sf=(t,e,i,n)=>{var l;if(!t)return;const r=["interactiveTimeIndicator"],o=t.getBoundingClientRect();for(const[s,a]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const c=(l=i[s])===null||l===void 0?void 0:l.getBoundingClientRect(),f=(n||r.includes(s))&&!!c&&!!(c.right-c.left);a.set({positionStartX:0,positionEndX:0,left:f?Math.round(c.left-o.left):0,right:f?Math.round(c.right-o.left):0,top:f?Math.round(c.top-o.top):0,bottom:f?Math.round(c.bottom-o.top):0,isDisplayed:f})}},af=async(t,e,i)=>{await Oo(),e&&i&&(i.focus(),t.set(!1))};function j5(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class W5 extends ke{constructor(e){super(),we(this,e,null,j5,be,{})}}function Z5(t){let e,i;return e=new W5({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K5(t){let e,i,n;function l(o){t[8](o)}let r={className:t[3]?"opened":"",testId:"btn-context-menu",disabled:t[0],ariaLabel:t[1],click:t[5],focus:t[6],blur:t[7],ariaExpanded:t[3],$$slots:{default:[Z5]},$$scope:{ctx:t}};return t[2]!==void 0&&(r.ref=t[2]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&8&&(a.className=o[3]?"opened":""),s&1&&(a.disabled=o[0]),s&2&&(a.ariaLabel=o[1]),s&8&&(a.ariaExpanded=o[3]),s&8192&&(a.$$scope={dirty:s,ctx:o}),!i&&s&4&&(i=!0,a.ref=o[2],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function G5(t,e,i){let n,{disabled:l=!1}=e,{ariaLabel:r=""}=e;const o=Tt(),s=o.ui.contextMenuVisible;D(t,s,b=>i(3,n=b));const a=o.ui.contextMenu.openedByKeyboard$,c=o.ui.contextMenu.showContextMenuBtn$,f=o.ui.contextMenu.btnRef$,d=b=>{const C=mr(b);a.set(C),s.set(!n)};let h;const _=()=>{c.set(!0)},g=()=>{c.set(!1)};function w(b){h=b,i(2,h)}return t.$$set=b=>{"disabled"in b&&i(0,l=b.disabled),"ariaLabel"in b&&i(1,r=b.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[l,r,h,n,s,d,_,g,w]}class Y5 extends ke{constructor(e){super(),we(this,e,G5,K5,be,{disabled:0,ariaLabel:1})}}function Q5(t){Ke(t,"v-iigqlx",".interactive-episode-icon-animated.v-iigqlx{position:absolute;top:16px;right:16px;width:32px;height:32px;transition:0.7s;opacity:1}.invisible.v-iigqlx{opacity:0;visibility:hidden}.fullscreen.v-iigqlx:not(.mobile){width:40px;top:19px;right:23px;height:40px}.mobile.v-iigqlx{width:28px;height:28px;top:12px;right:14px}.fullscreen.mobile.v-iigqlx{width:32px;height:32px}@media screen and (orientation: portrait){.interactive-episode-icon-animated.mobile.fullscreen.v-iigqlx{top:40px;right:16px}}@keyframes v-iigqlx-pulse{0%{transform:scale(1);border-width:1px;opacity:0}10%{opacity:1}50%{transform:scale(1.5);border-width:1px;opacity:0.5}100%{transform:scale(1.5);border-width:0.5px;opacity:0}}.interactive-episode-icon-animated.v-iigqlx:after{display:block;content:'';border:1px solid #fff;position:absolute;top:0;left:0;right:0;bottom:0;border-radius:100%;transform:scale(1.8);animation:1s v-iigqlx-pulse infinite;transition:0.3ms;pointer-events:none}.interactive-episode-icon-animated svg{width:100%;height:100%}.ref-block.v-iigqlx{position:absolute;top:0;width:100%;height:100%}.hidden.v-iigqlx{display:none}")}function X5(t){let e,i,n,l;return e=new Hc({props:{completed:!0}}),{c(){U(e.$$.fragment),i=R(),n=E("div"),u(n,"class","ref-block v-iigqlx"),M(n,"hidden",t[1])},m(r,o){F(e,r,o),T(r,i,o),T(r,n,o),t[18](n),l=!0},p(r,o){(!l||o&2)&&M(n,"hidden",r[1])},i(r){l||(m(e.$$.fragment,r),l=!0)},o(r){v(e.$$.fragment,r),l=!1},d(r){r&&(S(i),S(n)),H(e,r),t[18](null)}}}function J5(t){let e,i,n,l,r,o;function s(c){t[19](c)}let a={tooltipContent:G("tooltip_interactive_interaction_time_indicator"),tooltipActive:t[2],initialTranslateYPx:72,tooltipPlacement:"bottom",$$slots:{default:[X5]},$$scope:{ctx:t}};return t[0]!==void 0&&(a.ref=t[0]),i=new Ft({props:a}),Se.push(()=>je(i,"ref",s)),i.$on("click",t[11]),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","interactive-episode-icon-animated v-iigqlx"),M(e,"mobile",t[3]),M(e,"fullscreen",t[4]),M(e,"invisible",t[1])},m(c,f){T(c,e,f),F(i,e,null),l=!0,r||(o=ve(e,"mousemove",st(t[17])),r=!0)},p(c,[f]){const d={};f&4&&(d.tooltipActive=c[2]),f&8388611&&(d.$$scope={dirty:f,ctx:c}),!n&&f&1&&(n=!0,d.ref=c[0],qe(()=>n=!1)),i.$set(d),(!l||f&8)&&M(e,"mobile",c[3]),(!l||f&16)&&M(e,"fullscreen",c[4]),(!l||f&2)&&M(e,"invisible",c[1])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),H(i),r=!1,o()}}}function x5(t,e,i){var Z;let n,l,r,o,s,a,{ref:c=void 0}=e;const f=Tt(),d=f.ui.isMobile;D(t,d,Y=>i(3,s=Y));const h=f.ui.isFullscreen;D(t,h,Y=>i(4,a=Y));const _=f.state.isInteractiveTime$;D(t,_,Y=>i(15,r=Y));const g=f.state.showInteractiveTimeIndicatorTooltip$;D(t,g,Y=>i(13,n=Y));const w=f.ui.controlsVisible;D(t,w,Y=>i(16,o=Y));const b=(Z=f.callbacks)==null?void 0:Z.onInteractiveTimeIndicatorClick,{interactiveControlsOpacity$:C}=zo();D(t,C,Y=>i(14,l=Y));let k,y,V,Q;const A=()=>{V||b==null||b()};Ro(()=>{window.clearTimeout(k)});function z(Y){to.call(this,t,Y)}function se(Y){Se[Y?"unshift":"push"](()=>{c=Y,i(0,c)})}function re(Y){c=Y,i(0,c)}return t.$$set=Y=>{"ref"in Y&&i(0,c=Y.ref)},t.$$.update=()=>{t.$$.dirty&65544&&i(12,y=!s&&o),t.$$.dirty&53248&&i(1,V=!r||!!l||y),t.$$.dirty&8194&&i(2,Q=n&&!V),t.$$.dirty&4&&Q&&(k=window.setTimeout(()=>{g.set(!1)},3e3))},[c,V,Q,s,a,d,h,_,g,w,C,A,y,n,l,r,o,z,se,re]}class uf extends ke{constructor(e){super(),we(this,e,x5,J5,be,{ref:0},Q5)}}function $5(t){Ke(t,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Ta(t,e,i){const n=t.slice();return n[209]=e[i].iconUrl,n[210]=e[i].ariaLabel,n[211]=e[i].testId,n[212]=e[i].onClick,n[213]=e[i].tooltip,n}function Pa(t){let e,i,n;function l(o){t[173](o)}let r={disabled:!t[9],tooltipContent:G("tooltip_previous"),$$slots:{default:[eg]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(r.ref=t[23].prevButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&512&&(a.disabled=!o[9]),s[0]&4608|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].prevButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function eg(t){let e,i;return e=new bl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4096&&(r.click=n[12]),l[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ea(t){let e,i,n;function l(o){t[174](o)}let r={disabled:t[74],tooltipContent:G("tooltip_restart"),$$slots:{default:[tg]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(r.ref=t[23].replayButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&4096&&(a.disabled=o[74]),s[2]&4096|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].replayButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tg(t){let e,i;return e=new kr({props:{click:t[128],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ia(t){let e,i,n;function l(o){t[176](o)}let r={tooltipContent:t[47],disabled:t[75],$$slots:{default:[ig]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(r.ref=t[23].playButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&65536&&(a.tooltipContent=o[47]),s[2]&8192&&(a.disabled=o[75]),s[0]&67108864|s[1]&8|s[2]&8192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ig(t){let e,i,n;function l(o){t[175](o)}let r={isMobile:!1,isPlaying:t[34],click:t[85],disabled:t[75]};return t[26]!==void 0&&(r.ref=t[26]),e=new wr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.isPlaying=o[34]),s[2]&8192&&(a.disabled=o[75]),!i&&s[0]&67108864&&(i=!0,a.ref=o[26],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Aa(t){let e,i,n;function l(o){t[177](o)}let r={disabled:!t[8],tooltipContent:G("tooltip_next"),$$slots:{default:[ng]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(r.ref=t[23].nextButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&256&&(a.disabled=!o[8]),s[0]&2304|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].nextButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ng(t){let e,i;return e=new bl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2048&&(r.click=n[11]),l[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function og(t){let e,i,n,l,r=t[121]&&lg(t),o=t[120]&&sg(t),s=t[119]&&ug(t);return{c(){r&&r.c(),e=R(),o&&o.c(),i=R(),s&&s.c(),n=ht()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[121]&&r.p(a,c),a[120]&&o.p(a,c),a[119]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function lg(t){let e,i,n;function l(o){t[178](o)}let r={disabled:t[73],tooltipContent:G("tooltip_interactive_go_back"),disabledTooltipContent:G(t[124]),$$slots:{default:[rg]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(r.ref=t[23].playPrevChapterButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&2048&&(a.disabled=o[73]),s[0]&131072|s[2]&2048|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].playPrevChapterButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function rg(t){let e,i;return e=new ef({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&2048&&(r.disabled=n[73]),l[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sg(t){let e,i,n;function l(o){t[179](o)}let r={disabled:t[76],tooltipContent:G("tooltip_interactive_seek"),disabledTooltipContent:G(t[78]),$$slots:{default:[ag]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(r.ref=t[23].seekToInteractiveButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[2]&16384&&(a.disabled=o[76]),s[2]&65536&&(a.disabledTooltipContent=G(o[78])),s[0]&32768|s[2]&16384|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].seekToInteractiveButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ag(t){let e,i;return e=new Jc({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&16384&&(r.disabled=n[76]),l[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ug(t){let e,i,n;function l(o){t[180](o)}let r={tooltipContent:t[48],disabled:t[77],$$slots:{default:[cg]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(r.ref=t[23].interactiveGraphButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.tooltipContent=o[48]),s[2]&32768&&(a.disabled=o[77]),s[0]&65536|s[1]&1|s[2]&32768|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveGraphButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function cg(t){let e,i;return e=new xc({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&65536&&(r.click=n[16]),l[1]&1&&(r.graphIsOpened=n[31]),l[2]&32768&&(r.disabled=n[77]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function La(t){let e,i,n;function l(o){t[181](o)}let r={tooltipContent:t[50],$$slots:{default:[fg]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(r.ref=t[23].liveButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&524288&&(a.tooltipContent=o[50]),s[0]&2097152|s[1]&524288|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].liveButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function fg(t){let e,i;return e=new Kc({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2097152&&(r.isActiveLive=n[21]),l[1]&524288&&(r.ariaLabel=n[50]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Va(t){let e,i,n;function l(o){t[182](o)}let r={isMobile:!1,showDuration:t[55],position:t[4]?t[79]:t[80],duration:t[4]?t[81]:t[82]};return t[23].time!==void 0&&(r.ref=t[23].time),e=new zc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16777216&&(a.showDuration=o[55]),s[0]&16|s[2]&393216&&(a.position=o[4]?o[79]:o[80]),s[0]&16|s[2]&1572864&&(a.duration=o[4]?o[81]:o[82]),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].time,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ma(t){let e,i;return e=new Xc({props:{position:t[80],duration:t[82],timeCodes:t[101]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[2]&262144&&(r.position=n[80]),l[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dg(t){let e,i,n=t[20]&&Ma(t);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[20]?n?(n.p(l,r),r[0]&1048576&&m(n,1)):(n=Ma(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function mg(t){var n;let e,i;return e=new tf({props:{iconUrl:t[209],ariaLabel:(n=t[210])!=null?n:t[213],testId:t[211],onClick:t[212]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&268435456&&(o.iconUrl=l[209]),r[0]&268435456&&(o.ariaLabel=(s=l[210])!=null?s:l[213]),r[0]&268435456&&(o.testId=l[211]),r[0]&268435456&&(o.onClick=l[212]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Ba(t){let e,i;return e=new Ft({props:{tooltipContent:t[213],width:40,$$slots:{default:[mg]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&268435456&&(r.tooltipContent=n[213]),l[0]&268435456|l[6]&1073741824&&(r.$$scope={dirty:l,ctx:n}),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Na(t){let e,i,n;function l(o){t[185](o)}let r={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[pg]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(r.ref=t[23].vkLogo),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.disabled=!o[6]),s[1]&1048576&&(a.tooltipContent=o[51]),s[0]&192|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].vkLogo,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function pg(t){let e,i;return e=new Wc({props:{click:t[86],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&64&&(r.logoClickable=n[6]),l[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hg(t){let e,i;return e=new Ah({props:{click:t[127]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p:K,i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ra(t){let e,i,n;function l(o){t[187](o)}let r={tooltipContent:t[52],$$slots:{default:[vg]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(r.ref=t[23].subtitles),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&2097152&&(a.tooltipContent=o[52]),s[0]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].subtitles,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function vg(t){let e,i;return e=new H3({props:{isSubtitlesEnabled:t[18],click:t[87]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Oa(t){var s;let e,i,n,l;function r(a){t[188](a)}let o={supportLink:t[10],playerControlsHeight:(s=t[46])==null?void 0:s.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(o.ref=t[24]),i=new Dc({props:o}),Se.push(()=>je(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){T(a,e,c),F(i,e,null),l=!0},p(a,c){var d;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&32768&&(f.playerControlsHeight=(d=a[46])==null?void 0:d.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),i.$set(f)},i(a){l||(m(i.$$.fragment,a),l=!0)},o(a){v(i.$$.fragment,a),l=!1},d(a){a&&S(e),H(i)}}}function Da(t){let e,i,n;function l(o){t[190](o)}let r={tooltipContent:t[27]?void 0:G("tooltip_settings_off"),$$slots:{default:[gg]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(r.ref=t[23].settings),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&134217728&&(a.tooltipContent=o[27]?void 0:G("tooltip_settings_off")),s[0]&33554432|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].settings,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function gg(t){let e,i,n;function l(o){t[189](o)}let r={};return t[25]!==void 0&&(r.ref=t[25]),e=new gr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&33554432&&(i=!0,a.ref=o[25],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function bg(t){let e,i,n;function l(o){t[191](o)}let r={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[_g]},$$scope:{ctx:t}};return t[23].context!==void 0&&(r.ref=t[23].context),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&1024&&(a.className=o[41]?"":"out-of-view"),s[1]&262144&&(a.tooltipContent=o[49]),s[1]&262144|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].context,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function _g(t){let e,i;return e=new Y5({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function za(t){let e,i,n;function l(o){t[192](o)}let r={tooltipContent:t[53],$$slots:{default:[wg]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(r.ref=t[23].fullscreen),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&4194304&&(a.tooltipContent=o[53]),s[0]&1073750016|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].fullscreen,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function wg(t){let e,i;return e=new qc({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8192&&(r.click=n[13]),l[0]&1073741824&&(r.isFullscreen=n[30]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fa(t){let e,i,n;function l(o){t[193](o)}let r={tooltipContent:t[54],$$slots:{default:[kg]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(r.ref=t[23].chromecast),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.tooltipContent=o[54]),s[0]&536870912|s[6]&1073741824&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&8388608&&(i=!0,a.ref=o[23].chromecast,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function kg(t){let e,i;return e=new Zc({props:{isMobile:!1,state:t[29],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&536870912&&(r.state=n[29]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function yg(t){let e,i,n;function l(o){t[196](o)}let r={};return t[23].interactiveTimeIndicator!==void 0&&(r.ref=t[23].interactiveTimeIndicator),e=new uf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&8388608&&(i=!0,a.ref=o[23].interactiveTimeIndicator,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Cg(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L;i=new Qc({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let B=t[38]&&Pa(t),te=t[35]&&Ea(t),P=t[36]&&Ia(t),ee=t[37]&&Aa(t),Pe=t[117]&&og(t),ye=!t[4]&&t[33]&&La(t),Ie=t[19]&&Va(t);function Re(pe){t[183](pe)}let _e={className:"w-max",disabled:!t[20],tooltipContent:G("tooltip_episodes"),$$slots:{default:[dg]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(_e.ref=t[23].episodes),_=new Ft({props:_e}),Se.push(()=>je(_,"ref",Re));let Ce=Kt(t[28]),q=[];for(let pe=0;pe<Ce.length;pe+=1)q[pe]=Ba(Ta(t,Ce,pe));const x=pe=>v(q[pe],1,1,()=>{q[pe]=null});let ce=t[43]&&Na(t);function ae(pe){t[186](pe)}let We={$$slots:{default:[hg]},$$scope:{ctx:t}};t[23].volume!==void 0&&(We.ref=t[23].volume),V=new Ft({props:We}),Se.push(()=>je(V,"ref",ae));let Oe=t[40]&&Ra(t),Ve=!t[83]&&!t[4]&&Oa(t),Ae=t[42]&&Da(t),ue=t[84].features.contextMenuButton&&bg(t),he=t[44]&&za(t),le=t[39]&&Fa(t),Le=t[122]&&yg(t);return{c(){e=E("div"),U(i.$$.fragment),n=R(),l=E("div"),r=E("div"),B&&B.c(),o=R(),te&&te.c(),s=R(),P&&P.c(),a=R(),ee&&ee.c(),c=R(),Pe&&Pe.c(),f=R(),ye&&ye.c(),d=R(),Ie&&Ie.c(),h=R(),U(_.$$.fragment),b=R(),C=E("div");for(let pe=0;pe<q.length;pe+=1)q[pe].c();k=R(),ce&&ce.c(),y=R(),U(V.$$.fragment),A=R(),Oe&&Oe.c(),z=R(),Ve&&Ve.c(),se=R(),Ae&&Ae.c(),re=R(),ue&&ue.c(),Z=R(),he&&he.c(),Y=R(),le&&le.c(),O=R(),Le&&Le.c(),J=ht(),u(r,"class","controls-left v-st0uzk"),ko(()=>t[184].call(r)),u(C,"class","controls-right v-st0uzk"),u(l,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),M(e,"hidden",t[1]),M(e,"controls-hidden",!t[3]),M(e,"no-smooth",t[2])},m(pe,Te){T(pe,e,Te),F(i,e,null),p(e,n),p(e,l),p(l,r),B&&B.m(r,null),p(r,o),te&&te.m(r,null),p(r,s),P&&P.m(r,null),p(r,a),ee&&ee.m(r,null),p(r,c),Pe&&Pe.m(r,null),p(r,f),ye&&ye.m(r,null),p(r,d),Ie&&Ie.m(r,null),p(r,h),F(_,r,null),w=or(r,t[184].bind(r)),p(l,b),p(l,C);for(let Ge=0;Ge<q.length;Ge+=1)q[Ge]&&q[Ge].m(C,null);p(C,k),ce&&ce.m(C,null),p(C,y),F(V,C,null),p(C,A),Oe&&Oe.m(C,null),p(C,z),Ve&&Ve.m(C,null),p(C,se),Ae&&Ae.m(C,null),p(C,re),ue&&ue.m(C,null),p(C,Z),he&&he.m(C,null),p(C,Y),le&&le.m(C,null),t[194](l),t[195](e),T(pe,O,Te),Le&&Le.m(pe,Te),T(pe,J,Te),L=!0},p(pe,Te){const Ge={};Te[1]&16384&&(Ge.isHidden=!pe[45]),Te[0]&16&&(Ge.isAds=pe[4]),Te[0]&32&&(Ge.canRewindLive=pe[5]),Te[1]&2&&(Ge.isRewindableLive=pe[32]),i.$set(Ge),pe[38]?B?(B.p(pe,Te),Te[1]&128&&m(B,1)):(B=Pa(pe),B.c(),m(B,1),B.m(r,o)):B&&(de(),v(B,1,1,()=>{B=null}),me()),pe[35]?te?(te.p(pe,Te),Te[1]&16&&m(te,1)):(te=Ea(pe),te.c(),m(te,1),te.m(r,s)):te&&(de(),v(te,1,1,()=>{te=null}),me()),pe[36]?P?(P.p(pe,Te),Te[1]&32&&m(P,1)):(P=Ia(pe),P.c(),m(P,1),P.m(r,a)):P&&(de(),v(P,1,1,()=>{P=null}),me()),pe[37]?ee?(ee.p(pe,Te),Te[1]&64&&m(ee,1)):(ee=Aa(pe),ee.c(),m(ee,1),ee.m(r,c)):ee&&(de(),v(ee,1,1,()=>{ee=null}),me()),pe[117]&&Pe.p(pe,Te),!pe[4]&&pe[33]?ye?(ye.p(pe,Te),Te[0]&16|Te[1]&4&&m(ye,1)):(ye=La(pe),ye.c(),m(ye,1),ye.m(r,d)):ye&&(de(),v(ye,1,1,()=>{ye=null}),me()),pe[19]?Ie?(Ie.p(pe,Te),Te[0]&524288&&m(Ie,1)):(Ie=Va(pe),Ie.c(),m(Ie,1),Ie.m(r,h)):Ie&&(de(),v(Ie,1,1,()=>{Ie=null}),me());const Ne={};if(Te[0]&1048576&&(Ne.disabled=!pe[20]),Te[0]&1048576|Te[2]&1310720|Te[6]&1073741824&&(Ne.$$scope={dirty:Te,ctx:pe}),!g&&Te[0]&8388608&&(g=!0,Ne.ref=pe[23].episodes,qe(()=>g=!1)),_.$set(Ne),Te[0]&268435456){Ce=Kt(pe[28]);let xe;for(xe=0;xe<Ce.length;xe+=1){const rt=Ta(pe,Ce,xe);q[xe]?(q[xe].p(rt,Te),m(q[xe],1)):(q[xe]=Ba(rt),q[xe].c(),m(q[xe],1),q[xe].m(C,k))}for(de(),xe=Ce.length;xe<q.length;xe+=1)x(xe);me()}pe[43]?ce?(ce.p(pe,Te),Te[1]&4096&&m(ce,1)):(ce=Na(pe),ce.c(),m(ce,1),ce.m(C,y)):ce&&(de(),v(ce,1,1,()=>{ce=null}),me());const Je={};Te[6]&1073741824&&(Je.$$scope={dirty:Te,ctx:pe}),!Q&&Te[0]&8388608&&(Q=!0,Je.ref=pe[23].volume,qe(()=>Q=!1)),V.$set(Je),pe[40]?Oe?(Oe.p(pe,Te),Te[1]&512&&m(Oe,1)):(Oe=Ra(pe),Oe.c(),m(Oe,1),Oe.m(C,z)):Oe&&(de(),v(Oe,1,1,()=>{Oe=null}),me()),!pe[83]&&!pe[4]?Ve?(Ve.p(pe,Te),Te[0]&16|Te[2]&2097152&&m(Ve,1)):(Ve=Oa(pe),Ve.c(),m(Ve,1),Ve.m(C,se)):Ve&&(de(),v(Ve,1,1,()=>{Ve=null}),me()),pe[42]?Ae?(Ae.p(pe,Te),Te[1]&2048&&m(Ae,1)):(Ae=Da(pe),Ae.c(),m(Ae,1),Ae.m(C,re)):Ae&&(de(),v(Ae,1,1,()=>{Ae=null}),me()),pe[84].features.contextMenuButton&&ue.p(pe,Te),pe[44]?he?(he.p(pe,Te),Te[1]&8192&&m(he,1)):(he=za(pe),he.c(),m(he,1),he.m(C,Y)):he&&(de(),v(he,1,1,()=>{he=null}),me()),pe[39]?le?(le.p(pe,Te),Te[1]&256&&m(le,1)):(le=Fa(pe),le.c(),m(le,1),le.m(C,null)):le&&(de(),v(le,1,1,()=>{le=null}),me()),(!L||Te[0]&2)&&M(e,"hidden",pe[1]),(!L||Te[0]&8)&&M(e,"controls-hidden",!pe[3]),(!L||Te[0]&4)&&M(e,"no-smooth",pe[2]),pe[122]&&Le.p(pe,Te)},i(pe){if(!L){m(i.$$.fragment,pe),m(B),m(te),m(P),m(ee),m(Pe),m(ye),m(Ie),m(_.$$.fragment,pe);for(let Te=0;Te<Ce.length;Te+=1)m(q[Te]);m(ce),m(V.$$.fragment,pe),m(Oe),m(Ve),m(Ae),m(ue),m(he),m(le),m(Le),L=!0}},o(pe){v(i.$$.fragment,pe),v(B),v(te),v(P),v(ee),v(Pe),v(ye),v(Ie),v(_.$$.fragment,pe),q=q.filter(Boolean);for(let Te=0;Te<q.length;Te+=1)v(q[Te]);v(ce),v(V.$$.fragment,pe),v(Oe),v(Ve),v(Ae),v(ue),v(he),v(le),v(Le),L=!1},d(pe){pe&&(S(e),S(O),S(J)),H(i),B&&B.d(),te&&te.d(),P&&P.d(),ee&&ee.d(),Pe&&Pe.d(),ye&&ye.d(),Ie&&Ie.d(),H(_),w(),In(q,pe),ce&&ce.d(),H(V),Oe&&Oe.d(),Ve&&Ve.d(),Ae&&Ae.d(),ue&&ue.d(),he&&he.d(),le&&le.d(),t[194](null),t[195](null),Le&&Le.d(pe)}}}function Sg(t,e,i){var Mr,Br;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe=K,ye=()=>(Pe(),Pe=Jt(re,j=>i(144,ee=j)),re),Ie,Re=K,_e=()=>(Re(),Re=Jt(se,j=>i(145,Ie=j)),se),Ce,q=K,x=()=>(q(),q=Jt(z,j=>i(146,Ce=j)),z),ce,ae=K,We=()=>(ae(),ae=Jt(A,j=>i(147,ce=j)),A),Oe,Ve=K,Ae=()=>(Ve(),Ve=Jt(Q,j=>i(148,Oe=j)),Q),ue,he=K,le=()=>(he(),he=Jt(V,j=>i(149,ue=j)),V),Le,pe=K,Te=()=>(pe(),pe=Jt(y,j=>i(150,Le=j)),y),Ge,Ne=K,Je=()=>(Ne(),Ne=Jt(k,j=>i(151,Ge=j)),k),xe,rt=K,ct=()=>(rt(),rt=Jt(C,j=>i(152,xe=j)),C),It,vt=K,Gt=()=>(vt(),vt=Jt(b,j=>i(153,It=j)),b),_t,ze=K,fe=()=>(ze(),ze=Jt(w,j=>i(154,_t=j)),w),wt,at=K,Vt=()=>(at(),at=Jt(g,j=>i(155,wt=j)),g),mt,Pt=K,$e=()=>(Pt(),Pt=Jt(_,j=>i(156,mt=j)),_),Ze,Et=K,xi=()=>(Et(),Et=Jt(h,j=>i(157,Ze=j)),h),fi,di=K,$i=()=>(di(),di=Jt(d,j=>i(158,fi=j)),d),mi,Yt=K,ei=()=>(Yt(),Yt=Jt(f,j=>i(159,mi=j)),f),Nt,ti=K,zi=()=>(ti(),ti=Jt(c,j=>i(160,Nt=j)),c),ii,Pi,pi,ni,Ei,Fi,Ii,hi,vi,ut,Qt,gi,Ai,ot,pt,oi,Mt,li,bi,_i,Ht,Ui,Rt;t.$$.on_destroy.push(()=>Pe()),t.$$.on_destroy.push(()=>Re()),t.$$.on_destroy.push(()=>q()),t.$$.on_destroy.push(()=>ae()),t.$$.on_destroy.push(()=>Ve()),t.$$.on_destroy.push(()=>he()),t.$$.on_destroy.push(()=>pe()),t.$$.on_destroy.push(()=>Ne()),t.$$.on_destroy.push(()=>rt()),t.$$.on_destroy.push(()=>vt()),t.$$.on_destroy.push(()=>ze()),t.$$.on_destroy.push(()=>at()),t.$$.on_destroy.push(()=>Pt()),t.$$.on_destroy.push(()=>Et()),t.$$.on_destroy.push(()=>di()),t.$$.on_destroy.push(()=>Yt()),t.$$.on_destroy.push(()=>ti());let{bottomHidden:qi}=e,{bottomNoSmooth:Hi}=e,{showControls:en}=e,{controlsElementRef:ri=void 0}=e,{isAds:jt=!1}=e,{canRewindLive:Li}=e,{logoClickable:Ut}=e,{logoHidden:Xt}=e,{videoLogoUrl:ji}=e,{showNextPrevButtons:si}=e,{nextButtonActive:wi}=e,{prevButtonActive:Wi}=e,{isOneVideoPlaylist:ki=!1}=e,{supportLink:yi}=e,{customFullscreenSupported:Vi=!0}=e,{playNextVideo:Wt}=e,{playPrevVideo:Zi}=e,{repeatPlaylist:Mi}=e,{toggleFullscreen:ai}=e,{returnFocus:Bi}=e,{seekToInteractive:Ni}=e,{toggleGraph:Zt}=e,{playPrevChapter:ui}=e;const Ue=Tt(),Ci=zo(),ci=bn(),Be=Ue.actions.internal.toggleMuted,Ki=Ue.actions.internal.togglePlay,rn=Ue.actions.internal.pause,sn=Ue.actions.internal.toggleSubtitle,Gi=(Mr=Ue.callbacks)==null?void 0:Mr.onAudioDoesNotExistHint,Yi=(Br=Ue.callbacks)==null?void 0:Br.onAudioDisabledHint,Bt=Ue.state.duration$;D(t,Bt,j=>i(82,Ui=j));const Qi=Ue.state.positionWithScrubbing$;D(t,Qi,j=>i(80,_i=j));const tn=Ue.state.playbackState$;D(t,tn,j=>i(161,pi=j));const Ri=Ue.state.chromecastConnected$;D(t,Ri,j=>i(83,Rt=j));const Ot=Ue.state.isAudioAvailable$;D(t,Ot,j=>i(197,Z=j));const ne=Ue.state.isAudioDisabled,nt=Ue.state.isEnded$;D(t,nt,j=>i(169,ot=j));const qt=Ue.state.isLive$;D(t,qt,j=>i(33,hi=j));const Si=Ue.state.isActiveLive$;D(t,Si,j=>i(163,Fi=j));const gt=Ue.state.isRewindableLive$;D(t,gt,j=>i(32,Ii=j));const mn=Ue.ui.isPictureInPictureActive$;D(t,mn,j=>i(165,ut=j));const _n=Ue.ui.pictureInPictureType$;D(t,_n,j=>i(164,vi=j));const pn=Ue.ui.settingsMenuVisible;D(t,pn,j=>i(27,J=j));const hn=Ue.ui.settingsMenuOpenedByKeyboard;D(t,hn,j=>i(140,O=j));const an=Ue.ui.controls,Xi=Ue.actions.internal.getVideoEpisodes(),An=Ue.state.chromecastState$;D(t,An,j=>i(29,ii=j));const kn=Ue.state.availableSubtitlesList$;D(t,kn,j=>i(168,Ai=j));const yn=Ue.state.currentSubtitle$;D(t,yn,j=>i(170,pt=j));const vn=an.disabledControls$;D(t,vn,j=>i(172,Mt=j));const Cn=Ue.ui.contextMenuVisible;D(t,Cn,j=>i(162,ni=j));const $=Ue.ui.contextMenu.showContextMenuBtn$;D(t,$,j=>i(166,Qt=j));const bt=Ue.ui.contextMenu.openedByKeyboard$;D(t,bt,j=>i(167,gi=j));const un=Ue.ui.startedByKeyboard$;D(t,un,j=>i(139,Y=j));const nn=Ue.ads.duration;D(t,nn,j=>i(81,Ht=j));const gn=Ue.ads.position;D(t,gn,j=>i(79,bi=j));const cn=Ue.ads.playbackState;D(t,cn,j=>i(171,oi=j));const Wn=Ue.ui.isFullscreen;D(t,Wn,j=>i(30,Pi=j));const Zn=Ue.ui.playerSize;D(t,Zn,j=>i(142,B=j));const Kn=Ue.ui.currentGridType$;D(t,Kn,j=>i(143,te=j));const Ln=Ue.ui.additionalButtons$;D(t,Ln,j=>i(28,P=j));const Gn=Ue.actions.internal.getVideoElement,wn=Ue.actions.internal.replayInteractive,fn=Ue.state.isInteractive,X=Ue.state.isInteractiveTime$;D(t,X,j=>i(141,L=j));const Nn=Ue.state.showInteractiveGraph,oo=Ue.state.showSeekToInteractive,To=Ue.state.showPlayPrevChapter,lo=Ue.state.showInteractiveTimeIndicator,ro=Ue.state.graphIsOpened$;D(t,ro,j=>i(31,Ei=j));const Po=Ue.state.playPrevChapterDisabledTooltip,W=Ci.seekToInteractiveDisabledTooltip$;D(t,W,j=>i(78,li=j));const At=()=>Ue.actions.internal.toggleChromecast();let Ji,on,Vn,so,Eo,kt,I,oe,ge,He,Xe,ft,Lt,yt,Oi,Yn,Io,ao,Sr,Tr,Pr,_l="";const Cf=(j,kl)=>{if(!j){i(50,_l=G("tooltip_live"));return}kl===tt.PlaybackState.PAUSED&&i(50,_l=G("tooltip_play"))};let Er,Ir,Ar,Lr,Zo;const Ye={};let Sn,Ao,wl,Vr;const Sf=ie.throttleFn(sf,k1,{leading:!1});let Ko,Go,Yo;function Tf(){ne?Yi==null||Yi():Z?Be():Gi==null||Gi()}const Pf=fn?wn:ki?Ki:Mi;function Ef(j){t.$$.not_equal(Ye.prevButton,j)&&(Ye.prevButton=j,i(23,Ye))}function If(j){t.$$.not_equal(Ye.replayButton,j)&&(Ye.replayButton=j,i(23,Ye))}function Af(j){Yo=j,i(26,Yo)}function Lf(j){t.$$.not_equal(Ye.playButton,j)&&(Ye.playButton=j,i(23,Ye))}function Vf(j){t.$$.not_equal(Ye.nextButton,j)&&(Ye.nextButton=j,i(23,Ye))}function Mf(j){t.$$.not_equal(Ye.playPrevChapterButton,j)&&(Ye.playPrevChapterButton=j,i(23,Ye))}function Bf(j){t.$$.not_equal(Ye.seekToInteractiveButton,j)&&(Ye.seekToInteractiveButton=j,i(23,Ye))}function Nf(j){t.$$.not_equal(Ye.interactiveGraphButton,j)&&(Ye.interactiveGraphButton=j,i(23,Ye))}function Rf(j){t.$$.not_equal(Ye.liveButton,j)&&(Ye.liveButton=j,i(23,Ye))}function Of(j){t.$$.not_equal(Ye.time,j)&&(Ye.time=j,i(23,Ye))}function Df(j){t.$$.not_equal(Ye.episodes,j)&&(Ye.episodes=j,i(23,Ye))}function zf(){Zo=this.clientWidth,i(22,Zo)}function Ff(j){t.$$.not_equal(Ye.vkLogo,j)&&(Ye.vkLogo=j,i(23,Ye))}function Hf(j){t.$$.not_equal(Ye.volume,j)&&(Ye.volume=j,i(23,Ye))}function Uf(j){t.$$.not_equal(Ye.subtitles,j)&&(Ye.subtitles=j,i(23,Ye))}function qf(j){Ko=j,i(24,Ko)}function jf(j){Go=j,i(25,Go)}function Wf(j){t.$$.not_equal(Ye.settings,j)&&(Ye.settings=j,i(23,Ye))}function Zf(j){t.$$.not_equal(Ye.context,j)&&(Ye.context=j,i(23,Ye))}function Kf(j){t.$$.not_equal(Ye.fullscreen,j)&&(Ye.fullscreen=j,i(23,Ye))}function Gf(j){t.$$.not_equal(Ye.chromecast,j)&&(Ye.chromecast=j,i(23,Ye))}function Yf(j){Se[j?"unshift":"push"](()=>{Io=j,i(46,Io)})}function Qf(j){Se[j?"unshift":"push"](()=>{ri=j,i(0,ri)})}function Xf(j){t.$$.not_equal(Ye.interactiveTimeIndicator,j)&&(Ye.interactiveTimeIndicator=j,i(23,Ye))}return t.$$set=j=>{"bottomHidden"in j&&i(1,qi=j.bottomHidden),"bottomNoSmooth"in j&&i(2,Hi=j.bottomNoSmooth),"showControls"in j&&i(3,en=j.showControls),"controlsElementRef"in j&&i(0,ri=j.controlsElementRef),"isAds"in j&&i(4,jt=j.isAds),"canRewindLive"in j&&i(5,Li=j.canRewindLive),"logoClickable"in j&&i(6,Ut=j.logoClickable),"logoHidden"in j&&i(129,Xt=j.logoHidden),"videoLogoUrl"in j&&i(7,ji=j.videoLogoUrl),"showNextPrevButtons"in j&&i(130,si=j.showNextPrevButtons),"nextButtonActive"in j&&i(8,wi=j.nextButtonActive),"prevButtonActive"in j&&i(9,Wi=j.prevButtonActive),"isOneVideoPlaylist"in j&&i(131,ki=j.isOneVideoPlaylist),"supportLink"in j&&i(10,yi=j.supportLink),"customFullscreenSupported"in j&&i(132,Vi=j.customFullscreenSupported),"playNextVideo"in j&&i(11,Wt=j.playNextVideo),"playPrevVideo"in j&&i(12,Zi=j.playPrevVideo),"repeatPlaylist"in j&&i(133,Mi=j.repeatPlaylist),"toggleFullscreen"in j&&i(13,ai=j.toggleFullscreen),"returnFocus"in j&&i(14,Bi=j.returnFocus),"seekToInteractive"in j&&i(15,Ni=j.seekToInteractive),"toggleGraph"in j&&i(16,Zt=j.toggleGraph),"playPrevChapter"in j&&i(17,ui=j.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&131072&&i(138,n=Mt.has(dt.EPISODE_BUTTON)),t.$$.dirty[5]&131072&&i(77,l=Mt.has(dt.GRAPH_BUTTON)),t.$$.dirty[5]&131072&&i(76,r=Mt.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&131072&&i(75,o=Mt.has(dt.PLAY_BUTTON)),t.$$.dirty[5]&131072&&i(74,s=Mt.has(dt.REPLAY_BUTTON)),t.$$.dirty[5]&131072&&i(73,a=Mt.has(dt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&65600&&i(34,Ji=jt?oi===xt.PLAYING:pi===tt.PlaybackState.PLAYING),t.$$.dirty[5]&32768&&i(18,on=pt.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(35,Vn=ot&&!jt||fn),t.$$.dirty[0]&16|t.$$.dirty[5]&16384&&i(36,so=!ot||fn||jt),t.$$.dirty[4]&524288&&i(134,Eo=Tn(te,exports.GridTypes.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&524352&&i(37,kt=si&&Tn(te,exports.GridTypes.M)&&!jt&&wi),t.$$.dirty[0]&528|t.$$.dirty[4]&524352&&i(38,I=si&&Tn(te,exports.GridTypes.M)&&!jt&&Wi),t.$$.dirty[0]&536870912|t.$$.dirty[4]&524288|t.$$.dirty[5]&1536&&i(39,oe=ii!==tt.ChromecastState.NOT_AVAILABLE&&!(ut&&vi===Dn.DocumentPictureInPicture)&&Tn(te,exports.GridTypes.M)&&!fn),t.$$.dirty[4]&524288|t.$$.dirty[5]&8192&&i(40,ge=Ai.length>0&&Tn(te,exports.GridTypes.M)),t.$$.dirty[5]&6144&&i(41,He=gi||Qt),t.$$.dirty[4]&524288&&i(42,Xe=Tn(te,exports.GridTypes.S)),t.$$.dirty[4]&32&&i(43,ft=!Xt),t.$$.dirty[4]&524576|t.$$.dirty[5]&1536&&i(44,Lt=ci.features.fullscreen&&(Xt||Tn(te,exports.GridTypes.S))&&!(ut&&vi===Dn.DocumentPictureInPicture)&&(fn?Vi:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,yt=(!hi||jt)&&!(ci.features.interactiveHideTime&&fn)),t.$$.dirty[4]&262144&&i(45,Oi=B.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&17408&&i(20,Yn=!jt&&!hi&&!!(Xi!=null&&Xi.length)&&Eo&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&256&&i(21,ao=!Ii||Fi),t.$$.dirty[5]&64&&i(47,Sr=pi===tt.PlaybackState.PLAYING?G("tooltip_pause"):G("tooltip_play")),t.$$.dirty[1]&1&&i(48,Tr=G(Ei?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&128&&i(49,Pr=G(ni?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&64&&Cf(ao,pi),t.$$.dirty[0]&262144&&i(52,Ir=G(on?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Ar=G(Pi?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,Lr=ii===tt.ChromecastState.CONNECTED?G("tooltip_chromecast_on"):G("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2146435072|t.$$.dirty[5]&63&&i(135,Sn={prevButton:Nt?Nt.right-Nt.left:0,replayButton:mi?mi.right-mi.left:0,playButton:fi?fi.right-fi.left:0,nextButton:Ze?Ze.right-Ze.left:0,playPrevChapterButton:mt?mt.right-mt.left:0,seekToInteractiveButton:wt?wt.right-wt.left:0,interactiveGraphButton:_t?_t.right-_t.left:0,liveButton:It?It.right-It.left:0,time:xe?xe.right-xe.left:0,episodes:Ge?Ge.right-Ge.left:0,vkLogo:Le?Le.right-Le.left:0,volume:ue?ue.right-ue.left:0,subtitles:Oe?Oe.right-Oe.left:0,settings:ce?ce.right-ce.left:0,context:Ce?Ce.right-Ce.left:0,fullscreen:Ie?Ie.right-Ie.left:0,chromecast:ee?ee.right-ee.left:0,additionalButtons:P.length?P.reduce(j=>[...j,40],[]):[]}),t.$$.dirty[4]&6144&&(!Ao||Ao<Sn.time)&&i(136,Ao=Sn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&530432){let j=0;Yn&&(Tn(te,exports.GridTypes.XL)?j=Sn.time:j=T0);const kl=Sn.prevButton+Sn.playButton+Sn.nextButton+Sn.seekToInteractiveButton+Sn.interactiveGraphButton+Sn.liveButton+Ao+j;i(137,wl=yt&&Zo>=kl)}t.$$.dirty[4]&532480&&i(55,Vr=wl&&Tn(te,exports.GridTypes.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&393216&&Sf(Gn(),an,Ye,en),t.$$.dirty[0]&167772160&&pr(Go,J,hn),t.$$.dirty[0]&150994944|t.$$.dirty[4]&65536&&hr(Ko,J,O),t.$$.dirty[0]&67108864|t.$$.dirty[4]&32768&&af(un,Y,Yo)},i(51,Er=ci.logoType===yo.VK_VIDEO?G("tooltip_vk_video_logo"):G("tooltip_vk_logo")),zi(i(72,{prevButton:c,replayButton:f,playButton:d,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:g,interactiveGraphButton:w,liveButton:b,time:C,episodes:k,vkLogo:y,volume:V,subtitles:Q,settings:A,context:z,fullscreen:se,chromecast:re}=an,c,ei(i(71,f)),$i(i(70,d)),xi(i(69,h)),$e(i(68,_)),Vt(i(67,g)),fe(i(66,w)),Gt(i(65,b)),ct(i(64,C)),Je(i(63,k)),Te(i(62,y)),le(i(61,V)),Ae(i(60,Q)),We(i(59,A)),x(i(58,z)),_e(i(57,se)),ye(i(56,re)))),[ri,qi,Hi,en,jt,Li,Ut,ji,wi,Wi,yi,Wt,Zi,ai,Bi,Ni,Zt,ui,on,yt,Yn,ao,Zo,Ye,Ko,Go,Yo,J,P,ii,Pi,Ei,Ii,hi,Ji,Vn,so,kt,I,oe,ge,He,Xe,ft,Lt,Oi,Io,Sr,Tr,Pr,_l,Er,Ir,Ar,Lr,Vr,re,se,z,A,Q,V,y,k,C,b,w,g,_,h,d,f,c,a,s,o,r,l,li,bi,_i,Ht,Ui,Rt,ci,Ki,rn,sn,Bt,Qi,tn,Ri,Ot,nt,qt,Si,gt,mn,_n,pn,hn,Xi,An,kn,yn,vn,Cn,$,bt,un,nn,gn,cn,Wn,Zn,Kn,Ln,fn,X,Nn,oo,To,lo,ro,Po,W,At,Tf,Pf,Xt,si,ki,Vi,Mi,Eo,Sn,Ao,wl,n,Y,O,L,B,te,ee,Ie,Ce,ce,Oe,ue,Le,Ge,xe,It,_t,wt,mt,Ze,fi,mi,Nt,pi,ni,Fi,vi,ut,Qt,gi,Ai,ot,pt,oi,Mt,Ef,If,Af,Lf,Vf,Mf,Bf,Nf,Rf,Of,Df,zf,Ff,Hf,Uf,qf,jf,Wf,Zf,Kf,Gf,Yf,Qf,Xf]}class Tg extends ke{constructor(e){super(),we(this,e,Sg,Cg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:129,videoLogoUrl:7,showNextPrevButtons:130,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:131,supportLink:10,customFullscreenSupported:132,playNextVideo:11,playPrevVideo:12,repeatPlaylist:133,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},$5,[-1,-1,-1,-1,-1,-1,-1])}}function Pg(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","M0 0h24v24H0z"),u(l,"fill","#fff"),u(l,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(i,"fill","none"),u(i,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class Eg extends ke{constructor(e){super(),we(this,e,null,Pg,be,{})}}function Ig(t){Ke(t,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function Ha(t){let e;return{c(){e=E("span"),e.textContent=`${G("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){T(i,e,n)},p:K,d(i){i&&S(e)}}}function Ag(t){let e,i,n,l;var r=t[4];function o(a){return{}}r&&(i=Bn(r,o()));let s=t[1]&&Ha();return{c(){e=E("div"),i&&U(i.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),M(e,"expanded",t[1])},m(a,c){T(a,e,c),i&&F(i,e,null),p(e,n),s&&s.m(e,null),l=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(i){de();const f=i;v(f.$$.fragment,1,0,()=>{H(f,1)}),me()}r?(i=Bn(r,o()),U(i.$$.fragment),m(i.$$.fragment,1),F(i,e,n)):i=null}a[1]?s?s.p(a,c):(s=Ha(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||c&2)&&M(e,"expanded",a[1])},i(a){l||(i&&m(i.$$.fragment,a),l=!0)},o(a){i&&v(i.$$.fragment,a),l=!1},d(a){a&&S(e),i&&H(i),s&&s.d()}}}function Lg(t){let e,i,n;function l(o){t[6](o)}let r={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[Ag]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&2&&(a.testId=o[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=o[2]),s&8&&(a.ariaLabel=o[3]),s&146&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Vg(t,e,i){let{muted:n=!1}=e,{expanded:l=!1}=e,{click:r=ie.noop}=e,{ref:o=void 0}=e,s,a;function c(f){o=f,i(0,o)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,l=f.expanded),"click"in f&&i(2,r=f.click),"ref"in f&&i(0,o=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,s=G(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=l?gl:Eg)},[o,l,r,s,a,n,c]}class cf extends ke{constructor(e){super(),we(this,e,Vg,Lg,be,{muted:5,expanded:1,click:2,ref:0},Ig)}}function Mg(t){let e,i,n,l;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),M(n,"hidden",!t[0]),u(l,"fill",t[1]),u(l,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),M(l,"hidden",t[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,o){T(r,e,o),p(e,i),p(e,n),p(e,l)},p(r,[o]){o&2&&u(i,"fill",r[1]),o&2&&u(n,"fill",r[1]),o&1&&M(n,"hidden",!r[0]),o&2&&u(l,"fill",r[1]),o&1&&M(l,"hidden",r[0])},i:K,o:K,d(r){r&&S(e)}}}function Bg(t,e,i){let n,{isActive:l=!1}=e;return t.$$set=r=>{"isActive"in r&&i(0,l=r.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=l?"#2688EB":"#fff")},[l,n]}class Ng extends ke{constructor(e){super(),we(this,e,Bg,Mg,be,{isActive:0})}}function Rg(t){let e,i;return e=new Ng({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isActive=n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Og(t){let e,i,n;function l(o){t[3](o)}let r={testId:"btn-pip",ariaLabel:G("menu_pip"),click:t[2],$$slots:{default:[Rg]},$$scope:{ctx:t}};return t[0]!==void 0&&(r.ref=t[0]),e=new Ti({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,[s]){const a={};s&4&&(a.click=o[2]),s&18&&(a.$$scope={dirty:s,ctx:o}),!i&&s&1&&(i=!0,a.ref=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Dg(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:l=!1}=e,{click:r=ie.noop}=e;function o(s){n=s,i(0,n)}return t.$$set=s=>{"ref"in s&&i(0,n=s.ref),"isPictureInPictureActive"in s&&i(1,l=s.isPictureInPictureActive),"click"in s&&i(2,r=s.click)},[n,l,r,o]}class zg extends ke{constructor(e){super(),we(this,e,Dg,Og,be,{ref:0,isPictureInPictureActive:1,click:2})}}function Fg(t){Ke(t,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function Ua(t,e,i){const n=t.slice();return n[169]=e[i].iconUrl,n[170]=e[i].ariaLabel,n[171]=e[i].testId,n[172]=e[i].onClick,n[173]=e[i].tooltip,n}function qa(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k=(!t[51]||t[53])&&ja(t),y=Kt(t[56]),V=[];for(let B=0;B<y.length;B+=1)V[B]=Wa(Ua(t,y,B));const Q=B=>v(V[B],1,1,()=>{V[B]=null});let A=t[36]&&Za(t),z=t[37]&&Ka(t),se=t[57]&&Ga(t),re=t[39]&&Ya(t),Z=t[8]&&Qa(t),Y=t[34]&&Xa(t),O=t[33]&&Ja(t),J=t[8]&&xa(t),L=t[96]&&!t[29]&&$a(t);return{c(){e=E("div"),i=R(),n=E("div"),k&&k.c(),l=R(),r=E("div");for(let B=0;B<V.length;B+=1)V[B].c();o=R(),A&&A.c(),s=R(),z&&z.c(),a=R(),se&&se.c(),c=R(),re&&re.c(),f=R(),d=E("div"),Z&&Z.c(),h=R(),Y&&Y.c(),_=R(),O&&O.c(),g=R(),J&&J.c(),w=R(),L&&L.c(),b=ht(),u(e,"class","overlay-mobile v-1tcstu3"),M(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),M(n,"hidden",!t[3]),M(n,"fullscreen",t[52]),u(r,"class","wrapper-top-right v-1tcstu3"),M(r,"hidden",!t[3]&&!t[27]),M(r,"fullscreen",t[52]),u(d,"class","wrapper-middle v-1tcstu3"),M(d,"hidden",!t[3]||t[29])},m(B,te){T(B,e,te),T(B,i,te),T(B,n,te),k&&k.m(n,null),T(B,l,te),T(B,r,te);for(let P=0;P<V.length;P+=1)V[P]&&V[P].m(r,null);p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),re&&re.m(r,null),T(B,f,te),T(B,d,te),Z&&Z.m(d,null),p(d,h),Y&&Y.m(d,null),p(d,_),O&&O.m(d,null),p(d,g),J&&J.m(d,null),T(B,w,te),L&&L.m(B,te),T(B,b,te),C=!0},p(B,te){if((!C||te[1]&2048)&&M(e,"hidden",!B[42]),!B[51]||B[53]?k?(k.p(B,te),te[1]&5242880&&m(k,1)):(k=ja(B),k.c(),m(k,1),k.m(n,null)):k&&(de(),v(k,1,1,()=>{k=null}),me()),(!C||te[0]&8)&&M(n,"hidden",!B[3]),(!C||te[1]&2097152)&&M(n,"fullscreen",B[52]),te[1]&33554432){y=Kt(B[56]);let P;for(P=0;P<y.length;P+=1){const ee=Ua(B,y,P);V[P]?(V[P].p(ee,te),m(V[P],1)):(V[P]=Wa(ee),V[P].c(),m(V[P],1),V[P].m(r,o))}for(de(),P=y.length;P<V.length;P+=1)Q(P);me()}B[36]?A?(A.p(B,te),te[1]&32&&m(A,1)):(A=Za(B),A.c(),m(A,1),A.m(r,s)):A&&(de(),v(A,1,1,()=>{A=null}),me()),B[37]?z?(z.p(B,te),te[1]&64&&m(z,1)):(z=Ka(B),z.c(),m(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me()),B[57]?se?(se.p(B,te),te[1]&67108864&&m(se,1)):(se=Ga(B),se.c(),m(se,1),se.m(r,c)):se&&(de(),v(se,1,1,()=>{se=null}),me()),B[39]?re?(re.p(B,te),te[1]&256&&m(re,1)):(re=Ya(B),re.c(),m(re,1),re.m(r,null)):re&&(de(),v(re,1,1,()=>{re=null}),me()),(!C||te[0]&134217736)&&M(r,"hidden",!B[3]&&!B[27]),(!C||te[1]&2097152)&&M(r,"fullscreen",B[52]),B[8]?Z?(Z.p(B,te),te[0]&256&&m(Z,1)):(Z=Qa(B),Z.c(),m(Z,1),Z.m(d,h)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),B[34]?Y?(Y.p(B,te),te[1]&8&&m(Y,1)):(Y=Xa(B),Y.c(),m(Y,1),Y.m(d,_)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),B[33]?O?(O.p(B,te),te[1]&4&&m(O,1)):(O=Ja(B),O.c(),m(O,1),O.m(d,g)):O&&(de(),v(O,1,1,()=>{O=null}),me()),B[8]?J?(J.p(B,te),te[0]&256&&m(J,1)):(J=xa(B),J.c(),m(J,1),J.m(d,null)):J&&(de(),v(J,1,1,()=>{J=null}),me()),(!C||te[0]&536870920)&&M(d,"hidden",!B[3]||B[29]),B[96]&&!B[29]?L?(L.p(B,te),te[0]&536870912&&m(L,1)):(L=$a(B),L.c(),m(L,1),L.m(b.parentNode,b)):L&&(de(),v(L,1,1,()=>{L=null}),me())},i(B){if(!C){m(k);for(let te=0;te<y.length;te+=1)m(V[te]);m(A),m(z),m(se),m(re),m(Z),m(Y),m(O),m(J),m(L),C=!0}},o(B){v(k),V=V.filter(Boolean);for(let te=0;te<V.length;te+=1)v(V[te]);v(A),v(z),v(se),v(re),v(Z),v(Y),v(O),v(J),v(L),C=!1},d(B){B&&(S(e),S(i),S(n),S(l),S(r),S(f),S(d),S(w),S(b)),k&&k.d(),In(V,B),A&&A.d(),z&&z.d(),se&&se.d(),re&&re.d(),Z&&Z.d(),Y&&Y.d(),O&&O.d(),J&&J.d(),L&&L.d(B)}}}function ja(t){let e,i,n;function l(o){t[130](o)}let r={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[106]};return t[20].volume!==void 0&&(r.ref=t[20].volume),e=new cf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8388608&&(a.muted=o[54]),s[1]&17825792&&(a.expanded=o[51]&&!o[70]&&o[55]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].volume,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Wa(t){var n;let e,i;return e=new tf({props:{iconUrl:t[169],ariaLabel:(n=t[170])!=null?n:t[173],testId:t[171],onClick:t[172]}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[1]&33554432&&(o.iconUrl=l[169]),r[1]&33554432&&(o.ariaLabel=(s=l[170])!=null?s:l[173]),r[1]&33554432&&(o.testId=l[171]),r[1]&33554432&&(o.onClick=l[172]),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Za(t){let e,i,n;function l(o){t[131](o)}let r={isMobile:!0,click:t[104],state:t[28]};return t[20].chromecast!==void 0&&(r.ref=t[20].chromecast),e=new Zc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&268435456&&(a.state=o[28]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].chromecast,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ka(t){let e,i,n;function l(o){t[132](o)}let r={click:t[105],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(r.ref=t[20].pip),e=new zg({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=o[26]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].pip,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ga(t){let e,i,n;function l(o){t[133](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new gr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ya(t){let e,i,n;function l(o){t[134](o)}let r={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(r.ref=t[20].vkLogo),e=new Wc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&64&&(a.logoClickable=o[6]),s[0]&128&&(a.videoLogoUrl=o[7]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].vkLogo,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Qa(t){let e,i,n;function l(o){t[135](o)}let r={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(r.ref=t[20].prevButton),e=new bl({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&8192&&(a.click=o[13]),s[0]&1024&&(a.disabled=!o[10]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].prevButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xa(t){let e,i,n;function l(o){t[136](o)}let r={disabled:t[49],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(r.ref=t[20].playButton),e=new wr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&262144&&(a.disabled=o[49]),s[1]&1&&(a.isPlaying=o[31]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].playButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Ja(t){let e,i,n;function l(o){t[137](o)}let r={disabled:t[48],click:t[107],isMobile:!0};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new kr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function xa(t){let e,i,n;function l(o){t[138](o)}let r={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(r.ref=t[20].nextButton),e=new bl({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4096&&(a.click=o[12]),s[0]&512&&(a.disabled=!o[9]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].nextButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function $a(t){let e,i,n,l,r=t[100]&&Hg(t),o=t[98]&&Ug(t),s=t[99]&&qg(t);return{c(){r&&r.c(),e=R(),o&&o.c(),i=R(),s&&s.c(),n=ht()},m(a,c){r&&r.m(a,c),T(a,e,c),o&&o.m(a,c),T(a,i,c),s&&s.m(a,c),T(a,n,c),l=!0},p(a,c){a[100]&&r.p(a,c),a[98]&&o.p(a,c),a[99]&&s.p(a,c)},i(a){l||(m(r),m(o),m(s),l=!0)},o(a){v(r),v(o),v(s),l=!1},d(a){a&&(S(e),S(i),S(n)),r&&r.d(a),o&&o.d(a),s&&s.d(a)}}}function Hg(t){let e,i,n,l,r,o;function s(c){t[139](c)}let a={hidden:!t[3],disabled:t[47],click:t[18]};return t[20].playPrevChapterButton!==void 0&&(a.ref=t[20].playPrevChapterButton),i=new ef({props:a}),Se.push(()=>je(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),M(e,"fullscreen",t[52]),M(e,"hidden",!t[3])},m(c,f){T(c,e,f),F(i,e,null),l=!0,r||(o=ve(e,"click",t[108]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&65536&&(d.disabled=c[47]),f[0]&262144&&(d.click=c[18]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].playPrevChapterButton,qe(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&M(e,"fullscreen",c[52]),(!l||f[0]&8)&&M(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),H(i),r=!1,o()}}}function Ug(t){let e,i,n,l;function r(s){t[140](s)}let o={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(o.ref=t[20].interactiveGraphButton),i=new xc({props:o}),Se.push(()=>je(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class",l0(t[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),M(e,"fullscreen",t[52]),M(e,"hidden",!t[3]&&!t[58])},m(s,a){T(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,qe(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&M(e,"fullscreen",s[52]),(!l||a[0]&8|a[1]&134217728)&&M(e,"hidden",!s[3]&&!s[58])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function qg(t){let e,i,n,l,r,o;function s(c){t[141](c)}let a={hidden:!t[3],disabled:t[46],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(a.ref=t[20].seekToInteractiveButton),i=new Jc({props:a}),Se.push(()=>je(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),M(e,"fullscreen",t[52]),M(e,"hidden",!t[3])},m(c,f){T(c,e,f),F(i,e,null),l=!0,r||(o=ve(e,"click",t[109]),r=!0)},p(c,f){const d={};f[0]&8&&(d.hidden=!c[3]),f[1]&32768&&(d.disabled=c[46]),f[0]&65536&&(d.click=c[16]),!n&&f[0]&1048576&&(n=!0,d.ref=c[20].seekToInteractiveButton,qe(()=>n=!1)),i.$set(d),(!l||f[1]&2097152)&&M(e,"fullscreen",c[52]),(!l||f[0]&8)&&M(e,"hidden",!c[3])},i(c){l||(m(i.$$.fragment,c),l=!0)},o(c){v(i.$$.fragment,c),l=!1},d(c){c&&S(e),H(i),r=!1,o()}}}function eu(t){let e,i,n,l,r,o=t[53]&&tu(t),s=t[32]&&iu(t);return l=new Yc({props:{position:t[59],duration:t[60]}}),{c(){o&&o.c(),e=R(),s&&s.c(),i=R(),n=E("div"),U(l.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),M(n,"fullscreen",t[52])},m(a,c){o&&o.m(a,c),T(a,e,c),s&&s.m(a,c),T(a,i,c),T(a,n,c),F(l,n,null),r=!0},p(a,c){a[53]?o?(o.p(a,c),c[1]&4194304&&m(o,1)):(o=tu(a),o.c(),m(o,1),o.m(e.parentNode,e)):o&&(de(),v(o,1,1,()=>{o=null}),me()),a[32]?s?(s.p(a,c),c[1]&2&&m(s,1)):(s=iu(a),s.c(),m(s,1),s.m(i.parentNode,i)):s&&(de(),v(s,1,1,()=>{s=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),l.$set(f),(!r||c[1]&2097152)&&M(n,"fullscreen",a[52])},i(a){r||(m(o),m(s),m(l.$$.fragment,a),r=!0)},o(a){v(o),v(s),v(l.$$.fragment,a),r=!1},d(a){a&&(S(e),S(i),S(n)),o&&o.d(a),s&&s.d(a),H(l)}}}function tu(t){let e,i,n,l;function r(s){t[142](s)}let o={muted:t[54],expanded:!1,click:t[106]};return t[20].volume!==void 0&&(o.ref=t[20].volume),i=new cf({props:o}),Se.push(()=>je(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),M(e,"fullscreen",t[52])},m(s,a){T(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),i.$set(c),(!l||a[1]&2097152)&&M(e,"fullscreen",s[52])},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function iu(t){let e,i,n,l;function r(s){t[143](s)}let o={disabled:t[49],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(o.ref=t[20].playButton),i=new wr({props:o}),Se.push(()=>je(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){T(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[1]&262144&&(c.disabled=s[49]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function jg(t){let e,i,n;function l(o){t[144](o)}let r={disabled:t[48],$$slots:{default:[Wg]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(r.ref=t[20].replayButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&131072&&(a.disabled=o[48]),s[1]&131072|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].replayButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Wg(t){let e,i;return e=new kr({props:{disabled:t[48],click:t[95]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&131072&&(r.disabled=n[48]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function nu(t){let e,i,n;function l(o){t[145](o)}let r={$$slots:{default:[Zg]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(r.ref=t[20].liveButton),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&524288|s[1]&16384|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].liveButton,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Zg(t){let e,i;return e=new Kc({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&524288&&(r.isActiveLive=n[19]),l[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ou(t){let e,i,n;function l(o){t[146](o)}let r={showDuration:t[35],position:t[4]?t[59]:t[61],duration:t[4]?t[60]:t[62],isMobile:!0};return t[20].time!==void 0&&(r.ref=t[20].time),e=new zc({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&16&&(a.showDuration=o[35]),s[0]&16|s[1]&1342177280&&(a.position=o[4]?o[59]:o[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=o[4]?o[60]:o[62]),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].time,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function lu(t){let e,i,n,l;return n=new Xc({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=E("div"),e.textContent="\xB7",i=R(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(r,o){T(r,e,o),T(r,i,o),F(n,r,o),l=!0},p(r,o){const s={};o[1]&1073741824&&(s.position=r[61]),o[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){l||(m(n.$$.fragment,r),l=!0)},o(r){v(n.$$.fragment,r),l=!1},d(r){r&&(S(e),S(i)),H(n,r)}}}function Kg(t){let e,i,n=t[43]&&lu(t);return{c(){n&&n.c(),e=ht()},m(l,r){n&&n.m(l,r),T(l,e,r),i=!0},p(l,r){l[43]?n?(n.p(l,r),r[1]&4096&&m(n,1)):(n=lu(l),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(de(),v(n,1,1,()=>{n=null}),me())},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d(l)}}}function ru(t){let e,i,n;function l(o){t[149](o)}let r={$$slots:{default:[Gg]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(r.ref=t[20].settings),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&4194304|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].settings,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Gg(t){let e,i,n;function l(o){t[148](o)}let r={};return t[22]!==void 0&&(r.ref=t[22]),e=new gr({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&4194304&&(i=!0,a.ref=o[22],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function su(t){let e,i,n;function l(o){t[150](o)}let r={$$slots:{default:[Yg]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(r.ref=t[20].fullscreen),e=new Ft({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&16384|s[1]&2097152|s[5]&2097152&&(a.$$scope={dirty:s,ctx:o}),!i&&s[0]&1048576&&(i=!0,a.ref=o[20].fullscreen,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Yg(t){let e,i;return e=new qc({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&16384&&(r.click=n[14]),l[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function au(t){let e,i,n,l;function r(s){t[153](s)}let o={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(o.ref=t[21]),i=new Dc({props:o}),Se.push(()=>je(i,"ref",r)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){T(s,e,a),F(i,e,null),l=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],qe(()=>n=!1)),i.$set(c)},i(s){l||(m(i.$$.fragment,s),l=!0)},o(s){v(i.$$.fragment,s),l=!1},d(s){s&&S(e),H(i)}}}function Qg(t){let e,i,n;function l(o){t[154](o)}let r={};return t[20].interactiveTimeIndicator!==void 0&&(r.ref=t[20].interactiveTimeIndicator),e=new uf({props:r}),Se.push(()=>je(e,"ref",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};!i&&s[0]&1048576&&(i=!0,a.ref=o[20].interactiveTimeIndicator,qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Xg(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y=!t[4]&&qa(t),V=t[4]&&t[30]!==xt.INACTIVE&&eu(t),Q=t[96]&&jg(t),A=!t[4]&&t[25]&&nu(t),z=t[41]&&ou(t);function se(L){t[147](L)}let re={className:"w-max",disabled:!t[43],$$slots:{default:[Kg]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(re.ref=t[20].episodes),c=new Ft({props:re}),Se.push(()=>je(c,"ref",se));let Z=t[38]&&ru(t),Y=t[40]&&su(t);g=new Qc({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let O=t[23]&&au(t),J=t[101]&&Qg(t);return{c(){y&&y.c(),e=R(),V&&V.c(),i=R(),n=E("div"),l=E("div"),r=E("div"),Q&&Q.c(),o=R(),A&&A.c(),s=R(),z&&z.c(),a=R(),U(c.$$.fragment),d=R(),Z&&Z.c(),h=R(),Y&&Y.c(),_=R(),U(g.$$.fragment),w=R(),O&&O.c(),b=R(),J&&J.c(),C=ht(),u(r,"class","controls v-1tcstu3"),M(r,"mobile",!0),u(l,"class","controls-wrapper v-1tcstu3"),M(l,"fullscreen",t[52]),u(n,"class","wrapper-bottom v-1tcstu3"),M(n,"hidden",t[1]),M(n,"controls-hidden",!t[3]),M(n,"no-smooth",t[2]),M(n,"mobile",!0)},m(L,B){y&&y.m(L,B),T(L,e,B),V&&V.m(L,B),T(L,i,B),T(L,n,B),p(n,l),p(l,r),Q&&Q.m(r,null),p(r,o),A&&A.m(r,null),p(r,s),z&&z.m(r,null),p(r,a),F(c,r,null),p(r,d),Z&&Z.m(r,null),p(r,h),Y&&Y.m(r,null),t[151](r),p(l,_),F(g,l,null),t[152](n),T(L,w,B),O&&O.m(L,B),T(L,b,B),J&&J.m(L,B),T(L,C,B),k=!0},p(L,B){L[4]?y&&(de(),v(y,1,1,()=>{y=null}),me()):y?(y.p(L,B),B[0]&16&&m(y,1)):(y=qa(L),y.c(),m(y,1),y.m(e.parentNode,e)),L[4]&&L[30]!==xt.INACTIVE?V?(V.p(L,B),B[0]&1073741840&&m(V,1)):(V=eu(L),V.c(),m(V,1),V.m(i.parentNode,i)):V&&(de(),v(V,1,1,()=>{V=null}),me()),L[96]&&Q.p(L,B),!L[4]&&L[25]?A?(A.p(L,B),B[0]&33554448&&m(A,1)):(A=nu(L),A.c(),m(A,1),A.m(r,s)):A&&(de(),v(A,1,1,()=>{A=null}),me()),L[41]?z?(z.p(L,B),B[1]&1024&&m(z,1)):(z=ou(L),z.c(),m(z,1),z.m(r,a)):z&&(de(),v(z,1,1,()=>{z=null}),me());const te={};B[1]&4096&&(te.disabled=!L[43]),B[1]&1073745920|B[2]&1|B[5]&2097152&&(te.$$scope={dirty:B,ctx:L}),!f&&B[0]&1048576&&(f=!0,te.ref=L[20].episodes,qe(()=>f=!1)),c.$set(te),L[38]?Z?(Z.p(L,B),B[1]&128&&m(Z,1)):(Z=ru(L),Z.c(),m(Z,1),Z.m(r,h)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),L[40]?Y?(Y.p(L,B),B[1]&512&&m(Y,1)):(Y=su(L),Y.c(),m(Y,1),Y.m(r,null)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me());const P={};B[0]&16&&(P.isAds=L[4]),B[0]&32&&(P.canRewindLive=L[5]),B[0]&16777216&&(P.isRewindableLive=L[24]),g.$set(P),(!k||B[1]&2097152)&&M(l,"fullscreen",L[52]),(!k||B[0]&2)&&M(n,"hidden",L[1]),(!k||B[0]&8)&&M(n,"controls-hidden",!L[3]),(!k||B[0]&4)&&M(n,"no-smooth",L[2]),L[23]?O?(O.p(L,B),B[0]&8388608&&m(O,1)):(O=au(L),O.c(),m(O,1),O.m(b.parentNode,b)):O&&(de(),v(O,1,1,()=>{O=null}),me()),L[101]&&J.p(L,B)},i(L){k||(m(y),m(V),m(Q),m(A),m(z),m(c.$$.fragment,L),m(Z),m(Y),m(g.$$.fragment,L),m(O),m(J),k=!0)},o(L){v(y),v(V),v(Q),v(A),v(z),v(c.$$.fragment,L),v(Z),v(Y),v(g.$$.fragment,L),v(O),v(J),k=!1},d(L){L&&(S(e),S(i),S(n),S(w),S(b),S(C)),y&&y.d(L),V&&V.d(L),Q&&Q.d(),A&&A.d(),z&&z.d(),H(c),Z&&Z.d(),Y&&Y.d(),t[151](null),H(g),t[152](null),O&&O.d(L),J&&J.d(L)}}}function Jg(t,e,i){var wn,fn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe,ye,Ie,Re,_e,{bottomHidden:Ce}=e,{bottomNoSmooth:q}=e,{showControls:x}=e,{controlsElementRef:ce=void 0}=e,{isAds:ae=!1}=e,{canRewindLive:We}=e,{logoClickable:Oe}=e,{logoHidden:Ve}=e,{videoLogoUrl:Ae}=e,{showNextPrevButtons:ue}=e,{nextButtonActive:he}=e,{prevButtonActive:le}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:pe}=e,{customFullscreenSupported:Te=!0}=e,{playNextVideo:Ge}=e,{playPrevVideo:Ne}=e,{repeatPlaylist:Je}=e,{toggleFullscreen:xe}=e,{returnFocus:rt}=e,{seekToInteractive:ct}=e,{toggleGraph:It}=e,{playPrevChapter:vt}=e,{onDisabledPlayPrevChapterClick:Gt}=e,{onDisabledSeekToInteractiveClick:_t}=e;const ze=Tt(),fe=zo(),wt=bn(),at=ze.actions.internal.toggleMuted,Vt=ze.actions.internal.togglePlay,mt=ze.actions.internal.pause,Pt=(wn=ze.callbacks)==null?void 0:wn.onAudioDoesNotExistHint,$e=(fn=ze.callbacks)==null?void 0:fn.onAudioDisabledHint,Ze=ze.playerPhase;D(t,Ze,X=>i(126,z=X));const Et=ze.state.duration$;D(t,Et,X=>i(62,_e=X));const xi=ze.state.positionWithScrubbing$;D(t,xi,X=>i(61,Re=X));const fi=ze.state.playbackState$;D(t,fi,X=>i(121,h=X));const di=ze.state.isAudioAvailable$;D(t,di,X=>i(51,_=X));const $i=ze.state.isAudioDisabled,mi=ze.state.isEnded$;D(t,mi,X=>i(127,re=X));const Yt=ze.state.isLive$;D(t,Yt,X=>i(25,k=X));const ei=ze.state.muted$;D(t,ei,X=>i(54,B=X));const Nt=ze.state.isActiveLive$;D(t,Nt,X=>i(124,b=X));const ti=ze.state.isRewindableLive$;D(t,ti,X=>i(24,C=X));const zi=ze.ui.scrubbingInProgress;D(t,zi,X=>i(29,se=X));const ii=ze.ui.mobileNotReportControlHidden$;D(t,ii,X=>i(27,Q=X));const Pi=ze.ui.isPictureInPictureActive$;D(t,Pi,X=>i(26,V=X));const pi=ze.ui.pictureInPictureType$;D(t,pi,X=>i(125,y=X));const ni=ze.ui.mobileUnmuteButtonExpanded;D(t,ni,X=>i(55,te=X));const Ei=ze.ui.mobileUnmuteButtonVisible;D(t,Ei,X=>i(53,L=X));const Fi=ze.ui.settingsMenuVisible;D(t,Fi,X=>i(23,d=X));const Ii=ze.ui.settingsMenuOpenedByKeyboard;D(t,Ii,X=>i(120,f=X));const hi=ze.ui.controls,vi=ze.actions.internal.getVideoEpisodes(),ut=ze.webApi.pictureInPictureApi,Qt=ze.state.chromecastState$;D(t,Qt,X=>i(28,A=X));const gi=ze.state.crashed$;D(t,gi,X=>i(57,ee=X));const Ai=hi.disabledControls$;D(t,Ai,X=>i(128,Y=X));const ot=ze.ui.startedByKeyboard$;D(t,ot,X=>i(119,c=X));const pt=ze.ads.duration;D(t,pt,X=>i(60,Ie=X));const oi=ze.ads.position;D(t,oi,X=>i(59,ye=X));const Mt=ze.ads.playbackState;D(t,Mt,X=>i(30,Z=X));const li=ze.ui.isFullscreen;D(t,li,X=>i(52,J=X));const bi=ze.ui.playerSize;D(t,bi,X=>i(123,w=X));const _i=ze.ui.additionalButtons$;D(t,_i,X=>i(56,P=X));const Ht=ze.actions.internal.getVideoElement,Ui=ze.actions.internal.replayInteractive,Rt=ze.state.isInteractive,qi=ze.state.isInteractiveTime$;D(t,qi,X=>i(122,g=X));const Hi=ze.state.showInteractiveGraph,en=ze.state.showSeekToInteractive,ri=ze.state.showPlayPrevChapter,jt=ze.state.showInteractiveTimeIndicator,Li=ze.state.graphIsOpened$;D(t,Li,X=>i(58,Pe=X));const Ut=fe.seekToInteractiveDisabledTooltip$;D(t,Ut,X=>i(129,O=X));let Xt,ji,si,wi,Wi,ki,yi,Vi,Wt,Zi,Mi,ai,Bi,Ni,Zt,ui,Ue,Ci,ci;const Be={},Ki=ie.throttleFn(sf,k1,{leading:!1}),rn=()=>ze.actions.internal.toggleChromecast();function sn(){$i?$e==null||$e():_?at():Pt==null||Pt()}async function Gi(){ut!=null&&ut.isActive()?await(ut==null?void 0:ut.remove()):await(ut==null?void 0:ut.request())}function Yi(){!$i&&_&&Ei.set(!1),sn()}const Bt=Le?Vt:Je;let Qi="";const tn=(X,Nn)=>{if(!X){i(45,Qi=G("tooltip_live"));return}Nn===tt.PlaybackState.PAUSED&&i(45,Qi=G("tooltip_play"))};let Ri,Ot;const ne=()=>{a&&Gt(Xt)},nt=()=>{r&&_t(ji)};function qt(X){t.$$.not_equal(Be.volume,X)&&(Be.volume=X,i(20,Be))}function Si(X){t.$$.not_equal(Be.chromecast,X)&&(Be.chromecast=X,i(20,Be))}function gt(X){t.$$.not_equal(Be.pip,X)&&(Be.pip=X,i(20,Be))}function mn(X){Ot=X,i(22,Ot)}function _n(X){t.$$.not_equal(Be.vkLogo,X)&&(Be.vkLogo=X,i(20,Be))}function pn(X){t.$$.not_equal(Be.prevButton,X)&&(Be.prevButton=X,i(20,Be))}function hn(X){t.$$.not_equal(Be.playButton,X)&&(Be.playButton=X,i(20,Be))}function an(X){t.$$.not_equal(Be.replayButton,X)&&(Be.replayButton=X,i(20,Be))}function Xi(X){t.$$.not_equal(Be.nextButton,X)&&(Be.nextButton=X,i(20,Be))}function An(X){t.$$.not_equal(Be.playPrevChapterButton,X)&&(Be.playPrevChapterButton=X,i(20,Be))}function kn(X){t.$$.not_equal(Be.interactiveGraphButton,X)&&(Be.interactiveGraphButton=X,i(20,Be))}function yn(X){t.$$.not_equal(Be.seekToInteractiveButton,X)&&(Be.seekToInteractiveButton=X,i(20,Be))}function vn(X){t.$$.not_equal(Be.volume,X)&&(Be.volume=X,i(20,Be))}function Cn(X){t.$$.not_equal(Be.playButton,X)&&(Be.playButton=X,i(20,Be))}function $(X){t.$$.not_equal(Be.replayButton,X)&&(Be.replayButton=X,i(20,Be))}function bt(X){t.$$.not_equal(Be.liveButton,X)&&(Be.liveButton=X,i(20,Be))}function un(X){t.$$.not_equal(Be.time,X)&&(Be.time=X,i(20,Be))}function nn(X){t.$$.not_equal(Be.episodes,X)&&(Be.episodes=X,i(20,Be))}function gn(X){Ot=X,i(22,Ot)}function cn(X){t.$$.not_equal(Be.settings,X)&&(Be.settings=X,i(20,Be))}function Wn(X){t.$$.not_equal(Be.fullscreen,X)&&(Be.fullscreen=X,i(20,Be))}function Zn(X){Se[X?"unshift":"push"](()=>{Ci=X,i(44,Ci)})}function Kn(X){Se[X?"unshift":"push"](()=>{ce=X,i(0,ce)})}function Ln(X){Ri=X,i(21,Ri)}function Gn(X){t.$$.not_equal(Be.interactiveTimeIndicator,X)&&(Be.interactiveTimeIndicator=X,i(20,Be))}return t.$$set=X=>{"bottomHidden"in X&&i(1,Ce=X.bottomHidden),"bottomNoSmooth"in X&&i(2,q=X.bottomNoSmooth),"showControls"in X&&i(3,x=X.showControls),"controlsElementRef"in X&&i(0,ce=X.controlsElementRef),"isAds"in X&&i(4,ae=X.isAds),"canRewindLive"in X&&i(5,We=X.canRewindLive),"logoClickable"in X&&i(6,Oe=X.logoClickable),"logoHidden"in X&&i(110,Ve=X.logoHidden),"videoLogoUrl"in X&&i(7,Ae=X.videoLogoUrl),"showNextPrevButtons"in X&&i(8,ue=X.showNextPrevButtons),"nextButtonActive"in X&&i(9,he=X.nextButtonActive),"prevButtonActive"in X&&i(10,le=X.prevButtonActive),"isOneVideoPlaylist"in X&&i(111,Le=X.isOneVideoPlaylist),"supportLink"in X&&i(11,pe=X.supportLink),"customFullscreenSupported"in X&&i(112,Te=X.customFullscreenSupported),"playNextVideo"in X&&i(12,Ge=X.playNextVideo),"playPrevVideo"in X&&i(13,Ne=X.playPrevVideo),"repeatPlaylist"in X&&i(113,Je=X.repeatPlaylist),"toggleFullscreen"in X&&i(14,xe=X.toggleFullscreen),"returnFocus"in X&&i(15,rt=X.returnFocus),"seekToInteractive"in X&&i(16,ct=X.seekToInteractive),"toggleGraph"in X&&i(17,It=X.toggleGraph),"playPrevChapter"in X&&i(18,vt=X.playPrevChapter),"onDisabledPlayPrevChapterClick"in X&&i(114,Gt=X.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in X&&i(115,_t=X.onDisabledSeekToInteractiveClick)},t.$$.update=()=>{if(t.$$.dirty[4]&32&&(ji=G(O)),t.$$.dirty[4]&16&&i(118,n=Y.has(dt.EPISODE_BUTTON)),t.$$.dirty[4]&16&&i(50,l=Y.has(dt.GRAPH_BUTTON)),t.$$.dirty[4]&16&&i(46,r=Y.has(dt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&16&&i(49,o=Y.has(dt.PLAY_BUTTON)),t.$$.dirty[4]&16&&i(48,s=Y.has(dt.REPLAY_BUTTON)),t.$$.dirty[4]&16&&i(47,a=Y.has(dt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&268435456&&i(31,si=h===tt.PlaybackState.PLAYING),t.$$.dirty[0]&1073741824&&i(32,wi=Z===xt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(33,Wi=re&&!ae&&!Rt),t.$$.dirty[0]&16|t.$$.dirty[4]&8&&i(34,ki=!re||ae),t.$$.dirty[3]&1073741824&&i(116,yi=w.width>300),t.$$.dirty[3]&1073741824&&i(35,Vi=w.width>400),t.$$.dirty[0]&536870912&&i(117,Wt=se),t.$$.dirty[0]&469762048|t.$$.dirty[4]&2&&i(36,Zi=A!==tt.ChromecastState.NOT_AVAILABLE&&!(V&&y===Dn.DocumentPictureInPicture)&&!Q&&!Rt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&16777216|t.$$.dirty[4]&6){const X=z===De.WaitingLive;i(37,Mi=!!ut&&A!==tt.ChromecastState.CONNECTED&&!Q&&(y===Dn.DocumentPictureInPicture&&X||!X)&&!Wt&&!Rt)}t.$$.dirty[3]&16777216&&i(38,ai=!Wt),t.$$.dirty[3]&1073872896&&i(39,Bi=!Ve&&w.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&17301504|t.$$.dirty[4]&2&&i(40,Ni=wt.features.fullscreen&&!(V&&y===Dn.DocumentPictureInPicture)&&(Rt?Te:!0)&&!Wt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&1090519040&&i(41,Zt=(!k||ae)&&w.width>260&&!Wt&&!(wt.features.interactiveHideTime&&Rt)),t.$$.dirty[0]&8388616&&i(42,ui=d||x),t.$$.dirty[0]&33554448|t.$$.dirty[3]&58720256&&i(43,Ue=!ae&&!k&&!!(vi!=null&&vi.length)&&yi&&!n&&!Wt),t.$$.dirty[0]&16777216|t.$$.dirty[4]&1&&i(19,ci=!C||b),t.$$.dirty[0]&1048584|t.$$.dirty[3]&1610612736&&Ki(Ht(),hi,Be,x),t.$$.dirty[0]&524288|t.$$.dirty[3]&268435456&&tn(ci,h),t.$$.dirty[0]&12582912&&pr(Ot,d,Ii),t.$$.dirty[0]&10485760|t.$$.dirty[3]&134217728&&hr(Ri,d,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&67108864&&af(ot,c,Be.playButton)},Xt=G(ze.state.playPrevChapterDisabledTooltip),[ce,Ce,q,x,ae,We,Oe,Ae,ue,he,le,pe,Ge,Ne,xe,rt,ct,It,vt,ci,Be,Ri,Ot,d,C,k,V,Q,A,se,Z,si,wi,Wi,ki,Vi,Zi,Mi,ai,Bi,Ni,Zt,ui,Ue,Ci,Qi,r,a,s,o,l,_,J,L,B,te,P,ee,Pe,ye,Ie,Re,_e,Vt,mt,Ze,Et,xi,fi,di,$i,mi,Yt,ei,Nt,ti,zi,ii,Pi,pi,ni,Ei,Fi,Ii,vi,Qt,gi,Ai,ot,pt,oi,Mt,li,bi,_i,Ui,Rt,qi,Hi,en,ri,jt,Li,Ut,rn,Gi,Yi,Bt,ne,nt,Ve,Le,Te,Je,Gt,_t,yi,Wt,n,c,f,h,g,w,b,y,z,re,Y,O,qt,Si,gt,mn,_n,pn,hn,an,Xi,An,kn,yn,vn,Cn,$,bt,un,nn,gn,cn,Wn,Zn,Kn,Ln,Gn]}class xg extends ke{constructor(e){super(),we(this,e,Jg,Xg,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:110,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:111,supportLink:11,customFullscreenSupported:112,playNextVideo:12,playPrevVideo:13,repeatPlaylist:113,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18,onDisabledPlayPrevChapterClick:114,onDisabledSeekToInteractiveClick:115},Fg,[-1,-1,-1,-1,-1,-1])}}function $g(t){let e,i,n;function l(o){t[28](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new Tg({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function eb(t){let e,i,n;function l(o){t[27](o)}let r={bottomHidden:t[1],bottomNoSmooth:t[2],showControls:t[3],isAds:t[4],canRewindLive:t[5],logoClickable:t[6],logoHidden:t[7],videoLogoUrl:t[8],showNextPrevButtons:t[9],nextButtonActive:t[10],prevButtonActive:t[11],isOneVideoPlaylist:t[12],supportLink:t[13],customFullscreenSupported:t[14],playNextVideo:t[15],playPrevVideo:t[16],repeatPlaylist:t[17],toggleFullscreen:t[18],returnFocus:t[19],seekToInteractive:t[20],toggleGraph:t[21],playPrevChapter:t[22],onDisabledPlayPrevChapterClick:t[23],onDisabledSeekToInteractiveClick:t[24]};return t[0]!==void 0&&(r.controlsElementRef=t[0]),e=new xg({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s&2&&(a.bottomHidden=o[1]),s&4&&(a.bottomNoSmooth=o[2]),s&8&&(a.showControls=o[3]),s&16&&(a.isAds=o[4]),s&32&&(a.canRewindLive=o[5]),s&64&&(a.logoClickable=o[6]),s&128&&(a.logoHidden=o[7]),s&256&&(a.videoLogoUrl=o[8]),s&512&&(a.showNextPrevButtons=o[9]),s&1024&&(a.nextButtonActive=o[10]),s&2048&&(a.prevButtonActive=o[11]),s&4096&&(a.isOneVideoPlaylist=o[12]),s&8192&&(a.supportLink=o[13]),s&16384&&(a.customFullscreenSupported=o[14]),s&32768&&(a.playNextVideo=o[15]),s&65536&&(a.playPrevVideo=o[16]),s&131072&&(a.repeatPlaylist=o[17]),s&262144&&(a.toggleFullscreen=o[18]),s&524288&&(a.returnFocus=o[19]),s&1048576&&(a.seekToInteractive=o[20]),s&2097152&&(a.toggleGraph=o[21]),s&4194304&&(a.playPrevChapter=o[22]),s&8388608&&(a.onDisabledPlayPrevChapterClick=o[23]),s&16777216&&(a.onDisabledSeekToInteractiveClick=o[24]),!i&&s&1&&(i=!0,a.controlsElementRef=o[0],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function tb(t){let e,i,n,l;const r=[eb,$g],o=[];function s(a,c){return a[25]?0:1}return e=s(t),i=o[e]=r[e](t),{c(){i.c(),n=ht()},m(a,c){o[e].m(a,c),T(a,n,c),l=!0},p(a,[c]){let f=e;e=s(a),e===f?o[e].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),i=o[e],i?i.p(a,c):(i=o[e]=r[e](a),i.c()),m(i,1),i.m(n.parentNode,n))},i(a){l||(m(i),l=!0)},o(a){v(i),l=!1},d(a){a&&S(n),o[e].d(a)}}}function ib(t,e,i){let n,{bottomHidden:l}=e,{bottomNoSmooth:r=!1}=e,{showControls:o}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:d}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:g}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:b=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:V}=e,{repeatPlaylist:Q}=e,{toggleFullscreen:A}=e,{returnFocus:z=ie.noop}=e,{seekToInteractive:se}=e,{toggleGraph:re}=e,{playPrevChapter:Z}=e,{onDisabledPlayPrevChapterClick:Y=ie.noop}=e,{onDisabledSeekToInteractiveClick:O=ie.noop}=e;const L=Tt().ui.isMobile;D(t,L,P=>i(25,n=P));function B(P){s=P,i(0,s)}function te(P){s=P,i(0,s)}return t.$$set=P=>{"bottomHidden"in P&&i(1,l=P.bottomHidden),"bottomNoSmooth"in P&&i(2,r=P.bottomNoSmooth),"showControls"in P&&i(3,o=P.showControls),"controlsElementRef"in P&&i(0,s=P.controlsElementRef),"isAds"in P&&i(4,a=P.isAds),"canRewindLive"in P&&i(5,c=P.canRewindLive),"logoClickable"in P&&i(6,f=P.logoClickable),"logoHidden"in P&&i(7,d=P.logoHidden),"videoLogoUrl"in P&&i(8,h=P.videoLogoUrl),"showNextPrevButtons"in P&&i(9,_=P.showNextPrevButtons),"nextButtonActive"in P&&i(10,g=P.nextButtonActive),"prevButtonActive"in P&&i(11,w=P.prevButtonActive),"isOneVideoPlaylist"in P&&i(12,b=P.isOneVideoPlaylist),"supportLink"in P&&i(13,C=P.supportLink),"customFullscreenSupported"in P&&i(14,k=P.customFullscreenSupported),"playNextVideo"in P&&i(15,y=P.playNextVideo),"playPrevVideo"in P&&i(16,V=P.playPrevVideo),"repeatPlaylist"in P&&i(17,Q=P.repeatPlaylist),"toggleFullscreen"in P&&i(18,A=P.toggleFullscreen),"returnFocus"in P&&i(19,z=P.returnFocus),"seekToInteractive"in P&&i(20,se=P.seekToInteractive),"toggleGraph"in P&&i(21,re=P.toggleGraph),"playPrevChapter"in P&&i(22,Z=P.playPrevChapter),"onDisabledPlayPrevChapterClick"in P&&i(23,Y=P.onDisabledPlayPrevChapterClick),"onDisabledSeekToInteractiveClick"in P&&i(24,O=P.onDisabledSeekToInteractiveClick)},[s,l,r,o,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,n,L,B,te]}class ff extends ke{constructor(e){super(),we(this,e,ib,tb,be,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22,onDisabledPlayPrevChapterClick:23,onDisabledSeekToInteractiveClick:24})}}function nb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function ob(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(l,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","2.5"),u(o,"y","0"),u(o,"width","43.996"),u(o,"height","49.5"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",t[0])},m(g,w){T(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function lb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class rb extends ke{constructor(e){super(),we(this,e,lb,ob,be,{reversed:0},nb)}}function sb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("clipPath"),s=N("path"),a=N("filter"),c=N("feFlood"),f=N("feColorMatrix"),d=N("feOffset"),h=N("feGaussianBlur"),_=N("feColorMatrix"),g=N("feBlend"),w=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(l,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(o,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(w,"in","SourceGraphic"),u(w,"in2","effect1_dropShadow_2260_104204"),u(w,"result","shape"),u(a,"id","b"),u(a,"x","-1.5"),u(a,"y","1.5"),u(a,"width","51"),u(a,"height","45"),u(a,"filterUnits","userSpaceOnUse"),u(a,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(b,C){T(b,e,C),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(r,a),p(a,c),p(a,f),p(a,d),p(a,h),p(a,_),p(a,g),p(a,w)},d(b){b&&S(e)}}}function ab(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("path"),o=N("defs"),s=N("clipPath"),a=N("path"),c=N("filter"),f=N("feFlood"),d=N("feColorMatrix"),h=N("feOffset"),_=N("feGaussianBlur"),g=N("feColorMatrix"),w=N("feBlend"),b=N("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(l,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(l,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(d,"in","SourceAlpha"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(d,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(w,"in2","BackgroundImageFix"),u(w,"result","effect1_dropShadow_2260_104293"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104293"),u(b,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){T(C,e,k),p(e,i),p(i,n),p(i,l),p(i,r),p(e,o),p(o,s),p(s,a),p(o,c),p(c,f),p(c,d),p(c,h),p(c,_),p(c,g),p(c,w),p(c,b)},d(C){C&&S(e)}}}function ub(t){let e;function i(r,o){return r[0]?ab:sb}let n=i(t),l=n(t);return{c(){l.c(),e=ht()},m(r,o){l.m(r,o),T(r,e,o)},p(r,[o]){n!==(n=i(r))&&(l.d(1),l=n(r),l&&(l.c(),l.m(e.parentNode,e)))},i:K,o:K,d(r){r&&S(e),l.d(r)}}}function cb(t,e,i){let{isOff:n=!1}=e;return t.$$set=l=>{"isOff"in l&&i(0,n=l.isOff)},[n]}class df extends ke{constructor(e){super(),we(this,e,cb,ub,be,{isOff:0})}}function fb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function db(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(l,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","3.402"),u(o,"y","10.105"),u(o,"width","40.098"),u(o,"height","27.785"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",t[0])},m(g,w){T(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function mb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class pb extends ke{constructor(e){super(),we(this,e,mb,db,be,{reversed:0},fb)}}function hb(t){Ke(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function vb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),r=N("defs"),o=N("filter"),s=N("feFlood"),a=N("feColorMatrix"),c=N("feOffset"),f=N("feGaussianBlur"),d=N("feColorMatrix"),h=N("feBlend"),_=N("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(l,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(i,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(d,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(o,"id","a"),u(o,"x","5.5"),u(o,"y","5.5"),u(o,"width","37"),u(o,"height","37"),u(o,"filterUnits","userSpaceOnUse"),u(o,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),M(e,"reversed",t[0])},m(g,w){T(g,e,w),p(e,i),p(i,n),p(i,l),p(e,r),p(r,o),p(o,s),p(o,a),p(o,c),p(o,f),p(o,d),p(o,h),p(o,_)},p(g,[w]){w&1&&M(e,"reversed",g[0])},i:K,o:K,d(g){g&&S(e)}}}function gb(t,e,i){let{reversed:n=!1}=e;return t.$$set=l=>{"reversed"in l&&i(0,n=l.reversed)},[n]}class bb extends ke{constructor(e){super(),we(this,e,gb,vb,be,{reversed:0},hb)}}function _b(t){Ke(t,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function uu(t){let e,i=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(t[4]),n,l,r,o,s,a,c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(t[4]),f,d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(t[4]),h,_,g,w,b,C=i&&cu(t),k=t[4]===Qe.PAUSE&&fu(),y=t[4]===Qe.PLAY&&du(),V=t[4]===Qe.REPLAY&&mu(),Q=t[4]===Qe.SUBTITLES_OFF&&pu(),A=t[4]===Qe.SUBTITLES_ON&&hu(),z=c&&vu(t),se=d&&gu(t),re=t[4]===Qe.MUTE&&bu(),Z=t[4]===Qe.VOLUME&&_u(),Y=t[5]&&wu(t);return{c(){e=E("div"),C&&C.c(),n=R(),k&&k.c(),l=R(),y&&y.c(),r=R(),V&&V.c(),o=R(),Q&&Q.c(),s=R(),A&&A.c(),a=R(),z&&z.c(),f=R(),se&&se.c(),h=R(),re&&re.c(),_=R(),Z&&Z.c(),g=R(),Y&&Y.c(),w=ht(),u(e,"class","v-4ftgwp")},m(O,J){T(O,e,J),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,l),y&&y.m(e,null),p(e,r),V&&V.m(e,null),p(e,o),Q&&Q.m(e,null),p(e,s),A&&A.m(e,null),p(e,a),z&&z.m(e,null),p(e,f),se&&se.m(e,null),p(e,h),re&&re.m(e,null),p(e,_),Z&&Z.m(e,null),T(O,g,J),Y&&Y.m(O,J),T(O,w,J),b=!0},p(O,J){J&16&&(i=[Qe.BACKWARD_SEEK,Qe.FORWARD_SEEK].includes(O[4])),i?C?(C.p(O,J),J&16&&m(C,1)):(C=cu(O),C.c(),m(C,1),C.m(e,n)):C&&(de(),v(C,1,1,()=>{C=null}),me()),O[4]===Qe.PAUSE?k?J&16&&m(k,1):(k=fu(),k.c(),m(k,1),k.m(e,l)):k&&(de(),v(k,1,1,()=>{k=null}),me()),O[4]===Qe.PLAY?y?J&16&&m(y,1):(y=du(),y.c(),m(y,1),y.m(e,r)):y&&(de(),v(y,1,1,()=>{y=null}),me()),O[4]===Qe.REPLAY?V?J&16&&m(V,1):(V=mu(),V.c(),m(V,1),V.m(e,o)):V&&(de(),v(V,1,1,()=>{V=null}),me()),O[4]===Qe.SUBTITLES_OFF?Q?J&16&&m(Q,1):(Q=pu(),Q.c(),m(Q,1),Q.m(e,s)):Q&&(de(),v(Q,1,1,()=>{Q=null}),me()),O[4]===Qe.SUBTITLES_ON?A?J&16&&m(A,1):(A=hu(),A.c(),m(A,1),A.m(e,a)):A&&(de(),v(A,1,1,()=>{A=null}),me()),J&16&&(c=[Qe.RATE_DOWN,Qe.RATE_UP].includes(O[4])),c?z?(z.p(O,J),J&16&&m(z,1)):(z=vu(O),z.c(),m(z,1),z.m(e,f)):z&&(de(),v(z,1,1,()=>{z=null}),me()),J&16&&(d=[Qe.EPISODE_PREV,Qe.EPISODE_NEXT].includes(O[4])),d?se?(se.p(O,J),J&16&&m(se,1)):(se=gu(O),se.c(),m(se,1),se.m(e,h)):se&&(de(),v(se,1,1,()=>{se=null}),me()),O[4]===Qe.MUTE?re?J&16&&m(re,1):(re=bu(),re.c(),m(re,1),re.m(e,_)):re&&(de(),v(re,1,1,()=>{re=null}),me()),O[4]===Qe.VOLUME?Z?J&16&&m(Z,1):(Z=_u(),Z.c(),m(Z,1),Z.m(e,null)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),O[5]?Y?Y.p(O,J):(Y=wu(O),Y.c(),Y.m(w.parentNode,w)):Y&&(Y.d(1),Y=null)},i(O){b||(m(C),m(k),m(y),m(V),m(Q),m(A),m(z),m(se),m(re),m(Z),b=!0)},o(O){v(C),v(k),v(y),v(V),v(Q),v(A),v(z),v(se),v(re),v(Z),b=!1},d(O){O&&(S(e),S(g),S(w)),C&&C.d(),k&&k.d(),y&&y.d(),V&&V.d(),Q&&Q.d(),A&&A.d(),z&&z.d(),se&&se.d(),re&&re.d(),Z&&Z.d(),Y&&Y.d(O)}}}function cu(t){let e,i;return e=new rb({props:{reversed:t[4]===Qe.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.FORWARD_SEEK),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fu(t){let e,i;return e=new jc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function du(t){let e,i;return e=new _r({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function mu(t){let e,i;return e=new $c({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pu(t){let e,i;return e=new df({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hu(t){let e,i;return e=new df({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function vu(t){let e,i;return e=new pb({props:{reversed:t[4]===Qe.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.RATE_UP),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function gu(t){let e,i;return e=new bb({props:{reversed:t[4]===Qe.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&16&&(r.reversed=n[4]===Qe.EPISODE_NEXT),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function bu(t){let e,i;return e=new gl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _u(t){let e,i;return e=new gl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wu(t){let e,i;return{c(){e=E("span"),i=Fe(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&32&&it(i,n[5])},d(n){n&&S(e)}}}function wb(t){let e,i,n=!t[1]&&t[4]&&uu(t);return{c(){e=E("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),M(e,"hidden",t[1]),M(e,"hot-key-helpers-container--left",t[2]),M(e,"hot-key-helpers-container--right",t[3])},m(l,r){T(l,e,r),n&&n.m(e,null),i=!0},p(l,[r]){!l[1]&&l[4]?n?(n.p(l,r),r&18&&m(n,1)):(n=uu(l),n.c(),m(n,1),n.m(e,null)):n&&(de(),v(n,1,1,()=>{n=null}),me()),(!i||r&2)&&M(e,"hidden",l[1]),(!i||r&4)&&M(e,"hot-key-helpers-container--left",l[2]),(!i||r&8)&&M(e,"hot-key-helpers-container--right",l[3])},i(l){i||(m(n),i=!0)},o(l){v(n),i=!1},d(l){l&&S(e),n&&n.d()}}}function kb(t,e,i){let n,l=K,r=()=>(l(),l=Jt(o,h=>i(6,n=h)),o);t.$$.on_destroy.push(()=>l());let{data:o}=e;r();let s,a,c,f,d;return t.$$set=h=>{"data"in h&&r(i(0,o=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,s=!n),i(2,a=(n==null?void 0:n.type)===Qe.BACKWARD_SEEK),i(3,c=(n==null?void 0:n.type)===Qe.FORWARD_SEEK),i(4,f=n==null?void 0:n.type),n!=null&&n.t?i(5,d=G(n.t.key,{value:n.t.value||""})):i(5,d=n==null?void 0:n.text))},[o,s,a,c,f,d,n]}class yb extends ke{constructor(e){super(),we(this,e,kb,wb,be,{data:0},_b)}}function Cb(t){Ke(t,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Sb(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k;return r=new Xn({props:{direction:"up"}}),a=new Xn({props:{direction:"up"}}),h=new Xn({props:{direction:"up"}}),w=new Xn({props:{direction:"up"}}),{c(){e=E("div"),i=E("div"),n=E("div"),l=E("div"),U(r.$$.fragment),o=R(),s=E("div"),U(a.$$.fragment),c=R(),f=E("div"),d=E("div"),U(h.$$.fragment),_=R(),g=E("div"),U(w.$$.fragment),u(l,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(d,"class","button button-left v-1yzc86r"),u(g,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(i,"class","button-block v-1yzc86r"),u(i,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",G("aria_label_spherical_control")),M(e,"m-shifted",t[0])},m(y,V){T(y,e,V),p(e,i),p(i,n),p(n,l),F(r,l,null),p(n,o),p(n,s),F(a,s,null),p(i,c),p(i,f),p(f,d),F(h,d,null),p(f,_),p(f,g),F(w,g,null),b=!0,C||(k=[ve(l,"mousedown",t[1]),ve(l,"mouseup",t[5]),ve(l,"mouseleave",t[5]),ve(s,"mousedown",t[3]),ve(s,"mouseup",t[5]),ve(s,"mouseleave",t[5]),ve(d,"mousedown",t[4]),ve(d,"mouseup",t[5]),ve(d,"mouseleave",t[5]),ve(g,"mousedown",t[2]),ve(g,"mouseup",t[5]),ve(g,"mouseleave",t[5]),ve(e,"keydown",t[6]),ve(e,"keyup",t[7])],C=!0)},p(y,[V]){(!b||V&1)&&M(e,"m-shifted",y[0])},i(y){b||(m(r.$$.fragment,y),m(a.$$.fragment,y),m(h.$$.fragment,y),m(w.$$.fragment,y),b=!0)},o(y){v(r.$$.fragment,y),v(a.$$.fragment,y),v(h.$$.fragment,y),v(w.$$.fragment,y),b=!1},d(y){y&&S(e),H(r),H(a),H(h),H(w),C=!1,lt(k)}}}function Tb(t,e,i){let{isShifted:n=!1}=e;const l=Tt(),r=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),o=()=>{l.actions.internal.startCameraManualRotation(0,1)},s=()=>{l.actions.internal.startCameraManualRotation(0,-1)},a=()=>{l.actions.internal.startCameraManualRotation(1,0)},c=()=>{l.actions.internal.startCameraManualRotation(-1,0)},f=()=>(l.actions.internal.stopCameraManualRotation(),null),d=_=>{if(r.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ee.ArrowUp:o();break;case Ee.ArrowDown:s();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=_=>{r.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,o,s,a,c,f,d,h]}class mf extends ke{constructor(e){super(),we(this,e,Tb,Sb,be,{isShifted:0},Cb)}}function Pb(t){Ke(t,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function ku(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function yu(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function Cu(t){let e,i;function n(o,s){return o[7]&&o[8]?Ab:o[5]?Ib:Eb}let l=n(t),r=l(t);return{c(){e=E("div"),i=E("span"),r.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),M(e,"mobile",t[3])},m(o,s){T(o,e,s),p(e,i),r.m(i,null)},p(o,s){l===(l=n(o))&&r?r.p(o,s):(r.d(1),r=l(o),r&&(r.c(),r.m(i,null))),s&8&&M(e,"mobile",o[3])},d(o){o&&S(e),r.d()}}}function Eb(t){let e,i=Kt(t[1]),n=[];for(let l=0;l<i.length;l+=1)n[l]=Su(ku(t,i,l));return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ht()},m(l,r){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(l,r);T(l,e,r)},p(l,r){if(r&18){i=Kt(l[1]);let o;for(o=0;o<i.length;o+=1){const s=ku(l,i,o);n[o]?n[o].p(s,r):(n[o]=Su(s),n[o].c(),n[o].m(e.parentNode,e))}for(;o<n.length;o+=1)n[o].d(1);n.length=i.length}},d(l){l&&S(e),In(n,l)}}}function Ib(t){let e,i,n=Kt(t[6]),l=[];for(let r=0;r<n.length;r+=1)l[r]=Pu(yu(t,n,r));return{c(){e=E("span"),i=E("span");for(let r=0;r<l.length;r+=1)l[r].c();u(i,"class","caption-segment v-ovfyp5"),zt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,i);for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(i,null)},p(r,o){if(o&68){n=Kt(r[6]);let s;for(s=0;s<n.length;s+=1){const a=yu(r,n,s);l[s]?l[s].p(a,o):(l[s]=Pu(a),l[s].c(),l[s].m(i,null))}for(;s<l.length;s+=1)l[s].d(1);l.length=n.length}o&16&&zt(i,"font-size",r[4]+"px")},d(r){r&&S(e),In(l,r)}}}function Ab(t){let e,i,n=G("subtitles_auto_caption")+"",l;return{c(){e=E("span"),i=E("span"),l=Fe(n),u(i,"class","caption-segment v-ovfyp5"),zt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,o){T(r,e,o),p(e,i),p(i,l)},p(r,o){o&16&&zt(i,"font-size",r[4]+"px")},d(r){r&&S(e)}}}function Su(t){let e,i,n=t[16]+"",l,r;return{c(){e=E("span"),i=E("span"),l=Fe(n),r=R(),u(i,"class","caption-segment v-ovfyp5"),zt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(o,s){T(o,e,s),p(e,i),p(i,l),p(e,r)},p(o,s){s&2&&n!==(n=o[16]+"")&&it(l,n),s&16&&zt(i,"font-size",o[4]+"px")},d(o){o&&S(e)}}}function Tu(t){let e=t[16]+"",i;return{c(){i=Fe(e)},m(n,l){T(n,i,l)},p(n,l){l&64&&e!==(e=n[16]+"")&&it(i,e)},d(n){n&&S(i)}}}function Pu(t){let e,i=(!t[17]||t[17]<=t[2])&&Tu(t);return{c(){i&&i.c(),e=ht()},m(n,l){i&&i.m(n,l),T(n,e,l)},p(n,l){!n[17]||n[17]<=n[2]?i?i.p(n,l):(i=Tu(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function Lb(t){let e,i=t[1].length>0&&Cu(t);return{c(){e=E("div"),i&&i.c(),u(e,"class","subtitles-container v-ovfyp5"),M(e,"shifted",t[0]),M(e,"auto",t[5]&&!t[8])},m(n,l){T(n,e,l),i&&i.m(e,null)},p(n,[l]){n[1].length>0?i?i.p(n,l):(i=Cu(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),l&1&&M(e,"shifted",n[0]),l&288&&M(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&S(e),i&&i.d()}}}function Vb(t,e,i){let n,l,{shifted:r}=e,{captions:o}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Tt(),d=bn(),h=f.state.currentSubtitle$;D(t,h,y=>i(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;D(t,_,y=>i(8,l=y));let g,w,b,C,k;return dn(()=>{k=window.setTimeout(()=>{_.set(!1)},d.autoSubtitlesTimeout)}),Ro(()=>{window.clearTimeout(k)}),t.$$set=y=>{"shifted"in y&&i(0,r=y.shifted),"captions"in y&&i(1,o=y.captions),"position"in y&&i(2,s=y.position),"playerSize"in y&&i(11,a=y.playerSize),"isMobile"in y&&i(3,c=y.isMobile)},t.$$.update=()=>{if(t.$$.dirty&2048){const y=a.width*.02;i(4,g=y<=d.minSubtitlesFontSize?d.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,w=o.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,b=o.reduce((y,{type:V,value:Q})=>(V==="timestamp"?y.push({timeAppeared:Number(Q),value:""}):y.length===0?y.push({value:String(Q)}):y[y.length-1].value=String(Q),y),[])),t.$$.dirty&4096&&i(7,C=!!n.isAuto)},[r,o,s,c,g,w,b,C,l,h,_,a,n]}class pf extends ke{constructor(e){super(),we(this,e,Vb,Lb,be,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Pb)}}function Mb(t){Ke(t,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Eu(t){let e,i,n;return{c(){e=E("div"),i=Fe("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Fe(t[1]),u(e,"class","text v-1o62kpz")},m(l,r){T(l,e,r),p(e,i),p(e,n)},p(l,r){r&2&&it(n,l[1])},d(l){l&&S(e)}}}function Bb(t){let e,i,n,l,r,o,s=t[1]&&Eu(t);return{c(){e=E("div"),i=E("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),s&&s.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){T(a,e,c),p(e,i),p(e,n),s&&s.m(e,null),r||(o=ve(e,"click",t[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Eu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&l!==(l=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",l)},i:K,o:K,d(a){a&&S(e),s&&s.d(),r=!1,o()}}}function Nb(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:l}=e;function r(o){to.call(this,t,o)}return t.$$set=o=>{"thumbUrl"in o&&i(0,n=o.thumbUrl),"chromecastDeviceName"in o&&i(1,l=o.chromecastDeviceName)},[n,l,r]}class hf extends ke{constructor(e){super(),we(this,e,Nb,Bb,be,{thumbUrl:0,chromecastDeviceName:1},Mb)}}function Rb(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Ob extends ke{constructor(e){super(),we(this,e,null,Rb,be,{})}}function Db(t){Ke(t,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function zb(t){let e,i,n;return i=new Ob({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(l,r){T(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}class vf extends ke{constructor(e){super(),we(this,e,null,zb,be,{},Db)}}function Fb(t){Ke(t,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function Hb(t){let e,i,n,l,r,o,s,a,c;return r=new _r({}),{c(){e=E("div"),i=E("div"),n=E("div"),l=R(),U(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(i,"class","playButton v-17wno3"),u(i,"tabindex","0"),u(i,"role","button"),u(i,"aria-label",G("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",o=`background-color: #222; background-image: url('${t[0]||""}')`),M(e,"hidden",t[1])},m(f,d){T(f,e,d),p(e,i),p(i,n),p(i,l),F(r,i,null),s=!0,a||(c=[ve(i,"keydown",t[3]),ve(e,"click",st(function(){En(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[d]){t=f,(!s||d&1&&o!==(o=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",o),(!s||d&2)&&M(e,"hidden",t[1])},i(f){s||(m(r.$$.fragment,f),s=!0)},o(f){v(r.$$.fragment,f),s=!1},d(f){f&&S(e),H(r),a=!1,lt(c)}}}function Ub(t,e,i){let{thumbUrl:n}=e,{hidden:l}=e,{startVideo:r}=e;const s=Tt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ee.Enter,Ee.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),s.set(!0),r())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,l=c.hidden),"startVideo"in c&&i(2,r=c.startVideo)},[n,l,r,a]}class gf extends ke{constructor(e){super(),we(this,e,Ub,Hb,be,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},Fb)}get handlePressKey(){return this.$$.ctx[3]}}function qb(t){Ke(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
26
26
  0deg,
27
27
  rgba(0, 0, 0, 0) 0%,
28
28
  rgba(0, 0, 0, 0.02) 19%,
29
29
  rgba(0, 0, 0, 0.10) 34%,
30
30
  rgba(0, 0, 0, 0.40) 60%,
31
31
  rgba(0, 0, 0, 0.60) 100%
32
- )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Kb(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",t[1])},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&et(i,n[0]),l&2&&B(e,"hidden",n[1])},i:K,o:K,d(n){n&&S(e)}}}function Gb(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"isHidden"in r&&i(1,l=r.isHidden)},[n,l]}class Yb extends ke{constructor(e){super(),we(this,e,Gb,Kb,be,{title:0,isHidden:1},Zb)}}function Qb(t){Ze(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Bu(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[0]),l=O(),r=T("span"),r.textContent=`${Y("waiting_live_day_value")}`,o=O(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&1&&et(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function Nu(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[1]),l=O(),r=T("span"),r.textContent=`${Y("waiting_live_hour_value")}`,o=O(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&2&&et(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function Ru(t){let e,i,n,l,r,o,s;return{c(){e=T("div"),i=T("span"),n=ze(t[2]),l=O(),r=T("span"),r.textContent=`${Y("waiting_live_minute_value")}`,o=O(),s=T("span"),s.textContent=`${Y("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){P(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),P(a,o,c),P(a,s,c)},p(a,c){c&4&&et(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function Ou(t){let e,i,n,l,r;return{c(){e=T("div"),i=T("span"),n=ze(t[3]),l=O(),r=T("span"),r.textContent=`${Y("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){P(o,e,s),p(e,i),p(i,n),p(e,l),p(e,r)},p(o,s){s&8&&et(n,o[3])},d(o){o&&S(e)}}}function Xb(t){let e,i,n,l,r=t[0]&&Bu(t),o=t[1]&&Nu(t),s=t[2]&&Ru(t),a=t[3]&&Ou(t);return{c(){e=T("div"),r&&r.c(),i=O(),o&&o.c(),n=O(),s&&s.c(),l=O(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){P(c,e,f),r&&r.m(e,null),p(e,i),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Bu(c),r.c(),r.m(e,i)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=Nu(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=Ru(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Ou(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function Jb(t,e,i){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=_=>String(_).padStart(2,"0"),m=_=>{const g=Math.floor(_/86400);g&&(_-=g*86400,i(0,r=f(g)));const w=Math.floor(_/3600);i(1,o=f(w));const b=Math.floor(_/60)%60;i(2,s=f(b));const C=_%60;i(3,a=f(C))},h=()=>{const _=Math.floor(Date.now()/1e3),g=n-_;m(g),g>=1?c=requestAnimationFrame(h):l()};return vn(()=>{c=requestAnimationFrame(h)}),ml(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,l=_.onTimerOver)},[r,o,s,a,n,l]}class xb extends ke{constructor(e){super(),we(this,e,Jb,Xb,be,{startTime:4,onTimerOver:5},Qb)}}function $b(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ft(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ft(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),Ft(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ft(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ft(e,"shape-rendering","geometricPrecision"),Ft(e,"text-rendering","geometricPrecision"),Ft(e,"image-rendering","optimizeQuality"),Ft(e,"fill-rule","evenodd"),Ft(e,"clip-rule","evenodd"),Ft(e,"width","100%"),Ft(e,"height","100%")},m(o,s){P(o,e,s),p(e,i),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&S(e)}}}class e_ extends ke{constructor(e){super(),we(this,e,null,$b,be,{})}}function t_(t){Ze(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function i_(t){let e,i,n,l,r;return l=new xb({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=T("div"),i=T("span"),i.textContent=`${Y("waiting_live_timer_title")}`,n=O(),q(l.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){P(o,e,s),p(e,i),p(e,n),F(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(d(l.$$.fragment,o),r=!0)},o(o){v(l.$$.fragment,o),r=!1},d(o){o&&S(e),H(l)}}}function n_(t){let e,i,n,l,r,o;return n=new e_({}),{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("span"),r.textContent=`${Y("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){P(s,e,a),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&S(e),H(n)}}}function o_(t){let e,i,n,l,r;const o=[n_,i_],s=[];function a(c,f){return c[2]?0:1}return i=a(t),n=s[i]=o[i](t),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){P(c,e,f),s[i].m(e,null),r=!0},p(c,[f]){let m=i;i=a(c),i===m?s[i].p(c,f):(de(),v(s[m],1,1,()=>{s[m]=null}),me(),n=s[i],n?n.p(c,f):(n=s[i]=o[i](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(d(n),r=!0)},o(c){v(n),r=!1},d(c){c&&S(e),s[i].d()}}}function l_(t,e,i){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>i(2,n=!0);return t.$$set=s=>{"thumbUrl"in s&&i(0,l=s.thumbUrl),"startTime"in s&&i(1,r=s.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class yf extends ke{constructor(e){super(),we(this,e,l_,o_,be,{thumbUrl:0,startTime:1},t_)}}function r_(t){Ze(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function s_(t){let e,i;return{c(){e=T("div"),i=T("p"),i.textContent=`${Y("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){P(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class Cf extends ke{constructor(e){super(),we(this,e,null,s_,be,{},r_)}}const{window:a_}=dl;function u_(t){Ze(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Du(t){var n;let e,i;return e=new yf({props:{thumbUrl:t[3],startTime:(n=t[5])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){i||(d(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function zu(t){let e,i;return e=new Cf({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fu(t){let e,i,n;return i=new Sc({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),B(e,"hidden",t[38]!==De.Ads)},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),i.$set(o),(!n||r[1]&128)&&B(e,"hidden",l[38]!==De.Ads)},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Hu(t){let e,i;return e=new Cp({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Uu(t){let e,i;return e=new Yb({props:{title:t[2],isHidden:!t[36]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function qu(t){let e,i;return e=new gf({props:{isShifted:t[38]===De.Video&&t[36]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ju(t){let e,i,n;return i=new H1({props:{ariaLabel:Y("video360")}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Wu(t){let e,i;return e=new _f({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zu(t){let e,i;return e=new bf({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ku(t){let e,i,n,l,r;return i=new wf({}),{c(){e=T("div"),q(i.$$.fragment)},m(o,s){P(o,e,s),F(i,e,null),n=!0,l||(r=[ve(e,"contextmenu",Jt(t[107])),ve(e,"click",st(t[118]))],l=!0)},p:K,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i),l=!1,nt(r)}}}function Gu(t){let e,i,n;function l(o){t[151](o)}let r={bottomHidden:t[38]===De.Thumb||t[38]===De.WaitingLive||t[38]===De.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===De.Ads,canRewindLive:t[7]&&t[59]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:d_,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[150],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(r.controlsElementRef=t[41]),e=new hf({props:r}),Ce.push(()=>We(e,"controlsElementRef",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===De.Thumb||o[38]===De.WaitingLive||o[38]===De.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===De.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!i&&s[1]&1024&&(i=!0,a.controlsElementRef=o[41],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function Yu(t){let e,i;return e=new Oc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qu(t){let e,i;return e=new Zp({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xu(t){let e,i;return e=new Vc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ju(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae;e=new kf({props:{hidden:t[38]!==De.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let se=t[38]===De.WaitingLive&&Du(t),R=t[38]===De.WaitingRecord&&zu(),te=t[8]&&t[22]&&Fu(t),X=t[31]&&t[18]&&t[19]&&Hu(t),G=t[46]&&Uu(t),A=t[51]&&qu(t),V=t[54]&&ju(),x=t[39]&&Wu(t),L=t[56].value!=="off"&&Zu(t),ie=t[37]&&Ku(t),Ee=t[22]&&Gu(t);g=new Tc({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),b=new Pb({props:{data:t[102]}});function ye(W){t[153](W)}let Le={supportLink:t[21],returnFocus:t[152],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(Le.menuElementRef=t[32]),k=new ip({props:Le}),Ce.push(()=>We(k,"menuElementRef",ye));let Ve=t[44]&&Yu(),_e=t[63]&&Qu(),Se=t[64]&&Xu();return{c(){q(e.$$.fragment),i=O(),se&&se.c(),n=O(),R&&R.c(),l=O(),te&&te.c(),r=O(),X&&X.c(),o=O(),G&&G.c(),s=O(),A&&A.c(),a=O(),V&&V.c(),c=O(),x&&x.c(),f=O(),L&&L.c(),m=O(),ie&&ie.c(),h=O(),Ee&&Ee.c(),_=O(),q(g.$$.fragment),w=O(),q(b.$$.fragment),C=O(),q(k.$$.fragment),M=O(),Ve&&Ve.c(),j=O(),_e&&_e.c(),I=O(),Se&&Se.c(),z=mt()},m(W,$){F(e,W,$),P(W,i,$),se&&se.m(W,$),P(W,n,$),R&&R.m(W,$),P(W,l,$),te&&te.m(W,$),P(W,r,$),X&&X.m(W,$),P(W,o,$),G&&G.m(W,$),P(W,s,$),A&&A.m(W,$),P(W,a,$),V&&V.m(W,$),P(W,c,$),x&&x.m(W,$),P(W,f,$),L&&L.m(W,$),P(W,m,$),ie&&ie.m(W,$),P(W,h,$),Ee&&Ee.m(W,$),P(W,_,$),F(g,W,$),P(W,w,$),F(b,W,$),P(W,C,$),F(k,W,$),P(W,M,$),Ve&&Ve.m(W,$),P(W,j,$),_e&&_e.m(W,$),P(W,I,$),Se&&Se.m(W,$),P(W,z,$),ae=!0},p(W,$){const fe={};$[0]&64|$[1]&192&&(fe.hidden=W[38]!==De.Thumb||W[37]||W[93]&&W[6]),$[0]&8&&(fe.thumbUrl=W[3]),$[0]&536870912&&(fe.startVideo=W[29]),e.$set(fe),W[38]===De.WaitingLive?se?(se.p(W,$),$[1]&128&&d(se,1)):(se=Du(W),se.c(),d(se,1),se.m(n.parentNode,n)):se&&(de(),v(se,1,1,()=>{se=null}),me()),W[38]===De.WaitingRecord?R?$[1]&128&&d(R,1):(R=zu(),R.c(),d(R,1),R.m(l.parentNode,l)):R&&(de(),v(R,1,1,()=>{R=null}),me()),W[8]&&W[22]?te?(te.p(W,$),$[0]&4194560&&d(te,1)):(te=Fu(W),te.c(),d(te,1),te.m(r.parentNode,r)):te&&(de(),v(te,1,1,()=>{te=null}),me()),W[31]&&W[18]&&W[19]?X?(X.p(W,$),$[0]&786432|$[1]&1&&d(X,1)):(X=Hu(W),X.c(),d(X,1),X.m(o.parentNode,o)):X&&(de(),v(X,1,1,()=>{X=null}),me()),W[46]?G?(G.p(W,$),$[1]&32768&&d(G,1)):(G=Uu(W),G.c(),d(G,1),G.m(s.parentNode,s)):G&&(de(),v(G,1,1,()=>{G=null}),me()),W[51]?A?(A.p(W,$),$[1]&1048576&&d(A,1)):(A=qu(W),A.c(),d(A,1),A.m(a.parentNode,a)):A&&(de(),v(A,1,1,()=>{A=null}),me()),W[54]?V?(V.p(W,$),$[1]&8388608&&d(V,1)):(V=ju(),V.c(),d(V,1),V.m(c.parentNode,c)):V&&(de(),v(V,1,1,()=>{V=null}),me()),W[39]?x?(x.p(W,$),$[1]&256&&d(x,1)):(x=Wu(W),x.c(),d(x,1),x.m(f.parentNode,f)):x&&(de(),v(x,1,1,()=>{x=null}),me()),W[56].value!=="off"?L?(L.p(W,$),$[1]&33554432&&d(L,1)):(L=Zu(W),L.c(),d(L,1),L.m(m.parentNode,m)):L&&(de(),v(L,1,1,()=>{L=null}),me()),W[37]?ie?(ie.p(W,$),$[1]&64&&d(ie,1)):(ie=Ku(W),ie.c(),d(ie,1),ie.m(h.parentNode,h)):ie&&(de(),v(ie,1,1,()=>{ie=null}),me()),W[22]?Ee?(Ee.p(W,$),$[0]&4194304&&d(Ee,1)):(Ee=Gu(W),Ee.c(),d(Ee,1),Ee.m(_.parentNode,_)):Ee&&(de(),v(Ee,1,1,()=>{Ee=null}),me());const ue={};$[1]&536870912&&(ue.isLive=W[60]),$[1]&16384&&(ue.isHidden=!W[45]),$[1]&1073741824&&(ue.isPlaying=W[61]),$[1]&134217728&&(ue.position=W[58]),$[2]&1&&(ue.duration=W[62]),g.$set(ue);const Fe={};$[0]&2097152&&(Fe.supportLink=W[21]),$[1]&524288&&(Fe.returnFocus=W[152]),$[1]&4&&(Fe.visible=W[33]),$[1]&512&&(Fe.playerContainerRef=W[40]),$[1]&1024&&(Fe.controlsContainerRef=W[41]),$[1]&2048&&(Fe.x=W[42]),$[1]&4096&&(Fe.y=W[43]),!y&&$[1]&2&&(y=!0,Fe.menuElementRef=W[32],je(()=>y=!1)),k.$set(Fe),W[44]?Ve?$[1]&8192&&d(Ve,1):(Ve=Yu(),Ve.c(),d(Ve,1),Ve.m(j.parentNode,j)):Ve&&(de(),v(Ve,1,1,()=>{Ve=null}),me()),W[63]?_e?$[2]&2&&d(_e,1):(_e=Qu(),_e.c(),d(_e,1),_e.m(I.parentNode,I)):_e&&(de(),v(_e,1,1,()=>{_e=null}),me()),W[64]?Se?$[2]&4&&d(Se,1):(Se=Xu(),Se.c(),d(Se,1),Se.m(z.parentNode,z)):Se&&(de(),v(Se,1,1,()=>{Se=null}),me())},i(W){ae||(d(e.$$.fragment,W),d(se),d(R),d(te),d(X),d(G),d(A),d(V),d(x),d(L),d(ie),d(Ee),d(g.$$.fragment,W),d(b.$$.fragment,W),d(k.$$.fragment,W),d(Ve),d(_e),d(Se),ae=!0)},o(W){v(e.$$.fragment,W),v(se),v(R),v(te),v(X),v(G),v(A),v(V),v(x),v(L),v(ie),v(Ee),v(g.$$.fragment,W),v(b.$$.fragment,W),v(k.$$.fragment,W),v(Ve),v(_e),v(Se),ae=!1},d(W){W&&(S(i),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(m),S(h),S(_),S(w),S(C),S(M),S(j),S(I),S(z)),H(e,W),se&&se.d(W),R&&R.d(W),te&&te.d(W),X&&X.d(W),G&&G.d(W),A&&A.d(W),V&&V.d(W),x&&x.d(W),L&&L.d(W),ie&&ie.d(W),Ee&&Ee.d(W),H(g,W),H(b,W),H(k,W),Ve&&Ve.d(W),_e&&_e.d(W),Se&&Se.d(W)}}}function c_(t){let e,i,n,l,r=t[53],o,s,a,c,f=Ju(t);return{c(){e=T("div"),i=T("div"),l=O(),f.c(),o=mt(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[48]})`),B(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),B(e,"hidden",t[38]!==De.Video),B(e,"nocursor",t[47])},m(m,h){P(m,e,h),p(e,i),t[149](i),P(m,l,h),f.m(m,h),P(m,o,h),s=!0,a||(c=[ve(e,"contextmenu",Jt(t[107])),ve(e,"mousedown",Jt(t[112])),ve(e,"mouseup",Jt(t[113])),ve(e,"click",Jt(t[115])),ve(e,"dblclick",Jt(t[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(i,"style",n),(!s||h[0]&2)&&B(i,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&B(e,"hidden",m[38]!==De.Video),(!s||h[1]&65536)&&B(e,"nocursor",m[47]),h[1]&4194304&&be(r,r=m[53])?(de(),v(f,1,1,K),me(),f=Ju(m),f.c(),d(f,1),f.m(o.parentNode,o)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){v(f),s=!1},d(m){m&&(S(e),S(l),S(o)),t[149](null),f.d(m),a=!1,nt(c)}}}function f_(t){let e,i,n,l,r,o,s,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===De.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[c_]},$$scope:{ctx:t}};return i=new Ep({props:a}),t[154](i),{c(){e=T("div"),q(i.$$.fragment),n=O(),l=T("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){P(c,e,f),F(i,e,null),p(e,n),p(e,l),t[155](l),t[156](e),r=!0,o||(s=[ve(a_,"blur",t[106]),ve(e,"mouseenter",t[108]),ve(e,"mouseleave",t[110]),ve(e,"mousemove",t[111]),ve(e,"click",t[119],!0),ve(e,"focusin",t[109],!0)],o=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===De.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),i.$set(m)},i(c){r||(d(i.$$.fragment,c),r=!0)},o(c){v(i.$$.fragment,c),r=!1},d(c){c&&S(e),t[154](null),H(i),t[155](null),t[156](null),o=!1,nt(s)}}}let d_=!0;function Sf(t){return t?t.offsetTop+Sf(t.offsetParent):0}function m_(t,e,i){let n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se,W,{store:$}=e,{uiConfig:fe}=e,{title:ue}=e,{thumbUrl:Fe}=e,{videoLogoUrl:Oe}=e,{videoContainer:Me}=e,{interactiveContainer:Ie}=e,{live:ce}=e,{autoplay:he}=e,{canRewindLive:re}=e,{showAds:Te}=e,{adsSlotId:pe=void 0}=e,{adsParams:Pe=void 0}=e,{adsPreviewParam:Ke=void 0}=e,{duration:Re=void 0}=e,{logoClickable:xe}=e,{logoHidden:Xe}=e,{showNextPrevButtons:ot=!1}=e,{nextButtonActive:at=!1}=e,{prevButtonActive:At=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:xt=void 0}=e,{isOneVideoPlaylist:gt=!1}=e,{supportLink:Mt}=e,{outerContainerRef:oe=void 0}=e,{playerStarted:_t=!1}=e,{fullScreenTarget:rt=void 0}=e,{showMiniTimer:Rt=!1}=e,{playNextVideo:ut=ne.noop}=e,{playPrevVideo:It=ne.noop}=e,{repeatPlaylist:Je=ne.noop}=e,{seekToInteractive:Ue}=e,{toggleGraph:St}=e,{playPrevChapter:Ji}=e,{firstStart:fi}=e;const di=$.getLogger().createComponentLog("Root component"),nn=$.interfaceLanguage$;D(t,nn,Z=>i(53,A=Z));const $t=$.state.playbackState$;D(t,$t,Z=>i(146,te=Z));const Kt=$.ads.playbackState;D(t,Kt,Z=>i(147,X=Z));const ei=$.state.positionWithScrubbing$;D(t,ei,Z=>i(58,Ee=Z));const Ot=$.state.duration$;D(t,Ot,Z=>i(62,_e=Z));const ti=$.playerPhase;D(t,ti,Z=>i(38,I=Z));const Oi=$.ui.isFullscreen;D(t,Oi,Z=>i(136,m=Z));const ii=$.ui.controlsVisible;D(t,ii,Z=>i(36,C=Z));const Ti=$.ui.settingsMenuVisible;D(t,Ti,Z=>i(134,o=Z));const mi=$.ui.scrubbingInProgress;D(t,mi,Z=>i(138,w=Z));const ni=$.ui.contextMenuVisible;D(t,ni,Z=>i(33,n=Z));const Di=$.ui.debugPanelVisible;D(t,Di,Z=>i(64,W=Z));const Ei=$.state.isLoaderVisible;D(t,Ei,Z=>i(148,G=Z));const zi=$.state.isEnded$;D(t,zi,Z=>i(135,a=Z));const oi=$.state.chromecastConnected$;D(t,oi,Z=>i(39,se=Z));const Fi=$.state.chromecastDeviceName$;D(t,Fi,Z=>i(55,x=Z));const Pt=$.ads.postrollPassed;D(t,Pt,Z=>i(141,M=Z));const Tt=$.state.isLive$;D(t,Tt,Z=>i(60,Le=Z));const pi=$.state.isPlaying$;D(t,pi,Z=>i(61,Ve=Z));const Ai=$.state.crashed$;D(t,Ai,Z=>i(37,y=Z));const lt=$.webApi.pictureInPictureApi,ct=$.state.currentSubtitle$;D(t,ct,Z=>i(56,L=Z));const li=$.state.currentSubtitleCaptions$;D(t,li,Z=>i(57,ie=Z));const Bt=$.state.duration$;D(t,Bt,Z=>i(59,ye=Z));const ri=$.state.graphIsOpened$;D(t,ri,Z=>i(142,j=Z));const hi=$.ui.playerSize;D(t,hi,Z=>i(34,f=Z));const vi=$.ui.is3DVideo;D(t,vi,Z=>i(51,c=Z));const Dt=$.ui.icon3DVideoVisible;D(t,Dt,Z=>i(54,V=Z));const Wi=$.ui.rotateAlpha;D(t,Wi,Z=>i(35,g=Z));const gi=$.state.isInteractive,Gt=$.state.isInteractiveTime$;D(t,Gt,Z=>i(139,b=Z));const Ii=$.state.isInteractiveExpectation$;D(t,Ii,Z=>i(145,R=Z));const on=$.state.hasInteractiveBranches,bi=$.ui.touched;D(t,bi,Z=>i(143,z=Z));const Hi=$.ui.modals.hotKeyMap.data;D(t,Hi,Z=>i(163,s=Z));const Nt=$.ui.modals.hotKeyMap.show;D(t,Nt,Z=>i(63,Se=Z));const Ht=$.ui.overlayContainer$,_i=$.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Li}=No();D(t,Li,Z=>i(137,_=Z));let Vi,si,Zi=0,wi=0,ki,Ui,yi;Hi.set(y4());let Ki,jt;const Yt=Ne(!1);D(t,Yt,Z=>i(52,h=Z));let Mi;const Bi=Ne(!1);D(t,Bi,Z=>i(144,ae=Z));const Wt=Ne(),ai=Ne(!1);D(t,ai,Z=>i(140,k=Z));let ui=!1,qe=!1,Gi,ci,qi,Be,ln,rn,Yi=!1,Lt,sn=!1;const{toggle:xi}=Li;let ji=!1,Ci=null,ee;lt==null||lt.setContext(w1());const it=()=>{he&&!gi&&ht(fe.controls.hideTimeout)};$.setUiCallbacks({onStarted:it});const Ut=()=>{window.clearTimeout(ki),Bi.set(!1)},Si=()=>{window.clearTimeout(Ui),Wt.set(null)},ht=Z=>{Ut(),Bi.set(!0),ki=window.setTimeout(()=>Bi.set(!1),Z);const Et=Z-100;Mi=window.setTimeout(()=>{h&&Yt.set(!1)},Et>0?Et:Z)},cn=(Z,Et)=>{Si(),Wt.set(Et),Ui=window.setTimeout(()=>Wt.set(null),Z)},bn=vi.subscribe(Z=>{Dt.set(Z),Z&&(window.clearTimeout(yi),yi=window.setTimeout(()=>Dt.set(!1),fe.controls.hide360IconTimeout))}),fn=async()=>{var Et,en,hn,Mn;const Z=Lo();if(Z){ht(fe.controls.hideTimeoutFullscreen);try{await(lt==null?void 0:lt.remove())}catch(to){di({message:String(to)})}}Oi.set(Z),$.getAdmanWrapper().setFullscreen(Z),m?(en=(Et=$.callbacks)==null?void 0:Et.onFullscreenEnter)==null||en.call(Et):(Mn=(hn=$.callbacks)==null?void 0:hn.onFullscreenExit)==null||Mn.call(hn)},_n=Z=>{const Et=Z;hi.set({width:Et.target.width,height:Et.target.height})};vn(()=>{var Et;return yc(fn),fl(lt)&&(lt==null||lt.assignPlayerContainer(Vi),lt==null||lt.registryExternalEventHandlers({resize:_n})),Ie&&((Et=Me.parentElement)==null||Et.insertBefore(Ie,Me.nextSibling)),()=>{window.clearTimeout(ki),window.clearTimeout(Mi),window.clearTimeout(Ui),window.clearTimeout(yi),bn(),lt==null||lt.dispose(),Cc(fn)}});const an=async()=>{if(Lo())await kc(document),di({message:"exit fullscreen"});else{di({message:"request fullscreen"});const Z=oe!=null?oe:Vi,Et=Z.getRootNode(),en=Et instanceof ShadowRoot?Et.host:Et,hn=rt instanceof HTMLElement&&rt.contains(en),Mn=fe.allowChangingFullscreenTarget&&rt&&hn?rt:Z;await wc(Mn)}},$i=()=>{_i(),ni.set(!1)},wn=Z=>{ni.set(!0),i(42,Zi=Z.clientX),i(43,wi=Z.clientY)};function kn(){ai.set(!0),gi||ht(fe.controls.hideTimeoutCursor)}function yn(){gi||(Yt.set(!0),ht(fe.controls.hideTimeoutCursor))}function dn(){ai.set(!1),i(128,qe=!1),i(127,ui=!1),ji=!1,$.actions.internal.releaseCamera()}function Cn(Z){if(Vi){const Et=Sf(Z.currentTarget),en=f.height,hn=Z.pageY-Et;hn<Hr?i(128,qe=!0):hn>en-Hr?i(127,ui=!0):(i(128,qe=!1),o||i(127,ui=!1))}}function J(Z){Cn(Z),ci||ht(fe.controls.hideTimeoutCursor),c&&ji&&Ci&&$.actions.internal.moveCameraFocusPX(Ci.clientX-Z.clientX,Ci.clientY-Z.clientY,Z.timeStamp-Ci.timeStamp),Ci=Z}const vt=Z=>{Z.button===0&&(ji=!0,$.actions.internal.holdCamera()),ht(fe.controls.hideTimeoutCursor)},mn=Z=>{Z.button===0&&(Ci=Z,ji=!1,$.actions.internal.releaseCamera()),ht(fe.controls.hideTimeoutCursor)},Qi=()=>{di({message:"double click on video"}),an(),ht(fe.controls.hideTimeoutCursor)},pn=()=>{if(n||o){$i();return}if(!(a&&!on)){if(sn)return xi();if(ee==null||ee.focus(),!_t){fi(),ht(fe.controls.hideTimeoutCursor);return}$.actions.internal.togglePlay(),ht(fe.controls.hideTimeoutCursor)}},un=Z=>{$i(),bi.set(!0),ht(fe.controls.hideTimeout),Z&&cn(fe.controls.hideHotKeyHelpers,Z)},Zn=()=>{var Z,Et;$i(),(Z=$.callbacks)!=null&&Z.onOpenHotKeyMap?(Et=$.callbacks)==null||Et.onOpenHotKeyMap(s):Nt.update(en=>!en)},Kn=()=>{if(n||o){$i();return}},Gn=()=>{bi.set(!0)},Vn=$.ui.contextMenu.openedByKeyboard$;D(t,Vn,Z=>i(133,r=Z));let Rn=$.ui.contextMenu.btnRef$;D(t,Rn,Z=>i(132,l=Z));let Sn;function $n(Z){Ce[Z?"unshift":"push"](()=>{Me=Z,i(0,Me)})}const Xi=()=>ee==null?void 0:ee.focus();function Pn(Z){si=Z,i(41,si)}const Q=()=>ee==null?void 0:ee.focus();function eo(Z){Sn=Z,i(32,Sn)}function ro(Z){Ce[Z?"unshift":"push"](()=>{ee=Z,i(50,ee)})}function To(Z){Ce[Z?"unshift":"push"](()=>{jt=Z,i(30,jt)})}function so(Z){Ce[Z?"unshift":"push"](()=>{Vi=Z,i(40,Vi)})}return t.$$set=Z=>{"store"in Z&&i(122,$=Z.store),"uiConfig"in Z&&i(1,fe=Z.uiConfig),"title"in Z&&i(2,ue=Z.title),"thumbUrl"in Z&&i(3,Fe=Z.thumbUrl),"videoLogoUrl"in Z&&i(4,Oe=Z.videoLogoUrl),"videoContainer"in Z&&i(0,Me=Z.videoContainer),"interactiveContainer"in Z&&i(123,Ie=Z.interactiveContainer),"live"in Z&&i(5,ce=Z.live),"autoplay"in Z&&i(6,he=Z.autoplay),"canRewindLive"in Z&&i(7,re=Z.canRewindLive),"showAds"in Z&&i(8,Te=Z.showAds),"adsSlotId"in Z&&i(9,pe=Z.adsSlotId),"adsParams"in Z&&i(10,Pe=Z.adsParams),"adsPreviewParam"in Z&&i(11,Ke=Z.adsPreviewParam),"duration"in Z&&i(12,Re=Z.duration),"logoClickable"in Z&&i(13,xe=Z.logoClickable),"logoHidden"in Z&&i(14,Xe=Z.logoHidden),"showNextPrevButtons"in Z&&i(15,ot=Z.showNextPrevButtons),"nextButtonActive"in Z&&i(16,at=Z.nextButtonActive),"prevButtonActive"in Z&&i(17,At=Z.prevButtonActive),"endScreenVideoTitle"in Z&&i(18,pt=Z.endScreenVideoTitle),"endScreenVideoThumb"in Z&&i(19,xt=Z.endScreenVideoThumb),"isOneVideoPlaylist"in Z&&i(20,gt=Z.isOneVideoPlaylist),"supportLink"in Z&&i(21,Mt=Z.supportLink),"outerContainerRef"in Z&&i(124,oe=Z.outerContainerRef),"playerStarted"in Z&&i(22,_t=Z.playerStarted),"fullScreenTarget"in Z&&i(125,rt=Z.fullScreenTarget),"showMiniTimer"in Z&&i(126,Rt=Z.showMiniTimer),"playNextVideo"in Z&&i(23,ut=Z.playNextVideo),"playPrevVideo"in Z&&i(24,It=Z.playPrevVideo),"repeatPlaylist"in Z&&i(25,Je=Z.repeatPlaylist),"seekToInteractive"in Z&&i(26,Ue=Z.seekToInteractive),"toggleGraph"in Z&&i(27,St=Z.toggleGraph),"playPrevChapter"in Z&&i(28,Ji=Z.playPrevChapter),"firstStart"in Z&&i(29,fi=Z.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Ki=(I===De.Video&&G||I===De.Ads&&X===Xt.INACTIVE)&&!y),t.$$.dirty[0]&1073741824&&Ht.set(jt),t.$$.dirty[4]&4194304&&i(129,Gi=te!==$e.PlaybackState.PLAYING),t.$$.dirty[4]&2131e3&&i(130,ci=b&&!o&&!(ui||qe)&&!(Gi&&!R)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&ii.set((Gi||o||w||se||ae)&&!ci&&I===De.Video&&!y),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,qi=fe.features.thumbTimer&&Rt&&I===De.Video&&!C&&!y&&!gi&&(fe.hideThumbTimerAfterTouch&&!z||!fe.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,Be=I===De.Video&&!j&&m),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,ln=(Te&&M||!Te)&&a&&!y),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,rn=k&&!(C||ln)&&!b),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!w&&Yi&&!b&&ht(fe.controls.hideTimeoutCursor),i(131,Yi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,Lt=Me&&g%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,sn=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&br(Sn,n,r),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const Z=l;Z&&gr(Z,n,Vn)}},[Me,fe,ue,Fe,Oe,ce,he,re,Te,pe,Pe,Ke,Re,xe,Xe,ot,at,At,pt,xt,gt,Mt,_t,ut,It,Je,Ue,St,Ji,fi,jt,ln,Sn,n,f,g,C,y,I,se,Vi,si,Zi,wi,Ki,qi,Be,rn,Lt,sn,ee,c,h,A,V,x,L,ie,Ee,ye,Le,Ve,_e,Se,W,nn,$t,Kt,ei,Ot,ti,Oi,ii,Ti,mi,ni,Di,Ei,zi,oi,Fi,Pt,Tt,pi,Ai,ct,li,Bt,ri,hi,vi,Dt,Wi,gi,Gt,Ii,bi,Hi,Nt,Li,Yt,Bi,Wt,ai,xi,an,$i,wn,kn,yn,dn,J,vt,mn,Qi,pn,un,Zn,Kn,Gn,Vn,Rn,$,Ie,oe,rt,Rt,ui,qe,Gi,ci,Yi,l,r,o,a,m,_,w,b,k,M,j,z,ae,R,te,X,G,$n,Xi,Pn,Q,eo,ro,To,so]}class p_ extends ke{constructor(e){super(),we(this,e,m_,f_,be,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},u_,[-1,-1,-1,-1,-1,-1])}}const h_=t=>{if(!ne.isIOS(!0))return!1;const e=t.device===ne.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,i=ne.getIOSVersion();return!e||e&&!!i&&i<16};function v_(t){Ze(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function xu(t){let e,i,n,l,r,o,s,a,c,f,m,h,_,g,w,b=Y("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",C;return{c(){e=T("div"),n=O(),l=T("div"),r=T("div"),o=T("div"),a=O(),c=T("div"),m=O(),h=T("div"),g=O(),w=T("p"),C=ze(b),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(o,"class",s="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(k,y){P(k,e,y),P(k,n,y),P(k,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,m),p(r,h),p(l,g),p(l,w),p(w,C)},p(k,y){y&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&_!==(_="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",_),y&2&&b!==(b=Y("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&et(C,b)},d(k){k&&(S(e),S(n),S(l))}}}function g_(t){let e,i,n,l,r=t[2]&&xu(t);return{c(){e=T("div"),r&&r.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(o,s){P(o,e,s),r&&r.m(e,null),n||(l=ve(e,"click",st(t[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=xu(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&i!==(i="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",i)},i:K,o:K,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function b_(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return ml(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=m=>{"side"in m&&i(0,n=m.side),"seekStep"in m&&i(1,l=m.seekStep),"handleSingleFirstClick"in m&&i(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&i(5,o=m.handleSecondClick)},[n,l,s,f,r,o]}class Pf extends ke{constructor(e){super(),we(this,e,b_,g_,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},v_)}}function __(t,e,i){let{playNextVideo:n}=e;return vn(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class w_ extends ke{constructor(e){super(),we(this,e,__,null,be,{playNextVideo:0})}}const{window:k_}=dl;function y_(t){Ze(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function $u(t){let e,i,n,l;e=new Pf({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[129]}});let r=!t[48]&&e1(t);return{c(){q(e.$$.fragment),i=O(),r&&r.c(),n=mt()},m(o,s){F(e,o,s),P(o,i,s),r&&r.m(o,s),P(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(de(),v(r,1,1,()=>{r=null}),me()):r?(r.p(o,s),s[1]&131072&&d(r,1)):(r=e1(o),r.c(),d(r,1),r.m(n.parentNode,n))},i(o){l||(d(e.$$.fragment,o),d(r),l=!0)},o(o){v(e.$$.fragment,o),v(r),l=!1},d(o){o&&(S(i),S(n)),H(e,o),r&&r.d(o)}}}function e1(t){let e,i;return e=new Pf({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[130]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t1(t){var n;let e,i;return e=new yf({props:{thumbUrl:t[2],startTime:(n=t[4])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){i||(d(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function i1(t){let e,i;return e=new Cf({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n1(t){let e,i,n;return i=new Sc({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),B(e,"hidden",t[34]!==De.Ads)},m(l,r){P(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),i.$set(o),(!n||r[1]&8)&&B(e,"hidden",l[34]!==De.Ads)},i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function o1(t){let e,i;return e=new w_({props:{playNextVideo:t[22]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function l1(t){let e,i;return e=new gf({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function r1(t){let e,i,n;return i=new H1({props:{ariaLabel:Y("video360")}}),{c(){e=T("div"),q(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){P(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function s1(t){let e,i;return e=new _f({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a1(t){let e,i;return e=new bf({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function u1(t){let e,i,n,l,r;return i=new wf({}),{c(){e=T("div"),q(i.$$.fragment)},m(o,s){P(o,e,s),F(i,e,null),n=!0,l||(r=ve(e,"click",st(t[100])),l=!0)},p:K,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i),l=!1,r()}}}function c1(t){let e,i,n;function l(o){t[131](o)}let r={bottomHidden:t[34]===De.Thumb||t[34]===De.WaitingLive||t[34]===De.WaitingRecord||t[34]===De.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===De.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27],onDisabledPlayPrevChapterClick:t[103],onDisabledSeekToInteractiveClick:t[104]};return t[37]!==void 0&&(r.controlsElementRef=t[37]),e=new hf({props:r}),Ce.push(()=>We(e,"controlsElementRef",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===De.Thumb||o[34]===De.WaitingLive||o[34]===De.WaitingRecord||o[34]===De.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===De.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!i&&s[1]&64&&(i=!0,a.controlsElementRef=o[37],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function f1(t){let e,i;return e=new Oc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d1(t){let e,i;return e=new Vc({}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function m1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(dt.TIMELINE),l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y;e=new kf({props:{hidden:t[34]!==De.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let M=n&&$u(t),j=t[34]===De.WaitingLive&&t1(t),I=t[34]===De.WaitingRecord&&i1(),z=t[7]&&t[21]&&n1(t),ae=t[41]&&t[17]&&t[18]&&o1(t),se=t[49]&&l1(),R=t[50]&&r1(),te=t[35]&&s1(t),X=t[52].value!=="off"&&a1(t),G=t[33]&&u1(t),A=t[21]&&c1(t);w=new Tc({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let V=t[38]&&f1(),x=t[57]&&d1();return{c(){q(e.$$.fragment),i=O(),M&&M.c(),l=O(),j&&j.c(),r=O(),I&&I.c(),o=O(),z&&z.c(),s=O(),ae&&ae.c(),a=O(),se&&se.c(),c=O(),R&&R.c(),f=O(),te&&te.c(),m=O(),X&&X.c(),h=O(),G&&G.c(),_=O(),A&&A.c(),g=O(),q(w.$$.fragment),b=O(),V&&V.c(),C=O(),x&&x.c(),k=mt()},m(L,ie){F(e,L,ie),P(L,i,ie),M&&M.m(L,ie),P(L,l,ie),j&&j.m(L,ie),P(L,r,ie),I&&I.m(L,ie),P(L,o,ie),z&&z.m(L,ie),P(L,s,ie),ae&&ae.m(L,ie),P(L,a,ie),se&&se.m(L,ie),P(L,c,ie),R&&R.m(L,ie),P(L,f,ie),te&&te.m(L,ie),P(L,m,ie),X&&X.m(L,ie),P(L,h,ie),G&&G.m(L,ie),P(L,_,ie),A&&A.m(L,ie),P(L,g,ie),F(w,L,ie),P(L,b,ie),V&&V.m(L,ie),P(L,C,ie),x&&x.m(L,ie),P(L,k,ie),y=!0},p(L,ie){const Ee={};ie[0]&32|ie[1]&12&&(Ee.hidden=L[34]!==De.Thumb||L[33]||L[89]&&L[5]),ie[0]&4&&(Ee.thumbUrl=L[2]),ie[0]&268435456&&(Ee.startVideo=L[28]),e.$set(Ee),ie[0]&64|ie[1]&65536&&(n=L[6]&&L[78]&&!L[47].has(dt.TIMELINE)),n?M?(M.p(L,ie),ie[0]&64|ie[1]&65536&&d(M,1)):(M=$u(L),M.c(),d(M,1),M.m(l.parentNode,l)):M&&(de(),v(M,1,1,()=>{M=null}),me()),L[34]===De.WaitingLive?j?(j.p(L,ie),ie[1]&8&&d(j,1)):(j=t1(L),j.c(),d(j,1),j.m(r.parentNode,r)):j&&(de(),v(j,1,1,()=>{j=null}),me()),L[34]===De.WaitingRecord?I?ie[1]&8&&d(I,1):(I=i1(),I.c(),d(I,1),I.m(o.parentNode,o)):I&&(de(),v(I,1,1,()=>{I=null}),me()),L[7]&&L[21]?z?(z.p(L,ie),ie[0]&2097280&&d(z,1)):(z=n1(L),z.c(),d(z,1),z.m(s.parentNode,s)):z&&(de(),v(z,1,1,()=>{z=null}),me()),L[41]&&L[17]&&L[18]?ae?(ae.p(L,ie),ie[0]&393216|ie[1]&1024&&d(ae,1)):(ae=o1(L),ae.c(),d(ae,1),ae.m(a.parentNode,a)):ae&&(de(),v(ae,1,1,()=>{ae=null}),me()),L[49]?se?ie[1]&262144&&d(se,1):(se=l1(),se.c(),d(se,1),se.m(c.parentNode,c)):se&&(de(),v(se,1,1,()=>{se=null}),me()),L[50]?R?(R.p(L,ie),ie[1]&524288&&d(R,1)):(R=r1(),R.c(),d(R,1),R.m(f.parentNode,f)):R&&(de(),v(R,1,1,()=>{R=null}),me()),L[35]?te?(te.p(L,ie),ie[1]&16&&d(te,1)):(te=s1(L),te.c(),d(te,1),te.m(m.parentNode,m)):te&&(de(),v(te,1,1,()=>{te=null}),me()),L[52].value!=="off"?X?(X.p(L,ie),ie[1]&2097152&&d(X,1)):(X=a1(L),X.c(),d(X,1),X.m(h.parentNode,h)):X&&(de(),v(X,1,1,()=>{X=null}),me()),L[33]?G?(G.p(L,ie),ie[1]&4&&d(G,1)):(G=u1(L),G.c(),d(G,1),G.m(_.parentNode,_)):G&&(de(),v(G,1,1,()=>{G=null}),me()),L[21]?A?(A.p(L,ie),ie[0]&2097152&&d(A,1)):(A=c1(L),A.c(),d(A,1),A.m(g.parentNode,g)):A&&(de(),v(A,1,1,()=>{A=null}),me());const ye={};ie[1]&16777216&&(ye.isLive=L[55]),ie[1]&512&&(ye.isHidden=!L[40]),ie[1]&33554432&&(ye.isPlaying=L[56]),ie[1]&8192&&(ye.position=L[44]),ie[1]&4096&&(ye.duration=L[43]),w.$set(ye),L[38]?V?ie[1]&128&&d(V,1):(V=f1(),V.c(),d(V,1),V.m(C.parentNode,C)):V&&(de(),v(V,1,1,()=>{V=null}),me()),L[57]?x?ie[1]&67108864&&d(x,1):(x=d1(),x.c(),d(x,1),x.m(k.parentNode,k)):x&&(de(),v(x,1,1,()=>{x=null}),me())},i(L){y||(d(e.$$.fragment,L),d(M),d(j),d(I),d(z),d(ae),d(se),d(R),d(te),d(X),d(G),d(A),d(w.$$.fragment,L),d(V),d(x),y=!0)},o(L){v(e.$$.fragment,L),v(M),v(j),v(I),v(z),v(ae),v(se),v(R),v(te),v(X),v(G),v(A),v(w.$$.fragment,L),v(V),v(x),y=!1},d(L){L&&(S(i),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(m),S(h),S(_),S(g),S(b),S(C),S(k)),H(e,L),M&&M.d(L),j&&j.d(L),I&&I.d(L),z&&z.d(L),ae&&ae.d(L),se&&se.d(L),R&&R.d(L),te&&te.d(L),X&&X.d(L),G&&G.d(L),A&&A.d(L),H(w,L),V&&V.d(L),x&&x.d(L)}}}function C_(t){let e,i,n,l,r,o=t[46],s,a,c,f,m,h=m1(t);return{c(){e=T("div"),i=T("div"),n=T("div"),r=O(),h.c(),s=O(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${t[32]}deg) scale(${t[42]})`),B(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),B(i,"hidden",t[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",Y("aria_label_video_player")),u(e,"tabindex","-1")},m(_,g){P(_,e,g),p(e,i),p(i,n),t[128](n),p(e,r),h.m(e,null),p(e,s),p(e,a),t[132](a),t[133](e),c=!0,f||(m=[ve(k_,"blur",t[98]),ve(i,"click",Jt(t[99])),ve(e,"click",t[101],!0),ve(e,"focusin",t[102],!0)],f=!0)},p(_,g){(!c||g[1]&2050&&l!==(l=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",l),(!c||g[0]&2)&&B(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||g[1]&8)&&B(i,"hidden",_[34]!==De.Video),g[1]&32768&&be(o,o=_[46])?(de(),v(h,1,1,K),me(),h=m1(_),h.c(),d(h,1),h.m(e,s)):h.p(_,g)},i(_){c||(d(h),c=!0)},o(_){v(h),c=!1},d(_){_&&S(e),t[128](null),h.d(_),t[132](null),t[133](null),f=!1,nt(m)}}}function S_(t,e,i){var dn,Cn;let n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee,ye,Le,Ve,{store:_e}=e,{uiConfig:Se}=e,{thumbUrl:W}=e,{videoLogoUrl:$}=e,{videoContainer:fe}=e,{interactiveContainer:ue}=e,{live:Fe}=e,{autoplay:Oe}=e,{canRewindLive:Me}=e,{showAds:Ie}=e,{adsSlotId:ce=void 0}=e,{adsParams:he=void 0}=e,{adsPreviewParam:re=void 0}=e,{duration:Te=void 0}=e,{logoClickable:pe}=e,{logoHidden:Pe}=e,{showNextPrevButtons:Ke=!1}=e,{nextButtonActive:Re=!1}=e,{prevButtonActive:xe=!1}=e,{endScreenVideoTitle:Xe=void 0}=e,{endScreenVideoThumb:ot=void 0}=e,{isOneVideoPlaylist:at=!1}=e,{supportLink:At}=e,{outerContainerRef:pt=void 0}=e,{showMiniTimer:xt=!1}=e,{fullScreenTarget:gt=void 0}=e,{playerStarted:Mt=!1}=e,{playNextVideo:oe=ne.noop}=e,{playPrevVideo:_t=ne.noop}=e,{repeatPlaylist:rt=ne.noop}=e,{seekToInteractive:Rt}=e,{toggleGraph:ut}=e,{playPrevChapter:It}=e,{firstStart:Je}=e,{seekTime:Ue}=e;const St=_e.getLogger().createComponentLog("Root component"),Ji=_e.interfaceLanguage$;D(t,Ji,J=>i(46,te=J));const fi=_e.state.playbackState$;D(t,fi,J=>i(125,ae=J));const di=_e.ads.playbackState;D(t,di,J=>i(126,se=J));const nn=_e.state.positionWithScrubbing$;D(t,nn,J=>i(44,o=J));const $t=_e.state.duration$;D(t,$t,J=>i(43,r=J));const Kt=_e.playerPhase;D(t,Kt,J=>i(34,M=J));const ei=_e.ui.isFullscreen;D(t,ei,J=>i(139,a=J));const Ot=_e.ui.controlsVisible;D(t,Ot,J=>i(30,l=J));const ti=_e.ui.interactiveHideMobileControls;D(t,ti,J=>i(117,h=J));const Oi=_e.ui.settingsMenuVisible;D(t,Oi,J=>i(116,n=J));const ii=_e.ui.scrubbingInProgress;D(t,ii,J=>i(118,g=J));const Ti=_e.ui.debugPanelVisible;D(t,Ti,J=>i(57,Ve=J));const mi=_e.state.isLoaderVisible;D(t,mi,J=>i(127,R=J));const ni=_e.state.isEnded$;D(t,ni,J=>i(120,C=J));const Di=_e.state.chromecastConnected$;D(t,Di,J=>i(35,j=J));const Ei=_e.state.chromecastDeviceName$;D(t,Ei,J=>i(51,x=J));const zi=_e.ads.postrollPassed;D(t,zi,J=>i(121,k=J));const oi=_e.ui.mobileUnmuteButtonExpanded,Fi=_e.ui.mobileUnmuteButtonVisible,Pt=_e.state.isLive$;D(t,Pt,J=>i(55,ye=J));const Tt=_e.state.isPlaying$;D(t,Tt,J=>i(56,Le=J));const pi=_e.state.isActiveLive$;D(t,pi,J=>i(48,G=J));const Ai=_e.state.isRewindableLive$,lt=_e.state.crashed$;D(t,lt,J=>i(33,b=J));const ct=_e.webApi.pictureInPictureApi,li=_e.state.videoSize$;D(t,li,J=>i(140,f=J));const Bt=_e.state.currentSubtitle$;D(t,Bt,J=>i(52,L=J));const ri=_e.state.currentSubtitleCaptions$;D(t,ri,J=>i(53,ie=J));const hi=_e.state.duration$;D(t,hi,J=>i(54,Ee=J));const vi=_e.state.graphIsOpened$;D(t,vi,J=>i(124,z=J));const Dt=_e.ui.playerSize;D(t,Dt,J=>i(31,c=J));const Wi=_e.ui.is3DVideo;D(t,Wi,J=>i(49,A=J));const gi=_e.ui.icon3DVideoVisible;D(t,gi,J=>i(50,V=J));const Gt=_e.ui.rotateAlpha;D(t,Gt,J=>i(32,_=J));const Ii=_e.state.isInteractive,on=_e.state.isInteractiveTime$;D(t,on,J=>i(119,w=J));const bi=_e.state.isInteractiveExpectation$;D(t,bi,J=>i(123,I=J));const Hi=_e.state.hasInteractiveBranches,Nt=_e.ui.controls.disabledControls$;D(t,Nt,J=>i(47,X=J));const Ht=_e.ui.touched;D(t,Ht,J=>i(122,y=J));const _i=_e.ui.clientInfo$;D(t,_i,J=>i(138,s=J));const Li=_e.ui.overlayContainer$,Vi=_e.actions.internal.closeSettingsMenu,si=(dn=_e.callbacks)==null?void 0:dn.onDisabledPlayPrevChapterClick,Zi=(Cn=_e.callbacks)==null?void 0:Cn.onDisabledSeekToInteractiveClick;let wi,ki,Ui,yi,Ki,jt,Yt;const Mi=Ne(!1);D(t,Mi,J=>i(45,m=J));let Bi,Wt=!1,ai,ui=!1,qe,Gi=!0,ci,qi,Be=!1,ln;ct==null||ct.setContext(w1());const rn=J=>{clearTimeout(yi),J&&(Fi.set(!0),oi.set(!0),yi=window.setTimeout(()=>{oi.set(!1)},Se.controls.collapseMobileUnmute),Ii||Lt(Se.controls.hideTimeoutMobile))};_e.setUiCallbacks({onStarted:rn});const Yi=()=>{window.clearTimeout(Ui),i(111,Wt=!1),h&&ti.set(!1)},Lt=J=>{Yi(),i(111,Wt=!0),Ui=window.setTimeout(()=>i(111,Wt=!1),J);const vt=J-100;Bi=window.setTimeout(()=>{m&&Mi.set(!1)},vt>0?vt:J)},sn=Wi.subscribe(J=>{gi.set(J),J&&(window.clearTimeout(Ki),Ki=window.setTimeout(()=>gi.set(!1),Se.controls.hide360IconTimeout))}),xi=async()=>{var vt,mn,Qi,pn;const J=Lo();if(J){Lt(Se.controls.hideTimeoutFullscreen);try{await(ct==null?void 0:ct.remove())}catch(un){St({message:String(un)})}try{const un=f!=null&&f.width&&(f!=null&&f.height)?f:c;await k4(un)}catch(un){St({message:String(un)})}}ei.set(J),_e.getAdmanWrapper().setFullscreen(J),a?(mn=(vt=_e.callbacks)==null?void 0:vt.onFullscreenEnter)==null||mn.call(vt):(pn=(Qi=_e.callbacks)==null?void 0:Qi.onFullscreenExit)==null||pn.call(Qi)},ji=J=>{const vt=J;Dt.set({width:vt.target.width,height:vt.target.height})};vn(()=>{var vt;return yc(xi),fl(ct)&&(ct==null||ct.assignPlayerContainer(wi),ct==null||ct.registryExternalEventHandlers({resize:ji})),i(39,Gi=!h_(s)),ue&&((vt=fe.parentElement)==null||vt.insertBefore(ue,fe.nextSibling)),()=>{window.clearTimeout(Ui),window.clearTimeout(Bi),window.clearTimeout(yi),window.clearTimeout(Ki),sn(),ct==null||ct.dispose(),Cc(xi)}});const Ci=J=>{let vt=o+(J==="forward"?1:-1)*Se.controls.seekStepMobile/1e3;vt<0?vt=0:vt>r&&(vt=r-1),i(113,ui=!0),Ue(vt)},ee=async()=>{if(Lo())await kc(document),St({message:"exit fullscreen"});else{St({message:"request fullscreen"});const J=ne.isIOS()||!pt?wi:pt,vt=J.getRootNode(),mn=vt instanceof ShadowRoot?vt.host:vt,Qi=gt instanceof HTMLElement&&gt.contains(mn),pn=Se.allowChangingFullscreenTarget&&gt&&Qi?gt:J;await wc(pn)}},it=()=>{Vi()},Ut=()=>{if(n){it();return}if(!Mt){Je(),Lt(Se.controls.hideTimeoutCursor);return}i(113,ui=!1),l?Yi():Lt(Se.controls.hideTimeoutMobile)},Si=()=>{if(n){it();return}},ht=()=>{Ht.set(!0)},cn=()=>{Ii||(Mi.set(!0),Lt(Se.controls.hideTimeoutCursor))},bn=J=>{si&&(si(J),Lt(Se.controls.hideTimeoutMobile))},fn=J=>{Zi&&(Zi(J),Lt(Se.controls.hideTimeoutMobile))};function _n(J){Ce[J?"unshift":"push"](()=>{fe=J,i(0,fe)})}const an=()=>Ci("backward"),$i=()=>Ci("forward");function wn(J){ki=J,i(37,ki)}function kn(J){Ce[J?"unshift":"push"](()=>{Yt=J,i(29,Yt)})}function yn(J){Ce[J?"unshift":"push"](()=>{wi=J,i(36,wi)})}return t.$$set=J=>{"store"in J&&i(105,_e=J.store),"uiConfig"in J&&i(1,Se=J.uiConfig),"thumbUrl"in J&&i(2,W=J.thumbUrl),"videoLogoUrl"in J&&i(3,$=J.videoLogoUrl),"videoContainer"in J&&i(0,fe=J.videoContainer),"interactiveContainer"in J&&i(106,ue=J.interactiveContainer),"live"in J&&i(4,Fe=J.live),"autoplay"in J&&i(5,Oe=J.autoplay),"canRewindLive"in J&&i(6,Me=J.canRewindLive),"showAds"in J&&i(7,Ie=J.showAds),"adsSlotId"in J&&i(8,ce=J.adsSlotId),"adsParams"in J&&i(9,he=J.adsParams),"adsPreviewParam"in J&&i(10,re=J.adsPreviewParam),"duration"in J&&i(11,Te=J.duration),"logoClickable"in J&&i(12,pe=J.logoClickable),"logoHidden"in J&&i(13,Pe=J.logoHidden),"showNextPrevButtons"in J&&i(14,Ke=J.showNextPrevButtons),"nextButtonActive"in J&&i(15,Re=J.nextButtonActive),"prevButtonActive"in J&&i(16,xe=J.prevButtonActive),"endScreenVideoTitle"in J&&i(17,Xe=J.endScreenVideoTitle),"endScreenVideoThumb"in J&&i(18,ot=J.endScreenVideoThumb),"isOneVideoPlaylist"in J&&i(19,at=J.isOneVideoPlaylist),"supportLink"in J&&i(20,At=J.supportLink),"outerContainerRef"in J&&i(107,pt=J.outerContainerRef),"showMiniTimer"in J&&i(108,xt=J.showMiniTimer),"fullScreenTarget"in J&&i(109,gt=J.fullScreenTarget),"playerStarted"in J&&i(21,Mt=J.playerStarted),"playNextVideo"in J&&i(22,oe=J.playNextVideo),"playPrevVideo"in J&&i(23,_t=J.playPrevVideo),"repeatPlaylist"in J&&i(24,rt=J.repeatPlaylist),"seekToInteractive"in J&&i(25,Rt=J.seekToInteractive),"toggleGraph"in J&&i(26,ut=J.toggleGraph),"playPrevChapter"in J&&i(27,It=J.playPrevChapter),"firstStart"in J&&i(28,Je=J.firstStart),"seekTime"in J&&i(110,Ue=J.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,jt=(M===De.Video&&R||M===De.Ads&&se===Xt.INACTIVE)&&!b),t.$$.dirty[0]&536870912&&Li.set(Yt),t.$$.dirty[4]&2&&i(112,ai=ae!==$e.PlaybackState.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,qe=z||h||!Wt&&(C&&!!Hi||ai&&I)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&Ot.set((ai||n||g||j||Wt&&!ui)&&!qe&&M===De.Video&&!b),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(40,ci=Se.features.thumbTimer&&xt&&M===De.Video&&!l&&!b&&!Ii&&(Se.hideThumbTimerAfterTouch&&!y||!Se.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(41,qi=(Ie&&k||!Ie)&&C&&!b),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!g&&Be&&!w&&Lt(Se.controls.hideTimeoutMobile),i(115,Be=g)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,ln=fe&&_%180?c.height/c.width:1)},[fe,Se,W,$,Fe,Oe,Me,Ie,ce,he,re,Te,pe,Pe,Ke,Re,xe,Xe,ot,at,At,Mt,oe,_t,rt,Rt,ut,It,Je,Yt,l,c,_,b,M,j,wi,ki,jt,Gi,ci,qi,ln,r,o,m,te,X,G,A,V,x,L,ie,Ee,ye,Le,Ve,Ji,fi,di,nn,$t,Kt,ei,Ot,ti,Oi,ii,Ti,mi,ni,Di,Ei,zi,Pt,Tt,pi,Ai,lt,li,Bt,ri,hi,vi,Dt,Wi,gi,Gt,Ii,on,bi,Nt,Ht,_i,Mi,Ci,ee,it,Ut,Si,ht,cn,bn,fn,_e,ue,pt,xt,gt,Ue,Wt,ai,ui,qe,Be,n,h,g,w,C,k,y,I,z,ae,se,R,_n,an,$i,wn,kn,yn]}class P_ extends ke{constructor(e){super(),we(this,e,S_,C_,be,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},y_,[-1,-1,-1,-1,-1,-1])}}function T_(t){Ze(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
32
+ )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function jb(t){let e,i;return{c(){e=E("div"),i=Fe(t[0]),u(e,"class","title v-1bcvcf2"),M(e,"hidden",t[1])},m(n,l){T(n,e,l),p(e,i)},p(n,[l]){l&1&&it(i,n[0]),l&2&&M(e,"hidden",n[1])},i:K,o:K,d(n){n&&S(e)}}}function Wb(t,e,i){let{title:n=""}=e,{isHidden:l=!1}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"isHidden"in r&&i(1,l=r.isHidden)},[n,l]}class Zb extends ke{constructor(e){super(),we(this,e,Wb,jb,be,{title:0,isHidden:1},qb)}}function Kb(t){Ke(t,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Iu(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[0]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_day_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&1&&it(n,a[0])},d(a){a&&(S(e),S(o),S(s))}}}function Au(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[1]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_hour_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&2&&it(n,a[1])},d(a){a&&(S(e),S(o),S(s))}}}function Lu(t){let e,i,n,l,r,o,s;return{c(){e=E("div"),i=E("span"),n=Fe(t[2]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_minute_value")}`,o=R(),s=E("span"),s.textContent=`${G("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),p(e,i),p(i,n),p(e,l),p(e,r),T(a,o,c),T(a,s,c)},p(a,c){c&4&&it(n,a[2])},d(a){a&&(S(e),S(o),S(s))}}}function Vu(t){let e,i,n,l,r;return{c(){e=E("div"),i=E("span"),n=Fe(t[3]),l=R(),r=E("span"),r.textContent=`${G("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(o,s){T(o,e,s),p(e,i),p(i,n),p(e,l),p(e,r)},p(o,s){s&8&&it(n,o[3])},d(o){o&&S(e)}}}function Gb(t){let e,i,n,l,r=t[0]&&Iu(t),o=t[1]&&Au(t),s=t[2]&&Lu(t),a=t[3]&&Vu(t);return{c(){e=E("div"),r&&r.c(),i=R(),o&&o.c(),n=R(),s&&s.c(),l=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),r&&r.m(e,null),p(e,i),o&&o.m(e,null),p(e,n),s&&s.m(e,null),p(e,l),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Iu(c),r.c(),r.m(e,i)):r&&(r.d(1),r=null),c[1]?o?o.p(c,f):(o=Au(c),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[2]?s?s.p(c,f):(s=Lu(c),s.c(),s.m(e,l)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Vu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&S(e),r&&r.d(),o&&o.d(),s&&s.d(),a&&a.d()}}}function Yb(t,e,i){let{startTime:n}=e,{onTimerOver:l}=e,r,o,s,a,c;const f=_=>String(_).padStart(2,"0"),d=_=>{const g=Math.floor(_/86400);g&&(_-=g*86400,i(0,r=f(g)));const w=Math.floor(_/3600);i(1,o=f(w));const b=Math.floor(_/60)%60;i(2,s=f(b));const C=_%60;i(3,a=f(C))},h=()=>{const _=Math.floor(Date.now()/1e3),g=n-_;d(g),g>=1?c=requestAnimationFrame(h):l()};return dn(()=>{c=requestAnimationFrame(h)}),Ro(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,l=_.onTimerOver)},[r,o,s,a,n,l]}class Qb extends ke{constructor(e){super(),we(this,e,Yb,Gb,be,{startTime:4,onTimerOver:5},Kb)}}function Xb(t){let e,i,n,l,r;return{c(){e=N("svg"),i=N("path"),n=N("path"),l=N("path"),r=N("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),zt(i,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),zt(n,"opacity",".965"),u(l,"fill","#fefffe"),u(l,"d","M187.5 127.5c44.524-2.948 72.357 17.052 83.5 60 3.431 44.55-16.403 72.383-59.5 83.5-44.55 3.431-72.383-16.403-83.5-59.5-3.229-44.571 16.604-72.571 59.5-84Z"),zt(l,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),zt(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),zt(e,"shape-rendering","geometricPrecision"),zt(e,"text-rendering","geometricPrecision"),zt(e,"image-rendering","optimizeQuality"),zt(e,"fill-rule","evenodd"),zt(e,"clip-rule","evenodd"),zt(e,"width","100%"),zt(e,"height","100%")},m(o,s){T(o,e,s),p(e,i),p(e,n),p(e,l),p(e,r)},p:K,i:K,o:K,d(o){o&&S(e)}}}class Jb extends ke{constructor(e){super(),we(this,e,null,Xb,be,{})}}function xb(t){Ke(t,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function $b(t){let e,i,n,l,r;return l=new Qb({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=E("div"),i=E("span"),i.textContent=`${G("waiting_live_timer_title")}`,n=R(),U(l.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(o,s){T(o,e,s),p(e,i),p(e,n),F(l,e,null),r=!0},p(o,s){const a={};s&2&&(a.startTime=o[1]||0),s&4&&(a.onTimerOver=o[3]),l.$set(a)},i(o){r||(m(l.$$.fragment,o),r=!0)},o(o){v(l.$$.fragment,o),r=!1},d(o){o&&S(e),H(l)}}}function e_(t){let e,i,n,l,r,o;return n=new Jb({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("span"),r.textContent=`${G("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){T(s,e,a),p(e,i),F(n,i,null),p(e,l),p(e,r),o=!0},p:K,i(s){o||(m(n.$$.fragment,s),o=!0)},o(s){v(n.$$.fragment,s),o=!1},d(s){s&&S(e),H(n)}}}function t_(t){let e,i,n,l,r;const o=[e_,$b],s=[];function a(c,f){return c[2]?0:1}return i=a(t),n=s[i]=o[i](t),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",l=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){T(c,e,f),s[i].m(e,null),r=!0},p(c,[f]){let d=i;i=a(c),i===d?s[i].p(c,f):(de(),v(s[d],1,1,()=>{s[d]=null}),me(),n=s[i],n?n.p(c,f):(n=s[i]=o[i](c),n.c()),m(n,1),n.m(e,null)),(!r||f&5&&l!==(l=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",l)},i(c){r||(m(n),r=!0)},o(c){v(n),r=!1},d(c){c&&S(e),s[i].d()}}}function i_(t,e,i){let n,{thumbUrl:l}=e,{startTime:r}=e;const o=()=>i(2,n=!0);return t.$$set=s=>{"thumbUrl"in s&&i(0,l=s.thumbUrl),"startTime"in s&&i(1,r=s.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[l,r,n,o]}class bf extends ke{constructor(e){super(),we(this,e,i_,t_,be,{thumbUrl:0,startTime:1},xb)}}function n_(t){Ke(t,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function o_(t){let e,i;return{c(){e=E("div"),i=E("p"),i.textContent=`${G("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,l){T(n,e,l),p(e,i)},p:K,i:K,o:K,d(n){n&&S(e)}}}class _f extends ke{constructor(e){super(),we(this,e,null,o_,be,{},n_)}}const{window:l_}=h1;function r_(t){Ke(t,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Mu(t){var n;let e,i;return e=new bf({props:{thumbUrl:t[3],startTime:(n=t[5])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&8&&(o.thumbUrl=l[3]),r[0]&32&&(o.startTime=(s=l[5])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Bu(t){let e,i;return e=new _f({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Nu(t){let e,i,n;return i=new wc({props:{adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),M(e,"hidden",t[38]!==De.Ads)},m(l,r){T(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&512&&(o.adsSlotId=l[9]),r[0]&1024&&(o.adsParams=l[10]),r[0]&2048&&(o.adsPreviewParam=l[11]),r[0]&4096&&(o.duration=l[12]),i.$set(o),(!n||r[1]&128)&&M(e,"hidden",l[38]!==De.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Ru(t){let e,i;return e=new _p({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&262144&&(r.title=n[18]),l[0]&524288&&(r.thumb=n[19]),l[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ou(t){let e,i;return e=new Zb({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.title=n[2]),l[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Du(t){let e,i;return e=new mf({props:{isShifted:t[38]===De.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&160&&(r.isShifted=n[38]===De.Video&&n[36]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zu(t){let e,i,n;return i=new O1({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(l,r){T(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function Fu(t){let e,i;return e=new hf({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&8&&(r.thumbUrl=n[3]),l[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Hu(t){let e,i;return e=new pf({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[1]&32&&(r.shifted=n[36]),l[1]&67108864&&(r.captions=n[57]),l[1]&134217728&&(r.position=n[58]),l[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Uu(t){let e,i,n,l,r;return i=new vf({}),{c(){e=E("div"),U(i.$$.fragment)},m(o,s){T(o,e,s),F(i,e,null),n=!0,l||(r=[ve(e,"contextmenu",$t(t[107])),ve(e,"click",st(t[118]))],l=!0)},p:K,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i),l=!1,lt(r)}}}function qu(t){let e,i,n;function l(o){t[151](o)}let r={bottomHidden:t[38]===De.Thumb||t[38]===De.WaitingLive||t[38]===De.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===De.Ads,canRewindLive:t[7]&&t[59]!==0,logoClickable:t[13],logoHidden:t[14],videoLogoUrl:t[4],showNextPrevButtons:t[15],nextButtonActive:t[16],prevButtonActive:t[17],isOneVideoPlaylist:t[20],supportLink:t[21],customFullscreenSupported:u_,playNextVideo:t[23],playPrevVideo:t[24],repeatPlaylist:t[25],toggleFullscreen:t[105],returnFocus:t[150],seekToInteractive:t[26],toggleGraph:t[27],playPrevChapter:t[28]};return t[41]!==void 0&&(r.controlsElementRef=t[41]),e=new ff({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&128&&(a.bottomHidden=o[38]===De.Thumb||o[38]===De.WaitingLive||o[38]===De.WaitingRecord),s[1]&2097152&&(a.bottomNoSmooth=o[52]),s[1]&32&&(a.showControls=o[36]),s[1]&128&&(a.isAds=o[38]===De.Ads),s[0]&128|s[1]&268435456&&(a.canRewindLive=o[7]&&o[59]!==0),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&16&&(a.videoLogoUrl=o[4]),s[0]&32768&&(a.showNextPrevButtons=o[15]),s[0]&65536&&(a.nextButtonActive=o[16]),s[0]&131072&&(a.prevButtonActive=o[17]),s[0]&1048576&&(a.isOneVideoPlaylist=o[20]),s[0]&2097152&&(a.supportLink=o[21]),s[0]&8388608&&(a.playNextVideo=o[23]),s[0]&16777216&&(a.playPrevVideo=o[24]),s[0]&33554432&&(a.repeatPlaylist=o[25]),s[1]&524288&&(a.returnFocus=o[150]),s[0]&67108864&&(a.seekToInteractive=o[26]),s[0]&134217728&&(a.toggleGraph=o[27]),s[0]&268435456&&(a.playPrevChapter=o[28]),!i&&s[1]&1024&&(i=!0,a.controlsElementRef=o[41],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function ju(t){let e,i;return e=new Mc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wu(t){let e,i;return e=new Up({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zu(t){let e,i;return e=new Ec({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ku(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se;e=new gf({props:{hidden:t[38]!==De.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let re=t[38]===De.WaitingLive&&Mu(t),Z=t[38]===De.WaitingRecord&&Bu(),Y=t[8]&&t[22]&&Nu(t),O=t[31]&&t[18]&&t[19]&&Ru(t),J=t[46]&&Ou(t),L=t[51]&&Du(t),B=t[54]&&zu(),te=t[39]&&Fu(t),P=t[56].value!=="off"&&Hu(t),ee=t[37]&&Uu(t),Pe=t[22]&&qu(t);g=new yc({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),b=new yb({props:{data:t[102]}});function ye(q){t[153](q)}let Ie={supportLink:t[21],returnFocus:t[152],visible:t[33],playerContainerRef:t[40],controlsContainerRef:t[41],x:t[42],y:t[43]};t[32]!==void 0&&(Ie.menuElementRef=t[32]),k=new x4({props:Ie}),Se.push(()=>je(k,"menuElementRef",ye));let Re=t[44]&&ju(),_e=t[63]&&Wu(),Ce=t[64]&&Zu();return{c(){U(e.$$.fragment),i=R(),re&&re.c(),n=R(),Z&&Z.c(),l=R(),Y&&Y.c(),r=R(),O&&O.c(),o=R(),J&&J.c(),s=R(),L&&L.c(),a=R(),B&&B.c(),c=R(),te&&te.c(),f=R(),P&&P.c(),d=R(),ee&&ee.c(),h=R(),Pe&&Pe.c(),_=R(),U(g.$$.fragment),w=R(),U(b.$$.fragment),C=R(),U(k.$$.fragment),V=R(),Re&&Re.c(),Q=R(),_e&&_e.c(),A=R(),Ce&&Ce.c(),z=ht()},m(q,x){F(e,q,x),T(q,i,x),re&&re.m(q,x),T(q,n,x),Z&&Z.m(q,x),T(q,l,x),Y&&Y.m(q,x),T(q,r,x),O&&O.m(q,x),T(q,o,x),J&&J.m(q,x),T(q,s,x),L&&L.m(q,x),T(q,a,x),B&&B.m(q,x),T(q,c,x),te&&te.m(q,x),T(q,f,x),P&&P.m(q,x),T(q,d,x),ee&&ee.m(q,x),T(q,h,x),Pe&&Pe.m(q,x),T(q,_,x),F(g,q,x),T(q,w,x),F(b,q,x),T(q,C,x),F(k,q,x),T(q,V,x),Re&&Re.m(q,x),T(q,Q,x),_e&&_e.m(q,x),T(q,A,x),Ce&&Ce.m(q,x),T(q,z,x),se=!0},p(q,x){const ce={};x[0]&64|x[1]&192&&(ce.hidden=q[38]!==De.Thumb||q[37]||q[93]&&q[6]),x[0]&8&&(ce.thumbUrl=q[3]),x[0]&536870912&&(ce.startVideo=q[29]),e.$set(ce),q[38]===De.WaitingLive?re?(re.p(q,x),x[1]&128&&m(re,1)):(re=Mu(q),re.c(),m(re,1),re.m(n.parentNode,n)):re&&(de(),v(re,1,1,()=>{re=null}),me()),q[38]===De.WaitingRecord?Z?x[1]&128&&m(Z,1):(Z=Bu(),Z.c(),m(Z,1),Z.m(l.parentNode,l)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),q[8]&&q[22]?Y?(Y.p(q,x),x[0]&4194560&&m(Y,1)):(Y=Nu(q),Y.c(),m(Y,1),Y.m(r.parentNode,r)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),q[31]&&q[18]&&q[19]?O?(O.p(q,x),x[0]&786432|x[1]&1&&m(O,1)):(O=Ru(q),O.c(),m(O,1),O.m(o.parentNode,o)):O&&(de(),v(O,1,1,()=>{O=null}),me()),q[46]?J?(J.p(q,x),x[1]&32768&&m(J,1)):(J=Ou(q),J.c(),m(J,1),J.m(s.parentNode,s)):J&&(de(),v(J,1,1,()=>{J=null}),me()),q[51]?L?(L.p(q,x),x[1]&1048576&&m(L,1)):(L=Du(q),L.c(),m(L,1),L.m(a.parentNode,a)):L&&(de(),v(L,1,1,()=>{L=null}),me()),q[54]?B?(B.p(q,x),x[1]&8388608&&m(B,1)):(B=zu(),B.c(),m(B,1),B.m(c.parentNode,c)):B&&(de(),v(B,1,1,()=>{B=null}),me()),q[39]?te?(te.p(q,x),x[1]&256&&m(te,1)):(te=Fu(q),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(de(),v(te,1,1,()=>{te=null}),me()),q[56].value!=="off"?P?(P.p(q,x),x[1]&33554432&&m(P,1)):(P=Hu(q),P.c(),m(P,1),P.m(d.parentNode,d)):P&&(de(),v(P,1,1,()=>{P=null}),me()),q[37]?ee?(ee.p(q,x),x[1]&64&&m(ee,1)):(ee=Uu(q),ee.c(),m(ee,1),ee.m(h.parentNode,h)):ee&&(de(),v(ee,1,1,()=>{ee=null}),me()),q[22]?Pe?(Pe.p(q,x),x[0]&4194304&&m(Pe,1)):(Pe=qu(q),Pe.c(),m(Pe,1),Pe.m(_.parentNode,_)):Pe&&(de(),v(Pe,1,1,()=>{Pe=null}),me());const ae={};x[1]&536870912&&(ae.isLive=q[60]),x[1]&16384&&(ae.isHidden=!q[45]),x[1]&1073741824&&(ae.isPlaying=q[61]),x[1]&134217728&&(ae.position=q[58]),x[2]&1&&(ae.duration=q[62]),g.$set(ae);const We={};x[0]&2097152&&(We.supportLink=q[21]),x[1]&524288&&(We.returnFocus=q[152]),x[1]&4&&(We.visible=q[33]),x[1]&512&&(We.playerContainerRef=q[40]),x[1]&1024&&(We.controlsContainerRef=q[41]),x[1]&2048&&(We.x=q[42]),x[1]&4096&&(We.y=q[43]),!y&&x[1]&2&&(y=!0,We.menuElementRef=q[32],qe(()=>y=!1)),k.$set(We),q[44]?Re?x[1]&8192&&m(Re,1):(Re=ju(),Re.c(),m(Re,1),Re.m(Q.parentNode,Q)):Re&&(de(),v(Re,1,1,()=>{Re=null}),me()),q[63]?_e?x[2]&2&&m(_e,1):(_e=Wu(),_e.c(),m(_e,1),_e.m(A.parentNode,A)):_e&&(de(),v(_e,1,1,()=>{_e=null}),me()),q[64]?Ce?x[2]&4&&m(Ce,1):(Ce=Zu(),Ce.c(),m(Ce,1),Ce.m(z.parentNode,z)):Ce&&(de(),v(Ce,1,1,()=>{Ce=null}),me())},i(q){se||(m(e.$$.fragment,q),m(re),m(Z),m(Y),m(O),m(J),m(L),m(B),m(te),m(P),m(ee),m(Pe),m(g.$$.fragment,q),m(b.$$.fragment,q),m(k.$$.fragment,q),m(Re),m(_e),m(Ce),se=!0)},o(q){v(e.$$.fragment,q),v(re),v(Z),v(Y),v(O),v(J),v(L),v(B),v(te),v(P),v(ee),v(Pe),v(g.$$.fragment,q),v(b.$$.fragment,q),v(k.$$.fragment,q),v(Re),v(_e),v(Ce),se=!1},d(q){q&&(S(i),S(n),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(_),S(w),S(C),S(V),S(Q),S(A),S(z)),H(e,q),re&&re.d(q),Z&&Z.d(q),Y&&Y.d(q),O&&O.d(q),J&&J.d(q),L&&L.d(q),B&&B.d(q),te&&te.d(q),P&&P.d(q),ee&&ee.d(q),Pe&&Pe.d(q),H(g,q),H(b,q),H(k,q),Re&&Re.d(q),_e&&_e.d(q),Ce&&Ce.d(q)}}}function s_(t){let e,i,n,l,r=t[53],o,s,a,c,f=Ku(t);return{c(){e=E("div"),i=E("div"),l=R(),f.c(),o=ht(),u(i,"class","video-container v-1o4wf3x"),u(i,"style",n=`transform: rotate(${t[35]}deg) scale(${t[48]})`),M(i,"fast-rotate",!t[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),M(e,"hidden",t[38]!==De.Video),M(e,"nocursor",t[47])},m(d,h){T(d,e,h),p(e,i),t[149](i),T(d,l,h),f.m(d,h),T(d,o,h),s=!0,a||(c=[ve(e,"contextmenu",$t(t[107])),ve(e,"mousedown",$t(t[112])),ve(e,"mouseup",$t(t[113])),ve(e,"click",$t(t[115])),ve(e,"dblclick",$t(t[114]))],a=!0)},p(d,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${d[35]}deg) scale(${d[48]})`))&&u(i,"style",n),(!s||h[0]&2)&&M(i,"fast-rotate",!d[1].isSmoothVideoRotate),(!s||h[1]&128)&&M(e,"hidden",d[38]!==De.Video),(!s||h[1]&65536)&&M(e,"nocursor",d[47]),h[1]&4194304&&be(r,r=d[53])?(de(),v(f,1,1,K),me(),f=Ku(d),f.c(),m(f,1),f.m(o.parentNode,o)):f.p(d,h)},i(d){s||(m(f),s=!0)},o(d){v(f),s=!1},d(d){d&&(S(e),S(l),S(o)),t[149](null),f.d(d),a=!1,lt(c)}}}function a_(t){let e,i,n,l,r,o,s,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===De.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[s_]},$$scope:{ctx:t}};return i=new Cp({props:a}),t[154](i),{c(){e=E("div"),U(i.$$.fragment),n=R(),l=E("div"),u(l,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),F(i,e,null),p(e,n),p(e,l),t[155](l),t[156](e),r=!0,o||(s=[ve(l_,"blur",t[106]),ve(e,"mouseenter",t[108]),ve(e,"mouseleave",t[110]),ve(e,"mousemove",t[111]),ve(e,"click",t[119],!0),ve(e,"focusin",t[109],!0)],o=!0)},p(c,f){const d={};f[1]&128&&(d.isAds=c[38]===De.Ads),f[1]&262144&&(d.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(d.$$scope={dirty:f,ctx:c}),i.$set(d)},i(c){r||(m(i.$$.fragment,c),r=!0)},o(c){v(i.$$.fragment,c),r=!1},d(c){c&&S(e),t[154](null),H(i),t[155](null),t[156](null),o=!1,lt(s)}}}let u_=!0;function wf(t){return t?t.offsetTop+wf(t.offsetParent):0}function c_(t,e,i){let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe,ye,Ie,Re,_e,Ce,q,{store:x}=e,{uiConfig:ce}=e,{title:ae}=e,{thumbUrl:We}=e,{videoLogoUrl:Oe}=e,{videoContainer:Ve}=e,{interactiveContainer:Ae}=e,{live:ue}=e,{autoplay:he}=e,{canRewindLive:le}=e,{showAds:Le}=e,{adsSlotId:pe=void 0}=e,{adsParams:Te=void 0}=e,{adsPreviewParam:Ge=void 0}=e,{duration:Ne=void 0}=e,{logoClickable:Je}=e,{logoHidden:xe}=e,{showNextPrevButtons:rt=!1}=e,{nextButtonActive:ct=!1}=e,{prevButtonActive:It=!1}=e,{endScreenVideoTitle:vt=void 0}=e,{endScreenVideoThumb:Gt=void 0}=e,{isOneVideoPlaylist:_t=!1}=e,{supportLink:ze}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:wt=!1}=e,{fullScreenTarget:at=void 0}=e,{showMiniTimer:Vt=!1}=e,{playNextVideo:mt=ie.noop}=e,{playPrevVideo:Pt=ie.noop}=e,{repeatPlaylist:$e=ie.noop}=e,{seekToInteractive:Ze}=e,{toggleGraph:Et}=e,{playPrevChapter:xi}=e,{firstStart:fi}=e;const di=x.getLogger().createComponentLog("Root component"),$i=x.interfaceLanguage$;D(t,$i,W=>i(53,L=W));const mi=x.state.playbackState$;D(t,mi,W=>i(146,Y=W));const Yt=x.ads.playbackState;D(t,Yt,W=>i(147,O=W));const ei=x.state.positionWithScrubbing$;D(t,ei,W=>i(58,Pe=W));const Nt=x.state.duration$;D(t,Nt,W=>i(62,_e=W));const ti=x.playerPhase;D(t,ti,W=>i(38,A=W));const zi=x.ui.isFullscreen;D(t,zi,W=>i(136,d=W));const ii=x.ui.controlsVisible;D(t,ii,W=>i(36,C=W));const Pi=x.ui.settingsMenuVisible;D(t,Pi,W=>i(134,o=W));const pi=x.ui.scrubbingInProgress;D(t,pi,W=>i(138,w=W));const ni=x.ui.contextMenuVisible;D(t,ni,W=>i(33,n=W));const Ei=x.ui.debugPanelVisible;D(t,Ei,W=>i(64,q=W));const Fi=x.state.isLoaderVisible;D(t,Fi,W=>i(148,J=W));const Ii=x.state.isEnded$;D(t,Ii,W=>i(135,a=W));const hi=x.state.chromecastConnected$;D(t,hi,W=>i(39,re=W));const vi=x.state.chromecastDeviceName$;D(t,vi,W=>i(55,te=W));const ut=x.ads.postrollPassed;D(t,ut,W=>i(141,V=W));const Qt=x.state.isLive$;D(t,Qt,W=>i(60,Ie=W));const gi=x.state.isPlaying$;D(t,gi,W=>i(61,Re=W));const Ai=x.state.crashed$;D(t,Ai,W=>i(37,y=W));const ot=x.webApi.pictureInPictureApi,pt=x.state.currentSubtitle$;D(t,pt,W=>i(56,P=W));const oi=x.state.currentSubtitleCaptions$;D(t,oi,W=>i(57,ee=W));const Mt=x.state.duration$;D(t,Mt,W=>i(59,ye=W));const li=x.state.graphIsOpened$;D(t,li,W=>i(142,Q=W));const bi=x.ui.playerSize;D(t,bi,W=>i(34,f=W));const _i=x.ui.is3DVideo;D(t,_i,W=>i(51,c=W));const Ht=x.ui.icon3DVideoVisible;D(t,Ht,W=>i(54,B=W));const Ui=x.ui.rotateAlpha;D(t,Ui,W=>i(35,g=W));const Rt=x.state.isInteractive,qi=x.state.isInteractiveTime$;D(t,qi,W=>i(139,b=W));const Hi=x.state.isInteractiveExpectation$;D(t,Hi,W=>i(145,Z=W));const en=x.state.hasInteractiveBranches,ri=x.ui.touched;D(t,ri,W=>i(143,z=W));const jt=x.ui.modals.hotKeyMap.data;D(t,jt,W=>i(163,s=W));const Li=x.ui.modals.hotKeyMap.show;D(t,Li,W=>i(63,Ce=W));const Ut=x.ui.overlayContainer$,Xt=x.actions.internal.closeSettingsMenu,{fakeIsPlaying$:ji}=zo();D(t,ji,W=>i(137,_=W));let si,wi,Wi=0,ki=0,yi,Vi,Wt;jt.set(b4());let Zi,Mi;const ai=Me(!1);D(t,ai,W=>i(52,h=W));let Bi;const Ni=Me(!1);D(t,Ni,W=>i(144,se=W));const Zt=Me(),ui=Me(!1);D(t,ui,W=>i(140,k=W));let Ue=!1,Ci=!1,ci,Be,Ki,rn,sn,Gi,Yi=!1,Bt,Qi=!1;const{toggle:tn}=ji;let Ri=!1,Ot=null,ne;ot==null||ot.setContext(v1());const nt=()=>{he&&!Rt&&gt(ce.controls.hideTimeout)};x.setUiCallbacks({onStarted:nt});const qt=()=>{window.clearTimeout(yi),Ni.set(!1)},Si=()=>{window.clearTimeout(Vi),Zt.set(null)},gt=W=>{qt(),Ni.set(!0),yi=window.setTimeout(()=>Ni.set(!1),W);const At=W-100;Bi=window.setTimeout(()=>{h&&ai.set(!1)},At>0?At:W)},mn=(W,At)=>{Si(),Zt.set(At),Vi=window.setTimeout(()=>Zt.set(null),W)},_n=_i.subscribe(W=>{Ht.set(W),W&&(window.clearTimeout(Wt),Wt=window.setTimeout(()=>Ht.set(!1),ce.controls.hide360IconTimeout))}),pn=async()=>{var At,Ji,on,Vn;const W=Bo();if(W){gt(ce.controls.hideTimeoutFullscreen);try{await(ot==null?void 0:ot.remove())}catch(so){di({message:String(so)})}}zi.set(W),x.getAdmanWrapper().setFullscreen(W),d?(Ji=(At=x.callbacks)==null?void 0:At.onFullscreenEnter)==null||Ji.call(At):(Vn=(on=x.callbacks)==null?void 0:on.onFullscreenExit)==null||Vn.call(on)},hn=W=>{const At=W;bi.set({width:At.target.width,height:At.target.height})};dn(()=>{var At;return bc(pn),dl(ot)&&(ot==null||ot.assignPlayerContainer(si),ot==null||ot.registryExternalEventHandlers({resize:hn})),Ae&&((At=Ve.parentElement)==null||At.insertBefore(Ae,Ve.nextSibling)),()=>{window.clearTimeout(yi),window.clearTimeout(Bi),window.clearTimeout(Vi),window.clearTimeout(Wt),_n(),ot==null||ot.dispose(),_c(pn)}});const an=async()=>{if(Bo())await gc(document),di({message:"exit fullscreen"});else{di({message:"request fullscreen"});const W=fe!=null?fe:si,At=W.getRootNode(),Ji=At instanceof ShadowRoot?At.host:At,on=at instanceof HTMLElement&&at.contains(Ji),Vn=ce.allowChangingFullscreenTarget&&at&&on?at:W;await vc(Vn)}},Xi=()=>{Xt(),ni.set(!1)},An=W=>{ni.set(!0),i(42,Wi=W.clientX),i(43,ki=W.clientY)};function kn(){ui.set(!0),Rt||gt(ce.controls.hideTimeoutCursor)}function yn(){Rt||(ai.set(!0),gt(ce.controls.hideTimeoutCursor))}function vn(){ui.set(!1),i(128,Ci=!1),i(127,Ue=!1),Ri=!1,x.actions.internal.releaseCamera()}function Cn(W){if(si){const At=wf(W.currentTarget),Ji=f.height,on=W.pageY-At;on<Dr?i(128,Ci=!0):on>Ji-Dr?i(127,Ue=!0):(i(128,Ci=!1),o||i(127,Ue=!1))}}function $(W){Cn(W),Be||gt(ce.controls.hideTimeoutCursor),c&&Ri&&Ot&&x.actions.internal.moveCameraFocusPX(Ot.clientX-W.clientX,Ot.clientY-W.clientY,W.timeStamp-Ot.timeStamp),Ot=W}const bt=W=>{W.button===0&&(Ri=!0,x.actions.internal.holdCamera()),gt(ce.controls.hideTimeoutCursor)},un=W=>{W.button===0&&(Ot=W,Ri=!1,x.actions.internal.releaseCamera()),gt(ce.controls.hideTimeoutCursor)},nn=()=>{di({message:"double click on video"}),an(),gt(ce.controls.hideTimeoutCursor)},gn=()=>{if(n||o){Xi();return}if(!(a&&!en)){if(Qi)return tn();if(ne==null||ne.focus(),!wt){fi(),gt(ce.controls.hideTimeoutCursor);return}x.actions.internal.togglePlay(),gt(ce.controls.hideTimeoutCursor)}},cn=W=>{Xi(),ri.set(!0),gt(ce.controls.hideTimeout),W&&mn(ce.controls.hideHotKeyHelpers,W)},Wn=()=>{var W,At;Xi(),(W=x.callbacks)!=null&&W.onOpenHotKeyMap?(At=x.callbacks)==null||At.onOpenHotKeyMap(s):Li.update(Ji=>!Ji)},Zn=()=>{if(n||o){Xi();return}},Kn=()=>{ri.set(!0)},Ln=x.ui.contextMenu.openedByKeyboard$;D(t,Ln,W=>i(133,r=W));let Gn=x.ui.contextMenu.btnRef$;D(t,Gn,W=>i(132,l=W));let wn;function fn(W){Se[W?"unshift":"push"](()=>{Ve=W,i(0,Ve)})}const X=()=>ne==null?void 0:ne.focus();function Nn(W){wi=W,i(41,wi)}const oo=()=>ne==null?void 0:ne.focus();function To(W){wn=W,i(32,wn)}function lo(W){Se[W?"unshift":"push"](()=>{ne=W,i(50,ne)})}function ro(W){Se[W?"unshift":"push"](()=>{Mi=W,i(30,Mi)})}function Po(W){Se[W?"unshift":"push"](()=>{si=W,i(40,si)})}return t.$$set=W=>{"store"in W&&i(122,x=W.store),"uiConfig"in W&&i(1,ce=W.uiConfig),"title"in W&&i(2,ae=W.title),"thumbUrl"in W&&i(3,We=W.thumbUrl),"videoLogoUrl"in W&&i(4,Oe=W.videoLogoUrl),"videoContainer"in W&&i(0,Ve=W.videoContainer),"interactiveContainer"in W&&i(123,Ae=W.interactiveContainer),"live"in W&&i(5,ue=W.live),"autoplay"in W&&i(6,he=W.autoplay),"canRewindLive"in W&&i(7,le=W.canRewindLive),"showAds"in W&&i(8,Le=W.showAds),"adsSlotId"in W&&i(9,pe=W.adsSlotId),"adsParams"in W&&i(10,Te=W.adsParams),"adsPreviewParam"in W&&i(11,Ge=W.adsPreviewParam),"duration"in W&&i(12,Ne=W.duration),"logoClickable"in W&&i(13,Je=W.logoClickable),"logoHidden"in W&&i(14,xe=W.logoHidden),"showNextPrevButtons"in W&&i(15,rt=W.showNextPrevButtons),"nextButtonActive"in W&&i(16,ct=W.nextButtonActive),"prevButtonActive"in W&&i(17,It=W.prevButtonActive),"endScreenVideoTitle"in W&&i(18,vt=W.endScreenVideoTitle),"endScreenVideoThumb"in W&&i(19,Gt=W.endScreenVideoThumb),"isOneVideoPlaylist"in W&&i(20,_t=W.isOneVideoPlaylist),"supportLink"in W&&i(21,ze=W.supportLink),"outerContainerRef"in W&&i(124,fe=W.outerContainerRef),"playerStarted"in W&&i(22,wt=W.playerStarted),"fullScreenTarget"in W&&i(125,at=W.fullScreenTarget),"showMiniTimer"in W&&i(126,Vt=W.showMiniTimer),"playNextVideo"in W&&i(23,mt=W.playNextVideo),"playPrevVideo"in W&&i(24,Pt=W.playPrevVideo),"repeatPlaylist"in W&&i(25,$e=W.repeatPlaylist),"seekToInteractive"in W&&i(26,Ze=W.seekToInteractive),"toggleGraph"in W&&i(27,Et=W.toggleGraph),"playPrevChapter"in W&&i(28,xi=W.playPrevChapter),"firstStart"in W&&i(29,fi=W.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Zi=(A===De.Video&&J||A===De.Ads&&O===xt.INACTIVE)&&!y),t.$$.dirty[0]&1073741824&&Ut.set(Mi),t.$$.dirty[4]&4194304&&i(129,ci=Y!==tt.PlaybackState.PLAYING),t.$$.dirty[4]&2131e3&&i(130,Be=b&&!o&&!(Ue||Ci)&&!(ci&&!Z)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&ii.set((ci||o||w||re||se)&&!Be&&A===De.Video&&!y),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,Ki=ce.features.thumbTimer&&Vt&&A===De.Video&&!C&&!y&&!Rt&&(ce.hideThumbTimerAfterTouch&&!z||!ce.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,rn=A===De.Video&&!Q&&d),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,sn=(Le&&V||!Le)&&a&&!y),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,Gi=k&&!(C||sn)&&!b),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!w&&Yi&&!b&&gt(ce.controls.hideTimeoutCursor),i(131,Yi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,Bt=Ve&&g%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,Qi=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&hr(wn,n,r),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const W=l;W&&pr(W,n,Ln)}},[Ve,ce,ae,We,Oe,ue,he,le,Le,pe,Te,Ge,Ne,Je,xe,rt,ct,It,vt,Gt,_t,ze,wt,mt,Pt,$e,Ze,Et,xi,fi,Mi,sn,wn,n,f,g,C,y,A,re,si,wi,Wi,ki,Zi,Ki,rn,Gi,Bt,Qi,ne,c,h,L,B,te,P,ee,Pe,ye,Ie,Re,_e,Ce,q,$i,mi,Yt,ei,Nt,ti,zi,ii,Pi,pi,ni,Ei,Fi,Ii,hi,vi,ut,Qt,gi,Ai,pt,oi,Mt,li,bi,_i,Ht,Ui,Rt,qi,Hi,ri,jt,Li,ji,ai,Ni,Zt,ui,tn,an,Xi,An,kn,yn,vn,$,bt,un,nn,gn,cn,Wn,Zn,Kn,Ln,Gn,x,Ae,fe,at,Vt,Ue,Ci,ci,Be,Yi,l,r,o,a,d,_,w,b,k,V,Q,z,se,Z,Y,O,J,fn,X,Nn,oo,To,lo,ro,Po]}class f_ extends ke{constructor(e){super(),we(this,e,c_,a_,be,{store:122,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:123,live:5,autoplay:6,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,showNextPrevButtons:15,nextButtonActive:16,prevButtonActive:17,endScreenVideoTitle:18,endScreenVideoThumb:19,isOneVideoPlaylist:20,supportLink:21,outerContainerRef:124,playerStarted:22,fullScreenTarget:125,showMiniTimer:126,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},r_,[-1,-1,-1,-1,-1,-1])}}const d_=t=>{if(!ie.isIOS(!0))return!1;const e=t.device===ie.CurrentClientDevice.iPad||(window==null?void 0:window.screen.width)>700,i=ie.getIOSVersion();return!e||e&&!!i&&i<16};function m_(t){Ke(t,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function Gu(t){let e,i,n,l,r,o,s,a,c,f,d,h,_,g,w,b=G("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",C;return{c(){e=E("div"),n=R(),l=E("div"),r=E("div"),o=E("div"),a=R(),c=E("div"),d=R(),h=E("div"),g=R(),w=E("p"),C=Fe(b),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(o,"class",s="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(l,"class","info v-nhq2ld")},m(k,y){T(k,e,y),T(k,n,y),T(k,l,y),p(l,r),p(r,o),p(r,a),p(r,c),p(r,d),p(r,h),p(l,g),p(l,w),p(w,C)},p(k,y){y&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(o,"class",s),y&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),y&1&&_!==(_="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",_),y&2&&b!==(b=G("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&it(C,b)},d(k){k&&(S(e),S(n),S(l))}}}function p_(t){let e,i,n,l,r=t[2]&&Gu(t);return{c(){e=E("div"),r&&r.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(o,s){T(o,e,s),r&&r.m(e,null),n||(l=ve(e,"click",st(t[3]())),n=!0)},p(o,[s]){o[2]?r?r.p(o,s):(r=Gu(o),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&i!==(i="double-click-area "+o[0]+" v-nhq2ld")&&u(e,"class",i)},i:K,o:K,d(o){o&&S(e),r&&r.d(),n=!1,l()}}}function h_(t,e,i){let{side:n}=e,{seekStep:l}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:o}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,o(),i(2,s=!0),c=window.setTimeout(()=>{i(2,s=!1)},500))}};return Ro(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=d=>{"side"in d&&i(0,n=d.side),"seekStep"in d&&i(1,l=d.seekStep),"handleSingleFirstClick"in d&&i(4,r=d.handleSingleFirstClick),"handleSecondClick"in d&&i(5,o=d.handleSecondClick)},[n,l,s,f,r,o]}class kf extends ke{constructor(e){super(),we(this,e,h_,p_,be,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},m_)}}function v_(t,e,i){let{playNextVideo:n}=e;return dn(()=>{n()}),t.$$set=l=>{"playNextVideo"in l&&i(0,n=l.playNextVideo)},[n]}class g_ extends ke{constructor(e){super(),we(this,e,v_,null,be,{playNextVideo:0})}}const{window:b_}=h1;function __(t){Ke(t,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function Yu(t){let e,i,n,l;e=new kf({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[129]}});let r=!t[48]&&Qu(t);return{c(){U(e.$$.fragment),i=R(),r&&r.c(),n=ht()},m(o,s){F(e,o,s),T(o,i,s),r&&r.m(o,s),T(o,n,s),l=!0},p(o,s){const a={};s[0]&2&&(a.seekStep=o[1].controls.seekStepMobile/1e3),e.$set(a),o[48]?r&&(de(),v(r,1,1,()=>{r=null}),me()):r?(r.p(o,s),s[1]&131072&&m(r,1)):(r=Qu(o),r.c(),m(r,1),r.m(n.parentNode,n))},i(o){l||(m(e.$$.fragment,o),m(r),l=!0)},o(o){v(e.$$.fragment,o),v(r),l=!1},d(o){o&&(S(i),S(n)),H(e,o),r&&r.d(o)}}}function Qu(t){let e,i;return e=new kf({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[130]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xu(t){var n;let e,i;return e=new bf({props:{thumbUrl:t[2],startTime:(n=t[4])==null?void 0:n.startTime}}),{c(){U(e.$$.fragment)},m(l,r){F(e,l,r),i=!0},p(l,r){var s;const o={};r[0]&4&&(o.thumbUrl=l[2]),r[0]&16&&(o.startTime=(s=l[4])==null?void 0:s.startTime),e.$set(o)},i(l){i||(m(e.$$.fragment,l),i=!0)},o(l){v(e.$$.fragment,l),i=!1},d(l){H(e,l)}}}function Ju(t){let e,i;return e=new _f({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xu(t){let e,i,n;return i=new wc({props:{adsSlotId:t[8],adsParams:t[9],adsPreviewParam:t[10],duration:t[11]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","ads-container v-1jy89ut"),M(e,"hidden",t[34]!==De.Ads)},m(l,r){T(l,e,r),F(i,e,null),n=!0},p(l,r){const o={};r[0]&256&&(o.adsSlotId=l[8]),r[0]&512&&(o.adsParams=l[9]),r[0]&1024&&(o.adsPreviewParam=l[10]),r[0]&2048&&(o.duration=l[11]),i.$set(o),(!n||r[1]&8)&&M(e,"hidden",l[34]!==De.Ads)},i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function $u(t){let e,i;return e=new g_({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function e1(t){let e,i;return e=new mf({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t1(t){let e,i,n;return i=new O1({props:{ariaLabel:G("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(l,r){T(l,e,r),F(i,e,null),n=!0},p:K,i(l){n||(m(i.$$.fragment,l),n=!0)},o(l){v(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i)}}}function i1(t){let e,i;return e=new hf({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&4&&(r.thumbUrl=n[2]),l[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n1(t){let e,i;return e=new pf({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l[0]&1073741824&&(r.shifted=n[30]),l[1]&4194304&&(r.captions=n[53]),l[1]&8192&&(r.position=n[44]),l[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function o1(t){let e,i,n,l,r;return i=new vf({}),{c(){e=E("div"),U(i.$$.fragment)},m(o,s){T(o,e,s),F(i,e,null),n=!0,l||(r=ve(e,"click",st(t[100])),l=!0)},p:K,i(o){n||(m(i.$$.fragment,o),n=!0)},o(o){v(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i),l=!1,r()}}}function l1(t){let e,i,n;function l(o){t[131](o)}let r={bottomHidden:t[34]===De.Thumb||t[34]===De.WaitingLive||t[34]===De.WaitingRecord||t[34]===De.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===De.Ads,canRewindLive:t[6]&&t[54]!==0,logoClickable:t[12],logoHidden:t[13],videoLogoUrl:t[3],showNextPrevButtons:t[14],nextButtonActive:t[15],prevButtonActive:t[16],isOneVideoPlaylist:t[19],supportLink:t[20],customFullscreenSupported:t[39],playNextVideo:t[22],playPrevVideo:t[23],repeatPlaylist:t[24],toggleFullscreen:t[97],seekToInteractive:t[25],toggleGraph:t[26],playPrevChapter:t[27],onDisabledPlayPrevChapterClick:t[103],onDisabledSeekToInteractiveClick:t[104]};return t[37]!==void 0&&(r.controlsElementRef=t[37]),e=new ff({props:r}),Se.push(()=>je(e,"controlsElementRef",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[1]&8&&(a.bottomHidden=o[34]===De.Thumb||o[34]===De.WaitingLive||o[34]===De.WaitingRecord||o[34]===De.Ads),s[0]&1073741824&&(a.showControls=o[30]),s[1]&16384&&(a.bottomNoSmooth=o[45]),s[1]&8&&(a.isAds=o[34]===De.Ads),s[0]&64|s[1]&8388608&&(a.canRewindLive=o[6]&&o[54]!==0),s[0]&4096&&(a.logoClickable=o[12]),s[0]&8192&&(a.logoHidden=o[13]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16384&&(a.showNextPrevButtons=o[14]),s[0]&32768&&(a.nextButtonActive=o[15]),s[0]&65536&&(a.prevButtonActive=o[16]),s[0]&524288&&(a.isOneVideoPlaylist=o[19]),s[0]&1048576&&(a.supportLink=o[20]),s[1]&256&&(a.customFullscreenSupported=o[39]),s[0]&4194304&&(a.playNextVideo=o[22]),s[0]&8388608&&(a.playPrevVideo=o[23]),s[0]&16777216&&(a.repeatPlaylist=o[24]),s[0]&33554432&&(a.seekToInteractive=o[25]),s[0]&67108864&&(a.toggleGraph=o[26]),s[0]&134217728&&(a.playPrevChapter=o[27]),!i&&s[1]&64&&(i=!0,a.controlsElementRef=o[37],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function r1(t){let e,i;return e=new Mc({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s1(t){let e,i;return e=new Ec({}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(dt.TIMELINE),l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y;e=new gf({props:{hidden:t[34]!==De.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let V=n&&Yu(t),Q=t[34]===De.WaitingLive&&Xu(t),A=t[34]===De.WaitingRecord&&Ju(),z=t[7]&&t[21]&&xu(t),se=t[41]&&t[17]&&t[18]&&$u(t),re=t[49]&&e1(),Z=t[50]&&t1(),Y=t[35]&&i1(t),O=t[52].value!=="off"&&n1(t),J=t[33]&&o1(t),L=t[21]&&l1(t);w=new yc({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let B=t[38]&&r1(),te=t[57]&&s1();return{c(){U(e.$$.fragment),i=R(),V&&V.c(),l=R(),Q&&Q.c(),r=R(),A&&A.c(),o=R(),z&&z.c(),s=R(),se&&se.c(),a=R(),re&&re.c(),c=R(),Z&&Z.c(),f=R(),Y&&Y.c(),d=R(),O&&O.c(),h=R(),J&&J.c(),_=R(),L&&L.c(),g=R(),U(w.$$.fragment),b=R(),B&&B.c(),C=R(),te&&te.c(),k=ht()},m(P,ee){F(e,P,ee),T(P,i,ee),V&&V.m(P,ee),T(P,l,ee),Q&&Q.m(P,ee),T(P,r,ee),A&&A.m(P,ee),T(P,o,ee),z&&z.m(P,ee),T(P,s,ee),se&&se.m(P,ee),T(P,a,ee),re&&re.m(P,ee),T(P,c,ee),Z&&Z.m(P,ee),T(P,f,ee),Y&&Y.m(P,ee),T(P,d,ee),O&&O.m(P,ee),T(P,h,ee),J&&J.m(P,ee),T(P,_,ee),L&&L.m(P,ee),T(P,g,ee),F(w,P,ee),T(P,b,ee),B&&B.m(P,ee),T(P,C,ee),te&&te.m(P,ee),T(P,k,ee),y=!0},p(P,ee){const Pe={};ee[0]&32|ee[1]&12&&(Pe.hidden=P[34]!==De.Thumb||P[33]||P[89]&&P[5]),ee[0]&4&&(Pe.thumbUrl=P[2]),ee[0]&268435456&&(Pe.startVideo=P[28]),e.$set(Pe),ee[0]&64|ee[1]&65536&&(n=P[6]&&P[78]&&!P[47].has(dt.TIMELINE)),n?V?(V.p(P,ee),ee[0]&64|ee[1]&65536&&m(V,1)):(V=Yu(P),V.c(),m(V,1),V.m(l.parentNode,l)):V&&(de(),v(V,1,1,()=>{V=null}),me()),P[34]===De.WaitingLive?Q?(Q.p(P,ee),ee[1]&8&&m(Q,1)):(Q=Xu(P),Q.c(),m(Q,1),Q.m(r.parentNode,r)):Q&&(de(),v(Q,1,1,()=>{Q=null}),me()),P[34]===De.WaitingRecord?A?ee[1]&8&&m(A,1):(A=Ju(),A.c(),m(A,1),A.m(o.parentNode,o)):A&&(de(),v(A,1,1,()=>{A=null}),me()),P[7]&&P[21]?z?(z.p(P,ee),ee[0]&2097280&&m(z,1)):(z=xu(P),z.c(),m(z,1),z.m(s.parentNode,s)):z&&(de(),v(z,1,1,()=>{z=null}),me()),P[41]&&P[17]&&P[18]?se?(se.p(P,ee),ee[0]&393216|ee[1]&1024&&m(se,1)):(se=$u(P),se.c(),m(se,1),se.m(a.parentNode,a)):se&&(de(),v(se,1,1,()=>{se=null}),me()),P[49]?re?ee[1]&262144&&m(re,1):(re=e1(),re.c(),m(re,1),re.m(c.parentNode,c)):re&&(de(),v(re,1,1,()=>{re=null}),me()),P[50]?Z?(Z.p(P,ee),ee[1]&524288&&m(Z,1)):(Z=t1(),Z.c(),m(Z,1),Z.m(f.parentNode,f)):Z&&(de(),v(Z,1,1,()=>{Z=null}),me()),P[35]?Y?(Y.p(P,ee),ee[1]&16&&m(Y,1)):(Y=i1(P),Y.c(),m(Y,1),Y.m(d.parentNode,d)):Y&&(de(),v(Y,1,1,()=>{Y=null}),me()),P[52].value!=="off"?O?(O.p(P,ee),ee[1]&2097152&&m(O,1)):(O=n1(P),O.c(),m(O,1),O.m(h.parentNode,h)):O&&(de(),v(O,1,1,()=>{O=null}),me()),P[33]?J?(J.p(P,ee),ee[1]&4&&m(J,1)):(J=o1(P),J.c(),m(J,1),J.m(_.parentNode,_)):J&&(de(),v(J,1,1,()=>{J=null}),me()),P[21]?L?(L.p(P,ee),ee[0]&2097152&&m(L,1)):(L=l1(P),L.c(),m(L,1),L.m(g.parentNode,g)):L&&(de(),v(L,1,1,()=>{L=null}),me());const ye={};ee[1]&16777216&&(ye.isLive=P[55]),ee[1]&512&&(ye.isHidden=!P[40]),ee[1]&33554432&&(ye.isPlaying=P[56]),ee[1]&8192&&(ye.position=P[44]),ee[1]&4096&&(ye.duration=P[43]),w.$set(ye),P[38]?B?ee[1]&128&&m(B,1):(B=r1(),B.c(),m(B,1),B.m(C.parentNode,C)):B&&(de(),v(B,1,1,()=>{B=null}),me()),P[57]?te?ee[1]&67108864&&m(te,1):(te=s1(),te.c(),m(te,1),te.m(k.parentNode,k)):te&&(de(),v(te,1,1,()=>{te=null}),me())},i(P){y||(m(e.$$.fragment,P),m(V),m(Q),m(A),m(z),m(se),m(re),m(Z),m(Y),m(O),m(J),m(L),m(w.$$.fragment,P),m(B),m(te),y=!0)},o(P){v(e.$$.fragment,P),v(V),v(Q),v(A),v(z),v(se),v(re),v(Z),v(Y),v(O),v(J),v(L),v(w.$$.fragment,P),v(B),v(te),y=!1},d(P){P&&(S(i),S(l),S(r),S(o),S(s),S(a),S(c),S(f),S(d),S(h),S(_),S(g),S(b),S(C),S(k)),H(e,P),V&&V.d(P),Q&&Q.d(P),A&&A.d(P),z&&z.d(P),se&&se.d(P),re&&re.d(P),Z&&Z.d(P),Y&&Y.d(P),O&&O.d(P),J&&J.d(P),L&&L.d(P),H(w,P),B&&B.d(P),te&&te.d(P)}}}function w_(t){let e,i,n,l,r,o=t[46],s,a,c,f,d,h=a1(t);return{c(){e=E("div"),i=E("div"),n=E("div"),r=R(),h.c(),s=R(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",l=`transform: rotate(${t[32]}deg) scale(${t[42]})`),M(n,"fast-rotate",!t[1].isSmoothVideoRotate),u(i,"class","video-wrapper v-1jy89ut"),M(i,"hidden",t[34]!==De.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",G("aria_label_video_player")),u(e,"tabindex","-1")},m(_,g){T(_,e,g),p(e,i),p(i,n),t[128](n),p(e,r),h.m(e,null),p(e,s),p(e,a),t[132](a),t[133](e),c=!0,f||(d=[ve(b_,"blur",t[98]),ve(i,"click",$t(t[99])),ve(e,"click",t[101],!0),ve(e,"focusin",t[102],!0)],f=!0)},p(_,g){(!c||g[1]&2050&&l!==(l=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",l),(!c||g[0]&2)&&M(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||g[1]&8)&&M(i,"hidden",_[34]!==De.Video),g[1]&32768&&be(o,o=_[46])?(de(),v(h,1,1,K),me(),h=a1(_),h.c(),m(h,1),h.m(e,s)):h.p(_,g)},i(_){c||(m(h),c=!0)},o(_){v(h),c=!1},d(_){_&&S(e),t[128](null),h.d(_),t[132](null),t[133](null),f=!1,lt(d)}}}function k_(t,e,i){var vn,Cn;let n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe,ye,Ie,Re,{store:_e}=e,{uiConfig:Ce}=e,{thumbUrl:q}=e,{videoLogoUrl:x}=e,{videoContainer:ce}=e,{interactiveContainer:ae}=e,{live:We}=e,{autoplay:Oe}=e,{canRewindLive:Ve}=e,{showAds:Ae}=e,{adsSlotId:ue=void 0}=e,{adsParams:he=void 0}=e,{adsPreviewParam:le=void 0}=e,{duration:Le=void 0}=e,{logoClickable:pe}=e,{logoHidden:Te}=e,{showNextPrevButtons:Ge=!1}=e,{nextButtonActive:Ne=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:xe=void 0}=e,{endScreenVideoThumb:rt=void 0}=e,{isOneVideoPlaylist:ct=!1}=e,{supportLink:It}=e,{outerContainerRef:vt=void 0}=e,{showMiniTimer:Gt=!1}=e,{fullScreenTarget:_t=void 0}=e,{playerStarted:ze=!1}=e,{playNextVideo:fe=ie.noop}=e,{playPrevVideo:wt=ie.noop}=e,{repeatPlaylist:at=ie.noop}=e,{seekToInteractive:Vt}=e,{toggleGraph:mt}=e,{playPrevChapter:Pt}=e,{firstStart:$e}=e,{seekTime:Ze}=e;const Et=_e.getLogger().createComponentLog("Root component"),xi=_e.interfaceLanguage$;D(t,xi,$=>i(46,Y=$));const fi=_e.state.playbackState$;D(t,fi,$=>i(125,se=$));const di=_e.ads.playbackState;D(t,di,$=>i(126,re=$));const $i=_e.state.positionWithScrubbing$;D(t,$i,$=>i(44,o=$));const mi=_e.state.duration$;D(t,mi,$=>i(43,r=$));const Yt=_e.playerPhase;D(t,Yt,$=>i(34,V=$));const ei=_e.ui.isFullscreen;D(t,ei,$=>i(139,a=$));const Nt=_e.ui.controlsVisible;D(t,Nt,$=>i(30,l=$));const ti=_e.ui.interactiveHideMobileControls;D(t,ti,$=>i(117,h=$));const zi=_e.ui.settingsMenuVisible;D(t,zi,$=>i(116,n=$));const ii=_e.ui.scrubbingInProgress;D(t,ii,$=>i(118,g=$));const Pi=_e.ui.debugPanelVisible;D(t,Pi,$=>i(57,Re=$));const pi=_e.state.isLoaderVisible;D(t,pi,$=>i(127,Z=$));const ni=_e.state.isEnded$;D(t,ni,$=>i(120,C=$));const Ei=_e.state.chromecastConnected$;D(t,Ei,$=>i(35,Q=$));const Fi=_e.state.chromecastDeviceName$;D(t,Fi,$=>i(51,te=$));const Ii=_e.ads.postrollPassed;D(t,Ii,$=>i(121,k=$));const hi=_e.ui.mobileUnmuteButtonExpanded,vi=_e.ui.mobileUnmuteButtonVisible,ut=_e.state.isLive$;D(t,ut,$=>i(55,ye=$));const Qt=_e.state.isPlaying$;D(t,Qt,$=>i(56,Ie=$));const gi=_e.state.isActiveLive$;D(t,gi,$=>i(48,J=$));const Ai=_e.state.isRewindableLive$,ot=_e.state.crashed$;D(t,ot,$=>i(33,b=$));const pt=_e.webApi.pictureInPictureApi,oi=_e.state.videoSize$;D(t,oi,$=>i(140,f=$));const Mt=_e.state.currentSubtitle$;D(t,Mt,$=>i(52,P=$));const li=_e.state.currentSubtitleCaptions$;D(t,li,$=>i(53,ee=$));const bi=_e.state.duration$;D(t,bi,$=>i(54,Pe=$));const _i=_e.state.graphIsOpened$;D(t,_i,$=>i(124,z=$));const Ht=_e.ui.playerSize;D(t,Ht,$=>i(31,c=$));const Ui=_e.ui.is3DVideo;D(t,Ui,$=>i(49,L=$));const Rt=_e.ui.icon3DVideoVisible;D(t,Rt,$=>i(50,B=$));const qi=_e.ui.rotateAlpha;D(t,qi,$=>i(32,_=$));const Hi=_e.state.isInteractive,en=_e.state.isInteractiveTime$;D(t,en,$=>i(119,w=$));const ri=_e.state.isInteractiveExpectation$;D(t,ri,$=>i(123,A=$));const jt=_e.state.hasInteractiveBranches,Li=_e.ui.controls.disabledControls$;D(t,Li,$=>i(47,O=$));const Ut=_e.ui.touched;D(t,Ut,$=>i(122,y=$));const Xt=_e.ui.clientInfo$;D(t,Xt,$=>i(138,s=$));const ji=_e.ui.overlayContainer$,si=_e.actions.internal.closeSettingsMenu,wi=(vn=_e.callbacks)==null?void 0:vn.onDisabledPlayPrevChapterClick,Wi=(Cn=_e.callbacks)==null?void 0:Cn.onDisabledSeekToInteractiveClick;let ki,yi,Vi,Wt,Zi,Mi,ai;const Bi=Me(!1);D(t,Bi,$=>i(45,d=$));let Ni,Zt=!1,ui,Ue=!1,Ci,ci=!0,Be,Ki,rn=!1,sn;pt==null||pt.setContext(v1());const Gi=$=>{clearTimeout(Wt),$&&(vi.set(!0),hi.set(!0),Wt=window.setTimeout(()=>{hi.set(!1)},Ce.controls.collapseMobileUnmute),Hi||Bt(Ce.controls.hideTimeoutMobile))};_e.setUiCallbacks({onStarted:Gi});const Yi=()=>{window.clearTimeout(Vi),i(111,Zt=!1),h&&ti.set(!1)},Bt=$=>{Yi(),i(111,Zt=!0),Vi=window.setTimeout(()=>i(111,Zt=!1),$);const bt=$-100;Ni=window.setTimeout(()=>{d&&Bi.set(!1)},bt>0?bt:$)},Qi=Ui.subscribe($=>{Rt.set($),$&&(window.clearTimeout(Zi),Zi=window.setTimeout(()=>Rt.set(!1),Ce.controls.hide360IconTimeout))}),tn=async()=>{var bt,un,nn,gn;const $=Bo();if($){Bt(Ce.controls.hideTimeoutFullscreen);try{await(pt==null?void 0:pt.remove())}catch(cn){Et({message:String(cn)})}try{const cn=f!=null&&f.width&&(f!=null&&f.height)?f:c;await g4(cn)}catch(cn){Et({message:String(cn)})}}ei.set($),_e.getAdmanWrapper().setFullscreen($),a?(un=(bt=_e.callbacks)==null?void 0:bt.onFullscreenEnter)==null||un.call(bt):(gn=(nn=_e.callbacks)==null?void 0:nn.onFullscreenExit)==null||gn.call(nn)},Ri=$=>{const bt=$;Ht.set({width:bt.target.width,height:bt.target.height})};dn(()=>{var bt;return bc(tn),dl(pt)&&(pt==null||pt.assignPlayerContainer(ki),pt==null||pt.registryExternalEventHandlers({resize:Ri})),i(39,ci=!d_(s)),ae&&((bt=ce.parentElement)==null||bt.insertBefore(ae,ce.nextSibling)),()=>{window.clearTimeout(Vi),window.clearTimeout(Ni),window.clearTimeout(Wt),window.clearTimeout(Zi),Qi(),pt==null||pt.dispose(),_c(tn)}});const Ot=$=>{let bt=o+($==="forward"?1:-1)*Ce.controls.seekStepMobile/1e3;bt<0?bt=0:bt>r&&(bt=r-1),i(113,Ue=!0),Ze(bt)},ne=async()=>{if(Bo())await gc(document),Et({message:"exit fullscreen"});else{Et({message:"request fullscreen"});const $=ie.isIOS()||!vt?ki:vt,bt=$.getRootNode(),un=bt instanceof ShadowRoot?bt.host:bt,nn=_t instanceof HTMLElement&&_t.contains(un),gn=Ce.allowChangingFullscreenTarget&&_t&&nn?_t:$;await vc(gn)}},nt=()=>{si()},qt=()=>{if(n){nt();return}if(!ze){$e(),Bt(Ce.controls.hideTimeoutCursor);return}i(113,Ue=!1),l?Yi():Bt(Ce.controls.hideTimeoutMobile)},Si=()=>{if(n){nt();return}},gt=()=>{Ut.set(!0)},mn=()=>{Hi||(Bi.set(!0),Bt(Ce.controls.hideTimeoutCursor))},_n=$=>{wi&&(wi($),Bt(Ce.controls.hideTimeoutMobile))},pn=$=>{Wi&&(Wi($),Bt(Ce.controls.hideTimeoutMobile))};function hn($){Se[$?"unshift":"push"](()=>{ce=$,i(0,ce)})}const an=()=>Ot("backward"),Xi=()=>Ot("forward");function An($){yi=$,i(37,yi)}function kn($){Se[$?"unshift":"push"](()=>{ai=$,i(29,ai)})}function yn($){Se[$?"unshift":"push"](()=>{ki=$,i(36,ki)})}return t.$$set=$=>{"store"in $&&i(105,_e=$.store),"uiConfig"in $&&i(1,Ce=$.uiConfig),"thumbUrl"in $&&i(2,q=$.thumbUrl),"videoLogoUrl"in $&&i(3,x=$.videoLogoUrl),"videoContainer"in $&&i(0,ce=$.videoContainer),"interactiveContainer"in $&&i(106,ae=$.interactiveContainer),"live"in $&&i(4,We=$.live),"autoplay"in $&&i(5,Oe=$.autoplay),"canRewindLive"in $&&i(6,Ve=$.canRewindLive),"showAds"in $&&i(7,Ae=$.showAds),"adsSlotId"in $&&i(8,ue=$.adsSlotId),"adsParams"in $&&i(9,he=$.adsParams),"adsPreviewParam"in $&&i(10,le=$.adsPreviewParam),"duration"in $&&i(11,Le=$.duration),"logoClickable"in $&&i(12,pe=$.logoClickable),"logoHidden"in $&&i(13,Te=$.logoHidden),"showNextPrevButtons"in $&&i(14,Ge=$.showNextPrevButtons),"nextButtonActive"in $&&i(15,Ne=$.nextButtonActive),"prevButtonActive"in $&&i(16,Je=$.prevButtonActive),"endScreenVideoTitle"in $&&i(17,xe=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&i(18,rt=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&i(19,ct=$.isOneVideoPlaylist),"supportLink"in $&&i(20,It=$.supportLink),"outerContainerRef"in $&&i(107,vt=$.outerContainerRef),"showMiniTimer"in $&&i(108,Gt=$.showMiniTimer),"fullScreenTarget"in $&&i(109,_t=$.fullScreenTarget),"playerStarted"in $&&i(21,ze=$.playerStarted),"playNextVideo"in $&&i(22,fe=$.playNextVideo),"playPrevVideo"in $&&i(23,wt=$.playPrevVideo),"repeatPlaylist"in $&&i(24,at=$.repeatPlaylist),"seekToInteractive"in $&&i(25,Vt=$.seekToInteractive),"toggleGraph"in $&&i(26,mt=$.toggleGraph),"playPrevChapter"in $&&i(27,Pt=$.playPrevChapter),"firstStart"in $&&i(28,$e=$.firstStart),"seekTime"in $&&i(110,Ze=$.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&12&&i(38,Mi=(V===De.Video&&Z||V===De.Ads&&re===xt.INACTIVE)&&!b),t.$$.dirty[0]&536870912&&ji.set(ai),t.$$.dirty[4]&2&&i(112,ui=se!==tt.PlaybackState.PLAYING),t.$$.dirty[3]&1225523200|t.$$.dirty[4]&1&&i(114,Ci=z||h||!Zt&&(C&&!!jt||ui&&A)),t.$$.dirty[1]&28|t.$$.dirty[3]&45875200&&Nt.set((ui||n||g||Q||Zt&&!Ue)&&!Ci&&V===De.Video&&!b),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&536903680&&i(40,Be=Ce.features.thumbTimer&&Gt&&V===De.Video&&!l&&!b&&!Hi&&(Ce.hideThumbTimerAfterTouch&&!y||!Ce.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&402653184&&i(41,Ki=(Ae&&k||!Ae)&&C&&!b),t.$$.dirty[0]&2|t.$$.dirty[3]&104857600&&(!g&&rn&&!w&&Bt(Ce.controls.hideTimeoutMobile),i(115,rn=g)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,sn=ce&&_%180?c.height/c.width:1)},[ce,Ce,q,x,We,Oe,Ve,Ae,ue,he,le,Le,pe,Te,Ge,Ne,Je,xe,rt,ct,It,ze,fe,wt,at,Vt,mt,Pt,$e,ai,l,c,_,b,V,Q,ki,yi,Mi,ci,Be,Ki,sn,r,o,d,Y,O,J,L,B,te,P,ee,Pe,ye,Ie,Re,xi,fi,di,$i,mi,Yt,ei,Nt,ti,zi,ii,Pi,pi,ni,Ei,Fi,Ii,ut,Qt,gi,Ai,ot,oi,Mt,li,bi,_i,Ht,Ui,Rt,qi,Hi,en,ri,Li,Ut,Xt,Bi,Ot,ne,nt,qt,Si,gt,mn,_n,pn,_e,ae,vt,Gt,_t,Ze,Zt,ui,Ue,Ci,rn,n,h,g,w,C,k,y,A,z,se,re,Z,hn,an,Xi,An,kn,yn]}class y_ extends ke{constructor(e){super(),we(this,e,k_,w_,be,{store:105,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:106,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:107,showMiniTimer:108,fullScreenTarget:109,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:110},__,[-1,-1,-1,-1,-1,-1])}}function C_(t){Ke(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function E_(t){let e,i,n;function l(o){t[56](o)}let r={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new p_({props:r}),Ce.push(()=>We(e,"videoContainer",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function A_(t){let e,i,n;function l(o){t[55](o)}let r={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new P_({props:r}),Ce.push(()=>We(e,"videoContainer",l)),{c(){q(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],je(()=>i=!1)),e.$set(a)},i(o){n||(d(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function I_(t){let e,i,n,l;const r=[A_,E_],o=[];function s(a,c){return a[15]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){P(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),d(n,1),n.m(e,null))},i(a){l||(d(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function L_(t,e,i){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:_}=e,{autoplay:g}=e,{volume:w=void 0}=e,{muted:b=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:M=void 0}=e,{adsParams:j=void 0}=e,{adsPreviewParam:I=void 0}=e,{duration:z=void 0}=e,{logoClickable:ae}=e,{logoHidden:se}=e,{isMobile:R}=e,{showNextPrevButtons:te=!1}=e,{nextButtonActive:X=!1}=e,{prevButtonActive:G=!1}=e,{endScreenVideoTitle:A=void 0}=e,{endScreenVideoThumb:V=void 0}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:L}=e,{outerContainerRef:ie=void 0}=e,{fullScreenTarget:Ee=void 0}=e,{failoverHosts:ye=void 0}=e,{showMiniTimer:Le=!1}=e,{playNextVideo:Ve=ne.noop}=e,{playPrevVideo:_e=ne.noop}=e,{repeatPlaylist:Se=ne.noop}=e,{seekToInteractive:W=ne.noop}=e,{toggleGraph:$=ne.noop}=e,{playPrevChapter:fe=ne.noop}=e;const{subscribers:ue,stores:Fe}=r;y0(o);const Oe=gn(),Me=l.ui.debugPanelVisible,Ie=l.ui.playerSize;let ce,he=null,re=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),V0(l,Fe);const Te=(oe=!1)=>{i(34,re=!0),oe?l.actions.external.firstStart(y):l.actions.internal.firstStart(y)};function pe(oe){var Je;const _t=n||oe;_t&&l.initVideo({container:ce,sources:_t,failoverHosts:ye,subtitles:m});const rt=ne.safeStorage.get(tr)==="true";Me.set(rt),C>0&&l.actions.external.seekTime(C);const Rt=R?Oe.volumeDefault:(Je=w!=null?w:O1())!=null?Je:Oe.volumeDefault,ut=b!=null?b:D0();if(l.actions.external.setVolume(Rt),l.actions.external.setMuted(ut),l.getAdmanWrapper().setInitialVolume(ut?0:Rt),Oe.features.trafficSaving){const Ue=F0();Ue&&l.actions.internal.setTrafficSavingEnabled(Ue)}const It=O0(l.videoId);It&&l.actions.internal.setQuality(It),l.ui.isAutoplay.set(g),g?Te():_&&Oe.features.preload&&l.actions.internal.preload()}const Pe=oe=>{if(window.ResizeObserver){let _t,rt;he=new ResizeObserver(ne.throttleFn(Rt=>{const ut=Rt[0];if(ut){if(ut.contentBoxSize){const It=Array.isArray(ut.contentBoxSize)?ut.contentBoxSize[0]:ut.contentBoxSize;_t=It.inlineSize,rt=It.blockSize}else ut.contentRect&&(_t=ut.contentRect.width,rt=ut.contentRect.height);Ie.set({width:_t,height:rt})}},S1)),he.observe(oe)}Ie.set({width:oe.clientWidth,height:oe.clientHeight})};vn(()=>{Pe(ce);const oe=ue.map(rt=>rt.init(l,Fe));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return pe(),()=>{he==null||he.disconnect(),oe.forEach(rt=>rt.unsubscribe()),l.destroy()}});function Ke(){re?l.actions.external.play():Te(!0)}function Re(){l.actions.external.pause()}function xe(oe){R||l.actions.external.setMuted(oe)}function Xe(oe){R||oe>=0&&oe<=1&&l.actions.external.setVolume(oe)}function ot(oe){l.actions.internal.seekTime(oe,yt.SeekAction.UNKNOWN)}function at(oe){l.actions.external.seekEpisodeStartTime(oe)}function At(){l.actions.external.returnFocusToEpisodes()}function pt(oe){l.actions.external.setPlaybackRate(oe)}function xt(oe){l.actions.external.setAutoQualityLimits(oe)}function gt(oe){ce=oe,i(33,ce)}function Mt(oe){ce=oe,i(33,ce)}return t.$$set=oe=>{"sources"in oe&&i(37,n=oe.sources),"store"in oe&&i(0,l=oe.store),"microStoresRoot"in oe&&i(38,r=oe.microStoresRoot),"uiConfig"in oe&&i(39,o=oe.uiConfig),"title"in oe&&i(1,s=oe.title),"thumbUrl"in oe&&i(2,a=oe.thumbUrl),"videoLogoUrl"in oe&&i(3,c=oe.videoLogoUrl),"interactiveContainer"in oe&&i(4,f=oe.interactiveContainer),"subtitles"in oe&&i(40,m=oe.subtitles),"live"in oe&&i(5,h=oe.live),"preload"in oe&&i(41,_=oe.preload),"autoplay"in oe&&i(6,g=oe.autoplay),"volume"in oe&&i(42,w=oe.volume),"muted"in oe&&i(43,b=oe.muted),"fromTime"in oe&&i(44,C=oe.fromTime),"canRewindLive"in oe&&i(7,k=oe.canRewindLive),"showAds"in oe&&i(8,y=oe.showAds),"adsSlotId"in oe&&i(9,M=oe.adsSlotId),"adsParams"in oe&&i(10,j=oe.adsParams),"adsPreviewParam"in oe&&i(11,I=oe.adsPreviewParam),"duration"in oe&&i(12,z=oe.duration),"logoClickable"in oe&&i(13,ae=oe.logoClickable),"logoHidden"in oe&&i(14,se=oe.logoHidden),"isMobile"in oe&&i(15,R=oe.isMobile),"showNextPrevButtons"in oe&&i(16,te=oe.showNextPrevButtons),"nextButtonActive"in oe&&i(17,X=oe.nextButtonActive),"prevButtonActive"in oe&&i(18,G=oe.prevButtonActive),"endScreenVideoTitle"in oe&&i(19,A=oe.endScreenVideoTitle),"endScreenVideoThumb"in oe&&i(20,V=oe.endScreenVideoThumb),"isOneVideoPlaylist"in oe&&i(21,x=oe.isOneVideoPlaylist),"supportLink"in oe&&i(22,L=oe.supportLink),"outerContainerRef"in oe&&i(23,ie=oe.outerContainerRef),"fullScreenTarget"in oe&&i(24,Ee=oe.fullScreenTarget),"failoverHosts"in oe&&i(45,ye=oe.failoverHosts),"showMiniTimer"in oe&&i(25,Le=oe.showMiniTimer),"playNextVideo"in oe&&i(26,Ve=oe.playNextVideo),"playPrevVideo"in oe&&i(27,_e=oe.playPrevVideo),"repeatPlaylist"in oe&&i(28,Se=oe.repeatPlaylist),"seekToInteractive"in oe&&i(29,W=oe.seekToInteractive),"toggleGraph"in oe&&i(30,$=oe.toggleGraph),"playPrevChapter"in oe&&i(31,fe=oe.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&l.ui.isMobile.set(R)},[l,s,a,c,f,h,g,k,y,M,j,I,z,ae,se,R,te,X,G,A,V,x,L,ie,Ee,Le,Ve,_e,Se,W,$,fe,ot,ce,re,Oe,Te,n,r,o,m,_,w,b,C,ye,pe,Ke,Re,xe,Xe,at,At,pt,xt,gt,Mt]}class V_ extends ke{constructor(e){super(),we(this,e,L_,I_,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},T_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function M_(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){P(n,e,l),p(e,i)},p(n,[l]){l&1&&u(i,"fill",n[0])},i:K,o:K,d(n){n&&S(e)}}}function B_(t,e,i){let{isWhite:n=!1}=e,l;return t.$$set=r=>{"isWhite"in r&&i(1,n=r.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?"#fff":"#909499")},[l,n]}class N_ extends ke{constructor(e){super(),we(this,e,B_,M_,be,{isWhite:1})}}function R_(t){Ze(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function p1(t){let e,i;return{c(){e=T("div"),i=ze(t[0]),u(e,"class","title v-1y9fytq")},m(n,l){P(n,e,l),p(e,i)},p(n,l){l&1&&et(i,n[0])},d(n){n&&S(e)}}}function h1(t){let e,i;return e=new N_({props:{isWhite:!!t[1]}}),{c(){q(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function O_(t){let e,i,n,l,r=t[0]&&p1(t),o=(!t[0]||!t[1])&&h1(t);return{c(){e=T("div"),r&&r.c(),i=O(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(s,a){P(s,e,a),r&&r.m(e,null),p(e,i),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=p1(s),r.c(),r.m(e,i)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&d(o,1)):(o=h1(s),o.c(),d(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(d(o),l=!0)},o(s){v(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function D_(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"thumbUrl"in r&&i(1,l=r.thumbUrl)},[n,l]}class z_ extends ke{constructor(e){super(),we(this,e,D_,O_,be,{title:0,thumbUrl:1},R_)}}class F_{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}function H_(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){P(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class U_ extends ke{constructor(e){super(),we(this,e,null,H_,be,{})}}function q_(t){Ze(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function j_(t){let e,i,n,l,r,o,s;return n=new U_({}),{c(){e=T("div"),i=T("div"),q(n.$$.fragment),l=O(),r=T("span"),o=ze(t[0]),u(i,"class","dummy-image v-1pbsod4"),B(i,"desktop",!t[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",t[2])},m(a,c){P(a,e,c),p(e,i),F(n,i,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&B(i,"desktop",!a[1]),(!s||c&1)&&et(o,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&S(e),H(n)}}}function W_(t,e,i){let n,l;const r=Ct(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(t,s,f=>i(5,n=f));const a=r.ui.isMobile;D(t,a,f=>i(1,l=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&Y("pip_dummy_title"))},[c,l,o,s,a,n]}class Z_ extends ke{constructor(e){super(),we(this,e,W_,j_,be,{},q_)}}const K_=460,G_=280;class Tf{constructor(){this.info={isActive$:new ne.ValueSubject(!1),type:zn.DocumentPictureInPicture}}isSupported(){const e=ne.getCurrentBrowser().browser===ne.CurrentClientBrowser.Yandex,{isEmbed:i}=ne.detectEmbed();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){var e,i;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:K_,height:G_,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new Z_({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var i;(i=documentPictureInPicture.window)===null||i===void 0||i.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Y_(t){return t instanceof Tf}class Q_{static getLatestSupportedVersion(){const e=new hr,i=new Tf;if(i.isSupported())return i;if(e.isSupported())return e}}function v1(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(i=e[o])!==null&&i!==void 0?i:t[o])!==null&&n!==void 0?n:void 0;return r}const X_="Inner error. Unexpectedly root annotation container null reference exception",J_="Annotation with such name already exists",x_="Annotation with such name does not exist";class Jl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const $_="1",e6=100;class t6{constructor(e){this.annotations=new Map,this.subscriptions=new ne.Subscription,this.rootAnnotationsContainer=e;const i=ne.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},e6);this.subscriptions.add(ne.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){var n;if(!this.rootAnnotationsContainer)throw new Jl(X_);if(this.annotations.has(e))throw new Jl(J_);i.style.zIndex=(n=i.style.zIndex)!==null&&n!==void 0?n:$_,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new Jl(x_);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>i||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Tr{init(e,i){return ne.assertNonNullable(e),ne.assertNonNullable(i),this.subscription=new ne.Subscription,this.subscription}}class i6 extends Tr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Ne(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class n6 extends Tr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Ne(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{fakeIsPlaying$:l}=i,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=tt(a),f=()=>c&&tt(s);return n.add(s.subscribe(m=>{if(!c)return;const h=tt(l);tt(o)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(o.subscribe(m=>{this.state$.set(!m||f())})),n.add(l.subscribe(m=>{if(m===null)return;const h=tt(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class o6 extends Tr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Ne("tooltip_chapter_without_interactive")}init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const l6=()=>[i6,n6,o6].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),r6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ne.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ne.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class s6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ne.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ne.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new z_({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,i,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var i;const n=(i=this.store)===null||i===void 0?void 0:i.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){var l,r,o,s,a,c,f,m,h,_,g,w,b;if(!this.videoConfig)return;const{albumId:C,statPlace:k,statUserSalt:y,statAuthToken:M,statTrackCode:j,refreshStatAuthToken:I,preload:z,autoplay:ae,volume:se,muted:R,fromTime:te,canRewindLive:X,supportLink:G,showAds:A,adsSlotId:V,adsParams:x={},adsPreviewParam:L,interfaceLanguage:ie,logoClickable:Ee,logoHidden:ye,isMobile:Le,isAudioDisabled:Ve,isLiveCatchUpMode:_e,fullScreenTarget:Se,failoverHosts:W,canDownload:$,callbacks:fe,interactiveData:ue,showThumbTimer:Fe,additionalButtons:Oe=[],repeat:Me}=v1(this.videoConfig,i),{sources:Ie,title:ce,thumbUrl:he,videoLogoUrl:re,unitedVideoId:Te,isClip:pe=!1,duration:Pe,adsParams:Ke={},videoEpisodes:Re,previewThumbsData:xe,subtitles:Xe,live:ot}=e,at={...x,...Ke},At=this.getNextVideoInfo(),pt={sources:Ie,title:ce,thumbUrl:he,subtitles:Xe,unitedVideoId:Te,isClip:pe,live:ot,albumId:C,statPlace:k,autoplay:ae,muted:R,volume:se,fromTime:te,canRewindLive:X,showAds:A,adsSlotId:V,adsParams:at,adsPreviewParam:L,duration:Pe,logoClickable:Ee,logoHidden:ye,isMobile:Le,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:At.nextVideoTitle,endScreenVideoThumb:At.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},xt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(pt)}`});const gt=this.uiConfig.features.statistics&&!!Te,{pid:Mt}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};gt&&(this.statistics=new Z5({movieId:Te,albumId:C,place:k,trackCode:j,autoplay:(o=ae&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Le,clip:pe,...Mt&&!this.isInited&&{projectId:Number(Mt)}},{refreshAuthToken:I,userSalt:y,config:this.statisticsConfig,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new lr(this.uiConfig.sentry,{version:pl,env:L0},{movieId:Te,albumId:C,place:k,autoplay:(s=ae&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Le,clip:pe}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry={...this.sentry,...lr.getInstance()};const _t=!!ue,rt=[];let Rt="tooltip_interactive_go_back_disabled_first";if(_t&&this.interactiveController){const Je=this.interactiveController.state.isInitialChapter$.getValue(),Ue=this.interactiveController.getHistoryState();Je&&rt.push(dt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||rt.push(dt.SEEK_TO_INTERACTIVE_BUTTON),Ue.hasPrevChapter$.getValue()||(rt.push(dt.PLAY_PREV_CHAPTER_BUTTON),Je||(Ue.isGoBackLimited$.getValue()?Rt="tooltip_interactive_go_back_disabled_limit":Rt="tooltip_interactive_go_back_disabled"))}const ut=()=>{var Je;this.isInited=!1,this.prevIsid=void 0;const Ue=(n==null?void 0:n.info.isEnded$.getValue())&&((Je=this.interactiveController)===null||Je===void 0?void 0:Je.state.isEndChapter$.getValue());fe.onReplayInteractiveVideo&&!Ue?fe.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=K5({player:n,interfaceLanguage:ie,videoId:Te,isClip:pe,isLiveCatchUpMode:_e,isAudioDisabled:Ve,statAuthToken:M,callbacks:fe,webApi:xt,videoEpisodes:Re,previewThumbsData:xe,canDownload:$,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:rt,isInteractive:_t,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(m=this.interactiveController)===null||m===void 0?void 0:m.state.isInteractiveTime$,replayInteractive:ut,playPrevChapterDisabledTooltip:Rt,hasInteractiveBranches:!!(!((_=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||_===void 0)&&_.length),additionalButtons:this.uiConfig.features.additionalButtons?Oe:[],looped:Me&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:It}=this.microStoresRoot=l6();this.subscription.add(this.store.state.currentFormat$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onCurrentFormatChanged)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(It.interactiveControlsOpacity$.subscribe(Je=>{var Ue;Je!==null&&((Ue=this===null||this===void 0?void 0:this.interactiveController)===null||Ue===void 0||Ue.setDisabledControls(Je))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onThroughputEstimationChanged)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onTrafficSavingEnabledChanged)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onCurrentPlaybackRateChanged)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(this.store.state.volume$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onVolumeChange)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(this.store.state.muted$.subscribe(Je=>{var Ue,St;return Je?(Ue=fe==null?void 0:fe.onMute)===null||Ue===void 0?void 0:Ue.call(fe):(St=fe==null?void 0:fe.onUnmute)===null||St===void 0?void 0:St.call(fe)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Je=>{var Ue;return(Ue=fe==null?void 0:fe.onVideoBitrateChanged)===null||Ue===void 0?void 0:Ue.call(fe,Je)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Je=>{var Ue;const St=(Ue=this.store)===null||Ue===void 0?void 0:Ue.ui.controls.disabledControls$;St&&(Je&&!St.includes(sl)&&St.add(sl),Je||St.remove(sl))})),this.initMediaSession(),this.interactiveController&&gt&&this.initInteractivesStatistics(),this.svelteRootComponent=new V_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ie,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ce,thumbUrl:he,videoLogoUrl:re,subtitles:Xe,live:ot,preload:z,autoplay:ae,muted:R,volume:se,fromTime:te,canRewindLive:X,supportLink:G,showAds:A,adsSlotId:V,adsParams:at,adsPreviewParam:L,duration:Pe,logoClickable:Ee,logoHidden:ye,isMobile:Le,failoverHosts:W,fullScreenTarget:Se,showMiniTimer:Fe,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:At.nextVideoTitle,endScreenVideoThumb:At.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(w=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||w===void 0?void 0:w.onInited)===null||b===void 0||b.call(w))}addPlayerInfoSubscriptions(){var e;const i=this.store;if(!i)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(i.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==wo.AUTO))})).add(i.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(i.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveTimeIcon.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{i=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{i=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&ne.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:i,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const i=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof i=="number"&&this.seekTime(i/1e3)}toggleGraph(){var e,i;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=tt(l),c=tt(r);tt(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Ur),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(i=this.interactiveController)===null||i===void 0||i.toggleGraphView(!0),s.add(Ur),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,i,n,l;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(i=this.store)===null||i===void 0?void 0:i.interfaceLanguage$,c=a?tt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:m,historyApi:h,videoLoader:_}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:m,historyApi:h,vkVideoLoader:_,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:g}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const C=this.store;b?C.ui.controls.disabledControls$.remove(dt.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(dt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(g.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let w=!0;if(this.interactiveController.on(o.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...b.config,title:(f==null?void 0:f.title)||b.config.title};const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:b,actionType:C})=>{var k,y,M,j;if(!this.store)return;const I=g.getValue();if(b==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(E1)),b==="action-choice-canceled"){const z=tt(this.store.state.isPlaying$)||I;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&z){this.store.ui.interactiveHideMobileControls.set(!0);return}(j=(y=this.videoConfig)===null||y===void 0?void 0:(M=y.callbacks).onDisabledInteractiveClick)===null||j===void 0||j.call(M)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(C=>{var k,y,M;C.length&&((M=(y=(k=this.videoConfig)===null||k===void 0?void 0:k.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||M===void 0||M.call(y,C))}))}this.interactiveController.events.noInteraction$.subscribe(()=>{var b,C,k;(k=(b=this.videoConfig)===null||b===void 0?void 0:(C=b.callbacks).onInteractiveTimeIconClick)===null||k===void 0||k.call(C)}),this.interactiveController.on(o.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,i;const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js"),o={[r.GO_NEXT_BUTTON]:yt.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:yt.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:yt.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:yt.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:yt.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ne.Subject;s.subscribe(f=>{var m,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(i=(e=this.sentry).report)===null||i===void 0||i.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){var n,l,r,o,s,a,c,f,m,h,_,g,w,b,C,k,y,M,j;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=v1(r6,ne.cloneDeepWith(e,I=>I instanceof HTMLElement?I:void 0)),this.uiConfig=k0((n=i.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=i.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=i.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},ne.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ne.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(M=this.videoConfig).autoplay&&(M.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((b=this.uiConfig.showLogo)!==null&&b!==void 0?b:!this.videoConfig.logoHidden),(j=this.videoConfig).canRewindLive&&(j.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=Q_.getLatestSupportedVersion():this.pictureInPictureApi=new hr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new F_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new t6(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Y_(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var i;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===De.Video?this.setupMediaSessionForVideo():n===De.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e,i;this.isControlDisabled(dt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(i=this.svelteRootComponent)===null||i===void 0||i.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.isControlDisabled(dt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e))}seekEpisodeStartTime(e){var i;this.log({message:`seek episode start time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var i;this.log({message:`set playback rate to: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setPlaybackRate(e)}setAutoQualityLimits(e){var i,n,l;this.log({message:`set auto quality limitation. Max: ${(i=e.max)!==null&&i!==void 0?i:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var i;(i=this.store)===null||i===void 0||i.actions.internal.addLanguage(e)}async setLanguage(e){var i;await((i=this.store)===null||i===void 0?void 0:i.actions.internal.setLanguage(e))}setLiveStart(e){var i,n;this.log({message:"live started"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,i;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(i=this.store)===null||i===void 0||i.destroy()}setLiveEnd(e){var i,n;this.log({message:"live ended"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,i;return(i=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&i!==void 0?i:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const a6=()=>{window.customElements.define("vk-video-player",s6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return $e.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return $e.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ne.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ne.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ne.loadVKLangPack}});exports.VERSION=pl;exports.registerPlayerWebComponent=a6;
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function S_(t){let e,i,n;function l(o){t[56](o)}let r={store:t[0],uiConfig:t[35],title:t[1],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new f_({props:r}),Se.push(()=>je(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&2&&(a.title=o[1]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function T_(t){let e,i,n;function l(o){t[55](o)}let r={store:t[0],uiConfig:t[35],thumbUrl:t[2],videoLogoUrl:t[3],interactiveContainer:t[4],live:t[5],autoplay:t[6],canRewindLive:t[7],showAds:t[8],adsSlotId:t[9],adsParams:t[10],adsPreviewParam:t[11],duration:t[12],logoClickable:t[13],logoHidden:t[14],showNextPrevButtons:t[16],nextButtonActive:t[17],prevButtonActive:t[18],endScreenVideoTitle:t[19],endScreenVideoThumb:t[20],isOneVideoPlaylist:t[21],supportLink:t[22],outerContainerRef:t[23],fullScreenTarget:t[24],showMiniTimer:t[25],playerStarted:t[34],playNextVideo:t[26],playPrevVideo:t[27],repeatPlaylist:t[28],seekToInteractive:t[29],toggleGraph:t[30],playPrevChapter:t[31],firstStart:t[36],seekTime:t[32]};return t[33]!==void 0&&(r.videoContainer=t[33]),e=new y_({props:r}),Se.push(()=>je(e,"videoContainer",l)),{c(){U(e.$$.fragment)},m(o,s){F(e,o,s),n=!0},p(o,s){const a={};s[0]&1&&(a.store=o[0]),s[0]&4&&(a.thumbUrl=o[2]),s[0]&8&&(a.videoLogoUrl=o[3]),s[0]&16&&(a.interactiveContainer=o[4]),s[0]&32&&(a.live=o[5]),s[0]&64&&(a.autoplay=o[6]),s[0]&128&&(a.canRewindLive=o[7]),s[0]&256&&(a.showAds=o[8]),s[0]&512&&(a.adsSlotId=o[9]),s[0]&1024&&(a.adsParams=o[10]),s[0]&2048&&(a.adsPreviewParam=o[11]),s[0]&4096&&(a.duration=o[12]),s[0]&8192&&(a.logoClickable=o[13]),s[0]&16384&&(a.logoHidden=o[14]),s[0]&65536&&(a.showNextPrevButtons=o[16]),s[0]&131072&&(a.nextButtonActive=o[17]),s[0]&262144&&(a.prevButtonActive=o[18]),s[0]&524288&&(a.endScreenVideoTitle=o[19]),s[0]&1048576&&(a.endScreenVideoThumb=o[20]),s[0]&2097152&&(a.isOneVideoPlaylist=o[21]),s[0]&4194304&&(a.supportLink=o[22]),s[0]&8388608&&(a.outerContainerRef=o[23]),s[0]&16777216&&(a.fullScreenTarget=o[24]),s[0]&33554432&&(a.showMiniTimer=o[25]),s[1]&8&&(a.playerStarted=o[34]),s[0]&67108864&&(a.playNextVideo=o[26]),s[0]&134217728&&(a.playPrevVideo=o[27]),s[0]&268435456&&(a.repeatPlaylist=o[28]),s[0]&536870912&&(a.seekToInteractive=o[29]),s[0]&1073741824&&(a.toggleGraph=o[30]),s[1]&1&&(a.playPrevChapter=o[31]),!i&&s[1]&4&&(i=!0,a.videoContainer=o[33],qe(()=>i=!1)),e.$set(a)},i(o){n||(m(e.$$.fragment,o),n=!0)},o(o){v(e.$$.fragment,o),n=!1},d(o){H(e,o)}}}function P_(t){let e,i,n,l;const r=[T_,S_],o=[];function s(a,c){return a[15]?0:1}return i=s(t),n=o[i]=r[i](t),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),o[i].m(e,null),l=!0},p(a,c){let f=i;i=s(a),i===f?o[i].p(a,c):(de(),v(o[f],1,1,()=>{o[f]=null}),me(),n=o[i],n?n.p(a,c):(n=o[i]=r[i](a),n.c()),m(n,1),n.m(e,null))},i(a){l||(m(n),l=!0)},o(a){v(n),l=!1},d(a){a&&S(e),o[i].d()}}}function E_(t,e,i){let{sources:n}=e,{store:l}=e,{microStoresRoot:r}=e,{uiConfig:o}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:d}=e,{live:h}=e,{preload:_}=e,{autoplay:g}=e,{volume:w=void 0}=e,{muted:b=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:V=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:A=void 0}=e,{duration:z=void 0}=e,{logoClickable:se}=e,{logoHidden:re}=e,{isMobile:Z}=e,{showNextPrevButtons:Y=!1}=e,{nextButtonActive:O=!1}=e,{prevButtonActive:J=!1}=e,{endScreenVideoTitle:L=void 0}=e,{endScreenVideoThumb:B=void 0}=e,{isOneVideoPlaylist:te=!1}=e,{supportLink:P}=e,{outerContainerRef:ee=void 0}=e,{fullScreenTarget:Pe=void 0}=e,{failoverHosts:ye=void 0}=e,{showMiniTimer:Ie=!1}=e,{playNextVideo:Re=ie.noop}=e,{playPrevVideo:_e=ie.noop}=e,{repeatPlaylist:Ce=ie.noop}=e,{seekToInteractive:q=ie.noop}=e,{toggleGraph:x=ie.noop}=e,{playPrevChapter:ce=ie.noop}=e;const{subscribers:ae,stores:We}=r;b0(o);const Oe=bn(),Ve=l.ui.debugPanelVisible,Ae=l.ui.playerSize;let ue,he=null,le=!1;l.getAdmanWrapper().init({switchFromAdsToVideo:l.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:l.actions.internal.switchFromVideoToAds,setMuted:l.actions.external.setMuted},l.ads,{isMobile:l.ui.isMobile,mobileUnmuteButtonVisible:l.ui.mobileUnmuteButtonVisible,vsid:l.vsid}),E0(l,We);const Le=(fe=!1)=>{i(34,le=!0),fe?l.actions.external.firstStart(y):l.actions.internal.firstStart(y)};function pe(fe){var $e;const wt=n||fe;wt&&l.initVideo({container:ue,sources:wt,failoverHosts:ye,subtitles:d});const at=ie.safeStorage.get(xl)==="true";Ve.set(at),C>0&&l.actions.external.seekTime(C);const Vt=Z?Oe.volumeDefault:($e=w!=null?w:M1())!=null?$e:Oe.volumeDefault,mt=b!=null?b:B0();if(l.actions.external.setVolume(Vt),l.actions.external.setMuted(mt),l.getAdmanWrapper().setInitialVolume(mt?0:Vt),Oe.features.trafficSaving){const Ze=R0();Ze&&l.actions.internal.setTrafficSavingEnabled(Ze)}const Pt=M0(l.videoId);Pt&&l.actions.internal.setQuality(Pt),l.ui.isAutoplay.set(g),g?Le():_&&Oe.features.preload&&l.actions.internal.preload()}const Te=fe=>{if(window.ResizeObserver){let wt,at;he=new ResizeObserver(ie.throttleFn(Vt=>{const mt=Vt[0];if(mt){if(mt.contentBoxSize){const Pt=Array.isArray(mt.contentBoxSize)?mt.contentBoxSize[0]:mt.contentBoxSize;wt=Pt.inlineSize,at=Pt.blockSize}else mt.contentRect&&(wt=mt.contentRect.width,at=mt.contentRect.height);Ae.set({width:wt,height:at})}},w1)),he.observe(fe)}Ae.set({width:fe.clientWidth,height:fe.clientHeight})};dn(()=>{Te(ue);const fe=ae.map(at=>at.init(l,We));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){l.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){l.actions.internal.setWaitingRecord(!0);return}return pe(),()=>{he==null||he.disconnect(),fe.forEach(at=>at.unsubscribe()),l.destroy()}});function Ge(){le?l.actions.external.play():Le(!0)}function Ne(){l.actions.external.pause()}function Je(fe){Z||l.actions.external.setMuted(fe)}function xe(fe){Z||fe>=0&&fe<=1&&l.actions.external.setVolume(fe)}function rt(fe){l.actions.internal.seekTime(fe,St.SeekAction.UNKNOWN)}function ct(fe){l.actions.external.seekEpisodeStartTime(fe)}function It(){l.actions.external.returnFocusToEpisodes()}function vt(fe){l.actions.external.setPlaybackRate(fe)}function Gt(fe){l.actions.external.setAutoQualityLimits(fe)}function _t(fe){ue=fe,i(33,ue)}function ze(fe){ue=fe,i(33,ue)}return t.$$set=fe=>{"sources"in fe&&i(37,n=fe.sources),"store"in fe&&i(0,l=fe.store),"microStoresRoot"in fe&&i(38,r=fe.microStoresRoot),"uiConfig"in fe&&i(39,o=fe.uiConfig),"title"in fe&&i(1,s=fe.title),"thumbUrl"in fe&&i(2,a=fe.thumbUrl),"videoLogoUrl"in fe&&i(3,c=fe.videoLogoUrl),"interactiveContainer"in fe&&i(4,f=fe.interactiveContainer),"subtitles"in fe&&i(40,d=fe.subtitles),"live"in fe&&i(5,h=fe.live),"preload"in fe&&i(41,_=fe.preload),"autoplay"in fe&&i(6,g=fe.autoplay),"volume"in fe&&i(42,w=fe.volume),"muted"in fe&&i(43,b=fe.muted),"fromTime"in fe&&i(44,C=fe.fromTime),"canRewindLive"in fe&&i(7,k=fe.canRewindLive),"showAds"in fe&&i(8,y=fe.showAds),"adsSlotId"in fe&&i(9,V=fe.adsSlotId),"adsParams"in fe&&i(10,Q=fe.adsParams),"adsPreviewParam"in fe&&i(11,A=fe.adsPreviewParam),"duration"in fe&&i(12,z=fe.duration),"logoClickable"in fe&&i(13,se=fe.logoClickable),"logoHidden"in fe&&i(14,re=fe.logoHidden),"isMobile"in fe&&i(15,Z=fe.isMobile),"showNextPrevButtons"in fe&&i(16,Y=fe.showNextPrevButtons),"nextButtonActive"in fe&&i(17,O=fe.nextButtonActive),"prevButtonActive"in fe&&i(18,J=fe.prevButtonActive),"endScreenVideoTitle"in fe&&i(19,L=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&i(20,B=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&i(21,te=fe.isOneVideoPlaylist),"supportLink"in fe&&i(22,P=fe.supportLink),"outerContainerRef"in fe&&i(23,ee=fe.outerContainerRef),"fullScreenTarget"in fe&&i(24,Pe=fe.fullScreenTarget),"failoverHosts"in fe&&i(45,ye=fe.failoverHosts),"showMiniTimer"in fe&&i(25,Ie=fe.showMiniTimer),"playNextVideo"in fe&&i(26,Re=fe.playNextVideo),"playPrevVideo"in fe&&i(27,_e=fe.playPrevVideo),"repeatPlaylist"in fe&&i(28,Ce=fe.repeatPlaylist),"seekToInteractive"in fe&&i(29,q=fe.seekToInteractive),"toggleGraph"in fe&&i(30,x=fe.toggleGraph),"playPrevChapter"in fe&&i(31,ce=fe.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&l.ui.isMobile.set(Z)},[l,s,a,c,f,h,g,k,y,V,Q,A,z,se,re,Z,Y,O,J,L,B,te,P,ee,Pe,Ie,Re,_e,Ce,q,x,ce,rt,ue,le,Oe,Le,n,r,o,d,_,w,b,C,ye,pe,Ge,Ne,Je,xe,ct,It,vt,Gt,_t,ze]}class I_ extends ke{constructor(e){super(),we(this,e,E_,P_,be,{sources:37,store:0,microStoresRoot:38,uiConfig:39,title:1,thumbUrl:2,videoLogoUrl:3,interactiveContainer:4,subtitles:40,live:5,preload:41,autoplay:6,volume:42,muted:43,fromTime:44,canRewindLive:7,showAds:8,adsSlotId:9,adsParams:10,adsPreviewParam:11,duration:12,logoClickable:13,logoHidden:14,isMobile:15,showNextPrevButtons:16,nextButtonActive:17,prevButtonActive:18,endScreenVideoTitle:19,endScreenVideoThumb:20,isOneVideoPlaylist:21,supportLink:22,outerContainerRef:23,fullScreenTarget:24,failoverHosts:45,showMiniTimer:25,playNextVideo:26,playPrevVideo:27,repeatPlaylist:28,seekToInteractive:29,toggleGraph:30,playPrevChapter:31,initVideo:46,play:47,pause:48,setMuted:49,setVolume:50,seekTime:32,seekEpisodeStartTime:51,returnFocusToEpisodes:52,setPlaybackRate:53,setAutoQualityLimits:54},C_,[-1,-1,-1])}get initVideo(){return this.$$.ctx[46]}get play(){return this.$$.ctx[47]}get pause(){return this.$$.ctx[48]}get setMuted(){return this.$$.ctx[49]}get setVolume(){return this.$$.ctx[50]}get seekTime(){return this.$$.ctx[32]}get seekEpisodeStartTime(){return this.$$.ctx[51]}get returnFocusToEpisodes(){return this.$$.ctx[52]}get setPlaybackRate(){return this.$$.ctx[53]}get setAutoQualityLimits(){return this.$$.ctx[54]}}function A_(t){let e,i;return{c(){e=N("svg"),i=N("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,l){T(n,e,l),p(e,i)},p(n,[l]){l&1&&u(i,"fill",n[0])},i:K,o:K,d(n){n&&S(e)}}}function L_(t,e,i){let{isWhite:n=!1}=e,l;return t.$$set=r=>{"isWhite"in r&&i(1,n=r.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,l=n?"#fff":"#909499")},[l,n]}class V_ extends ke{constructor(e){super(),we(this,e,L_,A_,be,{isWhite:1})}}function M_(t){Ke(t,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function u1(t){let e,i;return{c(){e=E("div"),i=Fe(t[0]),u(e,"class","title v-1y9fytq")},m(n,l){T(n,e,l),p(e,i)},p(n,l){l&1&&it(i,n[0])},d(n){n&&S(e)}}}function c1(t){let e,i;return e=new V_({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,l){F(e,n,l),i=!0},p(n,l){const r={};l&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){i||(m(e.$$.fragment,n),i=!0)},o(n){v(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function B_(t){let e,i,n,l,r=t[0]&&u1(t),o=(!t[0]||!t[1])&&c1(t);return{c(){e=E("div"),r&&r.c(),i=R(),o&&o.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(s,a){T(s,e,a),r&&r.m(e,null),p(e,i),o&&o.m(e,null),l=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=u1(s),r.c(),r.m(e,i)):r&&(r.d(1),r=null),!s[0]||!s[1]?o?(o.p(s,a),a&3&&m(o,1)):(o=c1(s),o.c(),m(o,1),o.m(e,null)):o&&(de(),v(o,1,1,()=>{o=null}),me()),(!l||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){l||(m(o),l=!0)},o(s){v(o),l=!1},d(s){s&&S(e),r&&r.d(),o&&o.d()}}}function N_(t,e,i){let{title:n}=e,{thumbUrl:l}=e;return t.$$set=r=>{"title"in r&&i(0,n=r.title),"thumbUrl"in r&&i(1,l=r.thumbUrl)},[n,l]}class R_ extends ke{constructor(e){super(),we(this,e,N_,B_,be,{title:0,thumbUrl:1},M_)}}class O_{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:i="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:i,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",i=>null],["seekbackward",i=>null],["seekforward",i=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[i,n]of e)try{navigator.mediaSession.setActionHandler(i,n)}catch(l){throw new Error(`The media session action "${i}" is not supported yet.`)}}}function D_(t){let e,i,n,l;return{c(){e=N("svg"),i=N("g"),n=N("path"),l=N("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(l,"d","M30.5 33.8c0-1.68 0-2.52.327-3.162a3 3 0 0 1 1.311-1.311C32.78 29 33.62 29 35.3 29h6.4c1.68 0 2.52 0 3.162.327a3 3 0 0 1 1.311 1.311c.327.642.327 1.482.327 3.162v13.4c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C44.22 52 43.38 52 41.7 52h-6.4c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C30.5 49.72 30.5 48.88 30.5 47.2V33.8Z"),u(i,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,o){T(r,e,o),p(e,i),p(i,n),p(i,l)},p:K,i:K,o:K,d(r){r&&S(e)}}}class z_ extends ke{constructor(e){super(),we(this,e,null,D_,be,{})}}function F_(t){Ke(t,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function H_(t){let e,i,n,l,r,o,s;return n=new z_({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),l=R(),r=E("span"),o=Fe(t[0]),u(i,"class","dummy-image v-1pbsod4"),M(i,"desktop",!t[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),M(e,"is-pip-api",t[2])},m(a,c){T(a,e,c),p(e,i),F(n,i,null),p(e,l),p(e,r),p(r,o),s=!0},p(a,[c]){(!s||c&2)&&M(i,"desktop",!a[1]),(!s||c&1)&&it(o,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&S(e),H(n)}}}function U_(t,e,i){let n,l;const r=Tt(),o=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;D(t,s,f=>i(5,n=f));const a=r.ui.isMobile;D(t,a,f=>i(1,l=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&G("pip_dummy_title"))},[c,l,o,s,a,n]}class q_ extends ke{constructor(e){super(),we(this,e,U_,H_,be,{},F_)}}const j_=460,W_=280;class yf{constructor(){this.info={isActive$:new ie.ValueSubject(!1),type:Dn.DocumentPictureInPicture}}isSupported(){const e=ie.getCurrentBrowser().browser===ie.CurrentClientBrowser.Yandex,{isEmbed:i}=ie.detectEmbed();return"documentPictureInPicture"in window&&!e&&!i}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,i){this.playerDomElement=e,this.playerParentShadowRoot=i}setContext(e){this.svelteContext=e}async request(){var e,i;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:j_,height:W_,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),l=document.createElement("style");l.textContent=n;const r=this.createStretchedContainer(),o=r.attachShadow({mode:"open"});o.append(l),o.append(this.playerDomElement),this.playerDummyElement=new q_({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(i=this.pipWindow)===null||i===void 0||i.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var i;(i=documentPictureInPicture.window)===null||i===void 0||i.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Z_(t){return t instanceof yf}class K_{static getLatestSupportedVersion(){const e=new dr,i=new yf;if(i.isSupported())return i;if(e.isSupported())return e}}function f1(t,e){var i,n;const l=new Set([...Object.keys(t),...Object.keys(e)]),r={};for(const o of l)r[o]=(n=(i=e[o])!==null&&i!==void 0?i:t[o])!==null&&n!==void 0?n:void 0;return r}const G_="Inner error. Unexpectedly root annotation container null reference exception",Y_="Annotation with such name already exists",Q_="Annotation with such name does not exist";class Yl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const X_="1",J_=100;class x_{constructor(e){this.annotations=new Map,this.subscriptions=new ie.Subscription,this.rootAnnotationsContainer=e;const i=ie.throttleFn(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},J_);this.subscriptions.add(ie.observeElementSize(this.rootAnnotationsContainer).subscribe(({width:n,height:l})=>{this.playerSize={width:n,height:l},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){var n;if(!this.rootAnnotationsContainer)throw new Yl(G_);if(this.annotations.has(e))throw new Yl(Y_);i.style.zIndex=(n=i.style.zIndex)!==null&&n!==void 0?n:X_,i.style.position="absolute",this.rootAnnotationsContainer.append(i),this.annotations.set(e,i)}get(e){const i=this.annotations.get(e);if(!i)throw new Yl(Q_);return i}remove(e){const i=this.get(e);this.annotations.delete(e)&&i.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,i,n){const l=e.offsetTop,r=e.offsetLeft,o=e.offsetWidth,s=e.offsetHeight;return l<0||r<0||r+o>i||l+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Cr{init(e,i){return ie.assertNonNullable(e),ie.assertNonNullable(i),this.subscription=new ie.Subscription,this.subscription}}class $_ extends Cr{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Me(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:l}=e.state;return n.add(l.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class e6 extends Cr{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Me(null),toggle:()=>this.state$.update(e=>!e)}}init(e,i){const n=super.init(e,i),{fakeIsPlaying$:l}=i,{isInteractiveExpectation$:r,isPlaying$:o}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=et(a),f=()=>c&&et(s);return n.add(s.subscribe(d=>{if(!c)return;const h=et(l);et(o)?this.state$.set(d):h!==null&&this.state$.set(!h||d)})),n.add(o.subscribe(d=>{this.state$.set(!d||f())})),n.add(l.subscribe(d=>{if(d===null)return;const h=et(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!d)})),n}}class t6 extends Cr{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Me("tooltip_chapter_without_interactive")}init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(l=>{l.length&&(l.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const i6=()=>[$_,e6,t6].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),n6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:ie.InterfaceLanguage.RU,logoClickable:!1,logoHidden:!1,isMobile:ie.isMobile(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class o6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new ie.Logger,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new ie.Subscription,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(i=>{console.log("%c player web component ","background:#77dd77;",`${i.component}`,i.message)}))}connectedCallback(){var e,i;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,l=(i=this.getAttribute("stub-thumb-url"))!==null&&i!==void 0?i:void 0;this.svelteStubComponent=new R_({target:this.playerContainer,props:{title:n,thumbUrl:l}})}disconnectedCallback(){var e,i,n,l,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(l=this.unsubscribePlayerPhaseSubscription)===null||l===void 0||l.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var i;const n=(i=this.store)===null||i===void 0?void 0:i.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,i={},n){var l,r,o,s,a,c,f,d,h,_,g,w,b;if(!this.videoConfig)return;const{albumId:C,statPlace:k,statUserSalt:y,statAuthToken:V,statTrackCode:Q,refreshStatAuthToken:A,preload:z,autoplay:se,volume:re,muted:Z,fromTime:Y,canRewindLive:O,supportLink:J,showAds:L,adsSlotId:B,adsParams:te={},adsPreviewParam:P,interfaceLanguage:ee,logoClickable:Pe,logoHidden:ye,isMobile:Ie,isAudioDisabled:Re,isLiveCatchUpMode:_e,fullScreenTarget:Ce,failoverHosts:q,canDownload:x,callbacks:ce,interactiveData:ae,showThumbTimer:We,additionalButtons:Oe=[],repeat:Ve}=f1(this.videoConfig,i),{sources:Ae,title:ue,thumbUrl:he,videoLogoUrl:le,unitedVideoId:Le,isClip:pe=!1,duration:Te,adsParams:Ge={},videoEpisodes:Ne,previewThumbsData:Je,subtitles:xe,live:rt}=e,ct={...te,...Ge},It=this.getNextVideoInfo(),vt={sources:Ae,title:ue,thumbUrl:he,subtitles:xe,unitedVideoId:Le,isClip:pe,live:rt,albumId:C,statPlace:k,autoplay:se,muted:Z,volume:re,fromTime:Y,canRewindLive:O,showAds:L,adsSlotId:B,adsParams:ct,adsPreviewParam:P,duration:Te,logoClickable:Pe,logoHidden:ye,isMobile:Ie,repeat:Ve,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:It.nextVideoTitle,endScreenVideoThumb:It.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Gt={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(vt)}`});const _t=this.uiConfig.features.statistics&&!!Le,{pid:ze}=((r=(l=this.videoConfig)===null||l===void 0?void 0:l.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};_t&&(this.statistics=new U5({movieId:Le,albumId:C,place:k,trackCode:Q,autoplay:(o=se&&!this.interactiveController)!==null&&o!==void 0?o:!1,mobile:Ie,clip:pe,...ze&&!this.isInited&&{projectId:Number(ze)}},{refreshAuthToken:A,userSalt:y,config:this.statisticsConfig,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}})),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new ir(this.uiConfig.sentry,{version:ml,env:P0},{movieId:Le,albumId:C,place:k,autoplay:(s=se&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Ie,clip:pe}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=this.statistics)===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.sentry={...this.sentry,...ir.getInstance()};const wt=!!ae,at=[];let Vt="tooltip_interactive_go_back_disabled_first";if(wt&&this.interactiveController){const $e=this.interactiveController.state.isInitialChapter$.getValue(),Ze=this.interactiveController.getHistoryState();$e&&at.push(dt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||at.push(dt.SEEK_TO_INTERACTIVE_BUTTON),Ze.hasPrevChapter$.getValue()||(at.push(dt.PLAY_PREV_CHAPTER_BUTTON),$e||(Ze.isGoBackLimited$.getValue()?Vt="tooltip_interactive_go_back_disabled_limit":Vt="tooltip_interactive_go_back_disabled"))}const mt=()=>{var $e;this.isInited=!1,this.prevIsid=void 0;const Ze=(n==null?void 0:n.info.isEnded$.getValue())&&(($e=this.interactiveController)===null||$e===void 0?void 0:$e.state.isEndChapter$.getValue());ce.onReplayInteractiveVideo&&!Ze?ce.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=q5({player:n,interfaceLanguage:ee,videoId:Le,isClip:pe,isLiveCatchUpMode:_e,isAudioDisabled:Re,statAuthToken:V,callbacks:ce,webApi:Gt,videoEpisodes:Ne,previewThumbsData:Je,canDownload:x,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:at,isInteractive:wt,interactiveRanges$:(f=this.interactiveController)===null||f===void 0?void 0:f.state.interactiveRanges$,isInteractiveTime$:(d=this.interactiveController)===null||d===void 0?void 0:d.state.isInteractiveTime$,replayInteractive:mt,playPrevChapterDisabledTooltip:Vt,hasInteractiveBranches:!!(!((_=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||_===void 0)&&_.length),additionalButtons:this.uiConfig.features.additionalButtons?Oe:[],looped:Ve&&this.videoConfig.videos.length===1,statistics:this.statistics});const{stores:Pt}=this.microStoresRoot=i6();this.subscription.add(this.store.state.currentFormat$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onCurrentFormatChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(Pt.interactiveControlsOpacity$.subscribe($e=>{var Ze;$e!==null&&((Ze=this===null||this===void 0?void 0:this.interactiveController)===null||Ze===void 0||Ze.setDisabledControls($e))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onThroughputEstimationChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onTrafficSavingEnabledChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onCurrentPlaybackRateChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.volume$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onVolumeChange)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.muted$.subscribe($e=>{var Ze,Et;return $e?(Ze=ce==null?void 0:ce.onMute)===null||Ze===void 0?void 0:Ze.call(ce):(Et=ce==null?void 0:ce.onUnmute)===null||Et===void 0?void 0:Et.call(ce)})),this.subscription.add(this.store.state.videoBitrate$.subscribe($e=>{var Ze;return(Ze=ce==null?void 0:ce.onVideoBitrateChanged)===null||Ze===void 0?void 0:Ze.call(ce,$e)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe($e=>{var Ze;const Et=(Ze=this.store)===null||Ze===void 0?void 0:Ze.ui.controls.disabledControls$;Et&&($e&&!Et.includes(al)&&Et.add(al),$e||Et.remove(al))})),this.initMediaSession(),this.interactiveController&&_t&&this.initInteractivesStatistics(),this.svelteRootComponent=new I_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ae,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:ue,thumbUrl:he,videoLogoUrl:le,subtitles:xe,live:rt,preload:z,autoplay:se,muted:Z,volume:re,fromTime:Y,canRewindLive:O,supportLink:J,showAds:L,adsSlotId:B,adsParams:ct,adsPreviewParam:P,duration:Te,logoClickable:Pe,logoHidden:ye,isMobile:Ie,failoverHosts:q,fullScreenTarget:Ce,showMiniTimer:We,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:It.nextVideoTitle,endScreenVideoThumb:It.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(w=(g=this.videoConfig)===null||g===void 0?void 0:g.callbacks)===null||w===void 0?void 0:w.onInited)===null||b===void 0||b.call(w))}addPlayerInfoSubscriptions(){var e;const i=this.store;if(!i)return;const n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(i.playerPhase.subscribe(r=>{var o;return(o=n.onPlayerPhaseChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.playbackState$.subscribe(r=>{var o;return(o=n.onPlaybackStateChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isLive$.subscribe(r=>{var o;return(o=n.onIsLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isActiveLive$.subscribe(r=>{var o;return(o=n.onIsActiveLiveChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.isAudioAvailable$.subscribe(r=>{var o;return(o=n.onIsAudioAvailableChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.currentQuality$.subscribe(r=>{var o;return(o=n.onCurrentQualityChanged)===null||o===void 0?void 0:o.call(n,r)})).add(i.state.availableQualities$.subscribe(r=>{var o;return(o=n.onAvailableQualitiesChanged)===null||o===void 0?void 0:o.call(n,r.map(({value:s})=>s).filter(s=>s!==wo.AUTO))})).add(i.ui.isPictureInPictureActive$.subscribe(r=>{var o,s;return r?(o=n.onPiPEnter)===null||o===void 0?void 0:o.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const l=n==null?void 0:n.uiInfo;l&&this.subscription.add(i.ui.controlsVisible.subscribe(r=>{var o;return(o=l.onControlsVisibleChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.isMobile.subscribe(r=>{var o;return(o=l.onIsMobileChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.playerSize.subscribe(r=>{var o;return(o=l.onPlayerSizeChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.prevButton.subscribe(r=>{var o;return(o=l.onPrevButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playButton.subscribe(r=>{var o;return(o=l.onPlayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.replayButton.subscribe(r=>{var o;return(o=l.onReplayButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.nextButton.subscribe(r=>{var o;return(o=l.onNextButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.playPrevChapterButton.subscribe(r=>{var o;return(o=l.onPlayPrevChapterChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.seekToInteractiveButton.subscribe(r=>{var o;return(o=l.onSeekToInteractiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveGraphButton.subscribe(r=>{var o;return(o=l.onGraphButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.liveButton.subscribe(r=>{var o;return(o=l.onLiveButtonChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.time.subscribe(r=>{var o;return(o=l.onTimeUpdateChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.episodes.subscribe(r=>{var o;return(o=l.onEpisodesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.subtitles.subscribe(r=>{var o;return(o=l.onSubtitlesChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.settings.subscribe(r=>{var o;return(o=l.onSettingsChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.fullscreen.subscribe(r=>{var o;return(o=l.onFullscreenChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.chromecast.subscribe(r=>{var o;return(o=l.onChromecastChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.pip.subscribe(r=>{var o;return(o=l.onPipChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.vkLogo.subscribe(r=>{var o;return(o=l.onVkLogoChanged)===null||o===void 0?void 0:o.call(l,r)})).add(i.ui.controls.interactiveTimeIndicator.subscribe(r=>{var o;return(o=l.onInteractiveTimeIconChanged)===null||o===void 0?void 0:o.call(l,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{i=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let i=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{i=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}i&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,i=!0){var n;if(!this.videoConfig)return;const l=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!l){this.log({message:"no next video"});return}this.isInited&&ie.isNonNullable(l.unitedVideoId)&&this.store.actions.internal.nextMovie(l.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(l,{autoplay:i,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const i=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof i=="number"&&this.seekTime(i/1e3)}toggleGraph(){var e,i;if(!this.isInited)return;const n=this.store,{isEnded$:l,playbackState$:r,graphIsOpened$:o}=n.state,{disabledControls$:s}=n.ui.controls,a=et(l),c=et(r);et(o)?(o.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(zr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",o.set(!0),(i=this.interactiveController)===null||i===void 0||i.toggleGraphView(!0),s.add(zr),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,i,n,l;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:o,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(i=this.store)===null||i===void 0?void 0:i.interfaceLanguage$,c=a?et(a):this.videoConfig.interfaceLanguage,{projectInfo:f,initChapterId:d,historyApi:h,videoLoader:_}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,initChapterId:d,historyApi:h,vkVideoLoader:_,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,config:this.uiConfig.interactive,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:g}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const C=this.store;b?C.ui.controls.disabledControls$.remove(dt.SEEK_TO_INTERACTIVE_BUTTON):C.ui.controls.disabledControls$.add(dt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(g.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let w=!0;if(this.interactiveController.on(o.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...b.config,title:(f==null?void 0:f.title)||b.config.title};const C=w?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,C),w&&(w=!1)}),this.interactiveController.on(o.interactives,({type:b,actionType:C})=>{var k,y,V,Q;if(!this.store)return;const A=g.getValue();if(b==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(C1)),b==="action-choice-canceled"){const z=et(this.store.state.isPlaying$)||A;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&z){this.store.ui.interactiveHideMobileControls.set(!0);return}(Q=(y=this.videoConfig)===null||y===void 0?void 0:(V=y.callbacks).onDisabledInteractiveClick)===null||Q===void 0||Q.call(V)}}),!((l=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||l===void 0)&&l.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(C=>{var k,y,V;C.length&&((V=(y=(k=this.videoConfig)===null||k===void 0?void 0:k.callbacks)===null||y===void 0?void 0:y.onInteractiveHistoryChanged)===null||V===void 0||V.call(y,C))}))}this.uiConfig.features.interactiveTimeIndicator&&this.subscription.add(this.interactiveController.events.noInteraction$.subscribe(()=>{var b,C,k,y;(b=this.store)===null||b===void 0||b.state.showInteractiveTimeIndicatorTooltip$.set(!0),(y=(C=this.videoConfig)===null||C===void 0?void 0:(k=C.callbacks).onInteractiveTimeIndicatorClick)===null||y===void 0||y.call(k)})),this.interactiveController.on(o.errors,b=>{this.log({message:b.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,i;const{statSubscription:n,oneStat:l}=this.statistics;if(!(!n||!l||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.cjs.js"),o={[r.GO_NEXT_BUTTON]:St.InteractiveInterfaceClick.NEXT_BUTTON,[r.GO_NEXT_AREA]:St.InteractiveInterfaceClick.NEXT_AREA,[r.WATCH_AGAIN]:St.InteractiveInterfaceClick.WATCH_AGAIN,[r.OPEN_GRAPH]:St.InteractiveInterfaceClick.GRAPH_SHOW,[r.CLOSE_GRAPH]:St.InteractiveInterfaceClick.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new ie.Subject;s.subscribe(f=>{var d,h;f in o?c.next(o[f]):(l==null||l.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(d=this.sentry).report)===null||h===void 0||h.call(d,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(l.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){l==null||l.logError({errorType:"InteractiveVideos",fatal:!1}),(i=(e=this.sentry).report)===null||i===void 0||i.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){var n,l,r,o,s,a,c,f,d,h,_,g,w,b,C,k,y,V,Q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=f1(n6,ie.cloneDeepWith(e,A=>A instanceof HTMLElement?A:void 0)),this.uiConfig=g0((n=i.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(l=i.core)!==null&&l!==void 0?l:{configName:[]},this.statisticsConfig=(r=i.statistics)!==null&&r!==void 0?r:{},this.sentry={config:(o=this.uiConfig.sentry)!==null&&o!==void 0?o:{}},ie.isNonNullable(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),ie.isNonNullable(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(d=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&d!==void 0?d:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(V=this.videoConfig).autoplay&&(V.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(w=this.uiConfig.ads.preview)!==null&&w!==void 0?w:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((b=this.uiConfig.showLogo)!==null&&b!==void 0?b:!this.videoConfig.logoHidden),(Q=this.videoConfig).canRewindLive&&(Q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=K_.getLatestSupportedVersion():this.pictureInPictureApi=new dr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new O_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new x_(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(y=this.svelteRootComponent)===null||y===void 0||y.$destroy(),this.isInited=!1,this.prevIsid=void 0,this.interactiveController&&(this.interactiveController.destroy(),this.interactiveController=void 0),e.interactiveData?this.initInteractives():this.createPlayer(e.videos[0]),Z_(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var i;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(i=this.svelteRootComponent)===null||i===void 0||i.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,i;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(i=this.store)===null||i===void 0?void 0:i.playerPhase.subscribe(n=>{n===De.Video?this.setupMediaSessionForVideo():n===De.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:i}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",l=>this.seekTime(l.seekTime)]];this.videoConfig.videos.length>1&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1&&n.push(["nexttrack",()=>this.playNextVideo()]),this.currentPlayingVideoIndex>0&&n.push(["previoustrack",()=>this.playPrevVideo()])),this.mediaSessionApi.setMetaData({title:e,thumbUrl:i}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",i=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(i)}catch(e){this.log({message:e.message})}}play(){var e,i;this.isControlDisabled(dt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(De.WaitingLive)||(this.log({message:"play"}),(i=this.svelteRootComponent)===null||i===void 0||i.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,i;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((i=this.svelteRootComponent)===null||i===void 0||i.$destroy(),this.createPlayer(n))}setMuted(e){var i;this.log({message:`set muted, muted: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setMuted(e)}setVolume(e){var i;this.log({message:`set volume, volume: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setVolume(e)}setRepeat(e){var i;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(i=this.svelteRootComponent)===null||i===void 0||i.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var i;this.isControlDisabled(dt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekTime(e))}seekEpisodeStartTime(e){var i;this.log({message:`seek episode start time, time: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var i;this.log({message:`set playback rate to: ${e}`}),(i=this.svelteRootComponent)===null||i===void 0||i.setPlaybackRate(e)}setAutoQualityLimits(e){var i,n,l;this.log({message:`set auto quality limitation. Max: ${(i=e.max)!==null&&i!==void 0?i:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(l=this.svelteRootComponent)===null||l===void 0||l.setAutoQualityLimits(e)}addLanguage(e){var i;(i=this.store)===null||i===void 0||i.actions.internal.addLanguage(e)}async setLanguage(e){var i;await((i=this.store)===null||i===void 0?void 0:i.actions.internal.setLanguage(e))}setLiveStart(e){var i,n;this.log({message:"live started"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,i;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(i=this.store)===null||i===void 0||i.destroy()}setLiveEnd(e){var i,n;this.log({message:"live ended"}),(i=this.store)===null||i===void 0||i.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,i;return(i=(e=this.statistics)===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&i!==void 0?i:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const l6=()=>{window.customElements.define("vk-video-player",o6)};Object.defineProperty(exports,"VideoFormat",{enumerable:!0,get:function(){return tt.VideoFormat}});Object.defineProperty(exports,"VideoQuality",{enumerable:!0,get:function(){return tt.VideoQuality}});Object.defineProperty(exports,"InterfaceLanguage",{enumerable:!0,get:function(){return ie.InterfaceLanguage}});Object.defineProperty(exports,"VKNumericLanguage",{enumerable:!0,get:function(){return ie.VKNumericLanguage}});Object.defineProperty(exports,"loadVKLangPack",{enumerable:!0,get:function(){return ie.loadVKLangPack}});exports.VERSION=ml;exports.registerPlayerWebComponent=l6;