@vkontakte/videoplayer 1.1.35 → 1.1.36-dev.35d4a782.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/evergreen.esm.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35
3
- * Thu, 23 May 2024 14:05:23 GMT
4
- * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
2
+ * @vkontakte/videoplayer v1.1.36-dev.35d4a782.0
3
+ * Tue, 28 May 2024 11:15:16 GMT
4
+ * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-36/doc/
5
5
  */
6
- import{VERSION as fc,ChromecastState as Sn,PlaybackState as Ft,VideoQuality as co,Player as dc,VideoFormat as Eo}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as d5,VideoQuality as m5}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as Bo,VideoQuality as xo,fillWithDefault as mc,VERSION as pc,assertNonNullable as ot,safeStorage as _n,isNullable as tl,Subscription as Un,isNonNullable as gn,isMacLike as es,debounceFn as hc,ValueSubject as El,getCurrentBrowser as Al,CurrentClientBrowser as r1,noop as Ge,checkNever as gc,timeCodeToString as bc,Subject as mn,addScript as _c,Logger as a1,merge as vc,Observable as wc,map as kc,loadVKLangPack as yc,isIOS as Ll,getHighestQuality as Cc,throttleFn as ol,CurrentClientDevice as Pc,getIOSVersion as Sc,detectEmbed as Tc,observeElementSize as Ec,isMobile as Ac,cloneDeepWith as Lc}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as h5,VKNumericLanguage as g5,loadVKLangPack as b5}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as Ic,SeekAction as Vt,OneStat as Vc,InteractiveInterfaceClick as Ao}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";function Z(){}function u1(t,e){for(const i in e)t[i]=e[i];return t}function c1(t){return t()}function ts(){return Object.create(null)}function $e(t){t.forEach(c1)}function bn(t){return typeof t=="function"}function he(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let qo;function is(t,e){return qo||(qo=document.createElement("a")),qo.href=e,t===qo.href}function Mc(t){return Object.keys(t).length===0}function Gt(t,...e){if(t==null){for(const n of e)n(void 0);return Z}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Qe(t){let e;return Gt(t,i=>e=i)(),e}function D(t,e,i){t.$$.on_destroy.push(Gt(e,i))}function Rn(t,e,i,n){if(t){const o=f1(t,e,i,n);return t[0](o)}}function f1(t,e,i,n){return t[1]&&n?u1(i.ctx.slice(),t[1](n(e))):i.ctx}function Nn(t,e,i,n){if(t[2]&&n){const o=t[2](n(i));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function zn(t,e,i,n,o,s){if(o){const l=f1(e,i,n,s);t.p(l,o)}}function Dn(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 Bc(t){return t??""}const d1=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function m(t,e){t.appendChild(e)}function Oe(t,e,i){const n=Rc(t);if(!n.getElementById(e)){const o=E("style");o.id=e,o.textContent=i,Nc(n,o)}}function Rc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Nc(t,e){return m(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 vn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function E(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Ne(t){return document.createTextNode(t)}function z(){return Ne(" ")}function lt(){return Ne("")}function pe(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function tt(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 zc(t){return Array.from(t.childNodes)}function Xe(t,e){e=""+e,t.data!==e&&(t.data=e)}function St(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Zo;function Dc(){if(Zo===void 0){Zo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Zo=!0}}return Zo}function Il(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 o=Dc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=pe(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=pe(n.contentWindow,"resize",e),e()}),m(t,n),()=>{(o||s&&n.contentWindow)&&s(),S(n)}}function B(t,e,i){t.classList.toggle(e,!!i)}function Tn(t,e){return new t(e)}let Vo;function Io(t){Vo=t}function Ro(){if(!Vo)throw new Error("Function called outside component initialization");return Vo}function sn(t){Ro().$$.on_mount.push(t)}function ll(t){Ro().$$.on_destroy.push(t)}function kl(t,e){return Ro().$$.context.set(t,e),e}function Vl(t){return Ro().$$.context.get(t)}function m1(){return Ro().$$.context}function go(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const fo=[],ve=[];let po=[];const yl=[],p1=Promise.resolve();let Cl=!1;function h1(){Cl||(Cl=!0,p1.then(g1))}function No(){return h1(),p1}function bo(t){po.push(t)}function He(t){yl.push(t)}const fl=new Set;let ro=0;function g1(){if(ro!==0)return;const t=Vo;do{try{for(;ro<fo.length;){const e=fo[ro];ro++,Io(e),Oc(e.$$)}}catch(e){throw fo.length=0,ro=0,e}for(Io(null),fo.length=0,ro=0;ve.length;)ve.pop()();for(let e=0;e<po.length;e+=1){const i=po[e];fl.has(i)||(fl.add(i),i())}po.length=0}while(fo.length);for(;yl.length;)yl.pop()();Cl=!1,fl.clear(),Io(t)}function Oc(t){if(t.fragment!==null){t.update(),$e(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(bo)}}function Hc(t){const e=[],i=[];po.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),po=e}const $o=new Set;let jn;function de(){jn={r:0,c:[],p:jn}}function me(){jn.r||$e(jn.c),jn=jn.p}function d(t,e){t&&t.i&&($o.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if($o.has(t))return;$o.add(t),jn.c.push(()=>{$o.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Ut(t){return t?.length!==void 0?t:Array.from(t)}function Fc(t,e){const i={},n={},o={$$scope:1};let s=t.length;for(;s--;){const l=t[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(i[a]=r[a],o[a]=1);t[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in i||(i[l]=void 0);return i}function Uc(t){return typeof t=="object"&&t!==null?t:{}}function Fe(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 O(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),bo(()=>{const s=t.$$.on_mount.map(c1).filter(bn);t.$$.on_destroy?t.$$.on_destroy.push(...s):$e(s),t.$$.on_mount=[]}),o.forEach(bo)}function H(t,e){const i=t.$$;i.fragment!==null&&(Hc(i.after_update),$e(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function qc(t,e){t.$$.dirty[0]===-1&&(fo.push(t),h1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ge(t,e,i,n,o,s,l,r=[-1]){const a=Vo;Io(t);const c=t.$$={fragment:null,ctx:[],props:s,update:Z,not_equal:o,bound:ts(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:ts(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(p,h,..._)=>{const b=_.length?_[0]:h;return c.ctx&&o(c.ctx[p],c.ctx[p]=b)&&(!c.skip_bound&&c.bound[p]&&c.bound[p](b),f&&qc(t,p)),h}):[],c.update(),f=!0,$e(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const p=zc(e.target);c.fragment&&c.fragment.l(p),p.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),O(t,e.target,e.anchor),g1()}Io(a)}class be{$$=void 0;$$set=void 0;$destroy(){H(this,1),this.$destroy=Z}$on(e,i){if(!bn(i))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!Mc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const Zc="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Zc);var _o;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(_o||(_o={}));const Wc={isMobile:void 0,defaultLanguage:Bo.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:_o.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:xo.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}},Kc=t=>mc(t,Wc),jc=t=>kl("ui-config",t),rn=()=>Vl("ui-config"),Pl="vk_player_debug_panel_opened",b1=300,Gc=100,Yc="videoplayer",Qc="videoplayer";var Pe;(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"})(Pe||(Pe={}));const zo={[Pe.KeyF]:"f",[Pe.KeyK]:"k",[Pe.KeyC]:"c",[Pe.KeyM]:"m"},Xc=new Set([Pe.ArrowLeft,Pe.ArrowRight,Pe.KeyL,Pe.KeyJ]),Jc=new Set([Pe.Tab,Pe.Space,Pe.ArrowLeft,Pe.ArrowRight,Pe.ArrowUp,Pe.ArrowDown]),xc=new Set([Pe.ShiftRight,Pe.ShiftLeft]);var nt;(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"})(nt||(nt={}));const ns=40,_1=260,$c=60,Wo=8,v1=[nt.TIMELINE],el=[...v1,nt.GRAPH_BUTTON],os=[...v1,nt.PLAY_BUTTON],w1=[...el,nt.PLAY_BUTTON];var mo;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(mo||(mo={}));var yt;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(yt||(yt={}));const vo={[yt.XS]:0,[yt.S]:1,[yt.M]:2,[yt.L]:3,[yt.XL]:4},ao=[];function Pn(t,e){return{subscribe:Ae(t,e).subscribe}}function Ae(t,e=Z){let i;const n=new Set;function o(r){if(he(t,r)&&(t=r,i)){const a=!ao.length;for(const c of n)c[1](),ao.push(c,t);if(a){for(let c=0;c<ao.length;c+=2)ao[c][0](ao[c+1]);ao.length=0}}}function s(r){o(r(t))}function l(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||Z),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function oi(t,e,i){const n=!Array.isArray(t),o=n?[t]:t;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return Pn(i,(l,r)=>{let a=!1;const c=[];let f=0,p=Z;const h=()=>{if(f)return;p();const b=e(n?c[0]:c,l,r);s?l(b):p=bn(b)?b:Z},_=o.map((b,w)=>Gt(b,v=>{c[w]=v,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){$e(_),p(),a=!1}})}const ef="prod",Ml="1.1.35",k1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},y1=Symbol("storeContext"),C1=Symbol("microStoresContext"),tf=(t,e)=>{kl(y1,t),kl(C1,e)},dt=()=>{const t=Vl(y1);return ot(t,"Store context is empty!"),t},Bl=()=>{const t=Vl(C1);return ot(t,"MicroStores context is empty!"),t},ft=(t,e)=>P1(t,t.getValue(),e),P1=(t,e,i)=>Pn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),nf=(t,e,i)=>{const n=t.info,{width:o,height:s}=Qe(i.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${Ml} (core: ${fc}, stat: ${Ic}, shared: ${pc})`,f=Qe(i.state.errorLog$),p=f.length?`
6
+ import{VERSION as kc,ChromecastState as Sn,PlaybackState as zt,VideoQuality as ao,Player as yc,VideoFormat as Po}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{VideoFormat as E5,VideoQuality as I5}from"@vkontakte/videoplayer-core/evergreen.esm.js";import{InterfaceLanguage as Lo,VideoQuality as Xo,fillWithDefault as Cc,VERSION as Pc,assertNonNullable as ct,safeStorage as _n,isNullable as $o,Subscription as jn,isNonNullable as gn,isMacLike as ss,debounceFn as Sc,ValueSubject as Vl,getCurrentBrowser as Ml,CurrentClientBrowser as h1,noop as Qe,checkNever as Tc,timeCodeToString as Ec,Subject as cn,addScript as Ic,Logger as g1,merge as Ac,Observable as Lc,map as Vc,loadVKLangPack as Mc,isIOS as Bl,getHighestQuality as Bc,throttleFn as il,CurrentClientDevice as Rc,getIOSVersion as Nc,detectEmbed as zc,observeElementSize as Dc,isMobile as Oc,cloneDeepWith as Hc}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{InterfaceLanguage as L5,VKNumericLanguage as V5,loadVKLangPack as M5}from"@vkontakte/videoplayer-shared/evergreen.esm.js";import{VERSION as Fc,SeekAction as Vt,OneStat as Uc,InteractiveInterfaceClick as So}from"@vkontakte/videoplayer-statistics/evergreen.esm.js";import"@vkontakte/videoplayer-interactive/evergreen.esm.js";function Z(){}function b1(t,e){for(const i in e)t[i]=e[i];return t}function _1(t){return t()}function rs(){return Object.create(null)}function it(t){t.forEach(_1)}function bn(t){return typeof t=="function"}function he(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let Fo;function as(t,e){return Fo||(Fo=document.createElement("a")),Fo.href=e,t===Fo.href}function qc(t){return Object.keys(t).length===0}function Gt(t,...e){if(t==null){for(const n of e)n(void 0);return Z}const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function $e(t){let e;return Gt(t,i=>e=i)(),e}function z(t,e,i){t.$$.on_destroy.push(Gt(e,i))}function Rn(t,e,i,n){if(t){const o=v1(t,e,i,n);return t[0](o)}}function v1(t,e,i,n){return t[1]&&n?b1(i.ctx.slice(),t[1](n(e))):i.ctx}function Nn(t,e,i,n){if(t[2]&&n){const o=t[2](n(i));if(e.dirty===void 0)return o;if(typeof o=="object"){const s=[],l=Math.max(e.dirty.length,o.length);for(let r=0;r<l;r+=1)s[r]=e.dirty[r]|o[r];return s}return e.dirty|o}return e.dirty}function zn(t,e,i,n,o,s){if(o){const l=v1(e,i,n,s);t.p(l,o)}}function Dn(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 Zc(t){return t??""}const nl=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function m(t,e){t.appendChild(e)}function Ze(t,e,i){const n=Wc(t);if(!n.getElementById(e)){const o=E("style");o.id=e,o.textContent=i,Kc(n,o)}}function Wc(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Kc(t,e){return m(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 vn(t,e){for(let i=0;i<t.length;i+=1)t[i]&&t[i].d(e)}function E(t){return document.createElement(t)}function R(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function De(t){return document.createTextNode(t)}function N(){return De(" ")}function ut(){return De("")}function me(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Qt(t){return function(e){return e.preventDefault(),t.call(this,e)}}function nt(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 jc(t){return Array.from(t.childNodes)}function xe(t,e){e=""+e,t.data!==e&&(t.data=e)}function Tt(t,e,i,n){i==null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}let Uo;function Gc(){if(Uo===void 0){Uo=!1;try{typeof window<"u"&&window.parent&&window.parent.document}catch{Uo=!0}}return Uo}function Rl(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 o=Gc();let s;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=me(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{s=me(n.contentWindow,"resize",e),e()}),m(t,n),()=>{(o||s&&n.contentWindow)&&s(),S(n)}}function B(t,e,i){t.classList.toggle(e,!!i)}function Tn(t,e){return new t(e)}let Io;function Eo(t){Io=t}function Vo(){if(!Io)throw new Error("Function called outside component initialization");return Io}function rn(t){Vo().$$.on_mount.push(t)}function ol(t){Vo().$$.on_destroy.push(t)}function Sl(t,e){return Vo().$$.context.set(t,e),e}function Nl(t){return Vo().$$.context.get(t)}function w1(){return Vo().$$.context}function po(t,e){const i=t.$$.callbacks[e.type];i&&i.slice().forEach(n=>n.call(this,e))}const uo=[],ve=[];let fo=[];const Tl=[],k1=Promise.resolve();let El=!1;function y1(){El||(El=!0,k1.then(C1))}function Mo(){return y1(),k1}function ho(t){fo.push(t)}function Ue(t){Tl.push(t)}const hl=new Set;let lo=0;function C1(){if(lo!==0)return;const t=Io;do{try{for(;lo<uo.length;){const e=uo[lo];lo++,Eo(e),Yc(e.$$)}}catch(e){throw uo.length=0,lo=0,e}for(Eo(null),uo.length=0,lo=0;ve.length;)ve.pop()();for(let e=0;e<fo.length;e+=1){const i=fo[e];hl.has(i)||(hl.add(i),i())}fo.length=0}while(uo.length);for(;Tl.length;)Tl.pop()();El=!1,hl.clear(),Eo(t)}function Yc(t){if(t.fragment!==null){t.update(),it(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ho)}}function Qc(t){const e=[],i=[];fo.forEach(n=>t.indexOf(n)===-1?e.push(n):i.push(n)),i.forEach(n=>n()),fo=e}const Jo=new Set;let Xn;function ue(){Xn={r:0,c:[],p:Xn}}function ce(){Xn.r||it(Xn.c),Xn=Xn.p}function d(t,e){t&&t.i&&(Jo.delete(t),t.i(e))}function g(t,e,i,n){if(t&&t.o){if(Jo.has(t))return;Jo.add(t),Xn.c.push(()=>{Jo.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Dt(t){return t?.length!==void 0?t:Array.from(t)}function Xc(t,e){const i={},n={},o={$$scope:1};let s=t.length;for(;s--;){const l=t[s],r=e[s];if(r){for(const a in l)a in r||(n[a]=1);for(const a in r)o[a]||(i[a]=r[a],o[a]=1);t[s]=r}else for(const a in l)o[a]=1}for(const l in n)l in i||(i[l]=void 0);return i}function Jc(t){return typeof t=="object"&&t!==null?t:{}}function qe(t,e,i){const n=t.$$.props[e];n!==void 0&&(t.$$.bound[n]=i,i(t.$$.ctx[n]))}function U(t){t&&t.c()}function O(t,e,i){const{fragment:n,after_update:o}=t.$$;n&&n.m(e,i),ho(()=>{const s=t.$$.on_mount.map(_1).filter(bn);t.$$.on_destroy?t.$$.on_destroy.push(...s):it(s),t.$$.on_mount=[]}),o.forEach(ho)}function H(t,e){const i=t.$$;i.fragment!==null&&(Qc(i.after_update),it(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function xc(t,e){t.$$.dirty[0]===-1&&(uo.push(t),y1(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ge(t,e,i,n,o,s,l,r=[-1]){const a=Io;Eo(t);const c=t.$$={fragment:null,ctx:[],props:s,update:Z,not_equal:o,bound:rs(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:rs(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=i?i(t,e.props||{},(p,h,..._)=>{const b=_.length?_[0]:h;return c.ctx&&o(c.ctx[p],c.ctx[p]=b)&&(!c.skip_bound&&c.bound[p]&&c.bound[p](b),f&&xc(t,p)),h}):[],c.update(),f=!0,it(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const p=jc(e.target);c.fragment&&c.fragment.l(p),p.forEach(S)}else c.fragment&&c.fragment.c();e.intro&&d(t.$$.fragment),O(t,e.target,e.anchor),C1()}Eo(a)}class be{$$=void 0;$$set=void 0;$destroy(){H(this,1),this.$destroy=Z}$on(e,i){if(!bn(i))return Z;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const o=n.indexOf(i);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!qc(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const $c="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($c);var go;(function(t){t.VK="vk",t.VK_VIDEO="vk_video"})(go||(go={}));const ef={isMobile:void 0,defaultLanguage:Lo.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:go.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Xo.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}},tf=t=>Cc(t,ef),nf=t=>Sl("ui-config",t),an=()=>Nl("ui-config"),Il="vk_player_debug_panel_opened",P1=300,of=100,lf="videoplayer",sf="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 Bo={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},rf=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),af=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),uf=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var st;(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"})(st||(st={}));const us=40,S1=260,cf=60,qo=8,T1=[st.TIMELINE],xo=[...T1,st.GRAPH_BUTTON],cs=[...T1,st.PLAY_BUTTON],E1=[...xo,st.PLAY_BUTTON];var co;(function(t){t[t.XS=320]="XS",t[t.S=509]="S",t[t.M=599]="M",t[t.L=699]="L"})(co||(co={}));var kt;(function(t){t.XS="xs",t.S="s",t.M="m",t.L="l",t.XL="xl"})(kt||(kt={}));const bo={[kt.XS]:0,[kt.S]:1,[kt.M]:2,[kt.L]:3,[kt.XL]:4},so=[];function Pn(t,e){return{subscribe:Ve(t,e).subscribe}}function Ve(t,e=Z){let i;const n=new Set;function o(r){if(he(t,r)&&(t=r,i)){const a=!so.length;for(const c of n)c[1](),so.push(c,t);if(a){for(let c=0;c<so.length;c+=2)so[c][0](so[c+1]);so.length=0}}}function s(r){o(r(t))}function l(r,a=Z){const c=[r,a];return n.add(c),n.size===1&&(i=e(o,s)||Z),r(t),()=>{n.delete(c),n.size===0&&i&&(i(),i=null)}}return{set:o,update:s,subscribe:l}}function Ni(t,e,i){const n=!Array.isArray(t),o=n?[t]:t;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const s=e.length<2;return Pn(i,(l,r)=>{let a=!1;const c=[];let f=0,p=Z;const h=()=>{if(f)return;p();const b=e(n?c[0]:c,l,r);s?l(b):p=bn(b)?b:Z},_=o.map((b,w)=>Gt(b,v=>{c[w]=v,f&=~(1<<w),a&&h()},()=>{f|=1<<w}));return a=!0,h(),function(){it(_),p(),a=!1}})}const ff="prod",zl="1.1.36-dev.35d4a782.0",I1=(t,e,i)=>{const n=document.createElement("a");n.href=t,n.download=`${e}.${i}`,n.style.display="none",n.click()},A1=Symbol("storeContext"),L1=Symbol("microStoresContext"),df=(t,e)=>{Sl(A1,t),Sl(L1,e)},mt=()=>{const t=Nl(A1);return ct(t,"Store context is empty!"),t},ll=()=>{const t=Nl(L1);return ct(t,"MicroStores context is empty!"),t},dt=(t,e)=>V1(t,t.getValue(),e),V1=(t,e,i)=>Pn(e,n=>{const o=t.subscribe(s=>{n(s),i?.(s)});return()=>o.unsubscribe()}),mf=(t,e,i)=>{const n=t.info,{width:o,height:s}=$e(i.ui.playerSize),l=n.throughputEstimation$.getValue()?.toFixed(0)??0,r=n.rttEstimation$.getValue()?.toFixed(0)??0,a=n.isAutoQualityEnabled$.getValue()?"auto":"manual",c=`${zl} (core: ${kc}, stat: ${Fc}, shared: ${Pc})`,f=$e(i.state.errorLog$),p=f.length?`
7
7
  `+f.map((b,w)=>{const v=`${w}) Type: ${b.id}
8
8
  `,P=`Message: ${b.message} (${b.thrown})
9
9
  `,k=`Trace: ${b.thrown?.stack}
10
10
  `;return v+P+k}).join(`
11
- `):void 0,h=i.state.isAudioDisabled?"disabled":Qe(i.state.isAudioAvailable$)?void 0:"unavailable",_={Version:c,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${l}Kbps @ ${r}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${a} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:h,Position:`${Qe(i.state.positionExact$)}s`,State:`${Qe(i.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${s}`,URL:window.location.href,Errors:p};return Object.entries(_).filter(([b,w])=>w!==void 0).map(([b,w])=>`${b}: ${w}`).join(`
12
- `)},of=(t,e,i)=>{const n=t.info,{width:o,height:s}=Qe(i.ui.playerSize),l={version:Ml,viewport:`${o}x${s}`,volume:Math.round(Qe(i.state.volume$)*100)};l.id=i.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-Qe(i.state.positionExact$),0));const p=n.throughputEstimation$.getValue();p&&(l.speed=p);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},lf=(t,e)=>k1(t,e,"mp4"),S1="vk_player_prefer_traffic_saving_enabled",T1="vk_player_preferred_volume",E1="vk_player_prefer_volume_mute",Rl="vk_player_preferred_quality",A1=t=>t>1?1:t<0?0:t,ls=t=>_n.set(T1,A1(t).toString(10)),L1=()=>{const t=_n.get(T1);return tl(t)?void 0:A1(parseFloat(t))},sf=(t,e)=>_n.set(Rl,JSON.stringify({videoId:t,value:e})),I1=()=>_n.remove(Rl),rf=t=>{const e=_n.get(Rl);if(tl(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){I1();return}return n},V1=(t,e)=>{e?_n.set(t,"true"):_n.remove(t)},M1=t=>_n.get(t)==="true",dl=t=>V1(E1,t),af=()=>M1(E1),uf=t=>V1(S1,t),cf=()=>M1(S1);function ff(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("defs"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),w=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"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(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"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(s,"fill","#fff"),u(l,"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(l,"fill","#fff"),u(r,"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(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_618_12297"),u(v,"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",P=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(y,I){T(y,e,I),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(e,a),m(a,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,w),m(c,v)},p(y,[I]){I&1&&P!==(P=!y[0]||null)&&u(e,"aria-hidden",P),I&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:Z,o:Z,d(y){y&&S(e)}}}function df(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class B1 extends be{constructor(e){super(),ge(this,e,df,ff,he,{ariaLabel:0})}}const mf={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"},pf={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"},Vn=new Map;Vn.set(Bo.EN,pf);Vn.set(Bo.RU,mf);const R1=new Map,ss=({language:t,pack:e,fallback:i})=>{if(Vn.has(t)){const n=Vn.get(t);Vn.set(t,{...n,...e})}else Vn.set(t,e);R1.set(t,i)},rs=t=>Vn.has(t),N1=(t,e,i,n)=>{let s=Vn.get(t)?.[e];if(tl(s)){const l=R1.get(t)??n;s=(l?Vn.get(l):void 0)?.[e]}return tl(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},j=(t,e)=>{const{interfaceLanguage$:i}=dt(),n=Qe(i),o=rn();return N1(n,t,e,o.defaultLanguage)};var il;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(il||(il={}));const hf=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,gf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,bf=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Ko="?",_f="X-Sentry-Auth",vf=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function wf(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
- `);let n,o;for(let s=0;s<i.length;++s){if(n=hf.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Ko,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=bf.exec(i[s]))o={filename:n[2],function:n[1]||Ko,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=gf.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||Ko,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Ko),e.push(o)}return e.length?{value:z1(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function z1(t){return(t&&t.message||"No error message").split(`
14
- `).filter(i=>!!i)[0]}function kf(t){try{const e=wf(t);if(e)return e}catch{}return{value:z1(t),type:t&&t.name,stacktrace:{frames:[]}}}function yf(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Cf{constructor(e){if(e&&e.dsn){const i=vf.exec(e.dsn),n=i?i.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.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:[kf(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(_f,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:yf(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function as(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Pf(){return window}class Nl extends Cf{constructor(e,i=Pf()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,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 Nl({...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=>as(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{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>as(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{return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...i,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let jo=null;class Sl{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!jo&&e.dsn&&(this.sentryClient=new Nl({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new Un,this.options=e,this.context=n,jo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),jo=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:o,context:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:p}=l,{errorType:h,category:_}=i;if(gn(_)&&p.includes(_)||gn(h)&&f.includes(h))return;if(Math.random()<=r||gn(_)&&c.includes(_)||gn(h)&&a.includes(h)){Object.keys(i).length&&o.setTags({version:this.version,...i}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{h&&o.captureMessage(h,i.fatal?il.fatal:il.error),o.report(e)}catch(w){console.error(w)}}}static getInstance(){return jo}}var ho;(function(t){t.AUTO="auto"})(ho||(ho={}));var Be;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Be||(Be={}));var In;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(In||(In={}));var Yt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Yt||(Yt={}));var Mn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Mn||(Mn={}));var Ke;(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"})(Ke||(Ke={}));var Gn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Gn||(Gn={}));const D1=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?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},O1=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),Sf=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},Mo=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},H1=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},F1=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},Tf=t=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(t))},Ef=()=>({title:j("hotkey_map_modal_title"),closeBtnText:j("hotkey_map_modal_close_btn_text"),groups:[{title:j("hotkey_map_group_title_common"),items:[{description:j("hotkey_map_item_mute_description"),value:j("hotkey_map_item_mute_value")},{description:j("hotkey_map_item_volume_up_description"),value:j("hotkey_map_item_volume_up_value")},{description:j("hotkey_map_item_volume_down_description"),value:j("hotkey_map_item_volume_down_value")},{description:j("hotkey_map_item_pip_description"),value:j("hotkey_map_item_pip_value")},{description:j("hotkey_map_item_full_screen_description"),value:j("hotkey_map_item_full_screen_value")},{description:j("hotkey_map_item_show_hotkey_map_description"),value:j("hotkey_map_item_show_hotkey_map_value")}]},{title:j("hotkey_map_group_title_playback"),items:[{description:j("hotkey_map_item_play_toggle_description"),value:j("hotkey_map_item_play_toggle_value")},{description:j("hotkey_map_item_seek_backward_description"),value:j("hotkey_map_item_seek_backward_value")},{description:j("hotkey_map_item_seek_forward_description"),value:j("hotkey_map_item_seek_forward_value")},{description:j("hotkey_map_item_fast_seek_backward_description"),value:j("hotkey_map_item_fast_seek_backward_value")},{description:j("hotkey_map_item_fast_seek_forward_description"),value:j("hotkey_map_item_fast_seek_forward_value")},{description:j("hotkey_map_item_rate_down_description"),value:j("hotkey_map_item_rate_down_value")},{description:j("hotkey_map_item_rate_up_description"),value:j("hotkey_map_item_rate_up_value")},{description:j("hotkey_map_item_prev_frame_description"),value:j("hotkey_map_item_prev_frame_value")},{description:j("hotkey_map_item_next_frame_description"),value:j("hotkey_map_item_next_frame_value")},{description:j("hotkey_map_item_jump_seek_description"),value:j("hotkey_map_item_jump_seek_value")}]},{title:j("hotkey_map_group_title_subtitles"),items:[{description:j("hotkey_map_item_subtitles_toggle_description"),value:j("hotkey_map_item_subtitles_toggle_value")}]},{title:j("hotkey_map_group_title_episodes"),items:[{description:j("hotkey_map_item_prev_episode_description"),value:es()?j("hotkey_map_item_prev_episode_mac_value"):j("hotkey_map_item_prev_episode_pc_value")},{description:j("hotkey_map_item_next_episode_description"),value:es()?j("hotkey_map_item_next_episode_mac_value"):j("hotkey_map_item_next_episode_pc_value")}]}]});class zl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:hc(this.onResize.bind(this),b1)};info={isActive$:new El(this.isActive()),type:Mn.PictureInPicture};isSupported(){const e=Al().browser===r1.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(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function nl(t){return t instanceof zl}function Af(t){const e=dt();return sn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Lf extends be{constructor(e){super(),ge(this,e,Af,null,he,{})}}function If(t){Oe(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 Vf(t){let e=j("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=Ne(e)},m(n,o){T(n,i,o)},p(n,o){o&3&&e!==(e=j("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&Xe(i,e)},d(n){n&&S(i)}}}function Mf(t){let e,i=j("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=E("div"),n=Ne(i),o=z(),s=R("svg"),l=R("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),m(e,n),m(e,o),m(e,s),m(s,l),r||(a=pe(e,"click",tt(function(){bn(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&S(e),r=!1,a()}}}function Bf(t){let e;function i(s,l){return s[3]?Mf:Vf}let n=i(t),o=n(t);return{c(){e=E("div"),o.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",t[4]),B(e,"skippable",t[3])},m(s,l){T(s,e,l),o.m(e,null)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&B(e,"container-mobile",s[4]),l&8&&B(e,"skippable",s[3])},i:Z,o:Z,d(s){s&&S(e),o.d()}}}function Rf(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=Ge}=e;const a=dt().ui.isMobile;D(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,o=f.position),"secondsToWatchBeforeSkip"in f&&i(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,l=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class Nf extends be{constructor(e){super(),ge(this,e,Rf,Bf,he,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},If)}}function zf(t){Oe(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 Df(t){let e;return{c(){e=E("button"),e.textContent=`${j("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){T(i,e,n)},p:Z,i:Z,o:Z,d(i){i&&S(e)}}}class Of extends be{constructor(e){super(),ge(this,e,null,Df,he,{},zf)}}function Hf(t){Oe(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(
11
+ `):void 0,h=i.state.isAudioDisabled?"disabled":$e(i.state.isAudioAvailable$)?void 0:"unavailable",_={Version:c,Browser:navigator.userAgent,Config:t.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(i.videoId),"Content host":n.hostname$.getValue(),"Connection type":n.httpConnectionType$.getValue()+(n.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${l}Kbps @ ${r}ms RTT`,Format:n.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${a} ${n.currentQuality$.getValue()}`,"Available qualities":n.availableQualities$.getValue().join(", "),Audio:h,Position:`${$e(i.state.positionExact$)}s`,State:`${$e(i.playerPhase)} ${n.playbackState$.getValue()}`,"Player size":`${o}x${s}`,URL:window.location.href,Errors:p};return Object.entries(_).filter(([b,w])=>w!==void 0).map(([b,w])=>`${b}: ${w}`).join(`
12
+ `)},pf=(t,e,i)=>{const n=t.info,{width:o,height:s}=$e(i.ui.playerSize),l={version:zl,viewport:`${o}x${s}`,volume:Math.round($e(i.state.volume$)*100)};l.id=i.videoId,n.currentFormat$.getValue()&&(l.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(l.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(l.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(l.buffer=Math.max(f.end-$e(i.state.positionExact$),0));const p=n.throughputEstimation$.getValue();p&&(l.speed=p);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},hf=(t,e)=>I1(t,e,"mp4"),M1="vk_player_prefer_traffic_saving_enabled",B1="vk_player_preferred_volume",R1="vk_player_prefer_volume_mute",Dl="vk_player_preferred_quality",N1=t=>t>1?1:t<0?0:t,fs=t=>_n.set(B1,N1(t).toString(10)),z1=()=>{const t=_n.get(B1);return $o(t)?void 0:N1(parseFloat(t))},gf=(t,e)=>_n.set(Dl,JSON.stringify({videoId:t,value:e})),D1=()=>_n.remove(Dl),bf=t=>{const e=_n.get(Dl);if($o(e))return;const{videoId:i,value:n}=JSON.parse(e);if(t!==i){D1();return}return n},O1=(t,e)=>{e?_n.set(t,"true"):_n.remove(t)},H1=t=>_n.get(t)==="true",gl=t=>O1(R1,t),_f=()=>H1(R1),vf=t=>O1(M1,t),wf=()=>H1(M1);function kf(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("defs"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),w=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(o,"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(o,"fill","#fff"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"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(s,"fill","#fff"),u(l,"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(l,"fill","#fff"),u(r,"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(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(r,"stroke-linecap","round"),u(r,"stroke-linejoin","round"),u(i,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_618_12297"),u(v,"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",P=!t[0]||null),u(e,"aria-label",k=t[0]||null)},m(y,I){T(y,e,I),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(e,a),m(a,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,w),m(c,v)},p(y,[I]){I&1&&P!==(P=!y[0]||null)&&u(e,"aria-hidden",P),I&1&&k!==(k=y[0]||null)&&u(e,"aria-label",k)},i:Z,o:Z,d(y){y&&S(e)}}}function yf(t,e,i){let{ariaLabel:n=""}=e;return t.$$set=o=>{"ariaLabel"in o&&i(0,n=o.ariaLabel)},[n]}class F1 extends be{constructor(e){super(),ge(this,e,yf,kf,he,{ariaLabel:0})}}const Cf={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"},Pf={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"},Vn=new Map;Vn.set(Lo.EN,Pf);Vn.set(Lo.RU,Cf);const U1=new Map,ds=({language:t,pack:e,fallback:i})=>{if(Vn.has(t)){const n=Vn.get(t);Vn.set(t,{...n,...e})}else Vn.set(t,e);U1.set(t,i)},ms=t=>Vn.has(t),q1=(t,e,i,n)=>{let s=Vn.get(t)?.[e];if($o(s)){const l=U1.get(t)??n;s=(l?Vn.get(l):void 0)?.[e]}return $o(s)?e+Object.values(i??{}).join(" "):i?s.replaceAll(/{(\w+?)}/g,(l,r)=>i[r]??""):s},K=(t,e)=>{const{interfaceLanguage$:i}=mt(),n=$e(i),o=an();return q1(n,t,e,o.defaultLanguage)};var el;(function(t){t.fatal="fatal",t.error="error",t.warning="warning",t.log="log",t.info="info",t.debug="debug",t.critical="critical"})(el||(el={}));const Sf=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Tf=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,Ef=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Zo="?",If="X-Sentry-Auth",Af=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Lf(t){if(!t.stack)return null;const e=[],i=t.stack.split(`
13
+ `);let n,o;for(let s=0;s<i.length;++s){if(n=Sf.exec(i[s]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||Zo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=Ef.exec(i[s]))o={filename:n[2],function:n[1]||Zo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=Tf.exec(i[s]))s===0&&!n[5]&&t.columnNumber!==void 0&&(e[0].column=t.columnNumber+1),o={filename:n[3],function:n[1]||Zo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=Zo),e.push(o)}return e.length?{value:Z1(t),type:t.name,stacktrace:{frames:e.reverse()}}:null}function Z1(t){return(t&&t.message||"No error message").split(`
14
+ `).filter(i=>!!i)[0]}function Vf(t){try{const e=Lf(t);if(e)return e}catch{}return{value:Z1(t),type:t&&t.name,stacktrace:{frames:[]}}}function Mf(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,t=>{const e=Math.random()*16|0;return(t==="x"?e:e&3|8).toString(16)})}class Bf{constructor(e){if(e&&e.dsn){const i=Af.exec(e.dsn),n=i?i.slice(1):[],o=n[5].split("/"),s=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(s?"/"+s:"")+"/api/"+o.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:[Vf(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(If,this.authHeader||""),i.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:Mf(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function ps(t,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(t):typeof e=="string"?t.indexOf(e)!==-1:!1}function Rf(){return window}class Ol extends Bf{constructor(e,i=Rf()){super(e),this.options=e,this.window=i,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:s=c=>c,blacklistUrls:l=[],ignoreErrors:r=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=s,this.blacklistUrls=l,this.ignoreErrors=r,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 Ol({...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=>ps(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{return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const i=this.getEventFilterUrl(e);return i?this.blacklistUrls.some(n=>ps(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{return null}}extendState(e){this._state=Object.keys(e).reduce((i,n)=>{const o=this._state[n],s=Array.isArray(o)?o:null,l=e[n],r=Array.isArray(l)?l:null;return{...i,[n]:s||r?[...s||[],...r||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,i){this._state[e]=i}}let Wo=null;class Al{sentrySubscription;options;version;context;sentryClient;constructor(e,i,n={}){!Wo&&e.dsn&&(this.sentryClient=new Ol({dsn:e.dsn,environment:i.env}),this.version=i.version,this.sentrySubscription=new jn,this.options=e,this.context=n,Wo=this)}destroy(){this.sentryClient?.destroy(),this.sentrySubscription?.unsubscribe(),Wo=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:o,context:s,options:l}=this,{sampleRate:r=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:p}=l,{errorType:h,category:_}=i;if(gn(_)&&p.includes(_)||gn(h)&&f.includes(h))return;if(Math.random()<=r||gn(_)&&c.includes(_)||gn(h)&&a.includes(h)){Object.keys(i).length&&o.setTags({version:this.version,...i}),(Object.keys(s).length||Object.keys(n).length)&&o.setExtras({...s,...n});try{h&&o.captureMessage(h,i.fatal?el.fatal:el.error),o.report(e)}catch(w){console.error(w)}}}static getInstance(){return Wo}}var mo;(function(t){t.AUTO="auto"})(mo||(mo={}));var Ne;(function(t){t.Thumb="thumb",t.Video="video",t.Ads="ads",t.Crashed="crashed",t.WaitingLive="waitingLive",t.WaitingRecord="waitingRecord"})(Ne||(Ne={}));var Ln;(function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll"})(Ln||(Ln={}));var Yt;(function(t){t.INACTIVE="inactive",t.PLAYING="playing",t.PAUSED="paused"})(Yt||(Yt={}));var Mn;(function(t){t[t.PictureInPicture=0]="PictureInPicture",t[t.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Mn||(Mn={}));var Ge;(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"})(Ge||(Ge={}));var Jn;(function(t){t.FULL="FULL",t.COUNT="COUNT",t.SHORT="SHORT"})(Jn||(Jn={}));const W1=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?.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},K1=t=>t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitExitFullscreen?t.webkitExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():Promise.reject(),Nf=t=>{const e=t;return e?.webkitExitFullscreen?e?.webkitExitFullscreen():Promise.reject()},Ao=()=>{const t=document;return!!(t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement)},j1=t=>{document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),document.addEventListener("mozfullscreenchange",t),document.addEventListener("MSFullscreenChange",t)},G1=t=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t),document.removeEventListener("mozfullscreenchange",t),document.removeEventListener("MSFullscreenChange",t)},zf=t=>{const e=window.screen;return(async o=>e.orientation?e.orientation.lock(o):e.mozLockOrientation?e.mozLockOrientation(o):e.msLockOrientation?e.msLockOrientation(o):Promise.reject())(((o={width:0,height:0})=>o.width<=o.height?"portrait":"landscape")(t))},Df=()=>({title:K("hotkey_map_modal_title"),closeBtnText:K("hotkey_map_modal_close_btn_text"),groups:[{title:K("hotkey_map_group_title_common"),items:[{description:K("hotkey_map_item_mute_description"),value:K("hotkey_map_item_mute_value")},{description:K("hotkey_map_item_volume_up_description"),value:K("hotkey_map_item_volume_up_value")},{description:K("hotkey_map_item_volume_down_description"),value:K("hotkey_map_item_volume_down_value")},{description:K("hotkey_map_item_pip_description"),value:K("hotkey_map_item_pip_value")},{description:K("hotkey_map_item_full_screen_description"),value:K("hotkey_map_item_full_screen_value")},{description:K("hotkey_map_item_show_hotkey_map_description"),value:K("hotkey_map_item_show_hotkey_map_value")}]},{title:K("hotkey_map_group_title_playback"),items:[{description:K("hotkey_map_item_play_toggle_description"),value:K("hotkey_map_item_play_toggle_value")},{description:K("hotkey_map_item_seek_backward_description"),value:K("hotkey_map_item_seek_backward_value")},{description:K("hotkey_map_item_seek_forward_description"),value:K("hotkey_map_item_seek_forward_value")},{description:K("hotkey_map_item_fast_seek_backward_description"),value:K("hotkey_map_item_fast_seek_backward_value")},{description:K("hotkey_map_item_fast_seek_forward_description"),value:K("hotkey_map_item_fast_seek_forward_value")},{description:K("hotkey_map_item_rate_down_description"),value:K("hotkey_map_item_rate_down_value")},{description:K("hotkey_map_item_rate_up_description"),value:K("hotkey_map_item_rate_up_value")},{description:K("hotkey_map_item_prev_frame_description"),value:K("hotkey_map_item_prev_frame_value")},{description:K("hotkey_map_item_next_frame_description"),value:K("hotkey_map_item_next_frame_value")},{description:K("hotkey_map_item_jump_seek_description"),value:K("hotkey_map_item_jump_seek_value")}]},{title:K("hotkey_map_group_title_subtitles"),items:[{description:K("hotkey_map_item_subtitles_toggle_description"),value:K("hotkey_map_item_subtitles_toggle_value")}]},{title:K("hotkey_map_group_title_episodes"),items:[{description:K("hotkey_map_item_prev_episode_description"),value:ss()?K("hotkey_map_item_prev_episode_mac_value"):K("hotkey_map_item_prev_episode_pc_value")},{description:K("hotkey_map_item_next_episode_description"),value:ss()?K("hotkey_map_item_next_episode_mac_value"):K("hotkey_map_item_next_episode_pc_value")}]}]});class Hl{isRequested=!1;videoElement=void 0;playerContainer=void 0;playerDummyElement;svelteContext;externalEventHandlers={};eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:Sc(this.onResize.bind(this),P1)};info={isActive$:new Vl(this.isActive()),type:Mn.PictureInPicture};isSupported(){const e=Ml().browser===h1.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(){if(!(!this.isSupported()||this.isActive()))try{await this.videoElement?.requestPictureInPicture()}catch{this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){this.isSupported()&&(this.videoElement=this.playerContainer?.querySelector("video"))}registryEventHandlers(){this.videoElement?.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){this.videoElement?.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),this.videoElement?.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){const n=e.pictureInPictureWindow;n&&(this.info.isActive$.next(!0),this.isRequested=!0,n.addEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.enterpictureinpicture?.(e))}onLeavePictureInPicture(e){const n=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,n?.removeEventListener("resize",this.eventHandlers.resize),this.externalEventHandlers.leavepictureinpicture?.(e),this.playerDummyElement?.$destroy()}onResize(e){this.externalEventHandlers.resize?.(e)}}function tl(t){return t instanceof Hl}function Of(t){const e=mt();return rn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class Hf extends be{constructor(e){super(),ge(this,e,Of,null,he,{})}}function Ff(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 Uf(t){let e=K("skip_ads_after",{time:Math.ceil(t[1]-t[0]).toFixed(0)})+"",i;return{c(){i=De(e)},m(n,o){T(n,i,o)},p(n,o){o&3&&e!==(e=K("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(i,e)},d(n){n&&S(i)}}}function qf(t){let e,i=K("skip_ads_now")+"",n,o,s,l,r,a;return{c(){e=E("div"),n=De(i),o=N(),s=R("svg"),l=R("path"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(s,"class","icon v-22jj8o"),u(s,"width","7"),u(s,"height","12"),u(s,"viewBox","0 0 7 12"),u(s,"fill","none"),u(s,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){T(c,e,f),m(e,n),m(e,o),m(e,s),m(s,l),r||(a=me(e,"click",nt(function(){bn(t[2])&&t[2].apply(this,arguments)})),r=!0)},p(c,f){t=c},d(c){c&&S(e),r=!1,a()}}}function Zf(t){let e;function i(s,l){return s[3]?qf:Uf}let n=i(t),o=n(t);return{c(){e=E("div"),o.c(),u(e,"class","container v-22jj8o"),B(e,"container-mobile",t[4]),B(e,"skippable",t[3])},m(s,l){T(s,e,l),o.m(e,null)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e,null))),l&16&&B(e,"container-mobile",s[4]),l&8&&B(e,"skippable",s[3])},i:Z,o:Z,d(s){s&&S(e),o.d()}}}function Wf(t,e,i){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:s=0}=e,{skipAd:l=Qe}=e;const a=mt().ui.isMobile;z(t,a,f=>i(4,n=f));let c;return t.$$set=f=>{"position"in f&&i(0,o=f.position),"secondsToWatchBeforeSkip"in f&&i(1,s=f.secondsToWatchBeforeSkip),"skipAd"in f&&i(2,l=f.skipAd)},t.$$.update=()=>{t.$$.dirty&3&&i(3,c=o>0&&o>=s)},[o,s,l,c,n,a]}class Kf extends be{constructor(e){super(),ge(this,e,Wf,Zf,he,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},Ff)}}function jf(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 Gf(t){let e;return{c(){e=E("button"),e.textContent=`${K("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(i,n){T(i,e,n)},p:Z,i:Z,o:Z,d(i){i&&S(e)}}}class Yf extends be{constructor(e){super(),ge(this,e,null,Gf,he,{},jf)}}function Qf(t){Ze(t,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@ import{VERSION as fc,ChromecastState as Sn,PlaybackState as Ft,VideoQuality as c
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 us(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 cs(t){let e,i;return e=new Nf({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fs(t){let e,i;return e=new Lf({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ds(t){let e,i;return e=new Of({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ff(t){let e,i,n,o,s,l,r,a=t[0]&&us(),c=t[3]&&cs(t),f=t[7]&&fs(),p=t[4]&&ds();return{c(){e=E("div"),a&&a.c(),i=z(),n=E("video"),o=z(),c&&c.c(),s=z(),f&&f.c(),l=z(),p&&p.c(),St(n,"width","100%"),St(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){T(h,e,_),a&&a.m(e,null),m(e,i),m(e,n),t[19](n),m(e,o),c&&c.m(e,null),m(e,s),f&&f.m(e,null),m(e,l),p&&p.m(e,null),t[20](e),r=!0},p(h,[_]){h[0]?a||(a=us(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,_),_&8&&d(c,1)):(c=cs(h),c.c(),d(c,1),c.m(e,s)):c&&(de(),g(c,1,1,()=>{c=null}),me()),h[7]?f?_&128&&d(f,1):(f=fs(),f.c(),d(f,1),f.m(e,l)):f&&(de(),g(f,1,1,()=>{f=null}),me()),h[4]?p?_&16&&d(p,1):(p=ds(),p.c(),d(p,1),p.m(e,null)):p&&(de(),g(p,1,1,()=>{p=null}),me())},i(h){r||(d(c),d(f),d(p),r=!0)},o(h){g(c),g(f),g(p),r=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),p&&p.d(),t[20](null)}}}function Uf(t,e,i){let n,o,s,l,r,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:p=0}=e;const h=dt(),_=h.state.isEnded$;D(t,_,A=>i(7,r=A));const b=h.ui.isMobile;D(t,b,A=>i(0,o=A));let w,v,P=!1;const k=h.ads.playbackState;D(t,k,A=>i(18,n=A));const y=h.ads.canSkip,I=h.ads.position;D(t,I,A=>i(5,s=A));const ne=h.ads.secondsToWatchBeforeSkip;D(t,ne,A=>i(6,l=A));let V,K;sn(()=>{const A=new AbortController;let ie=()=>{A.abort()};const N=h.getAdmanWrapper();if(!a){N.onAdmanLoadingError();return}const{width:G,height:re}=Qe(h.ui.playerSize),C=Qe(h.ui.isFullscreen),le=Qe(h.ui.isAutoplay),W={width:G,height:re,isFullscreen:C,isAutoplay:le,adsContainer:w,adsVideoElement:v,slotId:a,params:c,previewParam:f,duration:p};return window.AdmanHTML?(N.initAdman(W),P=!0):N.loadAdman(A.signal).then(()=>{N.initAdman(W),P=!0}).catch(()=>{N.onAdmanLoadingError()}),()=>{!P&&ie()}});function M(A){ve[A?"unshift":"push"](()=>{v=A,i(2,v)})}function ee(A){ve[A?"unshift":"push"](()=>{w=A,i(1,w)})}return t.$$set=A=>{"adsSlotId"in A&&i(14,a=A.adsSlotId),"adsParams"in A&&i(15,c=A.adsParams),"adsPreviewParam"in A&&i(16,f=A.adsPreviewParam),"duration"in A&&i(17,p=A.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,V=y&&n!==Yt.INACTIVE),t.$$.dirty&262145&&i(4,K=o&&n!==Yt.INACTIVE)},[o,w,v,V,K,s,l,r,h,_,b,k,I,ne,a,c,f,p,n,M,ee]}class U1 extends be{constructor(e){super(),ge(this,e,Uf,Ff,he,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Hf)}}const Bn=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(s=>s>9?String(s):`0${s}`).join(":")};function qf(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function Zf(t){let e,i,n;return{c(){e=R("svg"),i=R("rect"),n=R("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function Wf(t){let e;function i(s,l){return s[0]?Zf:qf}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function Kf(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class q1 extends be{constructor(e){super(),ge(this,e,Kf,Wf,he,{isActive:0})}}function jf(t){Oe(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 Gf(t){let e=Bn(t[4]-t[3])+"",i;return{c(){i=Ne(e)},m(n,o){T(n,i,o)},p(n,o){o&24&&e!==(e=Bn(n[4]-n[3])+"")&&Xe(i,e)},i:Z,o:Z,d(n){n&&S(i)}}}function Yf(t){let e,i,n;return i=new q1({props:{isActive:!0}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Qf(t){let e,i,n,o,s,l,r;const a=[Yf,Gf],c=[];function f(p,h){return p[1]?0:1}return s=f(t),l=c[s]=a[s](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=z(),o=E("span"),l.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),B(e,"live",t[1]),B(e,"hidden",t[0]),B(e,"playing",t[2])},m(p,h){T(p,e,h),m(e,i),m(e,n),m(e,o),c[s].m(o,null),r=!0},p(p,[h]){let _=s;s=f(p),s===_?c[s].p(p,h):(de(),g(c[_],1,1,()=>{c[_]=null}),me(),l=c[s],l?l.p(p,h):(l=c[s]=a[s](p),l.c()),d(l,1),l.m(o,null)),(!r||h&2)&&B(e,"live",p[1]),(!r||h&1)&&B(e,"hidden",p[0]),(!r||h&4)&&B(e,"playing",p[2])},i(p){r||(d(l),r=!0)},o(p){g(l),r=!1},d(p){p&&S(e),c[s].d()}}}function Xf(t,e,i){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:s=!1}=e,{position:l}=e,{duration:r}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,o=a.isLive),"isPlaying"in a&&i(2,s=a.isPlaying),"position"in a&&i(3,l=a.position),"duration"in a&&i(4,r=a.duration)},[n,o,s,l,r]}class Z1 extends be{constructor(e){super(),ge(this,e,Xf,Qf,he,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},jf)}}const Tl=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)}}},Yn=t=>{t.stopPropagation(),t.preventDefault()},Jf=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},xf=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},$f=t=>{const e=t.code;return e===Pe.Tab&&!t.shiftKey||e===Pe.ArrowDown},e0=t=>{const e=t.code;return e===Pe.Tab||e===Pe.ArrowUp},W1=t=>t.code===Pe.Escape,t0=t=>t.code===Pe.ArrowLeft,K1=(t,e=!0)=>{const i=t.code;return[Pe.Enter,Pe.Space].includes(i)||!e&&i===Pe.ArrowRight},j1=t=>{if($f(t)){Yn(t),xf(t.target);return}e0(t)&&(Yn(t),Jf(t.target))},Dl=t=>t?.detail===0,Ol=async(t,e,i)=>{await No(),t&&!t.classList.contains("opened")&&!e&&Qe(i)&&(i.set(!1),t.focus())},Hl=async(t,e,i)=>{await No(),!!t&&e&&i&&t.firstChild.focus()},Go=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},Gc))},G1=(t,e)=>{j1(t),W1(t)&&(Yn(t),e())},Yo=async(t,e,i)=>{K1(t,!1)&&(Yn(t),e(),await No(),i()?.focus())},Qo=async(t,e,i,n)=>{if(j1(t),t0(t)){Yn(t),e(),i.set(!0);return}W1(t)&&(Yn(t),n())},xi=(t,e)=>{K1(t)&&(Yn(t),e())};function i0(t){Oe(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 ms(t){let e,i,n,o,s,l,r=(t[9].features.saveDebugInfoToFile?j("menu_save_debug"):j("menu_copy_debug"))+"",a,c,f,p=j("menu_debug_overlay")+"",h,_,b,w,v=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&n0(t),P=t[11]&&t[5]!==Sn.CONNECTED&&!t[16]&&hs(t),k=t[9].features.videoRotate&&!t[16]&&o0(t),y=t[9].showSupport&&!t[6]&&gs(t);return{c(){e=E("ul"),v&&v.c(),i=z(),P&&P.c(),n=z(),k&&k.c(),o=z(),y&&y.c(),s=z(),l=E("li"),a=Ne(r),c=z(),f=E("li"),h=Ne(p),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",t[9].features.saveDebugInfoToFile?j("menu_save_debug"):j("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?j("aria_label_menu_debug_overlay_disable"):j("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),St(e,"top",t[3]+"px"),St(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(I,ne){T(I,e,ne),v&&v.m(e,null),m(e,i),P&&P.m(e,null),m(e,n),k&&k.m(e,null),m(e,o),y&&y.m(e,null),m(e,s),m(e,l),m(l,a),m(e,c),m(e,f),m(f,h),t[40](e),b||(w=[pe(l,"click",tt(t[19])),pe(l,"keydown",t[29]),pe(f,"click",tt(t[20])),pe(f,"keydown",t[30]),pe(e,"contextmenu",Qt(t[37])),pe(e,"keydown",t[23])],b=!0)},p(I,ne){I[9].features.copyVideoLink&&I[8].callbacks?.onCopyVideoLink&&v.p(I,ne),I[11]&&I[5]!==Sn.CONNECTED&&!I[16]?P?P.p(I,ne):(P=hs(I),P.c(),P.m(e,n)):P&&(P.d(1),P=null),I[9].features.videoRotate&&!I[16]&&k.p(I,ne),I[9].showSupport&&!I[6]?y?y.p(I,ne):(y=gs(I),y.c(),y.m(e,s)):y&&(y.d(1),y=null),ne[0]&128&&_!==(_=I[7]?j("aria_label_menu_debug_overlay_disable"):j("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),ne[0]&8&&St(e,"top",I[3]+"px"),ne[0]&4&&St(e,"left",I[2]+"px")},d(I){I&&S(e),v&&v.d(),P&&P.d(),k&&k.d(),y&&y.d(),t[40](null),b=!1,$e(w)}}}function n0(t){let e,i=j("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&ps(t);return{c(){e=E("li"),n=Ne(i),o=z(),a&&a.c(),s=lt(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",j("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),m(e,n),T(c,o,f),a&&a.m(c,f),T(c,s,f),l||(r=[pe(e,"click",tt(t[38])),pe(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ps(c),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(o),S(s)),a&&a.d(c),l=!1,$e(r)}}}function ps(t){let e,i=j("menu_copy_video_link_with_timestamp")+"",n,o,s;return{c(){e=E("li"),n=Ne(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",j("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[pe(e,"click",tt(t[39])),pe(e,"keydown",t[25])],o=!0)},p:Z,d(l){l&&S(e),o=!1,$e(s)}}}function hs(t){let e,i=j("menu_pip")+"",n,o,s;return{c(){e=E("li"),n=Ne(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",j("menu_pip")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[pe(e,"click",tt(t[21])),pe(e,"keydown",t[26])],o=!0)},p:Z,d(l){l&&S(e),o=!1,$e(s)}}}function o0(t){let e,i=j("menu_video_rotate")+"",n,o,s;return{c(){e=E("li"),n=Ne(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",j("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[pe(e,"click",tt(t[17])),pe(e,"keydown",t[27])],o=!0)},p:Z,d(l){l&&S(e),o=!1,$e(s)}}}function gs(t){let e,i=j("menu_report")+"",n,o,s;return{c(){e=E("li"),n=Ne(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${j("menu_report")}. ${j("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[pe(e,"click",tt(t[18])),pe(e,"keydown",t[28])],o=!0)},p:Z,d(l){l&&S(e),o=!1,$e(s)}}}function l0(t){let e,i=t[1]&&ms(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),T(n,e,o)},p(n,o){n[1]?i?i.p(n,o):(i=ms(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:Z,o:Z,d(n){n&&S(e),i&&i.d(n)}}}function s0(t,e,i){let n,o,s,l,r,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:p=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:b=void 0}=e,{returnFocus:w}=e,v=0,P=0;const k=dt(),y=rn(),I=k.ui.contextMenuVisible,ne=k.ui.debugPanelVisible;D(t,ne,ue=>i(7,r=ue));const V=k.webApi.pictureInPictureApi,K=k.webApi.pictureInPictureApi?.info.isActive$;D(t,K,ue=>i(6,l=ue));const M=k.state.chromecastState$;D(t,M,ue=>i(5,s=ue));const ee=k.state.isLive$;D(t,ee,ue=>i(4,o=ue));const A=k.state.positionExact$;D(t,A,ue=>i(41,n=ue));const ie=k.state.isInteractive,N=()=>{I.set(!1)},G=(ue,_e)=>{if(!b||!h||!_)return;const $=b.getBoundingClientRect(),Y=h.getBoundingClientRect();i(2,v=ue-Y.left),i(3,P=_e-Y.top),v+$.width>Y.width&&i(2,v=Y.width-$.width),P+$.height>Y.height&&i(3,P=Y.height-$.height),i(2,v=Math.max(v,0)),i(3,P=Math.max(P,0))},re=()=>{N(),k.actions.internal.videoRotate()},C=()=>{window.open(c,"_blank"),N(),k.actions.internal.pause()},le=()=>{const ue=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const _e=new Blob([...ue],{type:"plain/text"}),$=window.URL.createObjectURL(_e);k1($,"vk_player_debug_info","txt")}else Tl(k.actions.internal.getDebugTextData());N(),w?.()},W=()=>{ne.set(!0),N(),w?.()},oe=async()=>{try{V?.isActive()?await V?.remove():await V?.request()}finally{N(),w?.()}},ke=(ue=!1)=>{if(k.callbacks?.onCopyVideoLink){const _e=k.callbacks?.onCopyVideoLink(ue,n);_e&&Tl(_e)}N()},qe=ue=>{G1(ue,N)},Ze=ue=>{xi(ue,()=>ke())},Ve=ue=>{xi(ue,()=>ke(!0))},ce=ue=>{xi(ue,()=>oe())},we=ue=>{xi(ue,()=>re())},Q=ue=>{xi(ue,()=>C())},X=ue=>{xi(ue,()=>le())},Te=ue=>{xi(ue,()=>W())};function se(ue){go.call(this,t,ue)}const Se=()=>ke(),Ee=()=>ke(!0);function Ie(ue){ve[ue?"unshift":"push"](()=>{b=ue,i(0,b)})}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,p=ue.y),"playerContainerRef"in ue&&i(34,h=ue.playerContainerRef),"controlsContainerRef"in ue&&i(35,_=ue.controlsContainerRef),"menuElementRef"in ue&&i(0,b=ue.menuElementRef),"returnFocus"in ue&&i(36,w=ue.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&b&&h&&_&&G(f,p)},[b,a,v,P,o,s,l,r,k,y,ne,V,K,M,ee,A,ie,re,C,le,W,oe,ke,qe,Ze,Ve,ce,we,Q,X,Te,c,f,p,h,_,w,se,Se,Ee,Ie]}class r0 extends be{constructor(e){super(),ge(this,e,s0,l0,he,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},i0,[-1,-1])}}class a0{value;next;constructor(e){this.value=e,this.next=null}}class ml{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new a0(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 u0(t){Oe(t,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function c0(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,o){T(n,e,o),m(e,i),t[3](i)},p:Z,i:Z,o:Z,d(n){n&&S(e),t[3](null)}}}const pl=16,hl=120,bs=60;function f0(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function d0(t,e,i){let{values:n=[]}=e,o,s;const l=hl/bs;sn(()=>{i(0,o.width=hl,o),i(0,o.height=pl,o),i(2,s=o.getContext("2d"))});function r(a){ve[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&s){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);s.clearRect(0,0,hl,pl);let c=bs-1;for(let f=n.length-1;f>=0;f--){const p=c*l,h=a>0?pl*(n[f]/a):0;f0(s,p,0,l,h),c--}}},[o,n,s,r]}class Fl extends be{constructor(e){super(),ge(this,e,d0,c0,he,{values:1},u0)}}function m0(t){Oe(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 _s(t){let e,i,n,o,s=t[0].id+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Video id",n=z(),o=E("span"),l=Ne(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&Xe(l,s)},d(r){r&&S(e)}}}function vs(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Provider",n=z(),o=E("span"),l=Ne(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&Xe(l,s)},d(r){r&&S(e)}}}function ws(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Viewport",n=z(),o=E("span"),l=Ne(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&Xe(l,s)},d(r){r&&S(e)}}}function ks(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Video size",n=z(),o=E("span"),l=Ne(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&Xe(l,s)},d(r){r&&S(e)}}}function ys(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="CDN host",n=z(),o=E("span"),l=Ne(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&Xe(l,s)},d(r){r&&S(e)}}}function Cs(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=E("div"),i=E("div"),i.textContent="Volume",n=z(),o=E("span"),l=Ne(s),r=Ne(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&Xe(l,s)},d(a){a&&S(e)}}}function Ps(t){let e,i,n,o,s=t[0].buffer.toFixed(2)+"",l,r;return{c(){e=E("div"),i=E("div"),i.textContent="Buffer",n=z(),o=E("span"),l=Ne(s),r=Ne(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&Xe(l,s)},d(a){a&&S(e)}}}function Ss(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[5]}}),{c(){e=E("div"),i=E("div"),i.textContent="Network",n=z(),U(o.$$.fragment),s=z(),l=E("span"),a=Ne(r),c=Ne(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){T(p,e,h),m(e,i),m(e,n),O(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&32&&(_.values=p[5]),o.$set(_),(!f||h&1)&&r!==(r=p[0].speed.toFixed(2)+"")&&Xe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),H(o)}}}function Ts(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Fl({props:{values:t[6]}}),{c(){e=E("div"),i=E("div"),i.textContent="V bitrate",n=z(),U(o.$$.fragment),s=z(),l=E("span"),a=Ne(r),c=Ne(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){T(p,e,h),m(e,i),m(e,n),O(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&64&&(_.values=p[6]),o.$set(_),(!f||h&1)&&r!==(r=p[0].bitrate.toFixed(2)+"")&&Xe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),H(o)}}}function p0(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe,ke,qe,Ze,Ve,ce,we=t[0].id&&_s(t),Q=t[0].provider&&vs(t),X=t[0].viewport&&ws(t),Te=t[0].videoSize&&ks(t),se=t[0].cdn&&ys(t),Se=t[0].volume&&Cs(t),Ee=t[0].buffer&&Ps(t),Ie=t[0].speed&&Ss(t),ue=t[0].bitrate&&Ts(t);return W=new Fl({props:{values:t[4]}}),{c(){e=E("div"),i=E("button"),i.textContent="[x]",n=z(),o=E("div"),s=E("div"),l=E("div"),l.textContent="Version",r=z(),a=E("span"),f=Ne(c),p=z(),we&&we.c(),h=z(),Q&&Q.c(),_=z(),X&&X.c(),b=z(),Te&&Te.c(),w=z(),se&&se.c(),v=z(),Se&&Se.c(),P=z(),Ee&&Ee.c(),k=z(),y=E("div"),I=E("div"),I.textContent="Dropped",ne=z(),V=E("span"),K=Ne(t[2]),M=Ne(" / "),ee=Ne(t[1]),A=Ne(" frames"),ie=z(),Ie&&Ie.c(),N=z(),ue&&ue.c(),G=z(),re=E("div"),C=E("div"),C.textContent="FPS",le=z(),U(W.$$.fragment),oe=z(),ke=E("span"),qe=Ne(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(s,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(re,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",j("aria_label_debug_panel")),B(e,"container-mobile",t[7])},m(_e,$){T(_e,e,$),m(e,i),m(e,n),m(e,o),m(o,s),m(s,l),m(s,r),m(s,a),m(a,f),m(o,p),we&&we.m(o,null),m(o,h),Q&&Q.m(o,null),m(o,_),X&&X.m(o,null),m(o,b),Te&&Te.m(o,null),m(o,w),se&&se.m(o,null),m(o,v),Se&&Se.m(o,null),m(o,P),Ee&&Ee.m(o,null),m(o,k),m(o,y),m(y,I),m(y,ne),m(y,V),m(V,K),m(V,M),m(V,ee),m(V,A),m(o,ie),Ie&&Ie.m(o,null),m(o,N),ue&&ue.m(o,null),m(o,G),m(o,re),m(re,C),m(re,le),O(W,re,null),m(re,oe),m(re,ke),m(ke,qe),Ze=!0,Ve||(ce=pe(i,"click",tt(t[9])),Ve=!0)},p(_e,[$]){(!Ze||$&1)&&c!==(c=_e[0].version+"")&&Xe(f,c),_e[0].id?we?we.p(_e,$):(we=_s(_e),we.c(),we.m(o,h)):we&&(we.d(1),we=null),_e[0].provider?Q?Q.p(_e,$):(Q=vs(_e),Q.c(),Q.m(o,_)):Q&&(Q.d(1),Q=null),_e[0].viewport?X?X.p(_e,$):(X=ws(_e),X.c(),X.m(o,b)):X&&(X.d(1),X=null),_e[0].videoSize?Te?Te.p(_e,$):(Te=ks(_e),Te.c(),Te.m(o,w)):Te&&(Te.d(1),Te=null),_e[0].cdn?se?se.p(_e,$):(se=ys(_e),se.c(),se.m(o,v)):se&&(se.d(1),se=null),_e[0].volume?Se?Se.p(_e,$):(Se=Cs(_e),Se.c(),Se.m(o,P)):Se&&(Se.d(1),Se=null),_e[0].buffer?Ee?Ee.p(_e,$):(Ee=Ps(_e),Ee.c(),Ee.m(o,k)):Ee&&(Ee.d(1),Ee=null),(!Ze||$&4)&&Xe(K,_e[2]),(!Ze||$&2)&&Xe(ee,_e[1]),_e[0].speed?Ie?(Ie.p(_e,$),$&1&&d(Ie,1)):(Ie=Ss(_e),Ie.c(),d(Ie,1),Ie.m(o,N)):Ie&&(de(),g(Ie,1,1,()=>{Ie=null}),me()),_e[0].bitrate?ue?(ue.p(_e,$),$&1&&d(ue,1)):(ue=Ts(_e),ue.c(),d(ue,1),ue.m(o,G)):ue&&(de(),g(ue,1,1,()=>{ue=null}),me());const Y={};$&16&&(Y.values=_e[4]),W.$set(Y),(!Ze||$&8)&&Xe(qe,_e[3]),(!Ze||$&128)&&B(e,"container-mobile",_e[7])},i(_e){Ze||(d(Ie),d(ue),d(W.$$.fragment,_e),Ze=!0)},o(_e){g(Ie),g(ue),g(W.$$.fragment,_e),Ze=!1},d(_e){_e&&S(e),we&&we.d(),Q&&Q.d(),X&&X.d(),Te&&Te.d(),se&&se.d(),Se&&Se.d(),Ee&&Ee.d(),Ie&&Ie.d(),ue&&ue.d(),H(W),Ve=!1,ce()}}}function h0(t,e,i){let n;const o=dt(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;D(t,l,y=>i(7,n=y));const r=()=>{_n.remove(Pl),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,p=0,h=0;const _=new ml(60),b=new ml(60),w=new ml(60);let v=[],P=[],k=[];return sn(()=>{_n.set(Pl,"true"),o.actions.internal.startLogging(),c&&(i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=o.actions.internal.getDebugPanelData())},500);let I;return c&&(I=window.setInterval(()=>{if(c){i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames);const ne=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ne-f),i(1,f=ne),_.push(h),a.speed&&b.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,v=_.getValuesFromBottom()),i(5,P=b.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(y),I&&clearInterval(I)}}),[a,f,p,h,v,P,k,n,l,r]}class Y1 extends be{constructor(e){super(),ge(this,e,h0,p0,he,{},m0)}}function g0(t){Oe(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 b0(t){let e,i,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(o,s){T(o,e,s),i||(n=pe(e,"click",tt(t[0])),i=!0)},p:Z,i:Z,o:Z,d(o){o&&S(e),i=!1,n()}}}function _0(t){function e(i){go.call(this,t,i)}return[e]}class v0 extends be{constructor(e){super(),ge(this,e,_0,b0,he,{},g0)}}function w0(t){Oe(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 k0(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("canvas"),n=z(),o=R("svg"),s=R("g"),l=R("g"),r=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(r,"class","_play"),u(r,"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(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),m(e,i),t[2](i),m(e,n),m(e,o),m(o,s),m(s,l),m(l,r)},p:Z,i:Z,o:Z,d(a){a&&S(e),t[2](null)}}}const y0=5e3;function C0(t,e,i){let{onTimerEnded:n=Ge}=e,o;sn(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/y0;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){ve[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class P0 extends be{constructor(e){super(),ge(this,e,C0,k0,he,{onTimerEnded:1},w0)}}function S0(t){Oe(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 Es(t){let e,i;return e=new P0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function T0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne;r=new v0({}),r.$on("click",t[4]);let V=t[3]&&Es(t);return{c(){e=E("div"),i=z(),n=E("div"),o=E("div"),s=E("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=z(),U(r.$$.fragment),a=z(),c=E("div"),f=E("div"),p=E("div"),h=E("div"),_=z(),V&&V.c(),w=z(),v=E("div"),P=E("div"),k=Ne(t[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(p,"class","thumb v-kisfwc"),u(p,"style",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(P,"class","title v-kisfwc"),u(v,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(K,M){T(K,e,M),T(K,i,M),T(K,n,M),m(n,o),m(o,s),m(o,l),O(r,o,null),m(n,a),m(n,c),m(c,f),m(f,p),m(p,h),m(p,_),V&&V.m(p,null),m(c,w),m(c,v),m(v,P),m(P,k),y=!0,I||(ne=pe(c,"click",function(){bn(t[2])&&t[2].apply(this,arguments)}),I=!0)},p(K,[M]){t=K,t[3]?V?(V.p(t,M),M&8&&d(V,1)):(V=Es(t),V.c(),d(V,1),V.m(p,null)):V&&(de(),g(V,1,1,()=>{V=null}),me()),(!y||M&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(p,"style",b),(!y||M&1)&&Xe(k,t[0])},i(K){y||(d(r.$$.fragment,K),d(V),y=!0)},o(K){g(r.$$.fragment,K),g(V),y=!1},d(K){K&&(S(e),S(i),S(n)),H(r),V&&V.d(),I=!1,ne()}}}function E0(t,e,i){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>i(3,l=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,o=a.thumb),"playNextVideo"in a&&i(2,s=a.playNextVideo)},[n,o,s,l,r]}class A0 extends be{constructor(e){super(),ge(this,e,E0,T0,he,{title:0,thumb:1,playNextVideo:2},S0)}}const Q1=(t,e)=>Math.min(+(t+e).toFixed(2),1),X1=(t,e)=>Math.max(+(t-e).toFixed(2),0),J1=(t,e,i)=>{const n=Q1(e,i);e<1&&t.actions.internal.setVolume(n)},x1=(t,e,i)=>{const n=X1(e,i);e>0&&t.actions.internal.setVolume(n)};function L0(t){Oe(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function I0(t){let e,i,n,o;const s=t[22].default,l=Rn(s,t,t[21],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",j("aria_label_video_player"))},m(r,a){T(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[pe(e,"keyup",t[13]),pe(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&zn(l,s,r,r[21],i?Nn(s,r[21],a,null):Dn(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[23](null),n=!1,$e(o)}}}function V0(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{$$slots:b={},$$scope:w}=e,{isAds:v}=e,{hideContextMenu:P}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:I}=e,{fakePlayButtonHandler:ne}=e;const V=dt(),K=rn(),M=V.getLogger().createComponentLog("KeyboardControls component"),ee=V.state.playbackState$;D(t,ee,se=>i(27,o=se));const A=V.ads.playbackState;D(t,A,se=>i(26,n=se));const ie=V.state.positionExact$;D(t,ie,se=>i(33,f=se));const N=V.state.duration$;D(t,N,se=>i(32,c=se));const G=V.state.volume$;D(t,G,se=>i(36,_=se));const re=V.ui.controls.disabledControls$;D(t,re,se=>i(31,a=se));const C=V.state.muted$;D(t,C,se=>i(29,l=se));const le=V.state.currentSubtitle$;D(t,le,se=>i(28,s=se));const W=V.state.currentPlaybackRate$;D(t,W,se=>i(34,p=se));const oe=V.state.availablePlaybackRates$;D(t,oe,se=>i(35,h=se));const ke=V.state.isEnded$;D(t,ke,se=>i(30,r=se));let qe=0,Ze=!0,Ve;const ce=()=>Ve?.focus(),we=se=>(se!==Ze&&(Ze=se,qe=0),qe+=1,(K.controls.seekStepKeyboard+K.controls.seekStepKeyboard*qe)/1e3),Q=se=>{const Se=se.target,Ee=Se?.getAttribute("role")?.includes("menuitem"),Ie=Se.classList.contains("btn"),ue=se.code;if(Ie&&ue===Pe.Space)return;const _e=Jc.has(ue);if(Ee&&_e)return;const $=!Xc.has(ue);if(se.ctrlKey&&$||se.altKey&&$||se.metaKey)return;const Y=Ee&&ue===Pe.Escape;xc.has(ue)||Y||P();const ze=o===Ft.PLAYING||o===Ft.PAUSED,it=v&&(n===Yt.PAUSED||n===Yt.PLAYING),Je=!it&&!a.has(nt.TIMELINE);if(ze||it)switch(M({message:`key down, code: ${ue}`}),ue){case Pe.KeyJ:case Pe.ArrowLeft:{if(!Je)break;if(se.ctrlKey||se.altKey){const Ce=V.actions.internal.getPrevEpisode();V.actions.internal.seekToPrevEpisode(Ce),Ce&&y({type:Ke.EPISODE_PREV,text:Ce.text}),se.preventDefault()}else{const Ce=se.shiftKey?we(!1):K.controls.seekStepKeyboard/1e3,Ye=Math.max(f-Ce,0);f>0&&(V.actions.internal.seekTime(Ye,Vt.DOUBLE_TAP),y({type:Ke.BACKWARD_SEEK,text:Ce.toString()}),se.preventDefault())}break}case Pe.KeyL:case Pe.ArrowRight:{if(!Je)break;if(se.ctrlKey||se.altKey){const Ce=V.actions.internal.getNextEpisode();V.actions.internal.seekToNextEpisode(Ce),Ce&&y({type:Ke.EPISODE_NEXT,text:Ce.text}),se.preventDefault()}else{const Ce=se.shiftKey?we(!0):K.controls.seekStepKeyboard/1e3,Ye=Math.min(f+Ce,c);Math.round(f)<Math.round(c)&&(V.actions.internal.seekTime(Ye,Vt.DOUBLE_TAP),y({type:Ke.FORWARD_SEEK,text:Ce.toString()}),se.preventDefault())}break}case Pe.ArrowUp:{const Ce=_,Ye=K.controls.volumeStepKeyboard,xe=Ce<=1;if(J1(V,Ce,Ye),xe){const ct=Math.round(Q1(Ce,Ye)*100).toString();y({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}se.preventDefault();break}case Pe.ArrowDown:{const Ce=_,Ye=K.controls.volumeStepKeyboard,xe=Ce>=0;if(x1(V,Ce,Ye),xe){const ct=Math.round(X1(Ce,Ye)*100).toString();y({type:Ke.VOLUME,t:{key:"hotkey_helper_current_volume",value:ct}})}se.preventDefault();break}case Pe.Comma:{if(se.shiftKey){V.actions.internal.decrementPlaybackRate();const Ce=h.find(Ye=>Ye.value===p);y({type:Ke.RATE_DOWN,text:Ce?.displayValue}),se.preventDefault()}else{if(it||o!==Ft.PAUSED)break;const Ce=Math.max(f-K.controls.seekStepFrame/1e3,0);f>0&&(y({type:Ke.BACKWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ce,Vt.DOUBLE_TAP),se.preventDefault())}break}case Pe.Period:{if(se.shiftKey){V.actions.internal.incrementPlaybackRate();const Ce=h.find(Ye=>Ye.value===p);y({type:Ke.RATE_UP,text:Ce?.displayValue}),se.preventDefault()}else{if(it||o!==Ft.PAUSED)break;const Ce=Math.min(f+K.controls.seekStepFrame/1e3,c);f<c&&(y({type:Ke.FORWARD_SEEK}),V.actions.internal.clearDelayedBufferingCheckTimeout(),V.actions.internal.seekTime(Ce,Vt.DOUBLE_TAP),se.preventDefault())}break}case Pe.KeyK:case Pe.Space:if(!a.has(nt.PLAY_BUTTON))if(ne)ne();else{V.actions.internal.togglePlay();let Ce=Ke.PLAY;o===Ft.PAUSED?Ce=Ke.PAUSE:r&&(Ce=Ke.REPLAY),y({type:Ce})}se.preventDefault();break;case Pe.KeyM:{y({type:l?Ke.VOLUME:Ke.MUTE}),V.actions.internal.toggleMuted(),se.preventDefault();break}case Pe.KeyF:k(),se.preventDefault();break;case Pe.KeyC:V.actions.internal.toggleSubtitle(),s.value!=="off"?y({type:Ke.SUBTITLES_ON,text:s?.displayValue}):y({type:Ke.SUBTITLES_OFF}),se.preventDefault();break;case Pe.KeyI:V.actions.internal.togglePictureInPicture(),se.preventDefault();break;case Pe.Digit1:case Pe.Numpad1:y(),V.actions.internal.seekToPercent(.1,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit2:case Pe.Numpad2:y(),V.actions.internal.seekToPercent(.2,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit3:case Pe.Numpad3:y(),V.actions.internal.seekToPercent(.3,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit4:case Pe.Numpad4:y(),V.actions.internal.seekToPercent(.4,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit5:case Pe.Numpad5:y(),V.actions.internal.seekToPercent(.5,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit6:case Pe.Numpad6:y(),V.actions.internal.seekToPercent(.6,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit7:case Pe.Numpad7:y(),V.actions.internal.seekToPercent(.7,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit8:case Pe.Numpad8:y(),V.actions.internal.seekToPercent(.8,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit9:case Pe.Numpad9:y(),V.actions.internal.seekToPercent(.9,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Digit0:case Pe.Numpad0:y(),V.actions.internal.seekToPercent(0,Vt.DOUBLE_TAP),se.preventDefault();break;case Pe.Slash:{se.shiftKey&&K.features.hotKeyMapModal&&(I(),se.preventDefault());break}case Pe.ShiftLeft:case Pe.ShiftRight:se.preventDefault();break;case Pe.Tab:case Pe.Escape:case Pe.Enter:break;default:gc(ue);break}},X=se=>{const Se=se.code;if(se.ctrlKey||se.altKey||se.metaKey)return;const Ee=o===Ft.PLAYING||o===Ft.PAUSED,Ie=v&&(n===Yt.PAUSED||n===Yt.PLAYING);if(Ee||Ie)switch(Se){case Pe.ShiftLeft:case Pe.ShiftRight:qe=0;break}};function Te(se){ve[se?"unshift":"push"](()=>{Ve=se,i(0,Ve)})}return t.$$set=se=>{"isAds"in se&&i(14,v=se.isAds),"hideContextMenu"in se&&i(15,P=se.hideContextMenu),"toggleFullscreen"in se&&i(16,k=se.toggleFullscreen),"showHotKeyHelpers"in se&&i(17,y=se.showHotKeyHelpers),"showKeyMap"in se&&i(18,I=se.showKeyMap),"fakePlayButtonHandler"in se&&i(19,ne=se.fakePlayButtonHandler),"$$scope"in se&&i(21,w=se.$$scope)},[Ve,ee,A,ie,N,G,re,C,le,W,oe,ke,Q,X,v,P,k,y,I,ne,ce,w,b,Te]}class M0 extends be{constructor(e){super(),ge(this,e,V0,I0,he,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},L0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function B0(t){Oe(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 R0(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:Z,i:Z,o:Z,d(i){i&&S(e)}}}class $1 extends be{constructor(e){super(),ge(this,e,null,R0,he,{},B0)}}function N0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p:Z,i:Z,o:Z,d(b){b&&S(e)}}}class z0 extends be{constructor(e){super(),ge(this,e,null,N0,he,{})}}function D0(t){Oe(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 O0(t){let e,i,n,o,s,l,r,a,c,f,p,h;const _=t[14].default,b=Rn(_,t,t[13],null);return{c(){e=E("button"),b&&b.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,v){T(w,e,v),b&&b.m(e,null),t[16](e),f=!0,p||(h=[pe(e,"pointerdown",tt(Qt(t[15]))),pe(e,"click",tt(Qt(function(){bn(t[10]===Ge?null:t[10])&&(t[10]===Ge?null:t[10]).apply(this,arguments)}))),pe(e,"focus",Qt(function(){bn(t[11]===Ge?null:t[11])&&(t[11]===Ge?null:t[11]).apply(this,arguments)})),pe(e,"blur",Qt(function(){bn(t[12]===Ge?null:t[12])&&(t[12]===Ge?null:t[12]).apply(this,arguments)}))],p=!0)},p(w,[v]){t=w,b&&b.p&&(!f||v&8192)&&zn(b,_,t,t[13],f?Nn(_,t[13],v,null):Dn(t[13]),null),(!f||v&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||v&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||v&8&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||v&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||v&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||v&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||v&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||v&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c),(!f||v&512)&&u(e,"tabindex",t[9])},i(w){f||(d(b,w),f=!0)},o(w){g(b,w),f=!1},d(w){w&&S(e),b&&b.d(w),t[16](null),p=!1,$e(h)}}}function H0(t,e,i){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:p=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:b=0}=e,{click:w=Ge}=e,{focus:v=Ge}=e,{blur:P=Ge}=e;function k(I){go.call(this,t,I)}function y(I){ve[I?"unshift":"push"](()=>{p=I,i(0,p)})}return t.$$set=I=>{"className"in I&&i(1,s=I.className),"style"in I&&i(2,l=I.style),"disabled"in I&&i(3,r=I.disabled),"testId"in I&&i(4,a=I.testId),"ariaHidden"in I&&i(5,c=I.ariaHidden),"ariaLabel"in I&&i(6,f=I.ariaLabel),"ref"in I&&i(0,p=I.ref),"ariaKeyShortCut"in I&&i(7,h=I.ariaKeyShortCut),"ariaExpanded"in I&&i(8,_=I.ariaExpanded),"tabIndex"in I&&i(9,b=I.tabIndex),"click"in I&&i(10,w=I.click),"focus"in I&&i(11,v=I.focus),"blur"in I&&i(12,P=I.blur),"$$scope"in I&&i(13,o=I.$$scope)},[p,s,l,r,a,c,f,h,_,b,w,v,P,o,n,k,y]}class wi extends be{constructor(e){super(),ge(this,e,H0,O0,he,{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},D0)}}function F0(t){Oe(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 As(t){let e,i,n,o,s,l=t[2]&&Ls(t);return{c(){e=E("div"),i=E("h3"),n=Ne(t[3]),o=z(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){T(r,e,a),m(e,i),m(i,n),m(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&Xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=Ls(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),g(l,1,1,()=>{l=null}),me())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&S(e),l&&l.d()}}}function Ls(t){let e,i;return e=new wi({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:j("hotkey_map_modal_close_btn_text"),$$slots:{default:[U0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function U0(t){let e,i;return e=new z0({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function q0(t){let e,i,n,o,s,l,r=t[1]&&As(t);const a=t[4].default,c=Rn(a,t,t[5],null);return{c(){e=E("div"),i=E("div"),r&&r.c(),n=z(),o=E("div"),s=E("div"),c&&c.c(),u(s,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,p){T(f,e,p),m(e,i),r&&r.m(i,null),m(i,n),m(i,o),m(o,s),c&&c.m(s,null),l=!0},p(f,[p]){f[1]?r?(r.p(f,p),p&2&&d(r,1)):(r=As(f),r.c(),d(r,1),r.m(i,n)):r&&(de(),g(r,1,1,()=>{r=null}),me()),c&&c.p&&(!l||p&32)&&zn(c,a,f,f[5],l?Nn(a,f[5],p,null):Dn(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){g(r),g(c,f),l=!1},d(f){f&&S(e),r&&r.d(),c&&c.d(f)}}}function Z0(t,e,i){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,s=c.onClose),"showHeader"in c&&i(1,l=c.showHeader),"showCloseCross"in c&&i(2,r=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,o=c.$$scope)},[s,l,r,a,n,o]}class W0 extends be{constructor(e){super(),ge(this,e,Z0,q0,he,{onClose:0,showHeader:1,showCloseCross:2,title:3},F0)}}const K0=new Set(["BR"]),Is=t=>{const e=document.createElement("DIV");e.innerHTML=t;const i=e.querySelectorAll("*");let n=i.length;for(;n--;){const o=i[n],s=o.tagName;K0.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function j0(t){Oe(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 Vs(t,e,i){const n=t.slice();return n[5]=e[i].title,n[6]=e[i].items,n}function Ms(t,e,i){const n=t.slice();return n[9]=e[i].description,n[10]=e[i].value,n}function Bs(t){let e,i,n=Is(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=E("li"),i=E("span"),o=z(),s=E("span"),r=Ne(l),a=z(),u(i,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),m(e,i),i.innerHTML=n,m(e,o),m(e,s),m(s,r),m(e,a)},p(c,f){f&1&&n!==(n=Is(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&Xe(r,l)},d(c){c&&S(e)}}}function Rs(t){let e,i,n=t[5]+"",o,s,l,r,a=Ut(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Bs(Ms(t,a,f));return{c(){e=E("div"),i=E("h5"),o=Ne(n),s=z(),l=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=z(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,p){T(f,e,p),m(e,i),m(i,o),m(e,s),m(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);m(e,r)},p(f,p){if(p&1&&n!==(n=f[5]+"")&&Xe(o,n),p&1){a=Ut(f[6]);let h;for(h=0;h<a.length;h+=1){const _=Ms(f,a,h);c[h]?c[h].p(_,p):(c[h]=Bs(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),vn(c,f)}}}function G0(t){let e,i=Ut(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=Rs(Vs(t,i,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,s){T(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){i=Ut(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=Vs(o,i,l);n[l]?n[l].p(r,s):(n[l]=Rs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function Y0(t){let e,i;return e=new W0({props:{title:t[0].title,onClose:t[2],$$slots:{default:[G0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Q0(t,e,i){let n;const o=dt(),{data:s,show:l}=o.ui.modals.hotKeyMap;return D(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class X0 extends be{constructor(e){super(),ge(this,e,Q0,Y0,he,{},j0)}}function J0(t){Oe(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 x0(t){let e,i;const n=t[1].default,o=Rn(n,t,t[0],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){T(s,e,l),o&&o.m(e,null),i=!0},p(s,[l]){o&&o.p&&(!i||l&1)&&zn(o,n,s,s[0],i?Nn(n,s[0],l,null):Dn(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s)}}}function $0(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class ed extends be{constructor(e){super(),ge(this,e,$0,x0,he,{},J0)}}function td(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class id extends be{constructor(e){super(),ge(this,e,null,td,he,{})}}function nd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class od extends be{constructor(e){super(),ge(this,e,null,nd,he,{})}}function ld(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class sd extends be{constructor(e){super(),ge(this,e,null,ld,he,{})}}function rd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class eu extends be{constructor(e){super(),ge(this,e,null,rd,he,{})}}function ad(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class tu extends be{constructor(e){super(),ge(this,e,null,ad,he,{})}}const wo=t=>{switch(t){case co.Q_720P:return sd;case co.Q_1080P:return eu;case co.Q_1440P:return tu;case co.Q_2160P:return id;case co.Q_4320P:return od}};function ud(t){Oe(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 cd(t){let e,i,n,o,s,l,r=t[1]&&Ns(t);return{c(){e=E("div"),r&&r.c(),i=z(),n=R("svg"),o=R("path"),s=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"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(s,"fill","#fff"),B(s,"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){T(a,e,c),r&&r.m(e,null),m(e,i),m(e,n),m(n,o),m(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=Ns(a),r.c(),d(r,1),r.m(e,i)):r&&(de(),g(r,1,1,()=>{r=null}),me()),(!l||c&2)&&B(s,"hidden",!!a[1]),(!l||c&4)&&B(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&S(e),r&&r.d()}}}function fd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}function Ns(t){let e,i;return e=new ed({props:{$$slots:{default:[dd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function dd(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=Tn(o,s())),{c(){e&&U(e.$$.fragment),i=lt()},m(l,r){e&&O(e,l,r),T(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){de();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(e=Tn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),O(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&S(i),e&&H(e,l)}}}function md(t){let e,i,n,o;const s=[fd,cd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function pd(t,e,i){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return t.$$set=r=>{"isMobile"in r&&i(0,o=r.isMobile),"currentQuality"in r&&i(3,s=r.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=wo(s)),t.$$.dirty&2&&i(2,l=!!n&&[eu,tu].includes(n))},[o,n,l,s]}class iu extends be{constructor(e){super(),ge(this,e,pd,md,he,{isMobile:0,currentQuality:3},ud)}}function hd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class nu extends be{constructor(e){super(),ge(this,e,null,hd,he,{})}}function gd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class bd extends be{constructor(e){super(),ge(this,e,null,gd,he,{})}}function _d(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class vd extends be{constructor(e){super(),ge(this,e,null,_d,he,{})}}function wd(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class kd extends be{constructor(e){super(),ge(this,e,null,wd,he,{})}}function yd(t){Oe(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Cd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){T(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function Pd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){T(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function Sd(t){let e;function i(s,l){return s[1]?Pd:Cd}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function Td(t,e,i){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return t.$$set=r=>{"direction"in r&&i(3,n=r.direction),"color"in r&&i(0,o=r.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,s=["up","down"].includes(n)),i(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Fn extends be{constructor(e){super(),ge(this,e,Td,Sd,he,{direction:3,color:0},yd)}}function Ed(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ad extends be{constructor(e){super(),ge(this,e,null,Ed,he,{})}}function Ld(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Do extends be{constructor(e){super(),ge(this,e,null,Ld,he,{})}}function Id(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Vd extends be{constructor(e){super(),ge(this,e,null,Id,he,{})}}function Md(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Bd extends be{constructor(e){super(),ge(this,e,null,Md,he,{})}}function Rd(t){Oe(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 zs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Ds(t,e,i){const n=t.slice();return n[145]=e[i],n}function Os(t,e,i){const n=t.slice();return n[148]=e[i],n}function Hs(t){let e,i,n,o,s,l,r,a,c,f,p,h=t[8]&&Fs(t),_=t[28]&&Us(t),b=t[27]&&Zs(t),w=t[26]&&Ws(t),v=t[25]&&Ks(t),P=t[24]&&js(t),k=t[8]&&Gs(t);return{c(){e=E("div"),h&&h.c(),i=z(),n=E("ul"),_&&_.c(),o=z(),b&&b.c(),s=z(),w&&w.c(),l=z(),v&&v.c(),r=z(),P&&P.c(),a=z(),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,I){T(y,e,I),h&&h.m(e,null),m(e,i),m(e,n),_&&_.m(n,null),m(n,o),b&&b.m(n,null),m(n,s),w&&w.m(n,null),m(n,l),v&&v.m(n,null),m(n,r),P&&P.m(n,null),m(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(p=[pe(e,"keydown",t[79]),pe(e,"mouseenter",t[73]),pe(e,"mouseleave",t[74])],f=!0)},p(y,I){y[8]?h?h.p(y,I):(h=Fs(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[28]?_?(_.p(y,I),I[0]&268435456&&d(_,1)):(_=Us(y),_.c(),d(_,1),_.m(n,o)):_&&(de(),g(_,1,1,()=>{_=null}),me()),y[27]?b?(b.p(y,I),I[0]&134217728&&d(b,1)):(b=Zs(y),b.c(),d(b,1),b.m(n,s)):b&&(de(),g(b,1,1,()=>{b=null}),me()),y[26]?w?(w.p(y,I),I[0]&67108864&&d(w,1)):(w=Ws(y),w.c(),d(w,1),w.m(n,l)):w&&(de(),g(w,1,1,()=>{w=null}),me()),y[25]?v?(v.p(y,I),I[0]&33554432&&d(v,1)):(v=Ks(y),v.c(),d(v,1),v.m(n,r)):v&&(de(),g(v,1,1,()=>{v=null}),me()),y[24]?P?(P.p(y,I),I[0]&16777216&&d(P,1)):(P=js(y),P.c(),d(P,1),P.m(n,a)):P&&(de(),g(P,1,1,()=>{P=null}),me()),y[8]?k?(k.p(y,I),I[0]&256&&d(k,1)):(k=Gs(y),k.c(),d(k,1),k.m(n,null)):k&&(de(),g(k,1,1,()=>{k=null}),me()),(!c||I[0]&256)&&B(n,"items-mobile",y[8]),(!c||I[0]&256)&&B(e,"menu-desktop",!y[8]),(!c||I[0]&256)&&B(e,"menu-mobile",y[8]),(!c||I[0]&32768)&&B(e,"hidden",!y[15])},i(y){c||(d(_),d(b),d(w),d(v),d(P),d(k),c=!0)},o(y){g(_),g(b),g(w),g(v),g(P),g(k),c=!1},d(y){y&&S(e),h&&h.d(),_&&_.d(),b&&b.d(),w&&w.d(),v&&v.d(),P&&P.d(),k&&k.d(),t[116](null),f=!1,$e(p)}}}function Fs(t){let e,i,n,o,s,l,r,a;return{c(){e=E("div"),i=E("div"),i.textContent=`${j("submenu_settings")}`,n=z(),o=E("div"),s=z(),l=E("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(e,"item-mobile",t[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),m(e,i),m(e,n),m(e,o),T(c,s,f),T(c,l,f),r||(a=pe(o,"click",tt(t[59])),r=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(S(e),S(s),S(l)),r=!1,a()}}}function Us(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;n=new iu({});let b=t[36]&&!t[8]&&qs(t);return{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("menu_quality")}`,l=z(),r=E("div"),a=Ne(t[20]),c=z(),b&&b.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=j("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(w,v){T(w,e,v),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),b&&b.m(r,null),t[112](e),p=!0,h||(_=[pe(e,"click",tt(t[60])),pe(e,"keydown",t[80])],h=!0)},p(w,v){(!p||v[0]&1048576)&&Xe(a,w[20]),w[36]&&!w[8]?b?(b.p(w,v),v[0]&256|v[1]&32&&d(b,1)):(b=qs(w),b.c(),d(b,1),b.m(r,null)):b&&(de(),g(b,1,1,()=>{b=null}),me()),(!p||v[0]&1073741824&&f!==(f=j("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!p||v[0]&256)&&B(e,"item-mobile",w[8])},i(w){p||(d(n.$$.fragment,w),d(b),p=!0)},o(w){g(n.$$.fragment,w),g(b),p=!1},d(w){w&&S(e),H(n),b&&b.d(),t[112](null),h=!1,$e(_)}}}function qs(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=Tn(o,s())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){T(l,e,r),i&&O(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){de();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=Tn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&H(i)}}}function Zs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return n=new kd({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("menu_playback_rate")}`,l=z(),r=E("div"),a=Ne(t[13]),c=Ne("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=j("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,w){T(b,e,w),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),t[113](e),p=!0,h||(_=[pe(e,"click",tt(Qt(t[64]))),pe(e,"keydown",t[83])],h=!0)},p(b,w){(!p||w[0]&8192)&&Xe(a,b[13]),(!p||w[1]&1&&f!==(f=j("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!p||w[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),H(n),t[113](null),h=!1,$e(_)}}}function Ws(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,p,h,_;return n=new nu({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("subtitles_caption")}`,l=z(),r=E("div"),c=Ne(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=j("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,w){T(b,e,w),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,c),t[114](e),p=!0,h||(_=[pe(e,"click",tt(t[66])),pe(e,"keydown",t[86])],h=!0)},p(b,w){(!p||w[1]&64)&&a!==(a=b[37].displayValue+"")&&Xe(c,a),(!p||w[1]&64&&f!==(f=j("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!p||w[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),H(n),t[114](null),h=!1,$e(_)}}}function Ks(t){let e,i,n,o,s,l,r,a,c,f,p,h;return n=new vd({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("menu_traffic_saving")}`,l=z(),r=E("div"),a=Ne(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=j("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(_,b){T(_,e,b),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),t[115](e),f=!0,p||(h=[pe(e,"click",tt(t[61])),pe(e,"keydown",t[89])],p=!0)},p(_,b){(!f||b[0]&536870912)&&Xe(a,_[29]),(!f||b[0]&536870912&&c!==(c=j("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&B(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&S(e),H(n),t[115](null),p=!1,$e(h)}}}function js(t){let e,i,n,o,s,l,r,a;return n=new bd({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",j("aria_label_menu_download")),B(e,"item-mobile",t[8])},m(c,f){T(c,e,f),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[pe(e,"click",tt(t[69])),pe(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),H(n),r=!1,$e(a)}}}function Gs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P=t[39].showSupport&&Nd(t);return o=new Vd({}),f=new Bd({}),{c(){P&&P.c(),e=z(),i=E("li"),n=E("div"),U(o.$$.fragment),s=z(),l=E("div"),l.textContent=`${j("menu_copy_debug")}`,r=z(),a=E("li"),c=E("div"),U(f.$$.fragment),p=z(),h=E("div"),h.textContent=`${j("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"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",j("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]?j("aria_label_menu_debug_overlay_disable"):j("aria_label_menu_debug_overlay_enable"))},m(k,y){P&&P.m(k,y),T(k,e,y),T(k,i,y),m(i,n),O(o,n,null),m(i,s),m(i,l),T(k,r,y),T(k,a,y),m(a,c),O(f,c,null),m(a,p),m(a,h),b=!0,w||(v=[pe(i,"click",tt(t[71])),pe(i,"keydown",t[94]),pe(a,"click",tt(t[72])),pe(a,"keydown",t[95])],w=!0)},p(k,y){k[39].showSupport&&P.p(k,y),(!b||y[1]&128&&_!==(_=k[38]?j("aria_label_menu_debug_overlay_disable"):j("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){b||(d(P),d(o.$$.fragment,k),d(f.$$.fragment,k),b=!0)},o(k){g(P),g(o.$$.fragment,k),g(f.$$.fragment,k),b=!1},d(k){k&&(S(e),S(i),S(r),S(a)),P&&P.d(k),H(o),H(f),w=!1,$e(v)}}}function Nd(t){let e,i,n,o,s,l,r,a;return n=new Ad({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"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",`${j("menu_report")}. ${j("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[pe(e,"click",tt(t[70])),pe(e,"keydown",t[93])],r=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),H(n),r=!1,$e(a)}}}function Ys(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Fn({props:{direction:"left"}});let _=Ut(t[12]),b=[];for(let v=0;v<_.length;v+=1)b[v]=Js(Os(t,_,v));const w=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("submenu_quality")}`,l=z(),r=E("div"),a=z(),c=E("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",j("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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(v,P){T(v,e,P),m(e,i),O(n,i,null),m(i,o),m(i,s),t[117](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let k=0;k<b.length;k+=1)b[k]&&b[k].m(c,null);t[120](c),f=!0,p||(h=[pe(i,"click",tt(t[68])),pe(c,"keydown",t[81])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&4352|P[2]&1048577){_=Ut(v[12]);let k;for(k=0;k<_.length;k+=1){const y=Os(v,_,k);b[k]?(b[k].p(y,P),d(b[k],1)):(b[k]=Js(y),b[k].c(),d(b[k],1),b[k].m(c,null))}for(de(),k=_.length;k<b.length;k+=1)w(k);me()}(!f||P[0]&2097152)&&u(c,"style",v[21]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),H(n),t[117](null),vn(b,v),t[120](null),p=!1,$e(h)}}}function Qs(t){let e,i,n;return i=new Do({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Xs(t){let e,i,n;var o=wo(t[148].value);function s(l){return{}}return o&&(i=Tn(o,s())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){T(l,e,r),i&&O(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=wo(l[148].value))){if(i){de();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),me()}o?(i=Tn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&H(i)}}}function Js(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&wo(t[148].value),a,c,f,p,h,_,b=t[148].selected&&Qs(),w=r&&Xs(t);function v(){return t[118](t[148])}function P(...k){return t[119](t[148],...k)}return{c(){e=E("li"),b&&b.c(),i=z(),n=E("div"),s=Ne(o),l=z(),w&&w.c(),a=z(),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){T(k,e,y),b&&b.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),w&&w.m(e,null),m(e,a),p=!0,h||(_=[pe(e,"click",tt(v)),pe(e,"keydown",P)],h=!0)},p(k,y){t=k,t[148].selected?b?y[0]&4096&&d(b,1):(b=Qs(),b.c(),d(b,1),b.m(e,i)):b&&(de(),g(b,1,1,()=>{b=null}),me()),(!p||y[0]&4096)&&o!==(o=t[148].displayValue+"")&&Xe(s,o),(!p||y[0]&256)&&B(n,"quality-title-mobile",t[8]),y[0]&4352&&(r=!t[8]&&wo(t[148].value)),r?w?(w.p(t,y),y[0]&4352&&d(w,1)):(w=Xs(t),w.c(),d(w,1),w.m(e,a)):w&&(de(),g(w,1,1,()=>{w=null}),me()),(!p||y[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!p||y[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!p||y[0]&256)&&B(e,"item-mobile",t[8])},i(k){p||(d(b),d(w),p=!0)},o(k){g(b),g(w),p=!1},d(k){k&&S(e),b&&b.d(),w&&w.d(),h=!1,$e(_)}}}function xs(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Fn({props:{direction:"left"}});let _=Ut(t[11]),b=[];for(let v=0;v<_.length;v+=1)b[v]=er(Ds(t,_,v));const w=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("submenu_playback_rate")}`,l=z(),r=E("div"),a=z(),c=E("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",j("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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(v,P){T(v,e,P),m(e,i),O(n,i,null),m(i,o),m(i,s),t[121](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let k=0;k<b.length;k+=1)b[k]&&b[k].m(c,null);t[124](c),f=!0,p||(h=[pe(i,"click",tt(t[68])),pe(c,"keydown",t[84])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&2304|P[2]&8388616){_=Ut(v[11]);let k;for(k=0;k<_.length;k+=1){const y=Ds(v,_,k);b[k]?(b[k].p(y,P),d(b[k],1)):(b[k]=er(y),b[k].c(),d(b[k],1),b[k].m(c,null))}for(de(),k=_.length;k<b.length;k+=1)w(k);me()}(!f||P[0]&4194304)&&u(c,"style",v[22]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),H(n),t[121](null),vn(b,v),t[124](null),p=!1,$e(h)}}}function $s(t){let e,i,n;return i=new Do({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function er(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,p,h=t[145].selected&&$s();function _(){return t[122](t[145])}function b(...w){return t[123](t[145],...w)}return{c(){e=E("li"),h&&h.c(),i=z(),n=E("div"),s=Ne(o),l=z(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=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,v){T(w,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[pe(e,"click",tt(_)),pe(e,"keydown",b)],f=!0)},p(w,v){t=w,t[145].selected?h?v[0]&2048&&d(h,1):(h=$s(),h.c(),d(h,1),h.m(e,i)):h&&(de(),g(h,1,1,()=>{h=null}),me()),(!c||v[0]&2048)&&o!==(o=t[145].displayValue+"")&&Xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||v[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,$e(p)}}}function tr(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M;n=new Fn({props:{direction:"left"}});let ee=!t[9]&&ir(),A=t[9]&&nr();return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("submenu_traffic_saving")}`,l=z(),r=E("div"),a=z(),c=E("ul"),f=E("li"),ee&&ee.c(),p=z(),h=E("div"),h.textContent=`${j("traffic_saving_disable")}`,_=z(),b=E("li"),A&&A.c(),w=z(),v=E("div"),v.textContent=`${j("traffic_saving_enable")}`,P=z(),k=E("div"),y=z(),I=E("div"),ne=E("span"),ne.textContent=`${j("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",j("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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",j("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",t[8]),u(v,"class","v-5r0p3"),B(v,"quality-title-mobile",t[8]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${j("aria_label_submenu_traffic_saving_on")}. ${j("traffic_saving_helper_text")}`),B(b,"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(ne,"class","v-5r0p3"),u(I,"class","item item-helper-text v-5r0p3"),B(I,"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(ie,N){T(ie,e,N),m(e,i),O(n,i,null),m(i,o),m(i,s),t[125](i),m(e,l),m(e,r),m(e,a),m(e,c),m(c,f),ee&&ee.m(f,null),m(f,p),m(f,h),m(c,_),m(c,b),A&&A.m(b,null),m(b,w),m(b,v),t[130](c),m(e,P),m(e,k),m(e,y),m(e,I),m(I,ne),V=!0,K||(M=[pe(i,"click",tt(t[68])),pe(f,"click",tt(t[126])),pe(f,"keydown",t[127]),pe(b,"click",tt(t[128])),pe(b,"keydown",t[129]),pe(c,"keydown",t[90])],K=!0)},p(ie,N){(!V||N[0]&256)&&B(i,"item-mobile",ie[8]),ie[9]?ee&&(de(),g(ee,1,1,()=>{ee=null}),me()):ee?N[0]&512&&d(ee,1):(ee=ir(),ee.c(),d(ee,1),ee.m(f,p)),(!V||N[0]&256)&&B(h,"quality-title-mobile",ie[8]),(!V||N[0]&256)&&B(f,"item-mobile",ie[8]),ie[9]?A?N[0]&512&&d(A,1):(A=nr(),A.c(),d(A,1),A.m(b,w)):A&&(de(),g(A,1,1,()=>{A=null}),me()),(!V||N[0]&256)&&B(v,"quality-title-mobile",ie[8]),(!V||N[0]&256)&&B(b,"item-mobile",ie[8]),(!V||N[0]&8388608)&&u(c,"style",ie[23]),(!V||N[0]&256)&&B(c,"items-mobile",ie[8]),(!V||N[0]&256)&&B(I,"item-mobile",ie[8]),(!V||N[0]&256)&&B(e,"menu-desktop",!ie[8]),(!V||N[0]&256)&&B(e,"menu-mobile",ie[8])},i(ie){V||(d(n.$$.fragment,ie),d(ee),d(A),V=!0)},o(ie){g(n.$$.fragment,ie),g(ee),g(A),V=!1},d(ie){ie&&S(e),H(n),t[125](null),ee&&ee.d(),A&&A.d(),t[130](null),K=!1,$e(M)}}}function ir(t){let e,i,n;return i=new Do({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function nr(t){let e,i,n;return i=new Do({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function or(t){let e,i,n,o,s,l,r,a,c,f;n=new Fn({props:{direction:"left"}});let p=Ut(t[10]),h=[];for(let b=0;b<p.length;b+=1)h[b]=sr(zs(t,p,b));const _=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("div"),s.textContent=`${j("subtitles_caption")}`,l=z(),r=E("ul");for(let b=0;b<h.length;b+=1)h[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",j("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),B(r,"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(b,w){T(b,e,w),m(e,i),O(n,i,null),m(i,o),m(i,s),m(e,l),m(e,r);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(r,null);t[133](r),a=!0,c||(f=[pe(i,"click",tt(t[68])),pe(r,"keydown",t[87])],c=!0)},p(b,w){if((!a||w[0]&256)&&B(i,"item-mobile",b[8]),w[0]&1280|w[2]&67108896){p=Ut(b[10]);let v;for(v=0;v<p.length;v+=1){const P=zs(b,p,v);h[v]?(h[v].p(P,w),d(h[v],1)):(h[v]=sr(P),h[v].c(),d(h[v],1),h[v].m(r,null))}for(de(),v=p.length;v<h.length;v+=1)_(v);me()}(!a||w[0]&256)&&B(r,"items-mobile",b[8]),(!a||w[0]&256)&&B(e,"menu-desktop",!b[8]),(!a||w[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let w=0;w<p.length;w+=1)d(h[w]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(b){b&&S(e),H(n),vn(h,b),t[133](null),c=!1,$e(f)}}}function lr(t){let e,i,n;return i=new Do({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function sr(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,p,h=t[142].selected&&lr();function _(){return t[131](t[142])}function b(...w){return t[132](t[142],...w)}return{c(){e=E("li"),h&&h.c(),i=z(),n=E("div"),s=Ne(o),l=z(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=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,v){T(w,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[pe(e,"click",tt(_)),pe(e,"keydown",b)],f=!0)},p(w,v){t=w,t[142].selected?h?v[0]&1024&&d(h,1):(h=lr(),h.c(),d(h,1),h.m(e,i)):h&&(de(),g(h,1,1,()=>{h=null}),me()),(!c||v[0]&1024)&&o!==(o=t[142].displayValue+"")&&Xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||v[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,$e(p)}}}function zd(t){let e,i,n,o,s,l,r=t[14]&&Hs(t),a=t[16]&&Ys(t),c=t[17]&&xs(t),f=t[19]&&tr(t),p=t[18]&&or(t);return{c(){e=E("div"),r&&r.c(),i=z(),a&&a.c(),n=z(),c&&c.c(),o=z(),f&&f.c(),s=z(),p&&p.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!t[14]),B(e,"container-mobile",t[8])},m(h,_){T(h,e,_),r&&r.m(e,null),m(e,i),a&&a.m(e,null),m(e,n),c&&c.m(e,null),m(e,o),f&&f.m(e,null),m(e,s),p&&p.m(e,null),l=!0},p(h,_){h[14]?r?(r.p(h,_),_[0]&16384&&d(r,1)):(r=Hs(h),r.c(),d(r,1),r.m(e,i)):r&&(de(),g(r,1,1,()=>{r=null}),me()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=Ys(h),a.c(),d(a,1),a.m(e,n)):a&&(de(),g(a,1,1,()=>{a=null}),me()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=xs(h),c.c(),d(c,1),c.m(e,o)):c&&(de(),g(c,1,1,()=>{c=null}),me()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=tr(h),f.c(),d(f,1),f.m(e,s)):f&&(de(),g(f,1,1,()=>{f=null}),me()),h[18]?p?(p.p(h,_),_[0]&262144&&d(p,1)):(p=or(h),p.c(),d(p,1),p.m(e,null)):p&&(de(),g(p,1,1,()=>{p=null}),me()),(!l||_[0]&16384)&&B(e,"hidden",!h[14]),(!l||_[0]&256)&&B(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(p),l=!0)},o(h){g(r),g(a),g(c),g(f),g(p),l=!1},d(h){h&&S(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),p&&p.d()}}}const gl=18;function Dd(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,{ref:ie=void 0}=e,{supportLink:N}=e,{playerControlsHeight:G=0}=e,{returnFocus:re}=e;const C=dt(),le=rn(),W=C.state.currentQuality$;D(t,W,te=>i(103,w=te));const oe=C.state.availableQualities$;D(t,oe,te=>i(12,_=te));const ke=C.state.autoQualityLimitingAvailable$;D(t,ke,te=>i(107,y=te));const qe=C.state.isAutoQualityEnabled$;D(t,qe,te=>i(104,v=te));const Ze=C.state.currentPlaybackRate$;D(t,Ze,te=>i(13,b=te));const Ve=C.state.availablePlaybackRates$;D(t,Ve,te=>i(11,p=te));const ce=C.state.currentSubtitle$;D(t,ce,te=>i(37,ee=te));const we=C.state.availableSubtitlesList$;D(t,we,te=>i(10,c=te));const Q=C.state.canDownload,X=C.state.hasMpegSources$;D(t,X,te=>i(108,I=te));const Te=C.ui.settingsMenuVisible;D(t,Te,te=>i(14,M=te));const se=C.ui.settingsMenuOpenedByKeyboard;D(t,se,te=>i(135,o=te));const Se=C.ui.isMobile;D(t,Se,te=>i(8,s=te));const Ee=C.ui.mobileNotReportControlHidden$;D(t,Ee,te=>i(105,P=te));const Ie=C.state.canChangePlaybackSpeed$;D(t,Ie,te=>i(106,k=te));const ue=C.ui.isFullscreen;D(t,ue,te=>i(111,K=te));const _e=C.state.trafficSavingEnabled$;D(t,_e,te=>i(9,r=te));const $=C.ui.playerSize;D(t,$,te=>i(110,V=te));const Y=C.ui.debugPanelVisible;D(t,Y,te=>i(38,A=te));const ze=C.ui.playerSize;D(t,ze,te=>i(109,ne=te));const it=C.state.isInteractiveTime$,Je=C.actions.internal.downloadVideo,Ce=C.actions.internal.closeSettingsMenu;let Ye=!0,xe=!1,ct=!1,gt=!1,Ue=!1,Me=!1;function mt(){o||re?.(),Ce(),Me=!1}function qt(){i(15,Ye=!1),i(16,xe=!0)}function Tt(){i(15,Ye=!1),i(19,Ue=!0)}function ki(te){C.actions.internal.setQuality(te),mt()}function fe(te){C.actions.internal.setTrafficSavingEnabled(te),mt()}function pt(){i(15,Ye=!1),i(17,ct=!0)}function rt(te){C.actions.internal.setPlaybackRate(te),mt()}function bt(){i(15,Ye=!1),i(18,gt=!0)}function at(te){C.actions.internal.setSubtitle(te),mt()}function Ct(){i(15,Ye=!0),i(16,xe=!1),i(17,ct=!1),i(18,gt=!1),i(19,Ue=!1)}function Pt(){Je(),mt()}function li(){window.open(N,"_blank"),mt(),C.actions.internal.pause()}function Ri(){Tl(C.actions.internal.getDebugTextData()),mt()}function si(){Y.set(!0),mt()}function Ni(){Me=!0}function Ki(){Me=!1}function yi(te,et,ni){if(!te)return"...";const Ji=et.find(un=>un.value===te),kt=Ji?Ji.displayValue:te;return ni?te===co.INVARIANT?j("auto_quality_invariant"):j("auto_quality",{actual:kt}):kt}let zi,Di,Et,Xt,ri,Zt,ai,Jt,Ci,ui,_t,ci,Pi,Si,Wt,fi,xt,$t=Ae(!1);D(t,$t,te=>i(102,h=te));let Bt,At,Rt=Ae(!1);D(t,Rt,te=>i(101,f=te));let vt,Lt,Oi=Ae(!1);D(t,Oi,te=>i(100,a=te));let di,Ti,Nt=Ae(!1);D(t,Nt,te=>i(99,l=te));const mi=te=>{G1(te,Ce)},ei=async te=>{Yo(te,qt,()=>{const et=_.findIndex(ni=>ni.selected);return xt.childNodes[et]})},Hi=async te=>{Qo(te,Ct,$t,Ce)},ht=(te,et)=>{xi(te,()=>ki(et))},ti=async te=>{Yo(te,pt,()=>{const et=p.findIndex(ni=>ni.selected);return At.childNodes[et]})},wt=async te=>{Qo(te,Ct,Rt,Ce)},ji=(te,et)=>{xi(te,()=>rt(et))},Kt=async te=>{Yo(te,bt,()=>{const et=c.findIndex(ni=>ni.selected);return Lt.childNodes[et]})},Fi=async te=>{Qo(te,Ct,Oi,Ce)},Qi=(te,et)=>{xi(te,()=>at(et))},Ei=async te=>{Yo(te,Tt,()=>{const et=r?2:0;return Ti.childNodes[et]})},pi=async te=>{Qo(te,Ct,Nt,Ce)},zt=(te,et)=>{xi(te,()=>fe(et))},Ui=te=>{xi(te,()=>Pt())},Gi=te=>{xi(te,()=>li())},hi=te=>{xi(te,()=>Ri())},gi=te=>{xi(te,()=>si())};sn(()=>{const te=it.subscribe(et=>{et&&!s&&!Me&&!o&&mt()});return()=>{te()}});function qi(te){ve[te?"unshift":"push"](()=>{fi=te,i(4,fi)})}function Le(te){ve[te?"unshift":"push"](()=>{Bt=te,i(5,Bt)})}function bi(te){ve[te?"unshift":"push"](()=>{vt=te,i(6,vt)})}function Yi(te){ve[te?"unshift":"push"](()=>{di=te,i(7,di)})}function Ai(te){ve[te?"unshift":"push"](()=>{ie=te,i(0,ie)})}function _i(te){ve[te?"unshift":"push"](()=>{Di=te,i(1,Di)})}const Li=te=>ki(te.value),De=(te,et)=>ht(et,te.value);function Ii(te){ve[te?"unshift":"push"](()=>{xt=te,i(32,xt)})}function vi(te){ve[te?"unshift":"push"](()=>{Et=te,i(2,Et)})}const ii=te=>rt(te.value),Dt=(te,et)=>ji(et,te.value);function Vi(te){ve[te?"unshift":"push"](()=>{At=te,i(33,At)})}function an(te){ve[te?"unshift":"push"](()=>{Xt=te,i(3,Xt)})}const Xi=()=>fe(!1),Zi=te=>zt(te,!1),$i=()=>fe(!0),en=te=>zt(te,!0);function tn(te){ve[te?"unshift":"push"](()=>{Ti=te,i(35,Ti)})}const Wi=te=>at(te),Mi=(te,et)=>Qi(et,te);function Bi(te){ve[te?"unshift":"push"](()=>{Lt=te,i(34,Lt)})}return t.$$set=te=>{"ref"in te&&i(0,ie=te.ref),"supportLink"in te&&i(96,N=te.supportLink),"playerControlsHeight"in te&&i(97,G=te.playerControlsHeight),"returnFocus"in te&&i(98,re=te.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&M&&(i(15,Ye=!0),i(16,xe=!1),i(17,ct=!1),i(18,gt=!1),i(19,Ue=!1)),t.$$.dirty[3]&1024&&i(36,n=wo(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,zi=yi(w,_,v)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&K)i(21,ri=`max-height: ${Math.round(V.height*.6)}px`);else if(s)i(21,ri="");else{const te=ne.height-gl-(Di?.clientHeight??0)-G;i(21,ri=`max-height: ${te}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,Zt="");else{const te=ne.height-gl-(Et?.clientHeight??0)-G;i(22,Zt=`max-height: ${te}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,ai="");else{const te=ne.height-gl-(Xt?.clientHeight??0)-G;i(23,ai=`max-height: ${te}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Jt=Q&&I&&!P),t.$$.dirty[3]&20480&&i(25,Ci=le.features.trafficSaving&&!P&&y),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,ui=c.length>0&&!P),t.$$.dirty[3]&12288&&i(27,_t=!!k&&!P),t.$$.dirty[3]&4096&&i(28,ci=!P),t.$$.dirty[0]&512&&i(29,Pi=j(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,Si=v?j("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Wt=p.find(te=>te.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Go(fi,$t,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Go(Bt,Rt,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Go(vt,Oi,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Go(di,Nt,l)},[ie,Di,Et,Xt,fi,Bt,vt,di,s,r,c,p,_,b,M,Ye,xe,ct,gt,Ue,zi,ri,Zt,ai,Jt,Ci,ui,_t,ci,Pi,Si,Wt,xt,At,Lt,Ti,n,ee,A,le,W,oe,ke,qe,Ze,Ve,ce,we,X,Te,se,Se,Ee,Ie,ue,_e,$,Y,ze,mt,qt,Tt,ki,fe,pt,rt,bt,at,Ct,Pt,li,Ri,si,Ni,Ki,$t,Rt,Oi,Nt,mi,ei,Hi,ht,ti,wt,ji,Kt,Fi,Qi,Ei,pi,zt,Ui,Gi,hi,gi,N,G,re,l,a,f,h,w,v,P,k,y,I,ne,V,K,qi,Le,bi,Yi,Ai,_i,Li,De,Ii,vi,ii,Dt,Vi,an,Xi,Zi,$i,en,tn,Wi,Mi,Bi]}class ou extends be{constructor(e){super(),ge(this,e,Dd,zd,he,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Rd,[-1,-1,-1,-1,-1])}}function Od(t){Oe(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Hd(t){let e,i,n;return i=new iu({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=E("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Fd(t){let e,i,n;function o(l){t[9](l)}let s={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[Hd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ud(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=dt(),a=r.state.currentQuality$;D(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;D(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,p=r.ui.isMobile;D(t,p,w=>i(3,o=w));let h;function _(w){const v=Dl(w);f(v)}function b(w){l=w,i(0,l)}return t.$$set=w=>{"ref"in w&&i(0,l=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=j(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,p,_,b]}class Ul extends be{constructor(e){super(),ge(this,e,Ud,Fd,he,{ref:0},Od)}}function qd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Zd extends be{constructor(e){super(),ge(this,e,null,qd,he,{})}}function Wd(t){let e,i;return e=new nu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Kd(t){let e,i;return e=new Zd({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function jd(t){let e,i,n,o;const s=[Kd,Wd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Gd(t){let e,i;return e=new wi({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Pe.KeyC],$$slots:{default:[jd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Yd(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;return t.$$set=l=>{"isSubtitlesEnabled"in l&&i(0,n=l.isSubtitlesEnabled),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=j(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class Qd extends be{constructor(e){super(),ge(this,e,Yd,Gd,he,{isSubtitlesEnabled:0,click:1})}}function Xd(t){Oe(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 rr(t){let e,i;return{c(){e=E("span"),i=Ne(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&8&&Xe(i,n[3])},d(n){n&&S(e)}}}function Jd(t){let e,i,n,o,s=t[2]&&rr(t);return{c(){e=E("div"),i=E("span"),n=Ne(t[4]),o=z(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",t[1])},m(l,r){T(l,e,r),m(e,i),m(i,n),m(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&Xe(n,l[4]),l[2]?s?s.p(l,r):(s=rr(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&B(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&S(e),s&&s.d(),t[7](null)}}}function xd(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(p){ve[p?"unshift":"push"](()=>{r=p,i(0,r)})}return t.$$set=p=>{"isMobile"in p&&i(1,n=p.isMobile),"duration"in p&&i(5,o=p.duration),"position"in p&&i(6,s=p.position),"showDuration"in p&&i(2,l=p.showDuration),"ref"in p&&i(0,r=p.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Bn(o)),t.$$.dirty&64&&i(4,c=Bn(s))},[r,n,l,a,c,o,s,f]}class lu extends be{constructor(e){super(),ge(this,e,xd,Jd,he,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},Xd)}}function $d(t){Oe(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 e2(t){let e,i,n,o,s,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"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",l="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(r,a){T(r,e,a),m(e,i),m(i,n),m(i,o),m(i,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(r){r&&S(e)}}}function t2(t,e,i){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return t.$$set=r=>{"volume"in r&&i(1,n=r.volume),"muted"in r&&i(2,o=r.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,l=s(n,o))},[l,n,o]}class sl extends be{constructor(e){super(),ge(this,e,t2,e2,he,{volume:1,muted:2},$d)}}function i2(t){let e,i;const n=t[4].default,o=Rn(n,t,t[3],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","overlay")},m(s,l){T(s,e,l),o&&o.m(e,null),t[5](e),i=!0},p(s,[l]){o&&o.p&&(!i||l&8)&&zn(o,n,s,s[3],i?Nn(n,s[3],l,null):Dn(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[5](null)}}}function n2(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=dt().ui.overlayContainer$;D(t,r,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)};sn(()=>(f(n),()=>c(n)));function p(h){ve[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,r,n,s,o,p]}class o2 extends be{constructor(e){super(),ge(this,e,n2,i2,he,{})}}function l2(t){Oe(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 ar(t){let e,i;return e=new o2({props:{$$slots:{default:[s2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s2(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("div"),n=Ne(t[1]),o=z(),s=E("div"),u(i,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${t[6]}px, ${t[7]}px);`),B(e,"active",t[0])},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),t[17](e)},p(a,c){c&2&&Xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&B(e,"active",a[0])},d(a){a&&S(e),t[17](null)}}}function r2(t){let e,i,n,o,s,l;const r=t[15].default,a=Rn(r,t,t[18],null);let c=t[1]&&ar(t);return{c(){e=E("div"),a&&a.c(),i=z(),c&&c.c(),n=lt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(e,"full-width",t[2])},m(f,p){T(f,e,p),a&&a.m(e,null),t[16](e),T(f,i,p),c&&c.m(f,p),T(f,n,p),o=!0,s||(l=[pe(e,"mouseenter",t[11]),pe(e,"mousemove",t[11]),pe(e,"mouseleave",t[12]),pe(e,"mousedown",t[12]),pe(e,"mouseup",t[11])],s=!0)},p(f,[p]){a&&a.p&&(!o||p&262144)&&zn(a,r,f,f[18],o?Nn(r,f[18],p,null):Dn(f[18]),null),(!o||p&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,p),p&2&&d(c,1)):(c=ar(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(de(),g(c,1,1,()=>{c=null}),me())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,$e(l)}}}const Xo=5;function a2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:p=!1}=e,h,_,b,w=0,v=Xo,P=0,k=0;const y=rn(),I=dt(),ne=I.ui.playerSize;D(t,ne,C=>i(21,o=C));const V=I.ui.overlayContainer$;D(t,V,C=>i(20,n=C));const K=I.getLogger().createComponentLog("Tooltip component"),M=()=>{if(!n)return;const C=n.getBoundingClientRect(),le=h.getBoundingClientRect(),W=le.width,oe=_.clientWidth,ke=o.width,qe=(W-oe)/2,Ze=le.left+c-C.left;let Ve=Ze+qe;const ce=le.top+f-C.top;let we=oe/2-Xo;const Q=Ve<Wo,X=Ve+oe>ke-Wo;Q&&(Ve=Wo,we=Ze+le.width/2-2.5*Xo),X&&(Ve=ke-Wo-oe,we=le.left-C.left+le.width/2-Ve-Xo),i(6,P=Ve),i(7,k=ce),i(5,w=we)},ee=()=>{try{if(!n||!h)return;M(),i(0,a=!0)}catch(C){K({message:String(C)})}},A=()=>{i(0,a=!1)},ie=()=>{_&&(b||(b=window.setTimeout(ee,y.controls.hideTimeoutTooltips)),a&&ee())},N=()=>{A(),window.clearTimeout(b),b=void 0};ll(()=>window.clearTimeout(b));function G(C){ve[C?"unshift":"push"](()=>{h=C,i(3,h)})}function re(C){ve[C?"unshift":"push"](()=>{_=C,i(4,_)})}return t.$$set=C=>{"content"in C&&i(1,r=C.content),"active"in C&&i(0,a=C.active),"translateX"in C&&i(13,c=C.translateX),"translateY"in C&&i(14,f=C.translateY),"isFullWidthWrapper"in C&&i(2,p=C.isFullWidthWrapper),"$$scope"in C&&i(18,l=C.$$scope)},[a,r,p,h,_,w,P,k,v,ne,V,ie,N,c,f,s,G,re,l]}class su extends be{constructor(e){super(),ge(this,e,a2,r2,he,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},l2)}}function u2(t){Oe(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 c2(t){let e;const i=t[16].default,n=Rn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&zn(n,i,o,o[21],e?Nn(i,o[21],s,null):Dn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function f2(t){let e,i;return e=new su({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[d2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function d2(t){let e;const i=t[16].default,n=Rn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&zn(n,i,o,o[21],e?Nn(i,o[21],s,null):Dn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function m2(t){let e,i,n,o,s,l,r,a,c;const f=[f2,c2],p=[];function h(_,b){return _[3]&&_[5]&&!_[10]?0:1}return i=h(t),n=p[i]=f[i](t),{c(){e=E("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),bo(()=>t[20].call(e))},m(_,b){T(_,e,b),p[i].m(e,null),t[19](e),l=Il(e,t[20].bind(e)),r=!0,a||(c=[pe(e,"pointerdown",tt(Qt(t[17]))),pe(e,"click",tt(Qt(t[18])))],a=!0)},p(_,[b]){let w=i;i=h(_),i===w?p[i].p(_,b):(de(),g(p[w],1,1,()=>{p[w]=null}),me(),n=p[i],n?n.p(_,b):(n=p[i]=f[i](_),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=_[6]||null))&&u(e,"aria-hidden",s)},i(_){r||(d(n),r=!0)},o(_){g(n),r=!1},d(_){_&&S(e),p[i].d(),t[19](null),l(),a=!1,$e(c)}}}function p2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:p=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{disabledTooltipContent:b=j("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:P=-18}=e;const k=dt(),y=k.ui.isMobile;D(t,y,A=>i(10,o=A));const I=k.state.graphIsOpened$;D(t,I,A=>i(15,n=A));let ne;function V(A){go.call(this,t,A)}function K(A){go.call(this,t,A)}function M(A){ve[A?"unshift":"push"](()=>{f=A,i(0,f)})}function ee(){p=this.clientWidth,i(1,p)}return t.$$set=A=>{"className"in A&&i(2,r=A.className),"disabled"in A&&i(13,a=A.disabled),"hasTooltip"in A&&i(3,c=A.hasTooltip),"ref"in A&&i(0,f=A.ref),"width"in A&&i(1,p=A.width),"isFullWidthTooltip"in A&&i(4,h=A.isFullWidthTooltip),"tooltipContent"in A&&i(5,_=A.tooltipContent),"disabledTooltipContent"in A&&i(14,b=A.disabledTooltipContent),"isAriaHidden"in A&&i(6,w=A.isAriaHidden),"initialTranslateXPx"in A&&i(7,v=A.initialTranslateXPx),"initialTranslateYPx"in A&&i(8,P=A.initialTranslateYPx),"$$scope"in A&&i(21,l=A.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ne=n?j("tooltip_disabled_when_graph_on"):b):i(9,ne=_))},[f,p,r,c,h,_,w,v,P,ne,o,y,I,a,b,n,s,V,K,M,ee,l]}class Mt extends be{constructor(e){super(),ge(this,e,p2,m2,he,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},u2)}}function h2(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("rect"),o=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=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(l,r){T(l,e,r),m(e,i),m(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(i,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:Z,o:Z,d(l){l&&S(e)}}}function g2(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class b2 extends be{constructor(e){super(),ge(this,e,g2,h2,he,{completed:0})}}function _2(t){Oe(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 v2(t){let e,i,n,o,s;return i=new b2({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}%`),bo(()=>t[3].call(e)),B(e,"disabled",t[1])},m(l,r){T(l,e,r),O(i,e,null),o=Il(e,t[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),i.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&B(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&S(e),H(i),o()}}}function w2(t){let e,i;return e=new Mt({props:{tooltipContent:j(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:[v2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=j(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function k2(t,e,i){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,i(2,s)}return t.$$set=r=>{"videoEpisode"in r&&i(0,n=r.videoEpisode),"disabled"in r&&i(1,o=r.disabled)},[n,o,s,l]}class y2 extends be{constructor(e){super(),ge(this,e,k2,w2,he,{videoEpisode:0,disabled:1},_2)}}function C2(t){Oe(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 ur(t,e,i){const n=t.slice();return n[2]=e[i],n}function cr(t){let e,i,n,o,s,l,r,a,c;return{c(){e=E("div"),i=E("div"),n=E("div"),s=z(),l=E("div"),a=z(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",r=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),B(l,"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,p){T(f,e,p),m(e,i),m(i,n),m(i,s),m(i,l),m(e,a)},p(f,p){p&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),p&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),p&2&&B(l,"mobile",f[1]),p&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),p&2&&B(e,"mobile",f[1])},d(f){f&&S(e)}}}function P2(t){let e,i=Ut(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=cr(ur(t,i,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,s){T(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){i=Ut(o[0]);let l;for(l=0;l<i.length;l+=1){const r=ur(o,i,l);n[l]?n[l].p(r,s):(n[l]=cr(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:Z,o:Z,d(o){o&&S(e),vn(n,o)}}}function S2(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return t.$$set=s=>{"videoEpisodes"in s&&i(0,n=s.videoEpisodes),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class T2 extends be{constructor(e){super(),ge(this,e,S2,P2,he,{videoEpisodes:0,isMobile:1},C2)}}function E2(t){Oe(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 fr(t,e,i){const n=t.slice();return n[48]=e[i],n}function dr(t){let e,i,n=Ut(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=pr(fr(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=E("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",t[5]),B(e,"hidden",t[5]&&!t[20])},m(l,r){T(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);i=!0},p(l,r){if(r[0]&2097664){n=Ut(l[21]);let a;for(a=0;a<n.length;a+=1){const c=fr(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=pr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(de(),a=n.length;a<o.length;a+=1)s(a);me()}(!i||r[0]&32)&&B(e,"mobile",l[5]),(!i||r[0]&1048608)&&B(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)g(o[r]);i=!1},d(l){l&&S(e),vn(o,l)}}}function mr(t){let e,i;return e=new y2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pr(t){let e,i,n=t[48].interactive&&mr(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=mr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function A2(t){let e,i,n,o,s,l;return{c(){e=E("div"),i=E("div"),o=z(),s=E("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${t[12]*100}%);`),B(s,"active-live",t[4]),B(s,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(r,a){T(r,e,a),m(e,i),m(e,o),m(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&B(s,"active-live",r[4]),a[0]&64&&B(s,"ads",r[6])},i:Z,o:Z,d(r){r&&S(e)}}}function L2(t){let e,i;return e=new T2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function I2(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b=t[8]&&dr(t);const w=[L2,A2],v=[];function P(k,y){return k[21].length?0:1}return n=P(t),o=v[n]=w[n](t),{c(){b&&b.c(),e=z(),i=E("div"),o.c(),s=z(),l=E("div"),r=E("div"),u(r,"class","handle v-1golz1y"),B(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),B(l,"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=t[1]??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){b&&b.m(k,y),T(k,e,y),T(k,i,y),v[n].m(i,null),m(i,s),m(i,l),m(l,r),t[42](i),p=!0,h||(_=[pe(i,"pointerdown",Qt(t[22])),pe(i,"pointermove",Qt(t[23])),pe(i,"pointerup",Qt(t[24])),pe(i,"pointerenter",Qt(t[25])),pe(i,"pointerleave",Qt(t[26])),pe(i,"click",tt(Ge)),pe(i,"wheel",t[27])],h=!0)},p(k,y){k[8]?b?(b.p(k,y),y[0]&256&&d(b,1)):(b=dr(k),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(de(),g(b,1,1,()=>{b=null}),me());let I=n;n=P(k),n===I?v[n].p(k,y):(de(),g(v[I],1,1,()=>{v[I]=null}),me(),o=v[n],o?o.p(k,y):(o=v[n]=w[n](k),o.c()),d(o,1),o.m(i,s)),(!p||y[0]&16)&&B(r,"active-live",k[4]),(!p||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!p||y[0]&1024)&&B(l,"hidden",k[10]),(!p||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!p||y[0]&16384)&&u(i,"aria-label",k[14]),(!p||y[0]&32768)&&u(i,"aria-valuemin",k[15]),(!p||y[0]&65536)&&u(i,"aria-valuemax",k[16]),(!p||y[0]&131072)&&u(i,"aria-valuenow",k[17]),(!p||y[0]&262144)&&u(i,"aria-valuetext",k[18]),(!p||y[0]&2&&f!==(f=k[1]??null))&&u(i,"data-testid",f),(!p||y[0]&513)&&B(i,"disabled",k[9]),(!p||y[0]&1048577)&&B(i,"slider-dragging",k[20]),(!p||y[0]&5)&&B(i,"hidden",k[2]),(!p||y[0]&9)&&B(i,"slider-vertical",k[3]),(!p||y[0]&1025)&&B(i,"no-handle",k[10]),(!p||y[0]&129)&&B(i,"square",k[7])},i(k){p||(d(b),d(o),p=!0)},o(k){g(b),g(o),p=!1},d(k){k&&(S(e),S(i)),b&&b.d(k),v[n].d(),t[42](null),h=!1,$e(_)}}}function V2(t,e,i){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:p=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:w=!1}=e,{disabled:v=!1}=e,{hideHandel:P=!1}=e,k,y,{onPointerDown:I=Ge}=e,{onHandleMove:ne=Ge}=e,{onPointerUp:V=Ge}=e,{onPointerEnter:K=Ge}=e,{onPointerMove:M=Ge}=e,{onPointerLeave:ee=Ge}=e,{onWheelUp:A=Ge}=e,{onWheelDown:ie=Ge}=e,{onWheelLeft:N=Ge}=e,{onWheelRight:G=Ge}=e,{loadedProgress:re=0}=e,{filledProgress:C=0}=e,{handleProgress:le=0}=e,{ariaLabel:W=""}=e,{ariaValueMin:oe=void 0}=e,{ariaValueMax:ke=void 0}=e,{ariaValueNow:qe=void 0}=e,{ariaValueText:Ze=""}=e;const Ve=rn();let ce=!1,we;function Q(Y){if(ce)return;i(20,ce=!0),y=k.getBoundingClientRect();const ze=Ie(Y.clientX,Y.clientY);I(ze),k.setPointerCapture(Y.pointerId)}function X(Y){const ze=Ie(Y.clientX,Y.clientY),it=ue(Y.clientX);M(ze,it,y.width),ce&&ne(ze)}function Te(Y){if(!ce)return;i(20,ce=!1);const ze=Ie(Y.clientX,Y.clientY);V(ze)}function se(Y){y=k.getBoundingClientRect();const ze=Ie(Y.clientX,Y.clientY),it=ue(Y.clientX);K(ze,it,y.width)}function Se(){ee()}function Ee(Y){b&&(Y.preventDefault(),Y.deltaY<0?A():Y.deltaY>0?ie():Y.deltaX>0?G():N())}function Ie(Y,ze){return a?Math.max(0,Math.min(1,(y.height-(ze-y.top))/y.height)):Math.min(Math.max(Y-y.x,0),y.width)/y.width}function ue(Y){return Math.min(Math.max(Y-y.x,0),y.width)}function _e(Y,ze){const it=Ve.features.episodesClustering&&!w?Ve.episodeMinWidthPc:0,Je=[];let Ce=0,Ye=0,xe=0;for(let Ue=1;Ue<_.length;Ue++)Ye=_[Ue].time/we*100,Ye-Ce>it&&(Je.push({from:Ce,width:Math.max(0,Ye-Ce),loadedWidth:Math.max(0,Math.min(Ye,Y)-Ce),filledWidth:Math.max(0,Math.min(Ye,ze)-Ce),interactive:_[Ue-1].interactive,completed:_[Ue-1].completed}),Ce=_[Ue].time/we*100,xe++);const ct={from:Ce,width:Math.max(0,100-Ce),loadedWidth:Math.max(0,Math.min(Y,100)-Ce),filledWidth:Math.max(0,Math.min(ze,100)-Ce),interactive:_[xe].interactive,completed:_[xe].completed};100-Ce<it?(xe-=1,Je[xe].width+=100-Ce,Je[xe].loadedWidth+=Math.max(0,Math.min(Y,100)-Ce),Je[xe].filledWidth+=Math.max(0,Math.min(ze,100)-Ce)):Je[xe]=ct;const gt=_[0].time;if(gt!==0){const Ue=gt/we*100;Je.unshift({from:0,width:Ue,loadedWidth:Math.min(Ue,Y),filledWidth:Math.min(Ue,ze)})}return Je}function $(Y){ve[Y?"unshift":"push"](()=>{k=Y,i(19,k)})}return t.$$set=Y=>{"className"in Y&&i(0,s=Y.className),"testId"in Y&&i(1,l=Y.testId),"isHidden"in Y&&i(2,r=Y.isHidden),"isVertical"in Y&&i(3,a=Y.isVertical),"isActiveLive"in Y&&i(4,c=Y.isActiveLive),"isMobile"in Y&&i(5,f=Y.isMobile),"isAds"in Y&&i(6,p=Y.isAds),"squareBorders"in Y&&i(7,h=Y.squareBorders),"videoEpisodes"in Y&&i(28,_=Y.videoEpisodes),"withWheelHandler"in Y&&i(29,b=Y.withWheelHandler),"isInteractive"in Y&&i(8,w=Y.isInteractive),"disabled"in Y&&i(9,v=Y.disabled),"hideHandel"in Y&&i(10,P=Y.hideHandel),"onPointerDown"in Y&&i(30,I=Y.onPointerDown),"onHandleMove"in Y&&i(31,ne=Y.onHandleMove),"onPointerUp"in Y&&i(32,V=Y.onPointerUp),"onPointerEnter"in Y&&i(33,K=Y.onPointerEnter),"onPointerMove"in Y&&i(34,M=Y.onPointerMove),"onPointerLeave"in Y&&i(35,ee=Y.onPointerLeave),"onWheelUp"in Y&&i(36,A=Y.onWheelUp),"onWheelDown"in Y&&i(37,ie=Y.onWheelDown),"onWheelLeft"in Y&&i(38,N=Y.onWheelLeft),"onWheelRight"in Y&&i(39,G=Y.onWheelRight),"loadedProgress"in Y&&i(11,re=Y.loadedProgress),"filledProgress"in Y&&i(12,C=Y.filledProgress),"handleProgress"in Y&&i(13,le=Y.handleProgress),"ariaLabel"in Y&&i(14,W=Y.ariaLabel),"ariaValueMin"in Y&&i(15,oe=Y.ariaValueMin),"ariaValueMax"in Y&&i(16,ke=Y.ariaValueMax),"ariaValueNow"in Y&&i(17,qe=Y.ariaValueNow),"ariaValueText"in Y&&i(18,Ze=Y.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,we=ke??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=_[_.length-1]?.time<we),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=_.length&&n&&we?_e(re*100,C*100):[])},[s,l,r,a,c,f,p,h,w,v,P,re,C,le,W,oe,ke,qe,Ze,k,ce,o,Q,X,Te,se,Se,Ee,_,b,I,ne,V,K,M,ee,A,ie,N,G,we,n,$]}class ql extends be{constructor(e){super(),ge(this,e,V2,I2,he,{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},E2,[-1,-1])}}const hn=(t,e)=>vo[t]>=vo[e],M2=(t,e)=>vo[t]<vo[e],ru=(t,e)=>vo[t]<=vo[e],B2=t=>t>mo.L?yt.XL:t>mo.M?yt.L:t>mo.S?yt.M:t>mo.XS?yt.S:yt.XS;function R2(t){Oe(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 N2(t){let e,i;return e=new sl({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function z2(t){let e,i;return e=new wi({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:zo[Pe.KeyM],$$slots:{default:[N2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hr(t){let e,i,n;return i=new ql({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:Ge,onPointerLeave:t[3]?t[18]:Ge,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[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",t[3])},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ge),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ge),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&B(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function D2(t){let e,i,n,o,s,l;i=new su({props:{content:t[6],translateY:-18,$$slots:{default:[z2]},$$scope:{ctx:t}}});let r=t[0]&&hr(t);return{c(){e=E("div"),U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",t[3])},m(a,c){T(a,e,c),O(i,e,null),m(e,n),r&&r.m(e,null),o=!0,s||(l=[pe(e,"mouseenter",function(){bn(t[3]?t[19]:Ge)&&(t[3]?t[19]:Ge).apply(this,arguments)}),pe(e,"mouseleave",function(){bn(t[3]?t[20]:Ge)&&(t[3]?t[20]:Ge).apply(this,arguments)}),pe(e,"wheel",Qt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=hr(t),r.c(),d(r,1),r.m(e,null)):r&&(de(),g(r,1,1,()=>{r=null}),me()),(!o||c[0]&8)&&B(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){g(i.$$.fragment,a),g(r),o=!1},d(a){a&&S(e),H(i),r&&r.d(),s=!1,$e(l)}}}function O2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=dt(),c=rn(),f=a.state.volume$;D(t,f,oe=>i(4,n=oe));const p=a.state.muted$;D(t,p,oe=>i(23,s=oe));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;D(t,_,oe=>i(22,o=oe));let b=!1,w,v,P,k,y,I,ne=1,V=!1;function K(oe){ne=n,h(oe)}function M(){J1(a,n,c.controls.volumeStepWheel)}function ee(){x1(a,n,c.controls.volumeStepWheel)}function A(oe){h(oe)}function ie(oe){const ke=oe;h(ke,ke===0?ne:ke)}function N(){V=!0}function G(){V=!1,le()}function re(){clearTimeout(w),i(5,b=!0)}function C(){le()}function le(){w=window.setTimeout(()=>{V||i(5,b=!1)},c.controls.volumeBarTimeout)}function W(oe){oe.deltaY<0?M():oe.deltaY>0&&ee()}return t.$$set=oe=>{"isAudioAvailable"in oe&&i(0,l=oe.isAudioAvailable),"click"in oe&&i(1,r=oe.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,y=ru(o,yt.S)),t.$$.dirty[0]&12&&(y?i(6,v=""):i(6,v=j(k?"tooltip_volume":"tooltip_volume_muted")),i(7,P=j(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,I=k?0:n)},[l,r,k,y,n,b,v,P,I,f,p,_,K,M,ee,A,ie,N,G,re,C,W,o,s]}class H2 extends be{constructor(e){super(),ge(this,e,O2,D2,he,{isAudioAvailable:0,click:1},R2,[-1,-1])}}function F2(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function U2(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function q2(t){let e,i,n;function o(r,a){return r[0]?U2:F2}let s=o(t),l=s(t);return{c(){e=R("svg"),i=R("g"),l.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(r,a){T(r,e,a),m(e,i),l.m(i,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(i,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&S(e),l.d()}}}function Z2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class W2 extends be{constructor(e){super(),ge(this,e,Z2,q2,he,{isFullscreen:0})}}function K2(t){let e,i;return e=new W2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function j2(t){let e,i;return e=new wi({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:zo[Pe.KeyF],$$slots:{default:[K2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function G2(t,e,i){let{isFullscreen:n=!1}=e,{click:o=Ge}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=j(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class au extends be{constructor(e){super(),ge(this,e,G2,j2,he,{isFullscreen:0,click:1})}}function Y2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Zl extends be{constructor(e){super(),ge(this,e,null,Y2,he,{})}}function Q2(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class uu extends be{constructor(e){super(),ge(this,e,null,Q2,he,{})}}function X2(t){Oe(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 gr(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 J2(t){let e,i,n,o,s=t[1]&&gr();var l=t[8];function r(a){return{}}return l&&(n=Tn(l,r())),{c(){s&&s.c(),e=z(),i=E("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),T(a,e,c),T(a,i,c),n&&O(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=gr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){de();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),me()}l?(n=Tn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),O(n,i,null)):n=null}(!o||c&2)&&B(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(S(e),S(i)),s&&s.d(a),n&&H(n)}}}function x2(t){let e,i,n;function o(l){t[13](l)}let s={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:zo[Pe.KeyK],$$slots:{default:[J2]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $2(t,e,i){let n,o;const{fakeIsPlaying$:s}=Bl();D(t,s,k=>i(12,o=k));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:p=Ge}=e;const{toggle:h}=s;let _,b,w,v;function P(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref),"isMobile"in k&&i(1,r=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,p=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,b=o!==null),t.$$.dirty&5152&&i(11,w=b?o:a),t.$$.dirty&2048&&i(7,v=j(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?uu:Zl)},i(6,_=h),[l,r,c,f,p,b,_,v,n,s,a,w,o,P]}class Wl extends be{constructor(e){super(),ge(this,e,$2,x2,he,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},X2)}}function em(t){Oe(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 tm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),B(e,"prev",t[0]),B(e,"mobile",t[1])},m(o,s){T(o,e,s),m(e,i)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&B(e,"prev",o[0]),s&2&&B(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&S(e)}}}function im(t,e,i){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return t.$$set=s=>{"isPrev"in s&&i(0,n=s.isPrev),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class nm extends be{constructor(e){super(),ge(this,e,im,tm,he,{isPrev:0,isMobile:1},em)}}function om(t){let e,i;return e=new nm({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function lm(t){let e,i,n;function o(l){t[6](l)}let s={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[om]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=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,o=f.isMobile),"disabled"in f&&i(2,s=f.disabled),"type"in f&&i(3,l=f.type),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=j(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class rl extends be{constructor(e){super(),ge(this,e,sm,lm,he,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function rm(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class am extends be{constructor(e){super(),ge(this,e,null,rm,he,{})}}function um(t){Oe(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function br(t){let e,i,n,o,s,l,r;return{c(){e=R("path"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"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(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"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(r,"fill","white")},m(a,c){T(a,e,c),T(a,i,c),T(a,n,c),T(a,o,c),T(a,s,c),T(a,l,c),T(a,r,c)},d(a){a&&(S(e),S(i),S(n),S(o),S(s),S(l),S(r))}}}function cm(t){let e,i,n,o=!t[0]&&br();return{c(){e=R("svg"),i=R("path"),o&&o.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(s,l){T(s,e,l),m(e,i),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=br(),o.c(),o.m(e,null)),l&4&&u(e,"width",s[2]),l&4&&n!==(n="0 0 "+(s[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",s[3]),l&2&&B(e,"mobile",s[1])},i:Z,o:Z,d(s){s&&S(e),o&&o.d()}}}function fm(t,e,i){let{short:n=!1}=e,{isMobile:o=!1}=e,s,l;return t.$$set=r=>{"short"in r&&i(0,n=r.short),"isMobile"in r&&i(1,o=r.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,s=n?20:93),i(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s,l]}class dm extends be{constructor(e){super(),ge(this,e,fm,cm,he,{short:0,isMobile:1},um)}}function mm(t){let e,i;return e=new am({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p:Z,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pm(t){let e,i;return e=new dm({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function hm(t){let e,i,n,o;const s=[pm,mm],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function gm(t){let e,i,n;function o(l){t[13](l)}let s={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:[hm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function bm(t,e,i){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=rn(),{logoLink:p,addTimeToLogoLink:h}=f,_=dt(),b=_.state.positionWithScrubbing$;D(t,b,V=>i(14,n=V));const w=_.ui.currentGridType$;D(t,w,V=>i(11,o=V));const v=_.ui.isMobile;D(t,v,V=>i(12,s=V));let P,k,y;const I=()=>{let V;if(k||!a)V=p;else{const K=Math.round(n);if(h&&K){const M=new URL(a);M.searchParams.append("t",bc(K)),V=M.toString()}else V=a}c(),window.open(V,"_blank")};function ne(V){l=V,i(0,l)}return t.$$set=V=>{"ref"in V&&i(0,l=V.ref),"logoClickable"in V&&i(1,r=V.logoClickable),"videoLogoUrl"in V&&i(9,a=V.videoLogoUrl),"click"in V&&i(10,c=V.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,y=(s||ru(o,yt.L))&&k)},i(3,P=f.logoType===_o.VK_VIDEO?j("tooltip_vk_video_logo"):j("tooltip_vk_logo")),i(2,k=f.logoType===_o.VK_VIDEO),[l,r,k,P,y,b,w,v,I,a,c,o,s,ne]}class cu extends be{constructor(e){super(),ge(this,e,bm,gm,he,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function _m(t){Oe(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 vm(t){let e,i,n,o,s,l,r,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"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){T(c,e,f),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(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 wm(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne;return{c(){e=R("svg"),i=R("g"),n=R("mask"),o=R("path"),l=R("path"),r=R("path"),c=R("path"),f=R("defs"),p=R("clipPath"),h=R("path"),b=R("filter"),w=R("feFlood"),v=R("feColorMatrix"),P=R("feOffset"),k=R("feGaussianBlur"),y=R("feColorMatrix"),I=R("feBlend"),ne=R("feBlend"),u(o,"fill",s=t[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"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(r,"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(p,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(v,"in","SourceAlpha"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(v,"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(I,"in2","BackgroundImageFix"),u(I,"result","effect1_dropShadow_4085_178456"),u(ne,"in","SourceGraphic"),u(ne,"in2","effect1_dropShadow_4085_178456"),u(ne,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"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(V,K){T(V,e,K),m(e,i),m(i,n),m(n,o),m(n,l),m(i,r),m(i,c),m(e,f),m(f,p),m(p,h),m(f,b),m(b,w),m(b,v),m(b,P),m(b,k),m(b,y),m(b,I),m(b,ne)},p(V,K){K&2&&s!==(s=V[1]?"#2688EB":"#fff")&&u(o,"fill",s),K&2&&a!==(a=V[1]?"#2688EB":"#fff")&&u(r,"fill",a),K&2&&_!==(_=V[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(V){V&&S(e)}}}function km(t){let e;function i(s,l){return s[0]?wm:vm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function ym(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===Sn.CONNECTING),i(1,s=o===Sn.CONNECTED))},[n,s,l,o]}class Cm extends be{constructor(e){super(),ge(this,e,ym,km,he,{isMobile:0,state:3},_m)}}function Pm(t){let e,i;return e=new Cm({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Pm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Tm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=Ge}=e,r;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,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===Sn.CONNECTED?j("tooltip_chromecast_on"):j("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class fu extends be{constructor(e){super(),ge(this,e,Tm,Sm,he,{ref:0,isMobile:1,state:2,click:3})}}function Em(t){let e,i;return e=new q1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Am(t){let e,i;return e=new wi({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===Ft.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[Em]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===Ft.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Lm(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=dt(),a=r.state.playbackState$;D(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let p;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,p=()=>{if(!s){c();return}n===Ft.PAUSED&&f()})},[o,s,l,n,p,a]}class du extends be{constructor(e){super(),ge(this,e,Lm,Am,he,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Im(t){Oe(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 Vm(t){let e,i,n,o;const s=t[9].default,l=Rn(s,t,t[8],null);return{c(){e=E("div"),i=E("div"),l&&l.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(r,a){T(r,e,a),m(e,i),l&&l.m(i,null),t[10](i),t[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&zn(l,s,r,r[8],o?Nn(s,r[8],a,null):Dn(r[8]),null),(!o||a&1)&&B(i,"active",r[0]),(!o||a&2)&&B(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){g(l,r),o=!1},d(r){r&&S(e),l&&l.d(r),t[10](null),t[11](null)}}}function Mm(t,e,i){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,p,h;function _(v){if(!h)return 0;const{width:P}=h.getBoundingClientRect(),k=P/2;return v<k?k:v>f-k?f-k:v}function b(v){ve[v?"unshift":"push"](()=>{h=v,i(4,h)})}function w(v){ve[v?"unshift":"push"](()=>{p=v,i(3,p)})}return t.$$set=v=>{"active"in v&&i(0,l=v.active),"pointer"in v&&i(1,r=v.pointer),"translateXPx"in v&&i(6,a=v.translateXPx),"translateYPx"in v&&i(2,c=v.translateYPx),"containerWidth"in v&&i(7,f=v.containerWidth),"$$scope"in v&&i(8,s=v.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[l,r,c,p,h,n,a,f,s,o,b,w]}class Bm extends be{constructor(e){super(),ge(this,e,Mm,Vm,he,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Im)}}const mu=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Rm(t){Oe(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 _r(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?zm:Nm}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function Nm(t){let e=(t[10].text||"")+"",i;return{c(){i=Ne(e)},m(n,o){T(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&Xe(i,e)},d(n){n&&S(i)}}}function zm(t){let e=j("tooltip_episode_unfinished")+"",i;return{c(){i=Ne(e)},m(n,o){T(n,i,o)},p:Z,d(n){n&&S(i)}}}function Dm(t){let e,i,n,o,s,l,r,a,c=t[10]&&_r(t);return{c(){e=E("div"),i=E("div"),o=z(),s=E("div"),c&&c.c(),l=z(),r=E("div"),a=Ne(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(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(e,"mobile",t[1])},m(f,p){T(f,e,p),m(e,i),m(e,o),m(e,s),c&&c.m(s,null),m(e,l),m(e,r),m(r,a)},p(f,[p]){p&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,p):(c=_r(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),p&1&&Xe(a,f[0]),p&2&&B(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&S(e),c&&c.d()}}}const uo=150;function Om(t,e,i){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=dt().ui.rotateAlpha;D(t,h,K=>i(11,n=K));let _,b,w,v,P,k,y,I;function ne(){let K=r.frameWidth,M=r.frameHeight;return K>uo?(M=M/K*uo,K=uo):M>uo&&(K=K/M*uo,M=uo),{width:K,height:M}}function V(K){let M;r.isUV?M=Math.floor(c*K/r.frequency):M=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*K)));const ee=Math.floor(M/r.countPerImage),A=Math.floor(M%r.countPerImage/r.countPerRow),ie=M%r.countPerRow;let N=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&ee===Math.floor(r.countTotal/r.countPerImage)&&(N=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&N++);let G=r.countPerRow;!r.isUV&&ee===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(G=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const re=_*G,C=b*N,le=-ie*_,W=-A*b;return{imgSrc:r.links[ee],imgWidth:re,imgHeight:C,imgOffsetX:le,imgOffsetY:W}}return t.$$set=K=>{"time"in K&&i(0,o=K.time),"isMobile"in K&&i(1,s=K.isMobile),"videoEpisodes"in K&&i(13,l=K.videoEpisodes),"previewThumbsData"in K&&i(14,r=K.previewThumbsData),"progress"in K&&i(15,a=K.progress),"duration"in K&&i(16,c=K.duration),"isInteractive"in K&&i(2,f=K.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:v,imgHeight:P,imgOffsetX:k,imgOffsetY:y}=V(a),w,(i(6,v),i(15,a)),(i(7,P),i(15,a)),(i(8,k),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,I=mu(a,c,l))},i(3,{width:_,height:b}=ne(),_,i(4,b)),[o,s,f,_,b,w,v,P,k,y,I,n,h,l,r,a,c]}class Hm extends be{constructor(e){super(),ge(this,e,Om,Dm,he,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Rm)}}function Fm(t){Oe(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 Um(t){let e,i;return{c(){e=E("span"),i=Ne(t[7]),u(e,"class","time v-5lzly8")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o[0]&128&&Xe(i,n[7])},i:Z,o:Z,d(n){n&&S(e)}}}function qm(t){let e,i;return e=new Hm({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,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Zm(t){let e,i,n,o;const s=[qm,Um],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Wm(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[Zm]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=u1(l,s[r]);return e=new Bm({props:l}),n=new ql({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:j("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:j("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(nt.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=z(),U(n.$$.fragment)},m(r,a){O(e,r,a),T(r,i,a),O(n,r,a),o=!0},p(r,a){const c=a[0]&512?Fc(s,[Uc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=j("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(nt.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&S(i),H(e,r),H(n,r)}}}function Km(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{showTimeline:b=!1}=e;const w=dt(),v=rn(),P=w.state.bufferedProgress$;D(t,P,$=>i(12,h=$));const k=w.state.positionWithScrubbing$;D(t,k,$=>i(39,a=$));const y=w.state.duration$;D(t,y,$=>i(1,s=$));const I=w.state.isLive$;D(t,I,$=>i(0,o=$));const ne=w.state.isActiveLive$;D(t,ne,$=>i(11,p=$));const V=w.ui.isMobile;D(t,V,$=>i(10,f=$));const K=v.features.episodes?w.actions.internal.getVideoEpisodes():void 0,M=w.actions.internal.getPreviewThumbsData(),ee=w.state.interactiveEpisodes$;D(t,ee,$=>i(40,c=$));const A=w.state.isInteractive,ie=w.state.isInteractiveTime$;D(t,ie,$=>i(2,l=$));const N=w.state.isInteractiveExpectation$;D(t,N,$=>i(38,r=$));const G=w.actions.internal.correctSeekTimeToInteractive,re=w.ui.controls.disabledControls$;D(t,re,$=>i(13,_=$));let C,le,W,oe,ke=!1,qe="",Ze=0,Ve=0,ce=0,we;function Q($){return!G||!A?$:G($*s)/s}function X($){w.actions.internal.startScrubbing(Q($))}function Te($){l||w.actions.internal.progressScrubbing(Q($))}function se($){w.actions.internal.completeScrubbing(Q($)),i(34,ke=!1)}function Se($,Y,ze){ue($,Y,ze),i(34,ke=!0)}function Ee($,Y,ze){ue($,Y,ze),i(34,ke=!0)}function Ie(){i(34,ke=!1)}function ue($,Y,ze){i(8,ce=$),i(35,Ze=Y),ze&&i(36,Ve=ze),i(7,qe=_e($))}function _e($){const Y=Bn((o?1-$:$)*s);return o?`-${Y}`:Y}return t.$$set=$=>{"showTimeline"in $&&i(33,b=$.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,C=A?c:K),t.$$.dirty[0]&2&&i(4,le=Bn(s)),t.$$.dirty[1]&256&&i(5,W=Bn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,oe=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,we=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:Ve,translateXPx:Ze,translateYPx:A&&M?-36:-16,active:ke&&b&&!we,pointer:!v.features.timelinePreview||!M||o})},[o,s,l,C,le,W,oe,qe,ce,n,f,p,h,_,v,P,k,y,I,ne,V,M,ee,A,ie,N,re,X,Te,se,Se,Ee,Ie,b,ke,Ze,Ve,we,r,a,c]}let jm=class extends be{constructor(e){super(),ge(this,e,Km,Wm,he,{showTimeline:33},Fm,[-1,-1])}};function Gm(t){let e,i;return e=new ql({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:j("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,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=j("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ym(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=dt().ui.isMobile;D(t,r,p=>i(4,n=p));let a,c,f;return t.$$set=p=>{"position"in p&&i(6,o=p.position),"duration"in p&&i(0,s=p.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Bn(s)),t.$$.dirty&64&&i(2,c=Bn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class pu extends be{constructor(e){super(),ge(this,e,Ym,Gm,he,{position:6,duration:0})}}function Qm(t){Oe(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 Xm(t){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",t[2])},m(i,n){T(i,e,n)},p(i,n){n&4&&B(e,"mobile",i[2])},i:Z,o:Z,d(i){i&&S(e)}}}function Jm(t){let e,i,n,o;const s=[$m,xm],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",t[2])},m(a,c){T(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&B(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function xm(t){let e,i;return e=new jm({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $m(t){let e,i;return e=new pu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function e4(t){let e,i,n,o;const s=[Jm,Xm],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function t4(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const p=dt(),h=p.state.isLive$;D(t,h,P=>i(12,n=P));const _=p.ads.duration;D(t,_,P=>i(4,l=P));const b=p.ads.position;D(t,b,P=>i(3,s=P));const w=p.ui.isMobile;D(t,w,P=>i(2,o=P));let v;return t.$$set=P=>{"isAds"in P&&i(0,r=P.isAds),"canRewindLive"in P&&i(9,a=P.canRewindLive),"isRewindableLive"in P&&i(10,c=P.isRewindableLive),"isHidden"in P&&i(11,f=P.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,v=!f&&(!n||n&&a&&c||r))},[r,v,o,s,l,h,_,b,w,a,c,f,n]}class hu extends be{constructor(e){super(),ge(this,e,t4,e4,he,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Qm)}}function i4(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),St(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(s,l){T(s,e,l),m(e,i),m(e,n),m(e,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class n4 extends be{constructor(e){super(),ge(this,e,null,i4,he,{})}}function o4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class l4 extends be{constructor(e){super(),ge(this,e,null,o4,he,{})}}function s4(t){Oe(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 r4(t){let e,i,n,o;e=new n4({});function s(a,c){if(a[4]===Gn.FULL)return c4;if(a[4]===Gn.COUNT)return u4}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=z(),r&&r.c(),n=lt()},m(a,c){O(e,a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(S(i),S(n)),H(e,a),r&&r.d(a)}}}function a4(t){let e,i,n,o,s,l;return s=new l4({}),{c(){e=E("span"),i=Ne(t[2]),n=z(),o=E("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){T(r,e,a),m(e,i),T(r,n,a),T(r,o,a),O(s,o,null),l=!0},p(r,a){(!l||a&4)&&Xe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(S(e),S(n),S(o)),H(s)}}}function u4(t){let e,i=t[0].length+"",n;return{c(){e=E("span"),n=Ne(i),u(e,"class","text count v-1yhs2ga")},m(o,s){T(o,e,s),m(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&Xe(n,i)},d(o){o&&S(e)}}}function c4(t){let e,i;return{c(){e=E("span"),i=Ne(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&4&&Xe(i,n[2])},d(n){n&&S(e)}}}function f4(t){let e,i,n,o;const s=[a4,r4],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function d4(t){let e,i,n;function o(l){t[19](l)}let s={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:[f4]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function m4(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:p=[]}=e;const h=dt(),_=h.callbacks?.onEpisodeChanged??Ge,b=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;D(t,w,A=>i(18,r=A));const v=h.ui.episodes.openedByKeyboard$;D(t,v,A=>i(17,l=A));const P=h.ui.episodes.panelOpened$;D(t,P,A=>i(3,s=A));const k=h.ui.isMobile;D(t,k,A=>i(6,a=A));let y;const I=A=>{if(!!h.callbacks?.onEpisodeClicked){const N=Dl(A);v.set(N),P.set(!0),h.callbacks?.onEpisodeClicked?.(N)}};let ne,V,K;const M=async(A,ie,N)=>{await No(),A?.getAttribute("aria-expanded")==="false"&&ie&&!N&&(v.set(!1),A.focus())};function ee(A){y=A,i(1,y)}return t.$$set=A=>{"position"in A&&i(13,c=A.position),"duration"in A&&i(14,f=A.duration),"timeCodes"in A&&i(0,p=A.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const A=mu(n,f,p);A&&ne?.text!==A.text&&(_(A),i(15,ne=A))}t.$$.dirty&32768&&i(2,o=ne?.text||""),t.$$.dirty&262144&&(hn(r,yt.XL)?i(4,V=Gn.FULL):hn(r,yt.M)&&M2(r,yt.XL)?i(4,V=Gn.COUNT):i(4,V=Gn.SHORT)),t.$$.dirty&4&&i(5,K=`${j("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&M(y,l,s)},[p,y,o,s,V,K,a,b,w,v,P,k,I,c,f,ne,n,l,r,ee]}class gu extends be{constructor(e){super(),ge(this,e,m4,d4,he,{position:13,duration:14,timeCodes:0},s4)}}function p4(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class h4 extends be{constructor(e){super(),ge(this,e,null,p4,he,{})}}function g4(t){let e,i;return e=new h4({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function b4(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:j("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[g4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,o=a.hidden),"disabled"in a&&i(2,s=a.disabled),"click"in a&&i(3,l=a.click)},[n,o,s,l,r]}class bu extends be{constructor(e){super(),ge(this,e,_4,b4,he,{ref:0,hidden:1,disabled:2,click:3})}}function v4(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),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(o,s){T(o,e,s),m(e,i),m(e,n)},p(o,[s]){s&1&&B(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&S(e)}}}function w4(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class k4 extends be{constructor(e){super(),ge(this,e,w4,v4,he,{isOpened:0})}}function y4(t){let e,i;return e=new k4({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function C4(t){let e,i,n;function o(l){t[6](l)}let s={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[y4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function P4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=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,o=f.hidden),"disabled"in f&&i(2,s=f.disabled),"graphIsOpened"in f&&i(3,l=f.graphIsOpened),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=j(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class _u extends be{constructor(e){super(),ge(this,e,P4,C4,he,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function S4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class vu extends be{constructor(e){super(),ge(this,e,null,S4,he,{})}}function T4(t){Oe(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 vr(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 E4(t){let e,i,n,o,s=t[1]&&vr();return n=new vu({}),{c(){s&&s.c(),e=z(),i=E("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),T(l,e,r),T(l,i,r),O(n,i,null),o=!0},p(l,r){l[1]?s||(s=vr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&B(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(S(e),S(i)),s&&s.d(l),H(n)}}}function A4(t){let e,i,n;function o(l){t[5](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:j("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:zo[Pe.KeyK],$$slots:{default:[E4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function L4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=Ge}=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,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Kl extends be{constructor(e){super(),ge(this,e,L4,A4,he,{ref:0,isMobile:1,disabled:2,className:3,click:4},T4)}}function I4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class V4 extends be{constructor(e){super(),ge(this,e,null,I4,he,{})}}function M4(t){let e,i;return e=new V4({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function B4(t){let e,i;return e=new wi({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:j("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[M4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function R4(t,e,i){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:s}=e;return t.$$set=l=>{"hidden"in l&&i(0,n=l.hidden),"disabled"in l&&i(1,o=l.disabled),"click"in l&&i(2,s=l.click)},[n,o,s]}class wu extends be{constructor(e){super(),ge(this,e,R4,B4,he,{hidden:0,disabled:1,click:2})}}function N4(t){Oe(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 z4(t){let e,i,n,o;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),is(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){T(s,e,l),n||(o=pe(e,"error",t[7]),n=!0)},p(s,l){l&1&&!is(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&S(e),n=!1,o()}}}function D4(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:Z,d(i){i&&S(e)}}}function O4(t){let e;function i(s,l){return s[5]?D4:z4}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function H4(t){let e,i;return e=new wi({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[O4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function F4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ge}=e;const p=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=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===Ge),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,p,a]}class ku extends be{constructor(e){super(),ge(this,e,F4,H4,he,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},N4)}}const U4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,q4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class Z4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new mn,started$:new mn,paused$:new mn,resumed$:new mn,ended$:new mn,skipped$:new mn,clicked$:new mn};constructor(e,i){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}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};_c(q4,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:p}=e;let h;const _=this.playerState&&Qe(this.playerState.vsid);_&&(h=parseInt(_,36));const b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:U4(i,n),puid11:o?0:1,preview:p,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},v=new window.AdmanHTML;v.setDebug(!1),v.onReady(this.onAdsReady),v.onStarted(this.onAdStarted),v.onPlayed(this.onAdPlayed),v.onPaused(this.onAdPaused),v.adMidrollPoint(this.onAdMidrollPoint),v.onClosed(this.onAdClosed),v.onSkipped(this.onAdSkipped),v.onClicked(this.onAdClicked),v.onTimeRemained(this.onAdTimeRemained),v.onCompleted(this.onAdCompleted),v.onError(this.onAdError),v.init(w),this.adman=v,this.videoElement=r,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}ot(this.actions),ot(this.adsState),ot(this.playerState);const i=this.currentAdSection===In.Postroll;this.adsState.playbackState.set(Yt.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(){ot(this.adsState),this.log({message:"toggle play"});const e=Qe(this.adsState.playbackState);e===Yt.PLAYING?this.pause():e===Yt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ot(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=In.Preroll,this.adman.start(In.Preroll)}startPostroll(){ot(this.adman),ot(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=In.Postroll,this.adman.start(In.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ot(this.adsState),ot(this.playerState),ot(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Qe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Yt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ot(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ot(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Yt.PAUSED)};onAdPlayed=()=>{ot(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Yt.PLAYING)};onAdMidrollPoint=()=>{ot(this.adman),ot(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=In.Midroll,this.adman.start(In.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ot(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ot(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ot(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const W4=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 K4{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new yu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new j4,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class yu{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;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",o="0"){const s=Number(e)*60*60,l=Number(i)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class j4{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const i={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,p)=>{const h=l.indexOf(p,r);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new yu;for(const l of o)s.isTime(l)?i.texts.push({type:"timestamp",value:s.parseTime(l)}):i.texts.push({type:"text",value:l});return i}}let Hn,dn,bl=0,_l=!1;const G4=(t,e,i)=>{const n=t>=bl,o=t<bl,s=(c,f=0,p=0)=>c<f&&c<p,l=(c,f=0,p=0)=>c>=f&&c<=p,r=(c,f=0,p=0)=>c>f&&c>p,a=i.find(({lang:c})=>c===e.value)?.subtitles;if(bl=t,o&&(_l=!1),gn(Hn)&&l(t,Hn.startTime,Hn.endTime)&&Hn.lang===e.value)return Hn;if(!gn(dn)&&a?.length&&!_l){const c=a.find(({startTime:f,endTime:p})=>l(t,f,p)||n&&s(t,f,p));dn=c&&{...c,lang:e.value},Hn=void 0,!gn(dn)&&a[a.length-1].endTime<t&&(_l=!0);return}else{if(l(t,dn?.startTime,dn?.endTime))return Hn=dn,dn=void 0,Hn;(n&&r(t,dn?.startTime,dn?.endTime)||o&&s(t,dn?.startTime,dn?.endTime))&&(dn=void 0)}},vl={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let Jo=null;class Lo{constructor(e,i){if(!Jo){const n=new Vc(e,i),o=new Un;Jo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Jo=null}})}}static getInstance(){return Jo}}const Y4=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:p,coreConfig:h,player:_,disabledControls:b,isInteractive:w,interactiveRanges:v,replayInteractive:P,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:y,additionalButtons:I,looped:ne=!1})=>{const V={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},K=p,M=_||new dc(V);M.setLooped(ne);const ee=new a1,A=new Z4(ee,{loadTimeout:K.ads.loadTimeout,initTimeout:K.ads.initTimeout}),ie=Lo.getInstance(),N=Sl.getInstance(),G=a?.pictureInPictureApi,re=a?.annotationsApi,C=ee.createComponentLog("Store");let le,W,oe={};const ke=Al(),qe=ie?ft(ie.oneStat.vsid$):Pn(void 0),Ze=Ae(Mo()),Ve=G?.info.isActive$??new El(!1),ce=G?.info.type,we=Ae(0),Q=Ae([]),X=vc(M.events.fatalError$,M.events.managedError$).subscribe(L=>Q.update(ae=>[...ae,L])),Te=Pn(!1,L=>{const ae=M.events.fatalError$.subscribe(()=>L(!0));return()=>ae.unsubscribe()}),se=async L=>{const ae=Object.values(Bo).includes(L);if(K.downloadVKLanguages&&(ae&&K.updateBuiltinLanguages||!rs(L))){let Re;try{Re=await yc(L,Yc,Qc)}catch(je){ie?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),N?.report(je,{errorType:"VKLangPack",fatal:!1})}Re&&(ss({language:L,pack:Re,fallback:K.defaultLanguage}),Se.set(L))}rs(L)&&Se.set(L)},Se=Ae(t);se(t);const Ee=(L,ae)=>{const ye=Qe(Se);return N1(ye,L,ae,K.defaultLanguage)},Ie=Ae(Be.Thumb),ue=(()=>{const L=oi([Te,Ie],([ae,ye])=>ae?Be.Crashed:ye);return{...L,is:ae=>Qe(L)===ae}})(),_e=(()=>{const L=Ae(new Set(b));return{...L,add:ae=>{L.update(ye=>new Set([...ye].concat(ae)))},remove:ae=>{L.update(ye=>{const Re=[...ye];return new Set(Array.isArray(ae)?Re.filter(je=>!ae.includes(je)):Re.filter(je=>je!==ae))})},includes:ae=>{const ye=Qe(L);return Array.isArray(ae)?ae.every(Re=>ye.has(Re)):ye.has(ae)}}})();C({message:"create store"});const $=L=>{C({message:`init video, config: ${JSON.stringify(L)}`}),w?L.container.append(M.experimental.element$.getValue()):M.initVideo(L),L.subtitles&&M.setExternalTextTracks(L.subtitles),le=L},Y=new mn,ze=L=>Y.next(L),it=new mn,Je=new mn,Ce=new mn,Ye={actionRewind$:it,actionSeek$:Je,inPiP$:Ve,inFullscreen$:new wc(L=>Ze.subscribe(ae=>L.next(ae))),actionSetSubtitle$:Ce,nextMovie$:Y};if(ie){const{oneStat:L,statSubscription:ae}=ie;ae.add(L.attachTo(M)),ae.add(L.attachToUi(Ye)),ae.add(L.attachToAds(A.events)),L.authorize(o).catch(ye=>{C({message:`onestat auth error ${String(ye)}`})})}if(N){const L=new Un,ae=(ye,Re)=>L.add(ye.subscribe(Re));if(ae(M.events.managedError$,ye=>{N.logIError(ye)}),ae(M.events.fatalError$,ye=>{N.logIError(ye,!0)}),ie){const{oneStat:ye}=ie;ae(ye.experimental.error$,Re=>{N.logIError(Re)})}N.sentrySubscription.add(L)}const xe=()=>{Ll()&&W&&Sf(W)},ct=new Un().add(M.experimental.element$.subscribe(L=>{L&&(W=L,L.classList.add("player-media"),nl(G)&&(G.updateVideoElement(),G.registryEventHandlers()),w&&L.setAttribute("pip","false"))})).add(M.events.ended$.subscribe(()=>{xe(),r?.onEnded?.()})).add(M.events.started$.subscribe(async()=>{nl(G)&&await G?.revealPictureInPicture();const L=M.info.muted$.getValue();r?.onStarted?.(),oe.onStarted?.(L)})).add(M.events.willSeek$.subscribe(({from:L,to:ae})=>{r?.onSeek?.(L,ae)})).add(M.info.position$.subscribe(L=>{const ae=M.info.duration$.getValue();r?.onTimeupdate?.(ae,L),A.setPosition(L,ae)})).add(M.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(M.info.is3DVideo$.subscribe(L=>{st.ui.is3DVideo.set(L)})).add(M.info.isEnded$.subscribe(L=>{w&&(L?(Qe(Ot)&&_e.add(w1),_e.add(nt.PLAY_BUTTON)):_e.remove(nt.PLAY_BUTTON))})).add(M.info.liveTime$.subscribe(L=>{r?.onLiveTime?.(L)})).add(M.info.isStalled$.subscribe(L=>{r?.onStalledChanged?.(L)})),gt=new Un,Ue=()=>{gt.add(M.events.log$.subscribe(L=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${L.component}`,L.message)})).add(ee.log$.subscribe(L=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${L.component}.`,L.message)}))},Me=()=>{gt.unsubscribe()},mt=(L,ae)=>{M.startCameraManualRotation(L,ae)},qt=(L=!1)=>{M.stopCameraManualRotation(L)},Tt=(L,ae,ye)=>{M.moveCameraFocusPX(L,ae,ye)},ki=()=>{M.holdCamera()},fe=()=>{M.releaseCamera()},pt=Pn(M.info.position$.getValue(),L=>{let ae,ye;const Re=()=>{const je=M.info.playbackState$.getValue(),Ht=M.info.isLive$.getValue(),jt=M.info.duration$.getValue(),It=M.info.position$.getValue();if([Ft.PLAYING,Ft.PAUSED].includes(je)){const fn=Ht?It-jt:M.getExactTime();fn!==ye&&L(fn),ye=fn}ae=requestAnimationFrame(Re)};return Re(),()=>cancelAnimationFrame(ae)}),rt=ft(Ve),bt=ft(M.info.playbackState$),at=ft(M.info.currentBuffer$),Ct=ft(M.info.isEnded$),Pt=ft(M.info.isLive$),li=K.features.playbackRate?ft(M.info.canChangePlaybackSpeed$):Pn(!1),Ri=ft(M.info.liveBufferTime$),si=ft(M.info.volume$),Ni=ft(M.info.muted$),Ki=P1(M.info.autoQualityLimits$.pipe(kc(({max:L})=>L!==void 0)),M.info.autoQualityLimits$.getValue()?.max!==void 0),yi=ft(M.info.autoQualityLimitingAvailable$),zi=ft(M.info.availableQualities$),Di=ft(M.info.availableQualitiesFps$),Et=ft(M.info.chromecastState$),Xt=ft(M.info.chromecastDeviceName$),ri=ft(M.info.currentFormat$),Zt=ft(M.info.throughputEstimation$),ai=ft(M.info.videoBitrate$),Jt=ft(M.info.intrinsicVideoSize$),Ci=ft(M.info.duration$),ui=ft(M.info.isAudioAvailable$);let _t=null;const ci=M.info.isBuffering$,Pi=Pn(ci.getValue(),L=>{const ae=ci.subscribe(ye=>{ye&&_t===null?_t=window.setTimeout(()=>{L(ci.getValue()),_t=null},K.loaderDelay):L(ye)});return()=>{ae.unsubscribe(),_t&&clearTimeout(_t)}}),Si=()=>{_t&&clearTimeout(_t),_t=null},Wt=oi([Ci,Pt],([L,ae])=>ae?-L:L),fi=oi([bt],([L])=>L===Ft.PLAYING),xt=ft(M.info.atLiveEdge$),$t=ft(M.info.atLiveDurationEdge$),Bt=ft(M.info.position$),At=oi([Bt,Ci],([L,ae])=>isFinite(L)&&isFinite(ae)&&!!ae),Rt=oi([Et],([L])=>L===Sn.CONNECTED),vt=Ae(void 0),Lt=ft(M.info.isAutoQualityEnabled$,L=>L&&vt.set(void 0)),Oi=ft(M.info.currentQuality$,()=>vt.set(void 0)),di=oi([vt,Oi],([L,ae])=>L??ae),Ti=oi([zi,Di,Lt,di,ri],([L,ae,ye,Re,je])=>{const Ht=[];je!==Eo.MPEG&&Ht.push({value:ho.AUTO,displayValue:Ee("auto_quality_option"),selected:ye});const jt=L.filter(It=>It!==xo.INVARIANT);for(const It of jt){const fn=ae[It],On=It===xo.INVARIANT?Ee("auto_quality_option"):It;Ht.push({value:It,displayValue:`${On}${fn?W4(fn):""}`,selected:ye?!1:It===Re})}return Ht}),Nt=ft(M.info.currentPlaybackRate$),mi=oi([Nt,xt,$t],([L,ae,ye])=>{const Re=ye||w?1:K.controls.playbackRateMin,je=ae?1:K.controls.playbackRateMax,Ht=K.controls.playbackRateStep,jt=[];for(let It=Re;It<=je;It+=Ht)jt.push({value:It,displayValue:It===1?Ee("playback_rate_1"):Ee("playback_rate",{multiplier:It.toString(10)}),selected:L===It});return jt}),ei=K.features.subtitles?ft(M.info.availableTextTracks$):Pn([]),Hi=oi([ei],([L],ae)=>{const ye=[],Re=[];for(const je of L)je.url&&ye.push(fetch(je.url));Promise.allSettled(ye).then(je=>{for(const[Ht,jt]of je.entries())jt.status==="fulfilled"&&jt.value.text().then(It=>{const fn=new K4,On=L[Ht].language,Po=!!L[Ht].isAuto,So=fn.parse(It);On&&So&&Re.push({lang:On,subtitles:So,isAuto:Po}),Ht===je.length-1&&ae(Re)})})}),ht={displayValue:Ee("subtitles_off"),value:"off"},ti=Ae({...ht}),wt=oi([Hi,ti,Hi],([L,ae])=>{if(L?.length>0){const ye=[{...ht,selected:ae?.value===ht.value}];for(const{lang:Re,isAuto:je}of L)vl[Re]&&ye.push({displayValue:je?Ee("subtitles_auto",{language:vl[Re]}):vl[Re],value:Re,selected:ae?.value===Re,isAuto:je});return ye}else return[]}),ji=oi([pt,ti,Hi],([L,ae,ye])=>{if(ae&&ae.value!==ht.value)return G4(L,ae,ye)}),Kt=oi([ji],([L])=>L?.texts?L.texts:[]),Fi=Ae(!0),Qi=oi([at,Wt,Bt,Ri],([L,ae,ye,Re])=>{const je=L?.end??0;if(!Re)return je/ae;const jt=-ye+Re-ae;return(je-jt)/ae}),Ei=ft(M.info.availableSources$),pi=oi([Ei],([L])=>Object.keys(L?.[Eo.MPEG]||{}).length>0),zt=()=>{const L=Object.keys(M.info.availableSources$?.getValue()?.[Eo.MPEG]||{}),ae=Cc(L)||xo.Q_144P;return le.sources[Eo.MPEG]?.[ae]},Ui=()=>{const L=zt();L?lf(L,le?.meta?.title||"video"):C({message:"There is no URL for download video"})},Gi=()=>{C({message:"toggle muted"});const L=M.info.muted$.getValue(),Re=!(M.info.volume$.getValue()===0||L);bi(Re)},hi=()=>{st.ui.settingsMenuVisible.set(!1)},gi=L=>{st.ui.settingsMenuOpenedByKeyboard.set(!!L),st.ui.settingsMenuVisible.set(!0)},qi=L=>{Qe(st.ui.settingsMenuVisible)?hi():gi(L)},Le=(L,ae=L,ye=!1)=>{const Re=!ye,je=M.info.muted$.getValue();C({message:`set volume, volume: ${L}, preferredVolume: ${ae}, internalCall: ${Re}`}),M.setVolume(L),A.setVolume(L),Re&&r?.onVolumeChange?.(L),ls(ae),je?(M.setMuted(!1),Re&&r?.onUnmute?.(),dl(!1)):!je&&L===0&&(M.setMuted(!0),Re&&r?.onMute?.(),dl(!0))},bi=(L,ae=!1)=>{const ye=!ae,Re=M.info.volume$.getValue();if(C({message:`set muted, currentVolume: ${Re}, mute: ${L}, internalCall: ${ye}`}),M.setMuted(L),A.setVolume(L?0:Re),dl(L),ye&&(L?r?.onMute?.():r?.onUnmute?.()),Re===0){let je=L1()??K.volumeDefault;je===0&&(je=K.volumeMinRestore,ls(je)),M.setVolume(je),A.setVolume(je),ye&&r?.onVolumeChange?.(je)}},Yi=()=>{M.prepare()},Ai=()=>{if(ot(st),!Qe(st.ui.controls.disabledControls$).has(nt.PLAY_BUTTON)){if(C({message:"toggle play"}),Qe(st.playerPhase)===Be.Ads){A.togglePlay();return}if(M.info.playbackState$.getValue()!==Ft.PLAYING){if(M.info.isEnded$.getValue()){if(C({message:"toggle play, video ended, seek to 0"}),it.next(),Je.next(Vt.REWIND),w){P?.();return}M.seekTime(0)}C({message:"toggle play, call player.play"}),M.play(),r?.onPlay?.()}else C({message:"toggle play, call player.pause"}),M.pause(),r?.onPause?.()}},_i=L=>{C({message:`set quality, quality: ${L}`}),M.setAutoQuality(L===ho.AUTO),L!==ho.AUTO?(sf(e,L),vt.set(L),M.setQuality(L)):I1()},Li=L=>{C({message:`set trafficSavingEnabled, value: ${L}`}),M.setAutoQualityLimits({max:L?K.trafficSavingLimit:void 0}),uf(L)},De=L=>{M.setPlaybackRate(L)},Ii=()=>{const L=Qe(mi),ae=L.findIndex(({selected:Re})=>Re);if(ae===L.length-1)return;const ye=L[ae+1];De(ye.value)},vi=()=>{const L=Qe(mi),ae=L.findIndex(({selected:Re})=>Re);if(ae===0)return;const ye=L[ae-1];De(ye.value)},ii=L=>{L&&L.value!==ht.value&&Ce.next(L.isAuto?L.value+"_auto":L.value),ti.set(L)},Dt=()=>{const L=Qe(wt),ae=Qe(ti),ye=Qe(Se);if(ae?.value===ht.value){const Re=L.filter(je=>je.value!==ht.value).find(je=>je.value===ye)||L[1];ii(Re??{...ht})}else ii({...ht,selected:!1})},Vi=(L,ae,ye=!0)=>{if(C({message:`seek to time, time: ${L}`}),Je.next(ae),M.info.isLive$.getValue()){const Re=M.info.duration$.getValue(),je=Math.min(0,Re+L);M.seekTime(je,ye)}else{if(Qe(Ot))return;M.seekTime(Ln(L),ye)}},an=L=>{C({message:`seek to episode start time: ${L}`}),Vi(L,Vt.EPISODE,!0)},Xi=(L,ae)=>{C({message:`seek to percent, percent: ${L}`});const ye=Math.round(Qe(Wt)*L);Vi(ye,ae,!1)},Zi=L=>{C({message:`seek external, time: ${L}`}),Je.next(Vt.UNKNOWN),M.seekTime(M.info.isLive$.getValue()?-L:L)},$i=L=>{C({message:`set auto quality limitation. Max: ${L.max??"none"}. Min: ${L.min??"none"}`}),M.setAutoQualityLimits(L)},en=L=>{C({message:`seek external to episode start time: ${L}`}),Vi(L,Vt.EPISODE,!0)},tn=L=>{C({message:`set playback rate to: ${L}`}),M.setPlaybackRate(L)},Wi=Ae(void 0),Mi=Ae(!1),Bi=L=>{C({message:`start scrubbing, progress: ${L}`}),Mi.set(!0),te(L)},te=L=>{Wi.set(L)};let et,ni;const Ji=()=>{Wi.set(void 0),Mi.set(!1)},kt=()=>{clearTimeout(ni),clearTimeout(et),et=window.setTimeout(()=>{Ji()},500),W?.removeEventListener("seeked",kt)},un=L=>{C({message:`complete scrubbing, progress: ${L}`}),Xi(L,Vt.SLIDER),Qe(st.ui.isMobile)&&Qe(st.state.currentFormat$)===Eo.HLS?(W?.addEventListener("seeked",kt),ni=window.setTimeout(()=>{kt()},300)):Ji()},wn=oi([pt,Wt,Wi],([L,ae,ye],Re)=>{Re(gn(ye)?ye*ae:L)}),on=Ae({width:0,height:0}),cn=oi([on],([{width:L}],ae)=>{const ye=B2(L);ae(ye)}),ln=Ae(!1),J=oi([cn,ln],([L,ae])=>ae?I.filter(ye=>!ye.hideOnMobile):I.filter(ye=>!ye.hideOnDesktopGridTypes?.includes(L))),ut=oi([ln,Te],([L,ae],ye)=>{ye(L&&ae)}),kn=()=>{Je.next(Vt.LIVE),C({message:"switch to active live"}),M.seekTime(0),M.info.playbackState$.getValue()!==Ft.PLAYING&&st.actions.internal.togglePlay()},x=()=>A.skip(),yn=(L=!0)=>{ot(st),C({message:`switch from ads to video, callPlay: ${L}`}),Ie.set(Be.Video),L&&M.play()},Qn=()=>{ot(st),C({message:"switch from video to ads"}),st.actions.internal.pause(),xe(),Ie.set(Be.Ads)},Xn=L=>{ot(st);const ae=L?Be.WaitingLive:Be.Thumb;Ie.set(ae)},qn=L=>{ot(st);const ae=L?Be.WaitingRecord:Be.Thumb;Ie.set(ae)},Jn=()=>(ot(st),nf(M,le,st)),xn=()=>(ot(st),of(M,le,st)),$n=()=>W,eo=()=>{C({message:"toggle chromecast"}),M.toggleChromecast()},Zn=L=>{ot(st);const ae=!L;if(Qe(st.playerPhase)===Be.Ads){C({message:`pause ads, internalCall: ${ae}`}),A.pause();return}C({message:`pause video, internalCall: ${ae}`}),ae&&r?.onPause?.(),M.pause()},to=L=>{ot(st);const ae=!L;if(Qe(st.playerPhase)===Be.Ads){C({message:`play ads, internalCall: ${ae}`}),A.play();return}C({message:`play video, internalCall: ${ae}`}),ae&&r?.onPlay?.(),M.play()},Wn=(L,ae)=>{ot(st),C({message:`first start, show ads: ${L}, internalCall: ${!ae}`}),L?Ie.set(Be.Ads):(Ie.set(Be.Video),ae?M.play():st.actions.internal.togglePlay())},En=()=>(C({message:"getting time codes"}),c),Kn=()=>{const L=En();if(!L||[0,1].includes(L.length))return;const ae=M.info.position$.getValue();return L.find(ye=>ye.time>ae)},nn=L=>{let ae=L;ae||(ae=Kn()),ae&&(C({message:"seek to next episode"}),Vi(ae.time,Vt.EPISODE,!0))},io=()=>{const L=En();if(!L||[0,1].includes(L.length))return;const ae=M.info.position$.getValue(),ye=L.findIndex(je=>je.time>ae),Re=ye===-1?L.length-2:ye-2;if(!(Re<0))return L[Re]},ko=L=>{let ae=L;ae||(ae=io()),ae&&(C({message:"seek to prev episode"}),Vi(ae.time,Vt.EPISODE,!0))},yo=()=>(C({message:"getting preview thumbs data"}),f),no=async()=>{G?.isActive()?await G?.remove():await G?.request()},Co=(L=-90)=>{we.update(ae=>ae+L)},An=Ae(v),oo=oi([An],([L=[]])=>{const ae=[];for(let ye=0;ye<L.length;ye++){const{range:[Re,je],subjects:Ht}=L[ye];ye===0&&Re!==0&&ae.push({time:0,text:"",interactive:!1,completed:!0}),ae.push({time:Re/1e3,text:"",interactive:!0,completed:!Ht.length}),je!==1/0&&ae.push({time:je/1e3,text:"",interactive:!1,completed:!0})}return ae}),lo=L=>{const ae=Qe(An);An.set(ae.map(ye=>({...ye,subjects:ye.subjects.filter(Re=>Re!==L)})))},F=Ae(!1),Ot=oi([Bt,An,F],([L,ae,ye])=>{if(!w)return!1;if(ye)return!0;const Re=L*1e3,je=ae?.find(({range:[Ht,jt],subjects:It})=>Ht<Re&&Re<jt&&It.length);return je&&Qe(Mi)&&Ji(),!!je}),Ln=L=>{if(!w)return L;const ae=Qe(oo),ye=Qe(Wt),je=Qe(Bt)/ye,Ht=ae.find(jt=>jt.interactive&&!jt.completed&&jt.time>je);return typeof Ht?.time=="number"?Math.min(L,Ht.time-.05):L},Cn=()=>{st.ui.episodes.panelOpened$.set(!1)},so=()=>{clearTimeout(ni),clearTimeout(et),ct.unsubscribe(),gt.unsubscribe(),M.destroy(),A.destroy(),ie?.destroy(),N?.destroy(),X.unsubscribe()},st={interfaceLanguage$:Se,initVideo:$,videoId:e,isClip:i,playerPhase:ue,vsid:qe,state:{positionExact$:pt,positionWithScrubbing$:wn,duration$:Wt,playbackState$:bt,isPlaying$:fi,isLoaderVisible:Pi,bufferedProgress$:Qi,isLive$:Pt,canChangePlaybackSpeed$:li,isActiveLive$:xt,isOldestAvailableLive$:$t,isRewindableLive$:At,isEnded$:Ct,muted$:Ni,volume$:si,trafficSavingEnabled$:Ki,autoQualityLimitingAvailable$:yi,currentQuality$:di,isAutoQualityEnabled$:Lt,availableQualities$:Ti,currentPlaybackRate$:Nt,availablePlaybackRates$:mi,currentSubtitle$:ti,availableSubtitlesList$:wt,currentSubtitleCaptions$:Kt,isAutoSubtitleCaptionVisible$:Fi,chromecastState$:Et,chromecastDeviceName$:Xt,chromecastConnected$:Rt,currentFormat$:ri,throughputEstimation$:Zt,videoBitrate$:ai,videoSize$:Jt,errorLog$:Q,crashed$:Te,isAudioAvailable$:ui,isAudioDisabled:!!s,canDownload:K.features.download&&!!l,availableSources$:Ei,hasMpegSources$:pi,isInteractive:w,isInteractiveGraphEnabled:K.features.interactiveGraph,isSeekToInteractiveEnable:K.features.seekToInteractive,isPlayPrevChapterEnabled:K.features.interactivePlayPrevChapter,interactiveEpisodes$:oo,isInteractiveTime$:Ot,graphIsOpened$:Ae(!1),isInteractiveExpectation$:F,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:y},ui:{controlsVisible:Ae(!1),touched:Ae(!1),controls:{prevButton:Ae(void 0),playButton:Ae(void 0),replayButton:Ae(void 0),nextButton:Ae(void 0),playPrevChapterButton:Ae(void 0),seekToInteractiveButton:Ae(void 0),interactiveGraphButton:Ae(void 0),liveButton:Ae(void 0),time:Ae(void 0),episodes:Ae(void 0),volume:Ae(void 0),subtitles:Ae(void 0),settings:Ae(void 0),context:Ae(void 0),chromecast:Ae(void 0),pip:Ae(void 0),fullscreen:Ae(void 0),vkLogo:Ae(void 0),additionalButtons:I.length?I.reduce(L=>[...L,Ae(void 0)],[]):[],disabledControls$:_e},modals:{hotKeyMap:{show:Ae(!1),data:Ae({title:"",closeBtnText:"",groups:[]})}},isFullscreen:Ze,rotateAlpha:we,isAutoplay:Ae(!1),contextMenuVisible:Ae(!1),debugPanelVisible:Ae(!1),episodes:{panelOpened$:Ae(!1),openedByKeyboard$:Ae(!1)},contextMenu:{btnRef$:Ae(void 0),openedByKeyboard$:Ae(!1),showContextMenuBtn$:Ae(!1)},playerSize:on,isMobile:ln,mobileNotReportControlHidden$:ut,mobileUnmuteButtonExpanded:Ae(!1),mobileUnmuteButtonVisible:Ae(!1),icon3DVideoVisible:Ae(!1),settingsMenuVisible:Ae(!1),settingsMenuOpenedByKeyboard:Ae(!1),scrubbingInProgress:Mi,is3DVideo:Ae(!1),isPictureInPictureActive$:rt,pictureInPictureType$:Pn(ce),clientInfo$:Pn(ke),currentGridType$:cn,additionalButtons$:J,interactiveHideMobileControls:Ae(!1),overlayContainer$:Ae(void 0),startedByKeyboard$:Ae(!1)},ads:{position:Ae(0),duration:Ae(0),playbackState:Ae(Yt.INACTIVE),canSkip:Ae(!1),secondsToWatchBeforeSkip:Ae(0),postrollPassed:Ae(!1)},webApi:{pictureInPictureApi:G,annotationsApi:re},actions:{internal:{preload:Yi,firstStart:L=>Wn(L,!1),pause:()=>Zn(!1),togglePlay:Ai,toggleMuted:Gi,toggleSettingsMenu:qi,openSettingsMenu:gi,closeSettingsMenu:hi,setVolume:Le,setQuality:_i,setTrafficSavingEnabled:L=>Li(L),setPlaybackRate:De,incrementPlaybackRate:Ii,decrementPlaybackRate:vi,setSubtitle:ii,toggleSubtitle:Dt,togglePictureInPicture:no,startScrubbing:Bi,progressScrubbing:te,completeScrubbing:un,toggleChromecast:eo,switchToActiveLive:kn,switchFromAdsToVideo:yn,switchFromVideoToAds:Qn,skipAd:x,setWaitingLive:Xn,setWaitingRecord:qn,getDebugTextData:Jn,getDebugPanelData:xn,getVideoElement:$n,seekTime:(L,ae,ye)=>Vi(L,ae,ye),clearDelayedBufferingCheckTimeout:Si,seekEpisodeStartTime:an,seekToPercent:Xi,getNextEpisode:Kn,seekToNextEpisode:nn,getPrevEpisode:io,seekToPrevEpisode:ko,startLogging:Ue,stopLogging:Me,startCameraManualRotation:mt,stopCameraManualRotation:qt,moveCameraFocusPX:Tt,holdCamera:ki,releaseCamera:fe,getVideoEpisodes:En,getPreviewThumbsData:yo,downloadVideo:Ui,addLanguage:ss,setLanguage:se,nextMovie:ze,videoRotate:Co,completeInteractiveRange:lo,correctSeekTimeToInteractive:Ln,replayInteractive:P},external:{firstStart:L=>Wn(L,!0),play:()=>to(!0),pause:()=>Zn(!0),seekTime:L=>Zi(L),seekEpisodeStartTime:L=>en(L),setPlaybackRate:L=>tn(L),setAutoQualityLimits:L=>$i(L),setMuted:L=>bi(L,!0),setVolume:L=>Le(L,L,!0),returnFocusToEpisodes:Cn}},callbacks:r,setUiCallbacks:L=>{oe={...L}},getAdmanWrapper:()=>A,getLogger:()=>ee,destroy:so};return st},Cu=(t,e,i,n)=>{if(!t)return;const o=t.getBoundingClientRect();for(const[s,l]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(s)){const r=i[s]?.getBoundingClientRect(),a=n&&!!r&&!!(r.right-r.left);l.set({positionStartX:0,positionEndX:0,left:a?Math.round(r.left-o.left):0,right:a?Math.round(r.right-o.left):0,top:a?Math.round(r.top-o.top):0,bottom:a?Math.round(r.bottom-o.top):0,isDisplayed:a})}},Pu=async(t,e,i)=>{await No(),e&&i&&(i.focus(),t.set(!1))};function Q4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class X4 extends be{constructor(e){super(),ge(this,e,null,Q4,he,{})}}function J4(t){let e,i;return e=new X4({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function x4(t){let e,i,n;function o(l){t[8](l)}let s={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:[J4]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $4(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=dt(),r=l.ui.contextMenuVisible;D(t,r,v=>i(3,n=v));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,p=v=>{const P=Dl(v);a.set(P),r.set(!n)};let h;const _=()=>{c.set(!0)},b=()=>{c.set(!1)};function w(v){h=v,i(2,h)}return t.$$set=v=>{"disabled"in v&&i(0,o=v.disabled),"ariaLabel"in v&&i(1,s=v.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,p,_,b,w]}class e3 extends be{constructor(e){super(),ge(this,e,$4,x4,he,{disabled:0,ariaLabel:1})}}function t3(t){Oe(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 wr(t,e,i){const n=t.slice();return n[205]=e[i].iconUrl,n[206]=e[i].ariaLabel,n[207]=e[i].testId,n[208]=e[i].onClick,n[209]=e[i].tooltip,n}function kr(t){let e,i,n;function o(l){t[171](l)}let s={disabled:!t[9],tooltipContent:j("tooltip_previous"),$$slots:{default:[i3]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function i3(t){let e,i;return e=new rl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function yr(t){let e,i,n;function o(l){t[172](l)}let s={disabled:t[74],tooltipContent:j("tooltip_restart"),$$slots:{default:[n3]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&4096&&(a.disabled=l[74]),r[2]&4096|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function n3(t){let e,i;return e=new Kl({props:{click:t[127],disabled:t[74]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&4096&&(s.disabled=n[74]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Cr(t){let e,i,n;function o(l){t[174](l)}let s={tooltipContent:t[47],disabled:t[75],$$slots:{default:[o3]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.tooltipContent=l[47]),r[2]&8192&&(a.disabled=l[75]),r[0]&67108864|r[1]&8|r[2]&8192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function o3(t){let e,i,n;function o(l){t[173](l)}let s={isMobile:!1,isPlaying:t[34],click:t[86],disabled:t[75]};return t[26]!==void 0&&(s.ref=t[26]),e=new Wl({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.isPlaying=l[34]),r[2]&8192&&(a.disabled=l[75]),!i&&r[0]&67108864&&(i=!0,a.ref=l[26],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Pr(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[8],tooltipContent:j("tooltip_next"),$$slots:{default:[l3]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function l3(t){let e,i;return e=new rl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s3(t){let e,i,n,o,s=t[121]&&r3(t),l=t[120]&&u3(t),r=t[119]&&f3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){a[121]&&s.p(a,c),a[120]&&l.p(a,c),a[119]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function r3(t){let e,i,n;function o(l){t[176](l)}let s={disabled:t[73],tooltipContent:j("tooltip_interactive_go_back"),disabledTooltipContent:j(t[123]),$$slots:{default:[a3]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&2048&&(a.disabled=l[73]),r[0]&131072|r[2]&2048|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function a3(t){let e,i;return e=new wu({props:{disabled:t[73],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&2048&&(s.disabled=n[73]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function u3(t){let e,i,n;function o(l){t[177](l)}let s={disabled:t[76],tooltipContent:j("tooltip_interactive_seek"),disabledTooltipContent:j(t[79]),$$slots:{default:[c3]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&16384&&(a.disabled=l[76]),r[2]&131072&&(a.disabledTooltipContent=j(l[79])),r[0]&32768|r[2]&16384|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function c3(t){let e,i;return e=new bu({props:{disabled:t[76],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&16384&&(s.disabled=n[76]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f3(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[77],$$slots:{default:[d3]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.tooltipContent=l[48]),r[2]&32768&&(a.disabled=l[77]),r[0]&65536|r[1]&1|r[2]&32768|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function d3(t){let e,i;return e=new _u({props:{click:t[16],graphIsOpened:t[31],disabled:t[77]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[1]&1&&(s.graphIsOpened=n[31]),o[2]&32768&&(s.disabled=n[77]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Sr(t){let e,i,n;function o(l){t[179](l)}let s={tooltipContent:t[50],$$slots:{default:[m3]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&524288&&(a.tooltipContent=l[50]),r[0]&2097152|r[1]&524288|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function m3(t){let e,i;return e=new du({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Tr(t){let e,i,n;function o(l){t[180](l)}let s={isMobile:!1,showDuration:t[55],position:t[4]?t[80]:t[81],duration:t[4]?t[82]:t[83]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new lu({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&16777216&&(a.showDuration=l[55]),r[0]&16|r[2]&786432&&(a.position=l[4]?l[80]:l[81]),r[0]&16|r[2]&3145728&&(a.duration=l[4]?l[82]:l[83]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Er(t){let e,i;return e=new gu({props:{position:t[81],duration:t[83],timeCodes:t[102]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&524288&&(s.position=n[81]),o[2]&2097152&&(s.duration=n[83]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function p3(t){let e,i,n=t[20]&&Er(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&d(n,1)):(n=Er(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function h3(t){let e,i;return e=new ku({props:{iconUrl:t[205],ariaLabel:t[206]??t[209],testId:t[207],onClick:t[208]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.iconUrl=n[205]),o[0]&268435456&&(s.ariaLabel=n[206]??n[209]),o[0]&268435456&&(s.testId=n[207]),o[0]&268435456&&(s.onClick=n[208]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ar(t){let e,i;return e=new Mt({props:{tooltipContent:t[209],width:40,$$slots:{default:[h3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.tooltipContent=n[209]),o[0]&268435456|o[6]&67108864&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Lr(t){let e,i,n;function o(l){t[183](l)}let s={disabled:!t[6],tooltipContent:t[51],$$slots:{default:[g3]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&192|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function g3(t){let e,i;return e=new cu({props:{click:t[87],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function b3(t){let e,i;return e=new H2({props:{isAudioAvailable:t[78],click:t[126]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&65536&&(s.isAudioAvailable=n[78]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ir(t){let e,i,n;function o(l){t[185](l)}let s={tooltipContent:t[52],$$slots:{default:[_3]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _3(t){let e,i;return e=new Qd({props:{isSubtitlesEnabled:t[18],click:t[88]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vr(t){let e,i,n,o;function s(r){t[186](r)}let l={supportLink:t[10],playerControlsHeight:t[46]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new ou({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&32768&&(c.playerControlsHeight=r[46]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],He(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function Mr(t){let e,i,n;function o(l){t[188](l)}let s={tooltipContent:t[27]?void 0:j("tooltip_settings_off"),$$slots:{default:[v3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&134217728&&(a.tooltipContent=l[27]?void 0:j("tooltip_settings_off")),r[0]&33554432|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function v3(t){let e,i,n;function o(l){t[187](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Ul({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function w3(t){let e,i,n;function o(l){t[189](l)}let s={className:t[41]?"":"out-of-view",tooltipContent:t[49],$$slots:{default:[k3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&1024&&(a.className=l[41]?"":"out-of-view"),r[1]&262144&&(a.tooltipContent=l[49]),r[1]&262144|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function k3(t){let e,i;return e=new e3({props:{ariaLabel:t[49]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&262144&&(s.ariaLabel=n[49]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Br(t){let e,i,n;function o(l){t[190](l)}let s={tooltipContent:t[53],$$slots:{default:[y3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&1073750016|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function y3(t){let e,i;return e=new au({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Rr(t){let e,i,n;function o(l){t[191](l)}let s={tooltipContent:t[54],$$slots:{default:[C3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.tooltipContent=l[54]),r[0]&536870912|r[6]&67108864&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function C3(t){let e,i;return e=new fu({props:{isMobile:!1,state:t[29],click:t[125]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&536870912&&(s.state=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function P3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N;i=new hu({props:{isHidden:!t[45],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let G=t[38]&&kr(t),re=t[35]&&yr(t),C=t[36]&&Cr(t),le=t[37]&&Pr(t),W=t[118]&&s3(t),oe=!t[4]&&t[33]&&Sr(t),ke=t[19]&&Tr(t);function qe($){t[181]($)}let Ze={className:"w-max",disabled:!t[20],tooltipContent:j("tooltip_episodes"),$$slots:{default:[p3]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(Ze.ref=t[23].episodes),_=new Mt({props:Ze}),ve.push(()=>Fe(_,"ref",qe));let Ve=Ut(t[28]),ce=[];for(let $=0;$<Ve.length;$+=1)ce[$]=Ar(wr(t,Ve,$));const we=$=>g(ce[$],1,1,()=>{ce[$]=null});let Q=t[43]&&Lr(t);function X($){t[184]($)}let Te={$$slots:{default:[b3]},$$scope:{ctx:t}};t[23].volume!==void 0&&(Te.ref=t[23].volume),I=new Mt({props:Te}),ve.push(()=>Fe(I,"ref",X));let se=t[40]&&Ir(t),Se=!t[84]&&!t[4]&&Vr(t),Ee=t[42]&&Mr(t),Ie=t[85].features.contextMenuButton&&w3(t),ue=t[44]&&Br(t),_e=t[39]&&Rr(t);return{c(){e=E("div"),U(i.$$.fragment),n=z(),o=E("div"),s=E("div"),G&&G.c(),l=z(),re&&re.c(),r=z(),C&&C.c(),a=z(),le&&le.c(),c=z(),W&&W.c(),f=z(),oe&&oe.c(),p=z(),ke&&ke.c(),h=z(),U(_.$$.fragment),v=z(),P=E("div");for(let $=0;$<ce.length;$+=1)ce[$].c();k=z(),Q&&Q.c(),y=z(),U(I.$$.fragment),V=z(),se&&se.c(),K=z(),Se&&Se.c(),M=z(),Ee&&Ee.c(),ee=z(),Ie&&Ie.c(),A=z(),ue&&ue.c(),ie=z(),_e&&_e.c(),u(s,"class","controls-left v-st0uzk"),bo(()=>t[182].call(s)),u(P,"class","controls-right v-st0uzk"),u(o,"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($,Y){T($,e,Y),O(i,e,null),m(e,n),m(e,o),m(o,s),G&&G.m(s,null),m(s,l),re&&re.m(s,null),m(s,r),C&&C.m(s,null),m(s,a),le&&le.m(s,null),m(s,c),W&&W.m(s,null),m(s,f),oe&&oe.m(s,null),m(s,p),ke&&ke.m(s,null),m(s,h),O(_,s,null),w=Il(s,t[182].bind(s)),m(o,v),m(o,P);for(let ze=0;ze<ce.length;ze+=1)ce[ze]&&ce[ze].m(P,null);m(P,k),Q&&Q.m(P,null),m(P,y),O(I,P,null),m(P,V),se&&se.m(P,null),m(P,K),Se&&Se.m(P,null),m(P,M),Ee&&Ee.m(P,null),m(P,ee),Ie&&Ie.m(P,null),m(P,A),ue&&ue.m(P,null),m(P,ie),_e&&_e.m(P,null),t[192](o),t[193](e),N=!0},p($,Y){const ze={};Y[1]&16384&&(ze.isHidden=!$[45]),Y[0]&16&&(ze.isAds=$[4]),Y[0]&32&&(ze.canRewindLive=$[5]),Y[1]&2&&(ze.isRewindableLive=$[32]),i.$set(ze),$[38]?G?(G.p($,Y),Y[1]&128&&d(G,1)):(G=kr($),G.c(),d(G,1),G.m(s,l)):G&&(de(),g(G,1,1,()=>{G=null}),me()),$[35]?re?(re.p($,Y),Y[1]&16&&d(re,1)):(re=yr($),re.c(),d(re,1),re.m(s,r)):re&&(de(),g(re,1,1,()=>{re=null}),me()),$[36]?C?(C.p($,Y),Y[1]&32&&d(C,1)):(C=Cr($),C.c(),d(C,1),C.m(s,a)):C&&(de(),g(C,1,1,()=>{C=null}),me()),$[37]?le?(le.p($,Y),Y[1]&64&&d(le,1)):(le=Pr($),le.c(),d(le,1),le.m(s,c)):le&&(de(),g(le,1,1,()=>{le=null}),me()),$[118]&&W.p($,Y),!$[4]&&$[33]?oe?(oe.p($,Y),Y[0]&16|Y[1]&4&&d(oe,1)):(oe=Sr($),oe.c(),d(oe,1),oe.m(s,p)):oe&&(de(),g(oe,1,1,()=>{oe=null}),me()),$[19]?ke?(ke.p($,Y),Y[0]&524288&&d(ke,1)):(ke=Tr($),ke.c(),d(ke,1),ke.m(s,h)):ke&&(de(),g(ke,1,1,()=>{ke=null}),me());const it={};if(Y[0]&1048576&&(it.disabled=!$[20]),Y[0]&1048576|Y[2]&2621440|Y[6]&67108864&&(it.$$scope={dirty:Y,ctx:$}),!b&&Y[0]&8388608&&(b=!0,it.ref=$[23].episodes,He(()=>b=!1)),_.$set(it),Y[0]&268435456){Ve=Ut($[28]);let Ce;for(Ce=0;Ce<Ve.length;Ce+=1){const Ye=wr($,Ve,Ce);ce[Ce]?(ce[Ce].p(Ye,Y),d(ce[Ce],1)):(ce[Ce]=Ar(Ye),ce[Ce].c(),d(ce[Ce],1),ce[Ce].m(P,k))}for(de(),Ce=Ve.length;Ce<ce.length;Ce+=1)we(Ce);me()}$[43]?Q?(Q.p($,Y),Y[1]&4096&&d(Q,1)):(Q=Lr($),Q.c(),d(Q,1),Q.m(P,y)):Q&&(de(),g(Q,1,1,()=>{Q=null}),me());const Je={};Y[2]&65536|Y[6]&67108864&&(Je.$$scope={dirty:Y,ctx:$}),!ne&&Y[0]&8388608&&(ne=!0,Je.ref=$[23].volume,He(()=>ne=!1)),I.$set(Je),$[40]?se?(se.p($,Y),Y[1]&512&&d(se,1)):(se=Ir($),se.c(),d(se,1),se.m(P,K)):se&&(de(),g(se,1,1,()=>{se=null}),me()),!$[84]&&!$[4]?Se?(Se.p($,Y),Y[0]&16|Y[2]&4194304&&d(Se,1)):(Se=Vr($),Se.c(),d(Se,1),Se.m(P,M)):Se&&(de(),g(Se,1,1,()=>{Se=null}),me()),$[42]?Ee?(Ee.p($,Y),Y[1]&2048&&d(Ee,1)):(Ee=Mr($),Ee.c(),d(Ee,1),Ee.m(P,ee)):Ee&&(de(),g(Ee,1,1,()=>{Ee=null}),me()),$[85].features.contextMenuButton&&Ie.p($,Y),$[44]?ue?(ue.p($,Y),Y[1]&8192&&d(ue,1)):(ue=Br($),ue.c(),d(ue,1),ue.m(P,ie)):ue&&(de(),g(ue,1,1,()=>{ue=null}),me()),$[39]?_e?(_e.p($,Y),Y[1]&256&&d(_e,1)):(_e=Rr($),_e.c(),d(_e,1),_e.m(P,null)):_e&&(de(),g(_e,1,1,()=>{_e=null}),me()),(!N||Y[0]&2)&&B(e,"hidden",$[1]),(!N||Y[0]&8)&&B(e,"controls-hidden",!$[3]),(!N||Y[0]&4)&&B(e,"no-smooth",$[2])},i($){if(!N){d(i.$$.fragment,$),d(G),d(re),d(C),d(le),d(W),d(oe),d(ke),d(_.$$.fragment,$);for(let Y=0;Y<Ve.length;Y+=1)d(ce[Y]);d(Q),d(I.$$.fragment,$),d(se),d(Se),d(Ee),d(Ie),d(ue),d(_e),N=!0}},o($){g(i.$$.fragment,$),g(G),g(re),g(C),g(le),g(W),g(oe),g(ke),g(_.$$.fragment,$),ce=ce.filter(Boolean);for(let Y=0;Y<ce.length;Y+=1)g(ce[Y]);g(Q),g(I.$$.fragment,$),g(se),g(Se),g(Ee),g(Ie),g(ue),g(_e),N=!1},d($){$&&S(e),H(i),G&&G.d(),re&&re.d(),C&&C.d(),le&&le.d(),W&&W.d(),oe&&oe.d(),ke&&ke.d(),H(_),w(),vn(ce,$),Q&&Q.d(),H(I),se&&se.d(),Se&&Se.d(),Ee&&Ee.d(),Ie&&Ie.d(),ue&&ue.d(),_e&&_e.d(),t[192](null),t[193](null)}}}function S3(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe=Z,ke=()=>(oe(),oe=Gt(ee,q=>i(142,W=q)),ee),qe,Ze=Z,Ve=()=>(Ze(),Ze=Gt(M,q=>i(143,qe=q)),M),ce,we=Z,Q=()=>(we(),we=Gt(K,q=>i(144,ce=q)),K),X,Te=Z,se=()=>(Te(),Te=Gt(V,q=>i(145,X=q)),V),Se,Ee=Z,Ie=()=>(Ee(),Ee=Gt(ne,q=>i(146,Se=q)),ne),ue,_e=Z,$=()=>(_e(),_e=Gt(I,q=>i(147,ue=q)),I),Y,ze=Z,it=()=>(ze(),ze=Gt(y,q=>i(148,Y=q)),y),Je,Ce=Z,Ye=()=>(Ce(),Ce=Gt(k,q=>i(149,Je=q)),k),xe,ct=Z,gt=()=>(ct(),ct=Gt(P,q=>i(150,xe=q)),P),Ue,Me=Z,mt=()=>(Me(),Me=Gt(v,q=>i(151,Ue=q)),v),qt,Tt=Z,ki=()=>(Tt(),Tt=Gt(w,q=>i(152,qt=q)),w),fe,pt=Z,rt=()=>(pt(),pt=Gt(b,q=>i(153,fe=q)),b),bt,at=Z,Ct=()=>(at(),at=Gt(_,q=>i(154,bt=q)),_),Pt,li=Z,Ri=()=>(li(),li=Gt(h,q=>i(155,Pt=q)),h),si,Ni=Z,Ki=()=>(Ni(),Ni=Gt(p,q=>i(156,si=q)),p),yi,zi=Z,Di=()=>(zi(),zi=Gt(f,q=>i(157,yi=q)),f),Et,Xt=Z,ri=()=>(Xt(),Xt=Gt(c,q=>i(158,Et=q)),c),Zt,ai,Jt,Ci,ui,_t,ci,Pi,Si,Wt,fi,xt,$t,Bt,At,Rt,vt,Lt,Oi,di,Ti,Nt,mi;t.$$.on_destroy.push(()=>oe()),t.$$.on_destroy.push(()=>Ze()),t.$$.on_destroy.push(()=>we()),t.$$.on_destroy.push(()=>Te()),t.$$.on_destroy.push(()=>Ee()),t.$$.on_destroy.push(()=>_e()),t.$$.on_destroy.push(()=>ze()),t.$$.on_destroy.push(()=>Ce()),t.$$.on_destroy.push(()=>ct()),t.$$.on_destroy.push(()=>Me()),t.$$.on_destroy.push(()=>Tt()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>at()),t.$$.on_destroy.push(()=>li()),t.$$.on_destroy.push(()=>Ni()),t.$$.on_destroy.push(()=>zi()),t.$$.on_destroy.push(()=>Xt());let{bottomHidden:ei}=e,{bottomNoSmooth:Hi}=e,{showControls:ht}=e,{controlsElementRef:ti=void 0}=e,{isAds:wt=!1}=e,{canRewindLive:ji}=e,{logoClickable:Kt}=e,{logoHidden:Fi}=e,{videoLogoUrl:Qi}=e,{showNextPrevButtons:Ei}=e,{nextButtonActive:pi}=e,{prevButtonActive:zt}=e,{isOneVideoPlaylist:Ui=!1}=e,{supportLink:Gi}=e,{customFullscreenSupported:hi=!0}=e,{playNextVideo:gi}=e,{playPrevVideo:qi}=e,{repeatPlaylist:Le}=e,{toggleFullscreen:bi}=e,{returnFocus:Yi}=e,{seekToInteractive:Ai}=e,{toggleGraph:_i}=e,{playPrevChapter:Li}=e;const De=dt(),Ii=Bl(),vi=rn(),ii=De.actions.internal.toggleMuted,Dt=De.actions.internal.togglePlay,Vi=De.actions.internal.pause,an=De.actions.internal.toggleSubtitle,Xi=De.callbacks?.onAudioDoesNotExistHint,Zi=De.callbacks?.onAudioDisabledHint,$i=De.state.duration$;D(t,$i,q=>i(83,Nt=q));const en=De.state.positionWithScrubbing$;D(t,en,q=>i(81,di=q));const tn=De.state.playbackState$;D(t,tn,q=>i(159,Jt=q));const Wi=De.state.chromecastConnected$;D(t,Wi,q=>i(84,mi=q));const Mi=De.state.isAudioAvailable$;D(t,Mi,q=>i(78,A=q));const Bi=De.state.isAudioDisabled,te=De.state.isEnded$;D(t,te,q=>i(167,Bt=q));const et=De.state.isLive$;D(t,et,q=>i(33,Pi=q));const ni=De.state.isActiveLive$;D(t,ni,q=>i(161,_t=q));const Ji=De.state.isRewindableLive$;D(t,Ji,q=>i(32,ci=q));const kt=De.ui.isPictureInPictureActive$;D(t,kt,q=>i(163,Wt=q));const un=De.ui.pictureInPictureType$;D(t,un,q=>i(162,Si=q));const wn=De.ui.settingsMenuVisible;D(t,wn,q=>i(27,G=q));const on=De.ui.settingsMenuOpenedByKeyboard;D(t,on,q=>i(139,N=q));const cn=De.ui.controls,ln=De.actions.internal.getVideoEpisodes(),J=De.state.chromecastState$;D(t,J,q=>i(29,Zt=q));const ut=De.state.availableSubtitlesList$;D(t,ut,q=>i(166,$t=q));const kn=De.state.currentSubtitle$;D(t,kn,q=>i(168,At=q));const x=cn.disabledControls$;D(t,x,q=>i(170,vt=q));const yn=De.ui.contextMenuVisible;D(t,yn,q=>i(160,Ci=q));const Qn=De.ui.contextMenu.showContextMenuBtn$;D(t,Qn,q=>i(164,fi=q));const Xn=De.ui.contextMenu.openedByKeyboard$;D(t,Xn,q=>i(165,xt=q));const qn=De.ui.startedByKeyboard$;D(t,qn,q=>i(138,ie=q));const Jn=De.ads.duration;D(t,Jn,q=>i(82,Ti=q));const xn=De.ads.position;D(t,xn,q=>i(80,Oi=q));const $n=De.ads.playbackState;D(t,$n,q=>i(169,Rt=q));const eo=De.ui.isFullscreen;D(t,eo,q=>i(30,ai=q));const Zn=De.ui.playerSize;D(t,Zn,q=>i(140,re=q));const to=De.ui.currentGridType$;D(t,to,q=>i(141,C=q));const Wn=De.ui.additionalButtons$;D(t,Wn,q=>i(28,le=q));const En=De.actions.internal.getVideoElement,Kn=De.actions.internal.replayInteractive,nn=De.state.isInteractive,io=De.state.isInteractiveGraphEnabled,ko=De.state.isSeekToInteractiveEnable,yo=De.state.isPlayPrevChapterEnabled,no=De.state.graphIsOpened$;D(t,no,q=>i(31,ui=q));const Co=De.state.playPrevChapterDisabledTooltip,An=Ii.seekToInteractiveDisabledTooltip$;D(t,An,q=>i(79,Lt=q));const oo=()=>De.actions.internal.toggleChromecast();let lo,F,Ot,Ln,Cn,so,st,L,ae,ye,Re,je,Ht,jt,It,fn,On,Po,So,Gl,Yl,al="";const Ou=(q,cl)=>{if(!q){i(50,al=j("tooltip_live"));return}cl===Ft.PAUSED&&i(50,al=j("tooltip_play"))};let Ql,Xl,Jl,xl,Oo;const We={};let pn,To,ul,$l;const Hu=ol(Cu,_1,{leading:!1});let Ho,Fo,Uo;function Fu(){Bi?Zi?.():A?ii():Xi?.()}const Uu=nn?Kn:Ui?Dt:Le;function qu(q){t.$$.not_equal(We.prevButton,q)&&(We.prevButton=q,i(23,We))}function Zu(q){t.$$.not_equal(We.replayButton,q)&&(We.replayButton=q,i(23,We))}function Wu(q){Uo=q,i(26,Uo)}function Ku(q){t.$$.not_equal(We.playButton,q)&&(We.playButton=q,i(23,We))}function ju(q){t.$$.not_equal(We.nextButton,q)&&(We.nextButton=q,i(23,We))}function Gu(q){t.$$.not_equal(We.playPrevChapterButton,q)&&(We.playPrevChapterButton=q,i(23,We))}function Yu(q){t.$$.not_equal(We.seekToInteractiveButton,q)&&(We.seekToInteractiveButton=q,i(23,We))}function Qu(q){t.$$.not_equal(We.interactiveGraphButton,q)&&(We.interactiveGraphButton=q,i(23,We))}function Xu(q){t.$$.not_equal(We.liveButton,q)&&(We.liveButton=q,i(23,We))}function Ju(q){t.$$.not_equal(We.time,q)&&(We.time=q,i(23,We))}function xu(q){t.$$.not_equal(We.episodes,q)&&(We.episodes=q,i(23,We))}function $u(){Oo=this.clientWidth,i(22,Oo)}function ec(q){t.$$.not_equal(We.vkLogo,q)&&(We.vkLogo=q,i(23,We))}function tc(q){t.$$.not_equal(We.volume,q)&&(We.volume=q,i(23,We))}function ic(q){t.$$.not_equal(We.subtitles,q)&&(We.subtitles=q,i(23,We))}function nc(q){Ho=q,i(24,Ho)}function oc(q){Fo=q,i(25,Fo)}function lc(q){t.$$.not_equal(We.settings,q)&&(We.settings=q,i(23,We))}function sc(q){t.$$.not_equal(We.context,q)&&(We.context=q,i(23,We))}function rc(q){t.$$.not_equal(We.fullscreen,q)&&(We.fullscreen=q,i(23,We))}function ac(q){t.$$.not_equal(We.chromecast,q)&&(We.chromecast=q,i(23,We))}function uc(q){ve[q?"unshift":"push"](()=>{On=q,i(46,On)})}function cc(q){ve[q?"unshift":"push"](()=>{ti=q,i(0,ti)})}return t.$$set=q=>{"bottomHidden"in q&&i(1,ei=q.bottomHidden),"bottomNoSmooth"in q&&i(2,Hi=q.bottomNoSmooth),"showControls"in q&&i(3,ht=q.showControls),"controlsElementRef"in q&&i(0,ti=q.controlsElementRef),"isAds"in q&&i(4,wt=q.isAds),"canRewindLive"in q&&i(5,ji=q.canRewindLive),"logoClickable"in q&&i(6,Kt=q.logoClickable),"logoHidden"in q&&i(128,Fi=q.logoHidden),"videoLogoUrl"in q&&i(7,Qi=q.videoLogoUrl),"showNextPrevButtons"in q&&i(129,Ei=q.showNextPrevButtons),"nextButtonActive"in q&&i(8,pi=q.nextButtonActive),"prevButtonActive"in q&&i(9,zt=q.prevButtonActive),"isOneVideoPlaylist"in q&&i(130,Ui=q.isOneVideoPlaylist),"supportLink"in q&&i(10,Gi=q.supportLink),"customFullscreenSupported"in q&&i(131,hi=q.customFullscreenSupported),"playNextVideo"in q&&i(11,gi=q.playNextVideo),"playPrevVideo"in q&&i(12,qi=q.playPrevVideo),"repeatPlaylist"in q&&i(132,Le=q.repeatPlaylist),"toggleFullscreen"in q&&i(13,bi=q.toggleFullscreen),"returnFocus"in q&&i(14,Yi=q.returnFocus),"seekToInteractive"in q&&i(15,Ai=q.seekToInteractive),"toggleGraph"in q&&i(16,_i=q.toggleGraph),"playPrevChapter"in q&&i(17,Li=q.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&32768&&i(137,n=vt.has(nt.EPISODE_BUTTON)),t.$$.dirty[5]&32768&&i(77,o=vt.has(nt.GRAPH_BUTTON)),t.$$.dirty[5]&32768&&i(76,s=vt.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&32768&&i(75,l=vt.has(nt.PLAY_BUTTON)),t.$$.dirty[5]&32768&&i(74,r=vt.has(nt.REPLAY_BUTTON)),t.$$.dirty[5]&32768&&i(73,a=vt.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&16400&&i(34,lo=wt?Rt===Yt.PLAYING:Jt===Ft.PLAYING),t.$$.dirty[5]&8192&&i(18,F=At.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(35,Ot=Bt&&!wt||nn),t.$$.dirty[0]&16|t.$$.dirty[5]&4096&&i(36,Ln=!Bt||nn||wt),t.$$.dirty[4]&131072&&i(133,Cn=hn(C,yt.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&131104&&i(37,so=Ei&&hn(C,yt.M)&&!wt&&pi),t.$$.dirty[0]&528|t.$$.dirty[4]&131104&&i(38,st=Ei&&hn(C,yt.M)&&!wt&&zt),t.$$.dirty[0]&536870912|t.$$.dirty[4]&131072|t.$$.dirty[5]&384&&i(39,L=Zt!==Sn.NOT_AVAILABLE&&!(Wt&&Si===Mn.DocumentPictureInPicture)&&hn(C,yt.M)&&!nn),t.$$.dirty[4]&131072|t.$$.dirty[5]&2048&&i(40,ae=$t.length>0&&hn(C,yt.M)),t.$$.dirty[5]&1536&&i(41,ye=xt||fi),t.$$.dirty[4]&131072&&i(42,Re=hn(C,yt.S)),t.$$.dirty[4]&16&&i(43,je=!Fi),t.$$.dirty[4]&131216|t.$$.dirty[5]&384&&i(44,Ht=vi.features.fullscreen&&(Fi||hn(C,yt.S))&&!(Wt&&Si===Mn.DocumentPictureInPicture)&&(nn?hi:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,jt=(!Pi||wt)&&!(vi.features.interactiveHideTime&&nn)),t.$$.dirty[4]&65536&&i(45,It=re.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&8704&&i(20,fn=!wt&&!Pi&&!!ln?.length&&Cn&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&64&&i(21,Po=!ci||_t),t.$$.dirty[5]&16&&i(47,So=Jt===Ft.PLAYING?j("tooltip_pause"):j("tooltip_play")),t.$$.dirty[1]&1&&i(48,Gl=j(ui?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&32&&i(49,Yl=j(Ci?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&16&&Ou(Po,Jt),t.$$.dirty[0]&262144&&i(52,Xl=j(F?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(53,Jl=j(ai?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(54,xl=Zt===Sn.CONNECTED?j("tooltip_chromecast_on"):j("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2147221504|t.$$.dirty[5]&15&&i(134,pn={prevButton:Et?Et.right-Et.left:0,replayButton:yi?yi.right-yi.left:0,playButton:si?si.right-si.left:0,nextButton:Pt?Pt.right-Pt.left:0,playPrevChapterButton:bt?bt.right-bt.left:0,seekToInteractiveButton:fe?fe.right-fe.left:0,interactiveGraphButton:qt?qt.right-qt.left:0,liveButton:Ue?Ue.right-Ue.left:0,time:xe?xe.right-xe.left:0,episodes:Je?Je.right-Je.left:0,vkLogo:Y?Y.right-Y.left:0,volume:ue?ue.right-ue.left:0,subtitles:Se?Se.right-Se.left:0,settings:X?X.right-X.left:0,context:ce?ce.right-ce.left:0,fullscreen:qe?qe.right-qe.left:0,chromecast:W?W.right-W.left:0,additionalButtons:le.length?le.reduce(q=>[...q,40],[]):[]}),t.$$.dirty[4]&3072&&(!To||To<pn.time)&&i(135,To=pn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&134144){let q=0;fn&&(hn(C,yt.XL)?q=pn.time:q=$c);const cl=pn.prevButton+pn.playButton+pn.nextButton+pn.seekToInteractiveButton+pn.interactiveGraphButton+pn.liveButton+To+q;i(136,ul=jt&&Oo>=cl)}t.$$.dirty[4]&135168&&i(55,$l=ul&&hn(C,yt.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&65536&&Hu(En(),cn,We,ht),t.$$.dirty[0]&167772160&&Ol(Fo,G,on),t.$$.dirty[0]&150994944|t.$$.dirty[4]&32768&&Hl(Ho,G,N),t.$$.dirty[0]&67108864|t.$$.dirty[4]&16384&&Pu(qn,ie,Uo)},i(51,Ql=vi.logoType===_o.VK_VIDEO?j("tooltip_vk_video_logo"):j("tooltip_vk_logo")),ri(i(72,{prevButton:c,replayButton:f,playButton:p,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:b,interactiveGraphButton:w,liveButton:v,time:P,episodes:k,vkLogo:y,volume:I,subtitles:ne,settings:V,context:K,fullscreen:M,chromecast:ee}=cn,c,Di(i(71,f)),Ki(i(70,p)),Ri(i(69,h)),Ct(i(68,_)),rt(i(67,b)),ki(i(66,w)),mt(i(65,v)),gt(i(64,P)),Ye(i(63,k)),it(i(62,y)),$(i(61,I)),Ie(i(60,ne)),se(i(59,V)),Q(i(58,K)),Ve(i(57,M)),ke(i(56,ee)))),[ti,ei,Hi,ht,wt,ji,Kt,Qi,pi,zt,Gi,gi,qi,bi,Yi,Ai,_i,Li,F,jt,fn,Po,Oo,We,Ho,Fo,Uo,G,le,Zt,ai,ui,ci,Pi,lo,Ot,Ln,so,st,L,ae,ye,Re,je,Ht,It,On,So,Gl,Yl,al,Ql,Xl,Jl,xl,$l,ee,M,K,V,ne,I,y,k,P,v,w,b,_,h,p,f,c,a,r,l,s,o,A,Lt,Oi,di,Ti,Nt,mi,vi,Dt,Vi,an,$i,en,tn,Wi,Mi,te,et,ni,Ji,kt,un,wn,on,ln,J,ut,kn,x,yn,Qn,Xn,qn,Jn,xn,$n,eo,Zn,to,Wn,nn,io,ko,yo,no,Co,An,oo,Fu,Uu,Fi,Ei,Ui,hi,Le,Cn,pn,To,ul,n,ie,N,re,C,W,qe,ce,X,Se,ue,Y,Je,xe,Ue,qt,fe,bt,Pt,si,yi,Et,Jt,Ci,_t,Si,Wt,fi,xt,$t,Bt,At,Rt,vt,qu,Zu,Wu,Ku,ju,Gu,Yu,Qu,Xu,Ju,xu,$u,ec,tc,ic,nc,oc,lc,sc,rc,ac,uc,cc]}class T3 extends be{constructor(e){super(),ge(this,e,S3,P3,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:128,videoLogoUrl:7,showNextPrevButtons:129,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:130,supportLink:10,customFullscreenSupported:131,playNextVideo:11,playPrevVideo:12,repeatPlaylist:132,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},t3,[-1,-1,-1,-1,-1,-1,-1])}}function E3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class A3 extends be{constructor(e){super(),ge(this,e,null,E3,he,{})}}function L3(t){Oe(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 Nr(t){let e;return{c(){e=E("span"),e.textContent=`${j("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){T(i,e,n)},p:Z,d(i){i&&S(e)}}}function I3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=Tn(s,l()));let r=t[1]&&Nr();return{c(){e=E("div"),i&&U(i.$$.fragment),n=z(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",t[1])},m(a,c){T(a,e,c),i&&O(i,e,null),m(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){de();const f=i;g(f.$$.fragment,1,0,()=>{H(f,1)}),me()}s?(i=Tn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=Nr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&B(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&g(i.$$.fragment,a),o=!1},d(a){a&&S(e),i&&H(i),r&&r.d()}}}function V3(t){let e,i,n;function o(l){t[6](l)}let s={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[I3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function M3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=Ge}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=j(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?sl:A3)},[l,o,s,r,a,n,c]}class Su extends be{constructor(e){super(),ge(this,e,M3,V3,he,{muted:5,expanded:1,click:2,ref:0},L3)}}function B3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),B(n,"hidden",!t[0]),u(o,"fill",t[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),B(o,"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(s,l){T(s,e,l),m(e,i),m(e,n),m(e,o)},p(s,[l]){l&2&&u(i,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&B(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&B(o,"hidden",s[0])},i:Z,o:Z,d(s){s&&S(e)}}}function R3(t,e,i){let n,{isActive:o=!1}=e;return t.$$set=s=>{"isActive"in s&&i(0,o=s.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=o?"#2688EB":"#fff")},[o,n]}class N3 extends be{constructor(e){super(),ge(this,e,R3,B3,he,{isActive:0})}}function z3(t){let e,i;return e=new N3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function D3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:j("menu_pip"),click:t[2],$$slots:{default:[z3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new wi({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=Ge}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class H3 extends be{constructor(e){super(),ge(this,e,O3,D3,he,{ref:0,isPictureInPictureActive:1,click:2})}}function F3(t){Oe(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 zr(t,e,i){const n=t.slice();return n[155]=e[i].iconUrl,n[156]=e[i].ariaLabel,n[157]=e[i].testId,n[158]=e[i].onClick,n[159]=e[i].tooltip,n}function Dr(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k=(!t[51]||t[53])&&Or(t),y=Ut(t[56]),I=[];for(let C=0;C<y.length;C+=1)I[C]=Hr(zr(t,y,C));const ne=C=>g(I[C],1,1,()=>{I[C]=null});let V=t[36]&&Fr(t),K=t[37]&&Ur(t),M=t[57]&&qr(t),ee=t[39]&&Zr(t),A=t[8]&&Wr(t),ie=t[34]&&Kr(t),N=t[33]&&jr(t),G=t[8]&&Gr(t),re=t[95]&&!t[29]&&Yr(t);return{c(){e=E("div"),i=z(),n=E("div"),k&&k.c(),o=z(),s=E("div");for(let C=0;C<I.length;C+=1)I[C].c();l=z(),V&&V.c(),r=z(),K&&K.c(),a=z(),M&&M.c(),c=z(),ee&&ee.c(),f=z(),p=E("div"),A&&A.c(),h=z(),ie&&ie.c(),_=z(),N&&N.c(),b=z(),G&&G.c(),w=z(),re&&re.c(),v=lt(),u(e,"class","overlay-mobile v-1tcstu3"),B(e,"hidden",!t[42]),u(n,"class","wrapper-top-left v-1tcstu3"),B(n,"hidden",!t[3]),B(n,"fullscreen",t[52]),u(s,"class","wrapper-top-right v-1tcstu3"),B(s,"hidden",!t[3]&&!t[27]),B(s,"fullscreen",t[52]),u(p,"class","wrapper-middle v-1tcstu3"),B(p,"hidden",!t[3]||t[29])},m(C,le){T(C,e,le),T(C,i,le),T(C,n,le),k&&k.m(n,null),T(C,o,le),T(C,s,le);for(let W=0;W<I.length;W+=1)I[W]&&I[W].m(s,null);m(s,l),V&&V.m(s,null),m(s,r),K&&K.m(s,null),m(s,a),M&&M.m(s,null),m(s,c),ee&&ee.m(s,null),T(C,f,le),T(C,p,le),A&&A.m(p,null),m(p,h),ie&&ie.m(p,null),m(p,_),N&&N.m(p,null),m(p,b),G&&G.m(p,null),T(C,w,le),re&&re.m(C,le),T(C,v,le),P=!0},p(C,le){if((!P||le[1]&2048)&&B(e,"hidden",!C[42]),!C[51]||C[53]?k?(k.p(C,le),le[1]&5242880&&d(k,1)):(k=Or(C),k.c(),d(k,1),k.m(n,null)):k&&(de(),g(k,1,1,()=>{k=null}),me()),(!P||le[0]&8)&&B(n,"hidden",!C[3]),(!P||le[1]&2097152)&&B(n,"fullscreen",C[52]),le[1]&33554432){y=Ut(C[56]);let W;for(W=0;W<y.length;W+=1){const oe=zr(C,y,W);I[W]?(I[W].p(oe,le),d(I[W],1)):(I[W]=Hr(oe),I[W].c(),d(I[W],1),I[W].m(s,l))}for(de(),W=y.length;W<I.length;W+=1)ne(W);me()}C[36]?V?(V.p(C,le),le[1]&32&&d(V,1)):(V=Fr(C),V.c(),d(V,1),V.m(s,r)):V&&(de(),g(V,1,1,()=>{V=null}),me()),C[37]?K?(K.p(C,le),le[1]&64&&d(K,1)):(K=Ur(C),K.c(),d(K,1),K.m(s,a)):K&&(de(),g(K,1,1,()=>{K=null}),me()),C[57]?M?(M.p(C,le),le[1]&67108864&&d(M,1)):(M=qr(C),M.c(),d(M,1),M.m(s,c)):M&&(de(),g(M,1,1,()=>{M=null}),me()),C[39]?ee?(ee.p(C,le),le[1]&256&&d(ee,1)):(ee=Zr(C),ee.c(),d(ee,1),ee.m(s,null)):ee&&(de(),g(ee,1,1,()=>{ee=null}),me()),(!P||le[0]&134217736)&&B(s,"hidden",!C[3]&&!C[27]),(!P||le[1]&2097152)&&B(s,"fullscreen",C[52]),C[8]?A?(A.p(C,le),le[0]&256&&d(A,1)):(A=Wr(C),A.c(),d(A,1),A.m(p,h)):A&&(de(),g(A,1,1,()=>{A=null}),me()),C[34]?ie?(ie.p(C,le),le[1]&8&&d(ie,1)):(ie=Kr(C),ie.c(),d(ie,1),ie.m(p,_)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),C[33]?N?(N.p(C,le),le[1]&4&&d(N,1)):(N=jr(C),N.c(),d(N,1),N.m(p,b)):N&&(de(),g(N,1,1,()=>{N=null}),me()),C[8]?G?(G.p(C,le),le[0]&256&&d(G,1)):(G=Gr(C),G.c(),d(G,1),G.m(p,null)):G&&(de(),g(G,1,1,()=>{G=null}),me()),(!P||le[0]&536870920)&&B(p,"hidden",!C[3]||C[29]),C[95]&&!C[29]?re?(re.p(C,le),le[0]&536870912&&d(re,1)):(re=Yr(C),re.c(),d(re,1),re.m(v.parentNode,v)):re&&(de(),g(re,1,1,()=>{re=null}),me())},i(C){if(!P){d(k);for(let le=0;le<y.length;le+=1)d(I[le]);d(V),d(K),d(M),d(ee),d(A),d(ie),d(N),d(G),d(re),P=!0}},o(C){g(k),I=I.filter(Boolean);for(let le=0;le<I.length;le+=1)g(I[le]);g(V),g(K),g(M),g(ee),g(A),g(ie),g(N),g(G),g(re),P=!1},d(C){C&&(S(e),S(i),S(n),S(o),S(s),S(f),S(p),S(w),S(v)),k&&k.d(),vn(I,C),V&&V.d(),K&&K.d(),M&&M.d(),ee&&ee.d(),A&&A.d(),ie&&ie.d(),N&&N.d(),G&&G.d(),re&&re.d(C)}}}function Or(t){let e,i,n;function o(l){t[121](l)}let s={muted:t[54],expanded:t[51]&&!t[70]&&t[55],click:t[103]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new Su({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.muted=l[54]),r[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hr(t){let e,i;return e=new ku({props:{iconUrl:t[155],ariaLabel:t[156]??t[159],testId:t[157],onClick:t[158]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&33554432&&(s.iconUrl=n[155]),o[1]&33554432&&(s.ariaLabel=n[156]??n[159]),o[1]&33554432&&(s.testId=n[157]),o[1]&33554432&&(s.onClick=n[158]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fr(t){let e,i,n;function o(l){t[122](l)}let s={isMobile:!0,click:t[101],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new fu({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ur(t){let e,i,n;function o(l){t[123](l)}let s={click:t[102],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new H3({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function qr(t){let e,i,n;function o(l){t[124](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Zr(t){let e,i,n;function o(l){t[125](l)}let s={click:t[64],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(s.ref=t[20].vkLogo),e=new cu({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Wr(t){let e,i,n;function o(l){t[126](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new rl({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Kr(t){let e,i,n;function o(l){t[127](l)}let s={disabled:t[48],click:t[63],isMobile:!0,isPlaying:t[31]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new Wl({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&1&&(a.isPlaying=l[31]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jr(t){let e,i,n;function o(l){t[128](l)}let s={disabled:t[47],click:t[104],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Kl({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Gr(t){let e,i,n;function o(l){t[129](l)}let s={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(s.ref=t[20].nextButton),e=new rl({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Yr(t){let e,i,n,o,s=t[98]&&U3(t),l=t[96]&&q3(t),r=t[97]&&Z3(t);return{c(){s&&s.c(),e=z(),l&&l.c(),i=z(),r&&r.c(),n=lt()},m(a,c){s&&s.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){a[98]&&s.p(a,c),a[96]&&l.p(a,c),a[97]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function U3(t){let e,i,n;return i=new wu({props:{hidden:!t[3],disabled:t[46],click:t[18]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&32768&&(l.disabled=o[46]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&2097152)&&B(e,"fullscreen",o[52]),(!n||s[0]&8)&&B(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function q3(t){let e,i,n,o;function s(r){t[130](r)}let l={hidden:!t[3]&&!t[58],disabled:t[50],click:t[17],graphIsOpened:t[58]};return t[20].interactiveGraphButton!==void 0&&(l.ref=t[20].interactiveGraphButton),i=new _u({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class",Bc(t[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3]&&!t[58])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!r[3]&&!r[58]),a[1]&524288&&(c.disabled=r[50]),a[0]&131072&&(c.click=r[17]),a[1]&134217728&&(c.graphIsOpened=r[58]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,He(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8|a[1]&134217728)&&B(e,"hidden",!r[3]&&!r[58])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function Z3(t){let e,i,n,o;function s(r){t[131](r)}let l={hidden:!t[3],disabled:t[49],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(l.ref=t[20].seekToInteractiveButton),i=new bu({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",t[52]),B(e,"hidden",!t[3])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&262144&&(c.disabled=r[49]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,He(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52]),(!o||a[0]&8)&&B(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function Qr(t){let e,i,n,o,s,l=t[53]&&Xr(t),r=t[32]&&Jr(t);return o=new pu({props:{position:t[59],duration:t[60]}}),{c(){l&&l.c(),e=z(),r&&r.c(),i=z(),n=E("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",t[52])},m(a,c){l&&l.m(a,c),T(a,e,c),r&&r.m(a,c),T(a,i,c),T(a,n,c),O(o,n,null),s=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=Xr(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(de(),g(l,1,1,()=>{l=null}),me()),a[32]?r?(r.p(a,c),c[1]&2&&d(r,1)):(r=Jr(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(de(),g(r,1,1,()=>{r=null}),me());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!s||c[1]&2097152)&&B(n,"fullscreen",a[52])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){g(l),g(r),g(o.$$.fragment,a),s=!1},d(a){a&&(S(e),S(i),S(n)),l&&l.d(a),r&&r.d(a),H(o)}}}function Xr(t){let e,i,n,o;function s(r){t[132](r)}let l={muted:t[54],expanded:!1,click:t[103]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new Su({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",t[52])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[1]&8388608&&(c.muted=r[54]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,He(()=>n=!1)),i.$set(c),(!o||a[1]&2097152)&&B(e,"fullscreen",r[52])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function Jr(t){let e,i,n,o;function s(r){t[133](r)}let l={disabled:t[48],click:t[63],isMobile:!0,isPlaying:!t[32]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new Wl({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[1]&131072&&(c.disabled=r[48]),a[1]&2&&(c.isPlaying=!r[32]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,He(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function W3(t){let e,i,n;function o(l){t[134](l)}let s={disabled:t[47],$$slots:{default:[K3]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&65536&&(a.disabled=l[47]),r[1]&65536|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function K3(t){let e,i;return e=new Kl({props:{disabled:t[47],click:t[94]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&65536&&(s.disabled=n[47]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xr(t){let e,i,n;function o(l){t[135](l)}let s={$$slots:{default:[j3]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&16384|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j3(t){let e,i;return e=new du({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[45]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&16384&&(s.ariaLabel=n[45]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $r(t){let e,i,n;function o(l){t[136](l)}let s={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&&(s.ref=t[20].time),e=new lu({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.showDuration=l[35]),r[0]&16|r[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),r[0]&16|r[1]&536870912|r[2]&1&&(a.duration=l[4]?l[60]:l[62]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ea(t){let e,i,n,o;return n=new gu({props:{position:t[61],duration:t[62],timeCodes:t[84]}}),{c(){e=E("div"),e.textContent="\xB7",i=z(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){T(s,e,l),T(s,i,l),O(n,s,l),o=!0},p(s,l){const r={};l[1]&1073741824&&(r.position=s[61]),l[2]&1&&(r.duration=s[62]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(S(e),S(i)),H(n,s)}}}function G3(t){let e,i,n=t[43]&&ea(t);return{c(){n&&n.c(),e=lt()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[43]?n?(n.p(o,s),s[1]&4096&&d(n,1)):(n=ea(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(de(),g(n,1,1,()=>{n=null}),me())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function ta(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[Y3]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Y3(t){let e,i,n;function o(l){t[138](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Ul({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ia(t){let e,i,n;function o(l){t[140](l)}let s={$$slots:{default:[Q3]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Mt({props:s}),ve.push(()=>Fe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&2097152|r[5]&128&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Q3(t){let e,i;return e=new au({props:{click:t[14],isFullscreen:t[52]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&2097152&&(s.isFullscreen=n[52]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function na(t){let e,i,n,o;function s(r){t[143](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new ou({props:l}),ve.push(()=>Fe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],He(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function X3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k=!t[4]&&Dr(t),y=t[4]&&t[30]!==Yt.INACTIVE&&Qr(t),I=t[95]&&W3(t),ne=!t[4]&&t[25]&&xr(t),V=t[41]&&$r(t);function K(N){t[137](N)}let M={className:"w-max",disabled:!t[43],$$slots:{default:[G3]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(M.ref=t[20].episodes),c=new Mt({props:M}),ve.push(()=>Fe(c,"ref",K));let ee=t[38]&&ta(t),A=t[40]&&ia(t);b=new hu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let ie=t[23]&&na(t);return{c(){k&&k.c(),e=z(),y&&y.c(),i=z(),n=E("div"),o=E("div"),s=E("div"),I&&I.c(),l=z(),ne&&ne.c(),r=z(),V&&V.c(),a=z(),U(c.$$.fragment),p=z(),ee&&ee.c(),h=z(),A&&A.c(),_=z(),U(b.$$.fragment),w=z(),ie&&ie.c(),v=lt(),u(s,"class","controls v-1tcstu3"),B(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),B(o,"fullscreen",t[52]),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(N,G){k&&k.m(N,G),T(N,e,G),y&&y.m(N,G),T(N,i,G),T(N,n,G),m(n,o),m(o,s),I&&I.m(s,null),m(s,l),ne&&ne.m(s,null),m(s,r),V&&V.m(s,null),m(s,a),O(c,s,null),m(s,p),ee&&ee.m(s,null),m(s,h),A&&A.m(s,null),t[141](s),m(o,_),O(b,o,null),t[142](n),T(N,w,G),ie&&ie.m(N,G),T(N,v,G),P=!0},p(N,G){N[4]?k&&(de(),g(k,1,1,()=>{k=null}),me()):k?(k.p(N,G),G[0]&16&&d(k,1)):(k=Dr(N),k.c(),d(k,1),k.m(e.parentNode,e)),N[4]&&N[30]!==Yt.INACTIVE?y?(y.p(N,G),G[0]&1073741840&&d(y,1)):(y=Qr(N),y.c(),d(y,1),y.m(i.parentNode,i)):y&&(de(),g(y,1,1,()=>{y=null}),me()),N[95]&&I.p(N,G),!N[4]&&N[25]?ne?(ne.p(N,G),G[0]&33554448&&d(ne,1)):(ne=xr(N),ne.c(),d(ne,1),ne.m(s,r)):ne&&(de(),g(ne,1,1,()=>{ne=null}),me()),N[41]?V?(V.p(N,G),G[1]&1024&&d(V,1)):(V=$r(N),V.c(),d(V,1),V.m(s,a)):V&&(de(),g(V,1,1,()=>{V=null}),me());const re={};G[1]&4096&&(re.disabled=!N[43]),G[1]&1073745920|G[2]&1|G[5]&128&&(re.$$scope={dirty:G,ctx:N}),!f&&G[0]&1048576&&(f=!0,re.ref=N[20].episodes,He(()=>f=!1)),c.$set(re),N[38]?ee?(ee.p(N,G),G[1]&128&&d(ee,1)):(ee=ta(N),ee.c(),d(ee,1),ee.m(s,h)):ee&&(de(),g(ee,1,1,()=>{ee=null}),me()),N[40]?A?(A.p(N,G),G[1]&512&&d(A,1)):(A=ia(N),A.c(),d(A,1),A.m(s,null)):A&&(de(),g(A,1,1,()=>{A=null}),me());const C={};G[0]&16&&(C.isAds=N[4]),G[0]&32&&(C.canRewindLive=N[5]),G[0]&16777216&&(C.isRewindableLive=N[24]),b.$set(C),(!P||G[1]&2097152)&&B(o,"fullscreen",N[52]),(!P||G[0]&2)&&B(n,"hidden",N[1]),(!P||G[0]&8)&&B(n,"controls-hidden",!N[3]),(!P||G[0]&4)&&B(n,"no-smooth",N[2]),N[23]?ie?(ie.p(N,G),G[0]&8388608&&d(ie,1)):(ie=na(N),ie.c(),d(ie,1),ie.m(v.parentNode,v)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me())},i(N){P||(d(k),d(y),d(I),d(ne),d(V),d(c.$$.fragment,N),d(ee),d(A),d(b.$$.fragment,N),d(ie),P=!0)},o(N){g(k),g(y),g(I),g(ne),g(V),g(c.$$.fragment,N),g(ee),g(A),g(b.$$.fragment,N),g(ie),P=!1},d(N){N&&(S(e),S(i),S(n),S(w),S(v)),k&&k.d(N),y&&y.d(N),I&&I.d(),ne&&ne.d(),V&&V.d(),H(c),ee&&ee.d(),A&&A.d(),t[141](null),H(b),t[142](null),ie&&ie.d(N)}}}function J3(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe,ke,qe,Ze,{bottomHidden:Ve}=e,{bottomNoSmooth:ce}=e,{showControls:we}=e,{controlsElementRef:Q=void 0}=e,{isAds:X=!1}=e,{canRewindLive:Te}=e,{logoClickable:se}=e,{logoHidden:Se}=e,{videoLogoUrl:Ee}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:ue}=e,{prevButtonActive:_e}=e,{isOneVideoPlaylist:$=!1}=e,{supportLink:Y}=e,{customFullscreenSupported:ze=!0}=e,{playNextVideo:it}=e,{playPrevVideo:Je}=e,{repeatPlaylist:Ce}=e,{toggleFullscreen:Ye}=e,{returnFocus:xe}=e,{seekToInteractive:ct}=e,{toggleGraph:gt}=e,{playPrevChapter:Ue}=e;const Me=dt(),mt=rn(),qt=Me.actions.internal.toggleMuted,Tt=Me.actions.internal.togglePlay,ki=Me.actions.internal.pause,fe=Me.callbacks?.onAudioDoesNotExistHint,pt=Me.callbacks?.onAudioDisabledHint,rt=Me.playerPhase;D(t,rt,x=>i(118,V=x));const bt=Me.state.duration$;D(t,bt,x=>i(62,Ze=x));const at=Me.state.positionWithScrubbing$;D(t,at,x=>i(61,qe=x));const Ct=Me.state.playbackState$;D(t,Ct,x=>i(114,h=x));const Pt=Me.state.isAudioAvailable$;D(t,Pt,x=>i(51,_=x));const li=Me.state.isAudioDisabled,Ri=Me.state.isEnded$;D(t,Ri,x=>i(119,M=x));const si=Me.state.isLive$;D(t,si,x=>i(25,P=x));const Ni=Me.state.muted$;D(t,Ni,x=>i(54,G=x));const Ki=Me.state.isActiveLive$;D(t,Ki,x=>i(116,w=x));const yi=Me.state.isRewindableLive$;D(t,yi,x=>i(24,v=x));const zi=Me.ui.scrubbingInProgress;D(t,zi,x=>i(29,K=x));const Di=Me.ui.mobileNotReportControlHidden$;D(t,Di,x=>i(27,I=x));const Et=Me.ui.isPictureInPictureActive$;D(t,Et,x=>i(26,y=x));const Xt=Me.ui.pictureInPictureType$;D(t,Xt,x=>i(117,k=x));const ri=Me.ui.mobileUnmuteButtonExpanded;D(t,ri,x=>i(55,re=x));const Zt=Me.ui.mobileUnmuteButtonVisible;D(t,Zt,x=>i(53,N=x));const ai=Me.ui.settingsMenuVisible;D(t,ai,x=>i(23,p=x));const Jt=Me.ui.settingsMenuOpenedByKeyboard;D(t,Jt,x=>i(113,f=x));const Ci=Me.ui.controls,ui=Me.actions.internal.getVideoEpisodes(),_t=Me.webApi.pictureInPictureApi,ci=Me.state.chromecastState$;D(t,ci,x=>i(28,ne=x));const Pi=Me.state.crashed$;D(t,Pi,x=>i(57,le=x));const Si=Ci.disabledControls$;D(t,Si,x=>i(120,A=x));const Wt=Me.ads.duration;D(t,Wt,x=>i(60,ke=x));const fi=Me.ads.position;D(t,fi,x=>i(59,oe=x));const xt=Me.ads.playbackState;D(t,xt,x=>i(30,ee=x));const $t=Me.ui.isFullscreen;D(t,$t,x=>i(52,ie=x));const Bt=Me.ui.playerSize;D(t,Bt,x=>i(115,b=x));const At=Me.ui.additionalButtons$;D(t,At,x=>i(56,C=x));const Rt=Me.actions.internal.getVideoElement,vt=Me.actions.internal.replayInteractive,Lt=Me.state.isInteractive,Oi=Me.state.isInteractiveGraphEnabled,di=Me.state.isSeekToInteractiveEnable,Ti=Me.state.isPlayPrevChapterEnabled,Nt=Me.state.graphIsOpened$;D(t,Nt,x=>i(58,W=x));const mi=Me.ui.startedByKeyboard$;D(t,mi,x=>i(112,c=x));let ei,Hi,ht,ti,wt,ji,Kt,Fi,Qi,Ei,pi,zt,Ui,Gi,hi,gi,qi;const Le={},bi=ol(Cu,_1,{leading:!1}),Yi=()=>Me.actions.internal.toggleChromecast();function Ai(){li?pt?.():_?qt():fe?.()}async function _i(){_t?.isActive()?await _t?.remove():await _t?.request()}function Li(){!li&&_&&Zt.set(!1),Ai()}const De=$?Tt:Ce;let Ii="";const vi=(x,yn)=>{if(!x){i(45,Ii=j("tooltip_live"));return}yn===Ft.PAUSED&&i(45,Ii=j("tooltip_play"))};let ii,Dt;function Vi(x){t.$$.not_equal(Le.volume,x)&&(Le.volume=x,i(20,Le))}function an(x){t.$$.not_equal(Le.chromecast,x)&&(Le.chromecast=x,i(20,Le))}function Xi(x){t.$$.not_equal(Le.pip,x)&&(Le.pip=x,i(20,Le))}function Zi(x){Dt=x,i(22,Dt)}function $i(x){t.$$.not_equal(Le.vkLogo,x)&&(Le.vkLogo=x,i(20,Le))}function en(x){t.$$.not_equal(Le.prevButton,x)&&(Le.prevButton=x,i(20,Le))}function tn(x){t.$$.not_equal(Le.playButton,x)&&(Le.playButton=x,i(20,Le))}function Wi(x){t.$$.not_equal(Le.replayButton,x)&&(Le.replayButton=x,i(20,Le))}function Mi(x){t.$$.not_equal(Le.nextButton,x)&&(Le.nextButton=x,i(20,Le))}function Bi(x){t.$$.not_equal(Le.interactiveGraphButton,x)&&(Le.interactiveGraphButton=x,i(20,Le))}function te(x){t.$$.not_equal(Le.seekToInteractiveButton,x)&&(Le.seekToInteractiveButton=x,i(20,Le))}function et(x){t.$$.not_equal(Le.volume,x)&&(Le.volume=x,i(20,Le))}function ni(x){t.$$.not_equal(Le.playButton,x)&&(Le.playButton=x,i(20,Le))}function Ji(x){t.$$.not_equal(Le.replayButton,x)&&(Le.replayButton=x,i(20,Le))}function kt(x){t.$$.not_equal(Le.liveButton,x)&&(Le.liveButton=x,i(20,Le))}function un(x){t.$$.not_equal(Le.time,x)&&(Le.time=x,i(20,Le))}function wn(x){t.$$.not_equal(Le.episodes,x)&&(Le.episodes=x,i(20,Le))}function on(x){Dt=x,i(22,Dt)}function cn(x){t.$$.not_equal(Le.settings,x)&&(Le.settings=x,i(20,Le))}function ln(x){t.$$.not_equal(Le.fullscreen,x)&&(Le.fullscreen=x,i(20,Le))}function J(x){ve[x?"unshift":"push"](()=>{gi=x,i(44,gi)})}function ut(x){ve[x?"unshift":"push"](()=>{Q=x,i(0,Q)})}function kn(x){ii=x,i(21,ii)}return t.$$set=x=>{"bottomHidden"in x&&i(1,Ve=x.bottomHidden),"bottomNoSmooth"in x&&i(2,ce=x.bottomNoSmooth),"showControls"in x&&i(3,we=x.showControls),"controlsElementRef"in x&&i(0,Q=x.controlsElementRef),"isAds"in x&&i(4,X=x.isAds),"canRewindLive"in x&&i(5,Te=x.canRewindLive),"logoClickable"in x&&i(6,se=x.logoClickable),"logoHidden"in x&&i(105,Se=x.logoHidden),"videoLogoUrl"in x&&i(7,Ee=x.videoLogoUrl),"showNextPrevButtons"in x&&i(8,Ie=x.showNextPrevButtons),"nextButtonActive"in x&&i(9,ue=x.nextButtonActive),"prevButtonActive"in x&&i(10,_e=x.prevButtonActive),"isOneVideoPlaylist"in x&&i(106,$=x.isOneVideoPlaylist),"supportLink"in x&&i(11,Y=x.supportLink),"customFullscreenSupported"in x&&i(107,ze=x.customFullscreenSupported),"playNextVideo"in x&&i(12,it=x.playNextVideo),"playPrevVideo"in x&&i(13,Je=x.playPrevVideo),"repeatPlaylist"in x&&i(108,Ce=x.repeatPlaylist),"toggleFullscreen"in x&&i(14,Ye=x.toggleFullscreen),"returnFocus"in x&&i(15,xe=x.returnFocus),"seekToInteractive"in x&&i(16,ct=x.seekToInteractive),"toggleGraph"in x&&i(17,gt=x.toggleGraph),"playPrevChapter"in x&&i(18,Ue=x.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[3]&134217728&&i(111,n=A.has(nt.EPISODE_BUTTON)),t.$$.dirty[3]&134217728&&i(50,o=A.has(nt.GRAPH_BUTTON)),t.$$.dirty[3]&134217728&&i(49,s=A.has(nt.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[3]&134217728&&i(48,l=A.has(nt.PLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(47,r=A.has(nt.REPLAY_BUTTON)),t.$$.dirty[3]&134217728&&i(46,a=A.has(nt.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&2097152&&i(31,ei=h===Ft.PLAYING),t.$$.dirty[0]&1073741824&&i(32,Hi=ee===Yt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(33,ht=M&&!X&&!Lt),t.$$.dirty[0]&16|t.$$.dirty[3]&67108864&&i(34,ti=!M||X),t.$$.dirty[3]&4194304&&i(109,wt=b.width>300),t.$$.dirty[3]&4194304&&i(35,ji=b.width>400),t.$$.dirty[0]&536870912&&i(110,Kt=K),t.$$.dirty[0]&469762048|t.$$.dirty[3]&16777216&&i(36,Fi=ne!==Sn.NOT_AVAILABLE&&!(y&&k===Mn.DocumentPictureInPicture)&&!I&&!Lt),t.$$.dirty[0]&402653184|t.$$.dirty[3]&50462720){const x=V===Be.WaitingLive;i(37,Qi=!!_t&&ne!==Sn.CONNECTED&&!I&&(k===Mn.DocumentPictureInPicture&&x||!x)&&!Kt&&!Lt)}t.$$.dirty[3]&131072&&i(38,Ei=!Kt),t.$$.dirty[3]&4198400&&i(39,pi=!Se&&b.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&16924672&&i(40,zt=mt.features.fullscreen&&!(y&&k===Mn.DocumentPictureInPicture)&&(Lt?ze:!0)&&!Kt),t.$$.dirty[0]&33554448|t.$$.dirty[3]&4325376&&i(41,Ui=(!P||X)&&b.width>260&&!Kt&&!(mt.features.interactiveHideTime&&Lt)),t.$$.dirty[0]&8388616&&i(42,Gi=p||we),t.$$.dirty[0]&33554448|t.$$.dirty[3]&458752&&i(43,hi=!X&&!P&&!!ui?.length&&wt&&!n&&!Kt),t.$$.dirty[0]&16777216|t.$$.dirty[3]&8388608&&i(19,qi=!v||w),t.$$.dirty[0]&1048584|t.$$.dirty[3]&4194304&&bi(Rt(),Ci,Le,we),t.$$.dirty[0]&524288|t.$$.dirty[3]&2097152&&vi(qi,h),t.$$.dirty[0]&12582912&&Ol(Dt,p,Jt),t.$$.dirty[0]&10485760|t.$$.dirty[3]&1048576&&Hl(ii,p,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&524288&&Pu(mi,c,Le.playButton)},[Q,Ve,ce,we,X,Te,se,Ee,Ie,ue,_e,Y,it,Je,Ye,xe,ct,gt,Ue,qi,Le,ii,Dt,p,v,P,y,I,ne,K,ee,ei,Hi,ht,ti,ji,Fi,Qi,Ei,pi,zt,Ui,Gi,hi,gi,Ii,a,r,l,s,o,_,ie,N,G,re,C,le,W,oe,ke,qe,Ze,Tt,ki,rt,bt,at,Ct,Pt,li,Ri,si,Ni,Ki,yi,zi,Di,Et,Xt,ri,Zt,ai,Jt,ui,ci,Pi,Si,Wt,fi,xt,$t,Bt,At,vt,Lt,Oi,di,Ti,Nt,mi,Yi,_i,Li,De,Se,$,ze,Ce,wt,Kt,n,c,f,h,b,w,k,V,M,A,Vi,an,Xi,Zi,$i,en,tn,Wi,Mi,Bi,te,et,ni,Ji,kt,un,wn,on,cn,ln,J,ut,kn]}class x3 extends be{constructor(e){super(),ge(this,e,J3,X3,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:105,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:106,supportLink:11,customFullscreenSupported:107,playNextVideo:12,playPrevVideo:13,repeatPlaylist:108,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},F3,[-1,-1,-1,-1,-1,-1])}}function $3(t){let e,i,n;function o(l){t[26](l)}let s={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&&(s.controlsElementRef=t[0]),e=new T3({props:s}),ve.push(()=>Fe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ep(t){let e,i,n;function o(l){t[25](l)}let s={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&&(s.controlsElementRef=t[0]),e=new x3({props:s}),ve.push(()=>Fe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function tp(t){let e,i,n,o;const s=[ep,$3],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=lt()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function ip(t,e,i){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:p}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:b}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:v=!1}=e,{supportLink:P}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:I}=e,{repeatPlaylist:ne}=e,{toggleFullscreen:V}=e,{returnFocus:K=Ge}=e,{seekToInteractive:M}=e,{toggleGraph:ee}=e,{playPrevChapter:A}=e;const N=dt().ui.isMobile;D(t,N,C=>i(23,n=C));function G(C){r=C,i(0,r)}function re(C){r=C,i(0,r)}return t.$$set=C=>{"bottomHidden"in C&&i(1,o=C.bottomHidden),"bottomNoSmooth"in C&&i(2,s=C.bottomNoSmooth),"showControls"in C&&i(3,l=C.showControls),"controlsElementRef"in C&&i(0,r=C.controlsElementRef),"isAds"in C&&i(4,a=C.isAds),"canRewindLive"in C&&i(5,c=C.canRewindLive),"logoClickable"in C&&i(6,f=C.logoClickable),"logoHidden"in C&&i(7,p=C.logoHidden),"videoLogoUrl"in C&&i(8,h=C.videoLogoUrl),"showNextPrevButtons"in C&&i(9,_=C.showNextPrevButtons),"nextButtonActive"in C&&i(10,b=C.nextButtonActive),"prevButtonActive"in C&&i(11,w=C.prevButtonActive),"isOneVideoPlaylist"in C&&i(12,v=C.isOneVideoPlaylist),"supportLink"in C&&i(13,P=C.supportLink),"customFullscreenSupported"in C&&i(14,k=C.customFullscreenSupported),"playNextVideo"in C&&i(15,y=C.playNextVideo),"playPrevVideo"in C&&i(16,I=C.playPrevVideo),"repeatPlaylist"in C&&i(17,ne=C.repeatPlaylist),"toggleFullscreen"in C&&i(18,V=C.toggleFullscreen),"returnFocus"in C&&i(19,K=C.returnFocus),"seekToInteractive"in C&&i(20,M=C.seekToInteractive),"toggleGraph"in C&&i(21,ee=C.toggleGraph),"playPrevChapter"in C&&i(22,A=C.playPrevChapter)},[r,o,s,l,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,n,N,G,re]}class Tu extends be{constructor(e){super(),ge(this,e,ip,tp,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function np(t){Oe(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function op(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function lp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class sp extends be{constructor(e){super(),ge(this,e,lp,op,he,{reversed:0},np)}}function rp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),p=R("feOffset"),h=R("feGaussianBlur"),_=R("feColorMatrix"),b=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"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(v,P){T(v,e,P),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(s,a),m(a,c),m(a,f),m(a,p),m(a,h),m(a,_),m(a,b),m(a,w)},d(v){v&&S(e)}}}function ap(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),w=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"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(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_104293"),u(v,"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(P,k){T(P,e,k),m(e,i),m(i,n),m(i,o),m(i,s),m(e,l),m(l,r),m(r,a),m(l,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,w),m(c,v)},d(P){P&&S(e)}}}function up(t){let e;function i(s,l){return s[0]?ap:rp}let n=i(t),o=n(t);return{c(){o.c(),e=lt()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function cp(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class Eu extends be{constructor(e){super(),ge(this,e,cp,up,he,{isOff:0})}}function fp(t){Oe(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function dp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function mp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class pp extends be{constructor(e){super(),ge(this,e,mp,dp,he,{reversed:0},fp)}}function hp(t){Oe(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function gp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function bp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class _p extends be{constructor(e){super(),ge(this,e,bp,gp,he,{reversed:0},hp)}}function vp(t){Oe(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 oa(t){let e,i=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[Ke.RATE_DOWN,Ke.RATE_UP].includes(t[4]),f,p=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(t[4]),h,_,b,w,v,P=i&&la(t),k=t[4]===Ke.PAUSE&&sa(),y=t[4]===Ke.PLAY&&ra(),I=t[4]===Ke.REPLAY&&aa(),ne=t[4]===Ke.SUBTITLES_OFF&&ua(),V=t[4]===Ke.SUBTITLES_ON&&ca(),K=c&&fa(t),M=p&&da(t),ee=t[4]===Ke.MUTE&&ma(),A=t[4]===Ke.VOLUME&&pa(),ie=t[5]&&ha(t);return{c(){e=E("div"),P&&P.c(),n=z(),k&&k.c(),o=z(),y&&y.c(),s=z(),I&&I.c(),l=z(),ne&&ne.c(),r=z(),V&&V.c(),a=z(),K&&K.c(),f=z(),M&&M.c(),h=z(),ee&&ee.c(),_=z(),A&&A.c(),b=z(),ie&&ie.c(),w=lt(),u(e,"class","v-4ftgwp")},m(N,G){T(N,e,G),P&&P.m(e,null),m(e,n),k&&k.m(e,null),m(e,o),y&&y.m(e,null),m(e,s),I&&I.m(e,null),m(e,l),ne&&ne.m(e,null),m(e,r),V&&V.m(e,null),m(e,a),K&&K.m(e,null),m(e,f),M&&M.m(e,null),m(e,h),ee&&ee.m(e,null),m(e,_),A&&A.m(e,null),T(N,b,G),ie&&ie.m(N,G),T(N,w,G),v=!0},p(N,G){G&16&&(i=[Ke.BACKWARD_SEEK,Ke.FORWARD_SEEK].includes(N[4])),i?P?(P.p(N,G),G&16&&d(P,1)):(P=la(N),P.c(),d(P,1),P.m(e,n)):P&&(de(),g(P,1,1,()=>{P=null}),me()),N[4]===Ke.PAUSE?k?G&16&&d(k,1):(k=sa(),k.c(),d(k,1),k.m(e,o)):k&&(de(),g(k,1,1,()=>{k=null}),me()),N[4]===Ke.PLAY?y?G&16&&d(y,1):(y=ra(),y.c(),d(y,1),y.m(e,s)):y&&(de(),g(y,1,1,()=>{y=null}),me()),N[4]===Ke.REPLAY?I?G&16&&d(I,1):(I=aa(),I.c(),d(I,1),I.m(e,l)):I&&(de(),g(I,1,1,()=>{I=null}),me()),N[4]===Ke.SUBTITLES_OFF?ne?G&16&&d(ne,1):(ne=ua(),ne.c(),d(ne,1),ne.m(e,r)):ne&&(de(),g(ne,1,1,()=>{ne=null}),me()),N[4]===Ke.SUBTITLES_ON?V?G&16&&d(V,1):(V=ca(),V.c(),d(V,1),V.m(e,a)):V&&(de(),g(V,1,1,()=>{V=null}),me()),G&16&&(c=[Ke.RATE_DOWN,Ke.RATE_UP].includes(N[4])),c?K?(K.p(N,G),G&16&&d(K,1)):(K=fa(N),K.c(),d(K,1),K.m(e,f)):K&&(de(),g(K,1,1,()=>{K=null}),me()),G&16&&(p=[Ke.EPISODE_PREV,Ke.EPISODE_NEXT].includes(N[4])),p?M?(M.p(N,G),G&16&&d(M,1)):(M=da(N),M.c(),d(M,1),M.m(e,h)):M&&(de(),g(M,1,1,()=>{M=null}),me()),N[4]===Ke.MUTE?ee?G&16&&d(ee,1):(ee=ma(),ee.c(),d(ee,1),ee.m(e,_)):ee&&(de(),g(ee,1,1,()=>{ee=null}),me()),N[4]===Ke.VOLUME?A?G&16&&d(A,1):(A=pa(),A.c(),d(A,1),A.m(e,null)):A&&(de(),g(A,1,1,()=>{A=null}),me()),N[5]?ie?ie.p(N,G):(ie=ha(N),ie.c(),ie.m(w.parentNode,w)):ie&&(ie.d(1),ie=null)},i(N){v||(d(P),d(k),d(y),d(I),d(ne),d(V),d(K),d(M),d(ee),d(A),v=!0)},o(N){g(P),g(k),g(y),g(I),g(ne),g(V),g(K),g(M),g(ee),g(A),v=!1},d(N){N&&(S(e),S(b),S(w)),P&&P.d(),k&&k.d(),y&&y.d(),I&&I.d(),ne&&ne.d(),V&&V.d(),K&&K.d(),M&&M.d(),ee&&ee.d(),A&&A.d(),ie&&ie.d(N)}}}function la(t){let e,i;return e=new sp({props:{reversed:t[4]===Ke.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sa(t){let e,i;return e=new uu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ra(t){let e,i;return e=new Zl({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function aa(t){let e,i;return e=new vu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ua(t){let e,i;return e=new Eu({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ca(t){let e,i;return e=new Eu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function fa(t){let e,i;return e=new pp({props:{reversed:t[4]===Ke.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function da(t){let e,i;return e=new _p({props:{reversed:t[4]===Ke.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ke.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ma(t){let e,i;return e=new sl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pa(t){let e,i;return e=new sl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ha(t){let e,i;return{c(){e=E("span"),i=Ne(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&32&&Xe(i,n[5])},d(n){n&&S(e)}}}function wp(t){let e,i,n=!t[1]&&t[4]&&oa(t);return{c(){e=E("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(o,s){T(o,e,s),n&&n.m(e,null),i=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&d(n,1)):(n=oa(o),n.c(),d(n,1),n.m(e,null)):n&&(de(),g(n,1,1,()=>{n=null}),me()),(!i||s&2)&&B(e,"hidden",o[1]),(!i||s&4)&&B(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&B(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d()}}}function kp(t,e,i){let n,o=Z,s=()=>(o(),o=Gt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,p;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===Ke.BACKWARD_SEEK),i(3,c=n?.type===Ke.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,p=j(n.t.key,{value:n.t.value||""})):i(5,p=n?.text))},[l,r,a,c,f,p,n]}class yp extends be{constructor(e){super(),ge(this,e,kp,wp,he,{data:0},vp)}}function Cp(t){Oe(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 Pp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k;return s=new Fn({props:{direction:"up"}}),a=new Fn({props:{direction:"up"}}),h=new Fn({props:{direction:"up"}}),w=new Fn({props:{direction:"up"}}),{c(){e=E("div"),i=E("div"),n=E("div"),o=E("div"),U(s.$$.fragment),l=z(),r=E("div"),U(a.$$.fragment),c=z(),f=E("div"),p=E("div"),U(h.$$.fragment),_=z(),b=E("div"),U(w.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(p,"class","button button-left v-1yzc86r"),u(b,"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",j("aria_label_spherical_control")),B(e,"m-shifted",t[0])},m(y,I){T(y,e,I),m(e,i),m(i,n),m(n,o),O(s,o,null),m(n,l),m(n,r),O(a,r,null),m(i,c),m(i,f),m(f,p),O(h,p,null),m(f,_),m(f,b),O(w,b,null),v=!0,P||(k=[pe(o,"mousedown",t[1]),pe(o,"mouseup",t[5]),pe(o,"mouseleave",t[5]),pe(r,"mousedown",t[3]),pe(r,"mouseup",t[5]),pe(r,"mouseleave",t[5]),pe(p,"mousedown",t[4]),pe(p,"mouseup",t[5]),pe(p,"mouseleave",t[5]),pe(b,"mousedown",t[2]),pe(b,"mouseup",t[5]),pe(b,"mouseleave",t[5]),pe(e,"keydown",t[6]),pe(e,"keyup",t[7])],P=!0)},p(y,[I]){(!v||I&1)&&B(e,"m-shifted",y[0])},i(y){v||(d(s.$$.fragment,y),d(a.$$.fragment,y),d(h.$$.fragment,y),d(w.$$.fragment,y),v=!0)},o(y){g(s.$$.fragment,y),g(a.$$.fragment,y),g(h.$$.fragment,y),g(w.$$.fragment,y),v=!1},d(y){y&&S(e),H(s),H(a),H(h),H(w),P=!1,$e(k)}}}function Sp(t,e,i){let{isShifted:n=!1}=e;const o=dt(),s=new Set([Pe.ArrowUp,Pe.ArrowDown,Pe.ArrowLeft,Pe.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),p=_=>{if(s.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Pe.ArrowUp:l();break;case Pe.ArrowDown:r();break;case Pe.ArrowLeft:c();break;case Pe.ArrowRight:a();break}},h=_=>{s.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,l,r,a,c,f,p,h]}class Au extends be{constructor(e){super(),ge(this,e,Sp,Pp,he,{isShifted:0},Cp)}}function Tp(t){Oe(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 ga(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function ba(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function _a(t){let e,i;function n(l,r){return l[7]&&l[8]?Lp:l[5]?Ap:Ep}let o=n(t),s=o(t);return{c(){e=E("div"),i=E("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(e,"mobile",t[3])},m(l,r){T(l,e,r),m(e,i),s.m(i,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(i,null))),r&8&&B(e,"mobile",l[3])},d(l){l&&S(e),s.d()}}}function Ep(t){let e,i=Ut(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=va(ga(t,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=lt()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);T(o,e,s)},p(o,s){if(s&18){i=Ut(o[1]);let l;for(l=0;l<i.length;l+=1){const r=ga(o,i,l);n[l]?n[l].p(r,s):(n[l]=va(r),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function Ap(t){let e,i,n=Ut(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=ka(ba(t,n,s));return{c(){e=E("span"),i=E("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){T(s,e,l),m(e,i);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,null)},p(s,l){if(l&68){n=Ut(s[6]);let r;for(r=0;r<n.length;r+=1){const a=ba(s,n,r);o[r]?o[r].p(a,l):(o[r]=ka(a),o[r].c(),o[r].m(i,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&St(i,"font-size",s[4]+"px")},d(s){s&&S(e),vn(o,s)}}}function Lp(t){let e,i,n=j("subtitles_auto_caption")+"",o;return{c(){e=E("span"),i=E("span"),o=Ne(n),u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){T(s,e,l),m(e,i),m(i,o)},p(s,l){l&16&&St(i,"font-size",s[4]+"px")},d(s){s&&S(e)}}}function va(t){let e,i,n=t[16]+"",o,s;return{c(){e=E("span"),i=E("span"),o=Ne(n),s=z(),u(i,"class","caption-segment v-ovfyp5"),St(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){T(l,e,r),m(e,i),m(i,o),m(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&Xe(o,n),r&16&&St(i,"font-size",l[4]+"px")},d(l){l&&S(e)}}}function wa(t){let e=t[16]+"",i;return{c(){i=Ne(e)},m(n,o){T(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&Xe(i,e)},d(n){n&&S(i)}}}function ka(t){let e,i=(!t[17]||t[17]<=t[2])&&wa(t);return{c(){i&&i.c(),e=lt()},m(n,o){i&&i.m(n,o),T(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?i?i.p(n,o):(i=wa(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function Ip(t){let e,i=t[1].length>0&&_a(t);return{c(){e=E("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,o){T(n,e,o),i&&i.m(e,null)},p(n,[o]){n[1].length>0?i?i.p(n,o):(i=_a(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&B(e,"shifted",n[0]),o&288&&B(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&S(e),i&&i.d()}}}function Vp(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=dt(),p=rn(),h=f.state.currentSubtitle$;D(t,h,y=>i(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;D(t,_,y=>i(8,o=y));let b,w,v,P,k;return sn(()=>{k=window.setTimeout(()=>{_.set(!1)},p.autoSubtitlesTimeout)}),ll(()=>{window.clearTimeout(k)}),t.$$set=y=>{"shifted"in y&&i(0,s=y.shifted),"captions"in y&&i(1,l=y.captions),"position"in y&&i(2,r=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,b=y<=p.minSubtitlesFontSize?p.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,w=l.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,v=l.reduce((y,{type:I,value:ne})=>(I==="timestamp"?y.push({timeAppeared:Number(ne),value:""}):y.length===0?y.push({value:String(ne)}):y[y.length-1].value=String(ne),y),[])),t.$$.dirty&4096&&i(7,P=!!n.isAuto)},[s,l,r,c,b,w,v,P,o,h,_,a,n]}class Lu extends be{constructor(e){super(),ge(this,e,Vp,Ip,he,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Tp)}}function Mp(t){Oe(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 ya(t){let e,i,n;return{c(){e=E("div"),i=Ne("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=Ne(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p(o,s){s&2&&Xe(n,o[1])},d(o){o&&S(e)}}}function Bp(t){let e,i,n,o,s,l,r=t[1]&&ya(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=z(),r&&r.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){T(a,e,c),m(e,i),m(e,n),r&&r.m(e,null),s||(l=pe(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=ya(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&S(e),r&&r.d(),s=!1,l()}}}function Rp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){go.call(this,t,l)}return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"chromecastDeviceName"in l&&i(1,o=l.chromecastDeviceName)},[n,o,s]}class Iu extends be{constructor(e){super(),ge(this,e,Rp,Bp,he,{thumbUrl:0,chromecastDeviceName:1},Mp)}}function Np(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class zp extends be{constructor(e){super(),ge(this,e,null,Np,he,{})}}function Dp(t){Oe(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 Op(t){let e,i,n;return i=new zp({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}class Vu extends be{constructor(e){super(),ge(this,e,null,Op,he,{},Dp)}}function Hp(t){Oe(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 Fp(t){let e,i,n,o,s,l,r,a,c;return s=new Zl({}),{c(){e=E("div"),i=E("div"),n=E("div"),o=z(),U(s.$$.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",j("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${t[0]||""}')`),B(e,"hidden",t[1])},m(f,p){T(f,e,p),m(e,i),m(i,n),m(i,o),O(s,i,null),r=!0,a||(c=[pe(i,"keydown",t[3]),pe(e,"click",tt(function(){bn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[p]){t=f,(!r||p&1&&l!==(l=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",l),(!r||p&2)&&B(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&S(e),H(s),a=!1,$e(c)}}}function Up(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=dt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Pe.Enter,Pe.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),r.set(!0),s())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,o=c.hidden),"startVideo"in c&&i(2,s=c.startVideo)},[n,o,s,a]}class Mu extends be{constructor(e){super(),ge(this,e,Up,Fp,he,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},Hp)}get handlePressKey(){return this.$$.ctx[3]}}function qp(t){Oe(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 hs(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 gs(t){let e,i;return e=new Kf({props:{position:t[5],secondsToWatchBeforeSkip:t[6],skipAd:t[8].actions.internal.skipAd}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&32&&(s.position=n[5]),o&64&&(s.secondsToWatchBeforeSkip=n[6]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function bs(t){let e,i;return e=new Hf({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _s(t){let e,i;return e=new Yf({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xf(t){let e,i,n,o,s,l,r,a=t[0]&&hs(),c=t[3]&&gs(t),f=t[7]&&bs(),p=t[4]&&_s();return{c(){e=E("div"),a&&a.c(),i=N(),n=E("video"),o=N(),c&&c.c(),s=N(),f&&f.c(),l=N(),p&&p.c(),Tt(n,"width","100%"),Tt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,_){T(h,e,_),a&&a.m(e,null),m(e,i),m(e,n),t[19](n),m(e,o),c&&c.m(e,null),m(e,s),f&&f.m(e,null),m(e,l),p&&p.m(e,null),t[20](e),r=!0},p(h,[_]){h[0]?a||(a=hs(),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,s)):c&&(ue(),g(c,1,1,()=>{c=null}),ce()),h[7]?f?_&128&&d(f,1):(f=bs(),f.c(),d(f,1),f.m(e,l)):f&&(ue(),g(f,1,1,()=>{f=null}),ce()),h[4]?p?_&16&&d(p,1):(p=_s(),p.c(),d(p,1),p.m(e,null)):p&&(ue(),g(p,1,1,()=>{p=null}),ce())},i(h){r||(d(c),d(f),d(p),r=!0)},o(h){g(c),g(f),g(p),r=!1},d(h){h&&S(e),a&&a.d(),t[19](null),c&&c.d(),f&&f.d(),p&&p.d(),t[20](null)}}}function Jf(t,e,i){let n,o,s,l,r,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:p=0}=e;const h=mt(),_=h.state.isEnded$;z(t,_,V=>i(7,r=V));const b=h.ui.isMobile;z(t,b,V=>i(0,o=V));let w,v,P=!1;const k=h.ads.playbackState;z(t,k,V=>i(18,n=V));const y=h.ads.canSkip,I=h.ads.position;z(t,I,V=>i(5,s=V));const ne=h.ads.secondsToWatchBeforeSkip;z(t,ne,V=>i(6,l=V));let M,W;rn(()=>{const V=new AbortController;let x=()=>{V.abort()};const Y=h.getAdmanWrapper();if(!a){Y.onAdmanLoadingError();return}const{width:oe,height:j}=$e(h.ui.playerSize),C=$e(h.ui.isFullscreen),G=$e(h.ui.isAutoplay),D={width:oe,height:j,isFullscreen:C,isAutoplay:G,adsContainer:w,adsVideoElement:v,slotId:a,params:c,previewParam:f,duration:p};return window.AdmanHTML?(Y.initAdman(D),P=!0):Y.loadAdman(V.signal).then(()=>{Y.initAdman(D),P=!0}).catch(()=>{Y.onAdmanLoadingError()}),()=>{!P&&x()}});function ie(V){ve[V?"unshift":"push"](()=>{v=V,i(2,v)})}function L(V){ve[V?"unshift":"push"](()=>{w=V,i(1,w)})}return t.$$set=V=>{"adsSlotId"in V&&i(14,a=V.adsSlotId),"adsParams"in V&&i(15,c=V.adsParams),"adsPreviewParam"in V&&i(16,f=V.adsPreviewParam),"duration"in V&&i(17,p=V.duration)},t.$$.update=()=>{t.$$.dirty&262144&&i(3,M=y&&n!==Yt.INACTIVE),t.$$.dirty&262145&&i(4,W=o&&n!==Yt.INACTIVE)},[o,w,v,M,W,s,l,r,h,_,b,k,I,ne,a,c,f,p,n,ie,L]}class Y1 extends be{constructor(e){super(),ge(this,e,Jf,Xf,he,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},Qf)}}const Bn=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(s=>s>9?String(s):`0${s}`).join(":")};function xf(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(i,"fill","none"),u(i,"stroke","#fff"),u(i,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function $f(t){let e,i,n;return{c(){e=R("svg"),i=R("rect"),n=R("path"),u(i,"width","42"),u(i,"height","20"),u(i,"rx","5"),u(i,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},d(o){o&&S(e)}}}function e0(t){let e;function i(s,l){return s[0]?$f:xf}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function t0(t,e,i){let{isActive:n=!1}=e;return t.$$set=o=>{"isActive"in o&&i(0,n=o.isActive)},[n]}class Q1 extends be{constructor(e){super(),ge(this,e,t0,e0,he,{isActive:0})}}function i0(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 n0(t){let e=Bn(t[4]-t[3])+"",i;return{c(){i=De(e)},m(n,o){T(n,i,o)},p(n,o){o&24&&e!==(e=Bn(n[4]-n[3])+"")&&xe(i,e)},i:Z,o:Z,d(n){n&&S(i)}}}function o0(t){let e,i,n;return i=new Q1({props:{isActive:!0}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function l0(t){let e,i,n,o,s,l,r;const a=[o0,n0],c=[];function f(p,h){return p[1]?0:1}return s=f(t),l=c[s]=a[s](t),{c(){e=E("div"),i=E("div"),i.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=E("span"),l.c(),u(i,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),B(e,"live",t[1]),B(e,"hidden",t[0]),B(e,"playing",t[2])},m(p,h){T(p,e,h),m(e,i),m(e,n),m(e,o),c[s].m(o,null),r=!0},p(p,[h]){let _=s;s=f(p),s===_?c[s].p(p,h):(ue(),g(c[_],1,1,()=>{c[_]=null}),ce(),l=c[s],l?l.p(p,h):(l=c[s]=a[s](p),l.c()),d(l,1),l.m(o,null)),(!r||h&2)&&B(e,"live",p[1]),(!r||h&1)&&B(e,"hidden",p[0]),(!r||h&4)&&B(e,"playing",p[2])},i(p){r||(d(l),r=!0)},o(p){g(l),r=!1},d(p){p&&S(e),c[s].d()}}}function s0(t,e,i){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:s=!1}=e,{position:l}=e,{duration:r}=e;return t.$$set=a=>{"isHidden"in a&&i(0,n=a.isHidden),"isLive"in a&&i(1,o=a.isLive),"isPlaying"in a&&i(2,s=a.isPlaying),"position"in a&&i(3,l=a.position),"duration"in a&&i(4,r=a.duration)},[n,o,s,l,r]}class X1 extends be{constructor(e){super(),ge(this,e,s0,l0,he,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},i0)}}const Ll=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)}}},xn=t=>{t.stopPropagation(),t.preventDefault()},r0=t=>{let e=t.previousElementSibling;e||(e=t.parentNode?.lastElementChild),e?.focus()},a0=t=>{let e=t.nextElementSibling;e||(e=t.parentNode?.firstElementChild),e?.focus()},u0=t=>{const e=t.code;return e===Ee.Tab&&!t.shiftKey||e===Ee.ArrowDown},c0=t=>{const e=t.code;return e===Ee.Tab||e===Ee.ArrowUp},J1=t=>t.code===Ee.Escape,f0=t=>t.code===Ee.ArrowLeft,x1=(t,e=!0)=>{const i=t.code;return[Ee.Enter,Ee.Space].includes(i)||!e&&i===Ee.ArrowRight},$1=t=>{if(u0(t)){xn(t),a0(t.target);return}c0(t)&&(xn(t),r0(t.target))},Fl=t=>t?.detail===0,Ul=async(t,e,i)=>{await Mo(),t&&!t.classList.contains("opened")&&!e&&$e(i)&&(i.set(!1),t.focus())},ql=async(t,e,i)=>{await Mo(),!!t&&e&&i&&t.firstChild.focus()},Ko=async(t,e,i)=>{!!t&&i&&(e.set(!1),setTimeout(()=>{t.focus()},of))},eu=(t,e)=>{$1(t),J1(t)&&(xn(t),e())},jo=async(t,e,i)=>{x1(t,!1)&&(xn(t),e(),await Mo(),i()?.focus())},Go=async(t,e,i,n)=>{if($1(t),f0(t)){xn(t),e(),i.set(!0);return}J1(t)&&(xn(t),n())},Xi=(t,e)=>{x1(t)&&(xn(t),e())};function d0(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 vs(t){let e,i,n,o,s,l,r=(t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug"))+"",a,c,f,p=K("menu_debug_overlay")+"",h,_,b,w,v=t[9].features.copyVideoLink&&t[8].callbacks?.onCopyVideoLink&&m0(t),P=t[11]&&t[5]!==Sn.CONNECTED&&!t[16]&&ks(t),k=t[9].features.videoRotate&&!t[16]&&p0(t),y=t[9].showSupport&&!t[6]&&ys(t);return{c(){e=E("ul"),v&&v.c(),i=N(),P&&P.c(),n=N(),k&&k.c(),o=N(),y&&y.c(),s=N(),l=E("li"),a=De(r),c=N(),f=E("li"),h=De(p),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",t[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug")),u(l,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=t[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Tt(e,"top",t[3]+"px"),Tt(e,"left",t[2]+"px"),u(e,"class","v-gew86s")},m(I,ne){T(I,e,ne),v&&v.m(e,null),m(e,i),P&&P.m(e,null),m(e,n),k&&k.m(e,null),m(e,o),y&&y.m(e,null),m(e,s),m(e,l),m(l,a),m(e,c),m(e,f),m(f,h),t[40](e),b||(w=[me(l,"click",nt(t[19])),me(l,"keydown",t[29]),me(f,"click",nt(t[20])),me(f,"keydown",t[30]),me(e,"contextmenu",Qt(t[37])),me(e,"keydown",t[23])],b=!0)},p(I,ne){I[9].features.copyVideoLink&&I[8].callbacks?.onCopyVideoLink&&v.p(I,ne),I[11]&&I[5]!==Sn.CONNECTED&&!I[16]?P?P.p(I,ne):(P=ks(I),P.c(),P.m(e,n)):P&&(P.d(1),P=null),I[9].features.videoRotate&&!I[16]&&k.p(I,ne),I[9].showSupport&&!I[6]?y?y.p(I,ne):(y=ys(I),y.c(),y.m(e,s)):y&&(y.d(1),y=null),ne[0]&128&&_!==(_=I[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),ne[0]&8&&Tt(e,"top",I[3]+"px"),ne[0]&4&&Tt(e,"left",I[2]+"px")},d(I){I&&S(e),v&&v.d(),P&&P.d(),k&&k.d(),y&&y.d(),t[40](null),b=!1,it(w)}}}function m0(t){let e,i=K("menu_copy_video_link")+"",n,o,s,l,r,a=!t[4]&&!t[16]&&ws(t);return{c(){e=E("li"),n=De(i),o=N(),a&&a.c(),s=ut(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){T(c,e,f),m(e,n),T(c,o,f),a&&a.m(c,f),T(c,s,f),l||(r=[me(e,"click",nt(t[38])),me(e,"keydown",t[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=ws(c),a.c(),a.m(s.parentNode,s)):a&&(a.d(1),a=null)},d(c){c&&(S(e),S(o),S(s)),a&&a.d(c),l=!1,it(r)}}}function ws(t){let e,i=K("menu_copy_video_link_with_timestamp")+"",n,o,s;return{c(){e=E("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[me(e,"click",nt(t[39])),me(e,"keydown",t[25])],o=!0)},p:Z,d(l){l&&S(e),o=!1,it(s)}}}function ks(t){let e,i=K("menu_pip")+"",n,o,s;return{c(){e=E("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_pip")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[me(e,"click",nt(t[21])),me(e,"keydown",t[26])],o=!0)},p:Z,d(l){l&&S(e),o=!1,it(s)}}}function p0(t){let e,i=K("menu_video_rotate")+"",n,o,s;return{c(){e=E("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[me(e,"click",nt(t[17])),me(e,"keydown",t[27])],o=!0)},p:Z,d(l){l&&S(e),o=!1,it(s)}}}function ys(t){let e,i=K("menu_report")+"",n,o,s;return{c(){e=E("li"),n=De(i),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(l,r){T(l,e,r),m(e,n),o||(s=[me(e,"click",nt(t[18])),me(e,"keydown",t[28])],o=!0)},p:Z,d(l){l&&S(e),o=!1,it(s)}}}function h0(t){let e,i=t[1]&&vs(t);return{c(){i&&i.c(),e=ut()},m(n,o){i&&i.m(n,o),T(n,e,o)},p(n,o){n[1]?i?i.p(n,o):(i=vs(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:Z,o:Z,d(n){n&&S(e),i&&i.d(n)}}}function g0(t,e,i){let n,o,s,l,r,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:p=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:_=void 0}=e,{menuElementRef:b=void 0}=e,{returnFocus:w}=e,v=0,P=0;const k=mt(),y=an(),I=k.ui.contextMenuVisible,ne=k.ui.debugPanelVisible;z(t,ne,ae=>i(7,r=ae));const M=k.webApi.pictureInPictureApi,W=k.webApi.pictureInPictureApi?.info.isActive$;z(t,W,ae=>i(6,l=ae));const ie=k.state.chromecastState$;z(t,ie,ae=>i(5,s=ae));const L=k.state.isLive$;z(t,L,ae=>i(4,o=ae));const V=k.state.positionExact$;z(t,V,ae=>i(41,n=ae));const x=k.state.isInteractive,Y=()=>{I.set(!1)},oe=(ae,Ce)=>{if(!b||!h||!_)return;const pe=b.getBoundingClientRect(),le=h.getBoundingClientRect();i(2,v=ae-le.left),i(3,P=Ce-le.top),v+pe.width>le.width&&i(2,v=le.width-pe.width),P+pe.height>le.height&&i(3,P=le.height-pe.height),i(2,v=Math.max(v,0)),i(3,P=Math.max(P,0))},j=()=>{Y(),k.actions.internal.videoRotate()},C=()=>{window.open(c,"_blank"),Y(),k.actions.internal.pause()},G=()=>{const ae=k.actions.internal.getDebugTextData();if(y.features.saveDebugInfoToFile){const Ce=new Blob([...ae],{type:"plain/text"}),pe=window.URL.createObjectURL(Ce);I1(pe,"vk_player_debug_info","txt")}else Ll(k.actions.internal.getDebugTextData());Y(),w?.()},D=()=>{ne.set(!0),Y(),w?.()},ee=async()=>{try{M?.isActive()?await M?.remove():await M?.request()}finally{Y(),w?.()}},Te=(ae=!1)=>{if(k.callbacks?.onCopyVideoLink){const Ce=k.callbacks?.onCopyVideoLink(ae,n);Ce&&Ll(Ce)}Y()},Re=ae=>{eu(ae,Y)},Be=ae=>{Xi(ae,()=>Te())},ze=ae=>{Xi(ae,()=>Te(!0))},_e=ae=>{Xi(ae,()=>ee())},we=ae=>{Xi(ae,()=>j())},Q=ae=>{Xi(ae,()=>C())},$=ae=>{Xi(ae,()=>G())},ke=ae=>{Xi(ae,()=>D())};function se(ae){po.call(this,t,ae)}const We=()=>Te(),Ae=()=>Te(!0);function Ie(ae){ve[ae?"unshift":"push"](()=>{b=ae,i(0,b)})}return t.$$set=ae=>{"visible"in ae&&i(1,a=ae.visible),"supportLink"in ae&&i(31,c=ae.supportLink),"x"in ae&&i(32,f=ae.x),"y"in ae&&i(33,p=ae.y),"playerContainerRef"in ae&&i(34,h=ae.playerContainerRef),"controlsContainerRef"in ae&&i(35,_=ae.controlsContainerRef),"menuElementRef"in ae&&i(0,b=ae.menuElementRef),"returnFocus"in ae&&i(36,w=ae.returnFocus)},t.$$.update=()=>{t.$$.dirty[0]&1|t.$$.dirty[1]&30&&b&&h&&_&&oe(f,p)},[b,a,v,P,o,s,l,r,k,y,ne,M,W,ie,L,V,x,j,C,G,D,ee,Te,Re,Be,ze,_e,we,Q,$,ke,c,f,p,h,_,w,se,We,Ae,Ie]}class b0 extends be{constructor(e){super(),ge(this,e,g0,h0,he,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},d0,[-1,-1])}}class _0{value;next;constructor(e){this.value=e,this.next=null}}class bl{top;bottom;size;maxSize;constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const i=new _0(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 v0(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 w0(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,o){T(n,e,o),m(e,i),t[3](i)},p:Z,i:Z,o:Z,d(n){n&&S(e),t[3](null)}}}const _l=16,vl=120,Cs=60;function k0(t,e,i,n,o){o===0&&(o=1),t.fillStyle="#fff",t.fillRect(e,i,n,o)}function y0(t,e,i){let{values:n=[]}=e,o,s;const l=vl/Cs;rn(()=>{i(0,o.width=vl,o),i(0,o.height=_l,o),i(2,s=o.getContext("2d"))});function r(a){ve[a?"unshift":"push"](()=>{o=a,i(0,o)})}return t.$$set=a=>{"values"in a&&i(1,n=a.values)},t.$$.update=()=>{if(t.$$.dirty&6&&s){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);s.clearRect(0,0,vl,_l);let c=Cs-1;for(let f=n.length-1;f>=0;f--){const p=c*l,h=a>0?_l*(n[f]/a):0;k0(s,p,0,l,h),c--}}},[o,n,s,r]}class Zl extends be{constructor(e){super(),ge(this,e,y0,w0,he,{values:1},v0)}}function C0(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,o,s=t[0].id+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Video id",n=N(),o=E("span"),l=De(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].id+"")&&xe(l,s)},d(r){r&&S(e)}}}function Ss(t){let e,i,n,o,s=t[0].provider+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Provider",n=N(),o=E("span"),l=De(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].provider+"")&&xe(l,s)},d(r){r&&S(e)}}}function Ts(t){let e,i,n,o,s=t[0].viewport+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Viewport",n=N(),o=E("span"),l=De(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].viewport+"")&&xe(l,s)},d(r){r&&S(e)}}}function Es(t){let e,i,n,o,s=t[0].videoSize+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="Video size",n=N(),o=E("span"),l=De(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].videoSize+"")&&xe(l,s)},d(r){r&&S(e)}}}function Is(t){let e,i,n,o,s=t[0].cdn+"",l;return{c(){e=E("div"),i=E("div"),i.textContent="CDN host",n=N(),o=E("span"),l=De(s),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(r,a){T(r,e,a),m(e,i),m(e,n),m(e,o),m(o,l)},p(r,a){a&1&&s!==(s=r[0].cdn+"")&&xe(l,s)},d(r){r&&S(e)}}}function As(t){let e,i,n,o,s=t[0].volume+"",l,r;return{c(){e=E("div"),i=E("div"),i.textContent="Volume",n=N(),o=E("span"),l=De(s),r=De(" %"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].volume+"")&&xe(l,s)},d(a){a&&S(e)}}}function Ls(t){let e,i,n,o,s=t[0].buffer.toFixed(2)+"",l,r;return{c(){e=E("div"),i=E("div"),i.textContent="Buffer",n=N(),o=E("span"),l=De(s),r=De(" s"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){T(a,e,c),m(e,i),m(e,n),m(e,o),m(o,l),m(o,r)},p(a,c){c&1&&s!==(s=a[0].buffer.toFixed(2)+"")&&xe(l,s)},d(a){a&&S(e)}}}function Vs(t){let e,i,n,o,s,l,r=t[0].speed.toFixed(2)+"",a,c,f;return o=new Zl({props:{values:t[5]}}),{c(){e=E("div"),i=E("div"),i.textContent="Network",n=N(),U(o.$$.fragment),s=N(),l=E("span"),a=De(r),c=De(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){T(p,e,h),m(e,i),m(e,n),O(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&32&&(_.values=p[5]),o.$set(_),(!f||h&1)&&r!==(r=p[0].speed.toFixed(2)+"")&&xe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),H(o)}}}function Ms(t){let e,i,n,o,s,l,r=t[0].bitrate.toFixed(2)+"",a,c,f;return o=new Zl({props:{values:t[6]}}),{c(){e=E("div"),i=E("div"),i.textContent="V bitrate",n=N(),U(o.$$.fragment),s=N(),l=E("span"),a=De(r),c=De(" Kbps"),u(i,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(p,h){T(p,e,h),m(e,i),m(e,n),O(o,e,null),m(e,s),m(e,l),m(l,a),m(l,c),f=!0},p(p,h){const _={};h&64&&(_.values=p[6]),o.$set(_),(!f||h&1)&&r!==(r=p[0].bitrate.toFixed(2)+"")&&xe(a,r)},i(p){f||(d(o.$$.fragment,p),f=!0)},o(p){g(o.$$.fragment,p),f=!1},d(p){p&&S(e),H(o)}}}function P0(t){let e,i,n,o,s,l,r,a,c=t[0].version+"",f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te,Re,Be,ze,_e,we=t[0].id&&Ps(t),Q=t[0].provider&&Ss(t),$=t[0].viewport&&Ts(t),ke=t[0].videoSize&&Es(t),se=t[0].cdn&&Is(t),We=t[0].volume&&As(t),Ae=t[0].buffer&&Ls(t),Ie=t[0].speed&&Vs(t),ae=t[0].bitrate&&Ms(t);return D=new Zl({props:{values:t[4]}}),{c(){e=E("div"),i=E("button"),i.textContent="[x]",n=N(),o=E("div"),s=E("div"),l=E("div"),l.textContent="Version",r=N(),a=E("span"),f=De(c),p=N(),we&&we.c(),h=N(),Q&&Q.c(),_=N(),$&&$.c(),b=N(),ke&&ke.c(),w=N(),se&&se.c(),v=N(),We&&We.c(),P=N(),Ae&&Ae.c(),k=N(),y=E("div"),I=E("div"),I.textContent="Dropped",ne=N(),M=E("span"),W=De(t[2]),ie=De(" / "),L=De(t[1]),V=De(" frames"),x=N(),Ie&&Ie.c(),Y=N(),ae&&ae.c(),oe=N(),j=E("div"),C=E("div"),C.textContent="FPS",G=N(),U(D.$$.fragment),ee=N(),Te=E("span"),Re=De(t[3]),u(i,"class","close v-1gy2e68"),u(i,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(s,"class","v-1gy2e68"),u(I,"class","v-1gy2e68"),u(y,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(j,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),u(e,"role","region"),u(e,"aria-label",K("aria_label_debug_panel")),B(e,"container-mobile",t[7])},m(Ce,pe){T(Ce,e,pe),m(e,i),m(e,n),m(e,o),m(o,s),m(s,l),m(s,r),m(s,a),m(a,f),m(o,p),we&&we.m(o,null),m(o,h),Q&&Q.m(o,null),m(o,_),$&&$.m(o,null),m(o,b),ke&&ke.m(o,null),m(o,w),se&&se.m(o,null),m(o,v),We&&We.m(o,null),m(o,P),Ae&&Ae.m(o,null),m(o,k),m(o,y),m(y,I),m(y,ne),m(y,M),m(M,W),m(M,ie),m(M,L),m(M,V),m(o,x),Ie&&Ie.m(o,null),m(o,Y),ae&&ae.m(o,null),m(o,oe),m(o,j),m(j,C),m(j,G),O(D,j,null),m(j,ee),m(j,Te),m(Te,Re),Be=!0,ze||(_e=me(i,"click",nt(t[9])),ze=!0)},p(Ce,[pe]){(!Be||pe&1)&&c!==(c=Ce[0].version+"")&&xe(f,c),Ce[0].id?we?we.p(Ce,pe):(we=Ps(Ce),we.c(),we.m(o,h)):we&&(we.d(1),we=null),Ce[0].provider?Q?Q.p(Ce,pe):(Q=Ss(Ce),Q.c(),Q.m(o,_)):Q&&(Q.d(1),Q=null),Ce[0].viewport?$?$.p(Ce,pe):($=Ts(Ce),$.c(),$.m(o,b)):$&&($.d(1),$=null),Ce[0].videoSize?ke?ke.p(Ce,pe):(ke=Es(Ce),ke.c(),ke.m(o,w)):ke&&(ke.d(1),ke=null),Ce[0].cdn?se?se.p(Ce,pe):(se=Is(Ce),se.c(),se.m(o,v)):se&&(se.d(1),se=null),Ce[0].volume?We?We.p(Ce,pe):(We=As(Ce),We.c(),We.m(o,P)):We&&(We.d(1),We=null),Ce[0].buffer?Ae?Ae.p(Ce,pe):(Ae=Ls(Ce),Ae.c(),Ae.m(o,k)):Ae&&(Ae.d(1),Ae=null),(!Be||pe&4)&&xe(W,Ce[2]),(!Be||pe&2)&&xe(L,Ce[1]),Ce[0].speed?Ie?(Ie.p(Ce,pe),pe&1&&d(Ie,1)):(Ie=Vs(Ce),Ie.c(),d(Ie,1),Ie.m(o,Y)):Ie&&(ue(),g(Ie,1,1,()=>{Ie=null}),ce()),Ce[0].bitrate?ae?(ae.p(Ce,pe),pe&1&&d(ae,1)):(ae=Ms(Ce),ae.c(),d(ae,1),ae.m(o,oe)):ae&&(ue(),g(ae,1,1,()=>{ae=null}),ce());const le={};pe&16&&(le.values=Ce[4]),D.$set(le),(!Be||pe&8)&&xe(Re,Ce[3]),(!Be||pe&128)&&B(e,"container-mobile",Ce[7])},i(Ce){Be||(d(Ie),d(ae),d(D.$$.fragment,Ce),Be=!0)},o(Ce){g(Ie),g(ae),g(D.$$.fragment,Ce),Be=!1},d(Ce){Ce&&S(e),we&&we.d(),Q&&Q.d(),$&&$.d(),ke&&ke.d(),se&&se.d(),We&&We.d(),Ae&&Ae.d(),Ie&&Ie.d(),ae&&ae.d(),H(D),ze=!1,_e()}}}function S0(t,e,i){let n;const o=mt(),s=o.ui.debugPanelVisible,l=o.ui.isMobile;z(t,l,y=>i(7,n=y));const r=()=>{_n.remove(Il),s.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,p=0,h=0;const _=new bl(60),b=new bl(60),w=new bl(60);let v=[],P=[],k=[];return rn(()=>{_n.set(Il,"true"),o.actions.internal.startLogging(),c&&(i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames),i(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const y=window.setInterval(()=>{i(0,a=o.actions.internal.getDebugPanelData())},500);let I;return c&&(I=window.setInterval(()=>{if(c){i(2,p=c.getVideoPlaybackQuality().droppedVideoFrames);const ne=c.getVideoPlaybackQuality().totalVideoFrames;i(3,h=ne-f),i(1,f=ne),_.push(h),a.speed&&b.push(a.speed),a.bitrate&&w.push(a.bitrate),i(4,v=_.getValuesFromBottom()),i(5,P=b.getValuesFromBottom()),i(6,k=w.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(y),I&&clearInterval(I)}}),[a,f,p,h,v,P,k,n,l,r]}class tu extends be{constructor(e){super(),ge(this,e,S0,P0,he,{},C0)}}function T0(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 E0(t){let e,i,n;return{c(){e=E("div"),u(e,"class","close v-1ome55p")},m(o,s){T(o,e,s),i||(n=me(e,"click",nt(t[0])),i=!0)},p:Z,i:Z,o:Z,d(o){o&&S(e),i=!1,n()}}}function I0(t){function e(i){po.call(this,t,i)}return[e]}class A0 extends be{constructor(e){super(),ge(this,e,I0,E0,he,{},T0)}}function L0(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 V0(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("canvas"),n=N(),o=R("svg"),s=R("g"),l=R("g"),r=R("path"),u(i,"class","timer-canvas v-8jhsry"),u(i,"width","100"),u(i,"height","100"),u(r,"class","_play"),u(r,"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(r,"fill","#fff"),u(l,"fill-rule","nonzero"),u(s,"fill","none"),u(s,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){T(a,e,c),m(e,i),t[2](i),m(e,n),m(e,o),m(o,s),m(s,l),m(l,r)},p:Z,i:Z,o:Z,d(a){a&&S(e),t[2](null)}}}const M0=5e3;function B0(t,e,i){let{onTimerEnded:n=Qe}=e,o;rn(()=>{let l;const r=o.getContext("2d");if(!r)return;r.lineWidth=6,r.lineCap="round",r.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/M0;f<1?(r.clearRect(0,0,100,100),r.beginPath(),r.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),r.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function s(l){ve[l?"unshift":"push"](()=>{o=l,i(0,o)})}return t.$$set=l=>{"onTimerEnded"in l&&i(1,n=l.onTimerEnded)},[o,n,s]}class R0 extends be{constructor(e){super(),ge(this,e,B0,V0,he,{onTimerEnded:1},L0)}}function N0(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 Bs(t){let e,i;return e=new R0({props:{onTimerEnded:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&4&&(s.onTimerEnded=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function z0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne;r=new A0({}),r.$on("click",t[4]);let M=t[3]&&Bs(t);return{c(){e=E("div"),i=N(),n=E("div"),o=E("div"),s=E("div"),s.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=N(),U(r.$$.fragment),a=N(),c=E("div"),f=E("div"),p=E("div"),h=E("div"),_=N(),M&&M.c(),w=N(),v=E("div"),P=E("div"),k=De(t[0]),u(e,"class","overlay v-kisfwc"),u(s,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(p,"class","thumb v-kisfwc"),u(p,"style",b=`background-image: url('${t[1]}')`),u(f,"class","column v-kisfwc"),u(P,"class","title v-kisfwc"),u(v,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(W,ie){T(W,e,ie),T(W,i,ie),T(W,n,ie),m(n,o),m(o,s),m(o,l),O(r,o,null),m(n,a),m(n,c),m(c,f),m(f,p),m(p,h),m(p,_),M&&M.m(p,null),m(c,w),m(c,v),m(v,P),m(P,k),y=!0,I||(ne=me(c,"click",function(){bn(t[2])&&t[2].apply(this,arguments)}),I=!0)},p(W,[ie]){t=W,t[3]?M?(M.p(t,ie),ie&8&&d(M,1)):(M=Bs(t),M.c(),d(M,1),M.m(p,null)):M&&(ue(),g(M,1,1,()=>{M=null}),ce()),(!y||ie&2&&b!==(b=`background-image: url('${t[1]}')`))&&u(p,"style",b),(!y||ie&1)&&xe(k,t[0])},i(W){y||(d(r.$$.fragment,W),d(M),y=!0)},o(W){g(r.$$.fragment,W),g(M),y=!1},d(W){W&&(S(e),S(i),S(n)),H(r),M&&M.d(),I=!1,ne()}}}function D0(t,e,i){let{title:n}=e,{thumb:o}=e,{playNextVideo:s}=e,l=!0;const r=()=>i(3,l=!1);return t.$$set=a=>{"title"in a&&i(0,n=a.title),"thumb"in a&&i(1,o=a.thumb),"playNextVideo"in a&&i(2,s=a.playNextVideo)},[n,o,s,l,r]}class O0 extends be{constructor(e){super(),ge(this,e,D0,z0,he,{title:0,thumb:1,playNextVideo:2},N0)}}const iu=(t,e)=>Math.min(+(t+e).toFixed(2),1),nu=(t,e)=>Math.max(+(t-e).toFixed(2),0),ou=(t,e,i)=>{const n=iu(e,i);e<1&&t.actions.internal.setVolume(n)},lu=(t,e,i)=>{const n=nu(e,i);e>0&&t.actions.internal.setVolume(n)};function H0(t){Ze(t,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function F0(t){let e,i,n,o;const s=t[22].default,l=Rn(s,t,t[21],null);return{c(){e=E("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","-1"),u(e,"role","region"),u(e,"aria-label",K("aria_label_video_player"))},m(r,a){T(r,e,a),l&&l.m(e,null),t[23](e),i=!0,n||(o=[me(e,"keyup",t[13]),me(e,"keydown",t[12])],n=!0)},p(r,a){l&&l.p&&(!i||a[0]&2097152)&&zn(l,s,r,r[21],i?Nn(s,r[21],a,null):Dn(r[21]),null)},i(r){i||(d(l,r),i=!0)},o(r){g(l,r),i=!1},d(r){r&&S(e),l&&l.d(r),t[23](null),n=!1,it(o)}}}function U0(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{$$slots:b={},$$scope:w}=e,{isAds:v}=e,{hideContextMenu:P}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:y}=e,{showKeyMap:I}=e,{fakePlayButtonHandler:ne}=e;const M=mt(),W=an(),ie=M.getLogger().createComponentLog("KeyboardControls component"),L=M.state.playbackState$;z(t,L,se=>i(27,o=se));const V=M.ads.playbackState;z(t,V,se=>i(26,n=se));const x=M.state.positionExact$;z(t,x,se=>i(33,f=se));const Y=M.state.duration$;z(t,Y,se=>i(32,c=se));const oe=M.state.volume$;z(t,oe,se=>i(36,_=se));const j=M.ui.controls.disabledControls$;z(t,j,se=>i(31,a=se));const C=M.state.muted$;z(t,C,se=>i(29,l=se));const G=M.state.currentSubtitle$;z(t,G,se=>i(28,s=se));const D=M.state.currentPlaybackRate$;z(t,D,se=>i(34,p=se));const ee=M.state.availablePlaybackRates$;z(t,ee,se=>i(35,h=se));const Te=M.state.isEnded$;z(t,Te,se=>i(30,r=se));let Re=0,Be=!0,ze;const _e=()=>ze?.focus(),we=se=>(se!==Be&&(Be=se,Re=0),Re+=1,(W.controls.seekStepKeyboard+W.controls.seekStepKeyboard*Re)/1e3),Q=se=>{const We=se.target,Ae=We?.getAttribute("role")?.includes("menuitem"),Ie=We.classList.contains("btn"),ae=se.code;if(Ie&&ae===Ee.Space)return;const Ce=af.has(ae);if(Ae&&Ce)return;const pe=!rf.has(ae);if(se.ctrlKey&&pe||se.altKey&&pe||se.metaKey)return;const le=Ae&&ae===Ee.Escape;uf.has(ae)||le||P();const Me=o===zt.PLAYING||o===zt.PAUSED,de=v&&(n===Yt.PAUSED||n===Yt.PLAYING),ye=!de&&!a.has(st.TIMELINE);if(Me||de)switch(ie({message:`key down, code: ${ae}`}),ae){case Ee.KeyJ:case Ee.ArrowLeft:{if(!ye)break;if(se.ctrlKey||se.altKey){const Pe=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(Pe),Pe&&y({type:Ge.EPISODE_PREV,text:Pe.text}),se.preventDefault()}else{const Pe=se.shiftKey?we(!1):W.controls.seekStepKeyboard/1e3,je=Math.max(f-Pe,0);f>0&&(M.actions.internal.seekTime(je,Vt.DOUBLE_TAP),y({type:Ge.BACKWARD_SEEK,text:Pe.toString()}),se.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!ye)break;if(se.ctrlKey||se.altKey){const Pe=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(Pe),Pe&&y({type:Ge.EPISODE_NEXT,text:Pe.text}),se.preventDefault()}else{const Pe=se.shiftKey?we(!0):W.controls.seekStepKeyboard/1e3,je=Math.min(f+Pe,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(je,Vt.DOUBLE_TAP),y({type:Ge.FORWARD_SEEK,text:Pe.toString()}),se.preventDefault())}break}case Ee.ArrowUp:{const Pe=_,je=W.controls.volumeStepKeyboard,tt=Pe<=1;if(ou(M,Pe,je),tt){const Je=Math.round(iu(Pe,je)*100).toString();y({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:Je}})}se.preventDefault();break}case Ee.ArrowDown:{const Pe=_,je=W.controls.volumeStepKeyboard,tt=Pe>=0;if(lu(M,Pe,je),tt){const Je=Math.round(nu(Pe,je)*100).toString();y({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:Je}})}se.preventDefault();break}case Ee.Comma:{if(se.shiftKey){M.actions.internal.decrementPlaybackRate();const Pe=h.find(je=>je.value===p);y({type:Ge.RATE_DOWN,text:Pe?.displayValue}),se.preventDefault()}else{if(de||o!==zt.PAUSED)break;const Pe=Math.max(f-W.controls.seekStepFrame/1e3,0);f>0&&(y({type:Ge.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Pe,Vt.DOUBLE_TAP),se.preventDefault())}break}case Ee.Period:{if(se.shiftKey){M.actions.internal.incrementPlaybackRate();const Pe=h.find(je=>je.value===p);y({type:Ge.RATE_UP,text:Pe?.displayValue}),se.preventDefault()}else{if(de||o!==zt.PAUSED)break;const Pe=Math.min(f+W.controls.seekStepFrame/1e3,c);f<c&&(y({type:Ge.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Pe,Vt.DOUBLE_TAP),se.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(st.PLAY_BUTTON))if(ne)ne();else{M.actions.internal.togglePlay();let Pe=Ge.PLAY;o===zt.PAUSED?Pe=Ge.PAUSE:r&&(Pe=Ge.REPLAY),y({type:Pe})}se.preventDefault();break;case Ee.KeyM:{y({type:l?Ge.VOLUME:Ge.MUTE}),M.actions.internal.toggleMuted(),se.preventDefault();break}case Ee.KeyF:k(),se.preventDefault();break;case Ee.KeyC:M.actions.internal.toggleSubtitle(),s.value!=="off"?y({type:Ge.SUBTITLES_ON,text:s?.displayValue}):y({type:Ge.SUBTITLES_OFF}),se.preventDefault();break;case Ee.KeyI:M.actions.internal.togglePictureInPicture(),se.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:y(),M.actions.internal.seekToPercent(.1,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:y(),M.actions.internal.seekToPercent(.2,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:y(),M.actions.internal.seekToPercent(.3,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:y(),M.actions.internal.seekToPercent(.4,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:y(),M.actions.internal.seekToPercent(.5,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:y(),M.actions.internal.seekToPercent(.6,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:y(),M.actions.internal.seekToPercent(.7,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:y(),M.actions.internal.seekToPercent(.8,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:y(),M.actions.internal.seekToPercent(.9,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:y(),M.actions.internal.seekToPercent(0,Vt.DOUBLE_TAP),se.preventDefault();break;case Ee.Slash:{se.shiftKey&&W.features.hotKeyMapModal&&(I(),se.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:se.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:Tc(ae);break}},$=se=>{const We=se.code;if(se.ctrlKey||se.altKey||se.metaKey)return;const Ae=o===zt.PLAYING||o===zt.PAUSED,Ie=v&&(n===Yt.PAUSED||n===Yt.PLAYING);if(Ae||Ie)switch(We){case Ee.ShiftLeft:case Ee.ShiftRight:Re=0;break}};function ke(se){ve[se?"unshift":"push"](()=>{ze=se,i(0,ze)})}return t.$$set=se=>{"isAds"in se&&i(14,v=se.isAds),"hideContextMenu"in se&&i(15,P=se.hideContextMenu),"toggleFullscreen"in se&&i(16,k=se.toggleFullscreen),"showHotKeyHelpers"in se&&i(17,y=se.showHotKeyHelpers),"showKeyMap"in se&&i(18,I=se.showKeyMap),"fakePlayButtonHandler"in se&&i(19,ne=se.fakePlayButtonHandler),"$$scope"in se&&i(21,w=se.$$scope)},[ze,L,V,x,Y,oe,j,C,G,D,ee,Te,Q,$,v,P,k,y,I,ne,_e,w,b,ke]}class q0 extends be{constructor(e){super(),ge(this,e,U0,F0,he,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},H0,[-1,-1])}get focus(){return this.$$.ctx[20]}}function Z0(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 W0(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:Z,i:Z,o:Z,d(i){i&&S(e)}}}class su extends be{constructor(e){super(),ge(this,e,null,W0,he,{},Z0)}}function K0(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p:Z,i:Z,o:Z,d(b){b&&S(e)}}}class j0 extends be{constructor(e){super(),ge(this,e,null,K0,he,{})}}function G0(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 Y0(t){let e,i,n,o,s,l,r,a,c,f,p,h;const _=t[14].default,b=Rn(_,t,t[13],null);return{c(){e=E("button"),b&&b.c(),u(e,"class",i="btn "+t[1]+" v-1anemql"),u(e,"style",n=t[2]||null),e.disabled=o=t[3]??null,u(e,"aria-hidden",s=t[5]??null),u(e,"aria-label",l=t[6]??null),u(e,"aria-keyshortcuts",r=t[7]??null),u(e,"aria-expanded",a=t[8]??null),u(e,"data-testid",c=t[4]??null),u(e,"tabindex",t[9])},m(w,v){T(w,e,v),b&&b.m(e,null),t[16](e),f=!0,p||(h=[me(e,"pointerdown",nt(Qt(t[15]))),me(e,"click",nt(Qt(function(){bn(t[10]===Qe?null:t[10])&&(t[10]===Qe?null:t[10]).apply(this,arguments)}))),me(e,"focus",Qt(function(){bn(t[11]===Qe?null:t[11])&&(t[11]===Qe?null:t[11]).apply(this,arguments)})),me(e,"blur",Qt(function(){bn(t[12]===Qe?null:t[12])&&(t[12]===Qe?null:t[12]).apply(this,arguments)}))],p=!0)},p(w,[v]){t=w,b&&b.p&&(!f||v&8192)&&zn(b,_,t,t[13],f?Nn(_,t[13],v,null):Dn(t[13]),null),(!f||v&2&&i!==(i="btn "+t[1]+" v-1anemql"))&&u(e,"class",i),(!f||v&4&&n!==(n=t[2]||null))&&u(e,"style",n),(!f||v&8&&o!==(o=t[3]??null))&&(e.disabled=o),(!f||v&32&&s!==(s=t[5]??null))&&u(e,"aria-hidden",s),(!f||v&64&&l!==(l=t[6]??null))&&u(e,"aria-label",l),(!f||v&128&&r!==(r=t[7]??null))&&u(e,"aria-keyshortcuts",r),(!f||v&256&&a!==(a=t[8]??null))&&u(e,"aria-expanded",a),(!f||v&16&&c!==(c=t[4]??null))&&u(e,"data-testid",c),(!f||v&512)&&u(e,"tabindex",t[9])},i(w){f||(d(b,w),f=!0)},o(w){g(b,w),f=!1},d(w){w&&S(e),b&&b.d(w),t[16](null),p=!1,it(h)}}}function Q0(t,e,i){let{$$slots:n={},$$scope:o}=e,{className:s=""}=e,{style:l=""}=e,{disabled:r=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:p=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:_=void 0}=e,{tabIndex:b=0}=e,{click:w=Qe}=e,{focus:v=Qe}=e,{blur:P=Qe}=e;function k(I){po.call(this,t,I)}function y(I){ve[I?"unshift":"push"](()=>{p=I,i(0,p)})}return t.$$set=I=>{"className"in I&&i(1,s=I.className),"style"in I&&i(2,l=I.style),"disabled"in I&&i(3,r=I.disabled),"testId"in I&&i(4,a=I.testId),"ariaHidden"in I&&i(5,c=I.ariaHidden),"ariaLabel"in I&&i(6,f=I.ariaLabel),"ref"in I&&i(0,p=I.ref),"ariaKeyShortCut"in I&&i(7,h=I.ariaKeyShortCut),"ariaExpanded"in I&&i(8,_=I.ariaExpanded),"tabIndex"in I&&i(9,b=I.tabIndex),"click"in I&&i(10,w=I.click),"focus"in I&&i(11,v=I.focus),"blur"in I&&i(12,P=I.blur),"$$scope"in I&&i(13,o=I.$$scope)},[p,s,l,r,a,c,f,h,_,b,w,v,P,o,n,k,y]}class ki extends be{constructor(e){super(),ge(this,e,Q0,Y0,he,{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},G0)}}function X0(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,o,s,l=t[2]&&Ns(t);return{c(){e=E("div"),i=E("h3"),n=De(t[3]),o=N(),l&&l.c(),u(i,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(r,a){T(r,e,a),m(e,i),m(i,n),m(e,o),l&&l.m(e,null),s=!0},p(r,a){(!s||a&8)&&xe(n,r[3]),r[2]?l?(l.p(r,a),a&4&&d(l,1)):(l=Ns(r),l.c(),d(l,1),l.m(e,null)):l&&(ue(),g(l,1,1,()=>{l=null}),ce())},i(r){s||(d(l),s=!0)},o(r){g(l),s=!1},d(r){r&&S(e),l&&l.d()}}}function Ns(t){let e,i;return e=new ki({props:{click:t[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:K("hotkey_map_modal_close_btn_text"),$$slots:{default:[J0]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.click=n[0]),o&32&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function J0(t){let e,i;return e=new j0({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function x0(t){let e,i,n,o,s,l,r=t[1]&&Rs(t);const a=t[4].default,c=Rn(a,t,t[5],null);return{c(){e=E("div"),i=E("div"),r&&r.c(),n=N(),o=E("div"),s=E("div"),c&&c.c(),u(s,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(i,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,p){T(f,e,p),m(e,i),r&&r.m(i,null),m(i,n),m(i,o),m(o,s),c&&c.m(s,null),l=!0},p(f,[p]){f[1]?r?(r.p(f,p),p&2&&d(r,1)):(r=Rs(f),r.c(),d(r,1),r.m(i,n)):r&&(ue(),g(r,1,1,()=>{r=null}),ce()),c&&c.p&&(!l||p&32)&&zn(c,a,f,f[5],l?Nn(a,f[5],p,null):Dn(f[5]),null)},i(f){l||(d(r),d(c,f),l=!0)},o(f){g(r),g(c,f),l=!1},d(f){f&&S(e),r&&r.d(),c&&c.d(f)}}}function $0(t,e,i){let{$$slots:n={},$$scope:o}=e,{onClose:s}=e,{showHeader:l=!0}=e,{showCloseCross:r=!0}=e,{title:a}=e;return t.$$set=c=>{"onClose"in c&&i(0,s=c.onClose),"showHeader"in c&&i(1,l=c.showHeader),"showCloseCross"in c&&i(2,r=c.showCloseCross),"title"in c&&i(3,a=c.title),"$$scope"in c&&i(5,o=c.$$scope)},[s,l,r,a,n,o]}class ed extends be{constructor(e){super(),ge(this,e,$0,x0,he,{onClose:0,showHeader:1,showCloseCross:2,title:3},X0)}}const td=new Set(["BR"]),zs=t=>{const e=document.createElement("DIV");e.innerHTML=t;const i=e.querySelectorAll("*");let n=i.length;for(;n--;){const o=i[n],s=o.tagName;td.has(s)||o.parentElement?.removeChild(o)}return e.innerHTML};function id(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 Ds(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 Hs(t){let e,i,n=zs(t[9])+"",o,s,l=t[10]+"",r,a;return{c(){e=E("li"),i=E("span"),o=N(),s=E("span"),r=De(l),a=N(),u(i,"class","hot-key-map-item-description v-quklnq"),u(s,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){T(c,e,f),m(e,i),i.innerHTML=n,m(e,o),m(e,s),m(s,r),m(e,a)},p(c,f){f&1&&n!==(n=zs(c[9])+"")&&(i.innerHTML=n),f&1&&l!==(l=c[10]+"")&&xe(r,l)},d(c){c&&S(e)}}}function Fs(t){let e,i,n=t[5]+"",o,s,l,r,a=Dt(t[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Hs(Os(t,a,f));return{c(){e=E("div"),i=E("h5"),o=De(n),s=N(),l=E("ul");for(let f=0;f<c.length;f+=1)c[f].c();r=N(),u(i,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,p){T(f,e,p),m(e,i),m(i,o),m(e,s),m(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);m(e,r)},p(f,p){if(p&1&&n!==(n=f[5]+"")&&xe(o,n),p&1){a=Dt(f[6]);let h;for(h=0;h<a.length;h+=1){const _=Os(f,a,h);c[h]?c[h].p(_,p):(c[h]=Hs(_),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&S(e),vn(c,f)}}}function nd(t){let e,i=Dt(t[0].groups),n=[];for(let o=0;o<i.length;o+=1)n[o]=Fs(Ds(t,i,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,s){T(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,s){if(s&1){i=Dt(o[0].groups);let l;for(l=0;l<i.length;l+=1){const r=Ds(o,i,l);n[l]?n[l].p(r,s):(n[l]=Fs(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function od(t){let e,i;return e=new ed({props:{title:t[0].title,onClose:t[2],$$slots:{default:[nd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.title=n[0].title),o&8193&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ld(t,e,i){let n;const o=mt(),{data:s,show:l}=o.ui.modals.hotKeyMap;return z(t,s,a=>i(0,n=a)),[n,s,()=>{l.set(!1)}]}class sd extends be{constructor(e){super(),ge(this,e,ld,od,he,{},id)}}function rd(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 ad(t){let e,i;const n=t[1].default,o=Rn(n,t,t[0],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(s,l){T(s,e,l),o&&o.m(e,null),i=!0},p(s,[l]){o&&o.p&&(!i||l&1)&&zn(o,n,s,s[0],i?Nn(n,s[0],l,null):Dn(s[0]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s)}}}function ud(t,e,i){let{$$slots:n={},$$scope:o}=e;return t.$$set=s=>{"$$scope"in s&&i(0,o=s.$$scope)},[o,n]}class cd extends be{constructor(e){super(),ge(this,e,ud,ad,he,{},rd)}}function fd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class dd extends be{constructor(e){super(),ge(this,e,null,fd,he,{})}}function md(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class pd extends be{constructor(e){super(),ge(this,e,null,md,he,{})}}function hd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class gd extends be{constructor(e){super(),ge(this,e,null,hd,he,{})}}function bd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(i,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class ru extends be{constructor(e){super(),ge(this,e,null,bd,he,{})}}function _d(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(i,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class au extends be{constructor(e){super(),ge(this,e,null,_d,he,{})}}const _o=t=>{switch(t){case ao.Q_720P:return gd;case ao.Q_1080P:return ru;case ao.Q_1440P:return au;case ao.Q_2160P:return dd;case ao.Q_4320P:return pd}};function vd(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 wd(t){let e,i,n,o,s,l,r=t[1]&&Us(t);return{c(){e=E("div"),r&&r.c(),i=N(),n=R("svg"),o=R("path"),s=R("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(s,"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(s,"fill","#fff"),B(s,"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){T(a,e,c),r&&r.m(e,null),m(e,i),m(e,n),m(n,o),m(n,s),l=!0},p(a,c){a[1]?r?(r.p(a,c),c&2&&d(r,1)):(r=Us(a),r.c(),d(r,1),r.m(e,i)):r&&(ue(),g(r,1,1,()=>{r=null}),ce()),(!l||c&2)&&B(s,"hidden",!!a[1]),(!l||c&4)&&B(e,"triple",a[2])},i(a){l||(d(r),l=!0)},o(a){g(r),l=!1},d(a){a&&S(e),r&&r.d()}}}function kd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}function Us(t){let e,i;return e=new cd({props:{$$slots:{default:[yd]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&18&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function yd(t){let e,i,n;var o=t[1];function s(l){return{}}return o&&(e=Tn(o,s())),{c(){e&&U(e.$$.fragment),i=ut()},m(l,r){e&&O(e,l,r),T(l,i,r),n=!0},p(l,r){if(r&2&&o!==(o=l[1])){if(e){ue();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),ce()}o?(e=Tn(o,s()),U(e.$$.fragment),d(e.$$.fragment,1),O(e,i.parentNode,i)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&S(i),e&&H(e,l)}}}function Cd(t){let e,i,n,o;const s=[kd,wd],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Pd(t,e,i){let n,{isMobile:o=!1}=e,{currentQuality:s=void 0}=e,l;return t.$$set=r=>{"isMobile"in r&&i(0,o=r.isMobile),"currentQuality"in r&&i(3,s=r.currentQuality)},t.$$.update=()=>{t.$$.dirty&8&&i(1,n=_o(s)),t.$$.dirty&2&&i(2,l=!!n&&[ru,au].includes(n))},[o,n,l,s]}class uu extends be{constructor(e){super(),ge(this,e,Pd,Cd,he,{isMobile:0,currentQuality:3},vd)}}function Sd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class cu extends be{constructor(e){super(),ge(this,e,null,Sd,he,{})}}function Td(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(i,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ed extends be{constructor(e){super(),ge(this,e,null,Td,he,{})}}function Id(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(i,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ad extends be{constructor(e){super(),ge(this,e,null,Id,he,{})}}function Ld(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class Vd extends be{constructor(e){super(),ge(this,e,null,Ld,he,{})}}function Md(t){Ze(t,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Bd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(i,"fill",t[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){T(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function Rd(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(i,"fill",t[0]),u(i,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=t[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),B(e,"reverted",t[2])},m(o,s){T(o,e,s),m(e,i)},p(o,s){s&1&&u(i,"fill",o[0]),s&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),s&4&&B(e,"reverted",o[2])},d(o){o&&S(e)}}}function Nd(t){let e;function i(s,l){return s[1]?Rd:Bd}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function zd(t,e,i){let{direction:n="left"}=e,{color:o="#fff"}=e,s,l;return t.$$set=r=>{"direction"in r&&i(3,n=r.direction),"color"in r&&i(0,o=r.color)},t.$$.update=()=>{t.$$.dirty&8&&(i(1,s=["up","down"].includes(n)),i(2,l=["right","down"].includes(n)))},[o,s,l,n]}class Kn extends be{constructor(e){super(),ge(this,e,zd,Nd,he,{direction:3,color:0},Md)}}function Dd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Od extends be{constructor(e){super(),ge(this,e,null,Dd,he,{})}}function Hd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(i,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ro extends be{constructor(e){super(),ge(this,e,null,Hd,he,{})}}function Fd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ud extends be{constructor(e){super(),ge(this,e,null,Fd,he,{})}}function qd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Zd extends be{constructor(e){super(),ge(this,e,null,qd,he,{})}}function Wd(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 qs(t,e,i){const n=t.slice();return n[142]=e[i],n}function Zs(t,e,i){const n=t.slice();return n[145]=e[i],n}function Ws(t,e,i){const n=t.slice();return n[148]=e[i],n}function Ks(t){let e,i,n,o,s,l,r,a,c,f,p,h=t[8]&&js(t),_=t[28]&&Gs(t),b=t[27]&&Qs(t),w=t[26]&&Xs(t),v=t[25]&&Js(t),P=t[24]&&xs(t),k=t[8]&&$s(t);return{c(){e=E("div"),h&&h.c(),i=N(),n=E("ul"),_&&_.c(),o=N(),b&&b.c(),s=N(),w&&w.c(),l=N(),v&&v.c(),r=N(),P&&P.c(),a=N(),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,I){T(y,e,I),h&&h.m(e,null),m(e,i),m(e,n),_&&_.m(n,null),m(n,o),b&&b.m(n,null),m(n,s),w&&w.m(n,null),m(n,l),v&&v.m(n,null),m(n,r),P&&P.m(n,null),m(n,a),k&&k.m(n,null),t[116](n),c=!0,f||(p=[me(e,"keydown",t[79]),me(e,"mouseenter",t[73]),me(e,"mouseleave",t[74])],f=!0)},p(y,I){y[8]?h?h.p(y,I):(h=js(y),h.c(),h.m(e,i)):h&&(h.d(1),h=null),y[28]?_?(_.p(y,I),I[0]&268435456&&d(_,1)):(_=Gs(y),_.c(),d(_,1),_.m(n,o)):_&&(ue(),g(_,1,1,()=>{_=null}),ce()),y[27]?b?(b.p(y,I),I[0]&134217728&&d(b,1)):(b=Qs(y),b.c(),d(b,1),b.m(n,s)):b&&(ue(),g(b,1,1,()=>{b=null}),ce()),y[26]?w?(w.p(y,I),I[0]&67108864&&d(w,1)):(w=Xs(y),w.c(),d(w,1),w.m(n,l)):w&&(ue(),g(w,1,1,()=>{w=null}),ce()),y[25]?v?(v.p(y,I),I[0]&33554432&&d(v,1)):(v=Js(y),v.c(),d(v,1),v.m(n,r)):v&&(ue(),g(v,1,1,()=>{v=null}),ce()),y[24]?P?(P.p(y,I),I[0]&16777216&&d(P,1)):(P=xs(y),P.c(),d(P,1),P.m(n,a)):P&&(ue(),g(P,1,1,()=>{P=null}),ce()),y[8]?k?(k.p(y,I),I[0]&256&&d(k,1)):(k=$s(y),k.c(),d(k,1),k.m(n,null)):k&&(ue(),g(k,1,1,()=>{k=null}),ce()),(!c||I[0]&256)&&B(n,"items-mobile",y[8]),(!c||I[0]&256)&&B(e,"menu-desktop",!y[8]),(!c||I[0]&256)&&B(e,"menu-mobile",y[8]),(!c||I[0]&32768)&&B(e,"hidden",!y[15])},i(y){c||(d(_),d(b),d(w),d(v),d(P),d(k),c=!0)},o(y){g(_),g(b),g(w),g(v),g(P),g(k),c=!1},d(y){y&&S(e),h&&h.d(),_&&_.d(),b&&b.d(),w&&w.d(),v&&v.d(),P&&P.d(),k&&k.d(),t[116](null),f=!1,it(p)}}}function js(t){let e,i,n,o,s,l,r,a;return{c(){e=E("div"),i=E("div"),i.textContent=`${K("submenu_settings")}`,n=N(),o=E("div"),s=N(),l=E("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),B(e,"item-mobile",t[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){T(c,e,f),m(e,i),m(e,n),m(e,o),T(c,s,f),T(c,l,f),r||(a=me(o,"click",nt(t[59])),r=!0)},p(c,f){f[0]&256&&B(e,"item-mobile",c[8])},d(c){c&&(S(e),S(s),S(l)),r=!1,a()}}}function Gs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;n=new uu({});let b=t[36]&&!t[8]&&Ys(t);return{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("menu_quality")}`,l=N(),r=E("div"),a=De(t[20]),c=N(),b&&b.c(),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_quality",{actual:t[30]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(w,v){T(w,e,v),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),b&&b.m(r,null),t[112](e),p=!0,h||(_=[me(e,"click",nt(t[60])),me(e,"keydown",t[80])],h=!0)},p(w,v){(!p||v[0]&1048576)&&xe(a,w[20]),w[36]&&!w[8]?b?(b.p(w,v),v[0]&256|v[1]&32&&d(b,1)):(b=Ys(w),b.c(),d(b,1),b.m(r,null)):b&&(ue(),g(b,1,1,()=>{b=null}),ce()),(!p||v[0]&1073741824&&f!==(f=K("aria_label_menu_quality",{actual:w[30]})))&&u(e,"aria-label",f),(!p||v[0]&256)&&B(e,"item-mobile",w[8])},i(w){p||(d(n.$$.fragment,w),d(b),p=!0)},o(w){g(n.$$.fragment,w),g(b),p=!1},d(w){w&&S(e),H(n),b&&b.d(),t[112](null),h=!1,it(_)}}}function Ys(t){let e,i,n;var o=t[36];function s(l){return{}}return o&&(i=Tn(o,s())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,r){T(l,e,r),i&&O(i,e,null),n=!0},p(l,r){if(r[1]&32&&o!==(o=l[36])){if(i){ue();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),ce()}o?(i=Tn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&H(i)}}}function Qs(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return n=new Vd({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("menu_playback_rate")}`,l=N(),r=E("div"),a=De(t[13]),c=De("x"),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_rate",{actual:t[31]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,w){T(b,e,w),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),m(r,c),t[113](e),p=!0,h||(_=[me(e,"click",nt(Qt(t[64]))),me(e,"keydown",t[83])],h=!0)},p(b,w){(!p||w[0]&8192)&&xe(a,b[13]),(!p||w[1]&1&&f!==(f=K("aria_label_menu_rate",{actual:b[31]})))&&u(e,"aria-label",f),(!p||w[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),H(n),t[113](null),h=!1,it(_)}}}function Xs(t){let e,i,n,o,s,l,r,a=t[37].displayValue+"",c,f,p,h,_;return n=new cu({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("subtitles_caption")}`,l=N(),r=E("div"),c=De(a),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_subtitle",{actual:t[37].displayValue})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(b,w){T(b,e,w),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,c),t[114](e),p=!0,h||(_=[me(e,"click",nt(t[66])),me(e,"keydown",t[86])],h=!0)},p(b,w){(!p||w[1]&64)&&a!==(a=b[37].displayValue+"")&&xe(c,a),(!p||w[1]&64&&f!==(f=K("aria_label_menu_subtitle",{actual:b[37].displayValue})))&&u(e,"aria-label",f),(!p||w[0]&256)&&B(e,"item-mobile",b[8])},i(b){p||(d(n.$$.fragment,b),p=!0)},o(b){g(n.$$.fragment,b),p=!1},d(b){b&&S(e),H(n),t[114](null),h=!1,it(_)}}}function Js(t){let e,i,n,o,s,l,r,a,c,f,p,h;return n=new Ad({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("menu_traffic_saving")}`,l=N(),r=E("div"),a=De(t[29]),u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(r,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=K("aria_label_menu_traffic_saving",{actual:t[29]})),u(e,"aria-haspopup","true"),B(e,"item-mobile",t[8])},m(_,b){T(_,e,b),m(e,i),O(n,i,null),m(e,o),m(e,s),m(e,l),m(e,r),m(r,a),t[115](e),f=!0,p||(h=[me(e,"click",nt(t[61])),me(e,"keydown",t[89])],p=!0)},p(_,b){(!f||b[0]&536870912)&&xe(a,_[29]),(!f||b[0]&536870912&&c!==(c=K("aria_label_menu_traffic_saving",{actual:_[29]})))&&u(e,"aria-label",c),(!f||b[0]&256)&&B(e,"item-mobile",_[8])},i(_){f||(d(n.$$.fragment,_),f=!0)},o(_){g(n.$$.fragment,_),f=!1},d(_){_&&S(e),H(n),t[115](null),p=!1,it(h)}}}function xs(t){let e,i,n,o,s,l,r,a;return n=new Ed({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("download_video_caption")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",K("aria_label_menu_download")),B(e,"item-mobile",t[8])},m(c,f){T(c,e,f),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[me(e,"click",nt(t[69])),me(e,"keydown",t[92])],r=!0)},p(c,f){(!l||f[0]&256)&&B(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),H(n),r=!1,it(a)}}}function $s(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P=t[39].showSupport&&Kd(t);return o=new Ud({}),f=new Zd({}),{c(){P&&P.c(),e=N(),i=E("li"),n=E("div"),U(o.$$.fragment),s=N(),l=E("div"),l.textContent=`${K("menu_copy_debug")}`,r=N(),a=E("li"),c=E("div"),U(f.$$.fragment),p=N(),h=E("div"),h.textContent=`${K("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"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",K("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]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))},m(k,y){P&&P.m(k,y),T(k,e,y),T(k,i,y),m(i,n),O(o,n,null),m(i,s),m(i,l),T(k,r,y),T(k,a,y),m(a,c),O(f,c,null),m(a,p),m(a,h),b=!0,w||(v=[me(i,"click",nt(t[71])),me(i,"keydown",t[94]),me(a,"click",nt(t[72])),me(a,"keydown",t[95])],w=!0)},p(k,y){k[39].showSupport&&P.p(k,y),(!b||y[1]&128&&_!==(_=k[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(k){b||(d(P),d(o.$$.fragment,k),d(f.$$.fragment,k),b=!0)},o(k){g(P),g(o.$$.fragment,k),g(f.$$.fragment,k),b=!1},d(k){k&&(S(e),S(i),S(r),S(a)),P&&P.d(k),H(o),H(f),w=!1,it(v)}}}function Kd(t){let e,i,n,o,s,l,r,a;return n=new Od({}),{c(){e=E("li"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("menu_report")}`,u(i,"class","menu-icon-wrapper v-5r0p3"),u(s,"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",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`)},m(c,f){T(c,e,f),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0,r||(a=[me(e,"click",nt(t[70])),me(e,"keydown",t[93])],r=!0)},p:Z,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&S(e),H(n),r=!1,it(a)}}}function er(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Kn({props:{direction:"left"}});let _=Dt(t[12]),b=[];for(let v=0;v<_.length;v+=1)b[v]=nr(Ws(t,_,v));const w=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("submenu_quality")}`,l=N(),r=E("div"),a=N(),c=E("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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(v,P){T(v,e,P),m(e,i),O(n,i,null),m(i,o),m(i,s),t[117](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let k=0;k<b.length;k+=1)b[k]&&b[k].m(c,null);t[120](c),f=!0,p||(h=[me(i,"click",nt(t[68])),me(c,"keydown",t[81])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&4352|P[2]&1048577){_=Dt(v[12]);let k;for(k=0;k<_.length;k+=1){const y=Ws(v,_,k);b[k]?(b[k].p(y,P),d(b[k],1)):(b[k]=nr(y),b[k].c(),d(b[k],1),b[k].m(c,null))}for(ue(),k=_.length;k<b.length;k+=1)w(k);ce()}(!f||P[0]&2097152)&&u(c,"style",v[21]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),H(n),t[117](null),vn(b,v),t[120](null),p=!1,it(h)}}}function tr(t){let e,i,n;return i=new Ro({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function ir(t){let e,i,n;var o=_o(t[148].value);function s(l){return{}}return o&&(i=Tn(o,s())),{c(){e=E("div"),i&&U(i.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,r){T(l,e,r),i&&O(i,e,null),n=!0},p(l,r){if(r[0]&4096&&o!==(o=_o(l[148].value))){if(i){ue();const a=i;g(a.$$.fragment,1,0,()=>{H(a,1)}),ce()}o?(i=Tn(o,s()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,null)):i=null}},i(l){n||(i&&d(i.$$.fragment,l),n=!0)},o(l){i&&g(i.$$.fragment,l),n=!1},d(l){l&&S(e),i&&H(i)}}}function nr(t){let e,i,n,o=t[148].displayValue+"",s,l,r=!t[8]&&_o(t[148].value),a,c,f,p,h,_,b=t[148].selected&&tr(),w=r&&ir(t);function v(){return t[118](t[148])}function P(...k){return t[119](t[148],...k)}return{c(){e=E("li"),b&&b.c(),i=N(),n=E("div"),s=De(o),l=N(),w&&w.c(),a=N(),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){T(k,e,y),b&&b.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),w&&w.m(e,null),m(e,a),p=!0,h||(_=[me(e,"click",nt(v)),me(e,"keydown",P)],h=!0)},p(k,y){t=k,t[148].selected?b?y[0]&4096&&d(b,1):(b=tr(),b.c(),d(b,1),b.m(e,i)):b&&(ue(),g(b,1,1,()=>{b=null}),ce()),(!p||y[0]&4096)&&o!==(o=t[148].displayValue+"")&&xe(s,o),(!p||y[0]&256)&&B(n,"quality-title-mobile",t[8]),y[0]&4352&&(r=!t[8]&&_o(t[148].value)),r?w?(w.p(t,y),y[0]&4352&&d(w,1)):(w=ir(t),w.c(),d(w,1),w.m(e,a)):w&&(ue(),g(w,1,1,()=>{w=null}),ce()),(!p||y[0]&4096&&c!==(c=t[148].value))&&u(e,"data-value",c),(!p||y[0]&4096&&f!==(f=t[148].displayValue))&&u(e,"aria-label",f),(!p||y[0]&256)&&B(e,"item-mobile",t[8])},i(k){p||(d(b),d(w),p=!0)},o(k){g(b),g(w),p=!1},d(k){k&&S(e),b&&b.d(),w&&w.d(),h=!1,it(_)}}}function or(t){let e,i,n,o,s,l,r,a,c,f,p,h;n=new Kn({props:{direction:"left"}});let _=Dt(t[11]),b=[];for(let v=0;v<_.length;v+=1)b[v]=sr(Zs(t,_,v));const w=v=>g(b[v],1,1,()=>{b[v]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("submenu_playback_rate")}`,l=N(),r=E("div"),a=N(),c=E("ul");for(let v=0;v<b.length;v+=1)b[v].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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(v,P){T(v,e,P),m(e,i),O(n,i,null),m(i,o),m(i,s),t[121](i),m(e,l),m(e,r),m(e,a),m(e,c);for(let k=0;k<b.length;k+=1)b[k]&&b[k].m(c,null);t[124](c),f=!0,p||(h=[me(i,"click",nt(t[68])),me(c,"keydown",t[84])],p=!0)},p(v,P){if((!f||P[0]&256)&&B(i,"item-mobile",v[8]),P[0]&2304|P[2]&8388616){_=Dt(v[11]);let k;for(k=0;k<_.length;k+=1){const y=Zs(v,_,k);b[k]?(b[k].p(y,P),d(b[k],1)):(b[k]=sr(y),b[k].c(),d(b[k],1),b[k].m(c,null))}for(ue(),k=_.length;k<b.length;k+=1)w(k);ce()}(!f||P[0]&4194304)&&u(c,"style",v[22]),(!f||P[0]&256)&&B(c,"items-mobile",v[8]),(!f||P[0]&256)&&B(e,"menu-desktop",!v[8]),(!f||P[0]&256)&&B(e,"menu-mobile",v[8])},i(v){if(!f){d(n.$$.fragment,v);for(let P=0;P<_.length;P+=1)d(b[P]);f=!0}},o(v){g(n.$$.fragment,v),b=b.filter(Boolean);for(let P=0;P<b.length;P+=1)g(b[P]);f=!1},d(v){v&&S(e),H(n),t[121](null),vn(b,v),t[124](null),p=!1,it(h)}}}function lr(t){let e,i,n;return i=new Ro({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function sr(t){let e,i,n,o=t[145].displayValue+"",s,l,r,a,c,f,p,h=t[145].selected&&lr();function _(){return t[122](t[145])}function b(...w){return t[123](t[145],...w)}return{c(){e=E("li"),h&&h.c(),i=N(),n=E("div"),s=De(o),l=N(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=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,v){T(w,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[me(e,"click",nt(_)),me(e,"keydown",b)],f=!0)},p(w,v){t=w,t[145].selected?h?v[0]&2048&&d(h,1):(h=lr(),h.c(),d(h,1),h.m(e,i)):h&&(ue(),g(h,1,1,()=>{h=null}),ce()),(!c||v[0]&2048)&&o!==(o=t[145].displayValue+"")&&xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&2048&&r!==(r=t[145].value))&&u(e,"data-value",r),(!c||v[0]&2048&&a!==(a=t[145].displayValue))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,it(p)}}}function rr(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie;n=new Kn({props:{direction:"left"}});let L=!t[9]&&ar(),V=t[9]&&ur();return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("submenu_traffic_saving")}`,l=N(),r=E("div"),a=N(),c=E("ul"),f=E("li"),L&&L.c(),p=N(),h=E("div"),h.textContent=`${K("traffic_saving_disable")}`,_=N(),b=E("li"),V&&V.c(),w=N(),v=E("div"),v.textContent=`${K("traffic_saving_enable")}`,P=N(),k=E("div"),y=N(),I=E("div"),ne=E("span"),ne.textContent=`${K("traffic_saving_helper_text")}`,u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"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",K("aria_label_submenu_traffic_saving_off")),B(f,"item-mobile",t[8]),u(v,"class","v-5r0p3"),B(v,"quality-title-mobile",t[8]),u(b,"class","item item-traffic-saving v-5r0p3"),u(b,"role","menuitem"),u(b,"tabindex","0"),u(b,"aria-label",`${K("aria_label_submenu_traffic_saving_on")}. ${K("traffic_saving_helper_text")}`),B(b,"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(ne,"class","v-5r0p3"),u(I,"class","item item-helper-text v-5r0p3"),B(I,"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(x,Y){T(x,e,Y),m(e,i),O(n,i,null),m(i,o),m(i,s),t[125](i),m(e,l),m(e,r),m(e,a),m(e,c),m(c,f),L&&L.m(f,null),m(f,p),m(f,h),m(c,_),m(c,b),V&&V.m(b,null),m(b,w),m(b,v),t[130](c),m(e,P),m(e,k),m(e,y),m(e,I),m(I,ne),M=!0,W||(ie=[me(i,"click",nt(t[68])),me(f,"click",nt(t[126])),me(f,"keydown",t[127]),me(b,"click",nt(t[128])),me(b,"keydown",t[129]),me(c,"keydown",t[90])],W=!0)},p(x,Y){(!M||Y[0]&256)&&B(i,"item-mobile",x[8]),x[9]?L&&(ue(),g(L,1,1,()=>{L=null}),ce()):L?Y[0]&512&&d(L,1):(L=ar(),L.c(),d(L,1),L.m(f,p)),(!M||Y[0]&256)&&B(h,"quality-title-mobile",x[8]),(!M||Y[0]&256)&&B(f,"item-mobile",x[8]),x[9]?V?Y[0]&512&&d(V,1):(V=ur(),V.c(),d(V,1),V.m(b,w)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),(!M||Y[0]&256)&&B(v,"quality-title-mobile",x[8]),(!M||Y[0]&256)&&B(b,"item-mobile",x[8]),(!M||Y[0]&8388608)&&u(c,"style",x[23]),(!M||Y[0]&256)&&B(c,"items-mobile",x[8]),(!M||Y[0]&256)&&B(I,"item-mobile",x[8]),(!M||Y[0]&256)&&B(e,"menu-desktop",!x[8]),(!M||Y[0]&256)&&B(e,"menu-mobile",x[8])},i(x){M||(d(n.$$.fragment,x),d(L),d(V),M=!0)},o(x){g(n.$$.fragment,x),g(L),g(V),M=!1},d(x){x&&S(e),H(n),t[125](null),L&&L.d(),V&&V.d(),t[130](null),W=!1,it(ie)}}}function ar(t){let e,i,n;return i=new Ro({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function ur(t){let e,i,n;return i=new Ro({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function cr(t){let e,i,n,o,s,l,r,a,c,f;n=new Kn({props:{direction:"left"}});let p=Dt(t[10]),h=[];for(let b=0;b<p.length;b+=1)h[b]=dr(qs(t,p,b));const _=b=>g(h[b],1,1,()=>{h[b]=null});return{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("div"),s.textContent=`${K("subtitles_caption")}`,l=N(),r=E("ul");for(let b=0;b<h.length;b+=1)h[b].c();u(i,"class","item menu-header v-5r0p3"),u(i,"aria-label",K("aria_label_submenu_back")),B(i,"item-mobile",t[8]),u(r,"class","items v-5r0p3"),u(r,"role","menu"),B(r,"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(b,w){T(b,e,w),m(e,i),O(n,i,null),m(i,o),m(i,s),m(e,l),m(e,r);for(let v=0;v<h.length;v+=1)h[v]&&h[v].m(r,null);t[133](r),a=!0,c||(f=[me(i,"click",nt(t[68])),me(r,"keydown",t[87])],c=!0)},p(b,w){if((!a||w[0]&256)&&B(i,"item-mobile",b[8]),w[0]&1280|w[2]&67108896){p=Dt(b[10]);let v;for(v=0;v<p.length;v+=1){const P=qs(b,p,v);h[v]?(h[v].p(P,w),d(h[v],1)):(h[v]=dr(P),h[v].c(),d(h[v],1),h[v].m(r,null))}for(ue(),v=p.length;v<h.length;v+=1)_(v);ce()}(!a||w[0]&256)&&B(r,"items-mobile",b[8]),(!a||w[0]&256)&&B(e,"menu-desktop",!b[8]),(!a||w[0]&256)&&B(e,"menu-mobile",b[8])},i(b){if(!a){d(n.$$.fragment,b);for(let w=0;w<p.length;w+=1)d(h[w]);a=!0}},o(b){g(n.$$.fragment,b),h=h.filter(Boolean);for(let w=0;w<h.length;w+=1)g(h[w]);a=!1},d(b){b&&S(e),H(n),vn(h,b),t[133](null),c=!1,it(f)}}}function fr(t){let e,i,n;return i=new Ro({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,s){T(o,e,s),O(i,e,null),n=!0},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function dr(t){let e,i,n,o=t[142].displayValue+"",s,l,r,a,c,f,p,h=t[142].selected&&fr();function _(){return t[131](t[142])}function b(...w){return t[132](t[142],...w)}return{c(){e=E("li"),h&&h.c(),i=N(),n=E("div"),s=De(o),l=N(),u(n,"class","v-5r0p3"),B(n,"quality-title-mobile",t[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",r=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,v){T(w,e,v),h&&h.m(e,null),m(e,i),m(e,n),m(n,s),m(e,l),c=!0,f||(p=[me(e,"click",nt(_)),me(e,"keydown",b)],f=!0)},p(w,v){t=w,t[142].selected?h?v[0]&1024&&d(h,1):(h=fr(),h.c(),d(h,1),h.m(e,i)):h&&(ue(),g(h,1,1,()=>{h=null}),ce()),(!c||v[0]&1024)&&o!==(o=t[142].displayValue+"")&&xe(s,o),(!c||v[0]&256)&&B(n,"quality-title-mobile",t[8]),(!c||v[0]&1024&&r!==(r=t[142].value))&&u(e,"data-value",r),(!c||v[0]&1024&&a!==(a=t[142].displayValue))&&u(e,"aria-label",a),(!c||v[0]&256)&&B(e,"item-mobile",t[8])},i(w){c||(d(h),c=!0)},o(w){g(h),c=!1},d(w){w&&S(e),h&&h.d(),f=!1,it(p)}}}function jd(t){let e,i,n,o,s,l,r=t[14]&&Ks(t),a=t[16]&&er(t),c=t[17]&&or(t),f=t[19]&&rr(t),p=t[18]&&cr(t);return{c(){e=E("div"),r&&r.c(),i=N(),a&&a.c(),n=N(),c&&c.c(),o=N(),f&&f.c(),s=N(),p&&p.c(),u(e,"class","v-5r0p3"),B(e,"hidden",!t[14]),B(e,"container-mobile",t[8])},m(h,_){T(h,e,_),r&&r.m(e,null),m(e,i),a&&a.m(e,null),m(e,n),c&&c.m(e,null),m(e,o),f&&f.m(e,null),m(e,s),p&&p.m(e,null),l=!0},p(h,_){h[14]?r?(r.p(h,_),_[0]&16384&&d(r,1)):(r=Ks(h),r.c(),d(r,1),r.m(e,i)):r&&(ue(),g(r,1,1,()=>{r=null}),ce()),h[16]?a?(a.p(h,_),_[0]&65536&&d(a,1)):(a=er(h),a.c(),d(a,1),a.m(e,n)):a&&(ue(),g(a,1,1,()=>{a=null}),ce()),h[17]?c?(c.p(h,_),_[0]&131072&&d(c,1)):(c=or(h),c.c(),d(c,1),c.m(e,o)):c&&(ue(),g(c,1,1,()=>{c=null}),ce()),h[19]?f?(f.p(h,_),_[0]&524288&&d(f,1)):(f=rr(h),f.c(),d(f,1),f.m(e,s)):f&&(ue(),g(f,1,1,()=>{f=null}),ce()),h[18]?p?(p.p(h,_),_[0]&262144&&d(p,1)):(p=cr(h),p.c(),d(p,1),p.m(e,null)):p&&(ue(),g(p,1,1,()=>{p=null}),ce()),(!l||_[0]&16384)&&B(e,"hidden",!h[14]),(!l||_[0]&256)&&B(e,"container-mobile",h[8])},i(h){l||(d(r),d(a),d(c),d(f),d(p),l=!0)},o(h){g(r),g(a),g(c),g(f),g(p),l=!1},d(h){h&&S(e),r&&r.d(),a&&a.d(),c&&c.d(),f&&f.d(),p&&p.d()}}}const wl=18;function Gd(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,{ref:x=void 0}=e,{supportLink:Y}=e,{playerControlsHeight:oe=0}=e,{returnFocus:j}=e;const C=mt(),G=an(),D=C.state.currentQuality$;z(t,D,te=>i(103,w=te));const ee=C.state.availableQualities$;z(t,ee,te=>i(12,_=te));const Te=C.state.autoQualityLimitingAvailable$;z(t,Te,te=>i(107,y=te));const Re=C.state.isAutoQualityEnabled$;z(t,Re,te=>i(104,v=te));const Be=C.state.currentPlaybackRate$;z(t,Be,te=>i(13,b=te));const ze=C.state.availablePlaybackRates$;z(t,ze,te=>i(11,p=te));const _e=C.state.currentSubtitle$;z(t,_e,te=>i(37,L=te));const we=C.state.availableSubtitlesList$;z(t,we,te=>i(10,c=te));const Q=C.state.canDownload,$=C.state.hasMpegSources$;z(t,$,te=>i(108,I=te));const ke=C.ui.settingsMenuVisible;z(t,ke,te=>i(14,ie=te));const se=C.ui.settingsMenuOpenedByKeyboard;z(t,se,te=>i(135,o=te));const We=C.ui.isMobile;z(t,We,te=>i(8,s=te));const Ae=C.ui.mobileNotReportControlHidden$;z(t,Ae,te=>i(105,P=te));const Ie=C.state.canChangePlaybackSpeed$;z(t,Ie,te=>i(106,k=te));const ae=C.ui.isFullscreen;z(t,ae,te=>i(111,W=te));const Ce=C.state.trafficSavingEnabled$;z(t,Ce,te=>i(9,r=te));const pe=C.ui.playerSize;z(t,pe,te=>i(110,M=te));const le=C.ui.debugPanelVisible;z(t,le,te=>i(38,V=te));const Me=C.ui.playerSize;z(t,Me,te=>i(109,ne=te));const de=C.state.isInteractiveTime$,ye=C.actions.internal.downloadVideo,Pe=C.actions.internal.closeSettingsMenu;let je=!0,tt=!1,Je=!1,Ye=!1,et=!1,Et=!1;function pt(){o||j?.(),Pe(),Et=!1}function Oe(){i(15,je=!1),i(16,tt=!0)}function yt(){i(15,je=!1),i(19,et=!0)}function Xt(te){C.actions.internal.setQuality(te),pt()}function fe(te){C.actions.internal.setTrafficSavingEnabled(te),pt()}function gt(){i(15,je=!1),i(17,Je=!0)}function rt(te){C.actions.internal.setPlaybackRate(te),pt()}function Jt(){i(15,je=!1),i(18,Ye=!0)}function at(te){C.actions.internal.setSubtitle(te),pt()}function _t(){i(15,je=!0),i(16,tt=!1),i(17,Je=!1),i(18,Ye=!1),i(19,et=!1)}function ui(){ye(),pt()}function Ot(){window.open(Y,"_blank"),pt(),C.actions.internal.pause()}function ci(){Ll(C.actions.internal.getDebugTextData()),pt()}function Zi(){le.set(!0),pt()}function fi(){Et=!0}function yi(){Et=!1}function Ji(te,ot,si){if(!te)return"...";const Qi=ot.find(tn=>tn.value===te),wt=Qi?Qi.displayValue:te;return si?te===ao.INVARIANT?K("auto_quality_invariant"):K("auto_quality",{actual:wt}):wt}let di,mi,Ci,It,xt,Pi,$t,Si,pi,Ht,zi,Pt,Ft,Ti,Di,St,ei,ti=Ve(!1);z(t,ti,te=>i(102,h=te));let hi,vt,At=Ve(!1);z(t,At,te=>i(101,f=te));let gi,bt,Ei=Ve(!1);z(t,Ei,te=>i(100,a=te));let Ii,Ct,Ut=Ve(!1);z(t,Ut,te=>i(99,l=te));const Wi=te=>{eu(te,Pe)},qt=async te=>{jo(te,Oe,()=>{const ot=_.findIndex(si=>si.selected);return ei.childNodes[ot]})},xi=async te=>{Go(te,_t,ti,Pe)},ii=(te,ot)=>{Xi(te,()=>Xt(ot))},Bt=async te=>{jo(te,gt,()=>{const ot=p.findIndex(si=>si.selected);return vt.childNodes[ot]})},Rt=async te=>{Go(te,_t,At,Pe)},bi=(te,ot)=>{Xi(te,()=>rt(ot))},Lt=async te=>{jo(te,Jt,()=>{const ot=c.findIndex(si=>si.selected);return bt.childNodes[ot]})},Ki=async te=>{Go(te,_t,Ei,Pe)},ji=(te,ot)=>{Xi(te,()=>at(ot))},Ai=async te=>{jo(te,yt,()=>{const ot=r?2:0;return Ct.childNodes[ot]})},_i=async te=>{Go(te,_t,Ut,Pe)},ht=(te,ot)=>{Xi(te,()=>fe(ot))},Oi=te=>{Xi(te,()=>ui())},Hi=te=>{Xi(te,()=>Ot())},Li=te=>{Xi(te,()=>ci())},Vi=te=>{Xi(te,()=>Zi())};rn(()=>{const te=de.subscribe(ot=>{ot&&!s&&!Et&&!o&&pt()});return()=>{te()}});function Mi(te){ve[te?"unshift":"push"](()=>{St=te,i(4,St)})}function Fi(te){ve[te?"unshift":"push"](()=>{hi=te,i(5,hi)})}function ni(te){ve[te?"unshift":"push"](()=>{gi=te,i(6,gi)})}function vi(te){ve[te?"unshift":"push"](()=>{Ii=te,i(7,Ii)})}function oi(te){ve[te?"unshift":"push"](()=>{x=te,i(0,x)})}function Zt(te){ve[te?"unshift":"push"](()=>{mi=te,i(1,mi)})}const Le=te=>Xt(te.value),Ui=(te,ot)=>ii(ot,te.value);function wi(te){ve[te?"unshift":"push"](()=>{ei=te,i(32,ei)})}function He(te){ve[te?"unshift":"push"](()=>{Ci=te,i(2,Ci)})}const Gi=te=>rt(te.value),Wt=(te,ot)=>bi(ot,te.value);function nn(te){ve[te?"unshift":"push"](()=>{vt=te,i(33,vt)})}function li(te){ve[te?"unshift":"push"](()=>{It=te,i(3,It)})}const $i=()=>fe(!1),Kt=te=>ht(te,!1),Bi=()=>fe(!0),on=te=>ht(te,!0);function en(te){ve[te?"unshift":"push"](()=>{Ct=te,i(35,Ct)})}const Yi=te=>at(te),qi=(te,ot)=>ji(ot,te);function Nt(te){ve[te?"unshift":"push"](()=>{bt=te,i(34,bt)})}return t.$$set=te=>{"ref"in te&&i(0,x=te.ref),"supportLink"in te&&i(96,Y=te.supportLink),"playerControlsHeight"in te&&i(97,oe=te.playerControlsHeight),"returnFocus"in te&&i(98,j=te.returnFocus)},t.$$.update=()=>{if(t.$$.dirty[0]&16384&&ie&&(i(15,je=!0),i(16,tt=!1),i(17,Je=!1),i(18,Ye=!1),i(19,et=!1)),t.$$.dirty[3]&1024&&i(36,n=_o(w)),t.$$.dirty[0]&4096|t.$$.dirty[3]&3072&&i(20,di=Ji(w,_,v)),t.$$.dirty[0]&258|t.$$.dirty[3]&458768)if(s&&W)i(21,xt=`max-height: ${Math.round(M.height*.6)}px`);else if(s)i(21,xt="");else{const te=ne.height-wl-(mi?.clientHeight??0)-oe;i(21,xt=`max-height: ${te}px; overflow: auto;`)}if(t.$$.dirty[0]&260|t.$$.dirty[3]&65552)if(s)i(22,Pi="");else{const te=ne.height-wl-(Ci?.clientHeight??0)-oe;i(22,Pi=`max-height: ${te}px; overflow: auto;`)}if(t.$$.dirty[0]&264|t.$$.dirty[3]&65552)if(s)i(23,$t="");else{const te=ne.height-wl-(It?.clientHeight??0)-oe;i(23,$t=`max-height: ${te}px; overflow: auto;`)}t.$$.dirty[3]&36864&&i(24,Si=Q&&I&&!P),t.$$.dirty[3]&20480&&i(25,pi=G.features.trafficSaving&&!P&&y),t.$$.dirty[0]&1024|t.$$.dirty[3]&4096&&i(26,Ht=c.length>0&&!P),t.$$.dirty[3]&12288&&i(27,zi=!!k&&!P),t.$$.dirty[3]&4096&&i(28,Pt=!P),t.$$.dirty[0]&512&&i(29,Ft=K(r?"traffic_saving_on":"traffic_saving_off")),t.$$.dirty[3]&3072&&i(30,Ti=v?K("auto_quality_option"):w),t.$$.dirty[0]&10240&&i(31,Di=p.find(te=>te.value===b)?.displayValue),t.$$.dirty[0]&16|t.$$.dirty[3]&512&&Ko(St,ti,h),t.$$.dirty[0]&32|t.$$.dirty[3]&256&&Ko(hi,At,f),t.$$.dirty[0]&64|t.$$.dirty[3]&128&&Ko(gi,Ei,a),t.$$.dirty[0]&128|t.$$.dirty[3]&64&&Ko(Ii,Ut,l)},[x,mi,Ci,It,St,hi,gi,Ii,s,r,c,p,_,b,ie,je,tt,Je,Ye,et,di,xt,Pi,$t,Si,pi,Ht,zi,Pt,Ft,Ti,Di,ei,vt,bt,Ct,n,L,V,G,D,ee,Te,Re,Be,ze,_e,we,$,ke,se,We,Ae,Ie,ae,Ce,pe,le,Me,pt,Oe,yt,Xt,fe,gt,rt,Jt,at,_t,ui,Ot,ci,Zi,fi,yi,ti,At,Ei,Ut,Wi,qt,xi,ii,Bt,Rt,bi,Lt,Ki,ji,Ai,_i,ht,Oi,Hi,Li,Vi,Y,oe,j,l,a,f,h,w,v,P,k,y,I,ne,M,W,Mi,Fi,ni,vi,oi,Zt,Le,Ui,wi,He,Gi,Wt,nn,li,$i,Kt,Bi,on,en,Yi,qi,Nt]}class fu extends be{constructor(e){super(),ge(this,e,Gd,jd,he,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Wd,[-1,-1,-1,-1,-1])}}function Yd(t){Ze(t,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Qd(t){let e,i,n;return i=new uu({props:{isMobile:t[3],currentQuality:t[4]}}),{c(){e=E("span"),U(i.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s&8&&(l.isMobile=o[3]),s&16&&(l.currentQuality=o[4]),i.$set(l)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Xd(t){let e,i,n;function o(l){t[9](l)}let s={className:t[1]?"opened":"",testId:"btn-settings",click:t[8],ariaLabel:t[2],ariaExpanded:t[1],$$slots:{default:[Qd]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"opened":""),r&4&&(a.ariaLabel=l[2]),r&2&&(a.ariaExpanded=l[1]),r&4120&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Jd(t,e,i){let n,o,s,{ref:l=void 0}=e;const r=mt(),a=r.state.currentQuality$;z(t,a,w=>i(4,s=w));const c=r.ui.settingsMenuVisible;z(t,c,w=>i(1,n=w));const f=r.actions.internal.toggleSettingsMenu,p=r.ui.isMobile;z(t,p,w=>i(3,o=w));let h;function _(w){const v=Fl(w);f(v)}function b(w){l=w,i(0,l)}return t.$$set=w=>{"ref"in w&&i(0,l=w.ref)},t.$$.update=()=>{t.$$.dirty&2&&i(2,h=K(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,s,a,c,p,_,b]}class Wl extends be{constructor(e){super(),ge(this,e,Jd,Xd,he,{ref:0},Yd)}}function xd(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(i,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class $d extends be{constructor(e){super(),ge(this,e,null,xd,he,{})}}function e2(t){let e,i;return e=new cu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t2(t){let e,i;return e=new $d({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function i2(t){let e,i,n,o;const s=[t2,e2],l=[];function r(a,c){return a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e!==f&&(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i||(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function n2(t){let e,i;return e=new ki({props:{testId:"btn-Subtitles",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Bo[Ee.KeyC],$$slots:{default:[i2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function o2(t,e,i){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,s;return t.$$set=l=>{"isSubtitlesEnabled"in l&&i(0,n=l.isSubtitlesEnabled),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=K(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,s]}class l2 extends be{constructor(e){super(),ge(this,e,o2,n2,he,{isSubtitlesEnabled:0,click:1})}}function s2(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 mr(t){let e,i;return{c(){e=E("span"),i=De(t[3]),u(e,"class","duration v-19o2urr")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&8&&xe(i,n[3])},d(n){n&&S(e)}}}function r2(t){let e,i,n,o,s=t[2]&&mr(t);return{c(){e=E("div"),i=E("span"),n=De(t[4]),o=N(),s&&s.c(),u(i,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),B(e,"mobile",t[1])},m(l,r){T(l,e,r),m(e,i),m(i,n),m(e,o),s&&s.m(e,null),t[7](e)},p(l,[r]){r&16&&xe(n,l[4]),l[2]?s?s.p(l,r):(s=mr(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&2&&B(e,"mobile",l[1])},i:Z,o:Z,d(l){l&&S(e),s&&s.d(),t[7](null)}}}function a2(t,e,i){let{isMobile:n=!1}=e,{duration:o}=e,{position:s}=e,{showDuration:l=!0}=e,{ref:r}=e,a,c;function f(p){ve[p?"unshift":"push"](()=>{r=p,i(0,r)})}return t.$$set=p=>{"isMobile"in p&&i(1,n=p.isMobile),"duration"in p&&i(5,o=p.duration),"position"in p&&i(6,s=p.position),"showDuration"in p&&i(2,l=p.showDuration),"ref"in p&&i(0,r=p.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,a=Bn(o)),t.$$.dirty&64&&i(4,c=Bn(s))},[r,n,l,a,c,o,s,f]}class du extends be{constructor(e){super(),ge(this,e,a2,r2,he,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},s2)}}function u2(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 c2(t){let e,i,n,o,s,l;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(s,"class","cross v-1n5yyua"),u(s,"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",l="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(r,a){T(r,e,a),m(e,i),m(i,n),m(i,o),m(i,s)},p(r,[a]){a&1&&u(e,"data-value",r[0]),a&1&&l!==(l="volume-"+r[0]+"-icon")&&u(e,"data-testid",l)},i:Z,o:Z,d(r){r&&S(e)}}}function f2(t,e,i){let{volume:n=1}=e,{muted:o=!1}=e;const s=(r,a)=>a?"off":r>.5?"max":r>.2?"mid":r>0?"min":"off";let l;return t.$$set=r=>{"volume"in r&&i(1,n=r.volume),"muted"in r&&i(2,o=r.muted)},t.$$.update=()=>{t.$$.dirty&6&&i(0,l=s(n,o))},[l,n,o]}class sl extends be{constructor(e){super(),ge(this,e,f2,c2,he,{volume:1,muted:2},u2)}}function d2(t){let e,i;const n=t[4].default,o=Rn(n,t,t[3],null);return{c(){e=E("div"),o&&o.c(),u(e,"class","overlay")},m(s,l){T(s,e,l),o&&o.m(e,null),t[5](e),i=!0},p(s,[l]){o&&o.p&&(!i||l&8)&&zn(o,n,s,s[3],i?Nn(n,s[3],l,null):Dn(s[3]),null)},i(s){i||(d(o,s),i=!0)},o(s){g(o,s),i=!1},d(s){s&&S(e),o&&o.d(s),t[5](null)}}}function m2(t,e,i){let n,{$$slots:o={},$$scope:s}=e;const r=mt().ui.overlayContainer$;z(t,r,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)};rn(()=>(f(n),()=>c(n)));function p(h){ve[h?"unshift":"push"](()=>{a=h,i(0,a)})}return t.$$set=h=>{"$$scope"in h&&i(3,s=h.$$scope)},t.$$.update=()=>{t.$$.dirty&4&&f(n)},[a,r,n,s,o,p]}class p2 extends be{constructor(e){super(),ge(this,e,m2,d2,he,{})}}function h2(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 pr(t){let e,i;return e=new p2({props:{$$slots:{default:[g2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&262387&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function g2(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("div"),n=De(t[1]),o=N(),s=E("div"),u(i,"class","content v-1jbbzcj"),u(s,"class","tooltip-pointer v-1jbbzcj"),u(s,"style",l=`transform: translate(${t[5]}px, ${t[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",r=`transform: translate(${t[6]}px, ${t[7]}px);`),B(e,"active",t[0])},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),t[17](e)},p(a,c){c&2&&xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(s,"style",l),c&192&&r!==(r=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",r),c&1&&B(e,"active",a[0])},d(a){a&&S(e),t[17](null)}}}function b2(t){let e,i,n,o,s,l;const r=t[15].default,a=Rn(r,t,t[18],null);let c=t[1]&&pr(t);return{c(){e=E("div"),a&&a.c(),i=N(),c&&c.c(),n=ut(),u(e,"class","tooltip-wrapper v-1jbbzcj"),B(e,"full-width",t[2])},m(f,p){T(f,e,p),a&&a.m(e,null),t[16](e),T(f,i,p),c&&c.m(f,p),T(f,n,p),o=!0,s||(l=[me(e,"mouseenter",t[11]),me(e,"mousemove",t[11]),me(e,"mouseleave",t[12]),me(e,"mousedown",t[12]),me(e,"mouseup",t[11])],s=!0)},p(f,[p]){a&&a.p&&(!o||p&262144)&&zn(a,r,f,f[18],o?Nn(r,f[18],p,null):Dn(f[18]),null),(!o||p&4)&&B(e,"full-width",f[2]),f[1]?c?(c.p(f,p),p&2&&d(c,1)):(c=pr(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(ue(),g(c,1,1,()=>{c=null}),ce())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(S(e),S(i),S(n)),a&&a.d(f),t[16](null),c&&c.d(f),s=!1,it(l)}}}const Yo=5;function _2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{content:r=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:p=!1}=e,h,_,b,w=0,v=Yo,P=0,k=0;const y=an(),I=mt(),ne=I.ui.playerSize;z(t,ne,C=>i(21,o=C));const M=I.ui.overlayContainer$;z(t,M,C=>i(20,n=C));const W=I.getLogger().createComponentLog("Tooltip component"),ie=()=>{if(!n)return;const C=n.getBoundingClientRect(),G=h.getBoundingClientRect(),D=G.width,ee=_.clientWidth,Te=o.width,Re=(D-ee)/2,Be=G.left+c-C.left;let ze=Be+Re;const _e=G.top+f-C.top;let we=ee/2-Yo;const Q=ze<qo,$=ze+ee>Te-qo;Q&&(ze=qo,we=Be+G.width/2-2.5*Yo),$&&(ze=Te-qo-ee,we=G.left-C.left+G.width/2-ze-Yo),i(6,P=ze),i(7,k=_e),i(5,w=we)},L=()=>{try{if(!n||!h)return;ie(),i(0,a=!0)}catch(C){W({message:String(C)})}},V=()=>{i(0,a=!1)},x=()=>{_&&(b||(b=window.setTimeout(L,y.controls.hideTimeoutTooltips)),a&&L())},Y=()=>{V(),window.clearTimeout(b),b=void 0};ol(()=>window.clearTimeout(b));function oe(C){ve[C?"unshift":"push"](()=>{h=C,i(3,h)})}function j(C){ve[C?"unshift":"push"](()=>{_=C,i(4,_)})}return t.$$set=C=>{"content"in C&&i(1,r=C.content),"active"in C&&i(0,a=C.active),"translateX"in C&&i(13,c=C.translateX),"translateY"in C&&i(14,f=C.translateY),"isFullWidthWrapper"in C&&i(2,p=C.isFullWidthWrapper),"$$scope"in C&&i(18,l=C.$$scope)},[a,r,p,h,_,w,P,k,v,ne,M,x,Y,c,f,s,oe,j,l]}class mu extends be{constructor(e){super(),ge(this,e,_2,b2,he,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},h2)}}function v2(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 w2(t){let e;const i=t[16].default,n=Rn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&zn(n,i,o,o[21],e?Nn(i,o[21],s,null):Dn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function k2(t){let e,i;return e=new mu({props:{content:t[9],translateX:t[7],translateY:t[8],isFullWidthWrapper:t[4],$$slots:{default:[y2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&512&&(s.content=n[9]),o&128&&(s.translateX=n[7]),o&256&&(s.translateY=n[8]),o&16&&(s.isFullWidthWrapper=n[4]),o&2097152&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function y2(t){let e;const i=t[16].default,n=Rn(i,t,t[21],null);return{c(){n&&n.c()},m(o,s){n&&n.m(o,s),e=!0},p(o,s){n&&n.p&&(!e||s&2097152)&&zn(n,i,o,o[21],e?Nn(i,o[21],s,null):Dn(o[21]),null)},i(o){e||(d(n,o),e=!0)},o(o){g(n,o),e=!1},d(o){n&&n.d(o)}}}function C2(t){let e,i,n,o,s,l,r,a,c;const f=[k2,w2],p=[];function h(_,b){return _[3]&&_[5]&&!_[10]?0:1}return i=h(t),n=p[i]=f[i](t),{c(){e=E("div"),n.c(),u(e,"class",o="btn-container "+t[2]+" v-p9r045"),u(e,"aria-hidden",s=t[6]||null),ho(()=>t[20].call(e))},m(_,b){T(_,e,b),p[i].m(e,null),t[19](e),l=Rl(e,t[20].bind(e)),r=!0,a||(c=[me(e,"pointerdown",nt(Qt(t[17]))),me(e,"click",nt(Qt(t[18])))],a=!0)},p(_,[b]){let w=i;i=h(_),i===w?p[i].p(_,b):(ue(),g(p[w],1,1,()=>{p[w]=null}),ce(),n=p[i],n?n.p(_,b):(n=p[i]=f[i](_),n.c()),d(n,1),n.m(e,null)),(!r||b&4&&o!==(o="btn-container "+_[2]+" v-p9r045"))&&u(e,"class",o),(!r||b&64&&s!==(s=_[6]||null))&&u(e,"aria-hidden",s)},i(_){r||(d(n),r=!0)},o(_){g(n),r=!1},d(_){_&&S(e),p[i].d(),t[19](null),l(),a=!1,it(c)}}}function P2(t,e,i){let n,o,{$$slots:s={},$$scope:l}=e,{className:r=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:p=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:_=""}=e,{disabledTooltipContent:b=K("tooltip_button_disabled")}=e,{isAriaHidden:w=!1}=e,{initialTranslateXPx:v=0}=e,{initialTranslateYPx:P=-18}=e;const k=mt(),y=k.ui.isMobile;z(t,y,V=>i(10,o=V));const I=k.state.graphIsOpened$;z(t,I,V=>i(15,n=V));let ne;function M(V){po.call(this,t,V)}function W(V){po.call(this,t,V)}function ie(V){ve[V?"unshift":"push"](()=>{f=V,i(0,f)})}function L(){p=this.clientWidth,i(1,p)}return t.$$set=V=>{"className"in V&&i(2,r=V.className),"disabled"in V&&i(13,a=V.disabled),"hasTooltip"in V&&i(3,c=V.hasTooltip),"ref"in V&&i(0,f=V.ref),"width"in V&&i(1,p=V.width),"isFullWidthTooltip"in V&&i(4,h=V.isFullWidthTooltip),"tooltipContent"in V&&i(5,_=V.tooltipContent),"disabledTooltipContent"in V&&i(14,b=V.disabledTooltipContent),"isAriaHidden"in V&&i(6,w=V.isAriaHidden),"initialTranslateXPx"in V&&i(7,v=V.initialTranslateXPx),"initialTranslateYPx"in V&&i(8,P=V.initialTranslateYPx),"$$scope"in V&&i(21,l=V.$$scope)},t.$$.update=()=>{t.$$.dirty&57376&&(a?i(9,ne=n?K("tooltip_disabled_when_graph_on"):b):i(9,ne=_))},[f,p,r,c,h,_,w,v,P,ne,o,y,I,a,b,n,s,M,W,ie,L,l]}class Mt extends be{constructor(e){super(),ge(this,e,P2,C2,he,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},v2)}}function S2(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("rect"),o=R("path"),u(i,"width","20"),u(i,"height","20"),u(i,"rx","10"),u(i,"fill","white"),u(i,"fill-opacity",n=t[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",s=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(l,r){T(l,e,r),m(e,i),m(e,o)},p(l,[r]){r&1&&n!==(n=l[0]?1:.24)&&u(i,"fill-opacity",n),r&1&&s!==(s=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",s)},i:Z,o:Z,d(l){l&&S(e)}}}function T2(t,e,i){let{completed:n}=e;return t.$$set=o=>{"completed"in o&&i(0,n=o.completed)},[n]}class pu extends be{constructor(e){super(),ge(this,e,T2,S2,he,{completed:0})}}function E2(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 I2(t){let e,i,n,o,s;return i=new pu({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}%`),ho(()=>t[3].call(e)),B(e,"disabled",t[1])},m(l,r){T(l,e,r),O(i,e,null),o=Rl(e,t[3].bind(e)),s=!0},p(l,r){const a={};r&1&&(a.completed=!!l[0].completed),i.$set(a),(!s||r&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!s||r&2)&&B(e,"disabled",l[1])},i(l){s||(d(i.$$.fragment,l),s=!0)},o(l){g(i.$$.fragment,l),s=!1},d(l){l&&S(e),H(i),o()}}}function A2(t){let e,i;return e=new Mt({props:{tooltipContent:K(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:[I2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.tooltipContent=K(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(s.disabled=n[1]),o&4&&(s.width=n[2]||0),o&23&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function L2(t,e,i){let{videoEpisode:n}=e,{disabled:o}=e,s;function l(){s=this.clientWidth,i(2,s)}return t.$$set=r=>{"videoEpisode"in r&&i(0,n=r.videoEpisode),"disabled"in r&&i(1,o=r.disabled)},[n,o,s,l]}class V2 extends be{constructor(e){super(),ge(this,e,L2,A2,he,{videoEpisode:0,disabled:1},E2)}}function M2(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 hr(t,e,i){const n=t.slice();return n[2]=e[i],n}function gr(t){let e,i,n,o,s,l,r,a,c;return{c(){e=E("div"),i=E("div"),n=E("div"),s=N(),l=E("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${t[2].loadedWidth/t[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",r=`transform: translateX(${t[2].filledWidth/t[2].width*100}%)`),B(l,"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,p){T(f,e,p),m(e,i),m(i,n),m(i,s),m(i,l),m(e,a)},p(f,p){p&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),p&1&&r!==(r=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",r),p&2&&B(l,"mobile",f[1]),p&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),p&2&&B(e,"mobile",f[1])},d(f){f&&S(e)}}}function B2(t){let e,i=Dt(t[0]),n=[];for(let o=0;o<i.length;o+=1)n[o]=gr(hr(t,i,o));return{c(){e=E("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,s){T(o,e,s);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[s]){if(s&3){i=Dt(o[0]);let l;for(l=0;l<i.length;l+=1){const r=hr(o,i,l);n[l]?n[l].p(r,s):(n[l]=gr(r),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},i:Z,o:Z,d(o){o&&S(e),vn(n,o)}}}function R2(t,e,i){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return t.$$set=s=>{"videoEpisodes"in s&&i(0,n=s.videoEpisodes),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class N2 extends be{constructor(e){super(),ge(this,e,R2,B2,he,{videoEpisodes:0,isMobile:1},M2)}}function z2(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 br(t,e,i){const n=t.slice();return n[48]=e[i],n}function _r(t){let e,i,n=Dt(t[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=wr(br(t,n,l));const s=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=E("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),B(e,"mobile",t[5]),B(e,"hidden",t[5]&&!t[20])},m(l,r){T(l,e,r);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);i=!0},p(l,r){if(r[0]&2097664){n=Dt(l[21]);let a;for(a=0;a<n.length;a+=1){const c=br(l,n,a);o[a]?(o[a].p(c,r),d(o[a],1)):(o[a]=wr(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(ue(),a=n.length;a<o.length;a+=1)s(a);ce()}(!i||r[0]&32)&&B(e,"mobile",l[5]),(!i||r[0]&1048608)&&B(e,"hidden",l[5]&&!l[20])},i(l){if(!i){for(let r=0;r<n.length;r+=1)d(o[r]);i=!0}},o(l){o=o.filter(Boolean);for(let r=0;r<o.length;r+=1)g(o[r]);i=!1},d(l){l&&S(e),vn(o,l)}}}function vr(t){let e,i;return e=new V2({props:{videoEpisode:t[48],disabled:t[9]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisode=n[48]),o[0]&512&&(s.disabled=n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wr(t){let e,i,n=t[48].interactive&&vr(t);return{c(){n&&n.c(),e=ut()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[48].interactive?n?(n.p(o,s),s[0]&2097152&&d(n,1)):(n=vr(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(ue(),g(n,1,1,()=>{n=null}),ce())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function D2(t){let e,i,n,o,s,l;return{c(){e=E("div"),i=E("div"),o=N(),s=E("div"),u(i,"class","loaded v-1golz1y"),u(i,"style",n=`transform: translateX(${t[11]*100}%);`),u(s,"class","filled v-1golz1y"),u(s,"style",l=`transform: translateX(${t[12]*100}%);`),B(s,"active-live",t[4]),B(s,"ads",t[6]),u(e,"class","bars v-1golz1y")},m(r,a){T(r,e,a),m(e,i),m(e,o),m(e,s)},p(r,a){a[0]&2048&&n!==(n=`transform: translateX(${r[11]*100}%);`)&&u(i,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${r[12]*100}%);`)&&u(s,"style",l),a[0]&16&&B(s,"active-live",r[4]),a[0]&64&&B(s,"ads",r[6])},i:Z,o:Z,d(r){r&&S(e)}}}function O2(t){let e,i;return e=new N2({props:{videoEpisodes:t[21],isMobile:t[5]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.videoEpisodes=n[21]),o[0]&32&&(s.isMobile=n[5]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function H2(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b=t[8]&&_r(t);const w=[O2,D2],v=[];function P(k,y){return k[21].length?0:1}return n=P(t),o=v[n]=w[n](t),{c(){b&&b.c(),e=N(),i=E("div"),o.c(),s=N(),l=E("div"),r=E("div"),u(r,"class","handle v-1golz1y"),B(r,"active-live",t[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${t[13]*100}%);`),B(l,"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=t[1]??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){b&&b.m(k,y),T(k,e,y),T(k,i,y),v[n].m(i,null),m(i,s),m(i,l),m(l,r),t[42](i),p=!0,h||(_=[me(i,"pointerdown",Qt(t[22])),me(i,"pointermove",Qt(t[23])),me(i,"pointerup",Qt(t[24])),me(i,"pointerenter",Qt(t[25])),me(i,"pointerleave",Qt(t[26])),me(i,"click",nt(Qe)),me(i,"wheel",t[27])],h=!0)},p(k,y){k[8]?b?(b.p(k,y),y[0]&256&&d(b,1)):(b=_r(k),b.c(),d(b,1),b.m(e.parentNode,e)):b&&(ue(),g(b,1,1,()=>{b=null}),ce());let I=n;n=P(k),n===I?v[n].p(k,y):(ue(),g(v[I],1,1,()=>{v[I]=null}),ce(),o=v[n],o?o.p(k,y):(o=v[n]=w[n](k),o.c()),d(o,1),o.m(i,s)),(!p||y[0]&16)&&B(r,"active-live",k[4]),(!p||y[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!p||y[0]&1024)&&B(l,"hidden",k[10]),(!p||y[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(i,"class",c),(!p||y[0]&16384)&&u(i,"aria-label",k[14]),(!p||y[0]&32768)&&u(i,"aria-valuemin",k[15]),(!p||y[0]&65536)&&u(i,"aria-valuemax",k[16]),(!p||y[0]&131072)&&u(i,"aria-valuenow",k[17]),(!p||y[0]&262144)&&u(i,"aria-valuetext",k[18]),(!p||y[0]&2&&f!==(f=k[1]??null))&&u(i,"data-testid",f),(!p||y[0]&513)&&B(i,"disabled",k[9]),(!p||y[0]&1048577)&&B(i,"slider-dragging",k[20]),(!p||y[0]&5)&&B(i,"hidden",k[2]),(!p||y[0]&9)&&B(i,"slider-vertical",k[3]),(!p||y[0]&1025)&&B(i,"no-handle",k[10]),(!p||y[0]&129)&&B(i,"square",k[7])},i(k){p||(d(b),d(o),p=!0)},o(k){g(b),g(o),p=!1},d(k){k&&(S(e),S(i)),b&&b.d(k),v[n].d(),t[42](null),h=!1,it(_)}}}function F2(t,e,i){let n,o,{className:s=""}=e,{testId:l=void 0}=e,{isHidden:r=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:p=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:b=!1}=e,{isInteractive:w=!1}=e,{disabled:v=!1}=e,{hideHandel:P=!1}=e,k,y,{onPointerDown:I=Qe}=e,{onHandleMove:ne=Qe}=e,{onPointerUp:M=Qe}=e,{onPointerEnter:W=Qe}=e,{onPointerMove:ie=Qe}=e,{onPointerLeave:L=Qe}=e,{onWheelUp:V=Qe}=e,{onWheelDown:x=Qe}=e,{onWheelLeft:Y=Qe}=e,{onWheelRight:oe=Qe}=e,{loadedProgress:j=0}=e,{filledProgress:C=0}=e,{handleProgress:G=0}=e,{ariaLabel:D=""}=e,{ariaValueMin:ee=void 0}=e,{ariaValueMax:Te=void 0}=e,{ariaValueNow:Re=void 0}=e,{ariaValueText:Be=""}=e;const ze=an();let _e=!1,we;function Q(le){if(_e)return;i(20,_e=!0),y=k.getBoundingClientRect();const Me=Ie(le.clientX,le.clientY);I(Me),k.setPointerCapture(le.pointerId)}function $(le){const Me=Ie(le.clientX,le.clientY),de=ae(le.clientX);ie(Me,de,y.width),_e&&ne(Me)}function ke(le){if(!_e)return;i(20,_e=!1);const Me=Ie(le.clientX,le.clientY);M(Me)}function se(le){y=k.getBoundingClientRect();const Me=Ie(le.clientX,le.clientY),de=ae(le.clientX);W(Me,de,y.width)}function We(){L()}function Ae(le){b&&(le.preventDefault(),le.deltaY<0?V():le.deltaY>0?x():le.deltaX>0?oe():Y())}function Ie(le,Me){return a?Math.max(0,Math.min(1,(y.height-(Me-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 Ce(le,Me){const de=ze.features.episodesClustering&&!w?ze.episodeMinWidthPc:0,ye=[];let Pe=0,je=0,tt=0;for(let et=1;et<_.length;et++)je=_[et].time/we*100,je-Pe>de&&(ye.push({from:Pe,width:Math.max(0,je-Pe),loadedWidth:Math.max(0,Math.min(je,le)-Pe),filledWidth:Math.max(0,Math.min(je,Me)-Pe),interactive:_[et-1].interactive,completed:_[et-1].completed}),Pe=_[et].time/we*100,tt++);const Je={from:Pe,width:Math.max(0,100-Pe),loadedWidth:Math.max(0,Math.min(le,100)-Pe),filledWidth:Math.max(0,Math.min(Me,100)-Pe),interactive:_[tt].interactive,completed:_[tt].completed};100-Pe<de?(tt-=1,ye[tt].width+=100-Pe,ye[tt].loadedWidth+=Math.max(0,Math.min(le,100)-Pe),ye[tt].filledWidth+=Math.max(0,Math.min(Me,100)-Pe)):ye[tt]=Je;const Ye=_[0].time;if(Ye!==0){const et=Ye/we*100;ye.unshift({from:0,width:et,loadedWidth:Math.min(et,le),filledWidth:Math.min(et,Me)})}return ye}function pe(le){ve[le?"unshift":"push"](()=>{k=le,i(19,k)})}return t.$$set=le=>{"className"in le&&i(0,s=le.className),"testId"in le&&i(1,l=le.testId),"isHidden"in le&&i(2,r=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,p=le.isAds),"squareBorders"in le&&i(7,h=le.squareBorders),"videoEpisodes"in le&&i(28,_=le.videoEpisodes),"withWheelHandler"in le&&i(29,b=le.withWheelHandler),"isInteractive"in le&&i(8,w=le.isInteractive),"disabled"in le&&i(9,v=le.disabled),"hideHandel"in le&&i(10,P=le.hideHandel),"onPointerDown"in le&&i(30,I=le.onPointerDown),"onHandleMove"in le&&i(31,ne=le.onHandleMove),"onPointerUp"in le&&i(32,M=le.onPointerUp),"onPointerEnter"in le&&i(33,W=le.onPointerEnter),"onPointerMove"in le&&i(34,ie=le.onPointerMove),"onPointerLeave"in le&&i(35,L=le.onPointerLeave),"onWheelUp"in le&&i(36,V=le.onWheelUp),"onWheelDown"in le&&i(37,x=le.onWheelDown),"onWheelLeft"in le&&i(38,Y=le.onWheelLeft),"onWheelRight"in le&&i(39,oe=le.onWheelRight),"loadedProgress"in le&&i(11,j=le.loadedProgress),"filledProgress"in le&&i(12,C=le.filledProgress),"handleProgress"in le&&i(13,G=le.handleProgress),"ariaLabel"in le&&i(14,D=le.ariaLabel),"ariaValueMin"in le&&i(15,ee=le.ariaValueMin),"ariaValueMax"in le&&i(16,Te=le.ariaValueMax),"ariaValueNow"in le&&i(17,Re=le.ariaValueNow),"ariaValueText"in le&&i(18,Be=le.ariaValueText)},t.$$.update=()=>{t.$$.dirty[0]&65536&&i(40,we=Te??0),t.$$.dirty[0]&268435456|t.$$.dirty[1]&512&&i(41,n=_[_.length-1]?.time<we),t.$$.dirty[0]&268441600|t.$$.dirty[1]&1536&&i(21,o=_.length&&n&&we?Ce(j*100,C*100):[])},[s,l,r,a,c,f,p,h,w,v,P,j,C,G,D,ee,Te,Re,Be,k,_e,o,Q,$,ke,se,We,Ae,_,b,I,ne,M,W,ie,L,V,x,Y,oe,we,n,pe]}class Kl extends be{constructor(e){super(),ge(this,e,F2,H2,he,{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},z2,[-1,-1])}}const hn=(t,e)=>bo[t]>=bo[e],U2=(t,e)=>bo[t]<bo[e],hu=(t,e)=>bo[t]<=bo[e],q2=t=>t>co.L?kt.XL:t>co.M?kt.L:t>co.S?kt.M:t>co.XS?kt.S:kt.XS;function Z2(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 W2(t){let e,i;return e=new sl({props:{volume:t[4],muted:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&16&&(s.volume=n[4]),o[0]&4&&(s.muted=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function K2(t){let e,i;return e=new ki({props:{className:"btn-full-opacity",disabled:!t[0],testId:t[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:t[7],click:t[1],ariaKeyShortCut:Bo[Ee.KeyM],$$slots:{default:[W2]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&1&&(s.disabled=!n[0]),o[0]&8&&(s.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(s.ariaLabel=n[7]),o[0]&2&&(s.click=n[1]),o[0]&20|o[1]&1&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function kr(t){let e,i,n;return i=new Kl({props:{className:t[3]?"volumeBar-slider-vertical":"",isHidden:t[3]&&!t[5],isVertical:t[3],withWheelHandler:!0,onWheelUp:t[13],onWheelDown:t[14],onPointerDown:t[12],onHandleMove:t[15],onPointerUp:t[16],onPointerEnter:t[3]?t[17]:Qe,onPointerLeave:t[3]?t[18]:Qe,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[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),B(e,"volumeBar-vertical",t[3])},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),s[0]&40&&(l.isHidden=o[3]&&!o[5]),s[0]&8&&(l.isVertical=o[3]),s[0]&8&&(l.onPointerEnter=o[3]?o[17]:Qe),s[0]&8&&(l.onPointerLeave=o[3]?o[18]:Qe),s[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),s[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),s[0]&256&&(l.filledProgress=o[8]),s[0]&256&&(l.handleProgress=o[8]),s[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),i.$set(l),(!n||s[0]&8)&&B(e,"volumeBar-vertical",o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function j2(t){let e,i,n,o,s,l;i=new mu({props:{content:t[6],translateY:-18,$$slots:{default:[K2]},$$scope:{ctx:t}}});let r=t[0]&&kr(t);return{c(){e=E("div"),U(i.$$.fragment),n=N(),r&&r.c(),u(e,"class","volumeBar-container v-1l78lz9"),B(e,"vertical",t[3])},m(a,c){T(a,e,c),O(i,e,null),m(e,n),r&&r.m(e,null),o=!0,s||(l=[me(e,"mouseenter",function(){bn(t[3]?t[19]:Qe)&&(t[3]?t[19]:Qe).apply(this,arguments)}),me(e,"mouseleave",function(){bn(t[3]?t[20]:Qe)&&(t[3]?t[20]:Qe).apply(this,arguments)}),me(e,"wheel",Qt(t[21]))],s=!0)},p(a,c){t=a;const f={};c[0]&64&&(f.content=t[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:t}),i.$set(f),t[0]?r?(r.p(t,c),c[0]&1&&d(r,1)):(r=kr(t),r.c(),d(r,1),r.m(e,null)):r&&(ue(),g(r,1,1,()=>{r=null}),ce()),(!o||c[0]&8)&&B(e,"vertical",t[3])},i(a){o||(d(i.$$.fragment,a),d(r),o=!0)},o(a){g(i.$$.fragment,a),g(r),o=!1},d(a){a&&S(e),H(i),r&&r.d(),s=!1,it(l)}}}function G2(t,e,i){let n,o,s,{isAudioAvailable:l=!0}=e,{click:r}=e;const a=mt(),c=an(),f=a.state.volume$;z(t,f,ee=>i(4,n=ee));const p=a.state.muted$;z(t,p,ee=>i(23,s=ee));const h=a.actions.internal.setVolume,_=a.ui.currentGridType$;z(t,_,ee=>i(22,o=ee));let b=!1,w,v,P,k,y,I,ne=1,M=!1;function W(ee){ne=n,h(ee)}function ie(){ou(a,n,c.controls.volumeStepWheel)}function L(){lu(a,n,c.controls.volumeStepWheel)}function V(ee){h(ee)}function x(ee){const Te=ee;h(Te,Te===0?ne:Te)}function Y(){M=!0}function oe(){M=!1,G()}function j(){clearTimeout(w),i(5,b=!0)}function C(){G()}function G(){w=window.setTimeout(()=>{M||i(5,b=!1)},c.controls.volumeBarTimeout)}function D(ee){ee.deltaY<0?ie():ee.deltaY>0&&L()}return t.$$set=ee=>{"isAudioAvailable"in ee&&i(0,l=ee.isAudioAvailable),"click"in ee&&i(1,r=ee.click)},t.$$.update=()=>{t.$$.dirty[0]&8388609&&i(2,k=!l||s),t.$$.dirty[0]&4194304&&i(3,y=hu(o,kt.S)),t.$$.dirty[0]&12&&(y?i(6,v=""):i(6,v=K(k?"tooltip_volume":"tooltip_volume_muted")),i(7,P=K(k?"tooltip_volume":"tooltip_volume_muted"))),t.$$.dirty[0]&20&&i(8,I=k?0:n)},[l,r,k,y,n,b,v,P,I,f,p,_,W,ie,L,V,x,Y,oe,j,C,D,o,s]}class Y2 extends be{constructor(e){super(),ge(this,e,G2,j2,he,{isAudioAvailable:0,click:1},Z2,[-1,-1])}}function Q2(t){let e;return{c(){e=R("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function X2(t){let e;return{c(){e=R("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(i,n){T(i,e,n)},d(i){i&&S(e)}}}function J2(t){let e,i,n;function o(r,a){return r[0]?X2:Q2}let s=o(t),l=s(t);return{c(){e=R("svg"),i=R("g"),l.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(r,a){T(r,e,a),m(e,i),l.m(i,null)},p(r,[a]){s!==(s=o(r))&&(l.d(1),l=s(r),l&&(l.c(),l.m(i,null))),a&1&&n!==(n=r[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:Z,o:Z,d(r){r&&S(e),l.d()}}}function x2(t,e,i){let{isFullscreen:n=!1}=e;return t.$$set=o=>{"isFullscreen"in o&&i(0,n=o.isFullscreen)},[n]}class $2 extends be{constructor(e){super(),ge(this,e,x2,J2,he,{isFullscreen:0})}}function em(t){let e,i;return e=new $2({props:{isFullscreen:t[0]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&1&&(s.isFullscreen=n[0]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function tm(t){let e,i;return e=new ki({props:{testId:"btn-fullscreen",ariaLabel:t[2],click:t[1],ariaKeyShortCut:Bo[Ee.KeyF],$$slots:{default:[em]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&4&&(s.ariaLabel=n[2]),o&2&&(s.click=n[1]),o&9&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function im(t,e,i){let{isFullscreen:n=!1}=e,{click:o=Qe}=e,s;return t.$$set=l=>{"isFullscreen"in l&&i(0,n=l.isFullscreen),"click"in l&&i(1,o=l.click)},t.$$.update=()=>{t.$$.dirty&1&&i(2,s=K(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,s]}class gu extends be{constructor(e){super(),ge(this,e,im,tm,he,{isFullscreen:0,click:1})}}function nm(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class jl extends be{constructor(e){super(),ge(this,e,null,nm,he,{})}}function om(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class bu extends be{constructor(e){super(),ge(this,e,null,om,he,{})}}function lm(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 yr(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 sm(t){let e,i,n,o,s=t[1]&&yr();var l=t[8];function r(a){return{}}return l&&(n=Tn(l,r())),{c(){s&&s.c(),e=N(),i=E("div"),n&&U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(a,c){s&&s.m(a,c),T(a,e,c),T(a,i,c),n&&O(n,i,null),o=!0},p(a,c){if(a[1]?s||(s=yr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),c&256&&l!==(l=a[8])){if(n){ue();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),ce()}l?(n=Tn(l,r()),U(n.$$.fragment),d(n.$$.fragment,1),O(n,i,null)):n=null}(!o||c&2)&&B(i,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(S(e),S(i)),s&&s.d(a),n&&H(n)}}}function rm(t){let e,i,n;function o(l){t[13](l)}let s={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[Ee.KeyK],$$slots:{default:[sm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&112&&(a.click=l[5]?l[6]:l[4]),r&4&&(a.disabled=l[2]),r&128&&(a.ariaLabel=l[7]),r&33026&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function am(t,e,i){let n,o;const{fakeIsPlaying$:s}=ll();z(t,s,k=>i(12,o=k));let{ref:l=void 0}=e,{isMobile:r=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:p=Qe}=e;const{toggle:h}=s;let _,b,w,v;function P(k){l=k,i(0,l)}return t.$$set=k=>{"ref"in k&&i(0,l=k.ref),"isMobile"in k&&i(1,r=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,p=k.click)},t.$$.update=()=>{t.$$.dirty&4096&&i(5,b=o!==null),t.$$.dirty&5152&&i(11,w=b?o:a),t.$$.dirty&2048&&i(7,v=K(w?"tooltip_pause":"tooltip_play")),t.$$.dirty&2048&&i(8,n=w?bu:jl)},i(6,_=h),[l,r,c,f,p,b,_,v,n,s,a,w,o,P]}class Gl extends be{constructor(e){super(),ge(this,e,am,rm,he,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},lm)}}function um(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 cm(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),u(i,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(i,"fill","#fff"),u(e,"data-testid",n=t[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),B(e,"prev",t[0]),B(e,"mobile",t[1])},m(o,s){T(o,e,s),m(e,i)},p(o,[s]){s&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),s&1&&B(e,"prev",o[0]),s&2&&B(e,"mobile",o[1])},i:Z,o:Z,d(o){o&&S(e)}}}function fm(t,e,i){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return t.$$set=s=>{"isPrev"in s&&i(0,n=s.isPrev),"isMobile"in s&&i(1,o=s.isMobile)},[n,o]}class dm extends be{constructor(e){super(),ge(this,e,fm,cm,he,{isPrev:0,isMobile:1},um)}}function mm(t){let e,i;return e=new dm({props:{isMobile:t[1],isPrev:t[3]==="prev"}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&8&&(s.isPrev=n[3]==="prev"),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pm(t){let e,i,n;function o(l){t[6](l)}let s={testId:"btn-"+t[3],disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[mm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.testId="btn-"+l[3]),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&138&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function hm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{type:l}=e,{click:r}=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,o=f.isMobile),"disabled"in f&&i(2,s=f.disabled),"type"in f&&i(3,l=f.type),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=K(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,s,l,r,a,c]}class rl extends be{constructor(e){super(),ge(this,e,hm,pm,he,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function gm(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class bm extends be{constructor(e){super(),ge(this,e,null,gm,he,{})}}function _m(t){Ze(t,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Cr(t){let e,i,n,o,s,l,r;return{c(){e=R("path"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(i,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(i,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(s,"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(s,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(r,"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(r,"fill","white")},m(a,c){T(a,e,c),T(a,i,c),T(a,n,c),T(a,o,c),T(a,s,c),T(a,l,c),T(a,r,c)},d(a){a&&(S(e),S(i),S(n),S(o),S(s),S(l),S(r))}}}function vm(t){let e,i,n,o=!t[0]&&Cr();return{c(){e=R("svg"),i=R("path"),o&&o.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(s,l){T(s,e,l),m(e,i),o&&o.m(e,null)},p(s,[l]){s[0]?o&&(o.d(1),o=null):o||(o=Cr(),o.c(),o.m(e,null)),l&4&&u(e,"width",s[2]),l&4&&n!==(n="0 0 "+(s[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",s[3]),l&2&&B(e,"mobile",s[1])},i:Z,o:Z,d(s){s&&S(e),o&&o.d()}}}function wm(t,e,i){let{short:n=!1}=e,{isMobile:o=!1}=e,s,l;return t.$$set=r=>{"short"in r&&i(0,n=r.short),"isMobile"in r&&i(1,o=r.isMobile)},t.$$.update=()=>{t.$$.dirty&1&&(i(2,s=n?20:93),i(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,s,l]}class km extends be{constructor(e){super(),ge(this,e,wm,vm,he,{short:0,isMobile:1},_m)}}function ym(t){let e,i;return e=new bm({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p:Z,i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Cm(t){let e,i;return e=new km({props:{short:t[4],isMobile:!!t[7]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.short=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Pm(t){let e,i,n,o;const s=[Cm,ym],l=[];function r(a,c){return a[2]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function Sm(t){let e,i,n;function o(l){t[13](l)}let s={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:[Pm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.disabled=!l[1]),r&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),r&8&&(a.ariaLabel=l[3]),r&524308&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Tm(t,e,i){let n,o,s,{ref:l=void 0}=e,{logoClickable:r=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=an(),{logoLink:p,addTimeToLogoLink:h}=f,_=mt(),b=_.state.positionWithScrubbing$;z(t,b,M=>i(14,n=M));const w=_.ui.currentGridType$;z(t,w,M=>i(11,o=M));const v=_.ui.isMobile;z(t,v,M=>i(12,s=M));let P,k,y;const I=()=>{let M;if(k||!a)M=p;else{const W=Math.round(n);if(h&&W){const ie=new URL(a);ie.searchParams.append("t",Ec(W)),M=ie.toString()}else M=a}c(),window.open(M,"_blank")};function ne(M){l=M,i(0,l)}return t.$$set=M=>{"ref"in M&&i(0,l=M.ref),"logoClickable"in M&&i(1,r=M.logoClickable),"videoLogoUrl"in M&&i(9,a=M.videoLogoUrl),"click"in M&&i(10,c=M.click)},t.$$.update=()=>{t.$$.dirty&6148&&i(4,y=(s||hu(o,kt.L))&&k)},i(3,P=f.logoType===go.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),i(2,k=f.logoType===go.VK_VIDEO),[l,r,k,P,y,b,w,v,I,a,c,o,s,ne]}class _u extends be{constructor(e){super(),ge(this,e,Tm,Sm,he,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Em(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 Im(t){let e,i,n,o,s,l,r,a;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("path"),r=R("path"),a=R("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(s,"class","wave wave3 v-8z1bf5"),u(s,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(s,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(r,"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){T(c,e,f),m(e,i),m(i,n),m(i,o),m(i,s),m(i,l),m(i,r),m(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 Am(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne;return{c(){e=R("svg"),i=R("g"),n=R("mask"),o=R("path"),l=R("path"),r=R("path"),c=R("path"),f=R("defs"),p=R("clipPath"),h=R("path"),b=R("filter"),w=R("feFlood"),v=R("feColorMatrix"),P=R("feOffset"),k=R("feGaussianBlur"),y=R("feColorMatrix"),I=R("feBlend"),ne=R("feBlend"),u(o,"fill",s=t[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"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(r,"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(p,"id","a"),u(w,"flood-opacity","0"),u(w,"result","BackgroundImageFix"),u(v,"in","SourceAlpha"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(v,"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(I,"in2","BackgroundImageFix"),u(I,"result","effect1_dropShadow_4085_178456"),u(ne,"in","SourceGraphic"),u(ne,"in2","effect1_dropShadow_4085_178456"),u(ne,"result","shape"),u(b,"id","b"),u(b,"x","-3.4"),u(b,"y","-1.4"),u(b,"width","30.8"),u(b,"height","26.802"),u(b,"filterUnits","userSpaceOnUse"),u(b,"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(M,W){T(M,e,W),m(e,i),m(i,n),m(n,o),m(n,l),m(i,r),m(i,c),m(e,f),m(f,p),m(p,h),m(f,b),m(b,w),m(b,v),m(b,P),m(b,k),m(b,y),m(b,I),m(b,ne)},p(M,W){W&2&&s!==(s=M[1]?"#2688EB":"#fff")&&u(o,"fill",s),W&2&&a!==(a=M[1]?"#2688EB":"#fff")&&u(r,"fill",a),W&2&&_!==(_=M[1]?"#2688EB":"#fff")&&u(h,"fill",_)},d(M){M&&S(e)}}}function Lm(t){let e;function i(s,l){return s[0]?Am:Im}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function Vm(t,e,i){let{isMobile:n=!1}=e,{state:o}=e,s,l;return t.$$set=r=>{"isMobile"in r&&i(0,n=r.isMobile),"state"in r&&i(3,o=r.state)},t.$$.update=()=>{t.$$.dirty&8&&(i(2,l=o===Sn.CONNECTING),i(1,s=o===Sn.CONNECTED))},[n,s,l,o]}class Mm extends be{constructor(e){super(),ge(this,e,Vm,Lm,he,{isMobile:0,state:3},Em)}}function Bm(t){let e,i;return e=new Mm({props:{isMobile:t[1],state:t[2]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isMobile=n[1]),o&4&&(s.state=n[2]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Rm(t){let e,i,n;function o(l){t[5](l)}let s={ariaLabel:t[4],click:t[3],testId:"btn-chromecast",$$slots:{default:[Bm]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&16&&(a.ariaLabel=l[4]),r&8&&(a.click=l[3]),r&70&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Nm(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:s}=e,{click:l=Qe}=e,r;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,o=c.isMobile),"state"in c&&i(2,s=c.state),"click"in c&&i(3,l=c.click)},t.$$.update=()=>{t.$$.dirty&4&&i(4,r=s===Sn.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off"))},[n,o,s,l,r,a]}class vu extends be{constructor(e){super(),ge(this,e,Nm,Rm,he,{ref:0,isMobile:1,state:2,click:3})}}function zm(t){let e,i;return e=new Q1({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dm(t){let e,i;return e=new ki({props:{className:t[0]?"":"btn--live btn-full-opacity",testId:t[1]?"btn-live":"btn-live-offset",disabled:t[1]&&t[3]===zt.PLAYING,ariaLabel:t[2],click:t[4],$$slots:{default:[zm]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(s.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(s.disabled=n[1]&&n[3]===zt.PLAYING),o&4&&(s.ariaLabel=n[2]),o&16&&(s.click=n[4]),o&514&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Om(t,e,i){let n,{isMobile:o=!1}=e,{isActiveLive:s=!1}=e,{ariaLabel:l=""}=e;const r=mt(),a=r.state.playbackState$;z(t,a,h=>i(3,n=h));const c=r.actions.internal.switchToActiveLive,f=r.actions.internal.togglePlay;let p;return t.$$set=h=>{"isMobile"in h&&i(0,o=h.isMobile),"isActiveLive"in h&&i(1,s=h.isActiveLive),"ariaLabel"in h&&i(2,l=h.ariaLabel)},t.$$.update=()=>{t.$$.dirty&10&&i(4,p=()=>{if(!s){c();return}n===zt.PAUSED&&f()})},[o,s,l,n,p,a]}class wu extends be{constructor(e){super(),ge(this,e,Om,Dm,he,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Hm(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 Fm(t){let e,i,n,o;const s=t[9].default,l=Rn(s,t,t[8],null);return{c(){e=E("div"),i=E("div"),l&&l.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(r,a){T(r,e,a),m(e,i),l&&l.m(i,null),t[10](i),t[11](e),o=!0},p(r,[a]){l&&l.p&&(!o||a&256)&&zn(l,s,r,r[8],o?Nn(s,r[8],a,null):Dn(r[8]),null),(!o||a&1)&&B(i,"active",r[0]),(!o||a&2)&&B(i,"pointer",r[1]),(!o||a&36&&n!==(n=`transform: translate(${r[5]}px, ${r[2]}px);`))&&u(e,"style",n)},i(r){o||(d(l,r),o=!0)},o(r){g(l,r),o=!1},d(r){r&&S(e),l&&l.d(r),t[10](null),t[11](null)}}}function Um(t,e,i){let n,{$$slots:o={},$$scope:s}=e,{active:l=!1}=e,{pointer:r=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,p,h;function _(v){if(!h)return 0;const{width:P}=h.getBoundingClientRect(),k=P/2;return v<k?k:v>f-k?f-k:v}function b(v){ve[v?"unshift":"push"](()=>{h=v,i(4,h)})}function w(v){ve[v?"unshift":"push"](()=>{p=v,i(3,p)})}return t.$$set=v=>{"active"in v&&i(0,l=v.active),"pointer"in v&&i(1,r=v.pointer),"translateXPx"in v&&i(6,a=v.translateXPx),"translateYPx"in v&&i(2,c=v.translateYPx),"containerWidth"in v&&i(7,f=v.containerWidth),"$$scope"in v&&i(8,s=v.$$scope)},t.$$.update=()=>{t.$$.dirty&64&&i(5,n=_(a))},[l,r,c,p,h,n,a,f,s,o,b,w]}class qm extends be{constructor(e){super(),ge(this,e,Um,Fm,he,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Hm)}}const ku=(t,e,i)=>i.filter(n=>n.time<t*e).pop();function Zm(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 Pr(t){let e;function i(s,l){return s[2]&&s[10].completed===!1?Km:Wm}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function Wm(t){let e=(t[10].text||"")+"",i;return{c(){i=De(e)},m(n,o){T(n,i,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(i,e)},d(n){n&&S(i)}}}function Km(t){let e=K("tooltip_episode_unfinished")+"",i;return{c(){i=De(e)},m(n,o){T(n,i,o)},p:Z,d(n){n&&S(i)}}}function jm(t){let e,i,n,o,s,l,r,a,c=t[10]&&Pr(t);return{c(){e=E("div"),i=E("div"),o=N(),s=E("div"),c&&c.c(),l=N(),r=E("div"),a=De(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(s,"class","episode v-l51fc1"),u(r,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),B(e,"mobile",t[1])},m(f,p){T(f,e,p),m(e,i),m(e,o),m(e,s),c&&c.m(s,null),m(e,l),m(e,r),m(r,a)},p(f,[p]){p&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,p):(c=Pr(f),c.c(),c.m(s,null)):c&&(c.d(1),c=null),p&1&&xe(a,f[0]),p&2&&B(e,"mobile",f[1])},i:Z,o:Z,d(f){f&&S(e),c&&c.d()}}}const ro=150;function Gm(t,e,i){let n,{time:o=""}=e,{isMobile:s=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:r}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=mt().ui.rotateAlpha;z(t,h,W=>i(11,n=W));let _,b,w,v,P,k,y,I;function ne(){let W=r.frameWidth,ie=r.frameHeight;return W>ro?(ie=ie/W*ro,W=ro):ie>ro&&(W=W/ie*ro,ie=ro),{width:W,height:ie}}function M(W){let ie;r.isUV?ie=Math.floor(c*W/r.frequency):ie=Math.min(r.countTotal,Math.max(0,Math.floor(r.countTotal*W)));const L=Math.floor(ie/r.countPerImage),V=Math.floor(ie%r.countPerImage/r.countPerRow),x=ie%r.countPerRow;let Y=Math.floor(r.countPerImage/r.countPerRow);!r.isUV&&L===Math.floor(r.countTotal/r.countPerImage)&&(Y=Math.floor(r.countTotal%r.countPerImage/r.countPerRow),r.countTotal%r.countPerImage%r.countPerRow>0&&Y++);let oe=r.countPerRow;!r.isUV&&L===Math.floor(r.countTotal/r.countPerImage)&&r.countTotal%r.countPerImage>0&&(oe=Math.min(r.countPerRow,r.countTotal%r.countPerImage));const j=_*oe,C=b*Y,G=-x*_,D=-V*b;return{imgSrc:r.links[L],imgWidth:j,imgHeight:C,imgOffsetX:G,imgOffsetY:D}}return t.$$set=W=>{"time"in W&&i(0,o=W.time),"isMobile"in W&&i(1,s=W.isMobile),"videoEpisodes"in W&&i(13,l=W.videoEpisodes),"previewThumbsData"in W&&i(14,r=W.previewThumbsData),"progress"in W&&i(15,a=W.progress),"duration"in W&&i(16,c=W.duration),"isInteractive"in W&&i(2,f=W.isInteractive)},t.$$.update=()=>{t.$$.dirty&32768&&i(5,{imgSrc:w,imgWidth:v,imgHeight:P,imgOffsetX:k,imgOffsetY:y}=M(a),w,(i(6,v),i(15,a)),(i(7,P),i(15,a)),(i(8,k),i(15,a)),(i(9,y),i(15,a))),t.$$.dirty&106496&&i(10,I=ku(a,c,l))},i(3,{width:_,height:b}=ne(),_,i(4,b)),[o,s,f,_,b,w,v,P,k,y,I,n,h,l,r,a,c]}class Ym extends be{constructor(e){super(),ge(this,e,Gm,jm,he,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Zm)}}function Qm(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 Xm(t){let e,i;return{c(){e=E("span"),i=De(t[7]),u(e,"class","time v-5lzly8")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o[0]&128&&xe(i,n[7])},i:Z,o:Z,d(n){n&&S(e)}}}function Jm(t){let e,i;return e=new Ym({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,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&128&&(s.time=n[7]),o[0]&1024&&(s.isMobile=n[10]),o[0]&8&&(s.videoEpisodes=n[3]),o[0]&256&&(s.progress=n[8]),o[0]&2&&(s.duration=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xm(t){let e,i,n,o;const s=[Jm,Xm],l=[];function r(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function $m(t){let e,i,n,o;const s=[t[9]];let l={$$slots:{default:[xm]},$$scope:{ctx:t}};for(let r=0;r<s.length;r+=1)l=b1(l,s[r]);return e=new qm({props:l}),n=new Kl({props:{isActiveLive:t[11],isMobile:t[10],ariaLabel:K("aria_timeline"),ariaValueMin:0,ariaValueMax:t[1],ariaValueNow:Math.round(t[6]*100),ariaValueText:K("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(st.TIMELINE),hideHandel:t[2]}}),{c(){U(e.$$.fragment),i=N(),U(n.$$.fragment)},m(r,a){O(e,r,a),T(r,i,a),O(n,r,a),o=!0},p(r,a){const c=a[0]&512?Xc(s,[Jc(r[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:r}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=r[11]),a[0]&1024&&(f.isMobile=r[10]),a[0]&2&&(f.ariaValueMax=r[1]),a[0]&64&&(f.ariaValueNow=Math.round(r[6]*100)),a[0]&48&&(f.ariaValueText=K("aria_timeline_value",{position:r[5],duration:r[4]})),a[0]&4096&&(f.loadedProgress=r[12]),a[0]&64&&(f.filledProgress=r[6]),a[0]&64&&(f.handleProgress=r[6]),a[0]&8&&(f.videoEpisodes=r[3]),a[0]&8192&&(f.disabled=r[13].has(st.TIMELINE)),a[0]&4&&(f.hideHandel=r[2]),n.$set(f)},i(r){o||(d(e.$$.fragment,r),d(n.$$.fragment,r),o=!0)},o(r){g(e.$$.fragment,r),g(n.$$.fragment,r),o=!1},d(r){r&&S(i),H(e,r),H(n,r)}}}function e4(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,{showTimeline:b=!1}=e;const w=mt(),v=an(),P=w.state.bufferedProgress$;z(t,P,pe=>i(12,h=pe));const k=w.state.positionWithScrubbing$;z(t,k,pe=>i(39,a=pe));const y=w.state.duration$;z(t,y,pe=>i(1,s=pe));const I=w.state.isLive$;z(t,I,pe=>i(0,o=pe));const ne=w.state.isActiveLive$;z(t,ne,pe=>i(11,p=pe));const M=w.ui.isMobile;z(t,M,pe=>i(10,f=pe));const W=v.features.episodes?w.actions.internal.getVideoEpisodes():void 0,ie=w.actions.internal.getPreviewThumbsData(),L=w.state.interactiveEpisodes$;z(t,L,pe=>i(40,c=pe));const V=w.state.isInteractive,x=w.state.isInteractiveTime$;z(t,x,pe=>i(2,l=pe));const Y=w.state.isInteractiveExpectation$;z(t,Y,pe=>i(38,r=pe));const oe=w.actions.internal.correctSeekTimeToInteractive,j=w.ui.controls.disabledControls$;z(t,j,pe=>i(13,_=pe));let C,G,D,ee,Te=!1,Re="",Be=0,ze=0,_e=0,we;function Q(pe){return!oe||!V?pe:oe(pe*s)/s}function $(pe){w.actions.internal.startScrubbing(Q(pe))}function ke(pe){l||w.actions.internal.progressScrubbing(Q(pe))}function se(pe){w.actions.internal.completeScrubbing(Q(pe)),i(34,Te=!1)}function We(pe,le,Me){ae(pe,le,Me),i(34,Te=!0)}function Ae(pe,le,Me){ae(pe,le,Me),i(34,Te=!0)}function Ie(){i(34,Te=!1)}function ae(pe,le,Me){i(8,_e=pe),i(35,Be=le),Me&&i(36,ze=Me),i(7,Re=Ce(pe))}function Ce(pe){const le=Bn((o?1-pe:pe)*s);return o?`-${le}`:le}return t.$$set=pe=>{"showTimeline"in pe&&i(33,b=pe.showTimeline)},t.$$.update=()=>{t.$$.dirty[1]&512&&i(3,C=V?c:W),t.$$.dirty[0]&2&&i(4,G=Bn(s)),t.$$.dirty[1]&256&&i(5,D=Bn(a)),t.$$.dirty[0]&2|t.$$.dirty[1]&256&&i(6,ee=a/s),t.$$.dirty[0]&4|t.$$.dirty[1]&128&&i(37,we=r||l),t.$$.dirty[0]&1|t.$$.dirty[1]&124&&i(9,n={containerWidth:ze,translateXPx:Be,translateYPx:V&&ie?-36:-16,active:Te&&b&&!we,pointer:!v.features.timelinePreview||!ie||o})},[o,s,l,C,G,D,ee,Re,_e,n,f,p,h,_,v,P,k,y,I,ne,M,ie,L,V,x,Y,j,$,ke,se,We,Ae,Ie,b,Te,Be,ze,we,r,a,c]}let t4=class extends be{constructor(e){super(),ge(this,e,e4,$m,he,{showTimeline:33},Qm,[-1,-1])}};function i4(t){let e,i;return e=new Kl({props:{ariaValueMin:0,ariaValueMax:t[0],ariaValueNow:Math.round(t[3]*100),ariaValueText:K("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,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.ariaValueMax=n[0]),o&8&&(s.ariaValueNow=Math.round(n[3]*100)),o&6&&(s.ariaValueText=K("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(s.filledProgress=n[3]),o&16&&(s.squareBorders=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n4(t,e,i){let n,{position:o=0}=e,{duration:s=0}=e;const r=mt().ui.isMobile;z(t,r,p=>i(4,n=p));let a,c,f;return t.$$set=p=>{"position"in p&&i(6,o=p.position),"duration"in p&&i(0,s=p.duration)},t.$$.update=()=>{t.$$.dirty&1&&i(1,a=Bn(s)),t.$$.dirty&64&&i(2,c=Bn(o)),t.$$.dirty&65&&i(3,f=o/s)},[s,a,c,f,n,r,o]}class yu extends be{constructor(e){super(),ge(this,e,n4,i4,he,{position:6,duration:0})}}function o4(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 l4(t){let e;return{c(){e=E("div"),u(e,"class","timeline-stub v-1gqonyf"),B(e,"mobile",t[2])},m(i,n){T(i,e,n)},p(i,n){n&4&&B(e,"mobile",i[2])},i:Z,o:Z,d(i){i&&S(e)}}}function s4(t){let e,i,n,o;const s=[a4,r4],l=[];function r(a,c){return a[0]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=E("div"),n.c(),u(e,"class","timeline v-1gqonyf"),B(e,"mobile",t[2])},m(a,c){T(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&B(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function r4(t){let e,i;return e=new t4({props:{showTimeline:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.showTimeline=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function a4(t){let e,i;return e=new yu({props:{position:t[3],duration:t[4]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.position=n[3]),o&16&&(s.duration=n[4]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function u4(t){let e,i,n,o;const s=[s4,l4],l=[];function r(a,c){return a[1]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function c4(t,e,i){let n,o,s,l,{isAds:r=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const p=mt(),h=p.state.isLive$;z(t,h,P=>i(12,n=P));const _=p.ads.duration;z(t,_,P=>i(4,l=P));const b=p.ads.position;z(t,b,P=>i(3,s=P));const w=p.ui.isMobile;z(t,w,P=>i(2,o=P));let v;return t.$$set=P=>{"isAds"in P&&i(0,r=P.isAds),"canRewindLive"in P&&i(9,a=P.canRewindLive),"isRewindableLive"in P&&i(10,c=P.isRewindableLive),"isHidden"in P&&i(11,f=P.isHidden)},t.$$.update=()=>{t.$$.dirty&7681&&i(1,v=!f&&(!n||n&&a&&c||r))},[r,v,o,s,l,h,_,b,w,a,c,f,n]}class Cu extends be{constructor(e){super(),ge(this,e,c4,u4,he,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},o4)}}function f4(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Tt(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(s,l){T(s,e,l),m(e,i),m(e,n),m(e,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class d4 extends be{constructor(e){super(),ge(this,e,null,f4,he,{})}}function m4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"opacity",".7"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(i,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class p4 extends be{constructor(e){super(),ge(this,e,null,m4,he,{})}}function h4(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 g4(t){let e,i,n,o;e=new d4({});function s(a,c){if(a[4]===Jn.FULL)return v4;if(a[4]===Jn.COUNT)return _4}let l=s(t),r=l&&l(t);return{c(){U(e.$$.fragment),i=N(),r&&r.c(),n=ut()},m(a,c){O(e,a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){l===(l=s(a))&&r?r.p(a,c):(r&&r.d(1),r=l&&l(a),r&&(r.c(),r.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(S(i),S(n)),H(e,a),r&&r.d(a)}}}function b4(t){let e,i,n,o,s,l;return s=new p4({}),{c(){e=E("span"),i=De(t[2]),n=N(),o=E("div"),U(s.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(r,a){T(r,e,a),m(e,i),T(r,n,a),T(r,o,a),O(s,o,null),l=!0},p(r,a){(!l||a&4)&&xe(i,r[2])},i(r){l||(d(s.$$.fragment,r),l=!0)},o(r){g(s.$$.fragment,r),l=!1},d(r){r&&(S(e),S(n),S(o)),H(s)}}}function _4(t){let e,i=t[0].length+"",n;return{c(){e=E("span"),n=De(i),u(e,"class","text count v-1yhs2ga")},m(o,s){T(o,e,s),m(e,n)},p(o,s){s&1&&i!==(i=o[0].length+"")&&xe(n,i)},d(o){o&&S(e)}}}function v4(t){let e,i;return{c(){e=E("span"),i=De(t[2]),u(e,"class","text v-1yhs2ga")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&4&&xe(i,n[2])},d(n){n&&S(e)}}}function w4(t){let e,i,n,o;const s=[b4,g4],l=[];function r(a,c){return a[6]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,c){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function k4(t){let e,i,n;function o(l){t[19](l)}let s={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:[w4]},$$scope:{ctx:t}};return t[1]!==void 0&&(s.ref=t[1]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),r&8&&(a.ariaExpanded=l[3]),r&32&&(a.ariaLabel=l[5]),r&8388693&&(a.$$scope={dirty:r,ctx:l}),!i&&r&2&&(i=!0,a.ref=l[1],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function y4(t,e,i){let n,o,s,l,r,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:p=[]}=e;const h=mt(),_=h.callbacks?.onEpisodeChanged??Qe,b=!!h.callbacks?.onEpisodeClicked,w=h.ui.currentGridType$;z(t,w,V=>i(18,r=V));const v=h.ui.episodes.openedByKeyboard$;z(t,v,V=>i(17,l=V));const P=h.ui.episodes.panelOpened$;z(t,P,V=>i(3,s=V));const k=h.ui.isMobile;z(t,k,V=>i(6,a=V));let y;const I=V=>{if(!!h.callbacks?.onEpisodeClicked){const Y=Fl(V);v.set(Y),P.set(!0),h.callbacks?.onEpisodeClicked?.(Y)}};let ne,M,W;const ie=async(V,x,Y)=>{await Mo(),V?.getAttribute("aria-expanded")==="false"&&x&&!Y&&(v.set(!1),V.focus())};function L(V){y=V,i(1,y)}return t.$$set=V=>{"position"in V&&i(13,c=V.position),"duration"in V&&i(14,f=V.duration),"timeCodes"in V&&i(0,p=V.timeCodes)},t.$$.update=()=>{if(t.$$.dirty&24576&&i(16,n=c/f),t.$$.dirty&114689){const V=ku(n,f,p);V&&ne?.text!==V.text&&(_(V),i(15,ne=V))}t.$$.dirty&32768&&i(2,o=ne?.text||""),t.$$.dirty&262144&&(hn(r,kt.XL)?i(4,M=Jn.FULL):hn(r,kt.M)&&U2(r,kt.XL)?i(4,M=Jn.COUNT):i(4,M=Jn.SHORT)),t.$$.dirty&4&&i(5,W=`${K("tooltip_episodes")}: ${o}`),t.$$.dirty&131082&&ie(y,l,s)},[p,y,o,s,M,W,a,b,w,v,P,k,I,c,f,ne,n,l,r,L]}class Pu extends be{constructor(e){super(),ge(this,e,y4,k4,he,{position:13,duration:14,timeCodes:0},h4)}}function C4(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(i,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p:Z,i:Z,o:Z,d(o){o&&S(e)}}}class P4 extends be{constructor(e){super(),ge(this,e,null,C4,he,{})}}function S4(t){let e,i;return e=new P4({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function T4(t){let e,i,n;function o(l){t[4](l)}let s={className:t[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:K("tooltip_interactive_seek"),disabled:t[2],click:t[3],$$slots:{default:[S4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&8&&(a.click=l[3]),r&32&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function E4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{click:l}=e;function r(a){n=a,i(0,n)}return t.$$set=a=>{"ref"in a&&i(0,n=a.ref),"hidden"in a&&i(1,o=a.hidden),"disabled"in a&&i(2,s=a.disabled),"click"in a&&i(3,l=a.click)},[n,o,s,l,r]}class Su extends be{constructor(e){super(),ge(this,e,E4,T4,he,{ref:0,hidden:1,disabled:2,click:3})}}function I4(t){let e,i,n;return{c(){e=R("svg"),i=R("path"),n=R("path"),u(i,"fill-rule","evenodd"),u(i,"clip-rule","evenodd"),u(i,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(i,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),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(o,s){T(o,e,s),m(e,i),m(e,n)},p(o,[s]){s&1&&B(n,"hidden",!o[0])},i:Z,o:Z,d(o){o&&S(e)}}}function A4(t,e,i){let{isOpened:n=!1}=e;return t.$$set=o=>{"isOpened"in o&&i(0,n=o.isOpened)},[n]}class L4 extends be{constructor(e){super(),ge(this,e,A4,I4,he,{isOpened:0})}}function V4(t){let e,i;return e=new L4({props:{isOpened:t[3]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&8&&(s.isOpened=n[3]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function M4(t){let e,i,n;function o(l){t[6](l)}let s={className:t[1]?"hidden":"",testId:"btn-graph",disabled:t[2],ariaLabel:t[5],click:t[4],$$slots:{default:[V4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.className=l[1]?"hidden":""),r&4&&(a.disabled=l[2]),r&32&&(a.ariaLabel=l[5]),r&16&&(a.click=l[4]),r&136&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function B4(t,e,i){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:s=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=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,o=f.hidden),"disabled"in f&&i(2,s=f.disabled),"graphIsOpened"in f&&i(3,l=f.graphIsOpened),"click"in f&&i(4,r=f.click)},t.$$.update=()=>{t.$$.dirty&8&&i(5,a=K(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,s,l,r,a,c]}class Tu extends be{constructor(e){super(),ge(this,e,B4,M4,he,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function R4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Eu extends be{constructor(e){super(),ge(this,e,null,R4,he,{})}}function N4(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 Sr(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 z4(t){let e,i,n,o,s=t[1]&&Sr();return n=new Eu({}),{c(){s&&s.c(),e=N(),i=E("div"),U(n.$$.fragment),u(i,"class","v-1ot3duq"),B(i,"mobile",t[1])},m(l,r){s&&s.m(l,r),T(l,e,r),T(l,i,r),O(n,i,null),o=!0},p(l,r){l[1]?s||(s=Sr(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),(!o||r&2)&&B(i,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(S(e),S(i)),s&&s.d(l),H(n)}}}function D4(t){let e,i,n;function o(l){t[5](l)}let s={className:(t[1]?"btn-m--play":"")+" "+t[3],testId:"btn-replay",ariaLabel:K("tooltip_restart"),disabled:t[2],click:t[4],ariaKeyShortCut:Bo[Ee.KeyK],$$slots:{default:[z4]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),r&4&&(a.disabled=l[2]),r&16&&(a.click=l[4]),r&66&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function O4(t,e,i){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:s=!1}=e,{className:l=""}=e,{click:r=Qe}=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,o=c.isMobile),"disabled"in c&&i(2,s=c.disabled),"className"in c&&i(3,l=c.className),"click"in c&&i(4,r=c.click)},[n,o,s,l,r,a]}class Yl extends be{constructor(e){super(),ge(this,e,O4,D4,he,{ref:0,isMobile:1,disabled:2,className:3,click:4},N4)}}function H4(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class F4 extends be{constructor(e){super(),ge(this,e,null,H4,he,{})}}function U4(t){let e,i;return e=new F4({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function q4(t){let e,i;return e=new ki({props:{className:t[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:K("tooltip_interactive_go_back"),disabled:t[1],click:t[2],$$slots:{default:[U4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&1&&(s.className=n[0]?"hidden":""),o&2&&(s.disabled=n[1]),o&4&&(s.click=n[2]),o&8&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Z4(t,e,i){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:s}=e;return t.$$set=l=>{"hidden"in l&&i(0,n=l.hidden),"disabled"in l&&i(1,o=l.disabled),"click"in l&&i(2,s=l.click)},[n,o,s]}class Iu extends be{constructor(e){super(),ge(this,e,Z4,q4,he,{hidden:0,disabled:1,click:2})}}function W4(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 K4(t){let e,i,n,o;return{c(){e=E("img"),u(e,"class","icon v-1x1zctw"),as(e.src,i=t[0])||u(e,"src",i),u(e,"aria-hidden","true")},m(s,l){T(s,e,l),n||(o=me(e,"error",t[7]),n=!0)},p(s,l){l&1&&!as(e.src,i=s[0])&&u(e,"src",i)},d(s){s&&S(e),n=!1,o()}}}function j4(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:Z,d(i){i&&S(e)}}}function G4(t){let e;function i(s,l){return s[5]?j4:K4}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,l){n===(n=i(s))&&o?o.p(s,l):(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},d(s){s&&S(e),o.d(s)}}}function Y4(t){let e,i;return e=new ki({props:{className:t[4]?"btn-full-opacity":"",ariaLabel:t[1],click:t[3],disabled:t[6],testId:t[2],$$slots:{default:[G4]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,[o]){const s={};o&16&&(s.className=n[4]?"btn-full-opacity":""),o&2&&(s.ariaLabel=n[1]),o&8&&(s.click=n[3]),o&64&&(s.disabled=n[6]),o&4&&(s.testId=n[2]),o&545&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Q4(t,e,i){let n,o,s,{iconUrl:l}=e,{ariaLabel:r}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Qe}=e;const p=()=>{i(5,s=!0)};return t.$$set=h=>{"iconUrl"in h&&i(0,l=h.iconUrl),"ariaLabel"in h&&i(1,r=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===Qe),t.$$.dirty&272&&i(6,o=n||a)},i(5,s=!1),[l,r,c,f,n,s,o,p,a]}class Au extends be{constructor(e){super(),ge(this,e,Q4,Y4,he,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},W4)}}const X4=(t,e)=>t<400||e<225?5:t<640||e<360?0:t<960||e<540?1:t<1280||e<720?2:3,J4="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class x4{adman=null;initialVolume=1;videoElement=null;currentAdSection=null;actions=null;adsState=null;playerState=null;log;loadTimeout;initTimeout;events={slotRequested$:new cn,started$:new cn,paused$:new cn,resumed$:new cn,ended$:new cn,skipped$:new cn,clicked$:new cn};constructor(e,i){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}loadAdman=e=>new Promise((i,n)=>{let o;const s=()=>{clearTimeout(o),delete window.admanAsyncInit,window.AdmanHTML?i():n()};Ic(J4,e,this.loadTimeout).then(()=>{window.AdmanHTML?i():(window.admanAsyncInit=s,o=window.setTimeout(s,this.initTimeout))}).catch(()=>{n()})});onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:i,height:n,isFullscreen:o,isAutoplay:s,adsContainer:l,adsVideoElement:r,slotId:a,params:c={},duration:f,previewParam:p}=e;let h;const _=this.playerState&&$e(this.playerState.vsid);_&&(h=parseInt(_,36));const b={dl:encodeURIComponent(window.location.href),autoplay:s,player_width:i,player_height:n,puid10:X4(i,n),puid11:o?0:1,preview:p,...h?{request_id:h}:{},duration:f,...c},w={slot:a,wrapper:l,videoEl:r,videoQuality:n,params:b,browser:{mobile:!1}},v=new window.AdmanHTML;v.setDebug(!1),v.onReady(this.onAdsReady),v.onStarted(this.onAdStarted),v.onPlayed(this.onAdPlayed),v.onPaused(this.onAdPaused),v.adMidrollPoint(this.onAdMidrollPoint),v.onClosed(this.onAdClosed),v.onSkipped(this.onAdSkipped),v.onClicked(this.onAdClicked),v.onTimeRemained(this.onAdTimeRemained),v.onCompleted(this.onAdCompleted),v.onError(this.onAdError),v.init(w),this.adman=v,this.videoElement=r,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}ct(this.actions),ct(this.adsState),ct(this.playerState);const i=this.currentAdSection===Ln.Postroll;this.adsState.playbackState.set(Yt.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(){ct(this.adsState),this.log({message:"toggle play"});const e=$e(this.adsState.playbackState);e===Yt.PLAYING?this.pause():e===Yt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){this.log({message:`set volume ${e}`}),this.adman?.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){this.log({message:`set fullscreen ${e}`}),this.adman?.setFullscreen(e)}startPreroll(){ct(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Ln.Preroll,this.adman.start(Ln.Preroll)}startPostroll(){ct(this.adman),ct(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Ln.Postroll,this.adman.start(Ln.Postroll)}onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()};onAdStarted=(e,i)=>{ct(this.adsState),ct(this.playerState),ct(this.actions),this.log({message:`ad started, section: ${e}, banner: ${JSON.stringify(i)}`}),this.events.started$.next(e),i.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),$e(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(i.duration),this.adsState.playbackState.set(Yt.PLAYING),this.adsState.canSkip.set(i.allowClose),this.adsState.secondsToWatchBeforeSkip.set(i.allowCloseDelay)};onAdTimeRemained=({currentTime:e})=>{ct(this.adsState),this.adsState.position.set(e)};onAdPaused=()=>{ct(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Yt.PAUSED)};onAdPlayed=()=>{ct(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Yt.PLAYING)};onAdMidrollPoint=()=>{ct(this.adman),ct(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Ln.Midroll,this.adman.start(Ln.Midroll)};onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()};onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()};onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()};onAdClicked=()=>{this.log({message:"ad clicked"}),this.videoElement?.pause(),this.events.clicked$.next()};onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)};play(){ct(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){ct(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){ct(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,i){this.adman?.setPosition(Math.floor(e),Math.floor(i))}destroy(){this.log({message:"destroy"}),this.adman?.destroy()}}const $4=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 e3{oneLineRegExp=/\r\n|\n|\r/;twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/;parse(e){const i=[],n=e.split(this.twoLinesRegExp);for(const o of n){const s={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const r of l)if(!s.startTime&&!s.endTime){const a=new Lu,{startTime:c,endTime:f}=a.parse(r);s.startTime=c,s.endTime=f}else if(r.trim()!==""){const a=new t3,{texts:c}=a.parse(r);s.texts=[...s.texts,...c]}(s.startTime||s.endTime)&&s.texts.length>0&&i.push(s)}return i}}class Lu{timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/;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",o="0"){const s=Number(e)*60*60,l=Number(i)*60,r=Number(n),a=+`0.${o}`;return s+l+r+a}}class t3{letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/;parse(e){const i={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let r=0;const a=[];for(;r<l.length;){const c=["<",">"].reduce((f,p)=>{const h=l.indexOf(p,r);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(r));break}a.push(l.substring(r,c)),r=c+1}return a}}),s=new Lu;for(const l of o)s.isTime(l)?i.texts.push({type:"timestamp",value:s.parseTime(l)}):i.texts.push({type:"text",value:l});return i}}let Wn,un,kl=0,yl=!1;const i3=(t,e,i)=>{const n=t>=kl,o=t<kl,s=(c,f=0,p=0)=>c<f&&c<p,l=(c,f=0,p=0)=>c>=f&&c<=p,r=(c,f=0,p=0)=>c>f&&c>p,a=i.find(({lang:c})=>c===e.value)?.subtitles;if(kl=t,o&&(yl=!1),gn(Wn)&&l(t,Wn.startTime,Wn.endTime)&&Wn.lang===e.value)return Wn;if(!gn(un)&&a?.length&&!yl){const c=a.find(({startTime:f,endTime:p})=>l(t,f,p)||n&&s(t,f,p));un=c&&{...c,lang:e.value},Wn=void 0,!gn(un)&&a[a.length-1].endTime<t&&(yl=!0);return}else{if(l(t,un?.startTime,un?.endTime))return Wn=un,un=void 0,Wn;(n&&r(t,un?.startTime,un?.endTime)||o&&s(t,un?.startTime,un?.endTime))&&(un=void 0)}},Cl={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let Qo=null;class To{constructor(e,i){if(!Qo){const n=new Uc(e,i),o=new jn;Qo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n?.destroy(),o?.unsubscribe(),Qo=null}})}}static getInstance(){return Qo}}const n3=({interfaceLanguage:t,videoId:e,isClip:i,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:s,canDownload:l,callbacks:r,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:p,coreConfig:h,player:_,disabledControls:b,isInteractive:w,interactiveRanges$:v,isInteractiveTime$:P,replayInteractive:k,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:I,additionalButtons:ne,looped:M=!1})=>{const W={...h,configName:[...h.configName??[],"ui"],isAudioDisabled:s,live:{...h.live??{},isLiveCatchUpMode:!!n}},ie=p,L=_||new yc(W);L.setLooped(M);const V=new g1,x=new x4(V,{loadTimeout:ie.ads.loadTimeout,initTimeout:ie.ads.initTimeout}),Y=To.getInstance(),oe=Al.getInstance(),j=a?.pictureInPictureApi,C=a?.annotationsApi,G=V.createComponentLog("Store");let D,ee,Te={};const Re=Ml(),Be=Y?dt(Y.oneStat.vsid$):Pn(void 0),ze=Ve(Ao()),_e=j?.info.isActive$??new Vl(!1),we=j?.info.type,Q=Ve(0),$=Ve([]),ke=Ac(L.events.fatalError$,L.events.managedError$).subscribe(A=>$.update(re=>[...re,A])),se=Pn(!1,A=>{const re=L.events.fatalError$.subscribe(()=>A(!0));return()=>re.unsubscribe()}),We=async A=>{const re=Object.values(Lo).includes(A);if(ie.downloadVKLanguages&&(re&&ie.updateBuiltinLanguages||!ms(A))){let Fe;try{Fe=await Mc(A,lf,sf)}catch(Xe){Y?.oneStat?.logError({errorType:"VKLangPack",fatal:!1}),oe?.report(Xe,{errorType:"VKLangPack",fatal:!1})}Fe&&(ds({language:A,pack:Fe,fallback:ie.defaultLanguage}),Ae.set(A))}ms(A)&&Ae.set(A)},Ae=Ve(t);We(t);const Ie=(A,re)=>{const Se=$e(Ae);return q1(Se,A,re,ie.defaultLanguage)},ae=Ve(Ne.Thumb),Ce=(()=>{const A=Ni([se,ae],([re,Se])=>re?Ne.Crashed:Se);return{...A,is:re=>$e(A)===re}})(),pe=(()=>{const A=Ve(new Set(b));return{...A,add:re=>{A.update(Se=>new Set([...Se].concat(re)))},remove:re=>{A.update(Se=>{const Fe=[...Se];return new Set(Array.isArray(re)?Fe.filter(Xe=>!re.includes(Xe)):Fe.filter(Xe=>Xe!==re))})},includes:re=>{const Se=$e(A);return Array.isArray(re)?re.every(Fe=>Se.has(Fe)):Se.has(re)}}})();G({message:"create store"});const le=A=>{G({message:`init video, config: ${JSON.stringify(A)}`}),w?A.container.append(L.experimental.element$.getValue()):L.initVideo(A),A.subtitles&&L.setExternalTextTracks(A.subtitles),D=A},Me=new cn,de=A=>Me.next(A),ye=new cn,Pe=new cn,je=new cn,tt={actionRewind$:ye,actionSeek$:Pe,inPiP$:_e,inFullscreen$:new Lc(A=>ze.subscribe(re=>A.next(re))),actionSetSubtitle$:je,nextMovie$:Me};if(Y){const{oneStat:A,statSubscription:re}=Y;re.add(A.attachTo(L)),re.add(A.attachToUi(tt)),re.add(A.attachToAds(x.events)),A.authorize(o).catch(Se=>{G({message:`onestat auth error ${String(Se)}`})})}if(oe){const A=new jn,re=(Se,Fe)=>A.add(Se.subscribe(Fe));if(re(L.events.managedError$,Se=>{oe.logIError(Se)}),re(L.events.fatalError$,Se=>{oe.logIError(Se,!0)}),Y){const{oneStat:Se}=Y;re(Se.experimental.error$,Fe=>{oe.logIError(Fe)})}oe.sentrySubscription.add(A)}const Je=()=>{Bl()&&ee&&Nf(ee)},Ye=new jn().add(L.experimental.element$.subscribe(A=>{A&&(ee=A,A.classList.add("player-media"),tl(j)&&(j.updateVideoElement(),j.registryEventHandlers()),w&&A.setAttribute("pip","false"))})).add(L.events.ended$.subscribe(()=>{Je(),r?.onEnded?.()})).add(L.events.started$.subscribe(async()=>{tl(j)&&await j?.revealPictureInPicture();const A=L.info.muted$.getValue();r?.onStarted?.(),Te.onStarted?.(A)})).add(L.events.willSeek$.subscribe(({from:A,to:re})=>{r?.onSeek?.(A,re)})).add(L.info.position$.subscribe(A=>{const re=L.info.duration$.getValue();r?.onTimeupdate?.(re,A),x.setPosition(A,re)})).add(L.events.fatalError$.subscribe(()=>{r?.onCrashed?.()})).add(L.info.is3DVideo$.subscribe(A=>{lt.ui.is3DVideo.set(A)})).add(L.info.isEnded$.subscribe(A=>{w&&(A?(P?.getValue()&&pe.add(E1),pe.add(st.PLAY_BUTTON)):pe.remove(st.PLAY_BUTTON))})).add(L.info.liveTime$.subscribe(A=>{r?.onLiveTime?.(A)})).add(L.info.isStalled$.subscribe(A=>{r?.onStalledChanged?.(A)})),et=new jn,Et=()=>{et.add(L.events.log$.subscribe(A=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${A.component}`,A.message)})).add(V.log$.subscribe(A=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${A.component}.`,A.message)}))},pt=()=>{et.unsubscribe()},Oe=(A,re)=>{L.startCameraManualRotation(A,re)},yt=(A=!1)=>{L.stopCameraManualRotation(A)},Xt=(A,re,Se)=>{L.moveCameraFocusPX(A,re,Se)},fe=()=>{L.holdCamera()},gt=()=>{L.releaseCamera()},rt=Pn(L.info.position$.getValue(),A=>{let re,Se;const Fe=()=>{const Xe=L.info.playbackState$.getValue(),ai=L.info.isLive$.getValue(),Ri=L.info.duration$.getValue(),jt=L.info.position$.getValue();if([zt.PLAYING,zt.PAUSED].includes(Xe)){const mn=ai?jt-Ri:L.getExactTime();mn!==Se&&A(mn),Se=mn}re=requestAnimationFrame(Fe)};return Fe(),()=>cancelAnimationFrame(re)}),Jt=dt(_e),at=dt(L.info.playbackState$),_t=dt(L.info.currentBuffer$),ui=dt(L.info.isEnded$),Ot=dt(L.info.isLive$),ci=ie.features.playbackRate?dt(L.info.canChangePlaybackSpeed$):Pn(!1),Zi=dt(L.info.liveBufferTime$),fi=dt(L.info.volume$),yi=dt(L.info.muted$),Ji=V1(L.info.autoQualityLimits$.pipe(Vc(({max:A})=>A!==void 0)),L.info.autoQualityLimits$.getValue()?.max!==void 0),di=dt(L.info.autoQualityLimitingAvailable$),mi=dt(L.info.availableQualities$),Ci=dt(L.info.availableQualitiesFps$),It=dt(L.info.chromecastState$),xt=dt(L.info.chromecastDeviceName$),Pi=dt(L.info.currentFormat$),$t=dt(L.info.throughputEstimation$),Si=dt(L.info.videoBitrate$),pi=dt(L.info.intrinsicVideoSize$),Ht=dt(L.info.duration$),zi=dt(L.info.isAudioAvailable$);let Pt=null;const Ft=L.info.isBuffering$,Ti=Pn(Ft.getValue(),A=>{const re=Ft.subscribe(Se=>{Se&&Pt===null?Pt=window.setTimeout(()=>{A(Ft.getValue()),Pt=null},ie.loaderDelay):A(Se)});return()=>{re.unsubscribe(),Pt&&clearTimeout(Pt)}}),Di=()=>{Pt&&clearTimeout(Pt),Pt=null},St=Ni([Ht,Ot],([A,re])=>re?-A:A),ei=Ni([at],([A])=>A===zt.PLAYING),ti=dt(L.info.atLiveEdge$),hi=dt(L.info.atLiveDurationEdge$),vt=dt(L.info.position$),At=Ni([vt,Ht],([A,re])=>isFinite(A)&&isFinite(re)&&!!re),gi=Ni([It],([A])=>A===Sn.CONNECTED),bt=Ve(void 0),Ei=dt(L.info.isAutoQualityEnabled$,A=>A&&bt.set(void 0)),Ii=dt(L.info.currentQuality$,()=>bt.set(void 0)),Ct=Ni([bt,Ii],([A,re])=>A??re),Ut=Ni([mi,Ci,Ei,Ct,Pi],([A,re,Se,Fe,Xe])=>{const ai=[];Xe!==Po.MPEG&&ai.push({value:mo.AUTO,displayValue:Ie("auto_quality_option"),selected:Se});const Ri=A.filter(jt=>jt!==Xo.INVARIANT);for(const jt of Ri){const mn=re[jt],Qn=jt===Xo.INVARIANT?Ie("auto_quality_option"):jt;ai.push({value:jt,displayValue:`${Qn}${mn?$4(mn):""}`,selected:Se?!1:jt===Fe})}return ai}),Wi=dt(L.info.currentPlaybackRate$),qt=Ni([Wi,ti,hi],([A,re,Se])=>{const Fe=Se||w?1:ie.controls.playbackRateMin,Xe=re?1:ie.controls.playbackRateMax,ai=ie.controls.playbackRateStep,Ri=[];for(let jt=Fe;jt<=Xe;jt+=ai)Ri.push({value:jt,displayValue:jt===1?Ie("playback_rate_1"):Ie("playback_rate",{multiplier:jt.toString(10)}),selected:A===jt});return Ri}),xi=ie.features.subtitles?dt(L.info.availableTextTracks$):Pn([]),ii=Ni([xi],([A],re)=>{const Se=[],Fe=[];for(const Xe of A)Xe.url&&Se.push(fetch(Xe.url));Promise.allSettled(Se).then(Xe=>{for(const[ai,Ri]of Xe.entries())Ri.status==="fulfilled"&&Ri.value.text().then(jt=>{const mn=new e3,Qn=A[ai].language,No=!!A[ai].isAuto,yo=mn.parse(jt);Qn&&yo&&Fe.push({lang:Qn,subtitles:yo,isAuto:No}),ai===Xe.length-1&&re(Fe)})})}),Bt={displayValue:Ie("subtitles_off"),value:"off"},Rt=Ve({...Bt}),bi=Ni([ii,Rt,ii],([A,re])=>{if(A?.length>0){const Se=[{...Bt,selected:re?.value===Bt.value}];for(const{lang:Fe,isAuto:Xe}of A)Cl[Fe]&&Se.push({displayValue:Xe?Ie("subtitles_auto",{language:Cl[Fe]}):Cl[Fe],value:Fe,selected:re?.value===Fe,isAuto:Xe});return Se}else return[]}),Lt=Ni([rt,Rt,ii],([A,re,Se])=>{if(re&&re.value!==Bt.value)return i3(A,re,Se)}),Ki=Ni([Lt],([A])=>A?.texts?A.texts:[]),ji=Ve(!0),Ai=Ni([_t,St,vt,Zi],([A,re,Se,Fe])=>{const Xe=A?.end??0;if(!Fe)return Xe/re;const Ri=-Se+Fe-re;return(Xe-Ri)/re}),_i=dt(L.info.availableSources$),ht=Ni([_i],([A])=>Object.keys(A?.[Po.MPEG]||{}).length>0),Oi=()=>{const A=Object.keys(L.info.availableSources$?.getValue()?.[Po.MPEG]||{}),re=Bc(A)||Xo.Q_144P;return D.sources[Po.MPEG]?.[re]},Hi=()=>{const A=Oi();A?hf(A,D?.meta?.title||"video"):G({message:"There is no URL for download video"})},Li=()=>{G({message:"toggle muted"});const A=L.info.muted$.getValue(),Fe=!(L.info.volume$.getValue()===0||A);vi(Fe)},Vi=()=>{lt.ui.settingsMenuVisible.set(!1)},Mi=A=>{lt.ui.settingsMenuOpenedByKeyboard.set(!!A),lt.ui.settingsMenuVisible.set(!0)},Fi=A=>{$e(lt.ui.settingsMenuVisible)?Vi():Mi(A)},ni=(A,re=A,Se=!1)=>{const Fe=!Se,Xe=L.info.muted$.getValue();G({message:`set volume, volume: ${A}, preferredVolume: ${re}, internalCall: ${Fe}`}),L.setVolume(A),x.setVolume(A),Fe&&r?.onVolumeChange?.(A),fs(re),Xe?(L.setMuted(!1),Fe&&r?.onUnmute?.(),gl(!1)):!Xe&&A===0&&(L.setMuted(!0),Fe&&r?.onMute?.(),gl(!0))},vi=(A,re=!1)=>{const Se=!re,Fe=L.info.volume$.getValue();if(G({message:`set muted, currentVolume: ${Fe}, mute: ${A}, internalCall: ${Se}`}),L.setMuted(A),x.setVolume(A?0:Fe),gl(A),Se&&(A?r?.onMute?.():r?.onUnmute?.()),Fe===0){let Xe=z1()??ie.volumeDefault;Xe===0&&(Xe=ie.volumeMinRestore,fs(Xe)),L.setVolume(Xe),x.setVolume(Xe),Se&&r?.onVolumeChange?.(Xe)}},oi=()=>{L.prepare()},Zt=()=>{if(ct(lt),!$e(lt.ui.controls.disabledControls$).has(st.PLAY_BUTTON)){if(G({message:"toggle play"}),$e(lt.playerPhase)===Ne.Ads){x.togglePlay();return}if(L.info.playbackState$.getValue()!==zt.PLAYING){if(L.info.isEnded$.getValue()){if(G({message:"toggle play, video ended, seek to 0"}),ye.next(),Pe.next(Vt.REWIND),w){k?.();return}L.seekTime(0)}G({message:"toggle play, call player.play"}),L.play(),r?.onPlay?.()}else G({message:"toggle play, call player.pause"}),L.pause(),r?.onPause?.()}},Le=A=>{G({message:`set quality, quality: ${A}`}),L.setAutoQuality(A===mo.AUTO),A!==mo.AUTO?(gf(e,A),bt.set(A),L.setQuality(A)):D1()},Ui=A=>{G({message:`set trafficSavingEnabled, value: ${A}`}),L.setAutoQualityLimits({max:A?ie.trafficSavingLimit:void 0}),vf(A)},wi=A=>{L.setPlaybackRate(A)},He=()=>{const A=$e(qt),re=A.findIndex(({selected:Fe})=>Fe);if(re===A.length-1)return;const Se=A[re+1];wi(Se.value)},Gi=()=>{const A=$e(qt),re=A.findIndex(({selected:Fe})=>Fe);if(re===0)return;const Se=A[re-1];wi(Se.value)},Wt=A=>{A&&A.value!==Bt.value&&je.next(A.isAuto?A.value+"_auto":A.value),Rt.set(A)},nn=()=>{const A=$e(bi),re=$e(Rt),Se=$e(Ae);if(re?.value===Bt.value){const Fe=A.filter(Xe=>Xe.value!==Bt.value).find(Xe=>Xe.value===Se)||A[1];Wt(Fe??{...Bt})}else Wt({...Bt,selected:!1})},li=(A,re,Se=!0)=>{if(G({message:`seek to time, time: ${A}`}),Pe.next(re),L.info.isLive$.getValue()){const Fe=L.info.duration$.getValue(),Xe=Math.min(0,Fe+A);L.seekTime(Xe,Se)}else{if(P?.getValue())return;L.seekTime(q(A),Se)}},$i=A=>{G({message:`seek to episode start time: ${A}`}),li(A,Vt.EPISODE,!0)},Kt=(A,re)=>{G({message:`seek to percent, percent: ${A}`});const Se=Math.round($e(St)*A);li(Se,re,!1)},Bi=A=>{G({message:`seek external, time: ${A}`}),Pe.next(Vt.UNKNOWN),L.seekTime(L.info.isLive$.getValue()?-A:A)},on=A=>{G({message:`set auto quality limitation. Max: ${A.max??"none"}. Min: ${A.min??"none"}`}),L.setAutoQualityLimits(A)},en=A=>{G({message:`seek external to episode start time: ${A}`}),li(A,Vt.EPISODE,!0)},Yi=A=>{G({message:`set playback rate to: ${A}`}),L.setPlaybackRate(A)},qi=Ve(void 0),Nt=Ve(!1),te=A=>{G({message:`start scrubbing, progress: ${A}`}),Nt.set(!0),ot(A)},ot=A=>{qi.set(A)};let si,Qi;const wt=()=>{qi.set(void 0),Nt.set(!1)},tn=()=>{clearTimeout(Qi),clearTimeout(si),si=window.setTimeout(()=>{wt()},500),ee?.removeEventListener("seeked",tn)},wn=A=>{G({message:`complete scrubbing, progress: ${A}`}),Kt(A,Vt.SLIDER),$e(lt.ui.isMobile)&&$e(lt.state.currentFormat$)===Po.HLS?(ee?.addEventListener("seeked",tn),Qi=window.setTimeout(()=>{tn()},300)):wt()},fn=Ni([rt,St,qi],([A,re,Se],Fe)=>{Fe(gn(Se)?Se*re:A)}),dn=Ve({width:0,height:0}),ln=Ni([dn],([{width:A}],re)=>{const Se=q2(A);re(Se)}),X=Ve(!1),ft=Ni([ln,X],([A,re])=>re?ne.filter(Se=>!Se.hideOnMobile):ne.filter(Se=>!Se.hideOnDesktopGridTypes?.includes(A))),kn=Ni([X,se],([A,re],Se)=>{Se(A&&re)}),yn=()=>{Pe.next(Vt.LIVE),G({message:"switch to active live"}),L.seekTime(0),L.info.playbackState$.getValue()!==zt.PLAYING&&lt.actions.internal.togglePlay()},Cn=()=>x.skip(),On=(A=!0)=>{ct(lt),G({message:`switch from ads to video, callPlay: ${A}`}),ae.set(Ne.Video),A&&L.play()},Hn=()=>{ct(lt),G({message:"switch from video to ads"}),lt.actions.internal.pause(),Je(),ae.set(Ne.Ads)},Fn=A=>{ct(lt);const re=A?Ne.WaitingLive:Ne.Thumb;ae.set(re)},Un=A=>{ct(lt);const re=A?Ne.WaitingRecord:Ne.Thumb;ae.set(re)},J=()=>(ct(lt),mf(L,D,lt)),qn=()=>(ct(lt),pf(L,D,lt)),$n=()=>ee,eo=()=>{G({message:"toggle chromecast"}),L.toggleChromecast()},Gn=A=>{ct(lt);const re=!A;if($e(lt.playerPhase)===Ne.Ads){G({message:`pause ads, internalCall: ${re}`}),x.pause();return}G({message:`pause video, internalCall: ${re}`}),re&&r?.onPause?.(),L.pause()},to=A=>{ct(lt);const re=!A;if($e(lt.playerPhase)===Ne.Ads){G({message:`play ads, internalCall: ${re}`}),x.play();return}G({message:`play video, internalCall: ${re}`}),re&&r?.onPlay?.(),L.play()},En=(A,re)=>{ct(lt),G({message:`first start, show ads: ${A}, internalCall: ${!re}`}),A?ae.set(Ne.Ads):(ae.set(Ne.Video),re?L.play():lt.actions.internal.togglePlay())},In=()=>(G({message:"getting time codes"}),c),An=()=>{const A=In();if(!A||[0,1].includes(A.length))return;const re=L.info.position$.getValue();return A.find(Se=>Se.time>re)},vo=A=>{let re=A;re||(re=An()),re&&(G({message:"seek to next episode"}),li(re.time,Vt.EPISODE,!0))},sn=()=>{const A=In();if(!A||[0,1].includes(A.length))return;const re=L.info.position$.getValue(),Se=A.findIndex(Xe=>Xe.time>re),Fe=Se===-1?A.length-2:Se-2;if(!(Fe<0))return A[Fe]},io=A=>{let re=A;re||(re=sn()),re&&(G({message:"seek to prev episode"}),li(re.time,Vt.EPISODE,!0))},no=()=>(G({message:"getting preview thumbs data"}),f),wo=async()=>{j?.isActive()?await j?.remove():await j?.request()},ko=(A=-90)=>{Q.update(re=>re+A)},Yn=Ve([]);v?.subscribe(A=>{const re=[];for(let Se=0;Se<A.length;Se++){const{range:[Fe,Xe],subjects:ai}=A[Se];Se===0&&Fe!==0&&re.push({time:0,text:"",interactive:!1,completed:!0}),re.push({time:Fe/1e3,text:"",interactive:!0,completed:!ai.length}),Xe!==1/0&&re.push({time:Xe/1e3,text:"",interactive:!1,completed:!0})}Yn.set(re)});const oo=Ve(!1);P?.subscribe(A=>{A&&$e(Nt)&&wt()});const q=A=>{if(!w)return A;const re=$e(Yn),Se=$e(St),Xe=$e(vt)/Se,ai=re.find(Ri=>Ri.interactive&&!Ri.completed&&Ri.time>Xe);return typeof ai?.time=="number"?Math.min(A,ai.time-.05):A},ri=()=>{lt.ui.episodes.panelOpened$.set(!1)},Zn=()=>{clearTimeout(Qi),clearTimeout(si),Ye.unsubscribe(),et.unsubscribe(),L.destroy(),x.destroy(),Y?.destroy(),oe?.destroy(),ke.unsubscribe()},lt={interfaceLanguage$:Ae,initVideo:le,videoId:e,isClip:i,playerPhase:Ce,vsid:Be,state:{positionExact$:rt,positionWithScrubbing$:fn,duration$:St,playbackState$:at,isPlaying$:ei,isLoaderVisible:Ti,bufferedProgress$:Ai,isLive$:Ot,canChangePlaybackSpeed$:ci,isActiveLive$:ti,isOldestAvailableLive$:hi,isRewindableLive$:At,isEnded$:ui,muted$:yi,volume$:fi,trafficSavingEnabled$:Ji,autoQualityLimitingAvailable$:di,currentQuality$:Ct,isAutoQualityEnabled$:Ei,availableQualities$:Ut,currentPlaybackRate$:Wi,availablePlaybackRates$:qt,currentSubtitle$:Rt,availableSubtitlesList$:bi,currentSubtitleCaptions$:Ki,isAutoSubtitleCaptionVisible$:ji,chromecastState$:It,chromecastDeviceName$:xt,chromecastConnected$:gi,currentFormat$:Pi,throughputEstimation$:$t,videoBitrate$:Si,videoSize$:pi,errorLog$:$,crashed$:se,isAudioAvailable$:zi,isAudioDisabled:!!s,canDownload:ie.features.download&&!!l,availableSources$:_i,hasMpegSources$:ht,isInteractive:w,isInteractiveGraphEnabled:ie.features.interactiveGraph,isSeekToInteractiveEnable:ie.features.seekToInteractive,isPlayPrevChapterEnabled:ie.features.interactivePlayPrevChapter,interactiveEpisodes$:Yn,isInteractiveTime$:P?dt(P):Ve(!1),graphIsOpened$:Ve(!1),isInteractiveExpectation$:oo,hasInteractiveBranches:y,playPrevChapterDisabledTooltip:I},ui:{controlsVisible:Ve(!1),touched:Ve(!1),controls:{prevButton:Ve(void 0),playButton:Ve(void 0),replayButton:Ve(void 0),nextButton:Ve(void 0),playPrevChapterButton:Ve(void 0),seekToInteractiveButton:Ve(void 0),interactiveGraphButton:Ve(void 0),liveButton:Ve(void 0),time:Ve(void 0),episodes:Ve(void 0),volume:Ve(void 0),subtitles:Ve(void 0),settings:Ve(void 0),context:Ve(void 0),chromecast:Ve(void 0),pip:Ve(void 0),fullscreen:Ve(void 0),vkLogo:Ve(void 0),interactiveTimeIcon:Ve(void 0),additionalButtons:ne.length?ne.reduce(A=>[...A,Ve(void 0)],[]):[],disabledControls$:pe},modals:{hotKeyMap:{show:Ve(!1),data:Ve({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ze,rotateAlpha:Q,isAutoplay:Ve(!1),contextMenuVisible:Ve(!1),debugPanelVisible:Ve(!1),episodes:{panelOpened$:Ve(!1),openedByKeyboard$:Ve(!1)},contextMenu:{btnRef$:Ve(void 0),openedByKeyboard$:Ve(!1),showContextMenuBtn$:Ve(!1)},playerSize:dn,isMobile:X,mobileNotReportControlHidden$:kn,mobileUnmuteButtonExpanded:Ve(!1),mobileUnmuteButtonVisible:Ve(!1),icon3DVideoVisible:Ve(!1),settingsMenuVisible:Ve(!1),settingsMenuOpenedByKeyboard:Ve(!1),scrubbingInProgress:Nt,is3DVideo:Ve(!1),isPictureInPictureActive$:Jt,pictureInPictureType$:Pn(we),clientInfo$:Pn(Re),currentGridType$:ln,additionalButtons$:ft,interactiveHideMobileControls:Ve(!1),overlayContainer$:Ve(void 0),startedByKeyboard$:Ve(!1)},ads:{position:Ve(0),duration:Ve(0),playbackState:Ve(Yt.INACTIVE),canSkip:Ve(!1),secondsToWatchBeforeSkip:Ve(0),postrollPassed:Ve(!1)},webApi:{pictureInPictureApi:j,annotationsApi:C},actions:{internal:{preload:oi,firstStart:A=>En(A,!1),pause:()=>Gn(!1),togglePlay:Zt,toggleMuted:Li,toggleSettingsMenu:Fi,openSettingsMenu:Mi,closeSettingsMenu:Vi,setVolume:ni,setQuality:Le,setTrafficSavingEnabled:A=>Ui(A),setPlaybackRate:wi,incrementPlaybackRate:He,decrementPlaybackRate:Gi,setSubtitle:Wt,toggleSubtitle:nn,togglePictureInPicture:wo,startScrubbing:te,progressScrubbing:ot,completeScrubbing:wn,toggleChromecast:eo,switchToActiveLive:yn,switchFromAdsToVideo:On,switchFromVideoToAds:Hn,skipAd:Cn,setWaitingLive:Fn,setWaitingRecord:Un,getDebugTextData:J,getDebugPanelData:qn,getVideoElement:$n,seekTime:(A,re,Se)=>li(A,re,Se),clearDelayedBufferingCheckTimeout:Di,seekEpisodeStartTime:$i,seekToPercent:Kt,getNextEpisode:An,seekToNextEpisode:vo,getPrevEpisode:sn,seekToPrevEpisode:io,startLogging:Et,stopLogging:pt,startCameraManualRotation:Oe,stopCameraManualRotation:yt,moveCameraFocusPX:Xt,holdCamera:fe,releaseCamera:gt,getVideoEpisodes:In,getPreviewThumbsData:no,downloadVideo:Hi,addLanguage:ds,setLanguage:We,nextMovie:de,videoRotate:ko,correctSeekTimeToInteractive:q,replayInteractive:k},external:{firstStart:A=>En(A,!0),play:()=>to(!0),pause:()=>Gn(!0),seekTime:A=>Bi(A),seekEpisodeStartTime:A=>en(A),setPlaybackRate:A=>Yi(A),setAutoQualityLimits:A=>on(A),setMuted:A=>vi(A,!0),setVolume:A=>ni(A,A,!0),returnFocusToEpisodes:ri}},callbacks:r,setUiCallbacks:A=>{Te={...A}},getAdmanWrapper:()=>x,getLogger:()=>V,destroy:Zn};return lt},Vu=(t,e,i,n)=>{if(!t)return;const o=["interactiveTimeIcon"],s=t.getBoundingClientRect();for(const[l,r]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=i[l]?.getBoundingClientRect(),c=(n||o.includes(l))&&!!a&&!!(a.right-a.left);r.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-s.left):0,right:c?Math.round(a.right-s.left):0,top:c?Math.round(a.top-s.top):0,bottom:c?Math.round(a.bottom-s.top):0,isDisplayed:c})}},Mu=async(t,e,i)=>{await Mo(),e&&i&&(i.focus(),t.set(!1))};function o3(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M18 10c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Zm-6 4c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Zm-6 0c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"),u(i,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","dots-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class l3 extends be{constructor(e){super(),ge(this,e,null,o3,he,{})}}function s3(t){let e,i;return e=new l3({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function r3(t){let e,i,n;function o(l){t[8](l)}let s={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:[s3]},$$scope:{ctx:t}};return t[2]!==void 0&&(s.ref=t[2]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&8&&(a.className=l[3]?"opened":""),r&1&&(a.disabled=l[0]),r&2&&(a.ariaLabel=l[1]),r&8&&(a.ariaExpanded=l[3]),r&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r&4&&(i=!0,a.ref=l[2],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function a3(t,e,i){let n,{disabled:o=!1}=e,{ariaLabel:s=""}=e;const l=mt(),r=l.ui.contextMenuVisible;z(t,r,v=>i(3,n=v));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,p=v=>{const P=Fl(v);a.set(P),r.set(!n)};let h;const _=()=>{c.set(!0)},b=()=>{c.set(!1)};function w(v){h=v,i(2,h)}return t.$$set=v=>{"disabled"in v&&i(0,o=v.disabled),"ariaLabel"in v&&i(1,s=v.ariaLabel)},t.$$.update=()=>{t.$$.dirty&4&&h&&f.set(h)},[o,s,h,n,r,p,_,b,w]}class u3 extends be{constructor(e){super(),ge(this,e,a3,r3,he,{disabled:0,ariaLabel:1})}}function c3(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 f3(t){let e,i,n,o,s,l,r;return i=new pu({props:{completed:!0}}),{c(){e=E("div"),U(i.$$.fragment),n=N(),o=E("div"),u(o,"class","ref-block v-1syq7kl"),B(o,"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){T(a,e,c),O(i,e,null),m(e,n),m(e,o),t[14](o),s=!0,l||(r=me(e,"click",t[9]),l=!0)},p(a,[c]){(!s||c&4)&&B(o,"hidden",a[2]),(!s||c&2)&&B(e,"mobile",a[1]),(!s||c&8)&&B(e,"fullscreen",a[3]),(!s||c&4)&&B(e,"invisible",a[2])},i(a){s||(d(i.$$.fragment,a),s=!0)},o(a){g(i.$$.fragment,a),s=!1},d(a){a&&S(e),H(i),t[14](null),l=!1,r()}}}function d3(t,e,i){let n,o,s,l,r,{ref:a=void 0}=e;const c=mt(),f=c.ui.isMobile;z(t,f,I=>i(1,l=I));const p=c.ui.isFullscreen;z(t,p,I=>i(3,r=I));const h=c.state.isInteractiveTime$;z(t,h,I=>i(12,o=I));const _=c.ui.controlsVisible;z(t,_,I=>i(13,s=I));const b=c.callbacks?.onInteractiveTimeIconClick,{interactiveControlsOpacity$:w}=ll();z(t,w,I=>i(11,n=I));let v,P;const k=()=>{P||b?.()};function y(I){ve[I?"unshift":"push"](()=>{a=I,i(0,a)})}return t.$$set=I=>{"ref"in I&&i(0,a=I.ref)},t.$$.update=()=>{t.$$.dirty&8194&&i(10,v=!l&&s),t.$$.dirty&7168&&i(2,P=!o||!!n||v)},[a,l,P,r,f,p,h,_,w,k,v,n,o,s,y]}class Bu extends be{constructor(e){super(),ge(this,e,d3,f3,he,{ref:0},c3)}}const{Boolean:m3}=nl;function p3(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 Tr(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 Er(t){let e,i,n;function o(l){t[175](l)}let s={disabled:!t[9],tooltipContent:K("tooltip_previous"),$$slots:{default:[h3]},$$scope:{ctx:t}};return t[23].prevButton!==void 0&&(s.ref=t[23].prevButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&512&&(a.disabled=!l[9]),r[0]&4608|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].prevButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function h3(t){let e,i;return e=new rl({props:{click:t[12],type:"prev",disabled:!t[9],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4096&&(s.click=n[12]),o[0]&512&&(s.disabled=!n[9]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ir(t){let e,i,n;function o(l){t[176](l)}let s={disabled:t[75],tooltipContent:K("tooltip_restart"),$$slots:{default:[g3]},$$scope:{ctx:t}};return t[23].replayButton!==void 0&&(s.ref=t[23].replayButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&8192&&(a.disabled=l[75]),r[2]&8192|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function g3(t){let e,i;return e=new Yl({props:{click:t[130],disabled:t[75]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&8192&&(s.disabled=n[75]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ar(t){let e,i,n;function o(l){t[178](l)}let s={tooltipContent:t[48],disabled:t[76],$$slots:{default:[b3]},$$scope:{ctx:t}};return t[23].playButton!==void 0&&(s.ref=t[23].playButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.tooltipContent=l[48]),r[2]&16384&&(a.disabled=l[76]),r[0]&67108864|r[1]&16|r[2]&16384|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function b3(t){let e,i,n;function o(l){t[177](l)}let s={isMobile:!1,isPlaying:t[35],click:t[87],disabled:t[76]};return t[26]!==void 0&&(s.ref=t[26]),e=new Gl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&16&&(a.isPlaying=l[35]),r[2]&16384&&(a.disabled=l[76]),!i&&r[0]&67108864&&(i=!0,a.ref=l[26],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Lr(t){let e,i,n;function o(l){t[179](l)}let s={disabled:!t[8],tooltipContent:K("tooltip_next"),$$slots:{default:[_3]},$$scope:{ctx:t}};return t[23].nextButton!==void 0&&(s.ref=t[23].nextButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&256&&(a.disabled=!l[8]),r[0]&2304|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].nextButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _3(t){let e,i;return e=new rl({props:{click:t[11],type:"next",disabled:!t[8],isMobile:!1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2048&&(s.click=n[11]),o[0]&256&&(s.disabled=!n[8]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function v3(t){let e,i,n,o,s=t[124]&&w3(t),l=t[123]&&y3(t),r=t[122]&&P3(t);return{c(){s&&s.c(),e=N(),l&&l.c(),i=N(),r&&r.c(),n=ut()},m(a,c){s&&s.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){a[124]&&s.p(a,c),a[123]&&l.p(a,c),a[122]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function w3(t){let e,i,n;function o(l){t[180](l)}let s={disabled:t[74],tooltipContent:K("tooltip_interactive_go_back"),disabledTooltipContent:K(t[126]),$$slots:{default:[k3]},$$scope:{ctx:t}};return t[23].playPrevChapterButton!==void 0&&(s.ref=t[23].playPrevChapterButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&4096&&(a.disabled=l[74]),r[0]&131072|r[2]&4096|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].playPrevChapterButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function k3(t){let e,i;return e=new Iu({props:{disabled:t[74],click:t[17]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&4096&&(s.disabled=n[74]),o[0]&131072&&(s.click=n[17]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function y3(t){let e,i,n;function o(l){t[181](l)}let s={disabled:t[77],tooltipContent:K("tooltip_interactive_seek"),disabledTooltipContent:K(t[80]),$$slots:{default:[C3]},$$scope:{ctx:t}};return t[23].seekToInteractiveButton!==void 0&&(s.ref=t[23].seekToInteractiveButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[2]&32768&&(a.disabled=l[77]),r[2]&262144&&(a.disabledTooltipContent=K(l[80])),r[0]&32768|r[2]&32768|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].seekToInteractiveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function C3(t){let e,i;return e=new Su({props:{disabled:t[77],click:t[15]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&32768&&(s.disabled=n[77]),o[0]&32768&&(s.click=n[15]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function P3(t){let e,i,n;function o(l){t[182](l)}let s={tooltipContent:t[49],disabled:t[78],$$slots:{default:[S3]},$$scope:{ctx:t}};return t[23].interactiveGraphButton!==void 0&&(s.ref=t[23].interactiveGraphButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&262144&&(a.tooltipContent=l[49]),r[2]&65536&&(a.disabled=l[78]),r[0]&65536|r[1]&1|r[2]&65536|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveGraphButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function S3(t){let e,i;return e=new Tu({props:{click:t[16],graphIsOpened:t[31],disabled:t[78]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&65536&&(s.click=n[16]),o[1]&1&&(s.graphIsOpened=n[31]),o[2]&65536&&(s.disabled=n[78]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Vr(t){let e,i,n;function o(l){t[183](l)}let s={tooltipContent:t[51],$$slots:{default:[T3]},$$scope:{ctx:t}};return t[23].liveButton!==void 0&&(s.ref=t[23].liveButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&1048576&&(a.tooltipContent=l[51]),r[0]&2097152|r[1]&1048576|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].liveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function T3(t){let e,i;return e=new wu({props:{isActiveLive:t[21],isMobile:!1,ariaLabel:t[51]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2097152&&(s.isActiveLive=n[21]),o[1]&1048576&&(s.ariaLabel=n[51]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Mr(t){let e,i,n;function o(l){t[184](l)}let s={isMobile:!1,showDuration:t[56],position:t[4]?t[81]:t[82],duration:t[4]?t[83]:t[84]};return t[23].time!==void 0&&(s.ref=t[23].time),e=new du({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&33554432&&(a.showDuration=l[56]),r[0]&16|r[2]&1572864&&(a.position=l[4]?l[81]:l[82]),r[0]&16|r[2]&6291456&&(a.duration=l[4]?l[83]:l[84]),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].time,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Br(t){let e,i;return e=new Pu({props:{position:t[82],duration:t[84],timeCodes:t[103]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&1048576&&(s.position=n[82]),o[2]&4194304&&(s.duration=n[84]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function E3(t){let e,i,n=t[20]&&Br(t);return{c(){n&&n.c(),e=ut()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[20]?n?(n.p(o,s),s[0]&1048576&&d(n,1)):(n=Br(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(ue(),g(n,1,1,()=>{n=null}),ce())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function I3(t){let e,i;return e=new Au({props:{iconUrl:t[211],ariaLabel:t[212]??t[215],testId:t[213],onClick:t[214]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.iconUrl=n[211]),o[0]&268435456&&(s.ariaLabel=n[212]??n[215]),o[0]&268435456&&(s.testId=n[213]),o[0]&268435456&&(s.onClick=n[214]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Rr(t){let e,i;return e=new Mt({props:{tooltipContent:t[215],width:40,$$slots:{default:[I3]},$$scope:{ctx:t}}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&268435456&&(s.tooltipContent=n[215]),o[0]&268435456|o[7]&2&&(s.$$scope={dirty:o,ctx:n}),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Nr(t){let e,i,n;function o(l){t[187](l)}let s={disabled:!t[6],tooltipContent:t[52],$$slots:{default:[A3]},$$scope:{ctx:t}};return t[23].vkLogo!==void 0&&(s.ref=t[23].vkLogo),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.disabled=!l[6]),r[1]&2097152&&(a.tooltipContent=l[52]),r[0]&192|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function A3(t){let e,i;return e=new _u({props:{click:t[88],logoClickable:t[6],videoLogoUrl:t[7]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&64&&(s.logoClickable=n[6]),o[0]&128&&(s.videoLogoUrl=n[7]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function L3(t){let e,i;return e=new Y2({props:{isAudioAvailable:t[79],click:t[129]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[2]&131072&&(s.isAudioAvailable=n[79]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function zr(t){let e,i,n;function o(l){t[189](l)}let s={tooltipContent:t[53],$$slots:{default:[V3]},$$scope:{ctx:t}};return t[23].subtitles!==void 0&&(s.ref=t[23].subtitles),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&4194304&&(a.tooltipContent=l[53]),r[0]&262144|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].subtitles,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function V3(t){let e,i;return e=new l2({props:{isSubtitlesEnabled:t[18],click:t[89]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.isSubtitlesEnabled=n[18]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Dr(t){let e,i,n,o;function s(r){t[190](r)}let l={supportLink:t[10],playerControlsHeight:t[47]?.clientHeight,returnFocus:t[14]};return t[24]!==void 0&&(l.ref=t[24]),i=new fu({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&1024&&(c.supportLink=r[10]),a[1]&65536&&(c.playerControlsHeight=r[47]?.clientHeight),a[0]&16384&&(c.returnFocus=r[14]),!n&&a[0]&16777216&&(n=!0,c.ref=r[24],Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function Or(t){let e,i,n;function o(l){t[192](l)}let s={tooltipContent:t[27]?void 0:K("tooltip_settings_off"),$$slots:{default:[M3]},$$scope:{ctx:t}};return t[23].settings!==void 0&&(s.ref=t[23].settings),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&134217728&&(a.tooltipContent=l[27]?void 0:K("tooltip_settings_off")),r[0]&33554432|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].settings,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function M3(t){let e,i,n;function o(l){t[191](l)}let s={};return t[25]!==void 0&&(s.ref=t[25]),e=new Wl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&33554432&&(i=!0,a.ref=l[25],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function B3(t){let e,i,n;function o(l){t[193](l)}let s={className:t[42]?"":"out-of-view",tooltipContent:t[50],$$slots:{default:[R3]},$$scope:{ctx:t}};return t[23].context!==void 0&&(s.ref=t[23].context),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&2048&&(a.className=l[42]?"":"out-of-view"),r[1]&524288&&(a.tooltipContent=l[50]),r[1]&524288|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].context,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function R3(t){let e,i;return e=new u3({props:{ariaLabel:t[50]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&524288&&(s.ariaLabel=n[50]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Hr(t){let e,i,n;function o(l){t[194](l)}let s={tooltipContent:t[54],$$slots:{default:[N3]},$$scope:{ctx:t}};return t[23].fullscreen!==void 0&&(s.ref=t[23].fullscreen),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8388608&&(a.tooltipContent=l[54]),r[0]&1073750016|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function N3(t){let e,i;return e=new gu({props:{click:t[13],isFullscreen:t[30]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8192&&(s.click=n[13]),o[0]&1073741824&&(s.isFullscreen=n[30]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fr(t){let e,i,n;function o(l){t[195](l)}let s={tooltipContent:t[55],$$slots:{default:[z3]},$$scope:{ctx:t}};return t[23].chromecast!==void 0&&(s.ref=t[23].chromecast),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&16777216&&(a.tooltipContent=l[55]),r[0]&536870912|r[7]&2&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&8388608&&(i=!0,a.ref=l[23].chromecast,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function z3(t){let e,i;return e=new vu({props:{isMobile:!1,state:t[29],click:t[128]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&536870912&&(s.state=n[29]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ur(t){let e,i,n;function o(l){t[198](l)}let s={};return t[23].interactiveTimeIcon!==void 0&&(s.ref=t[23].interactiveTimeIcon),e=new Bu({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&8388608&&(i=!0,a.ref=l[23].interactiveTimeIcon,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function D3(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j;i=new Cu({props:{isHidden:!t[46],isAds:t[4],canRewindLive:t[5],isRewindableLive:t[32]}});let C=t[39]&&Er(t),G=t[36]&&Ir(t),D=t[37]&&Ar(t),ee=t[38]&&Lr(t),Te=t[119]&&v3(t),Re=!t[4]&&t[33]&&Vr(t),Be=t[19]&&Mr(t);function ze(de){t[185](de)}let _e={className:"w-max",disabled:!t[20],tooltipContent:K("tooltip_episodes"),$$slots:{default:[E3]},$$scope:{ctx:t}};t[23].episodes!==void 0&&(_e.ref=t[23].episodes),_=new Mt({props:_e}),ve.push(()=>qe(_,"ref",ze));let we=Dt(t[28]),Q=[];for(let de=0;de<we.length;de+=1)Q[de]=Rr(Tr(t,we,de));const $=de=>g(Q[de],1,1,()=>{Q[de]=null});let ke=t[44]&&Nr(t);function se(de){t[188](de)}let We={$$slots:{default:[L3]},$$scope:{ctx:t}};t[23].volume!==void 0&&(We.ref=t[23].volume),I=new Mt({props:We}),ve.push(()=>qe(I,"ref",se));let Ae=t[41]&&zr(t),Ie=!t[85]&&!t[4]&&Dr(t),ae=t[43]&&Or(t),Ce=t[86].features.contextMenuButton&&B3(t),pe=t[45]&&Hr(t),le=t[40]&&Fr(t),Me=t[34]&&Ur(t);return{c(){e=E("div"),U(i.$$.fragment),n=N(),o=E("div"),s=E("div"),C&&C.c(),l=N(),G&&G.c(),r=N(),D&&D.c(),a=N(),ee&&ee.c(),c=N(),Te&&Te.c(),f=N(),Re&&Re.c(),p=N(),Be&&Be.c(),h=N(),U(_.$$.fragment),v=N(),P=E("div");for(let de=0;de<Q.length;de+=1)Q[de].c();k=N(),ke&&ke.c(),y=N(),U(I.$$.fragment),M=N(),Ae&&Ae.c(),W=N(),Ie&&Ie.c(),ie=N(),ae&&ae.c(),L=N(),Ce&&Ce.c(),V=N(),pe&&pe.c(),x=N(),le&&le.c(),Y=N(),Me&&Me.c(),oe=ut(),u(s,"class","controls-left v-st0uzk"),ho(()=>t[186].call(s)),u(P,"class","controls-right v-st0uzk"),u(o,"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(de,ye){T(de,e,ye),O(i,e,null),m(e,n),m(e,o),m(o,s),C&&C.m(s,null),m(s,l),G&&G.m(s,null),m(s,r),D&&D.m(s,null),m(s,a),ee&&ee.m(s,null),m(s,c),Te&&Te.m(s,null),m(s,f),Re&&Re.m(s,null),m(s,p),Be&&Be.m(s,null),m(s,h),O(_,s,null),w=Rl(s,t[186].bind(s)),m(o,v),m(o,P);for(let Pe=0;Pe<Q.length;Pe+=1)Q[Pe]&&Q[Pe].m(P,null);m(P,k),ke&&ke.m(P,null),m(P,y),O(I,P,null),m(P,M),Ae&&Ae.m(P,null),m(P,W),Ie&&Ie.m(P,null),m(P,ie),ae&&ae.m(P,null),m(P,L),Ce&&Ce.m(P,null),m(P,V),pe&&pe.m(P,null),m(P,x),le&&le.m(P,null),t[196](o),t[197](e),T(de,Y,ye),Me&&Me.m(de,ye),T(de,oe,ye),j=!0},p(de,ye){const Pe={};ye[1]&32768&&(Pe.isHidden=!de[46]),ye[0]&16&&(Pe.isAds=de[4]),ye[0]&32&&(Pe.canRewindLive=de[5]),ye[1]&2&&(Pe.isRewindableLive=de[32]),i.$set(Pe),de[39]?C?(C.p(de,ye),ye[1]&256&&d(C,1)):(C=Er(de),C.c(),d(C,1),C.m(s,l)):C&&(ue(),g(C,1,1,()=>{C=null}),ce()),de[36]?G?(G.p(de,ye),ye[1]&32&&d(G,1)):(G=Ir(de),G.c(),d(G,1),G.m(s,r)):G&&(ue(),g(G,1,1,()=>{G=null}),ce()),de[37]?D?(D.p(de,ye),ye[1]&64&&d(D,1)):(D=Ar(de),D.c(),d(D,1),D.m(s,a)):D&&(ue(),g(D,1,1,()=>{D=null}),ce()),de[38]?ee?(ee.p(de,ye),ye[1]&128&&d(ee,1)):(ee=Lr(de),ee.c(),d(ee,1),ee.m(s,c)):ee&&(ue(),g(ee,1,1,()=>{ee=null}),ce()),de[119]&&Te.p(de,ye),!de[4]&&de[33]?Re?(Re.p(de,ye),ye[0]&16|ye[1]&4&&d(Re,1)):(Re=Vr(de),Re.c(),d(Re,1),Re.m(s,p)):Re&&(ue(),g(Re,1,1,()=>{Re=null}),ce()),de[19]?Be?(Be.p(de,ye),ye[0]&524288&&d(Be,1)):(Be=Mr(de),Be.c(),d(Be,1),Be.m(s,h)):Be&&(ue(),g(Be,1,1,()=>{Be=null}),ce());const je={};if(ye[0]&1048576&&(je.disabled=!de[20]),ye[0]&1048576|ye[2]&5242880|ye[7]&2&&(je.$$scope={dirty:ye,ctx:de}),!b&&ye[0]&8388608&&(b=!0,je.ref=de[23].episodes,Ue(()=>b=!1)),_.$set(je),ye[0]&268435456){we=Dt(de[28]);let Je;for(Je=0;Je<we.length;Je+=1){const Ye=Tr(de,we,Je);Q[Je]?(Q[Je].p(Ye,ye),d(Q[Je],1)):(Q[Je]=Rr(Ye),Q[Je].c(),d(Q[Je],1),Q[Je].m(P,k))}for(ue(),Je=we.length;Je<Q.length;Je+=1)$(Je);ce()}de[44]?ke?(ke.p(de,ye),ye[1]&8192&&d(ke,1)):(ke=Nr(de),ke.c(),d(ke,1),ke.m(P,y)):ke&&(ue(),g(ke,1,1,()=>{ke=null}),ce());const tt={};ye[2]&131072|ye[7]&2&&(tt.$$scope={dirty:ye,ctx:de}),!ne&&ye[0]&8388608&&(ne=!0,tt.ref=de[23].volume,Ue(()=>ne=!1)),I.$set(tt),de[41]?Ae?(Ae.p(de,ye),ye[1]&1024&&d(Ae,1)):(Ae=zr(de),Ae.c(),d(Ae,1),Ae.m(P,W)):Ae&&(ue(),g(Ae,1,1,()=>{Ae=null}),ce()),!de[85]&&!de[4]?Ie?(Ie.p(de,ye),ye[0]&16|ye[2]&8388608&&d(Ie,1)):(Ie=Dr(de),Ie.c(),d(Ie,1),Ie.m(P,ie)):Ie&&(ue(),g(Ie,1,1,()=>{Ie=null}),ce()),de[43]?ae?(ae.p(de,ye),ye[1]&4096&&d(ae,1)):(ae=Or(de),ae.c(),d(ae,1),ae.m(P,L)):ae&&(ue(),g(ae,1,1,()=>{ae=null}),ce()),de[86].features.contextMenuButton&&Ce.p(de,ye),de[45]?pe?(pe.p(de,ye),ye[1]&16384&&d(pe,1)):(pe=Hr(de),pe.c(),d(pe,1),pe.m(P,x)):pe&&(ue(),g(pe,1,1,()=>{pe=null}),ce()),de[40]?le?(le.p(de,ye),ye[1]&512&&d(le,1)):(le=Fr(de),le.c(),d(le,1),le.m(P,null)):le&&(ue(),g(le,1,1,()=>{le=null}),ce()),(!j||ye[0]&2)&&B(e,"hidden",de[1]),(!j||ye[0]&8)&&B(e,"controls-hidden",!de[3]),(!j||ye[0]&4)&&B(e,"no-smooth",de[2]),de[34]?Me?(Me.p(de,ye),ye[1]&8&&d(Me,1)):(Me=Ur(de),Me.c(),d(Me,1),Me.m(oe.parentNode,oe)):Me&&(ue(),g(Me,1,1,()=>{Me=null}),ce())},i(de){if(!j){d(i.$$.fragment,de),d(C),d(G),d(D),d(ee),d(Te),d(Re),d(Be),d(_.$$.fragment,de);for(let ye=0;ye<we.length;ye+=1)d(Q[ye]);d(ke),d(I.$$.fragment,de),d(Ae),d(Ie),d(ae),d(Ce),d(pe),d(le),d(Me),j=!0}},o(de){g(i.$$.fragment,de),g(C),g(G),g(D),g(ee),g(Te),g(Re),g(Be),g(_.$$.fragment,de),Q=Q.filter(m3);for(let ye=0;ye<Q.length;ye+=1)g(Q[ye]);g(ke),g(I.$$.fragment,de),g(Ae),g(Ie),g(ae),g(Ce),g(pe),g(le),g(Me),j=!1},d(de){de&&(S(e),S(Y),S(oe)),H(i),C&&C.d(),G&&G.d(),D&&D.d(),ee&&ee.d(),Te&&Te.d(),Re&&Re.d(),Be&&Be.d(),H(_),w(),vn(Q,de),ke&&ke.d(),H(I),Ae&&Ae.d(),Ie&&Ie.d(),ae&&ae.d(),Ce&&Ce.d(),pe&&pe.d(),le&&le.d(),t[196](null),t[197](null),Me&&Me.d(de)}}}function O3(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te=Z,Re=()=>(Te(),Te=Gt(L,F=>i(146,ee=F)),L),Be,ze=Z,_e=()=>(ze(),ze=Gt(ie,F=>i(147,Be=F)),ie),we,Q=Z,$=()=>(Q(),Q=Gt(W,F=>i(148,we=F)),W),ke,se=Z,We=()=>(se(),se=Gt(M,F=>i(149,ke=F)),M),Ae,Ie=Z,ae=()=>(Ie(),Ie=Gt(ne,F=>i(150,Ae=F)),ne),Ce,pe=Z,le=()=>(pe(),pe=Gt(I,F=>i(151,Ce=F)),I),Me,de=Z,ye=()=>(de(),de=Gt(y,F=>i(152,Me=F)),y),Pe,je=Z,tt=()=>(je(),je=Gt(k,F=>i(153,Pe=F)),k),Je,Ye=Z,et=()=>(Ye(),Ye=Gt(P,F=>i(154,Je=F)),P),Et,pt=Z,Oe=()=>(pt(),pt=Gt(v,F=>i(155,Et=F)),v),yt,Xt=Z,fe=()=>(Xt(),Xt=Gt(w,F=>i(156,yt=F)),w),gt,rt=Z,Jt=()=>(rt(),rt=Gt(b,F=>i(157,gt=F)),b),at,_t=Z,ui=()=>(_t(),_t=Gt(_,F=>i(158,at=F)),_),Ot,ci=Z,Zi=()=>(ci(),ci=Gt(h,F=>i(159,Ot=F)),h),fi,yi=Z,Ji=()=>(yi(),yi=Gt(p,F=>i(160,fi=F)),p),di,mi=Z,Ci=()=>(mi(),mi=Gt(f,F=>i(161,di=F)),f),It,xt=Z,Pi=()=>(xt(),xt=Gt(c,F=>i(162,It=F)),c),$t,Si,pi,Ht,zi,Pt,Ft,Ti,Di,St,ei,ti,hi,vt,At,gi,bt,Ei,Ii,Ct,Ut,Wi,qt,xi;t.$$.on_destroy.push(()=>Te()),t.$$.on_destroy.push(()=>ze()),t.$$.on_destroy.push(()=>Q()),t.$$.on_destroy.push(()=>se()),t.$$.on_destroy.push(()=>Ie()),t.$$.on_destroy.push(()=>pe()),t.$$.on_destroy.push(()=>de()),t.$$.on_destroy.push(()=>je()),t.$$.on_destroy.push(()=>Ye()),t.$$.on_destroy.push(()=>pt()),t.$$.on_destroy.push(()=>Xt()),t.$$.on_destroy.push(()=>rt()),t.$$.on_destroy.push(()=>_t()),t.$$.on_destroy.push(()=>ci()),t.$$.on_destroy.push(()=>yi()),t.$$.on_destroy.push(()=>mi()),t.$$.on_destroy.push(()=>xt());let{bottomHidden:ii}=e,{bottomNoSmooth:Bt}=e,{showControls:Rt}=e,{controlsElementRef:bi=void 0}=e,{isAds:Lt=!1}=e,{canRewindLive:Ki}=e,{logoClickable:ji}=e,{logoHidden:Ai}=e,{videoLogoUrl:_i}=e,{showNextPrevButtons:ht}=e,{nextButtonActive:Oi}=e,{prevButtonActive:Hi}=e,{isOneVideoPlaylist:Li=!1}=e,{supportLink:Vi}=e,{customFullscreenSupported:Mi=!0}=e,{playNextVideo:Fi}=e,{playPrevVideo:ni}=e,{repeatPlaylist:vi}=e,{toggleFullscreen:oi}=e,{returnFocus:Zt}=e,{seekToInteractive:Le}=e,{toggleGraph:Ui}=e,{playPrevChapter:wi}=e;const He=mt(),Gi=ll(),Wt=an(),nn=He.actions.internal.toggleMuted,li=He.actions.internal.togglePlay,$i=He.actions.internal.pause,Kt=He.actions.internal.toggleSubtitle,Bi=He.callbacks?.onAudioDoesNotExistHint,on=He.callbacks?.onAudioDisabledHint,en=He.state.duration$;z(t,en,F=>i(84,qt=F));const Yi=He.state.positionWithScrubbing$;z(t,Yi,F=>i(82,Ut=F));const qi=He.state.playbackState$;z(t,qi,F=>i(163,pi=F));const Nt=He.state.chromecastConnected$;z(t,Nt,F=>i(85,xi=F));const te=He.state.isAudioAvailable$;z(t,te,F=>i(79,V=F));const ot=He.state.isAudioDisabled,si=He.state.isEnded$;z(t,si,F=>i(171,vt=F));const Qi=He.state.isLive$;z(t,Qi,F=>i(33,Ti=F));const wt=He.state.isActiveLive$;z(t,wt,F=>i(165,Pt=F));const tn=He.state.isRewindableLive$;z(t,tn,F=>i(32,Ft=F));const wn=He.ui.isPictureInPictureActive$;z(t,wn,F=>i(167,St=F));const fn=He.ui.pictureInPictureType$;z(t,fn,F=>i(166,Di=F));const dn=He.ui.settingsMenuVisible;z(t,dn,F=>i(27,oe=F));const ln=He.ui.settingsMenuOpenedByKeyboard;z(t,ln,F=>i(142,Y=F));const X=He.ui.controls,ft=He.actions.internal.getVideoEpisodes(),kn=He.state.chromecastState$;z(t,kn,F=>i(29,$t=F));const yn=He.state.availableSubtitlesList$;z(t,yn,F=>i(170,hi=F));const Cn=He.state.currentSubtitle$;z(t,Cn,F=>i(172,At=F));const On=X.disabledControls$;z(t,On,F=>i(174,bt=F));const Hn=He.ui.contextMenuVisible;z(t,Hn,F=>i(164,Ht=F));const Fn=He.ui.contextMenu.showContextMenuBtn$;z(t,Fn,F=>i(168,ei=F));const Un=He.ui.contextMenu.openedByKeyboard$;z(t,Un,F=>i(169,ti=F));const J=He.ui.startedByKeyboard$;z(t,J,F=>i(141,x=F));const qn=He.ads.duration;z(t,qn,F=>i(83,Wi=F));const $n=He.ads.position;z(t,$n,F=>i(81,Ct=F));const eo=He.ads.playbackState;z(t,eo,F=>i(173,gi=F));const Gn=He.ui.isFullscreen;z(t,Gn,F=>i(30,Si=F));const to=He.ui.playerSize;z(t,to,F=>i(144,C=F));const En=He.ui.currentGridType$;z(t,En,F=>i(145,G=F));const In=He.ui.additionalButtons$;z(t,In,F=>i(28,D=F));const An=He.actions.internal.getVideoElement,vo=He.actions.internal.replayInteractive,sn=He.state.isInteractive,io=He.state.isInteractiveTime$;z(t,io,F=>i(143,j=F));const no=He.state.interactiveEpisodes$;z(t,no,F=>i(199,Ei=F));const wo=He.state.isInteractiveGraphEnabled,ko=He.state.isSeekToInteractiveEnable,Yn=He.state.isPlayPrevChapterEnabled,oo=He.state.graphIsOpened$;z(t,oo,F=>i(31,zi=F));const q=He.state.playPrevChapterDisabledTooltip,ri=Gi.seekToInteractiveDisabledTooltip$;z(t,ri,F=>i(80,Ii=F));let Zn;Zn=!!(sn&&Ei.length);const lt=()=>He.actions.internal.toggleChromecast();let A,re,Se,Fe,Xe,ai,Ri,jt,mn,Qn,No,yo,Xl,al,Jl,ul,cl,fl,xl,$l,es,dl="";const Gu=(F,pl)=>{if(!F){i(51,dl=K("tooltip_live"));return}pl===zt.PAUSED&&i(51,dl=K("tooltip_play"))};let ts,is,ns,os,zo;const Ke={};let pn,Co,ml,ls;const Yu=il(Vu,S1,{leading:!1});let Do,Oo,Ho;function Qu(){ot?on?.():V?nn():Bi?.()}const Xu=sn?vo:Li?li:vi;function Ju(F){t.$$.not_equal(Ke.prevButton,F)&&(Ke.prevButton=F,i(23,Ke))}function xu(F){t.$$.not_equal(Ke.replayButton,F)&&(Ke.replayButton=F,i(23,Ke))}function $u(F){Ho=F,i(26,Ho)}function ec(F){t.$$.not_equal(Ke.playButton,F)&&(Ke.playButton=F,i(23,Ke))}function tc(F){t.$$.not_equal(Ke.nextButton,F)&&(Ke.nextButton=F,i(23,Ke))}function ic(F){t.$$.not_equal(Ke.playPrevChapterButton,F)&&(Ke.playPrevChapterButton=F,i(23,Ke))}function nc(F){t.$$.not_equal(Ke.seekToInteractiveButton,F)&&(Ke.seekToInteractiveButton=F,i(23,Ke))}function oc(F){t.$$.not_equal(Ke.interactiveGraphButton,F)&&(Ke.interactiveGraphButton=F,i(23,Ke))}function lc(F){t.$$.not_equal(Ke.liveButton,F)&&(Ke.liveButton=F,i(23,Ke))}function sc(F){t.$$.not_equal(Ke.time,F)&&(Ke.time=F,i(23,Ke))}function rc(F){t.$$.not_equal(Ke.episodes,F)&&(Ke.episodes=F,i(23,Ke))}function ac(){zo=this.clientWidth,i(22,zo)}function uc(F){t.$$.not_equal(Ke.vkLogo,F)&&(Ke.vkLogo=F,i(23,Ke))}function cc(F){t.$$.not_equal(Ke.volume,F)&&(Ke.volume=F,i(23,Ke))}function fc(F){t.$$.not_equal(Ke.subtitles,F)&&(Ke.subtitles=F,i(23,Ke))}function dc(F){Do=F,i(24,Do)}function mc(F){Oo=F,i(25,Oo)}function pc(F){t.$$.not_equal(Ke.settings,F)&&(Ke.settings=F,i(23,Ke))}function hc(F){t.$$.not_equal(Ke.context,F)&&(Ke.context=F,i(23,Ke))}function gc(F){t.$$.not_equal(Ke.fullscreen,F)&&(Ke.fullscreen=F,i(23,Ke))}function bc(F){t.$$.not_equal(Ke.chromecast,F)&&(Ke.chromecast=F,i(23,Ke))}function _c(F){ve[F?"unshift":"push"](()=>{cl=F,i(47,cl)})}function vc(F){ve[F?"unshift":"push"](()=>{bi=F,i(0,bi)})}function wc(F){t.$$.not_equal(Ke.interactiveTimeIcon,F)&&(Ke.interactiveTimeIcon=F,i(23,Ke))}return t.$$set=F=>{"bottomHidden"in F&&i(1,ii=F.bottomHidden),"bottomNoSmooth"in F&&i(2,Bt=F.bottomNoSmooth),"showControls"in F&&i(3,Rt=F.showControls),"controlsElementRef"in F&&i(0,bi=F.controlsElementRef),"isAds"in F&&i(4,Lt=F.isAds),"canRewindLive"in F&&i(5,Ki=F.canRewindLive),"logoClickable"in F&&i(6,ji=F.logoClickable),"logoHidden"in F&&i(131,Ai=F.logoHidden),"videoLogoUrl"in F&&i(7,_i=F.videoLogoUrl),"showNextPrevButtons"in F&&i(132,ht=F.showNextPrevButtons),"nextButtonActive"in F&&i(8,Oi=F.nextButtonActive),"prevButtonActive"in F&&i(9,Hi=F.prevButtonActive),"isOneVideoPlaylist"in F&&i(133,Li=F.isOneVideoPlaylist),"supportLink"in F&&i(10,Vi=F.supportLink),"customFullscreenSupported"in F&&i(134,Mi=F.customFullscreenSupported),"playNextVideo"in F&&i(11,Fi=F.playNextVideo),"playPrevVideo"in F&&i(12,ni=F.playPrevVideo),"repeatPlaylist"in F&&i(135,vi=F.repeatPlaylist),"toggleFullscreen"in F&&i(13,oi=F.toggleFullscreen),"returnFocus"in F&&i(14,Zt=F.returnFocus),"seekToInteractive"in F&&i(15,Le=F.seekToInteractive),"toggleGraph"in F&&i(16,Ui=F.toggleGraph),"playPrevChapter"in F&&i(17,wi=F.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[5]&524288&&i(140,n=bt.has(st.EPISODE_BUTTON)),t.$$.dirty[5]&524288&&i(78,o=bt.has(st.GRAPH_BUTTON)),t.$$.dirty[5]&524288&&i(77,s=bt.has(st.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[5]&524288&&i(76,l=bt.has(st.PLAY_BUTTON)),t.$$.dirty[5]&524288&&i(75,r=bt.has(st.REPLAY_BUTTON)),t.$$.dirty[5]&524288&&i(74,a=bt.has(st.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[0]&16|t.$$.dirty[5]&262400&&i(35,A=Lt?gi===Yt.PLAYING:pi===zt.PLAYING),t.$$.dirty[5]&131072&&i(18,re=At.value!=="off"),t.$$.dirty[0]&16|t.$$.dirty[5]&65536&&i(36,Se=vt&&!Lt||sn),t.$$.dirty[0]&16|t.$$.dirty[5]&65536&&i(37,Fe=!vt||sn||Lt),t.$$.dirty[4]&2097152&&i(136,Xe=hn(G,kt.M)),t.$$.dirty[0]&272|t.$$.dirty[4]&2097408&&i(38,ai=ht&&hn(G,kt.M)&&!Lt&&Oi),t.$$.dirty[0]&528|t.$$.dirty[4]&2097408&&i(39,Ri=ht&&hn(G,kt.M)&&!Lt&&Hi),t.$$.dirty[0]&536870912|t.$$.dirty[4]&2097152|t.$$.dirty[5]&6144&&i(40,jt=$t!==Sn.NOT_AVAILABLE&&!(St&&Di===Mn.DocumentPictureInPicture)&&hn(G,kt.M)&&!sn),t.$$.dirty[4]&2097152|t.$$.dirty[5]&32768&&i(41,mn=hi.length>0&&hn(G,kt.M)),t.$$.dirty[5]&24576&&i(42,Qn=ti||ei),t.$$.dirty[4]&2097152&&i(43,No=hn(G,kt.S)),t.$$.dirty[4]&128&&i(44,yo=!Ai),t.$$.dirty[4]&2098304|t.$$.dirty[5]&6144&&i(45,Xl=Wt.features.fullscreen&&(Ai||hn(G,kt.S))&&!(St&&Di===Mn.DocumentPictureInPicture)&&(sn?Mi:!0)),t.$$.dirty[0]&16|t.$$.dirty[1]&4&&i(19,al=(!Ti||Lt)&&!(Wt.features.interactiveHideTime&&sn)),t.$$.dirty[4]&1048576&&i(46,Jl=C.width>100),t.$$.dirty[0]&16|t.$$.dirty[1]&4|t.$$.dirty[4]&69632&&i(20,ul=!Lt&&!Ti&&!!ft?.length&&Xe&&!n),t.$$.dirty[1]&2|t.$$.dirty[5]&1024&&i(21,fl=!Ft||Pt),t.$$.dirty[5]&256&&i(48,xl=pi===zt.PLAYING?K("tooltip_pause"):K("tooltip_play")),t.$$.dirty[1]&1&&i(49,$l=K(zi?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),t.$$.dirty[5]&512&&i(50,es=K(Ht?"aria_label_context_menu_close":"aria_label_context_menu_open")),t.$$.dirty[0]&2097152|t.$$.dirty[5]&256&&Gu(fl,pi),t.$$.dirty[0]&262144&&i(53,is=K(re?"tooltip_subtitles_on":"tooltip_subtitles_off")),t.$$.dirty[0]&1073741824&&i(54,ns=K(Si?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),t.$$.dirty[0]&536870912&&i(55,os=$t===Sn.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off")),t.$$.dirty[0]&268435456|t.$$.dirty[4]&2143289344|t.$$.dirty[5]&255&&i(137,pn={prevButton:It?It.right-It.left:0,replayButton:di?di.right-di.left:0,playButton:fi?fi.right-fi.left:0,nextButton:Ot?Ot.right-Ot.left:0,playPrevChapterButton:at?at.right-at.left:0,seekToInteractiveButton:gt?gt.right-gt.left:0,interactiveGraphButton:yt?yt.right-yt.left:0,liveButton:Et?Et.right-Et.left:0,time:Je?Je.right-Je.left:0,episodes:Pe?Pe.right-Pe.left:0,vkLogo:Me?Me.right-Me.left:0,volume:Ce?Ce.right-Ce.left:0,subtitles:Ae?Ae.right-Ae.left:0,settings:ke?ke.right-ke.left:0,context:we?we.right-we.left:0,fullscreen:Be?Be.right-Be.left:0,chromecast:ee?ee.right-ee.left:0,additionalButtons:D.length?D.reduce(F=>[...F,40],[]):[]}),t.$$.dirty[4]&24576&&(!Co||Co<pn.time)&&i(138,Co=pn.time),t.$$.dirty[0]&5767168|t.$$.dirty[4]&2121728){let F=0;ul&&(hn(G,kt.XL)?F=pn.time:F=cf);const pl=pn.prevButton+pn.playButton+pn.nextButton+pn.seekToInteractiveButton+pn.interactiveGraphButton+pn.liveButton+Co+F;i(139,ml=al&&zo>=pl)}t.$$.dirty[4]&2129920&&i(56,ls=ml&&hn(G,kt.M)),t.$$.dirty[0]&8388616|t.$$.dirty[4]&1572864&&Yu(An(),X,Ke,Rt),t.$$.dirty[0]&167772160&&Ul(Oo,oe,ln),t.$$.dirty[0]&150994944|t.$$.dirty[4]&262144&&ql(Do,oe,Y),t.$$.dirty[0]&67108864|t.$$.dirty[4]&131072&&Mu(J,x,Ho)},i(52,ts=Wt.logoType===go.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),Pi(i(73,{prevButton:c,replayButton:f,playButton:p,nextButton:h,playPrevChapterButton:_,seekToInteractiveButton:b,interactiveGraphButton:w,liveButton:v,time:P,episodes:k,vkLogo:y,volume:I,subtitles:ne,settings:M,context:W,fullscreen:ie,chromecast:L}=X,c,Ci(i(72,f)),Ji(i(71,p)),Zi(i(70,h)),ui(i(69,_)),Jt(i(68,b)),fe(i(67,w)),Oe(i(66,v)),et(i(65,P)),tt(i(64,k)),ye(i(63,y)),le(i(62,I)),ae(i(61,ne)),We(i(60,M)),$(i(59,W)),_e(i(58,ie)),Re(i(57,L)))),[bi,ii,Bt,Rt,Lt,Ki,ji,_i,Oi,Hi,Vi,Fi,ni,oi,Zt,Le,Ui,wi,re,al,ul,fl,zo,Ke,Do,Oo,Ho,oe,D,$t,Si,zi,Ft,Ti,Zn,A,Se,Fe,ai,Ri,jt,mn,Qn,No,yo,Xl,Jl,cl,xl,$l,es,dl,ts,is,ns,os,ls,L,ie,W,M,ne,I,y,k,P,v,w,b,_,h,p,f,c,a,r,l,s,o,V,Ii,Ct,Ut,Wi,qt,xi,Wt,li,$i,Kt,en,Yi,qi,Nt,te,si,Qi,wt,tn,wn,fn,dn,ln,ft,kn,yn,Cn,On,Hn,Fn,Un,J,qn,$n,eo,Gn,to,En,In,sn,io,no,wo,ko,Yn,oo,q,ri,lt,Qu,Xu,Ai,ht,Li,Mi,vi,Xe,pn,Co,ml,n,x,Y,j,C,G,ee,Be,we,ke,Ae,Ce,Me,Pe,Je,Et,yt,gt,at,Ot,fi,di,It,pi,Ht,Pt,Di,St,ei,ti,hi,vt,At,gi,bt,Ju,xu,$u,ec,tc,ic,nc,oc,lc,sc,rc,ac,uc,cc,fc,dc,mc,pc,hc,gc,bc,_c,vc,wc]}class H3 extends be{constructor(e){super(),ge(this,e,O3,D3,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:131,videoLogoUrl:7,showNextPrevButtons:132,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:133,supportLink:10,customFullscreenSupported:134,playNextVideo:11,playPrevVideo:12,repeatPlaylist:135,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},p3,[-1,-1,-1,-1,-1,-1,-1,-1])}}function F3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class U3 extends be{constructor(e){super(),ge(this,e,null,F3,he,{})}}function q3(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 qr(t){let e;return{c(){e=E("span"),e.textContent=`${K("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(i,n){T(i,e,n)},p:Z,d(i){i&&S(e)}}}function Z3(t){let e,i,n,o;var s=t[4];function l(a){return{}}s&&(i=Tn(s,l()));let r=t[1]&&qr();return{c(){e=E("div"),i&&U(i.$$.fragment),n=N(),r&&r.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),B(e,"expanded",t[1])},m(a,c){T(a,e,c),i&&O(i,e,null),m(e,n),r&&r.m(e,null),o=!0},p(a,c){if(c&16&&s!==(s=a[4])){if(i){ue();const f=i;g(f.$$.fragment,1,0,()=>{H(f,1)}),ce()}s?(i=Tn(s,l()),U(i.$$.fragment),d(i.$$.fragment,1),O(i,e,n)):i=null}a[1]?r?r.p(a,c):(r=qr(),r.c(),r.m(e,null)):r&&(r.d(1),r=null),(!o||c&2)&&B(e,"expanded",a[1])},i(a){o||(i&&d(i.$$.fragment,a),o=!0)},o(a){i&&g(i.$$.fragment,a),o=!1},d(a){a&&S(e),i&&H(i),r&&r.d()}}}function W3(t){let e,i,n;function o(l){t[6](l)}let s={testId:t[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:t[2],ariaLabel:t[3],$$slots:{default:[Z3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),r&4&&(a.click=l[2]),r&8&&(a.ariaLabel=l[3]),r&146&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function K3(t,e,i){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:s=Qe}=e,{ref:l=void 0}=e,r,a;function c(f){l=f,i(0,l)}return t.$$set=f=>{"muted"in f&&i(5,n=f.muted),"expanded"in f&&i(1,o=f.expanded),"click"in f&&i(2,s=f.click),"ref"in f&&i(0,l=f.ref)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=K(n?"tooltip_volume":"tooltip_volume_muted")),t.$$.dirty&2&&i(4,a=o?sl:U3)},[l,o,s,r,a,n,c]}class Ru extends be{constructor(e){super(),ge(this,e,K3,W3,he,{muted:5,expanded:1,click:2,ref:0},q3)}}function j3(t){let e,i,n,o;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),u(i,"fill",t[1]),u(i,"clip-rule","evenodd"),u(i,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",t[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),B(n,"hidden",!t[0]),u(o,"fill",t[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),B(o,"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(s,l){T(s,e,l),m(e,i),m(e,n),m(e,o)},p(s,[l]){l&2&&u(i,"fill",s[1]),l&2&&u(n,"fill",s[1]),l&1&&B(n,"hidden",!s[0]),l&2&&u(o,"fill",s[1]),l&1&&B(o,"hidden",s[0])},i:Z,o:Z,d(s){s&&S(e)}}}function G3(t,e,i){let n,{isActive:o=!1}=e;return t.$$set=s=>{"isActive"in s&&i(0,o=s.isActive)},t.$$.update=()=>{t.$$.dirty&1&&i(1,n=o?"#2688EB":"#fff")},[o,n]}class Y3 extends be{constructor(e){super(),ge(this,e,G3,j3,he,{isActive:0})}}function Q3(t){let e,i;return e=new Y3({props:{isActive:t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isActive=n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function X3(t){let e,i,n;function o(l){t[3](l)}let s={testId:"btn-pip",ariaLabel:K("menu_pip"),click:t[2],$$slots:{default:[Q3]},$$scope:{ctx:t}};return t[0]!==void 0&&(s.ref=t[0]),e=new ki({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,[r]){const a={};r&4&&(a.click=l[2]),r&18&&(a.$$scope={dirty:r,ctx:l}),!i&&r&1&&(i=!0,a.ref=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function J3(t,e,i){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:s=Qe}=e;function l(r){n=r,i(0,n)}return t.$$set=r=>{"ref"in r&&i(0,n=r.ref),"isPictureInPictureActive"in r&&i(1,o=r.isPictureInPictureActive),"click"in r&&i(2,s=r.click)},[n,o,s,l]}class x3 extends be{constructor(e){super(),ge(this,e,J3,X3,he,{ref:0,isPictureInPictureActive:1,click:2})}}const{Boolean:$3}=nl;function ep(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 Zr(t,e,i){const n=t.slice();return n[161]=e[i].iconUrl,n[162]=e[i].ariaLabel,n[163]=e[i].testId,n[164]=e[i].onClick,n[165]=e[i].tooltip,n}function Wr(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k=(!t[52]||t[54])&&Kr(t),y=Dt(t[57]),I=[];for(let C=0;C<y.length;C+=1)I[C]=jr(Zr(t,y,C));const ne=C=>g(I[C],1,1,()=>{I[C]=null});let M=t[37]&&Gr(t),W=t[38]&&Yr(t),ie=t[58]&&Qr(t),L=t[40]&&Xr(t),V=t[8]&&Jr(t),x=t[35]&&xr(t),Y=t[34]&&$r(t),oe=t[8]&&ea(t),j=t[97]&&!t[29]&&ta(t);return{c(){e=E("div"),i=N(),n=E("div"),k&&k.c(),o=N(),s=E("div");for(let C=0;C<I.length;C+=1)I[C].c();l=N(),M&&M.c(),r=N(),W&&W.c(),a=N(),ie&&ie.c(),c=N(),L&&L.c(),f=N(),p=E("div"),V&&V.c(),h=N(),x&&x.c(),_=N(),Y&&Y.c(),b=N(),oe&&oe.c(),w=N(),j&&j.c(),v=ut(),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(s,"class","wrapper-top-right v-1tcstu3"),B(s,"hidden",!t[3]&&!t[27]),B(s,"fullscreen",t[53]),u(p,"class","wrapper-middle v-1tcstu3"),B(p,"hidden",!t[3]||t[29])},m(C,G){T(C,e,G),T(C,i,G),T(C,n,G),k&&k.m(n,null),T(C,o,G),T(C,s,G);for(let D=0;D<I.length;D+=1)I[D]&&I[D].m(s,null);m(s,l),M&&M.m(s,null),m(s,r),W&&W.m(s,null),m(s,a),ie&&ie.m(s,null),m(s,c),L&&L.m(s,null),T(C,f,G),T(C,p,G),V&&V.m(p,null),m(p,h),x&&x.m(p,null),m(p,_),Y&&Y.m(p,null),m(p,b),oe&&oe.m(p,null),T(C,w,G),j&&j.m(C,G),T(C,v,G),P=!0},p(C,G){if((!P||G[1]&4096)&&B(e,"hidden",!C[43]),!C[52]||C[54]?k?(k.p(C,G),G[1]&10485760&&d(k,1)):(k=Kr(C),k.c(),d(k,1),k.m(n,null)):k&&(ue(),g(k,1,1,()=>{k=null}),ce()),(!P||G[0]&8)&&B(n,"hidden",!C[3]),(!P||G[1]&4194304)&&B(n,"fullscreen",C[53]),G[1]&67108864){y=Dt(C[57]);let D;for(D=0;D<y.length;D+=1){const ee=Zr(C,y,D);I[D]?(I[D].p(ee,G),d(I[D],1)):(I[D]=jr(ee),I[D].c(),d(I[D],1),I[D].m(s,l))}for(ue(),D=y.length;D<I.length;D+=1)ne(D);ce()}C[37]?M?(M.p(C,G),G[1]&64&&d(M,1)):(M=Gr(C),M.c(),d(M,1),M.m(s,r)):M&&(ue(),g(M,1,1,()=>{M=null}),ce()),C[38]?W?(W.p(C,G),G[1]&128&&d(W,1)):(W=Yr(C),W.c(),d(W,1),W.m(s,a)):W&&(ue(),g(W,1,1,()=>{W=null}),ce()),C[58]?ie?(ie.p(C,G),G[1]&134217728&&d(ie,1)):(ie=Qr(C),ie.c(),d(ie,1),ie.m(s,c)):ie&&(ue(),g(ie,1,1,()=>{ie=null}),ce()),C[40]?L?(L.p(C,G),G[1]&512&&d(L,1)):(L=Xr(C),L.c(),d(L,1),L.m(s,null)):L&&(ue(),g(L,1,1,()=>{L=null}),ce()),(!P||G[0]&134217736)&&B(s,"hidden",!C[3]&&!C[27]),(!P||G[1]&4194304)&&B(s,"fullscreen",C[53]),C[8]?V?(V.p(C,G),G[0]&256&&d(V,1)):(V=Jr(C),V.c(),d(V,1),V.m(p,h)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),C[35]?x?(x.p(C,G),G[1]&16&&d(x,1)):(x=xr(C),x.c(),d(x,1),x.m(p,_)):x&&(ue(),g(x,1,1,()=>{x=null}),ce()),C[34]?Y?(Y.p(C,G),G[1]&8&&d(Y,1)):(Y=$r(C),Y.c(),d(Y,1),Y.m(p,b)):Y&&(ue(),g(Y,1,1,()=>{Y=null}),ce()),C[8]?oe?(oe.p(C,G),G[0]&256&&d(oe,1)):(oe=ea(C),oe.c(),d(oe,1),oe.m(p,null)):oe&&(ue(),g(oe,1,1,()=>{oe=null}),ce()),(!P||G[0]&536870920)&&B(p,"hidden",!C[3]||C[29]),C[97]&&!C[29]?j?(j.p(C,G),G[0]&536870912&&d(j,1)):(j=ta(C),j.c(),d(j,1),j.m(v.parentNode,v)):j&&(ue(),g(j,1,1,()=>{j=null}),ce())},i(C){if(!P){d(k);for(let G=0;G<y.length;G+=1)d(I[G]);d(M),d(W),d(ie),d(L),d(V),d(x),d(Y),d(oe),d(j),P=!0}},o(C){g(k),I=I.filter($3);for(let G=0;G<I.length;G+=1)g(I[G]);g(M),g(W),g(ie),g(L),g(V),g(x),g(Y),g(oe),g(j),P=!1},d(C){C&&(S(e),S(i),S(n),S(o),S(s),S(f),S(p),S(w),S(v)),k&&k.d(),vn(I,C),M&&M.d(),W&&W.d(),ie&&ie.d(),L&&L.d(),V&&V.d(),x&&x.d(),Y&&Y.d(),oe&&oe.d(),j&&j.d(C)}}}function Kr(t){let e,i,n;function o(l){t[125](l)}let s={muted:t[55],expanded:t[52]&&!t[71]&&t[56],click:t[106]};return t[20].volume!==void 0&&(s.ref=t[20].volume),e=new Ru({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&16777216&&(a.muted=l[55]),r[1]&35651584&&(a.expanded=l[52]&&!l[71]&&l[56]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].volume,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function jr(t){let e,i;return e=new Au({props:{iconUrl:t[161],ariaLabel:t[162]??t[165],testId:t[163],onClick:t[164]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&67108864&&(s.iconUrl=n[161]),o[1]&67108864&&(s.ariaLabel=n[162]??n[165]),o[1]&67108864&&(s.testId=n[163]),o[1]&67108864&&(s.onClick=n[164]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gr(t){let e,i,n;function o(l){t[126](l)}let s={isMobile:!0,click:t[104],state:t[28]};return t[20].chromecast!==void 0&&(s.ref=t[20].chromecast),e=new vu({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&268435456&&(a.state=l[28]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].chromecast,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Yr(t){let e,i,n;function o(l){t[127](l)}let s={click:t[105],isPictureInPictureActive:t[26]};return t[20].pip!==void 0&&(s.ref=t[20].pip),e=new x3({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&67108864&&(a.isPictureInPictureActive=l[26]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].pip,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Qr(t){let e,i,n;function o(l){t[128](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Wl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Xr(t){let e,i,n;function o(l){t[129](l)}let s={click:t[65],logoClickable:t[6],videoLogoUrl:t[7]};return t[20].vkLogo!==void 0&&(s.ref=t[20].vkLogo),e=new _u({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&64&&(a.logoClickable=l[6]),r[0]&128&&(a.videoLogoUrl=l[7]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].vkLogo,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Jr(t){let e,i,n;function o(l){t[130](l)}let s={click:t[13],type:"prev",disabled:!t[10],isMobile:!0};return t[20].prevButton!==void 0&&(s.ref=t[20].prevButton),e=new rl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&8192&&(a.click=l[13]),r[0]&1024&&(a.disabled=!l[10]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].prevButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function xr(t){let e,i,n;function o(l){t[131](l)}let s={disabled:t[49],click:t[64],isMobile:!0,isPlaying:t[32]};return t[20].playButton!==void 0&&(s.ref=t[20].playButton),e=new Gl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&262144&&(a.disabled=l[49]),r[1]&2&&(a.isPlaying=l[32]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].playButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $r(t){let e,i,n;function o(l){t[132](l)}let s={disabled:t[48],click:t[107],isMobile:!0};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Yl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ea(t){let e,i,n;function o(l){t[133](l)}let s={click:t[12],type:"next",disabled:!t[9],isMobile:!0};return t[20].nextButton!==void 0&&(s.ref=t[20].nextButton),e=new rl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&4096&&(a.click=l[12]),r[0]&512&&(a.disabled=!l[9]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].nextButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ta(t){let e,i,n,o,s=t[101]&&tp(t),l=t[99]&&ip(t),r=t[100]&&np(t);return{c(){s&&s.c(),e=N(),l&&l.c(),i=N(),r&&r.c(),n=ut()},m(a,c){s&&s.m(a,c),T(a,e,c),l&&l.m(a,c),T(a,i,c),r&&r.m(a,c),T(a,n,c),o=!0},p(a,c){a[101]&&s.p(a,c),a[99]&&l.p(a,c),a[100]&&r.p(a,c)},i(a){o||(d(s),d(l),d(r),o=!0)},o(a){g(s),g(l),g(r),o=!1},d(a){a&&(S(e),S(i),S(n)),s&&s.d(a),l&&l.d(a),r&&r.d(a)}}}function tp(t){let e,i,n;return i=new Iu({props:{hidden:!t[3],disabled:t[47],click:t[18]}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3])},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&8&&(l.hidden=!o[3]),s[1]&65536&&(l.disabled=o[47]),s[0]&262144&&(l.click=o[18]),i.$set(l),(!n||s[1]&4194304)&&B(e,"fullscreen",o[53]),(!n||s[0]&8)&&B(e,"hidden",!o[3])},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function ip(t){let e,i,n,o;function s(r){t[134](r)}let l={hidden:!t[3]&&!t[59],disabled:t[51],click:t[17],graphIsOpened:t[59]};return t[20].interactiveGraphButton!==void 0&&(l.ref=t[20].interactiveGraphButton),i=new Tu({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class",Zc(t[101]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3]&&!t[59])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&8|a[1]&268435456&&(c.hidden=!r[3]&&!r[59]),a[1]&1048576&&(c.disabled=r[51]),a[0]&131072&&(c.click=r[17]),a[1]&268435456&&(c.graphIsOpened=r[59]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].interactiveGraphButton,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&4194304)&&B(e,"fullscreen",r[53]),(!o||a[0]&8|a[1]&268435456)&&B(e,"hidden",!r[3]&&!r[59])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function np(t){let e,i,n,o;function s(r){t[135](r)}let l={hidden:!t[3],disabled:t[50],click:t[16]};return t[20].seekToInteractiveButton!==void 0&&(l.ref=t[20].seekToInteractiveButton),i=new Su({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),B(e,"fullscreen",t[53]),B(e,"hidden",!t[3])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&8&&(c.hidden=!r[3]),a[1]&524288&&(c.disabled=r[50]),a[0]&65536&&(c.click=r[16]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].seekToInteractiveButton,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&4194304)&&B(e,"fullscreen",r[53]),(!o||a[0]&8)&&B(e,"hidden",!r[3])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function ia(t){let e,i,n,o,s,l=t[54]&&na(t),r=t[33]&&oa(t);return o=new yu({props:{position:t[60],duration:t[61]}}),{c(){l&&l.c(),e=N(),r&&r.c(),i=N(),n=E("div"),U(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),B(n,"fullscreen",t[53])},m(a,c){l&&l.m(a,c),T(a,e,c),r&&r.m(a,c),T(a,i,c),T(a,n,c),O(o,n,null),s=!0},p(a,c){a[54]?l?(l.p(a,c),c[1]&8388608&&d(l,1)):(l=na(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(ue(),g(l,1,1,()=>{l=null}),ce()),a[33]?r?(r.p(a,c),c[1]&4&&d(r,1)):(r=oa(a),r.c(),d(r,1),r.m(i.parentNode,i)):r&&(ue(),g(r,1,1,()=>{r=null}),ce());const f={};c[1]&536870912&&(f.position=a[60]),c[1]&1073741824&&(f.duration=a[61]),o.$set(f),(!s||c[1]&4194304)&&B(n,"fullscreen",a[53])},i(a){s||(d(l),d(r),d(o.$$.fragment,a),s=!0)},o(a){g(l),g(r),g(o.$$.fragment,a),s=!1},d(a){a&&(S(e),S(i),S(n)),l&&l.d(a),r&&r.d(a),H(o)}}}function na(t){let e,i,n,o;function s(r){t[136](r)}let l={muted:t[55],expanded:!1,click:t[106]};return t[20].volume!==void 0&&(l.ref=t[20].volume),i=new Ru({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),B(e,"fullscreen",t[53])},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[1]&16777216&&(c.muted=r[55]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].volume,Ue(()=>n=!1)),i.$set(c),(!o||a[1]&4194304)&&B(e,"fullscreen",r[53])},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function oa(t){let e,i,n,o;function s(r){t[137](r)}let l={disabled:t[49],click:t[64],isMobile:!0,isPlaying:!t[33]};return t[20].playButton!==void 0&&(l.ref=t[20].playButton),i=new Gl({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[1]&262144&&(c.disabled=r[49]),a[1]&4&&(c.isPlaying=!r[33]),!n&&a[0]&1048576&&(n=!0,c.ref=r[20].playButton,Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function op(t){let e,i,n;function o(l){t[138](l)}let s={disabled:t[48],$$slots:{default:[lp]},$$scope:{ctx:t}};return t[20].replayButton!==void 0&&(s.ref=t[20].replayButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&131072&&(a.disabled=l[48]),r[1]&131072|r[5]&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].replayButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lp(t){let e,i;return e=new Yl({props:{disabled:t[48],click:t[96]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&131072&&(s.disabled=n[48]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function la(t){let e,i,n;function o(l){t[139](l)}let s={$$slots:{default:[sp]},$$scope:{ctx:t}};return t[20].liveButton!==void 0&&(s.ref=t[20].liveButton),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&524288|r[1]&32768|r[5]&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].liveButton,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sp(t){let e,i;return e=new wu({props:{isActiveLive:t[19],isMobile:!0,ariaLabel:t[46]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&524288&&(s.isActiveLive=n[19]),o[1]&32768&&(s.ariaLabel=n[46]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function sa(t){let e,i,n;function o(l){t[140](l)}let s={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&&(s.ref=t[20].time),e=new du({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&32&&(a.showDuration=l[36]),r[0]&16|r[1]&536870912|r[2]&1&&(a.position=l[4]?l[60]:l[62]),r[0]&16|r[1]&1073741824|r[2]&2&&(a.duration=l[4]?l[61]:l[63]),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].time,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ra(t){let e,i,n,o;return n=new Pu({props:{position:t[62],duration:t[63],timeCodes:t[85]}}),{c(){e=E("div"),e.textContent="\xB7",i=N(),U(n.$$.fragment),u(e,"aria-hidden","true")},m(s,l){T(s,e,l),T(s,i,l),O(n,s,l),o=!0},p(s,l){const r={};l[2]&1&&(r.position=s[62]),l[2]&2&&(r.duration=s[63]),n.$set(r)},i(s){o||(d(n.$$.fragment,s),o=!0)},o(s){g(n.$$.fragment,s),o=!1},d(s){s&&(S(e),S(i)),H(n,s)}}}function rp(t){let e,i,n=t[44]&&ra(t);return{c(){n&&n.c(),e=ut()},m(o,s){n&&n.m(o,s),T(o,e,s),i=!0},p(o,s){o[44]?n?(n.p(o,s),s[1]&8192&&d(n,1)):(n=ra(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(ue(),g(n,1,1,()=>{n=null}),ce())},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d(o)}}}function aa(t){let e,i,n;function o(l){t[143](l)}let s={$$slots:{default:[ap]},$$scope:{ctx:t}};return t[20].settings!==void 0&&(s.ref=t[20].settings),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&4194304|r[5]&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].settings,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ap(t){let e,i,n;function o(l){t[142](l)}let s={};return t[22]!==void 0&&(s.ref=t[22]),e=new Wl({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&4194304&&(i=!0,a.ref=l[22],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ua(t){let e,i,n;function o(l){t[144](l)}let s={$$slots:{default:[up]},$$scope:{ctx:t}};return t[20].fullscreen!==void 0&&(s.ref=t[20].fullscreen),e=new Mt({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&16384|r[1]&4194304|r[5]&8192&&(a.$$scope={dirty:r,ctx:l}),!i&&r[0]&1048576&&(i=!0,a.ref=l[20].fullscreen,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function up(t){let e,i;return e=new gu({props:{click:t[14],isFullscreen:t[53]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&16384&&(s.click=n[14]),o[1]&4194304&&(s.isFullscreen=n[53]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ca(t){let e,i,n,o;function s(r){t[147](r)}let l={supportLink:t[11],returnFocus:t[15]};return t[21]!==void 0&&(l.ref=t[21]),i=new fu({props:l}),ve.push(()=>qe(i,"ref",s)),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(r,a){T(r,e,a),O(i,e,null),o=!0},p(r,a){const c={};a[0]&2048&&(c.supportLink=r[11]),a[0]&32768&&(c.returnFocus=r[15]),!n&&a[0]&2097152&&(n=!0,c.ref=r[21],Ue(()=>n=!1)),i.$set(c)},i(r){o||(d(i.$$.fragment,r),o=!0)},o(r){g(i.$$.fragment,r),o=!1},d(r){r&&S(e),H(i)}}}function fa(t){let e,i,n;function o(l){t[148](l)}let s={};return t[20].interactiveTimeIcon!==void 0&&(s.ref=t[20].interactiveTimeIcon),e=new Bu({props:s}),ve.push(()=>qe(e,"ref",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};!i&&r[0]&1048576&&(i=!0,a.ref=l[20].interactiveTimeIcon,Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y=!t[4]&&Wr(t),I=t[4]&&t[30]!==Yt.INACTIVE&&ia(t),ne=t[97]&&op(t),M=!t[4]&&t[25]&&la(t),W=t[42]&&sa(t);function ie(j){t[141](j)}let L={className:"w-max",disabled:!t[44],$$slots:{default:[rp]},$$scope:{ctx:t}};t[20].episodes!==void 0&&(L.ref=t[20].episodes),c=new Mt({props:L}),ve.push(()=>qe(c,"ref",ie));let V=t[39]&&aa(t),x=t[41]&&ua(t);b=new Cu({props:{isAds:t[4],canRewindLive:t[5],isRewindableLive:t[24]}});let Y=t[23]&&ca(t),oe=t[31]&&fa(t);return{c(){y&&y.c(),e=N(),I&&I.c(),i=N(),n=E("div"),o=E("div"),s=E("div"),ne&&ne.c(),l=N(),M&&M.c(),r=N(),W&&W.c(),a=N(),U(c.$$.fragment),p=N(),V&&V.c(),h=N(),x&&x.c(),_=N(),U(b.$$.fragment),w=N(),Y&&Y.c(),v=N(),oe&&oe.c(),P=ut(),u(s,"class","controls v-1tcstu3"),B(s,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),B(o,"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(j,C){y&&y.m(j,C),T(j,e,C),I&&I.m(j,C),T(j,i,C),T(j,n,C),m(n,o),m(o,s),ne&&ne.m(s,null),m(s,l),M&&M.m(s,null),m(s,r),W&&W.m(s,null),m(s,a),O(c,s,null),m(s,p),V&&V.m(s,null),m(s,h),x&&x.m(s,null),t[145](s),m(o,_),O(b,o,null),t[146](n),T(j,w,C),Y&&Y.m(j,C),T(j,v,C),oe&&oe.m(j,C),T(j,P,C),k=!0},p(j,C){j[4]?y&&(ue(),g(y,1,1,()=>{y=null}),ce()):y?(y.p(j,C),C[0]&16&&d(y,1)):(y=Wr(j),y.c(),d(y,1),y.m(e.parentNode,e)),j[4]&&j[30]!==Yt.INACTIVE?I?(I.p(j,C),C[0]&1073741840&&d(I,1)):(I=ia(j),I.c(),d(I,1),I.m(i.parentNode,i)):I&&(ue(),g(I,1,1,()=>{I=null}),ce()),j[97]&&ne.p(j,C),!j[4]&&j[25]?M?(M.p(j,C),C[0]&33554448&&d(M,1)):(M=la(j),M.c(),d(M,1),M.m(s,r)):M&&(ue(),g(M,1,1,()=>{M=null}),ce()),j[42]?W?(W.p(j,C),C[1]&2048&&d(W,1)):(W=sa(j),W.c(),d(W,1),W.m(s,a)):W&&(ue(),g(W,1,1,()=>{W=null}),ce());const G={};C[1]&8192&&(G.disabled=!j[44]),C[1]&8192|C[2]&3|C[5]&8192&&(G.$$scope={dirty:C,ctx:j}),!f&&C[0]&1048576&&(f=!0,G.ref=j[20].episodes,Ue(()=>f=!1)),c.$set(G),j[39]?V?(V.p(j,C),C[1]&256&&d(V,1)):(V=aa(j),V.c(),d(V,1),V.m(s,h)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),j[41]?x?(x.p(j,C),C[1]&1024&&d(x,1)):(x=ua(j),x.c(),d(x,1),x.m(s,null)):x&&(ue(),g(x,1,1,()=>{x=null}),ce());const D={};C[0]&16&&(D.isAds=j[4]),C[0]&32&&(D.canRewindLive=j[5]),C[0]&16777216&&(D.isRewindableLive=j[24]),b.$set(D),(!k||C[1]&4194304)&&B(o,"fullscreen",j[53]),(!k||C[0]&2)&&B(n,"hidden",j[1]),(!k||C[0]&8)&&B(n,"controls-hidden",!j[3]),(!k||C[0]&4)&&B(n,"no-smooth",j[2]),j[23]?Y?(Y.p(j,C),C[0]&8388608&&d(Y,1)):(Y=ca(j),Y.c(),d(Y,1),Y.m(v.parentNode,v)):Y&&(ue(),g(Y,1,1,()=>{Y=null}),ce()),j[31]?oe?(oe.p(j,C),C[1]&1&&d(oe,1)):(oe=fa(j),oe.c(),d(oe,1),oe.m(P.parentNode,P)):oe&&(ue(),g(oe,1,1,()=>{oe=null}),ce())},i(j){k||(d(y),d(I),d(ne),d(M),d(W),d(c.$$.fragment,j),d(V),d(x),d(b.$$.fragment,j),d(Y),d(oe),k=!0)},o(j){g(y),g(I),g(ne),g(M),g(W),g(c.$$.fragment,j),g(V),g(x),g(b.$$.fragment,j),g(Y),g(oe),k=!1},d(j){j&&(S(e),S(i),S(n),S(w),S(v),S(P)),y&&y.d(j),I&&I.d(j),ne&&ne.d(),M&&M.d(),W&&W.d(),H(c),V&&V.d(),x&&x.d(),t[145](null),H(b),t[146](null),Y&&Y.d(j),oe&&oe.d(j)}}}function fp(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te,Re,Be,ze,_e,{bottomHidden:we}=e,{bottomNoSmooth:Q}=e,{showControls:$}=e,{controlsElementRef:ke=void 0}=e,{isAds:se=!1}=e,{canRewindLive:We}=e,{logoClickable:Ae}=e,{logoHidden:Ie}=e,{videoLogoUrl:ae}=e,{showNextPrevButtons:Ce}=e,{nextButtonActive:pe}=e,{prevButtonActive:le}=e,{isOneVideoPlaylist:Me=!1}=e,{supportLink:de}=e,{customFullscreenSupported:ye=!0}=e,{playNextVideo:Pe}=e,{playPrevVideo:je}=e,{repeatPlaylist:tt}=e,{toggleFullscreen:Je}=e,{returnFocus:Ye}=e,{seekToInteractive:et}=e,{toggleGraph:Et}=e,{playPrevChapter:pt}=e;const Oe=mt(),yt=an(),Xt=Oe.actions.internal.toggleMuted,fe=Oe.actions.internal.togglePlay,gt=Oe.actions.internal.pause,rt=Oe.callbacks?.onAudioDoesNotExistHint,Jt=Oe.callbacks?.onAudioDisabledHint,at=Oe.playerPhase;z(t,at,J=>i(122,W=J));const _t=Oe.state.duration$;z(t,_t,J=>i(63,_e=J));const ui=Oe.state.positionWithScrubbing$;z(t,ui,J=>i(62,ze=J));const Ot=Oe.state.playbackState$;z(t,Ot,J=>i(117,h=J));const ci=Oe.state.isAudioAvailable$;z(t,ci,J=>i(52,_=J));const Zi=Oe.state.isAudioDisabled,fi=Oe.state.isEnded$;z(t,fi,J=>i(123,L=J));const yi=Oe.state.isLive$;z(t,yi,J=>i(25,k=J));const Ji=Oe.state.muted$;z(t,Ji,J=>i(55,C=J));const di=Oe.state.isActiveLive$;z(t,di,J=>i(120,v=J));const mi=Oe.state.isRewindableLive$;z(t,mi,J=>i(24,P=J));const Ci=Oe.ui.scrubbingInProgress;z(t,Ci,J=>i(29,ie=J));const It=Oe.ui.mobileNotReportControlHidden$;z(t,It,J=>i(27,ne=J));const xt=Oe.ui.isPictureInPictureActive$;z(t,xt,J=>i(26,I=J));const Pi=Oe.ui.pictureInPictureType$;z(t,Pi,J=>i(121,y=J));const $t=Oe.ui.mobileUnmuteButtonExpanded;z(t,$t,J=>i(56,G=J));const Si=Oe.ui.mobileUnmuteButtonVisible;z(t,Si,J=>i(54,j=J));const pi=Oe.ui.settingsMenuVisible;z(t,pi,J=>i(23,p=J));const Ht=Oe.ui.settingsMenuOpenedByKeyboard;z(t,Ht,J=>i(116,f=J));const zi=Oe.ui.controls,Pt=Oe.actions.internal.getVideoEpisodes(),Ft=Oe.webApi.pictureInPictureApi,Ti=Oe.state.chromecastState$;z(t,Ti,J=>i(28,M=J));const Di=Oe.state.crashed$;z(t,Di,J=>i(58,ee=J));const St=zi.disabledControls$;z(t,St,J=>i(124,x=J));const ei=Oe.ui.startedByKeyboard$;z(t,ei,J=>i(115,c=J));const ti=Oe.ads.duration;z(t,ti,J=>i(61,Be=J));const hi=Oe.ads.position;z(t,hi,J=>i(60,Re=J));const vt=Oe.ads.playbackState;z(t,vt,J=>i(30,V=J));const At=Oe.ui.isFullscreen;z(t,At,J=>i(53,oe=J));const gi=Oe.ui.playerSize;z(t,gi,J=>i(119,w=J));const bt=Oe.ui.additionalButtons$;z(t,bt,J=>i(57,D=J));const Ei=Oe.actions.internal.getVideoElement,Ii=Oe.actions.internal.replayInteractive,Ct=Oe.state.isInteractive,Ut=Oe.state.isInteractiveTime$;z(t,Ut,J=>i(118,b=J));const Wi=Oe.state.isInteractiveGraphEnabled,qt=Oe.state.isSeekToInteractiveEnable,xi=Oe.state.isPlayPrevChapterEnabled,ii=Oe.state.interactiveEpisodes$;z(t,ii,J=>i(149,Y=J));const Bt=Oe.state.graphIsOpened$;z(t,Bt,J=>i(59,Te=J));let Rt;Rt=!!(Ct&&Y.length);let bi,Lt,Ki,ji,Ai,_i,ht,Oi,Hi,Li,Vi,Mi,Fi,ni,vi,oi,Zt;const Le={},Ui=il(Vu,S1,{leading:!1}),wi=()=>Oe.actions.internal.toggleChromecast();function He(){Zi?Jt?.():_?Xt():rt?.()}async function Gi(){Ft?.isActive()?await Ft?.remove():await Ft?.request()}function Wt(){!Zi&&_&&Si.set(!1),He()}const nn=Me?fe:tt;let li="";const $i=(J,qn)=>{if(!J){i(46,li=K("tooltip_live"));return}qn===zt.PAUSED&&i(46,li=K("tooltip_play"))};let Kt,Bi;function on(J){t.$$.not_equal(Le.volume,J)&&(Le.volume=J,i(20,Le))}function en(J){t.$$.not_equal(Le.chromecast,J)&&(Le.chromecast=J,i(20,Le))}function Yi(J){t.$$.not_equal(Le.pip,J)&&(Le.pip=J,i(20,Le))}function qi(J){Bi=J,i(22,Bi)}function Nt(J){t.$$.not_equal(Le.vkLogo,J)&&(Le.vkLogo=J,i(20,Le))}function te(J){t.$$.not_equal(Le.prevButton,J)&&(Le.prevButton=J,i(20,Le))}function ot(J){t.$$.not_equal(Le.playButton,J)&&(Le.playButton=J,i(20,Le))}function si(J){t.$$.not_equal(Le.replayButton,J)&&(Le.replayButton=J,i(20,Le))}function Qi(J){t.$$.not_equal(Le.nextButton,J)&&(Le.nextButton=J,i(20,Le))}function wt(J){t.$$.not_equal(Le.interactiveGraphButton,J)&&(Le.interactiveGraphButton=J,i(20,Le))}function tn(J){t.$$.not_equal(Le.seekToInteractiveButton,J)&&(Le.seekToInteractiveButton=J,i(20,Le))}function wn(J){t.$$.not_equal(Le.volume,J)&&(Le.volume=J,i(20,Le))}function fn(J){t.$$.not_equal(Le.playButton,J)&&(Le.playButton=J,i(20,Le))}function dn(J){t.$$.not_equal(Le.replayButton,J)&&(Le.replayButton=J,i(20,Le))}function ln(J){t.$$.not_equal(Le.liveButton,J)&&(Le.liveButton=J,i(20,Le))}function X(J){t.$$.not_equal(Le.time,J)&&(Le.time=J,i(20,Le))}function ft(J){t.$$.not_equal(Le.episodes,J)&&(Le.episodes=J,i(20,Le))}function kn(J){Bi=J,i(22,Bi)}function yn(J){t.$$.not_equal(Le.settings,J)&&(Le.settings=J,i(20,Le))}function Cn(J){t.$$.not_equal(Le.fullscreen,J)&&(Le.fullscreen=J,i(20,Le))}function On(J){ve[J?"unshift":"push"](()=>{oi=J,i(45,oi)})}function Hn(J){ve[J?"unshift":"push"](()=>{ke=J,i(0,ke)})}function Fn(J){Kt=J,i(21,Kt)}function Un(J){t.$$.not_equal(Le.interactiveTimeIcon,J)&&(Le.interactiveTimeIcon=J,i(20,Le))}return t.$$set=J=>{"bottomHidden"in J&&i(1,we=J.bottomHidden),"bottomNoSmooth"in J&&i(2,Q=J.bottomNoSmooth),"showControls"in J&&i(3,$=J.showControls),"controlsElementRef"in J&&i(0,ke=J.controlsElementRef),"isAds"in J&&i(4,se=J.isAds),"canRewindLive"in J&&i(5,We=J.canRewindLive),"logoClickable"in J&&i(6,Ae=J.logoClickable),"logoHidden"in J&&i(108,Ie=J.logoHidden),"videoLogoUrl"in J&&i(7,ae=J.videoLogoUrl),"showNextPrevButtons"in J&&i(8,Ce=J.showNextPrevButtons),"nextButtonActive"in J&&i(9,pe=J.nextButtonActive),"prevButtonActive"in J&&i(10,le=J.prevButtonActive),"isOneVideoPlaylist"in J&&i(109,Me=J.isOneVideoPlaylist),"supportLink"in J&&i(11,de=J.supportLink),"customFullscreenSupported"in J&&i(110,ye=J.customFullscreenSupported),"playNextVideo"in J&&i(12,Pe=J.playNextVideo),"playPrevVideo"in J&&i(13,je=J.playPrevVideo),"repeatPlaylist"in J&&i(111,tt=J.repeatPlaylist),"toggleFullscreen"in J&&i(14,Je=J.toggleFullscreen),"returnFocus"in J&&i(15,Ye=J.returnFocus),"seekToInteractive"in J&&i(16,et=J.seekToInteractive),"toggleGraph"in J&&i(17,Et=J.toggleGraph),"playPrevChapter"in J&&i(18,pt=J.playPrevChapter)},t.$$.update=()=>{if(t.$$.dirty[4]&1&&i(114,n=x.has(st.EPISODE_BUTTON)),t.$$.dirty[4]&1&&i(51,o=x.has(st.GRAPH_BUTTON)),t.$$.dirty[4]&1&&i(50,s=x.has(st.SEEK_TO_INTERACTIVE_BUTTON)),t.$$.dirty[4]&1&&i(49,l=x.has(st.PLAY_BUTTON)),t.$$.dirty[4]&1&&i(48,r=x.has(st.REPLAY_BUTTON)),t.$$.dirty[4]&1&&i(47,a=x.has(st.PLAY_PREV_CHAPTER_BUTTON)),t.$$.dirty[3]&16777216&&i(32,bi=h===zt.PLAYING),t.$$.dirty[0]&1073741824&&i(33,Lt=V===Yt.PAUSED),t.$$.dirty[0]&16|t.$$.dirty[3]&1073741824&&i(34,Ki=L&&!se&&!Ct),t.$$.dirty[0]&16|t.$$.dirty[3]&1073741824&&i(35,ji=!L||se),t.$$.dirty[3]&67108864&&i(112,Ai=w.width>300),t.$$.dirty[3]&67108864&&i(36,_i=w.width>400),t.$$.dirty[0]&536870912&&i(113,ht=ie),t.$$.dirty[0]&469762048|t.$$.dirty[3]&268435456&&i(37,Oi=M!==Sn.NOT_AVAILABLE&&!(I&&y===Mn.DocumentPictureInPicture)&&!ne&&!Ct),t.$$.dirty[0]&402653184|t.$$.dirty[3]&806354944){const J=W===Ne.WaitingLive;i(38,Hi=!!Ft&&M!==Sn.CONNECTED&&!ne&&(y===Mn.DocumentPictureInPicture&&J||!J)&&!ht&&!Ct)}t.$$.dirty[3]&1048576&&i(39,Li=!ht),t.$$.dirty[3]&67141632&&i(40,Vi=!Ie&&w.width>350),t.$$.dirty[0]&67108864|t.$$.dirty[3]&269615104&&i(41,Mi=yt.features.fullscreen&&!(I&&y===Mn.DocumentPictureInPicture)&&(Ct?ye:!0)&&!ht),t.$$.dirty[0]&33554448|t.$$.dirty[3]&68157440&&i(42,Fi=(!k||se)&&w.width>260&&!ht&&!(yt.features.interactiveHideTime&&Ct)),t.$$.dirty[0]&8388616&&i(43,ni=p||$),t.$$.dirty[0]&33554448|t.$$.dirty[3]&3670016&&i(44,vi=!se&&!k&&!!Pt?.length&&Ai&&!n&&!ht),t.$$.dirty[0]&16777216|t.$$.dirty[3]&134217728&&i(19,Zt=!P||v),t.$$.dirty[0]&1048584|t.$$.dirty[3]&100663296&&Ui(Ei(),zi,Le,$),t.$$.dirty[0]&524288|t.$$.dirty[3]&16777216&&$i(Zt,h),t.$$.dirty[0]&12582912&&Ul(Bi,p,Ht),t.$$.dirty[0]&10485760|t.$$.dirty[3]&8388608&&ql(Kt,p,f),t.$$.dirty[0]&1048576|t.$$.dirty[3]&4194304&&Mu(ei,c,Le.playButton)},[ke,we,Q,$,se,We,Ae,ae,Ce,pe,le,de,Pe,je,Je,Ye,et,Et,pt,Zt,Le,Kt,Bi,p,P,k,I,ne,M,ie,V,Rt,bi,Lt,Ki,ji,_i,Oi,Hi,Li,Vi,Mi,Fi,ni,vi,oi,li,a,r,l,s,o,_,oe,j,C,G,D,ee,Te,Re,Be,ze,_e,fe,gt,at,_t,ui,Ot,ci,Zi,fi,yi,Ji,di,mi,Ci,It,xt,Pi,$t,Si,pi,Ht,Pt,Ti,Di,St,ei,ti,hi,vt,At,gi,bt,Ii,Ct,Ut,Wi,qt,xi,ii,Bt,wi,Gi,Wt,nn,Ie,Me,ye,tt,Ai,ht,n,c,f,h,b,w,v,y,W,L,x,on,en,Yi,qi,Nt,te,ot,si,Qi,wt,tn,wn,fn,dn,ln,X,ft,kn,yn,Cn,On,Hn,Fn,Un]}class dp extends be{constructor(e){super(),ge(this,e,fp,cp,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:108,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:109,supportLink:11,customFullscreenSupported:110,playNextVideo:12,playPrevVideo:13,repeatPlaylist:111,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},ep,[-1,-1,-1,-1,-1,-1])}}function mp(t){let e,i,n;function o(l){t[26](l)}let s={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&&(s.controlsElementRef=t[0]),e=new H3({props:s}),ve.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function pp(t){let e,i,n;function o(l){t[25](l)}let s={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&&(s.controlsElementRef=t[0]),e=new dp({props:s}),ve.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r&2&&(a.bottomHidden=l[1]),r&4&&(a.bottomNoSmooth=l[2]),r&8&&(a.showControls=l[3]),r&16&&(a.isAds=l[4]),r&32&&(a.canRewindLive=l[5]),r&64&&(a.logoClickable=l[6]),r&128&&(a.logoHidden=l[7]),r&256&&(a.videoLogoUrl=l[8]),r&512&&(a.showNextPrevButtons=l[9]),r&1024&&(a.nextButtonActive=l[10]),r&2048&&(a.prevButtonActive=l[11]),r&4096&&(a.isOneVideoPlaylist=l[12]),r&8192&&(a.supportLink=l[13]),r&16384&&(a.customFullscreenSupported=l[14]),r&32768&&(a.playNextVideo=l[15]),r&65536&&(a.playPrevVideo=l[16]),r&131072&&(a.repeatPlaylist=l[17]),r&262144&&(a.toggleFullscreen=l[18]),r&524288&&(a.returnFocus=l[19]),r&1048576&&(a.seekToInteractive=l[20]),r&2097152&&(a.toggleGraph=l[21]),r&4194304&&(a.playPrevChapter=l[22]),!i&&r&1&&(i=!0,a.controlsElementRef=l[0],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function hp(t){let e,i,n,o;const s=[pp,mp],l=[];function r(a,c){return a[23]?0:1}return e=r(t),i=l[e]=s[e](t),{c(){i.c(),n=ut()},m(a,c){l[e].m(a,c),T(a,n,c),o=!0},p(a,[c]){let f=e;e=r(a),e===f?l[e].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),i=l[e],i?i.p(a,c):(i=l[e]=s[e](a),i.c()),d(i,1),i.m(n.parentNode,n))},i(a){o||(d(i),o=!0)},o(a){g(i),o=!1},d(a){a&&S(n),l[e].d(a)}}}function gp(t,e,i){let n,{bottomHidden:o}=e,{bottomNoSmooth:s=!1}=e,{showControls:l}=e,{controlsElementRef:r=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:p}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:_}=e,{nextButtonActive:b}=e,{prevButtonActive:w}=e,{isOneVideoPlaylist:v=!1}=e,{supportLink:P}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:y}=e,{playPrevVideo:I}=e,{repeatPlaylist:ne}=e,{toggleFullscreen:M}=e,{returnFocus:W=Qe}=e,{seekToInteractive:ie}=e,{toggleGraph:L}=e,{playPrevChapter:V}=e;const Y=mt().ui.isMobile;z(t,Y,C=>i(23,n=C));function oe(C){r=C,i(0,r)}function j(C){r=C,i(0,r)}return t.$$set=C=>{"bottomHidden"in C&&i(1,o=C.bottomHidden),"bottomNoSmooth"in C&&i(2,s=C.bottomNoSmooth),"showControls"in C&&i(3,l=C.showControls),"controlsElementRef"in C&&i(0,r=C.controlsElementRef),"isAds"in C&&i(4,a=C.isAds),"canRewindLive"in C&&i(5,c=C.canRewindLive),"logoClickable"in C&&i(6,f=C.logoClickable),"logoHidden"in C&&i(7,p=C.logoHidden),"videoLogoUrl"in C&&i(8,h=C.videoLogoUrl),"showNextPrevButtons"in C&&i(9,_=C.showNextPrevButtons),"nextButtonActive"in C&&i(10,b=C.nextButtonActive),"prevButtonActive"in C&&i(11,w=C.prevButtonActive),"isOneVideoPlaylist"in C&&i(12,v=C.isOneVideoPlaylist),"supportLink"in C&&i(13,P=C.supportLink),"customFullscreenSupported"in C&&i(14,k=C.customFullscreenSupported),"playNextVideo"in C&&i(15,y=C.playNextVideo),"playPrevVideo"in C&&i(16,I=C.playPrevVideo),"repeatPlaylist"in C&&i(17,ne=C.repeatPlaylist),"toggleFullscreen"in C&&i(18,M=C.toggleFullscreen),"returnFocus"in C&&i(19,W=C.returnFocus),"seekToInteractive"in C&&i(20,ie=C.seekToInteractive),"toggleGraph"in C&&i(21,L=C.toggleGraph),"playPrevChapter"in C&&i(22,V=C.playPrevChapter)},[r,o,s,l,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,n,Y,oe,j]}class Nu extends be{constructor(e){super(),ge(this,e,gp,hp,he,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:7,videoLogoUrl:8,showNextPrevButtons:9,nextButtonActive:10,prevButtonActive:11,isOneVideoPlaylist:12,supportLink:13,customFullscreenSupported:14,playNextVideo:15,playPrevVideo:16,repeatPlaylist:17,toggleFullscreen:18,returnFocus:19,seekToInteractive:20,toggleGraph:21,playPrevChapter:22})}}function bp(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _p(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function vp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class wp extends be{constructor(e){super(),ge(this,e,vp,_p,he,{reversed:0},bp)}}function kp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("clipPath"),r=R("path"),a=R("filter"),c=R("feFlood"),f=R("feColorMatrix"),p=R("feOffset"),h=R("feGaussianBlur"),_=R("feColorMatrix"),b=R("feBlend"),w=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(r,"fill","#fff"),u(r,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"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(v,P){T(v,e,P),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(s,a),m(a,c),m(a,f),m(a,p),m(a,h),m(a,_),m(a,b),m(a,w)},d(v){v&&S(e)}}}function yp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("path"),l=R("defs"),r=R("clipPath"),a=R("path"),c=R("filter"),f=R("feFlood"),p=R("feColorMatrix"),h=R("feOffset"),_=R("feGaussianBlur"),b=R("feColorMatrix"),w=R("feBlend"),v=R("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(s,"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(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(i,"filter","url(#b)"),u(i,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(r,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(p,"in","SourceAlpha"),u(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(p,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(b,"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(v,"in","SourceGraphic"),u(v,"in2","effect1_dropShadow_2260_104293"),u(v,"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(P,k){T(P,e,k),m(e,i),m(i,n),m(i,o),m(i,s),m(e,l),m(l,r),m(r,a),m(l,c),m(c,f),m(c,p),m(c,h),m(c,_),m(c,b),m(c,w),m(c,v)},d(P){P&&S(e)}}}function Cp(t){let e;function i(s,l){return s[0]?yp:kp}let n=i(t),o=n(t);return{c(){o.c(),e=ut()},m(s,l){o.m(s,l),T(s,e,l)},p(s,[l]){n!==(n=i(s))&&(o.d(1),o=n(s),o&&(o.c(),o.m(e.parentNode,e)))},i:Z,o:Z,d(s){s&&S(e),o.d(s)}}}function Pp(t,e,i){let{isOff:n=!1}=e;return t.$$set=o=>{"isOff"in o&&i(0,n=o.isOff)},[n]}class zu extends be{constructor(e){super(),ge(this,e,Pp,Cp,he,{isOff:0})}}function Sp(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Tp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function Ep(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Ip extends be{constructor(e){super(),ge(this,e,Ep,Tp,he,{reversed:0},Sp)}}function Ap(t){Ze(t,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Lp(t){let e,i,n,o,s,l,r,a,c,f,p,h,_;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),s=R("defs"),l=R("filter"),r=R("feFlood"),a=R("feColorMatrix"),c=R("feOffset"),f=R("feGaussianBlur"),p=R("feColorMatrix"),h=R("feBlend"),_=R("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(i,"filter","url(#a)"),u(r,"flood-opacity","0"),u(r,"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(p,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),B(e,"reversed",t[0])},m(b,w){T(b,e,w),m(e,i),m(i,n),m(i,o),m(e,s),m(s,l),m(l,r),m(l,a),m(l,c),m(l,f),m(l,p),m(l,h),m(l,_)},p(b,[w]){w&1&&B(e,"reversed",b[0])},i:Z,o:Z,d(b){b&&S(e)}}}function Vp(t,e,i){let{reversed:n=!1}=e;return t.$$set=o=>{"reversed"in o&&i(0,n=o.reversed)},[n]}class Mp extends be{constructor(e){super(),ge(this,e,Vp,Lp,he,{reversed:0},Ap)}}function Bp(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 da(t){let e,i=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(t[4]),n,o,s,l,r,a,c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(t[4]),f,p=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(t[4]),h,_,b,w,v,P=i&&ma(t),k=t[4]===Ge.PAUSE&&pa(),y=t[4]===Ge.PLAY&&ha(),I=t[4]===Ge.REPLAY&&ga(),ne=t[4]===Ge.SUBTITLES_OFF&&ba(),M=t[4]===Ge.SUBTITLES_ON&&_a(),W=c&&va(t),ie=p&&wa(t),L=t[4]===Ge.MUTE&&ka(),V=t[4]===Ge.VOLUME&&ya(),x=t[5]&&Ca(t);return{c(){e=E("div"),P&&P.c(),n=N(),k&&k.c(),o=N(),y&&y.c(),s=N(),I&&I.c(),l=N(),ne&&ne.c(),r=N(),M&&M.c(),a=N(),W&&W.c(),f=N(),ie&&ie.c(),h=N(),L&&L.c(),_=N(),V&&V.c(),b=N(),x&&x.c(),w=ut(),u(e,"class","v-4ftgwp")},m(Y,oe){T(Y,e,oe),P&&P.m(e,null),m(e,n),k&&k.m(e,null),m(e,o),y&&y.m(e,null),m(e,s),I&&I.m(e,null),m(e,l),ne&&ne.m(e,null),m(e,r),M&&M.m(e,null),m(e,a),W&&W.m(e,null),m(e,f),ie&&ie.m(e,null),m(e,h),L&&L.m(e,null),m(e,_),V&&V.m(e,null),T(Y,b,oe),x&&x.m(Y,oe),T(Y,w,oe),v=!0},p(Y,oe){oe&16&&(i=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(Y[4])),i?P?(P.p(Y,oe),oe&16&&d(P,1)):(P=ma(Y),P.c(),d(P,1),P.m(e,n)):P&&(ue(),g(P,1,1,()=>{P=null}),ce()),Y[4]===Ge.PAUSE?k?oe&16&&d(k,1):(k=pa(),k.c(),d(k,1),k.m(e,o)):k&&(ue(),g(k,1,1,()=>{k=null}),ce()),Y[4]===Ge.PLAY?y?oe&16&&d(y,1):(y=ha(),y.c(),d(y,1),y.m(e,s)):y&&(ue(),g(y,1,1,()=>{y=null}),ce()),Y[4]===Ge.REPLAY?I?oe&16&&d(I,1):(I=ga(),I.c(),d(I,1),I.m(e,l)):I&&(ue(),g(I,1,1,()=>{I=null}),ce()),Y[4]===Ge.SUBTITLES_OFF?ne?oe&16&&d(ne,1):(ne=ba(),ne.c(),d(ne,1),ne.m(e,r)):ne&&(ue(),g(ne,1,1,()=>{ne=null}),ce()),Y[4]===Ge.SUBTITLES_ON?M?oe&16&&d(M,1):(M=_a(),M.c(),d(M,1),M.m(e,a)):M&&(ue(),g(M,1,1,()=>{M=null}),ce()),oe&16&&(c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(Y[4])),c?W?(W.p(Y,oe),oe&16&&d(W,1)):(W=va(Y),W.c(),d(W,1),W.m(e,f)):W&&(ue(),g(W,1,1,()=>{W=null}),ce()),oe&16&&(p=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(Y[4])),p?ie?(ie.p(Y,oe),oe&16&&d(ie,1)):(ie=wa(Y),ie.c(),d(ie,1),ie.m(e,h)):ie&&(ue(),g(ie,1,1,()=>{ie=null}),ce()),Y[4]===Ge.MUTE?L?oe&16&&d(L,1):(L=ka(),L.c(),d(L,1),L.m(e,_)):L&&(ue(),g(L,1,1,()=>{L=null}),ce()),Y[4]===Ge.VOLUME?V?oe&16&&d(V,1):(V=ya(),V.c(),d(V,1),V.m(e,null)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),Y[5]?x?x.p(Y,oe):(x=Ca(Y),x.c(),x.m(w.parentNode,w)):x&&(x.d(1),x=null)},i(Y){v||(d(P),d(k),d(y),d(I),d(ne),d(M),d(W),d(ie),d(L),d(V),v=!0)},o(Y){g(P),g(k),g(y),g(I),g(ne),g(M),g(W),g(ie),g(L),g(V),v=!1},d(Y){Y&&(S(e),S(b),S(w)),P&&P.d(),k&&k.d(),y&&y.d(),I&&I.d(),ne&&ne.d(),M&&M.d(),W&&W.d(),ie&&ie.d(),L&&L.d(),V&&V.d(),x&&x.d(Y)}}}function ma(t){let e,i;return e=new wp({props:{reversed:t[4]===Ge.FORWARD_SEEK}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function pa(t){let e,i;return e=new bu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ha(t){let e,i;return e=new jl({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ga(t){let e,i;return e=new Eu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ba(t){let e,i;return e=new zu({props:{isOff:!0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function _a(t){let e,i;return e=new zu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function va(t){let e,i;return e=new Ip({props:{reversed:t[4]===Ge.RATE_UP}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.RATE_UP),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function wa(t){let e,i;return e=new Mp({props:{reversed:t[4]===Ge.EPISODE_NEXT}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&16&&(s.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ka(t){let e,i;return e=new sl({props:{volume:0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ya(t){let e,i;return e=new sl({props:{volume:1}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ca(t){let e,i;return{c(){e=E("span"),i=De(t[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&32&&xe(i,n[5])},d(n){n&&S(e)}}}function Rp(t){let e,i,n=!t[1]&&t[4]&&da(t);return{c(){e=E("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(o,s){T(o,e,s),n&&n.m(e,null),i=!0},p(o,[s]){!o[1]&&o[4]?n?(n.p(o,s),s&18&&d(n,1)):(n=da(o),n.c(),d(n,1),n.m(e,null)):n&&(ue(),g(n,1,1,()=>{n=null}),ce()),(!i||s&2)&&B(e,"hidden",o[1]),(!i||s&4)&&B(e,"hot-key-helpers-container--left",o[2]),(!i||s&8)&&B(e,"hot-key-helpers-container--right",o[3])},i(o){i||(d(n),i=!0)},o(o){g(n),i=!1},d(o){o&&S(e),n&&n.d()}}}function Np(t,e,i){let n,o=Z,s=()=>(o(),o=Gt(l,h=>i(6,n=h)),l);t.$$.on_destroy.push(()=>o());let{data:l}=e;s();let r,a,c,f,p;return t.$$set=h=>{"data"in h&&s(i(0,l=h.data))},t.$$.update=()=>{t.$$.dirty&64&&(i(1,r=!n),i(2,a=n?.type===Ge.BACKWARD_SEEK),i(3,c=n?.type===Ge.FORWARD_SEEK),i(4,f=n?.type),n?.t?i(5,p=K(n.t.key,{value:n.t.value||""})):i(5,p=n?.text))},[l,r,a,c,f,p,n]}class zp extends be{constructor(e){super(),ge(this,e,Np,Rp,he,{data:0},Bp)}}function Dp(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 Op(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k;return s=new Kn({props:{direction:"up"}}),a=new Kn({props:{direction:"up"}}),h=new Kn({props:{direction:"up"}}),w=new Kn({props:{direction:"up"}}),{c(){e=E("div"),i=E("div"),n=E("div"),o=E("div"),U(s.$$.fragment),l=N(),r=E("div"),U(a.$$.fragment),c=N(),f=E("div"),p=E("div"),U(h.$$.fragment),_=N(),b=E("div"),U(w.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(r,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(p,"class","button button-left v-1yzc86r"),u(b,"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",K("aria_label_spherical_control")),B(e,"m-shifted",t[0])},m(y,I){T(y,e,I),m(e,i),m(i,n),m(n,o),O(s,o,null),m(n,l),m(n,r),O(a,r,null),m(i,c),m(i,f),m(f,p),O(h,p,null),m(f,_),m(f,b),O(w,b,null),v=!0,P||(k=[me(o,"mousedown",t[1]),me(o,"mouseup",t[5]),me(o,"mouseleave",t[5]),me(r,"mousedown",t[3]),me(r,"mouseup",t[5]),me(r,"mouseleave",t[5]),me(p,"mousedown",t[4]),me(p,"mouseup",t[5]),me(p,"mouseleave",t[5]),me(b,"mousedown",t[2]),me(b,"mouseup",t[5]),me(b,"mouseleave",t[5]),me(e,"keydown",t[6]),me(e,"keyup",t[7])],P=!0)},p(y,[I]){(!v||I&1)&&B(e,"m-shifted",y[0])},i(y){v||(d(s.$$.fragment,y),d(a.$$.fragment,y),d(h.$$.fragment,y),d(w.$$.fragment,y),v=!0)},o(y){g(s.$$.fragment,y),g(a.$$.fragment,y),g(h.$$.fragment,y),g(w.$$.fragment,y),v=!1},d(y){y&&S(e),H(s),H(a),H(h),H(w),P=!1,it(k)}}}function Hp(t,e,i){let{isShifted:n=!1}=e;const o=mt(),s=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},r=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),p=_=>{if(s.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ee.ArrowUp:l();break;case Ee.ArrowDown:r();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=_=>{s.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return t.$$set=_=>{"isShifted"in _&&i(0,n=_.isShifted)},[n,l,r,a,c,f,p,h]}class Du extends be{constructor(e){super(),ge(this,e,Hp,Op,he,{isShifted:0},Dp)}}function Fp(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 Pa(t,e,i){const n=t.slice();return n[16]=e[i].value,n}function Sa(t,e,i){const n=t.slice();return n[16]=e[i].value,n[17]=e[i].timeAppeared,n}function Ta(t){let e,i;function n(l,r){return l[7]&&l[8]?Zp:l[5]?qp:Up}let o=n(t),s=o(t);return{c(){e=E("div"),i=E("span"),s.c(),u(i,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),B(e,"mobile",t[3])},m(l,r){T(l,e,r),m(e,i),s.m(i,null)},p(l,r){o===(o=n(l))&&s?s.p(l,r):(s.d(1),s=o(l),s&&(s.c(),s.m(i,null))),r&8&&B(e,"mobile",l[3])},d(l){l&&S(e),s.d()}}}function Up(t){let e,i=Dt(t[1]),n=[];for(let o=0;o<i.length;o+=1)n[o]=Ea(Pa(t,i,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ut()},m(o,s){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,s);T(o,e,s)},p(o,s){if(s&18){i=Dt(o[1]);let l;for(l=0;l<i.length;l+=1){const r=Pa(o,i,l);n[l]?n[l].p(r,s):(n[l]=Ea(r),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=i.length}},d(o){o&&S(e),vn(n,o)}}}function qp(t){let e,i,n=Dt(t[6]),o=[];for(let s=0;s<n.length;s+=1)o[s]=Aa(Sa(t,n,s));return{c(){e=E("span"),i=E("span");for(let s=0;s<o.length;s+=1)o[s].c();u(i,"class","caption-segment v-ovfyp5"),Tt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){T(s,e,l),m(e,i);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,null)},p(s,l){if(l&68){n=Dt(s[6]);let r;for(r=0;r<n.length;r+=1){const a=Sa(s,n,r);o[r]?o[r].p(a,l):(o[r]=Aa(a),o[r].c(),o[r].m(i,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=n.length}l&16&&Tt(i,"font-size",s[4]+"px")},d(s){s&&S(e),vn(o,s)}}}function Zp(t){let e,i,n=K("subtitles_auto_caption")+"",o;return{c(){e=E("span"),i=E("span"),o=De(n),u(i,"class","caption-segment v-ovfyp5"),Tt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(s,l){T(s,e,l),m(e,i),m(i,o)},p(s,l){l&16&&Tt(i,"font-size",s[4]+"px")},d(s){s&&S(e)}}}function Ea(t){let e,i,n=t[16]+"",o,s;return{c(){e=E("span"),i=E("span"),o=De(n),s=N(),u(i,"class","caption-segment v-ovfyp5"),Tt(i,"font-size",t[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){T(l,e,r),m(e,i),m(i,o),m(e,s)},p(l,r){r&2&&n!==(n=l[16]+"")&&xe(o,n),r&16&&Tt(i,"font-size",l[4]+"px")},d(l){l&&S(e)}}}function Ia(t){let e=t[16]+"",i;return{c(){i=De(e)},m(n,o){T(n,i,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(i,e)},d(n){n&&S(i)}}}function Aa(t){let e,i=(!t[17]||t[17]<=t[2])&&Ia(t);return{c(){i&&i.c(),e=ut()},m(n,o){i&&i.m(n,o),T(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?i?i.p(n,o):(i=Ia(n),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(n){n&&S(e),i&&i.d(n)}}}function Wp(t){let e,i=t[1].length>0&&Ta(t);return{c(){e=E("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,o){T(n,e,o),i&&i.m(e,null)},p(n,[o]){n[1].length>0?i?i.p(n,o):(i=Ta(n),i.c(),i.m(e,null)):i&&(i.d(1),i=null),o&1&&B(e,"shifted",n[0]),o&288&&B(e,"auto",n[5]&&!n[8])},i:Z,o:Z,d(n){n&&S(e),i&&i.d()}}}function Kp(t,e,i){let n,o,{shifted:s}=e,{captions:l}=e,{position:r}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=mt(),p=an(),h=f.state.currentSubtitle$;z(t,h,y=>i(12,n=y));const _=f.state.isAutoSubtitleCaptionVisible$;z(t,_,y=>i(8,o=y));let b,w,v,P,k;return rn(()=>{k=window.setTimeout(()=>{_.set(!1)},p.autoSubtitlesTimeout)}),ol(()=>{window.clearTimeout(k)}),t.$$set=y=>{"shifted"in y&&i(0,s=y.shifted),"captions"in y&&i(1,l=y.captions),"position"in y&&i(2,r=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,b=y<=p.minSubtitlesFontSize?p.minSubtitlesFontSize:y)}t.$$.dirty&2&&i(5,w=l.some(y=>y.type==="timestamp")),t.$$.dirty&2&&i(6,v=l.reduce((y,{type:I,value:ne})=>(I==="timestamp"?y.push({timeAppeared:Number(ne),value:""}):y.length===0?y.push({value:String(ne)}):y[y.length-1].value=String(ne),y),[])),t.$$.dirty&4096&&i(7,P=!!n.isAuto)},[s,l,r,c,b,w,v,P,o,h,_,a,n]}class Ou extends be{constructor(e){super(),ge(this,e,Kp,Wp,he,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Fp)}}function jp(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 La(t){let e,i,n;return{c(){e=E("div"),i=De("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=De(t[1]),u(e,"class","text v-1o62kpz")},m(o,s){T(o,e,s),m(e,i),m(e,n)},p(o,s){s&2&&xe(n,o[1])},d(o){o&&S(e)}}}function Gp(t){let e,i,n,o,s,l,r=t[1]&&La(t);return{c(){e=E("div"),i=E("div"),i.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),r&&r.c(),u(i,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${t[0]||""}')`)},m(a,c){T(a,e,c),m(e,i),m(e,n),r&&r.m(e,null),s||(l=me(e,"click",t[2]),s=!0)},p(a,[c]){a[1]?r?r.p(a,c):(r=La(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:Z,o:Z,d(a){a&&S(e),r&&r.d(),s=!1,l()}}}function Yp(t,e,i){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function s(l){po.call(this,t,l)}return t.$$set=l=>{"thumbUrl"in l&&i(0,n=l.thumbUrl),"chromecastDeviceName"in l&&i(1,o=l.chromecastDeviceName)},[n,o,s]}class Hu extends be{constructor(e){super(),ge(this,e,Yp,Gp,he,{thumbUrl:0,chromecastDeviceName:1},jp)}}function Qp(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(i,"fill","#fff"),u(i,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Xp extends be{constructor(e){super(),ge(this,e,null,Qp,he,{})}}function Jp(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 xp(t){let e,i,n;return i=new Xp({}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}class Fu extends be{constructor(e){super(),ge(this,e,null,xp,he,{},Jp)}}function $p(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 eh(t){let e,i,n,o,s,l,r,a,c;return s=new jl({}),{c(){e=E("div"),i=E("div"),n=E("div"),o=N(),U(s.$$.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",K("tooltip_play")),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${t[0]||""}')`),B(e,"hidden",t[1])},m(f,p){T(f,e,p),m(e,i),m(i,n),m(i,o),O(s,i,null),r=!0,a||(c=[me(i,"keydown",t[3]),me(e,"click",nt(function(){bn(t[2])&&t[2].apply(this,arguments)}))],a=!0)},p(f,[p]){t=f,(!r||p&1&&l!==(l=`background-color: #222; background-image: url('${t[0]||""}')`))&&u(e,"style",l),(!r||p&2)&&B(e,"hidden",t[1])},i(f){r||(d(s.$$.fragment,f),r=!0)},o(f){g(s.$$.fragment,f),r=!1},d(f){f&&S(e),H(s),a=!1,it(c)}}}function th(t,e,i){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:s}=e;const r=mt().ui.startedByKeyboard$,a=c=>{const f=c.code;[Ee.Enter,Ee.Space].includes(f)&&(c.stopPropagation(),c.preventDefault(),r.set(!0),s())};return t.$$set=c=>{"thumbUrl"in c&&i(0,n=c.thumbUrl),"hidden"in c&&i(1,o=c.hidden),"startVideo"in c&&i(2,s=c.startVideo)},[n,o,s,a]}class Uu extends be{constructor(e){super(),ge(this,e,th,eh,he,{thumbUrl:0,hidden:1,startVideo:2,handlePressKey:3},$p)}get handlePressKey(){return this.$$.ctx[3]}}function ih(t){Ze(t,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
26
26
  0deg,
27
27
  rgba(0, 0, 0, 0) 0%,
28
28
  rgba(0, 0, 0, 0.02) 19%,
29
29
  rgba(0, 0, 0, 0.10) 34%,
30
30
  rgba(0, 0, 0, 0.40) 60%,
31
31
  rgba(0, 0, 0, 0.60) 100%
32
- )}.hidden.v-1bcvcf2{visibility:hidden;transform:translateY(calc(var(--controls-gradient-height) * -1));opacity:0}`)}function Zp(t){let e,i;return{c(){e=E("div"),i=Ne(t[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",t[1])},m(n,o){T(n,e,o),m(e,i)},p(n,[o]){o&1&&Xe(i,n[0]),o&2&&B(e,"hidden",n[1])},i:Z,o:Z,d(n){n&&S(e)}}}function Wp(t,e,i){let{title:n=""}=e,{isHidden:o=!1}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"isHidden"in s&&i(1,o=s.isHidden)},[n,o]}class Kp extends be{constructor(e){super(),ge(this,e,Wp,Zp,he,{title:0,isHidden:1},qp)}}function jp(t){Oe(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 Ca(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=Ne(t[0]),o=z(),s=E("span"),s.textContent=`${j("waiting_live_day_value")}`,l=z(),r=E("span"),r.textContent=`${j("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&1&&Xe(n,a[0])},d(a){a&&(S(e),S(l),S(r))}}}function Pa(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=Ne(t[1]),o=z(),s=E("span"),s.textContent=`${j("waiting_live_hour_value")}`,l=z(),r=E("span"),r.textContent=`${j("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&2&&Xe(n,a[1])},d(a){a&&(S(e),S(l),S(r))}}}function Sa(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=Ne(t[2]),o=z(),s=E("span"),s.textContent=`${j("waiting_live_minute_value")}`,l=z(),r=E("span"),r.textContent=`${j("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&4&&Xe(n,a[2])},d(a){a&&(S(e),S(l),S(r))}}}function Ta(t){let e,i,n,o,s;return{c(){e=E("div"),i=E("span"),n=Ne(t[3]),o=z(),s=E("span"),s.textContent=`${j("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){T(l,e,r),m(e,i),m(i,n),m(e,o),m(e,s)},p(l,r){r&8&&Xe(n,l[3])},d(l){l&&S(e)}}}function Gp(t){let e,i,n,o,s=t[0]&&Ca(t),l=t[1]&&Pa(t),r=t[2]&&Sa(t),a=t[3]&&Ta(t);return{c(){e=E("div"),s&&s.c(),i=z(),l&&l.c(),n=z(),r&&r.c(),o=z(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),s&&s.m(e,null),m(e,i),l&&l.m(e,null),m(e,n),r&&r.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=Ca(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Pa(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=Sa(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Ta(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:Z,o:Z,d(c){c&&S(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function Yp(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=_=>String(_).padStart(2,"0"),p=_=>{const b=Math.floor(_/86400);b&&(_-=b*86400,i(0,s=f(b)));const w=Math.floor(_/3600);i(1,l=f(w));const v=Math.floor(_/60)%60;i(2,r=f(v));const P=_%60;i(3,a=f(P))},h=()=>{const _=Math.floor(Date.now()/1e3),b=n-_;p(b),b>=1?c=requestAnimationFrame(h):o()};return sn(()=>{c=requestAnimationFrame(h)}),ll(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,o=_.onTimerOver)},[s,l,r,a,n,o]}class Qp extends be{constructor(e){super(),ge(this,e,Yp,Gp,he,{startTime:4,onTimerOver:5},jp)}}function Xp(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),St(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"),St(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"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"),St(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"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"),St(s,"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"),St(e,"shape-rendering","geometricPrecision"),St(e,"text-rendering","geometricPrecision"),St(e,"image-rendering","optimizeQuality"),St(e,"fill-rule","evenodd"),St(e,"clip-rule","evenodd"),St(e,"width","100%"),St(e,"height","100%")},m(l,r){T(l,e,r),m(e,i),m(e,n),m(e,o),m(e,s)},p:Z,i:Z,o:Z,d(l){l&&S(e)}}}class Jp extends be{constructor(e){super(),ge(this,e,null,Xp,he,{})}}function xp(t){Oe(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 $p(t){let e,i,n,o,s;return o=new Qp({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=E("div"),i=E("span"),i.textContent=`${j("waiting_live_timer_title")}`,n=z(),U(o.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){T(l,e,r),m(e,i),m(e,n),O(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(d(o.$$.fragment,l),s=!0)},o(l){g(o.$$.fragment,l),s=!1},d(l){l&&S(e),H(o)}}}function eh(t){let e,i,n,o,s,l;return n=new Jp({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("span"),s.textContent=`${j("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){T(r,e,a),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0},p:Z,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&S(e),H(n)}}}function th(t){let e,i,n,o,s;const l=[eh,$p],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){T(c,e,f),r[i].m(e,null),s=!0},p(c,[f]){let p=i;i=a(c),i===p?r[i].p(c,f):(de(),g(r[p],1,1,()=>{r[p]=null}),me(),n=r[i],n?n.p(c,f):(n=r[i]=l[i](c),n.c()),d(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(d(n),s=!0)},o(c){g(n),s=!1},d(c){c&&S(e),r[i].d()}}}function ih(t,e,i){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>i(2,n=!0);return t.$$set=r=>{"thumbUrl"in r&&i(0,o=r.thumbUrl),"startTime"in r&&i(1,s=r.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class Bu extends be{constructor(e){super(),ge(this,e,ih,th,he,{thumbUrl:0,startTime:1},xp)}}function nh(t){Oe(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 oh(t){let e,i;return{c(){e=E("div"),i=E("p"),i.textContent=`${j("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Ru extends be{constructor(e){super(),ge(this,e,null,oh,he,{},nh)}}const{window:lh}=d1;function sh(t){Oe(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 Ea(t){let e,i;return e=new Bu({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Aa(t){let e,i;return e=new Ru({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function La(t){let e,i,n;return i=new U1({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"),B(e,"hidden",t[38]!==Be.Ads)},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),i.$set(l),(!n||s[1]&128)&&B(e,"hidden",o[38]!==Be.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Ia(t){let e,i;return e=new A0({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Va(t){let e,i;return e=new Kp({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&32&&(s.isHidden=!n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ma(t){let e,i;return e=new Au({props:{isShifted:t[38]===Be.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Be.Video&&n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ba(t){let e,i,n;return i=new B1({props:{ariaLabel:j("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Ra(t){let e,i;return e=new Iu({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&16777216&&(s.chromecastDeviceName=n[55]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Na(t){let e,i;return e=new Lu({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&67108864&&(s.captions=n[57]),o[1]&134217728&&(s.position=n[58]),o[1]&8&&(s.playerSize=n[34]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function za(t){let e,i,n,o,s;return i=new Vu({}),{c(){e=E("div"),U(i.$$.fragment)},m(l,r){T(l,e,r),O(i,e,null),n=!0,o||(s=[pe(e,"contextmenu",Qt(t[107])),pe(e,"click",tt(t[118]))],o=!0)},p:Z,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i),o=!1,$e(s)}}}function Da(t){let e,i,n;function o(l){t[151](l)}let s={bottomHidden:t[38]===Be.Thumb||t[38]===Be.WaitingLive||t[38]===Be.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===Be.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:uh,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&&(s.controlsElementRef=t[41]),e=new Tu({props:s}),ve.push(()=>Fe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&128&&(a.bottomHidden=l[38]===Be.Thumb||l[38]===Be.WaitingLive||l[38]===Be.WaitingRecord),r[1]&2097152&&(a.bottomNoSmooth=l[52]),r[1]&32&&(a.showControls=l[36]),r[1]&128&&(a.isAds=l[38]===Be.Ads),r[0]&128|r[1]&268435456&&(a.canRewindLive=l[7]&&l[59]!==0),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&16&&(a.videoLogoUrl=l[4]),r[0]&32768&&(a.showNextPrevButtons=l[15]),r[0]&65536&&(a.nextButtonActive=l[16]),r[0]&131072&&(a.prevButtonActive=l[17]),r[0]&1048576&&(a.isOneVideoPlaylist=l[20]),r[0]&2097152&&(a.supportLink=l[21]),r[0]&8388608&&(a.playNextVideo=l[23]),r[0]&16777216&&(a.playPrevVideo=l[24]),r[0]&33554432&&(a.repeatPlaylist=l[25]),r[1]&524288&&(a.returnFocus=l[150]),r[0]&67108864&&(a.seekToInteractive=l[26]),r[0]&134217728&&(a.toggleGraph=l[27]),r[0]&268435456&&(a.playPrevChapter=l[28]),!i&&r[1]&1024&&(i=!0,a.controlsElementRef=l[41],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Oa(t){let e,i;return e=new $1({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ha(t){let e,i;return e=new X0({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fa(t){let e,i;return e=new Y1({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ua(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M;e=new Mu({props:{hidden:t[38]!==Be.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let ee=t[38]===Be.WaitingLive&&Ea(t),A=t[38]===Be.WaitingRecord&&Aa(),ie=t[8]&&t[22]&&La(t),N=t[31]&&t[18]&&t[19]&&Ia(t),G=t[46]&&Va(t),re=t[51]&&Ma(t),C=t[54]&&Ba(),le=t[39]&&Ra(t),W=t[56].value!=="off"&&Na(t),oe=t[37]&&za(t),ke=t[22]&&Da(t);b=new Z1({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),v=new yp({props:{data:t[102]}});function qe(Q){t[153](Q)}let Ze={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&&(Ze.menuElementRef=t[32]),k=new r0({props:Ze}),ve.push(()=>Fe(k,"menuElementRef",qe));let Ve=t[44]&&Oa(),ce=t[63]&&Ha(),we=t[64]&&Fa();return{c(){U(e.$$.fragment),i=z(),ee&&ee.c(),n=z(),A&&A.c(),o=z(),ie&&ie.c(),s=z(),N&&N.c(),l=z(),G&&G.c(),r=z(),re&&re.c(),a=z(),C&&C.c(),c=z(),le&&le.c(),f=z(),W&&W.c(),p=z(),oe&&oe.c(),h=z(),ke&&ke.c(),_=z(),U(b.$$.fragment),w=z(),U(v.$$.fragment),P=z(),U(k.$$.fragment),I=z(),Ve&&Ve.c(),ne=z(),ce&&ce.c(),V=z(),we&&we.c(),K=lt()},m(Q,X){O(e,Q,X),T(Q,i,X),ee&&ee.m(Q,X),T(Q,n,X),A&&A.m(Q,X),T(Q,o,X),ie&&ie.m(Q,X),T(Q,s,X),N&&N.m(Q,X),T(Q,l,X),G&&G.m(Q,X),T(Q,r,X),re&&re.m(Q,X),T(Q,a,X),C&&C.m(Q,X),T(Q,c,X),le&&le.m(Q,X),T(Q,f,X),W&&W.m(Q,X),T(Q,p,X),oe&&oe.m(Q,X),T(Q,h,X),ke&&ke.m(Q,X),T(Q,_,X),O(b,Q,X),T(Q,w,X),O(v,Q,X),T(Q,P,X),O(k,Q,X),T(Q,I,X),Ve&&Ve.m(Q,X),T(Q,ne,X),ce&&ce.m(Q,X),T(Q,V,X),we&&we.m(Q,X),T(Q,K,X),M=!0},p(Q,X){const Te={};X[0]&64|X[1]&192&&(Te.hidden=Q[38]!==Be.Thumb||Q[37]||Q[93]&&Q[6]),X[0]&8&&(Te.thumbUrl=Q[3]),X[0]&536870912&&(Te.startVideo=Q[29]),e.$set(Te),Q[38]===Be.WaitingLive?ee?(ee.p(Q,X),X[1]&128&&d(ee,1)):(ee=Ea(Q),ee.c(),d(ee,1),ee.m(n.parentNode,n)):ee&&(de(),g(ee,1,1,()=>{ee=null}),me()),Q[38]===Be.WaitingRecord?A?X[1]&128&&d(A,1):(A=Aa(),A.c(),d(A,1),A.m(o.parentNode,o)):A&&(de(),g(A,1,1,()=>{A=null}),me()),Q[8]&&Q[22]?ie?(ie.p(Q,X),X[0]&4194560&&d(ie,1)):(ie=La(Q),ie.c(),d(ie,1),ie.m(s.parentNode,s)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),Q[31]&&Q[18]&&Q[19]?N?(N.p(Q,X),X[0]&786432|X[1]&1&&d(N,1)):(N=Ia(Q),N.c(),d(N,1),N.m(l.parentNode,l)):N&&(de(),g(N,1,1,()=>{N=null}),me()),Q[46]?G?(G.p(Q,X),X[1]&32768&&d(G,1)):(G=Va(Q),G.c(),d(G,1),G.m(r.parentNode,r)):G&&(de(),g(G,1,1,()=>{G=null}),me()),Q[51]?re?(re.p(Q,X),X[1]&1048576&&d(re,1)):(re=Ma(Q),re.c(),d(re,1),re.m(a.parentNode,a)):re&&(de(),g(re,1,1,()=>{re=null}),me()),Q[54]?C?(C.p(Q,X),X[1]&8388608&&d(C,1)):(C=Ba(),C.c(),d(C,1),C.m(c.parentNode,c)):C&&(de(),g(C,1,1,()=>{C=null}),me()),Q[39]?le?(le.p(Q,X),X[1]&256&&d(le,1)):(le=Ra(Q),le.c(),d(le,1),le.m(f.parentNode,f)):le&&(de(),g(le,1,1,()=>{le=null}),me()),Q[56].value!=="off"?W?(W.p(Q,X),X[1]&33554432&&d(W,1)):(W=Na(Q),W.c(),d(W,1),W.m(p.parentNode,p)):W&&(de(),g(W,1,1,()=>{W=null}),me()),Q[37]?oe?(oe.p(Q,X),X[1]&64&&d(oe,1)):(oe=za(Q),oe.c(),d(oe,1),oe.m(h.parentNode,h)):oe&&(de(),g(oe,1,1,()=>{oe=null}),me()),Q[22]?ke?(ke.p(Q,X),X[0]&4194304&&d(ke,1)):(ke=Da(Q),ke.c(),d(ke,1),ke.m(_.parentNode,_)):ke&&(de(),g(ke,1,1,()=>{ke=null}),me());const se={};X[1]&536870912&&(se.isLive=Q[60]),X[1]&16384&&(se.isHidden=!Q[45]),X[1]&1073741824&&(se.isPlaying=Q[61]),X[1]&134217728&&(se.position=Q[58]),X[2]&1&&(se.duration=Q[62]),b.$set(se);const Se={};X[0]&2097152&&(Se.supportLink=Q[21]),X[1]&524288&&(Se.returnFocus=Q[152]),X[1]&4&&(Se.visible=Q[33]),X[1]&512&&(Se.playerContainerRef=Q[40]),X[1]&1024&&(Se.controlsContainerRef=Q[41]),X[1]&2048&&(Se.x=Q[42]),X[1]&4096&&(Se.y=Q[43]),!y&&X[1]&2&&(y=!0,Se.menuElementRef=Q[32],He(()=>y=!1)),k.$set(Se),Q[44]?Ve?X[1]&8192&&d(Ve,1):(Ve=Oa(),Ve.c(),d(Ve,1),Ve.m(ne.parentNode,ne)):Ve&&(de(),g(Ve,1,1,()=>{Ve=null}),me()),Q[63]?ce?X[2]&2&&d(ce,1):(ce=Ha(),ce.c(),d(ce,1),ce.m(V.parentNode,V)):ce&&(de(),g(ce,1,1,()=>{ce=null}),me()),Q[64]?we?X[2]&4&&d(we,1):(we=Fa(),we.c(),d(we,1),we.m(K.parentNode,K)):we&&(de(),g(we,1,1,()=>{we=null}),me())},i(Q){M||(d(e.$$.fragment,Q),d(ee),d(A),d(ie),d(N),d(G),d(re),d(C),d(le),d(W),d(oe),d(ke),d(b.$$.fragment,Q),d(v.$$.fragment,Q),d(k.$$.fragment,Q),d(Ve),d(ce),d(we),M=!0)},o(Q){g(e.$$.fragment,Q),g(ee),g(A),g(ie),g(N),g(G),g(re),g(C),g(le),g(W),g(oe),g(ke),g(b.$$.fragment,Q),g(v.$$.fragment,Q),g(k.$$.fragment,Q),g(Ve),g(ce),g(we),M=!1},d(Q){Q&&(S(i),S(n),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(_),S(w),S(P),S(I),S(ne),S(V),S(K)),H(e,Q),ee&&ee.d(Q),A&&A.d(Q),ie&&ie.d(Q),N&&N.d(Q),G&&G.d(Q),re&&re.d(Q),C&&C.d(Q),le&&le.d(Q),W&&W.d(Q),oe&&oe.d(Q),ke&&ke.d(Q),H(b,Q),H(v,Q),H(k,Q),Ve&&Ve.d(Q),ce&&ce.d(Q),we&&we.d(Q)}}}function rh(t){let e,i,n,o,s=t[53],l,r,a,c,f=Ua(t);return{c(){e=E("div"),i=E("div"),o=z(),f.c(),l=lt(),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]!==Be.Video),B(e,"nocursor",t[47])},m(p,h){T(p,e,h),m(e,i),t[149](i),T(p,o,h),f.m(p,h),T(p,l,h),r=!0,a||(c=[pe(e,"contextmenu",Qt(t[107])),pe(e,"mousedown",Qt(t[112])),pe(e,"mouseup",Qt(t[113])),pe(e,"click",Qt(t[115])),pe(e,"dblclick",Qt(t[114]))],a=!0)},p(p,h){(!r||h[1]&131088&&n!==(n=`transform: rotate(${p[35]}deg) scale(${p[48]})`))&&u(i,"style",n),(!r||h[0]&2)&&B(i,"fast-rotate",!p[1].isSmoothVideoRotate),(!r||h[1]&128)&&B(e,"hidden",p[38]!==Be.Video),(!r||h[1]&65536)&&B(e,"nocursor",p[47]),h[1]&4194304&&he(s,s=p[53])?(de(),g(f,1,1,Z),me(),f=Ua(p),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(p,h)},i(p){r||(d(f),r=!0)},o(p){g(f),r=!1},d(p){p&&(S(e),S(o),S(l)),t[149](null),f.d(p),a=!1,$e(c)}}}function ah(t){let e,i,n,o,s,l,r,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===Be.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[rh]},$$scope:{ctx:t}};return i=new M0({props:a}),t[154](i),{c(){e=E("div"),U(i.$$.fragment),n=z(),o=E("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),O(i,e,null),m(e,n),m(e,o),t[155](o),t[156](e),s=!0,l||(r=[pe(lh,"blur",t[106]),pe(e,"mouseenter",t[108]),pe(e,"mouseleave",t[110]),pe(e,"mousemove",t[111]),pe(e,"click",t[119],!0),pe(e,"focusin",t[109],!0)],l=!0)},p(c,f){const p={};f[1]&128&&(p.isAds=c[38]===Be.Ads),f[1]&262144&&(p.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(p.$$scope={dirty:f,ctx:c}),i.$set(p)},i(c){s||(d(i.$$.fragment,c),s=!0)},o(c){g(i.$$.fragment,c),s=!1},d(c){c&&S(e),t[154](null),H(i),t[155](null),t[156](null),l=!1,$e(r)}}}let uh=!0;function Nu(t){return t?t.offsetTop+Nu(t.offsetParent):0}function ch(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe,ke,qe,Ze,Ve,ce,we,Q,{store:X}=e,{uiConfig:Te}=e,{title:se}=e,{thumbUrl:Se}=e,{videoLogoUrl:Ee}=e,{videoContainer:Ie}=e,{interactiveContainer:ue}=e,{live:_e}=e,{autoplay:$}=e,{canRewindLive:Y}=e,{showAds:ze}=e,{adsSlotId:it=void 0}=e,{adsParams:Je=void 0}=e,{adsPreviewParam:Ce=void 0}=e,{duration:Ye=void 0}=e,{logoClickable:xe}=e,{logoHidden:ct}=e,{showNextPrevButtons:gt=!1}=e,{nextButtonActive:Ue=!1}=e,{prevButtonActive:Me=!1}=e,{endScreenVideoTitle:mt=void 0}=e,{endScreenVideoThumb:qt=void 0}=e,{isOneVideoPlaylist:Tt=!1}=e,{supportLink:ki}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:pt=!1}=e,{fullScreenTarget:rt=void 0}=e,{showMiniTimer:bt=!1}=e,{playNextVideo:at=Ge}=e,{playPrevVideo:Ct=Ge}=e,{repeatPlaylist:Pt=Ge}=e,{seekToInteractive:li}=e,{toggleGraph:Ri}=e,{playPrevChapter:si}=e,{firstStart:Ni}=e;const Ki=X.getLogger().createComponentLog("Root component"),yi=X.interfaceLanguage$;D(t,yi,F=>i(53,re=F));const zi=X.state.playbackState$;D(t,zi,F=>i(146,ie=F));const Di=X.ads.playbackState;D(t,Di,F=>i(147,N=F));const Et=X.state.positionWithScrubbing$;D(t,Et,F=>i(58,ke=F));const Xt=X.state.duration$;D(t,Xt,F=>i(62,ce=F));const ri=X.playerPhase;D(t,ri,F=>i(38,V=F));const Zt=X.ui.isFullscreen;D(t,Zt,F=>i(136,p=F));const ai=X.ui.controlsVisible;D(t,ai,F=>i(36,P=F));const Jt=X.ui.settingsMenuVisible;D(t,Jt,F=>i(134,l=F));const Ci=X.ui.scrubbingInProgress;D(t,Ci,F=>i(138,w=F));const ui=X.ui.contextMenuVisible;D(t,ui,F=>i(33,n=F));const _t=X.ui.debugPanelVisible;D(t,_t,F=>i(64,Q=F));const ci=X.state.isLoaderVisible;D(t,ci,F=>i(148,G=F));const Pi=X.state.isEnded$;D(t,Pi,F=>i(135,a=F));const Si=X.state.chromecastConnected$;D(t,Si,F=>i(39,ee=F));const Wt=X.state.chromecastDeviceName$;D(t,Wt,F=>i(55,le=F));const fi=X.ads.postrollPassed;D(t,fi,F=>i(141,I=F));const xt=X.state.isLive$;D(t,xt,F=>i(60,Ze=F));const $t=X.state.isPlaying$;D(t,$t,F=>i(61,Ve=F));const Bt=X.state.crashed$;D(t,Bt,F=>i(37,y=F));const At=X.webApi.pictureInPictureApi,Rt=X.state.currentSubtitle$;D(t,Rt,F=>i(56,W=F));const vt=X.state.currentSubtitleCaptions$;D(t,vt,F=>i(57,oe=F));const Lt=X.state.duration$;D(t,Lt,F=>i(59,qe=F));const Oi=X.state.graphIsOpened$;D(t,Oi,F=>i(142,ne=F));const di=X.ui.playerSize;D(t,di,F=>i(34,f=F));const Ti=X.ui.is3DVideo;D(t,Ti,F=>i(51,c=F));const Nt=X.ui.icon3DVideoVisible;D(t,Nt,F=>i(54,C=F));const mi=X.ui.rotateAlpha;D(t,mi,F=>i(35,b=F));const ei=X.state.isInteractive,Hi=X.state.isInteractiveTime$;D(t,Hi,F=>i(139,v=F));const ht=X.state.isInteractiveExpectation$;D(t,ht,F=>i(145,A=F));const ti=X.state.hasInteractiveBranches,wt=X.ui.touched;D(t,wt,F=>i(143,K=F));const ji=X.ui.modals.hotKeyMap.data;D(t,ji,F=>i(163,r=F));const Kt=X.ui.modals.hotKeyMap.show;D(t,Kt,F=>i(63,we=F));const Fi=X.ui.overlayContainer$,Qi=X.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Ei}=Bl();D(t,Ei,F=>i(137,_=F));let pi,zt,Ui=0,Gi=0,hi,gi,qi;ji.set(Ef());let Le,bi;const Yi=Ae(!1);D(t,Yi,F=>i(52,h=F));let Ai;const _i=Ae(!1);D(t,_i,F=>i(144,M=F));const Li=Ae(),De=Ae(!1);D(t,De,F=>i(140,k=F));let Ii=!1,vi=!1,ii,Dt,Vi,an,Xi,Zi,$i=!1,en,tn=!1;const{toggle:Wi}=Ei;let Mi=!1,Bi=null,te;At?.setContext(m1());const et=()=>{$&&!ei&&kt(Te.controls.hideTimeout)};X.setUiCallbacks({onStarted:et});const ni=()=>{window.clearTimeout(hi),_i.set(!1)},Ji=()=>{window.clearTimeout(gi),Li.set(null)},kt=F=>{ni(),_i.set(!0),hi=window.setTimeout(()=>_i.set(!1),F);const Ot=F-100;Ai=window.setTimeout(()=>{h&&Yi.set(!1)},Ot>0?Ot:F)},un=(F,Ot)=>{Ji(),Li.set(Ot),gi=window.setTimeout(()=>Li.set(null),F)},wn=Ti.subscribe(F=>{Nt.set(F),F&&(window.clearTimeout(qi),qi=window.setTimeout(()=>Nt.set(!1),Te.controls.hide360IconTimeout))}),on=async()=>{const F=Mo();if(F){kt(Te.controls.hideTimeoutFullscreen);try{await At?.remove()}catch(Ot){Ki({message:String(Ot)})}}Zt.set(F),X.getAdmanWrapper().setFullscreen(F),p?X.callbacks?.onFullscreenEnter?.():X.callbacks?.onFullscreenExit?.()},cn=F=>{const Ot=F;di.set({width:Ot.target.width,height:Ot.target.height})};sn(()=>(H1(on),nl(At)&&(At?.assignPlayerContainer(pi),At?.registryExternalEventHandlers({resize:cn})),ue&&Ie.parentElement?.insertBefore(ue,Ie.nextSibling),()=>{window.clearTimeout(hi),window.clearTimeout(Ai),window.clearTimeout(gi),window.clearTimeout(qi),wn(),At?.dispose(),F1(on)}));const ln=async()=>{if(Mo())await O1(document),Ki({message:"exit fullscreen"});else{Ki({message:"request fullscreen"});const F=fe??pi,Ot=F.getRootNode(),Ln=Ot instanceof ShadowRoot?Ot.host:Ot,Cn=rt instanceof HTMLElement&&rt.contains(Ln),so=Te.allowChangingFullscreenTarget&&rt&&Cn?rt:F;await D1(so)}},J=()=>{Qi(),ui.set(!1)},ut=F=>{ui.set(!0),i(42,Ui=F.clientX),i(43,Gi=F.clientY)};function kn(){De.set(!0),ei||kt(Te.controls.hideTimeoutCursor)}function x(){ei||(Yi.set(!0),kt(Te.controls.hideTimeoutCursor))}function yn(){De.set(!1),i(128,vi=!1),i(127,Ii=!1),Mi=!1,X.actions.internal.releaseCamera()}function Qn(F){if(pi){const Ot=Nu(F.currentTarget),Ln=f.height,Cn=F.pageY-Ot;Cn<ns?i(128,vi=!0):Cn>Ln-ns?i(127,Ii=!0):(i(128,vi=!1),l||i(127,Ii=!1))}}function Xn(F){Qn(F),Dt||kt(Te.controls.hideTimeoutCursor),c&&Mi&&Bi&&X.actions.internal.moveCameraFocusPX(Bi.clientX-F.clientX,Bi.clientY-F.clientY,F.timeStamp-Bi.timeStamp),Bi=F}const qn=F=>{F.button===0&&(Mi=!0,X.actions.internal.holdCamera()),kt(Te.controls.hideTimeoutCursor)},Jn=F=>{F.button===0&&(Bi=F,Mi=!1,X.actions.internal.releaseCamera()),kt(Te.controls.hideTimeoutCursor)},xn=()=>{Ki({message:"double click on video"}),ln(),kt(Te.controls.hideTimeoutCursor)},$n=()=>{if(n||l){J();return}if(!(a&&!ti)){if(tn)return Wi();if(te?.focus(),!pt){Ni(),kt(Te.controls.hideTimeoutCursor);return}X.actions.internal.togglePlay(),kt(Te.controls.hideTimeoutCursor)}},eo=F=>{J(),wt.set(!0),kt(Te.controls.hideTimeout),F&&un(Te.controls.hideHotKeyHelpers,F)},Zn=()=>{J(),X.callbacks?.onOpenHotKeyMap?X.callbacks?.onOpenHotKeyMap(r):Kt.update(F=>!F)},to=()=>{if(n||l){J();return}},Wn=()=>{wt.set(!0)},En=X.ui.contextMenu.openedByKeyboard$;D(t,En,F=>i(133,s=F));let Kn=X.ui.contextMenu.btnRef$;D(t,Kn,F=>i(132,o=F));let nn;function io(F){ve[F?"unshift":"push"](()=>{Ie=F,i(0,Ie)})}const ko=()=>te?.focus();function yo(F){zt=F,i(41,zt)}const no=()=>te?.focus();function Co(F){nn=F,i(32,nn)}function An(F){ve[F?"unshift":"push"](()=>{te=F,i(50,te)})}function oo(F){ve[F?"unshift":"push"](()=>{bi=F,i(30,bi)})}function lo(F){ve[F?"unshift":"push"](()=>{pi=F,i(40,pi)})}return t.$$set=F=>{"store"in F&&i(122,X=F.store),"uiConfig"in F&&i(1,Te=F.uiConfig),"title"in F&&i(2,se=F.title),"thumbUrl"in F&&i(3,Se=F.thumbUrl),"videoLogoUrl"in F&&i(4,Ee=F.videoLogoUrl),"videoContainer"in F&&i(0,Ie=F.videoContainer),"interactiveContainer"in F&&i(123,ue=F.interactiveContainer),"live"in F&&i(5,_e=F.live),"autoplay"in F&&i(6,$=F.autoplay),"canRewindLive"in F&&i(7,Y=F.canRewindLive),"showAds"in F&&i(8,ze=F.showAds),"adsSlotId"in F&&i(9,it=F.adsSlotId),"adsParams"in F&&i(10,Je=F.adsParams),"adsPreviewParam"in F&&i(11,Ce=F.adsPreviewParam),"duration"in F&&i(12,Ye=F.duration),"logoClickable"in F&&i(13,xe=F.logoClickable),"logoHidden"in F&&i(14,ct=F.logoHidden),"showNextPrevButtons"in F&&i(15,gt=F.showNextPrevButtons),"nextButtonActive"in F&&i(16,Ue=F.nextButtonActive),"prevButtonActive"in F&&i(17,Me=F.prevButtonActive),"endScreenVideoTitle"in F&&i(18,mt=F.endScreenVideoTitle),"endScreenVideoThumb"in F&&i(19,qt=F.endScreenVideoThumb),"isOneVideoPlaylist"in F&&i(20,Tt=F.isOneVideoPlaylist),"supportLink"in F&&i(21,ki=F.supportLink),"outerContainerRef"in F&&i(124,fe=F.outerContainerRef),"playerStarted"in F&&i(22,pt=F.playerStarted),"fullScreenTarget"in F&&i(125,rt=F.fullScreenTarget),"showMiniTimer"in F&&i(126,bt=F.showMiniTimer),"playNextVideo"in F&&i(23,at=F.playNextVideo),"playPrevVideo"in F&&i(24,Ct=F.playPrevVideo),"repeatPlaylist"in F&&i(25,Pt=F.repeatPlaylist),"seekToInteractive"in F&&i(26,li=F.seekToInteractive),"toggleGraph"in F&&i(27,Ri=F.toggleGraph),"playPrevChapter"in F&&i(28,si=F.playPrevChapter),"firstStart"in F&&i(29,Ni=F.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Le=(V===Be.Video&&G||V===Be.Ads&&N===Yt.INACTIVE)&&!y),t.$$.dirty[0]&1073741824&&Fi.set(bi),t.$$.dirty[4]&4194304&&i(129,ii=ie!==Ft.PLAYING),t.$$.dirty[4]&2131e3&&i(130,Dt=v&&!l&&!(Ii||vi)&&!(ii&&!A)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&ai.set((ii||l||w||ee||M)&&!Dt&&V===Be.Video&&!y),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,Vi=Te.features.thumbTimer&&bt&&V===Be.Video&&!P&&!y&&!ei&&(Te.hideThumbTimerAfterTouch&&!K||!Te.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,an=V===Be.Video&&!ne&&p),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,Xi=(ze&&I||!ze)&&a&&!y),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,Zi=k&&!(P||Xi)&&!v),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!w&&$i&&!v&&kt(Te.controls.hideTimeoutCursor),i(131,$i=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,en=Ie&&b%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,tn=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&Hl(nn,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const F=o;F&&Ol(F,n,En)}},[Ie,Te,se,Se,Ee,_e,$,Y,ze,it,Je,Ce,Ye,xe,ct,gt,Ue,Me,mt,qt,Tt,ki,pt,at,Ct,Pt,li,Ri,si,Ni,bi,Xi,nn,n,f,b,P,y,V,ee,pi,zt,Ui,Gi,Le,Vi,an,Zi,en,tn,te,c,h,re,C,le,W,oe,ke,qe,Ze,Ve,ce,we,Q,yi,zi,Di,Et,Xt,ri,Zt,ai,Jt,Ci,ui,_t,ci,Pi,Si,Wt,fi,xt,$t,Bt,Rt,vt,Lt,Oi,di,Ti,Nt,mi,ei,Hi,ht,wt,ji,Kt,Ei,Yi,_i,Li,De,Wi,ln,J,ut,kn,x,yn,Xn,qn,Jn,xn,$n,eo,Zn,to,Wn,En,Kn,X,ue,fe,rt,bt,Ii,vi,ii,Dt,$i,o,s,l,a,p,_,w,v,k,I,ne,K,M,A,ie,N,G,io,ko,yo,no,Co,An,oo,lo]}class fh extends be{constructor(e){super(),ge(this,e,ch,ah,he,{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},sh,[-1,-1,-1,-1,-1,-1])}}const dh=t=>{if(!Ll(!0))return!1;const e=t.device===Pc.iPad||window?.screen.width>700,i=Sc();return!e||e&&!!i&&i<16};function mh(t){Oe(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 qa(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v=j("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",P;return{c(){e=E("div"),n=z(),o=E("div"),s=E("div"),l=E("div"),a=z(),c=E("div"),p=z(),h=E("div"),b=z(),w=E("p"),P=Ne(v),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(l,"class",r="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,y){T(k,e,y),T(k,n,y),T(k,o,y),m(o,s),m(s,l),m(s,a),m(s,c),m(s,p),m(s,h),m(o,b),m(o,w),m(w,P)},p(k,y){y&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&r!==(r="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",r),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&&v!==(v=j("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&Xe(P,v)},d(k){k&&(S(e),S(n),S(o))}}}function ph(t){let e,i,n,o,s=t[2]&&qa(t);return{c(){e=E("div"),s&&s.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(l,r){T(l,e,r),s&&s.m(e,null),n||(o=pe(e,"click",tt(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=qa(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&i!==(i="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",i)},i:Z,o:Z,d(l){l&&S(e),s&&s.d(),n=!1,o()}}}function hh(t,e,i){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{s(),h=0},300):(window.clearTimeout(a),h=0,l(),i(2,r=!0),c=window.setTimeout(()=>{i(2,r=!1)},500))}};return ll(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=p=>{"side"in p&&i(0,n=p.side),"seekStep"in p&&i(1,o=p.seekStep),"handleSingleFirstClick"in p&&i(4,s=p.handleSingleFirstClick),"handleSecondClick"in p&&i(5,l=p.handleSecondClick)},[n,o,r,f,s,l]}class zu extends be{constructor(e){super(),ge(this,e,hh,ph,he,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},mh)}}function gh(t,e,i){let{playNextVideo:n}=e;return sn(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class bh extends be{constructor(e){super(),ge(this,e,gh,null,he,{playNextVideo:0})}}const{window:_h}=d1;function vh(t){Oe(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 Za(t){let e,i,n,o;e=new zu({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[127]}});let s=!t[48]&&Wa(t);return{c(){U(e.$$.fragment),i=z(),s&&s.c(),n=lt()},m(l,r){O(e,l,r),T(l,i,r),s&&s.m(l,r),T(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?s&&(de(),g(s,1,1,()=>{s=null}),me()):s?(s.p(l,r),r[1]&131072&&d(s,1)):(s=Wa(l),s.c(),d(s,1),s.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(s),o=!0)},o(l){g(e.$$.fragment,l),g(s),o=!1},d(l){l&&(S(i),S(n)),H(e,l),s&&s.d(l)}}}function Wa(t){let e,i;return e=new zu({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[128]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ka(t){let e,i;return e=new Bu({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function ja(t){let e,i;return e=new Ru({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ga(t){let e,i,n;return i=new U1({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"),B(e,"hidden",t[34]!==Be.Ads)},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),i.$set(l),(!n||s[1]&8)&&B(e,"hidden",o[34]!==Be.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Ya(t){let e,i;return e=new bh({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qa(t){let e,i;return e=new Au({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Xa(t){let e,i,n;return i=new B1({props:{ariaLabel:j("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Ja(t){let e,i;return e=new Iu({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&1048576&&(s.chromecastDeviceName=n[51]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function xa(t){let e,i;return e=new Lu({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&4194304&&(s.captions=n[53]),o[1]&8192&&(s.position=n[44]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $a(t){let e,i,n,o,s;return i=new Vu({}),{c(){e=E("div"),U(i.$$.fragment)},m(l,r){T(l,e,r),O(i,e,null),n=!0,o||(s=pe(e,"click",tt(t[100])),o=!0)},p:Z,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i),o=!1,s()}}}function e1(t){let e,i,n;function o(l){t[129](l)}let s={bottomHidden:t[34]===Be.Thumb||t[34]===Be.WaitingLive||t[34]===Be.WaitingRecord||t[34]===Be.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Be.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]};return t[37]!==void 0&&(s.controlsElementRef=t[37]),e=new Tu({props:s}),ve.push(()=>Fe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.bottomHidden=l[34]===Be.Thumb||l[34]===Be.WaitingLive||l[34]===Be.WaitingRecord||l[34]===Be.Ads),r[0]&1073741824&&(a.showControls=l[30]),r[1]&16384&&(a.bottomNoSmooth=l[45]),r[1]&8&&(a.isAds=l[34]===Be.Ads),r[0]&64|r[1]&8388608&&(a.canRewindLive=l[6]&&l[54]!==0),r[0]&4096&&(a.logoClickable=l[12]),r[0]&8192&&(a.logoHidden=l[13]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16384&&(a.showNextPrevButtons=l[14]),r[0]&32768&&(a.nextButtonActive=l[15]),r[0]&65536&&(a.prevButtonActive=l[16]),r[0]&524288&&(a.isOneVideoPlaylist=l[19]),r[0]&1048576&&(a.supportLink=l[20]),r[1]&256&&(a.customFullscreenSupported=l[39]),r[0]&4194304&&(a.playNextVideo=l[22]),r[0]&8388608&&(a.playPrevVideo=l[23]),r[0]&16777216&&(a.repeatPlaylist=l[24]),r[0]&33554432&&(a.seekToInteractive=l[25]),r[0]&67108864&&(a.toggleGraph=l[26]),r[0]&134217728&&(a.playPrevChapter=l[27]),!i&&r[1]&64&&(i=!0,a.controlsElementRef=l[37],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function t1(t){let e,i;return e=new $1({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function i1(t){let e,i;return e=new Y1({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(nt.TIMELINE),o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y;e=new Mu({props:{hidden:t[34]!==Be.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let I=n&&Za(t),ne=t[34]===Be.WaitingLive&&Ka(t),V=t[34]===Be.WaitingRecord&&ja(),K=t[7]&&t[21]&&Ga(t),M=t[41]&&t[17]&&t[18]&&Ya(t),ee=t[49]&&Qa(),A=t[50]&&Xa(),ie=t[35]&&Ja(t),N=t[52].value!=="off"&&xa(t),G=t[33]&&$a(t),re=t[21]&&e1(t);w=new Z1({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let C=t[38]&&t1(),le=t[57]&&i1();return{c(){U(e.$$.fragment),i=z(),I&&I.c(),o=z(),ne&&ne.c(),s=z(),V&&V.c(),l=z(),K&&K.c(),r=z(),M&&M.c(),a=z(),ee&&ee.c(),c=z(),A&&A.c(),f=z(),ie&&ie.c(),p=z(),N&&N.c(),h=z(),G&&G.c(),_=z(),re&&re.c(),b=z(),U(w.$$.fragment),v=z(),C&&C.c(),P=z(),le&&le.c(),k=lt()},m(W,oe){O(e,W,oe),T(W,i,oe),I&&I.m(W,oe),T(W,o,oe),ne&&ne.m(W,oe),T(W,s,oe),V&&V.m(W,oe),T(W,l,oe),K&&K.m(W,oe),T(W,r,oe),M&&M.m(W,oe),T(W,a,oe),ee&&ee.m(W,oe),T(W,c,oe),A&&A.m(W,oe),T(W,f,oe),ie&&ie.m(W,oe),T(W,p,oe),N&&N.m(W,oe),T(W,h,oe),G&&G.m(W,oe),T(W,_,oe),re&&re.m(W,oe),T(W,b,oe),O(w,W,oe),T(W,v,oe),C&&C.m(W,oe),T(W,P,oe),le&&le.m(W,oe),T(W,k,oe),y=!0},p(W,oe){const ke={};oe[0]&32|oe[1]&12&&(ke.hidden=W[34]!==Be.Thumb||W[33]||W[89]&&W[5]),oe[0]&4&&(ke.thumbUrl=W[2]),oe[0]&268435456&&(ke.startVideo=W[28]),e.$set(ke),oe[0]&64|oe[1]&65536&&(n=W[6]&&W[78]&&!W[47].has(nt.TIMELINE)),n?I?(I.p(W,oe),oe[0]&64|oe[1]&65536&&d(I,1)):(I=Za(W),I.c(),d(I,1),I.m(o.parentNode,o)):I&&(de(),g(I,1,1,()=>{I=null}),me()),W[34]===Be.WaitingLive?ne?(ne.p(W,oe),oe[1]&8&&d(ne,1)):(ne=Ka(W),ne.c(),d(ne,1),ne.m(s.parentNode,s)):ne&&(de(),g(ne,1,1,()=>{ne=null}),me()),W[34]===Be.WaitingRecord?V?oe[1]&8&&d(V,1):(V=ja(),V.c(),d(V,1),V.m(l.parentNode,l)):V&&(de(),g(V,1,1,()=>{V=null}),me()),W[7]&&W[21]?K?(K.p(W,oe),oe[0]&2097280&&d(K,1)):(K=Ga(W),K.c(),d(K,1),K.m(r.parentNode,r)):K&&(de(),g(K,1,1,()=>{K=null}),me()),W[41]&&W[17]&&W[18]?M?(M.p(W,oe),oe[0]&393216|oe[1]&1024&&d(M,1)):(M=Ya(W),M.c(),d(M,1),M.m(a.parentNode,a)):M&&(de(),g(M,1,1,()=>{M=null}),me()),W[49]?ee?oe[1]&262144&&d(ee,1):(ee=Qa(),ee.c(),d(ee,1),ee.m(c.parentNode,c)):ee&&(de(),g(ee,1,1,()=>{ee=null}),me()),W[50]?A?(A.p(W,oe),oe[1]&524288&&d(A,1)):(A=Xa(),A.c(),d(A,1),A.m(f.parentNode,f)):A&&(de(),g(A,1,1,()=>{A=null}),me()),W[35]?ie?(ie.p(W,oe),oe[1]&16&&d(ie,1)):(ie=Ja(W),ie.c(),d(ie,1),ie.m(p.parentNode,p)):ie&&(de(),g(ie,1,1,()=>{ie=null}),me()),W[52].value!=="off"?N?(N.p(W,oe),oe[1]&2097152&&d(N,1)):(N=xa(W),N.c(),d(N,1),N.m(h.parentNode,h)):N&&(de(),g(N,1,1,()=>{N=null}),me()),W[33]?G?(G.p(W,oe),oe[1]&4&&d(G,1)):(G=$a(W),G.c(),d(G,1),G.m(_.parentNode,_)):G&&(de(),g(G,1,1,()=>{G=null}),me()),W[21]?re?(re.p(W,oe),oe[0]&2097152&&d(re,1)):(re=e1(W),re.c(),d(re,1),re.m(b.parentNode,b)):re&&(de(),g(re,1,1,()=>{re=null}),me());const qe={};oe[1]&16777216&&(qe.isLive=W[55]),oe[1]&512&&(qe.isHidden=!W[40]),oe[1]&33554432&&(qe.isPlaying=W[56]),oe[1]&8192&&(qe.position=W[44]),oe[1]&4096&&(qe.duration=W[43]),w.$set(qe),W[38]?C?oe[1]&128&&d(C,1):(C=t1(),C.c(),d(C,1),C.m(P.parentNode,P)):C&&(de(),g(C,1,1,()=>{C=null}),me()),W[57]?le?oe[1]&67108864&&d(le,1):(le=i1(),le.c(),d(le,1),le.m(k.parentNode,k)):le&&(de(),g(le,1,1,()=>{le=null}),me())},i(W){y||(d(e.$$.fragment,W),d(I),d(ne),d(V),d(K),d(M),d(ee),d(A),d(ie),d(N),d(G),d(re),d(w.$$.fragment,W),d(C),d(le),y=!0)},o(W){g(e.$$.fragment,W),g(I),g(ne),g(V),g(K),g(M),g(ee),g(A),g(ie),g(N),g(G),g(re),g(w.$$.fragment,W),g(C),g(le),y=!1},d(W){W&&(S(i),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(_),S(b),S(v),S(P),S(k)),H(e,W),I&&I.d(W),ne&&ne.d(W),V&&V.d(W),K&&K.d(W),M&&M.d(W),ee&&ee.d(W),A&&A.d(W),ie&&ie.d(W),N&&N.d(W),G&&G.d(W),re&&re.d(W),H(w,W),C&&C.d(W),le&&le.d(W)}}}function wh(t){let e,i,n,o,s,l=t[46],r,a,c,f,p,h=n1(t);return{c(){e=E("div"),i=E("div"),n=E("div"),s=z(),h.c(),r=z(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`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]!==Be.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",j("aria_label_video_player")),u(e,"tabindex","-1")},m(_,b){T(_,e,b),m(e,i),m(i,n),t[126](n),m(e,s),h.m(e,null),m(e,r),m(e,a),t[130](a),t[131](e),c=!0,f||(p=[pe(_h,"blur",t[98]),pe(i,"click",Qt(t[99])),pe(e,"click",t[101],!0),pe(e,"focusin",t[102],!0)],f=!0)},p(_,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&B(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||b[1]&8)&&B(i,"hidden",_[34]!==Be.Video),b[1]&32768&&he(l,l=_[46])?(de(),g(h,1,1,Z),me(),h=n1(_),h.c(),d(h,1),h.m(e,r)):h.p(_,b)},i(_){c||(d(h),c=!0)},o(_){g(h),c=!1},d(_){_&&S(e),t[126](null),h.d(_),t[130](null),t[131](null),f=!1,$e(p)}}}function kh(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe,ke,qe,Ze,Ve,{store:ce}=e,{uiConfig:we}=e,{thumbUrl:Q}=e,{videoLogoUrl:X}=e,{videoContainer:Te}=e,{interactiveContainer:se}=e,{live:Se}=e,{autoplay:Ee}=e,{canRewindLive:Ie}=e,{showAds:ue}=e,{adsSlotId:_e=void 0}=e,{adsParams:$=void 0}=e,{adsPreviewParam:Y=void 0}=e,{duration:ze=void 0}=e,{logoClickable:it}=e,{logoHidden:Je}=e,{showNextPrevButtons:Ce=!1}=e,{nextButtonActive:Ye=!1}=e,{prevButtonActive:xe=!1}=e,{endScreenVideoTitle:ct=void 0}=e,{endScreenVideoThumb:gt=void 0}=e,{isOneVideoPlaylist:Ue=!1}=e,{supportLink:Me}=e,{outerContainerRef:mt=void 0}=e,{showMiniTimer:qt=!1}=e,{fullScreenTarget:Tt=void 0}=e,{playerStarted:ki=!1}=e,{playNextVideo:fe=Ge}=e,{playPrevVideo:pt=Ge}=e,{repeatPlaylist:rt=Ge}=e,{seekToInteractive:bt}=e,{toggleGraph:at}=e,{playPrevChapter:Ct}=e,{firstStart:Pt}=e,{seekTime:li}=e;const Ri=ce.getLogger().createComponentLog("Root component"),si=ce.interfaceLanguage$;D(t,si,J=>i(46,ie=J));const Ni=ce.state.playbackState$;D(t,Ni,J=>i(123,M=J));const Ki=ce.ads.playbackState;D(t,Ki,J=>i(124,ee=J));const yi=ce.state.positionWithScrubbing$;D(t,yi,J=>i(44,l=J));const zi=ce.state.duration$;D(t,zi,J=>i(43,s=J));const Di=ce.playerPhase;D(t,Di,J=>i(34,I=J));const Et=ce.ui.isFullscreen;D(t,Et,J=>i(137,a=J));const Xt=ce.ui.controlsVisible;D(t,Xt,J=>i(30,o=J));const ri=ce.ui.interactiveHideMobileControls;D(t,ri,J=>i(115,h=J));const Zt=ce.ui.settingsMenuVisible;D(t,Zt,J=>i(114,n=J));const ai=ce.ui.scrubbingInProgress;D(t,ai,J=>i(116,b=J));const Jt=ce.ui.debugPanelVisible;D(t,Jt,J=>i(57,Ve=J));const Ci=ce.state.isLoaderVisible;D(t,Ci,J=>i(125,A=J));const ui=ce.state.isEnded$;D(t,ui,J=>i(118,P=J));const _t=ce.state.chromecastConnected$;D(t,_t,J=>i(35,ne=J));const ci=ce.state.chromecastDeviceName$;D(t,ci,J=>i(51,le=J));const Pi=ce.ads.postrollPassed;D(t,Pi,J=>i(119,k=J));const Si=ce.ui.mobileUnmuteButtonExpanded,Wt=ce.ui.mobileUnmuteButtonVisible,fi=ce.state.isLive$;D(t,fi,J=>i(55,qe=J));const xt=ce.state.isPlaying$;D(t,xt,J=>i(56,Ze=J));const $t=ce.state.isActiveLive$;D(t,$t,J=>i(48,G=J));const Bt=ce.state.isRewindableLive$,At=ce.state.crashed$;D(t,At,J=>i(33,v=J));const Rt=ce.webApi.pictureInPictureApi,vt=ce.state.videoSize$;D(t,vt,J=>i(138,f=J));const Lt=ce.state.currentSubtitle$;D(t,Lt,J=>i(52,W=J));const Oi=ce.state.currentSubtitleCaptions$;D(t,Oi,J=>i(53,oe=J));const di=ce.state.duration$;D(t,di,J=>i(54,ke=J));const Ti=ce.state.graphIsOpened$;D(t,Ti,J=>i(122,K=J));const Nt=ce.ui.playerSize;D(t,Nt,J=>i(31,c=J));const mi=ce.ui.is3DVideo;D(t,mi,J=>i(49,re=J));const ei=ce.ui.icon3DVideoVisible;D(t,ei,J=>i(50,C=J));const Hi=ce.ui.rotateAlpha;D(t,Hi,J=>i(32,_=J));const ht=ce.state.isInteractive,ti=ce.state.isInteractiveTime$;D(t,ti,J=>i(117,w=J));const wt=ce.state.isInteractiveExpectation$;D(t,wt,J=>i(121,V=J));const ji=ce.state.hasInteractiveBranches,Kt=ce.ui.controls.disabledControls$;D(t,Kt,J=>i(47,N=J));const Fi=ce.ui.touched;D(t,Fi,J=>i(120,y=J));const Qi=ce.ui.clientInfo$;D(t,Qi,J=>i(136,r=J));const Ei=ce.ui.overlayContainer$,pi=ce.actions.internal.closeSettingsMenu;let zt,Ui,Gi,hi,gi,qi,Le;const bi=Ae(!1);D(t,bi,J=>i(45,p=J));let Yi,Ai=!1,_i,Li=!1,De,Ii=!0,vi,ii,Dt=!1,Vi;Rt?.setContext(m1());const an=J=>{clearTimeout(hi),J&&(Wt.set(!0),Si.set(!0),hi=window.setTimeout(()=>{Si.set(!1)},we.controls.collapseMobileUnmute),ht||Zi(we.controls.hideTimeoutMobile))};ce.setUiCallbacks({onStarted:an});const Xi=()=>{window.clearTimeout(Gi),i(109,Ai=!1),h&&ri.set(!1)},Zi=J=>{Xi(),i(109,Ai=!0),Gi=window.setTimeout(()=>i(109,Ai=!1),J);const ut=J-100;Yi=window.setTimeout(()=>{p&&bi.set(!1)},ut>0?ut:J)},$i=mi.subscribe(J=>{ei.set(J),J&&(window.clearTimeout(gi),gi=window.setTimeout(()=>ei.set(!1),we.controls.hide360IconTimeout))}),en=async()=>{const J=Mo();if(J){Zi(we.controls.hideTimeoutFullscreen);try{await Rt?.remove()}catch(ut){Ri({message:String(ut)})}try{const ut=f?.width&&f?.height?f:c;await Tf(ut)}catch(ut){Ri({message:String(ut)})}}Et.set(J),ce.getAdmanWrapper().setFullscreen(J),a?ce.callbacks?.onFullscreenEnter?.():ce.callbacks?.onFullscreenExit?.()},tn=J=>{const ut=J;Nt.set({width:ut.target.width,height:ut.target.height})};sn(()=>(H1(en),nl(Rt)&&(Rt?.assignPlayerContainer(zt),Rt?.registryExternalEventHandlers({resize:tn})),i(39,Ii=!dh(r)),se&&Te.parentElement?.insertBefore(se,Te.nextSibling),()=>{window.clearTimeout(Gi),window.clearTimeout(Yi),window.clearTimeout(hi),window.clearTimeout(gi),$i(),Rt?.dispose(),F1(en)}));const Wi=J=>{let ut=l+(J==="forward"?1:-1)*we.controls.seekStepMobile/1e3;ut<0?ut=0:ut>s&&(ut=s-1),i(111,Li=!0),li(ut)},Mi=async()=>{if(Mo())await O1(document),Ri({message:"exit fullscreen"});else{Ri({message:"request fullscreen"});const J=Ll()||!mt?zt:mt,ut=J.getRootNode(),kn=ut instanceof ShadowRoot?ut.host:ut,x=Tt instanceof HTMLElement&&Tt.contains(kn),yn=we.allowChangingFullscreenTarget&&Tt&&x?Tt:J;await D1(yn)}},Bi=()=>{pi()},te=()=>{if(n){Bi();return}if(!ki){Pt(),Zi(we.controls.hideTimeoutCursor);return}i(111,Li=!1),o?Xi():Zi(we.controls.hideTimeoutMobile)},et=()=>{if(n){Bi();return}},ni=()=>{Fi.set(!0)},Ji=()=>{ht||(bi.set(!0),Zi(we.controls.hideTimeoutCursor))};function kt(J){ve[J?"unshift":"push"](()=>{Te=J,i(0,Te)})}const un=()=>Wi("backward"),wn=()=>Wi("forward");function on(J){Ui=J,i(37,Ui)}function cn(J){ve[J?"unshift":"push"](()=>{Le=J,i(29,Le)})}function ln(J){ve[J?"unshift":"push"](()=>{zt=J,i(36,zt)})}return t.$$set=J=>{"store"in J&&i(103,ce=J.store),"uiConfig"in J&&i(1,we=J.uiConfig),"thumbUrl"in J&&i(2,Q=J.thumbUrl),"videoLogoUrl"in J&&i(3,X=J.videoLogoUrl),"videoContainer"in J&&i(0,Te=J.videoContainer),"interactiveContainer"in J&&i(104,se=J.interactiveContainer),"live"in J&&i(4,Se=J.live),"autoplay"in J&&i(5,Ee=J.autoplay),"canRewindLive"in J&&i(6,Ie=J.canRewindLive),"showAds"in J&&i(7,ue=J.showAds),"adsSlotId"in J&&i(8,_e=J.adsSlotId),"adsParams"in J&&i(9,$=J.adsParams),"adsPreviewParam"in J&&i(10,Y=J.adsPreviewParam),"duration"in J&&i(11,ze=J.duration),"logoClickable"in J&&i(12,it=J.logoClickable),"logoHidden"in J&&i(13,Je=J.logoHidden),"showNextPrevButtons"in J&&i(14,Ce=J.showNextPrevButtons),"nextButtonActive"in J&&i(15,Ye=J.nextButtonActive),"prevButtonActive"in J&&i(16,xe=J.prevButtonActive),"endScreenVideoTitle"in J&&i(17,ct=J.endScreenVideoTitle),"endScreenVideoThumb"in J&&i(18,gt=J.endScreenVideoThumb),"isOneVideoPlaylist"in J&&i(19,Ue=J.isOneVideoPlaylist),"supportLink"in J&&i(20,Me=J.supportLink),"outerContainerRef"in J&&i(105,mt=J.outerContainerRef),"showMiniTimer"in J&&i(106,qt=J.showMiniTimer),"fullScreenTarget"in J&&i(107,Tt=J.fullScreenTarget),"playerStarted"in J&&i(21,ki=J.playerStarted),"playNextVideo"in J&&i(22,fe=J.playNextVideo),"playPrevVideo"in J&&i(23,pt=J.playPrevVideo),"repeatPlaylist"in J&&i(24,rt=J.repeatPlaylist),"seekToInteractive"in J&&i(25,bt=J.seekToInteractive),"toggleGraph"in J&&i(26,at=J.toggleGraph),"playPrevChapter"in J&&i(27,Ct=J.playPrevChapter),"firstStart"in J&&i(28,Pt=J.firstStart),"seekTime"in J&&i(108,li=J.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&3&&i(38,qi=(I===Be.Video&&A||I===Be.Ads&&ee===Yt.INACTIVE)&&!v),t.$$.dirty[0]&536870912&&Ei.set(Le),t.$$.dirty[3]&1073741824&&i(110,_i=M!==Ft.PLAYING),t.$$.dirty[3]&843251712&&i(112,De=K||h||!Ai&&(P&&!!ji||_i&&V)),t.$$.dirty[1]&28|t.$$.dirty[3]&11468800&&Xt.set((_i||n||b||ne||Ai&&!Li)&&!De&&I===Be.Video&&!v),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&134225920&&i(40,vi=we.features.thumbTimer&&qt&&I===Be.Video&&!o&&!v&&!ht&&(we.hideThumbTimerAfterTouch&&!y||!we.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&100663296&&i(41,ii=(ue&&k||!ue)&&P&&!v),t.$$.dirty[0]&2|t.$$.dirty[3]&26214400&&(!b&&Dt&&!w&&Zi(we.controls.hideTimeoutMobile),i(113,Dt=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,Vi=Te&&_%180?c.height/c.width:1)},[Te,we,Q,X,Se,Ee,Ie,ue,_e,$,Y,ze,it,Je,Ce,Ye,xe,ct,gt,Ue,Me,ki,fe,pt,rt,bt,at,Ct,Pt,Le,o,c,_,v,I,ne,zt,Ui,qi,Ii,vi,ii,Vi,s,l,p,ie,N,G,re,C,le,W,oe,ke,qe,Ze,Ve,si,Ni,Ki,yi,zi,Di,Et,Xt,ri,Zt,ai,Jt,Ci,ui,_t,ci,Pi,fi,xt,$t,Bt,At,vt,Lt,Oi,di,Ti,Nt,mi,ei,Hi,ht,ti,wt,Kt,Fi,Qi,bi,Wi,Mi,Bi,te,et,ni,Ji,ce,se,mt,qt,Tt,li,Ai,_i,Li,De,Dt,n,h,b,w,P,k,y,V,K,M,ee,A,kt,un,wn,on,cn,ln]}class yh extends be{constructor(e){super(),ge(this,e,kh,wh,he,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},vh,[-1,-1,-1,-1,-1])}}function Ch(t){Oe(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 nh(t){let e,i;return{c(){e=E("div"),i=De(t[0]),u(e,"class","title v-1bcvcf2"),B(e,"hidden",t[1])},m(n,o){T(n,e,o),m(e,i)},p(n,[o]){o&1&&xe(i,n[0]),o&2&&B(e,"hidden",n[1])},i:Z,o:Z,d(n){n&&S(e)}}}function oh(t,e,i){let{title:n=""}=e,{isHidden:o=!1}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"isHidden"in s&&i(1,o=s.isHidden)},[n,o]}class lh extends be{constructor(e){super(),ge(this,e,oh,nh,he,{title:0,isHidden:1},ih)}}function sh(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 Va(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=De(t[0]),o=N(),s=E("span"),s.textContent=`${K("waiting_live_day_value")}`,l=N(),r=E("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&1&&xe(n,a[0])},d(a){a&&(S(e),S(l),S(r))}}}function Ma(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=De(t[1]),o=N(),s=E("span"),s.textContent=`${K("waiting_live_hour_value")}`,l=N(),r=E("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&2&&xe(n,a[1])},d(a){a&&(S(e),S(l),S(r))}}}function Ba(t){let e,i,n,o,s,l,r;return{c(){e=E("div"),i=E("span"),n=De(t[2]),o=N(),s=E("span"),s.textContent=`${K("waiting_live_minute_value")}`,l=N(),r=E("span"),r.textContent=`${K("waiting_live_colon")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(r,"class","timer__points v-1qpxtfg")},m(a,c){T(a,e,c),m(e,i),m(i,n),m(e,o),m(e,s),T(a,l,c),T(a,r,c)},p(a,c){c&4&&xe(n,a[2])},d(a){a&&(S(e),S(l),S(r))}}}function Ra(t){let e,i,n,o,s;return{c(){e=E("div"),i=E("span"),n=De(t[3]),o=N(),s=E("span"),s.textContent=`${K("waiting_live_second_value")}`,u(i,"class","cell__value v-1qpxtfg"),u(s,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,r){T(l,e,r),m(e,i),m(i,n),m(e,o),m(e,s)},p(l,r){r&8&&xe(n,l[3])},d(l){l&&S(e)}}}function rh(t){let e,i,n,o,s=t[0]&&Va(t),l=t[1]&&Ma(t),r=t[2]&&Ba(t),a=t[3]&&Ra(t);return{c(){e=E("div"),s&&s.c(),i=N(),l&&l.c(),n=N(),r&&r.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){T(c,e,f),s&&s.m(e,null),m(e,i),l&&l.m(e,null),m(e,n),r&&r.m(e,null),m(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?s?s.p(c,f):(s=Va(c),s.c(),s.m(e,i)):s&&(s.d(1),s=null),c[1]?l?l.p(c,f):(l=Ma(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?r?r.p(c,f):(r=Ba(c),r.c(),r.m(e,o)):r&&(r.d(1),r=null),c[3]?a?a.p(c,f):(a=Ra(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:Z,o:Z,d(c){c&&S(e),s&&s.d(),l&&l.d(),r&&r.d(),a&&a.d()}}}function ah(t,e,i){let{startTime:n}=e,{onTimerOver:o}=e,s,l,r,a,c;const f=_=>String(_).padStart(2,"0"),p=_=>{const b=Math.floor(_/86400);b&&(_-=b*86400,i(0,s=f(b)));const w=Math.floor(_/3600);i(1,l=f(w));const v=Math.floor(_/60)%60;i(2,r=f(v));const P=_%60;i(3,a=f(P))},h=()=>{const _=Math.floor(Date.now()/1e3),b=n-_;p(b),b>=1?c=requestAnimationFrame(h):o()};return rn(()=>{c=requestAnimationFrame(h)}),ol(()=>{cancelAnimationFrame(c)}),t.$$set=_=>{"startTime"in _&&i(4,n=_.startTime),"onTimerOver"in _&&i(5,o=_.onTimerOver)},[s,l,r,a,n,o]}class uh extends be{constructor(e){super(),ge(this,e,ah,rh,he,{startTime:4,onTimerOver:5},sh)}}function ch(t){let e,i,n,o,s;return{c(){e=R("svg"),i=R("path"),n=R("path"),o=R("path"),s=R("path"),u(i,"fill","#fefffe"),u(i,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Tt(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"),Tt(n,"opacity",".965"),u(o,"fill","#fefffe"),u(o,"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"),Tt(o,"opacity",".985"),u(s,"fill","#fefffe"),u(s,"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"),Tt(s,"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"),Tt(e,"shape-rendering","geometricPrecision"),Tt(e,"text-rendering","geometricPrecision"),Tt(e,"image-rendering","optimizeQuality"),Tt(e,"fill-rule","evenodd"),Tt(e,"clip-rule","evenodd"),Tt(e,"width","100%"),Tt(e,"height","100%")},m(l,r){T(l,e,r),m(e,i),m(e,n),m(e,o),m(e,s)},p:Z,i:Z,o:Z,d(l){l&&S(e)}}}class fh extends be{constructor(e){super(),ge(this,e,null,ch,he,{})}}function dh(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 mh(t){let e,i,n,o,s;return o=new uh({props:{startTime:t[1]||0,onTimerOver:t[3]}}),{c(){e=E("div"),i=E("span"),i.textContent=`${K("waiting_live_timer_title")}`,n=N(),U(o.$$.fragment),u(i,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,r){T(l,e,r),m(e,i),m(e,n),O(o,e,null),s=!0},p(l,r){const a={};r&2&&(a.startTime=l[1]||0),r&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){s||(d(o.$$.fragment,l),s=!0)},o(l){g(o.$$.fragment,l),s=!1},d(l){l&&S(e),H(o)}}}function ph(t){let e,i,n,o,s,l;return n=new fh({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("span"),s.textContent=`${K("waiting_live_upcoming_title")}`,u(i,"class","upcoming-icon v-15pewff"),u(s,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(r,a){T(r,e,a),m(e,i),O(n,i,null),m(e,o),m(e,s),l=!0},p:Z,i(r){l||(d(n.$$.fragment,r),l=!0)},o(r){g(n.$$.fragment,r),l=!1},d(r){r&&S(e),H(n)}}}function hh(t){let e,i,n,o,s;const l=[ph,mh],r=[];function a(c,f){return c[2]?0:1}return i=a(t),n=r[i]=l[i](t),{c(){e=E("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${t[2]?"":t[0]})`)},m(c,f){T(c,e,f),r[i].m(e,null),s=!0},p(c,[f]){let p=i;i=a(c),i===p?r[i].p(c,f):(ue(),g(r[p],1,1,()=>{r[p]=null}),ce(),n=r[i],n?n.p(c,f):(n=r[i]=l[i](c),n.c()),d(n,1),n.m(e,null)),(!s||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){s||(d(n),s=!0)},o(c){g(n),s=!1},d(c){c&&S(e),r[i].d()}}}function gh(t,e,i){let n,{thumbUrl:o}=e,{startTime:s}=e;const l=()=>i(2,n=!0);return t.$$set=r=>{"thumbUrl"in r&&i(0,o=r.thumbUrl),"startTime"in r&&i(1,s=r.startTime)},t.$$.update=()=>{t.$$.dirty&2&&i(2,n=s===void 0||s<Math.floor(Date.now()/1e3))},[o,s,n,l]}class qu extends be{constructor(e){super(),ge(this,e,gh,hh,he,{thumbUrl:0,startTime:1},dh)}}function bh(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 _h(t){let e,i;return{c(){e=E("div"),i=E("p"),i.textContent=`${K("waiting_record_title")}`,u(i,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){T(n,e,o),m(e,i)},p:Z,i:Z,o:Z,d(n){n&&S(e)}}}class Zu extends be{constructor(e){super(),ge(this,e,null,_h,he,{},bh)}}const{window:vh}=nl;function wh(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 Na(t){let e,i;return e=new qu({props:{thumbUrl:t[3],startTime:t[5]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[0]&32&&(s.startTime=n[5]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function za(t){let e,i;return e=new Zu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Da(t){let e,i,n;return i=new Y1({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"),B(e,"hidden",t[38]!==Ne.Ads)},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&512&&(l.adsSlotId=o[9]),s[0]&1024&&(l.adsParams=o[10]),s[0]&2048&&(l.adsPreviewParam=o[11]),s[0]&4096&&(l.duration=o[12]),i.$set(l),(!n||s[1]&128)&&B(e,"hidden",o[38]!==Ne.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function Oa(t){let e,i;return e=new O0({props:{title:t[18],thumb:t[19],playNextVideo:t[23]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&262144&&(s.title=n[18]),o[0]&524288&&(s.thumb=n[19]),o[0]&8388608&&(s.playNextVideo=n[23]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ha(t){let e,i;return e=new lh({props:{title:t[2],isHidden:!t[36]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.title=n[2]),o[1]&32&&(s.isHidden=!n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Fa(t){let e,i;return e=new Du({props:{isShifted:t[38]===Ne.Video&&t[36]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&160&&(s.isShifted=n[38]===Ne.Video&&n[36]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ua(t){let e,i,n;return i=new F1({props:{ariaLabel:K("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function qa(t){let e,i;return e=new Hu({props:{thumbUrl:t[3],chromecastDeviceName:t[55]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&8&&(s.thumbUrl=n[3]),o[1]&16777216&&(s.chromecastDeviceName=n[55]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Za(t){let e,i;return e=new Ou({props:{shifted:t[36],captions:t[57],position:t[58],playerSize:t[34]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[1]&32&&(s.shifted=n[36]),o[1]&67108864&&(s.captions=n[57]),o[1]&134217728&&(s.position=n[58]),o[1]&8&&(s.playerSize=n[34]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Wa(t){let e,i,n,o,s;return i=new Fu({}),{c(){e=E("div"),U(i.$$.fragment)},m(l,r){T(l,e,r),O(i,e,null),n=!0,o||(s=[me(e,"contextmenu",Qt(t[107])),me(e,"click",nt(t[118]))],o=!0)},p:Z,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i),o=!1,it(s)}}}function Ka(t){let e,i,n;function o(l){t[151](l)}let s={bottomHidden:t[38]===Ne.Thumb||t[38]===Ne.WaitingLive||t[38]===Ne.WaitingRecord,bottomNoSmooth:t[52],showControls:t[36],isAds:t[38]===Ne.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:Ch,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&&(s.controlsElementRef=t[41]),e=new Nu({props:s}),ve.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&128&&(a.bottomHidden=l[38]===Ne.Thumb||l[38]===Ne.WaitingLive||l[38]===Ne.WaitingRecord),r[1]&2097152&&(a.bottomNoSmooth=l[52]),r[1]&32&&(a.showControls=l[36]),r[1]&128&&(a.isAds=l[38]===Ne.Ads),r[0]&128|r[1]&268435456&&(a.canRewindLive=l[7]&&l[59]!==0),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&16&&(a.videoLogoUrl=l[4]),r[0]&32768&&(a.showNextPrevButtons=l[15]),r[0]&65536&&(a.nextButtonActive=l[16]),r[0]&131072&&(a.prevButtonActive=l[17]),r[0]&1048576&&(a.isOneVideoPlaylist=l[20]),r[0]&2097152&&(a.supportLink=l[21]),r[0]&8388608&&(a.playNextVideo=l[23]),r[0]&16777216&&(a.playPrevVideo=l[24]),r[0]&33554432&&(a.repeatPlaylist=l[25]),r[1]&524288&&(a.returnFocus=l[150]),r[0]&67108864&&(a.seekToInteractive=l[26]),r[0]&134217728&&(a.toggleGraph=l[27]),r[0]&268435456&&(a.playPrevChapter=l[28]),!i&&r[1]&1024&&(i=!0,a.controlsElementRef=l[41],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ja(t){let e,i;return e=new su({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ga(t){let e,i;return e=new sd({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Ya(t){let e,i;return e=new tu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Qa(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie;e=new Uu({props:{hidden:t[38]!==Ne.Thumb||t[37]||t[93]&&t[6],thumbUrl:t[3],startVideo:t[29]}});let L=t[38]===Ne.WaitingLive&&Na(t),V=t[38]===Ne.WaitingRecord&&za(),x=t[8]&&t[22]&&Da(t),Y=t[31]&&t[18]&&t[19]&&Oa(t),oe=t[46]&&Ha(t),j=t[51]&&Fa(t),C=t[54]&&Ua(),G=t[39]&&qa(t),D=t[56].value!=="off"&&Za(t),ee=t[37]&&Wa(t),Te=t[22]&&Ka(t);b=new X1({props:{isLive:t[60],isHidden:!t[45],isPlaying:t[61],position:t[58],duration:t[62]}}),v=new zp({props:{data:t[102]}});function Re(Q){t[153](Q)}let Be={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&&(Be.menuElementRef=t[32]),k=new b0({props:Be}),ve.push(()=>qe(k,"menuElementRef",Re));let ze=t[44]&&ja(),_e=t[63]&&Ga(),we=t[64]&&Ya();return{c(){U(e.$$.fragment),i=N(),L&&L.c(),n=N(),V&&V.c(),o=N(),x&&x.c(),s=N(),Y&&Y.c(),l=N(),oe&&oe.c(),r=N(),j&&j.c(),a=N(),C&&C.c(),c=N(),G&&G.c(),f=N(),D&&D.c(),p=N(),ee&&ee.c(),h=N(),Te&&Te.c(),_=N(),U(b.$$.fragment),w=N(),U(v.$$.fragment),P=N(),U(k.$$.fragment),I=N(),ze&&ze.c(),ne=N(),_e&&_e.c(),M=N(),we&&we.c(),W=ut()},m(Q,$){O(e,Q,$),T(Q,i,$),L&&L.m(Q,$),T(Q,n,$),V&&V.m(Q,$),T(Q,o,$),x&&x.m(Q,$),T(Q,s,$),Y&&Y.m(Q,$),T(Q,l,$),oe&&oe.m(Q,$),T(Q,r,$),j&&j.m(Q,$),T(Q,a,$),C&&C.m(Q,$),T(Q,c,$),G&&G.m(Q,$),T(Q,f,$),D&&D.m(Q,$),T(Q,p,$),ee&&ee.m(Q,$),T(Q,h,$),Te&&Te.m(Q,$),T(Q,_,$),O(b,Q,$),T(Q,w,$),O(v,Q,$),T(Q,P,$),O(k,Q,$),T(Q,I,$),ze&&ze.m(Q,$),T(Q,ne,$),_e&&_e.m(Q,$),T(Q,M,$),we&&we.m(Q,$),T(Q,W,$),ie=!0},p(Q,$){const ke={};$[0]&64|$[1]&192&&(ke.hidden=Q[38]!==Ne.Thumb||Q[37]||Q[93]&&Q[6]),$[0]&8&&(ke.thumbUrl=Q[3]),$[0]&536870912&&(ke.startVideo=Q[29]),e.$set(ke),Q[38]===Ne.WaitingLive?L?(L.p(Q,$),$[1]&128&&d(L,1)):(L=Na(Q),L.c(),d(L,1),L.m(n.parentNode,n)):L&&(ue(),g(L,1,1,()=>{L=null}),ce()),Q[38]===Ne.WaitingRecord?V?$[1]&128&&d(V,1):(V=za(),V.c(),d(V,1),V.m(o.parentNode,o)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),Q[8]&&Q[22]?x?(x.p(Q,$),$[0]&4194560&&d(x,1)):(x=Da(Q),x.c(),d(x,1),x.m(s.parentNode,s)):x&&(ue(),g(x,1,1,()=>{x=null}),ce()),Q[31]&&Q[18]&&Q[19]?Y?(Y.p(Q,$),$[0]&786432|$[1]&1&&d(Y,1)):(Y=Oa(Q),Y.c(),d(Y,1),Y.m(l.parentNode,l)):Y&&(ue(),g(Y,1,1,()=>{Y=null}),ce()),Q[46]?oe?(oe.p(Q,$),$[1]&32768&&d(oe,1)):(oe=Ha(Q),oe.c(),d(oe,1),oe.m(r.parentNode,r)):oe&&(ue(),g(oe,1,1,()=>{oe=null}),ce()),Q[51]?j?(j.p(Q,$),$[1]&1048576&&d(j,1)):(j=Fa(Q),j.c(),d(j,1),j.m(a.parentNode,a)):j&&(ue(),g(j,1,1,()=>{j=null}),ce()),Q[54]?C?(C.p(Q,$),$[1]&8388608&&d(C,1)):(C=Ua(),C.c(),d(C,1),C.m(c.parentNode,c)):C&&(ue(),g(C,1,1,()=>{C=null}),ce()),Q[39]?G?(G.p(Q,$),$[1]&256&&d(G,1)):(G=qa(Q),G.c(),d(G,1),G.m(f.parentNode,f)):G&&(ue(),g(G,1,1,()=>{G=null}),ce()),Q[56].value!=="off"?D?(D.p(Q,$),$[1]&33554432&&d(D,1)):(D=Za(Q),D.c(),d(D,1),D.m(p.parentNode,p)):D&&(ue(),g(D,1,1,()=>{D=null}),ce()),Q[37]?ee?(ee.p(Q,$),$[1]&64&&d(ee,1)):(ee=Wa(Q),ee.c(),d(ee,1),ee.m(h.parentNode,h)):ee&&(ue(),g(ee,1,1,()=>{ee=null}),ce()),Q[22]?Te?(Te.p(Q,$),$[0]&4194304&&d(Te,1)):(Te=Ka(Q),Te.c(),d(Te,1),Te.m(_.parentNode,_)):Te&&(ue(),g(Te,1,1,()=>{Te=null}),ce());const se={};$[1]&536870912&&(se.isLive=Q[60]),$[1]&16384&&(se.isHidden=!Q[45]),$[1]&1073741824&&(se.isPlaying=Q[61]),$[1]&134217728&&(se.position=Q[58]),$[2]&1&&(se.duration=Q[62]),b.$set(se);const We={};$[0]&2097152&&(We.supportLink=Q[21]),$[1]&524288&&(We.returnFocus=Q[152]),$[1]&4&&(We.visible=Q[33]),$[1]&512&&(We.playerContainerRef=Q[40]),$[1]&1024&&(We.controlsContainerRef=Q[41]),$[1]&2048&&(We.x=Q[42]),$[1]&4096&&(We.y=Q[43]),!y&&$[1]&2&&(y=!0,We.menuElementRef=Q[32],Ue(()=>y=!1)),k.$set(We),Q[44]?ze?$[1]&8192&&d(ze,1):(ze=ja(),ze.c(),d(ze,1),ze.m(ne.parentNode,ne)):ze&&(ue(),g(ze,1,1,()=>{ze=null}),ce()),Q[63]?_e?$[2]&2&&d(_e,1):(_e=Ga(),_e.c(),d(_e,1),_e.m(M.parentNode,M)):_e&&(ue(),g(_e,1,1,()=>{_e=null}),ce()),Q[64]?we?$[2]&4&&d(we,1):(we=Ya(),we.c(),d(we,1),we.m(W.parentNode,W)):we&&(ue(),g(we,1,1,()=>{we=null}),ce())},i(Q){ie||(d(e.$$.fragment,Q),d(L),d(V),d(x),d(Y),d(oe),d(j),d(C),d(G),d(D),d(ee),d(Te),d(b.$$.fragment,Q),d(v.$$.fragment,Q),d(k.$$.fragment,Q),d(ze),d(_e),d(we),ie=!0)},o(Q){g(e.$$.fragment,Q),g(L),g(V),g(x),g(Y),g(oe),g(j),g(C),g(G),g(D),g(ee),g(Te),g(b.$$.fragment,Q),g(v.$$.fragment,Q),g(k.$$.fragment,Q),g(ze),g(_e),g(we),ie=!1},d(Q){Q&&(S(i),S(n),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(_),S(w),S(P),S(I),S(ne),S(M),S(W)),H(e,Q),L&&L.d(Q),V&&V.d(Q),x&&x.d(Q),Y&&Y.d(Q),oe&&oe.d(Q),j&&j.d(Q),C&&C.d(Q),G&&G.d(Q),D&&D.d(Q),ee&&ee.d(Q),Te&&Te.d(Q),H(b,Q),H(v,Q),H(k,Q),ze&&ze.d(Q),_e&&_e.d(Q),we&&we.d(Q)}}}function kh(t){let e,i,n,o,s=t[53],l,r,a,c,f=Qa(t);return{c(){e=E("div"),i=E("div"),o=N(),f.c(),l=ut(),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]!==Ne.Video),B(e,"nocursor",t[47])},m(p,h){T(p,e,h),m(e,i),t[149](i),T(p,o,h),f.m(p,h),T(p,l,h),r=!0,a||(c=[me(e,"contextmenu",Qt(t[107])),me(e,"mousedown",Qt(t[112])),me(e,"mouseup",Qt(t[113])),me(e,"click",Qt(t[115])),me(e,"dblclick",Qt(t[114]))],a=!0)},p(p,h){(!r||h[1]&131088&&n!==(n=`transform: rotate(${p[35]}deg) scale(${p[48]})`))&&u(i,"style",n),(!r||h[0]&2)&&B(i,"fast-rotate",!p[1].isSmoothVideoRotate),(!r||h[1]&128)&&B(e,"hidden",p[38]!==Ne.Video),(!r||h[1]&65536)&&B(e,"nocursor",p[47]),h[1]&4194304&&he(s,s=p[53])?(ue(),g(f,1,1,Z),ce(),f=Qa(p),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(p,h)},i(p){r||(d(f),r=!0)},o(p){g(f),r=!1},d(p){p&&(S(e),S(o),S(l)),t[149](null),f.d(p),a=!1,it(c)}}}function yh(t){let e,i,n,o,s,l,r,a={toggleFullscreen:t[105],hideContextMenu:t[106],showHotKeyHelpers:t[116],showKeyMap:t[117],isAds:t[38]===Ne.Ads,fakePlayButtonHandler:t[49]?t[104]:void 0,$$slots:{default:[kh]},$$scope:{ctx:t}};return i=new q0({props:a}),t[154](i),{c(){e=E("div"),U(i.$$.fragment),n=N(),o=E("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){T(c,e,f),O(i,e,null),m(e,n),m(e,o),t[155](o),t[156](e),s=!0,l||(r=[me(vh,"blur",t[106]),me(e,"mouseenter",t[108]),me(e,"mouseleave",t[110]),me(e,"mousemove",t[111]),me(e,"click",t[119],!0),me(e,"focusin",t[109],!0)],l=!0)},p(c,f){const p={};f[1]&128&&(p.isAds=c[38]===Ne.Ads),f[1]&262144&&(p.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(p.$$scope={dirty:f,ctx:c}),i.$set(p)},i(c){s||(d(i.$$.fragment,c),s=!0)},o(c){g(i.$$.fragment,c),s=!1},d(c){c&&S(e),t[154](null),H(i),t[155](null),t[156](null),l=!1,it(r)}}}let Ch=!0;function Wu(t){return t?t.offsetTop+Wu(t.offsetParent):0}function Ph(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te,Re,Be,ze,_e,we,Q,{store:$}=e,{uiConfig:ke}=e,{title:se}=e,{thumbUrl:We}=e,{videoLogoUrl:Ae}=e,{videoContainer:Ie}=e,{interactiveContainer:ae}=e,{live:Ce}=e,{autoplay:pe}=e,{canRewindLive:le}=e,{showAds:Me}=e,{adsSlotId:de=void 0}=e,{adsParams:ye=void 0}=e,{adsPreviewParam:Pe=void 0}=e,{duration:je=void 0}=e,{logoClickable:tt}=e,{logoHidden:Je}=e,{showNextPrevButtons:Ye=!1}=e,{nextButtonActive:et=!1}=e,{prevButtonActive:Et=!1}=e,{endScreenVideoTitle:pt=void 0}=e,{endScreenVideoThumb:Oe=void 0}=e,{isOneVideoPlaylist:yt=!1}=e,{supportLink:Xt}=e,{outerContainerRef:fe=void 0}=e,{playerStarted:gt=!1}=e,{fullScreenTarget:rt=void 0}=e,{showMiniTimer:Jt=!1}=e,{playNextVideo:at=Qe}=e,{playPrevVideo:_t=Qe}=e,{repeatPlaylist:ui=Qe}=e,{seekToInteractive:Ot}=e,{toggleGraph:ci}=e,{playPrevChapter:Zi}=e,{firstStart:fi}=e;const yi=$.getLogger().createComponentLog("Root component"),Ji=$.interfaceLanguage$;z(t,Ji,q=>i(53,j=q));const di=$.state.playbackState$;z(t,di,q=>i(146,x=q));const mi=$.ads.playbackState;z(t,mi,q=>i(147,Y=q));const Ci=$.state.positionWithScrubbing$;z(t,Ci,q=>i(58,Te=q));const It=$.state.duration$;z(t,It,q=>i(62,_e=q));const xt=$.playerPhase;z(t,xt,q=>i(38,M=q));const Pi=$.ui.isFullscreen;z(t,Pi,q=>i(136,p=q));const $t=$.ui.controlsVisible;z(t,$t,q=>i(36,P=q));const Si=$.ui.settingsMenuVisible;z(t,Si,q=>i(134,l=q));const pi=$.ui.scrubbingInProgress;z(t,pi,q=>i(138,w=q));const Ht=$.ui.contextMenuVisible;z(t,Ht,q=>i(33,n=q));const zi=$.ui.debugPanelVisible;z(t,zi,q=>i(64,Q=q));const Pt=$.state.isLoaderVisible;z(t,Pt,q=>i(148,oe=q));const Ft=$.state.isEnded$;z(t,Ft,q=>i(135,a=q));const Ti=$.state.chromecastConnected$;z(t,Ti,q=>i(39,L=q));const Di=$.state.chromecastDeviceName$;z(t,Di,q=>i(55,G=q));const St=$.ads.postrollPassed;z(t,St,q=>i(141,I=q));const ei=$.state.isLive$;z(t,ei,q=>i(60,Be=q));const ti=$.state.isPlaying$;z(t,ti,q=>i(61,ze=q));const hi=$.state.crashed$;z(t,hi,q=>i(37,y=q));const vt=$.webApi.pictureInPictureApi,At=$.state.currentSubtitle$;z(t,At,q=>i(56,D=q));const gi=$.state.currentSubtitleCaptions$;z(t,gi,q=>i(57,ee=q));const bt=$.state.duration$;z(t,bt,q=>i(59,Re=q));const Ei=$.state.graphIsOpened$;z(t,Ei,q=>i(142,ne=q));const Ii=$.ui.playerSize;z(t,Ii,q=>i(34,f=q));const Ct=$.ui.is3DVideo;z(t,Ct,q=>i(51,c=q));const Ut=$.ui.icon3DVideoVisible;z(t,Ut,q=>i(54,C=q));const Wi=$.ui.rotateAlpha;z(t,Wi,q=>i(35,b=q));const qt=$.state.isInteractive,xi=$.state.isInteractiveTime$;z(t,xi,q=>i(139,v=q));const ii=$.state.isInteractiveExpectation$;z(t,ii,q=>i(145,V=q));const Bt=$.state.hasInteractiveBranches,Rt=$.ui.touched;z(t,Rt,q=>i(143,W=q));const bi=$.ui.modals.hotKeyMap.data;z(t,bi,q=>i(163,r=q));const Lt=$.ui.modals.hotKeyMap.show;z(t,Lt,q=>i(63,we=q));const Ki=$.ui.overlayContainer$,ji=$.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Ai}=ll();z(t,Ai,q=>i(137,_=q));let _i,ht,Oi=0,Hi=0,Li,Vi,Mi;bi.set(Df());let Fi,ni;const vi=Ve(!1);z(t,vi,q=>i(52,h=q));let oi;const Zt=Ve(!1);z(t,Zt,q=>i(144,ie=q));const Le=Ve(),Ui=Ve(!1);z(t,Ui,q=>i(140,k=q));let wi=!1,He=!1,Gi,Wt,nn,li,$i,Kt,Bi=!1,on,en=!1;const{toggle:Yi}=Ai;let qi=!1,Nt=null,te;vt?.setContext(w1());const ot=()=>{pe&&!qt&&wt(ke.controls.hideTimeout)};$.setUiCallbacks({onStarted:ot});const si=()=>{window.clearTimeout(Li),Zt.set(!1)},Qi=()=>{window.clearTimeout(Vi),Le.set(null)},wt=q=>{si(),Zt.set(!0),Li=window.setTimeout(()=>Zt.set(!1),q);const ri=q-100;oi=window.setTimeout(()=>{h&&vi.set(!1)},ri>0?ri:q)},tn=(q,ri)=>{Qi(),Le.set(ri),Vi=window.setTimeout(()=>Le.set(null),q)},wn=Ct.subscribe(q=>{Ut.set(q),q&&(window.clearTimeout(Mi),Mi=window.setTimeout(()=>Ut.set(!1),ke.controls.hide360IconTimeout))}),fn=async()=>{const q=Ao();if(q){wt(ke.controls.hideTimeoutFullscreen);try{await vt?.remove()}catch(ri){yi({message:String(ri)})}}Pi.set(q),$.getAdmanWrapper().setFullscreen(q),p?$.callbacks?.onFullscreenEnter?.():$.callbacks?.onFullscreenExit?.()},dn=q=>{const ri=q;Ii.set({width:ri.target.width,height:ri.target.height})};rn(()=>(j1(fn),tl(vt)&&(vt?.assignPlayerContainer(_i),vt?.registryExternalEventHandlers({resize:dn})),ae&&Ie.parentElement?.insertBefore(ae,Ie.nextSibling),()=>{window.clearTimeout(Li),window.clearTimeout(oi),window.clearTimeout(Vi),window.clearTimeout(Mi),wn(),vt?.dispose(),G1(fn)}));const ln=async()=>{if(Ao())await K1(document),yi({message:"exit fullscreen"});else{yi({message:"request fullscreen"});const q=fe??_i,ri=q.getRootNode(),Zn=ri instanceof ShadowRoot?ri.host:ri,lt=rt instanceof HTMLElement&&rt.contains(Zn),A=ke.allowChangingFullscreenTarget&&rt&&lt?rt:q;await W1(A)}},X=()=>{ji(),Ht.set(!1)},ft=q=>{Ht.set(!0),i(42,Oi=q.clientX),i(43,Hi=q.clientY)};function kn(){Ui.set(!0),qt||wt(ke.controls.hideTimeoutCursor)}function yn(){qt||(vi.set(!0),wt(ke.controls.hideTimeoutCursor))}function Cn(){Ui.set(!1),i(128,He=!1),i(127,wi=!1),qi=!1,$.actions.internal.releaseCamera()}function On(q){if(_i){const ri=Wu(q.currentTarget),Zn=f.height,lt=q.pageY-ri;lt<us?i(128,He=!0):lt>Zn-us?i(127,wi=!0):(i(128,He=!1),l||i(127,wi=!1))}}function Hn(q){On(q),Wt||wt(ke.controls.hideTimeoutCursor),c&&qi&&Nt&&$.actions.internal.moveCameraFocusPX(Nt.clientX-q.clientX,Nt.clientY-q.clientY,q.timeStamp-Nt.timeStamp),Nt=q}const Fn=q=>{q.button===0&&(qi=!0,$.actions.internal.holdCamera()),wt(ke.controls.hideTimeoutCursor)},Un=q=>{q.button===0&&(Nt=q,qi=!1,$.actions.internal.releaseCamera()),wt(ke.controls.hideTimeoutCursor)},J=()=>{yi({message:"double click on video"}),ln(),wt(ke.controls.hideTimeoutCursor)},qn=()=>{if(n||l){X();return}if(!(a&&!Bt)){if(en)return Yi();if(te?.focus(),!gt){fi(),wt(ke.controls.hideTimeoutCursor);return}$.actions.internal.togglePlay(),wt(ke.controls.hideTimeoutCursor)}},$n=q=>{X(),Rt.set(!0),wt(ke.controls.hideTimeout),q&&tn(ke.controls.hideHotKeyHelpers,q)},eo=()=>{X(),$.callbacks?.onOpenHotKeyMap?$.callbacks?.onOpenHotKeyMap(r):Lt.update(q=>!q)},Gn=()=>{if(n||l){X();return}},to=()=>{Rt.set(!0)},En=$.ui.contextMenu.openedByKeyboard$;z(t,En,q=>i(133,s=q));let In=$.ui.contextMenu.btnRef$;z(t,In,q=>i(132,o=q));let An;function vo(q){ve[q?"unshift":"push"](()=>{Ie=q,i(0,Ie)})}const sn=()=>te?.focus();function io(q){ht=q,i(41,ht)}const no=()=>te?.focus();function wo(q){An=q,i(32,An)}function ko(q){ve[q?"unshift":"push"](()=>{te=q,i(50,te)})}function Yn(q){ve[q?"unshift":"push"](()=>{ni=q,i(30,ni)})}function oo(q){ve[q?"unshift":"push"](()=>{_i=q,i(40,_i)})}return t.$$set=q=>{"store"in q&&i(122,$=q.store),"uiConfig"in q&&i(1,ke=q.uiConfig),"title"in q&&i(2,se=q.title),"thumbUrl"in q&&i(3,We=q.thumbUrl),"videoLogoUrl"in q&&i(4,Ae=q.videoLogoUrl),"videoContainer"in q&&i(0,Ie=q.videoContainer),"interactiveContainer"in q&&i(123,ae=q.interactiveContainer),"live"in q&&i(5,Ce=q.live),"autoplay"in q&&i(6,pe=q.autoplay),"canRewindLive"in q&&i(7,le=q.canRewindLive),"showAds"in q&&i(8,Me=q.showAds),"adsSlotId"in q&&i(9,de=q.adsSlotId),"adsParams"in q&&i(10,ye=q.adsParams),"adsPreviewParam"in q&&i(11,Pe=q.adsPreviewParam),"duration"in q&&i(12,je=q.duration),"logoClickable"in q&&i(13,tt=q.logoClickable),"logoHidden"in q&&i(14,Je=q.logoHidden),"showNextPrevButtons"in q&&i(15,Ye=q.showNextPrevButtons),"nextButtonActive"in q&&i(16,et=q.nextButtonActive),"prevButtonActive"in q&&i(17,Et=q.prevButtonActive),"endScreenVideoTitle"in q&&i(18,pt=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&i(19,Oe=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&i(20,yt=q.isOneVideoPlaylist),"supportLink"in q&&i(21,Xt=q.supportLink),"outerContainerRef"in q&&i(124,fe=q.outerContainerRef),"playerStarted"in q&&i(22,gt=q.playerStarted),"fullScreenTarget"in q&&i(125,rt=q.fullScreenTarget),"showMiniTimer"in q&&i(126,Jt=q.showMiniTimer),"playNextVideo"in q&&i(23,at=q.playNextVideo),"playPrevVideo"in q&&i(24,_t=q.playPrevVideo),"repeatPlaylist"in q&&i(25,ui=q.repeatPlaylist),"seekToInteractive"in q&&i(26,Ot=q.seekToInteractive),"toggleGraph"in q&&i(27,ci=q.toggleGraph),"playPrevChapter"in q&&i(28,Zi=q.playPrevChapter),"firstStart"in q&&i(29,fi=q.firstStart)},t.$$.update=()=>{if(t.$$.dirty[1]&192|t.$$.dirty[4]&25165824&&i(44,Fi=(M===Ne.Video&&oe||M===Ne.Ads&&Y===Yt.INACTIVE)&&!y),t.$$.dirty[0]&1073741824&&Ki.set(ni),t.$$.dirty[4]&4194304&&i(129,Gi=x!==zt.PLAYING),t.$$.dirty[4]&2131e3&&i(130,Wt=v&&!l&&!(wi||He)&&!(Gi&&!V)),t.$$.dirty[1]&448|t.$$.dirty[4]&1066080&&$t.set((Gi||l||w||L||ie)&&!Wt&&M===Ne.Video&&!y),t.$$.dirty[0]&2|t.$$.dirty[1]&224|t.$$.dirty[4]&524292&&i(45,nn=ke.features.thumbTimer&&Jt&&M===Ne.Video&&!P&&!y&&!qt&&(ke.hideThumbTimerAfterTouch&&!W||!ke.hideThumbTimerAfterTouch)),t.$$.dirty[1]&128|t.$$.dirty[4]&266240&&i(46,li=M===Ne.Video&&!ne&&p),t.$$.dirty[0]&256|t.$$.dirty[1]&64|t.$$.dirty[4]&133120&&i(31,$i=(Me&&I||!Me)&&a&&!y),t.$$.dirty[1]&33|t.$$.dirty[4]&98304&&i(47,Kt=k&&!(P||$i)&&!v),t.$$.dirty[0]&2|t.$$.dirty[4]&49280&&(!w&&Bi&&!v&&wt(ke.controls.hideTimeoutCursor),i(131,Bi=w)),t.$$.dirty[0]&1|t.$$.dirty[1]&24&&i(48,on=Ie&&b%180?f.height/f.width:1),t.$$.dirty[4]&8192&&i(49,en=_!==null),t.$$.dirty[1]&6|t.$$.dirty[4]&512&&ql(An,n,s),t.$$.dirty[1]&4|t.$$.dirty[4]&256){const q=o;q&&Ul(q,n,En)}},[Ie,ke,se,We,Ae,Ce,pe,le,Me,de,ye,Pe,je,tt,Je,Ye,et,Et,pt,Oe,yt,Xt,gt,at,_t,ui,Ot,ci,Zi,fi,ni,$i,An,n,f,b,P,y,M,L,_i,ht,Oi,Hi,Fi,nn,li,Kt,on,en,te,c,h,j,C,G,D,ee,Te,Re,Be,ze,_e,we,Q,Ji,di,mi,Ci,It,xt,Pi,$t,Si,pi,Ht,zi,Pt,Ft,Ti,Di,St,ei,ti,hi,At,gi,bt,Ei,Ii,Ct,Ut,Wi,qt,xi,ii,Rt,bi,Lt,Ai,vi,Zt,Le,Ui,Yi,ln,X,ft,kn,yn,Cn,Hn,Fn,Un,J,qn,$n,eo,Gn,to,En,In,$,ae,fe,rt,Jt,wi,He,Gi,Wt,Bi,o,s,l,a,p,_,w,v,k,I,ne,W,ie,V,x,Y,oe,vo,sn,io,no,wo,ko,Yn,oo]}class Sh extends be{constructor(e){super(),ge(this,e,Ph,yh,he,{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},wh,[-1,-1,-1,-1,-1,-1])}}const Th=t=>{if(!Bl(!0))return!1;const e=t.device===Rc.iPad||window?.screen.width>700,i=Nc();return!e||e&&!!i&&i<16};function Eh(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 Xa(t){let e,i,n,o,s,l,r,a,c,f,p,h,_,b,w,v=K("doubletap_seek_step",{seconds:t[1].toFixed(0)})+"",P;return{c(){e=E("div"),n=N(),o=E("div"),s=E("div"),l=E("div"),a=N(),c=E("div"),p=N(),h=E("div"),b=N(),w=E("p"),P=De(v),u(e,"class",i="semicircle "+t[0]+" v-nhq2ld"),u(l,"class",r="triangle "+t[0]+" v-nhq2ld"),u(c,"class",f="triangle "+t[0]+" v-nhq2ld"),u(h,"class",_="triangle "+t[0]+" v-nhq2ld"),u(s,"class","triangles-wrapper v-nhq2ld"),u(w,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,y){T(k,e,y),T(k,n,y),T(k,o,y),m(o,s),m(s,l),m(s,a),m(s,c),m(s,p),m(s,h),m(o,b),m(o,w),m(w,P)},p(k,y){y&1&&i!==(i="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",i),y&1&&r!==(r="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",r),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&&v!==(v=K("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&xe(P,v)},d(k){k&&(S(e),S(n),S(o))}}}function Ih(t){let e,i,n,o,s=t[2]&&Xa(t);return{c(){e=E("div"),s&&s.c(),u(e,"class",i="double-click-area "+t[0]+" v-nhq2ld")},m(l,r){T(l,e,r),s&&s.m(e,null),n||(o=me(e,"click",nt(t[3]())),n=!0)},p(l,[r]){l[2]?s?s.p(l,r):(s=Xa(l),s.c(),s.m(e,null)):s&&(s.d(1),s=null),r&1&&i!==(i="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",i)},i:Z,o:Z,d(l){l&&S(e),s&&s.d(),n=!1,o()}}}function Ah(t,e,i){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:s}=e,{handleSecondClick:l}=e,r=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{s(),h=0},300):(window.clearTimeout(a),h=0,l(),i(2,r=!0),c=window.setTimeout(()=>{i(2,r=!1)},500))}};return ol(()=>{window.clearTimeout(a),window.clearTimeout(c)}),t.$$set=p=>{"side"in p&&i(0,n=p.side),"seekStep"in p&&i(1,o=p.seekStep),"handleSingleFirstClick"in p&&i(4,s=p.handleSingleFirstClick),"handleSecondClick"in p&&i(5,l=p.handleSecondClick)},[n,o,r,f,s,l]}class Ku extends be{constructor(e){super(),ge(this,e,Ah,Ih,he,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Eh)}}function Lh(t,e,i){let{playNextVideo:n}=e;return rn(()=>{n()}),t.$$set=o=>{"playNextVideo"in o&&i(0,n=o.playNextVideo)},[n]}class Vh extends be{constructor(e){super(),ge(this,e,Lh,null,he,{playNextVideo:0})}}const{window:Mh}=nl;function Bh(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 Ja(t){let e,i,n,o;e=new Ku({props:{side:"left",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[127]}});let s=!t[48]&&xa(t);return{c(){U(e.$$.fragment),i=N(),s&&s.c(),n=ut()},m(l,r){O(e,l,r),T(l,i,r),s&&s.m(l,r),T(l,n,r),o=!0},p(l,r){const a={};r[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?s&&(ue(),g(s,1,1,()=>{s=null}),ce()):s?(s.p(l,r),r[1]&131072&&d(s,1)):(s=xa(l),s.c(),d(s,1),s.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(s),o=!0)},o(l){g(e.$$.fragment,l),g(s),o=!1},d(l){l&&(S(i),S(n)),H(e,l),s&&s.d(l)}}}function xa(t){let e,i;return e=new Ku({props:{side:"right",seekStep:t[1].controls.seekStepMobile/1e3,handleSingleFirstClick:t[99],handleSecondClick:t[128]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&2&&(s.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function $a(t){let e,i;return e=new qu({props:{thumbUrl:t[2],startTime:t[4]?.startTime}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[0]&16&&(s.startTime=n[4]?.startTime),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function e1(t){let e,i;return e=new Zu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function t1(t){let e,i,n;return i=new Y1({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"),B(e,"hidden",t[34]!==Ne.Ads)},m(o,s){T(o,e,s),O(i,e,null),n=!0},p(o,s){const l={};s[0]&256&&(l.adsSlotId=o[8]),s[0]&512&&(l.adsParams=o[9]),s[0]&1024&&(l.adsPreviewParam=o[10]),s[0]&2048&&(l.duration=o[11]),i.$set(l),(!n||s[1]&8)&&B(e,"hidden",o[34]!==Ne.Ads)},i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function i1(t){let e,i;return e=new Vh({props:{playNextVideo:t[22]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4194304&&(s.playNextVideo=n[22]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function n1(t){let e,i;return e=new Du({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function o1(t){let e,i,n;return i=new F1({props:{ariaLabel:K("video360")}}),{c(){e=E("div"),U(i.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,s){T(o,e,s),O(i,e,null),n=!0},p:Z,i(o){n||(d(i.$$.fragment,o),n=!0)},o(o){g(i.$$.fragment,o),n=!1},d(o){o&&S(e),H(i)}}}function l1(t){let e,i;return e=new Hu({props:{thumbUrl:t[2],chromecastDeviceName:t[51]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&4&&(s.thumbUrl=n[2]),o[1]&1048576&&(s.chromecastDeviceName=n[51]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function s1(t){let e,i;return e=new Ou({props:{shifted:t[30],captions:t[53],position:t[44],playerSize:t[31],isMobile:!0}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o[0]&1073741824&&(s.shifted=n[30]),o[1]&4194304&&(s.captions=n[53]),o[1]&8192&&(s.position=n[44]),o[1]&1&&(s.playerSize=n[31]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function r1(t){let e,i,n,o,s;return i=new Fu({}),{c(){e=E("div"),U(i.$$.fragment)},m(l,r){T(l,e,r),O(i,e,null),n=!0,o||(s=me(e,"click",nt(t[100])),o=!0)},p:Z,i(l){n||(d(i.$$.fragment,l),n=!0)},o(l){g(i.$$.fragment,l),n=!1},d(l){l&&S(e),H(i),o=!1,s()}}}function a1(t){let e,i,n;function o(l){t[129](l)}let s={bottomHidden:t[34]===Ne.Thumb||t[34]===Ne.WaitingLive||t[34]===Ne.WaitingRecord||t[34]===Ne.Ads,showControls:t[30],bottomNoSmooth:t[45],isAds:t[34]===Ne.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]};return t[37]!==void 0&&(s.controlsElementRef=t[37]),e=new Nu({props:s}),ve.push(()=>qe(e,"controlsElementRef",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[1]&8&&(a.bottomHidden=l[34]===Ne.Thumb||l[34]===Ne.WaitingLive||l[34]===Ne.WaitingRecord||l[34]===Ne.Ads),r[0]&1073741824&&(a.showControls=l[30]),r[1]&16384&&(a.bottomNoSmooth=l[45]),r[1]&8&&(a.isAds=l[34]===Ne.Ads),r[0]&64|r[1]&8388608&&(a.canRewindLive=l[6]&&l[54]!==0),r[0]&4096&&(a.logoClickable=l[12]),r[0]&8192&&(a.logoHidden=l[13]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16384&&(a.showNextPrevButtons=l[14]),r[0]&32768&&(a.nextButtonActive=l[15]),r[0]&65536&&(a.prevButtonActive=l[16]),r[0]&524288&&(a.isOneVideoPlaylist=l[19]),r[0]&1048576&&(a.supportLink=l[20]),r[1]&256&&(a.customFullscreenSupported=l[39]),r[0]&4194304&&(a.playNextVideo=l[22]),r[0]&8388608&&(a.playPrevVideo=l[23]),r[0]&16777216&&(a.repeatPlaylist=l[24]),r[0]&33554432&&(a.seekToInteractive=l[25]),r[0]&67108864&&(a.toggleGraph=l[26]),r[0]&134217728&&(a.playPrevChapter=l[27]),!i&&r[1]&64&&(i=!0,a.controlsElementRef=l[37],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function u1(t){let e,i;return e=new su({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function c1(t){let e,i;return e=new tu({}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function f1(t){let e,i,n=t[6]&&t[78]&&!t[47].has(st.TIMELINE),o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y;e=new Uu({props:{hidden:t[34]!==Ne.Thumb||t[33]||t[89]&&t[5],thumbUrl:t[2],startVideo:t[28]}});let I=n&&Ja(t),ne=t[34]===Ne.WaitingLive&&$a(t),M=t[34]===Ne.WaitingRecord&&e1(),W=t[7]&&t[21]&&t1(t),ie=t[41]&&t[17]&&t[18]&&i1(t),L=t[49]&&n1(),V=t[50]&&o1(),x=t[35]&&l1(t),Y=t[52].value!=="off"&&s1(t),oe=t[33]&&r1(t),j=t[21]&&a1(t);w=new X1({props:{isLive:t[55],isHidden:!t[40],isPlaying:t[56],position:t[44],duration:t[43]}});let C=t[38]&&u1(),G=t[57]&&c1();return{c(){U(e.$$.fragment),i=N(),I&&I.c(),o=N(),ne&&ne.c(),s=N(),M&&M.c(),l=N(),W&&W.c(),r=N(),ie&&ie.c(),a=N(),L&&L.c(),c=N(),V&&V.c(),f=N(),x&&x.c(),p=N(),Y&&Y.c(),h=N(),oe&&oe.c(),_=N(),j&&j.c(),b=N(),U(w.$$.fragment),v=N(),C&&C.c(),P=N(),G&&G.c(),k=ut()},m(D,ee){O(e,D,ee),T(D,i,ee),I&&I.m(D,ee),T(D,o,ee),ne&&ne.m(D,ee),T(D,s,ee),M&&M.m(D,ee),T(D,l,ee),W&&W.m(D,ee),T(D,r,ee),ie&&ie.m(D,ee),T(D,a,ee),L&&L.m(D,ee),T(D,c,ee),V&&V.m(D,ee),T(D,f,ee),x&&x.m(D,ee),T(D,p,ee),Y&&Y.m(D,ee),T(D,h,ee),oe&&oe.m(D,ee),T(D,_,ee),j&&j.m(D,ee),T(D,b,ee),O(w,D,ee),T(D,v,ee),C&&C.m(D,ee),T(D,P,ee),G&&G.m(D,ee),T(D,k,ee),y=!0},p(D,ee){const Te={};ee[0]&32|ee[1]&12&&(Te.hidden=D[34]!==Ne.Thumb||D[33]||D[89]&&D[5]),ee[0]&4&&(Te.thumbUrl=D[2]),ee[0]&268435456&&(Te.startVideo=D[28]),e.$set(Te),ee[0]&64|ee[1]&65536&&(n=D[6]&&D[78]&&!D[47].has(st.TIMELINE)),n?I?(I.p(D,ee),ee[0]&64|ee[1]&65536&&d(I,1)):(I=Ja(D),I.c(),d(I,1),I.m(o.parentNode,o)):I&&(ue(),g(I,1,1,()=>{I=null}),ce()),D[34]===Ne.WaitingLive?ne?(ne.p(D,ee),ee[1]&8&&d(ne,1)):(ne=$a(D),ne.c(),d(ne,1),ne.m(s.parentNode,s)):ne&&(ue(),g(ne,1,1,()=>{ne=null}),ce()),D[34]===Ne.WaitingRecord?M?ee[1]&8&&d(M,1):(M=e1(),M.c(),d(M,1),M.m(l.parentNode,l)):M&&(ue(),g(M,1,1,()=>{M=null}),ce()),D[7]&&D[21]?W?(W.p(D,ee),ee[0]&2097280&&d(W,1)):(W=t1(D),W.c(),d(W,1),W.m(r.parentNode,r)):W&&(ue(),g(W,1,1,()=>{W=null}),ce()),D[41]&&D[17]&&D[18]?ie?(ie.p(D,ee),ee[0]&393216|ee[1]&1024&&d(ie,1)):(ie=i1(D),ie.c(),d(ie,1),ie.m(a.parentNode,a)):ie&&(ue(),g(ie,1,1,()=>{ie=null}),ce()),D[49]?L?ee[1]&262144&&d(L,1):(L=n1(),L.c(),d(L,1),L.m(c.parentNode,c)):L&&(ue(),g(L,1,1,()=>{L=null}),ce()),D[50]?V?(V.p(D,ee),ee[1]&524288&&d(V,1)):(V=o1(),V.c(),d(V,1),V.m(f.parentNode,f)):V&&(ue(),g(V,1,1,()=>{V=null}),ce()),D[35]?x?(x.p(D,ee),ee[1]&16&&d(x,1)):(x=l1(D),x.c(),d(x,1),x.m(p.parentNode,p)):x&&(ue(),g(x,1,1,()=>{x=null}),ce()),D[52].value!=="off"?Y?(Y.p(D,ee),ee[1]&2097152&&d(Y,1)):(Y=s1(D),Y.c(),d(Y,1),Y.m(h.parentNode,h)):Y&&(ue(),g(Y,1,1,()=>{Y=null}),ce()),D[33]?oe?(oe.p(D,ee),ee[1]&4&&d(oe,1)):(oe=r1(D),oe.c(),d(oe,1),oe.m(_.parentNode,_)):oe&&(ue(),g(oe,1,1,()=>{oe=null}),ce()),D[21]?j?(j.p(D,ee),ee[0]&2097152&&d(j,1)):(j=a1(D),j.c(),d(j,1),j.m(b.parentNode,b)):j&&(ue(),g(j,1,1,()=>{j=null}),ce());const Re={};ee[1]&16777216&&(Re.isLive=D[55]),ee[1]&512&&(Re.isHidden=!D[40]),ee[1]&33554432&&(Re.isPlaying=D[56]),ee[1]&8192&&(Re.position=D[44]),ee[1]&4096&&(Re.duration=D[43]),w.$set(Re),D[38]?C?ee[1]&128&&d(C,1):(C=u1(),C.c(),d(C,1),C.m(P.parentNode,P)):C&&(ue(),g(C,1,1,()=>{C=null}),ce()),D[57]?G?ee[1]&67108864&&d(G,1):(G=c1(),G.c(),d(G,1),G.m(k.parentNode,k)):G&&(ue(),g(G,1,1,()=>{G=null}),ce())},i(D){y||(d(e.$$.fragment,D),d(I),d(ne),d(M),d(W),d(ie),d(L),d(V),d(x),d(Y),d(oe),d(j),d(w.$$.fragment,D),d(C),d(G),y=!0)},o(D){g(e.$$.fragment,D),g(I),g(ne),g(M),g(W),g(ie),g(L),g(V),g(x),g(Y),g(oe),g(j),g(w.$$.fragment,D),g(C),g(G),y=!1},d(D){D&&(S(i),S(o),S(s),S(l),S(r),S(a),S(c),S(f),S(p),S(h),S(_),S(b),S(v),S(P),S(k)),H(e,D),I&&I.d(D),ne&&ne.d(D),M&&M.d(D),W&&W.d(D),ie&&ie.d(D),L&&L.d(D),V&&V.d(D),x&&x.d(D),Y&&Y.d(D),oe&&oe.d(D),j&&j.d(D),H(w,D),C&&C.d(D),G&&G.d(D)}}}function Rh(t){let e,i,n,o,s,l=t[46],r,a,c,f,p,h=f1(t);return{c(){e=E("div"),i=E("div"),n=E("div"),s=N(),h.c(),r=N(),a=E("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`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]!==Ne.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut"),u(e,"role","region"),u(e,"aria-label",K("aria_label_video_player")),u(e,"tabindex","-1")},m(_,b){T(_,e,b),m(e,i),m(i,n),t[126](n),m(e,s),h.m(e,null),m(e,r),m(e,a),t[130](a),t[131](e),c=!0,f||(p=[me(Mh,"blur",t[98]),me(i,"click",Qt(t[99])),me(e,"click",t[101],!0),me(e,"focusin",t[102],!0)],f=!0)},p(_,b){(!c||b[1]&2050&&o!==(o=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",o),(!c||b[0]&2)&&B(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||b[1]&8)&&B(i,"hidden",_[34]!==Ne.Video),b[1]&32768&&he(l,l=_[46])?(ue(),g(h,1,1,Z),ce(),h=f1(_),h.c(),d(h,1),h.m(e,r)):h.p(_,b)},i(_){c||(d(h),c=!0)},o(_){g(h),c=!1},d(_){_&&S(e),t[126](null),h.d(_),t[130](null),t[131](null),f=!1,it(p)}}}function Nh(t,e,i){let n,o,s,l,r,a,c,f,p,h,_,b,w,v,P,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te,Re,Be,ze,{store:_e}=e,{uiConfig:we}=e,{thumbUrl:Q}=e,{videoLogoUrl:$}=e,{videoContainer:ke}=e,{interactiveContainer:se}=e,{live:We}=e,{autoplay:Ae}=e,{canRewindLive:Ie}=e,{showAds:ae}=e,{adsSlotId:Ce=void 0}=e,{adsParams:pe=void 0}=e,{adsPreviewParam:le=void 0}=e,{duration:Me=void 0}=e,{logoClickable:de}=e,{logoHidden:ye}=e,{showNextPrevButtons:Pe=!1}=e,{nextButtonActive:je=!1}=e,{prevButtonActive:tt=!1}=e,{endScreenVideoTitle:Je=void 0}=e,{endScreenVideoThumb:Ye=void 0}=e,{isOneVideoPlaylist:et=!1}=e,{supportLink:Et}=e,{outerContainerRef:pt=void 0}=e,{showMiniTimer:Oe=!1}=e,{fullScreenTarget:yt=void 0}=e,{playerStarted:Xt=!1}=e,{playNextVideo:fe=Qe}=e,{playPrevVideo:gt=Qe}=e,{repeatPlaylist:rt=Qe}=e,{seekToInteractive:Jt}=e,{toggleGraph:at}=e,{playPrevChapter:_t}=e,{firstStart:ui}=e,{seekTime:Ot}=e;const ci=_e.getLogger().createComponentLog("Root component"),Zi=_e.interfaceLanguage$;z(t,Zi,X=>i(46,x=X));const fi=_e.state.playbackState$;z(t,fi,X=>i(123,ie=X));const yi=_e.ads.playbackState;z(t,yi,X=>i(124,L=X));const Ji=_e.state.positionWithScrubbing$;z(t,Ji,X=>i(44,l=X));const di=_e.state.duration$;z(t,di,X=>i(43,s=X));const mi=_e.playerPhase;z(t,mi,X=>i(34,I=X));const Ci=_e.ui.isFullscreen;z(t,Ci,X=>i(137,a=X));const It=_e.ui.controlsVisible;z(t,It,X=>i(30,o=X));const xt=_e.ui.interactiveHideMobileControls;z(t,xt,X=>i(115,h=X));const Pi=_e.ui.settingsMenuVisible;z(t,Pi,X=>i(114,n=X));const $t=_e.ui.scrubbingInProgress;z(t,$t,X=>i(116,b=X));const Si=_e.ui.debugPanelVisible;z(t,Si,X=>i(57,ze=X));const pi=_e.state.isLoaderVisible;z(t,pi,X=>i(125,V=X));const Ht=_e.state.isEnded$;z(t,Ht,X=>i(118,P=X));const zi=_e.state.chromecastConnected$;z(t,zi,X=>i(35,ne=X));const Pt=_e.state.chromecastDeviceName$;z(t,Pt,X=>i(51,G=X));const Ft=_e.ads.postrollPassed;z(t,Ft,X=>i(119,k=X));const Ti=_e.ui.mobileUnmuteButtonExpanded,Di=_e.ui.mobileUnmuteButtonVisible,St=_e.state.isLive$;z(t,St,X=>i(55,Re=X));const ei=_e.state.isPlaying$;z(t,ei,X=>i(56,Be=X));const ti=_e.state.isActiveLive$;z(t,ti,X=>i(48,oe=X));const hi=_e.state.isRewindableLive$,vt=_e.state.crashed$;z(t,vt,X=>i(33,v=X));const At=_e.webApi.pictureInPictureApi,gi=_e.state.videoSize$;z(t,gi,X=>i(138,f=X));const bt=_e.state.currentSubtitle$;z(t,bt,X=>i(52,D=X));const Ei=_e.state.currentSubtitleCaptions$;z(t,Ei,X=>i(53,ee=X));const Ii=_e.state.duration$;z(t,Ii,X=>i(54,Te=X));const Ct=_e.state.graphIsOpened$;z(t,Ct,X=>i(122,W=X));const Ut=_e.ui.playerSize;z(t,Ut,X=>i(31,c=X));const Wi=_e.ui.is3DVideo;z(t,Wi,X=>i(49,j=X));const qt=_e.ui.icon3DVideoVisible;z(t,qt,X=>i(50,C=X));const xi=_e.ui.rotateAlpha;z(t,xi,X=>i(32,_=X));const ii=_e.state.isInteractive,Bt=_e.state.isInteractiveTime$;z(t,Bt,X=>i(117,w=X));const Rt=_e.state.isInteractiveExpectation$;z(t,Rt,X=>i(121,M=X));const bi=_e.state.hasInteractiveBranches,Lt=_e.ui.controls.disabledControls$;z(t,Lt,X=>i(47,Y=X));const Ki=_e.ui.touched;z(t,Ki,X=>i(120,y=X));const ji=_e.ui.clientInfo$;z(t,ji,X=>i(136,r=X));const Ai=_e.ui.overlayContainer$,_i=_e.actions.internal.closeSettingsMenu;let ht,Oi,Hi,Li,Vi,Mi,Fi;const ni=Ve(!1);z(t,ni,X=>i(45,p=X));let vi,oi=!1,Zt,Le=!1,Ui,wi=!0,He,Gi,Wt=!1,nn;At?.setContext(w1());const li=X=>{clearTimeout(Li),X&&(Di.set(!0),Ti.set(!0),Li=window.setTimeout(()=>{Ti.set(!1)},we.controls.collapseMobileUnmute),ii||Kt(we.controls.hideTimeoutMobile))};_e.setUiCallbacks({onStarted:li});const $i=()=>{window.clearTimeout(Hi),i(109,oi=!1),h&&xt.set(!1)},Kt=X=>{$i(),i(109,oi=!0),Hi=window.setTimeout(()=>i(109,oi=!1),X);const ft=X-100;vi=window.setTimeout(()=>{p&&ni.set(!1)},ft>0?ft:X)},Bi=Wi.subscribe(X=>{qt.set(X),X&&(window.clearTimeout(Vi),Vi=window.setTimeout(()=>qt.set(!1),we.controls.hide360IconTimeout))}),on=async()=>{const X=Ao();if(X){Kt(we.controls.hideTimeoutFullscreen);try{await At?.remove()}catch(ft){ci({message:String(ft)})}try{const ft=f?.width&&f?.height?f:c;await zf(ft)}catch(ft){ci({message:String(ft)})}}Ci.set(X),_e.getAdmanWrapper().setFullscreen(X),a?_e.callbacks?.onFullscreenEnter?.():_e.callbacks?.onFullscreenExit?.()},en=X=>{const ft=X;Ut.set({width:ft.target.width,height:ft.target.height})};rn(()=>(j1(on),tl(At)&&(At?.assignPlayerContainer(ht),At?.registryExternalEventHandlers({resize:en})),i(39,wi=!Th(r)),se&&ke.parentElement?.insertBefore(se,ke.nextSibling),()=>{window.clearTimeout(Hi),window.clearTimeout(vi),window.clearTimeout(Li),window.clearTimeout(Vi),Bi(),At?.dispose(),G1(on)}));const Yi=X=>{let ft=l+(X==="forward"?1:-1)*we.controls.seekStepMobile/1e3;ft<0?ft=0:ft>s&&(ft=s-1),i(111,Le=!0),Ot(ft)},qi=async()=>{if(Ao())await K1(document),ci({message:"exit fullscreen"});else{ci({message:"request fullscreen"});const X=Bl()||!pt?ht:pt,ft=X.getRootNode(),kn=ft instanceof ShadowRoot?ft.host:ft,yn=yt instanceof HTMLElement&&yt.contains(kn),Cn=we.allowChangingFullscreenTarget&&yt&&yn?yt:X;await W1(Cn)}},Nt=()=>{_i()},te=()=>{if(n){Nt();return}if(!Xt){ui(),Kt(we.controls.hideTimeoutCursor);return}i(111,Le=!1),o?$i():Kt(we.controls.hideTimeoutMobile)},ot=()=>{if(n){Nt();return}},si=()=>{Ki.set(!0)},Qi=()=>{ii||(ni.set(!0),Kt(we.controls.hideTimeoutCursor))};function wt(X){ve[X?"unshift":"push"](()=>{ke=X,i(0,ke)})}const tn=()=>Yi("backward"),wn=()=>Yi("forward");function fn(X){Oi=X,i(37,Oi)}function dn(X){ve[X?"unshift":"push"](()=>{Fi=X,i(29,Fi)})}function ln(X){ve[X?"unshift":"push"](()=>{ht=X,i(36,ht)})}return t.$$set=X=>{"store"in X&&i(103,_e=X.store),"uiConfig"in X&&i(1,we=X.uiConfig),"thumbUrl"in X&&i(2,Q=X.thumbUrl),"videoLogoUrl"in X&&i(3,$=X.videoLogoUrl),"videoContainer"in X&&i(0,ke=X.videoContainer),"interactiveContainer"in X&&i(104,se=X.interactiveContainer),"live"in X&&i(4,We=X.live),"autoplay"in X&&i(5,Ae=X.autoplay),"canRewindLive"in X&&i(6,Ie=X.canRewindLive),"showAds"in X&&i(7,ae=X.showAds),"adsSlotId"in X&&i(8,Ce=X.adsSlotId),"adsParams"in X&&i(9,pe=X.adsParams),"adsPreviewParam"in X&&i(10,le=X.adsPreviewParam),"duration"in X&&i(11,Me=X.duration),"logoClickable"in X&&i(12,de=X.logoClickable),"logoHidden"in X&&i(13,ye=X.logoHidden),"showNextPrevButtons"in X&&i(14,Pe=X.showNextPrevButtons),"nextButtonActive"in X&&i(15,je=X.nextButtonActive),"prevButtonActive"in X&&i(16,tt=X.prevButtonActive),"endScreenVideoTitle"in X&&i(17,Je=X.endScreenVideoTitle),"endScreenVideoThumb"in X&&i(18,Ye=X.endScreenVideoThumb),"isOneVideoPlaylist"in X&&i(19,et=X.isOneVideoPlaylist),"supportLink"in X&&i(20,Et=X.supportLink),"outerContainerRef"in X&&i(105,pt=X.outerContainerRef),"showMiniTimer"in X&&i(106,Oe=X.showMiniTimer),"fullScreenTarget"in X&&i(107,yt=X.fullScreenTarget),"playerStarted"in X&&i(21,Xt=X.playerStarted),"playNextVideo"in X&&i(22,fe=X.playNextVideo),"playPrevVideo"in X&&i(23,gt=X.playPrevVideo),"repeatPlaylist"in X&&i(24,rt=X.repeatPlaylist),"seekToInteractive"in X&&i(25,Jt=X.seekToInteractive),"toggleGraph"in X&&i(26,at=X.toggleGraph),"playPrevChapter"in X&&i(27,_t=X.playPrevChapter),"firstStart"in X&&i(28,ui=X.firstStart),"seekTime"in X&&i(108,Ot=X.seekTime)},t.$$.update=()=>{t.$$.dirty[1]&12|t.$$.dirty[4]&3&&i(38,Mi=(I===Ne.Video&&V||I===Ne.Ads&&L===Yt.INACTIVE)&&!v),t.$$.dirty[0]&536870912&&Ai.set(Fi),t.$$.dirty[3]&1073741824&&i(110,Zt=ie!==zt.PLAYING),t.$$.dirty[3]&843251712&&i(112,Ui=W||h||!oi&&(P&&!!bi||Zt&&M)),t.$$.dirty[1]&28|t.$$.dirty[3]&11468800&&It.set((Zt||n||b||ne||oi&&!Le)&&!Ui&&I===Ne.Video&&!v),t.$$.dirty[0]&1073741826|t.$$.dirty[1]&12|t.$$.dirty[3]&134225920&&i(40,He=we.features.thumbTimer&&Oe&&I===Ne.Video&&!o&&!v&&!ii&&(we.hideThumbTimerAfterTouch&&!y||!we.hideThumbTimerAfterTouch)),t.$$.dirty[0]&128|t.$$.dirty[1]&4|t.$$.dirty[3]&100663296&&i(41,Gi=(ae&&k||!ae)&&P&&!v),t.$$.dirty[0]&2|t.$$.dirty[3]&26214400&&(!b&&Wt&&!w&&Kt(we.controls.hideTimeoutMobile),i(113,Wt=b)),t.$$.dirty[0]&1|t.$$.dirty[1]&3&&i(42,nn=ke&&_%180?c.height/c.width:1)},[ke,we,Q,$,We,Ae,Ie,ae,Ce,pe,le,Me,de,ye,Pe,je,tt,Je,Ye,et,Et,Xt,fe,gt,rt,Jt,at,_t,ui,Fi,o,c,_,v,I,ne,ht,Oi,Mi,wi,He,Gi,nn,s,l,p,x,Y,oe,j,C,G,D,ee,Te,Re,Be,ze,Zi,fi,yi,Ji,di,mi,Ci,It,xt,Pi,$t,Si,pi,Ht,zi,Pt,Ft,St,ei,ti,hi,vt,gi,bt,Ei,Ii,Ct,Ut,Wi,qt,xi,ii,Bt,Rt,Lt,Ki,ji,ni,Yi,qi,Nt,te,ot,si,Qi,_e,se,pt,Oe,yt,Ot,oi,Zt,Le,Ui,Wt,n,h,b,w,P,k,y,M,W,ie,L,V,wt,tn,wn,fn,dn,ln]}class zh extends be{constructor(e){super(),ge(this,e,Nh,Rh,he,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},Bh,[-1,-1,-1,-1,-1])}}function Dh(t){Ze(t,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@ import{VERSION as fc,ChromecastState as Sn,PlaybackState as Ft,VideoQuality as c
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 Ph(t){let e,i,n;function o(l){t[56](l)}let s={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&&(s.videoContainer=t[33]),e=new fh({props:s}),ve.push(()=>Fe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Sh(t){let e,i,n;function o(l){t[55](l)}let s={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&&(s.videoContainer=t[33]),e=new yh({props:s}),ve.push(()=>Fe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],He(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Th(t){let e,i,n,o;const s=[Sh,Ph],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(de(),g(l[f],1,1,()=>{l[f]=null}),me(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function Eh(t,e,i){let{sources:n}=e,{store:o}=e,{microStoresRoot:s}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:p}=e,{live:h}=e,{preload:_}=e,{autoplay:b}=e,{volume:w=void 0}=e,{muted:v=void 0}=e,{fromTime:P}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:I=void 0}=e,{adsParams:ne=void 0}=e,{adsPreviewParam:V=void 0}=e,{duration:K=void 0}=e,{logoClickable:M}=e,{logoHidden:ee}=e,{isMobile:A}=e,{showNextPrevButtons:ie=!1}=e,{nextButtonActive:N=!1}=e,{prevButtonActive:G=!1}=e,{endScreenVideoTitle:re=void 0}=e,{endScreenVideoThumb:C=void 0}=e,{isOneVideoPlaylist:le=!1}=e,{supportLink:W}=e,{outerContainerRef:oe=void 0}=e,{fullScreenTarget:ke=void 0}=e,{failoverHosts:qe=void 0}=e,{showMiniTimer:Ze=!1}=e,{playNextVideo:Ve=Ge}=e,{playPrevVideo:ce=Ge}=e,{repeatPlaylist:we=Ge}=e,{seekToInteractive:Q=Ge}=e,{toggleGraph:X=Ge}=e,{playPrevChapter:Te=Ge}=e;const{subscribers:se,stores:Se}=s;jc(l);const Ee=rn(),Ie=o.ui.debugPanelVisible,ue=o.ui.playerSize;let _e,$=null,Y=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),tf(o,Se);const ze=(fe=!1)=>{i(34,Y=!0),fe?o.actions.external.firstStart(y):o.actions.internal.firstStart(y)};function it(fe){const pt=n||fe;pt&&o.initVideo({container:_e,sources:pt,failoverHosts:qe,subtitles:p});const rt=_n.get(Pl)==="true";Ie.set(rt),P>0&&o.actions.external.seekTime(P);const bt=A?Ee.volumeDefault:w??L1()??Ee.volumeDefault,at=v??af();if(o.actions.external.setVolume(bt),o.actions.external.setMuted(at),o.getAdmanWrapper().setInitialVolume(at?0:bt),Ee.features.trafficSaving){const Pt=cf();Pt&&o.actions.internal.setTrafficSavingEnabled(Pt)}const Ct=rf(o.videoId);Ct&&o.actions.internal.setQuality(Ct),o.ui.isAutoplay.set(b),b?ze():_&&Ee.features.preload&&o.actions.internal.preload()}const Je=fe=>{if(window.ResizeObserver){let pt,rt;$=new ResizeObserver(ol(bt=>{const at=bt[0];if(at){if(at.contentBoxSize){const Ct=Array.isArray(at.contentBoxSize)?at.contentBoxSize[0]:at.contentBoxSize;pt=Ct.inlineSize,rt=Ct.blockSize}else at.contentRect&&(pt=at.contentRect.width,rt=at.contentRect.height);ue.set({width:pt,height:rt})}},b1)),$.observe(fe)}ue.set({width:fe.clientWidth,height:fe.clientHeight})};sn(()=>{Je(_e);const fe=se.map(rt=>rt.init(o,Se));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return it(),()=>{$?.disconnect(),fe.forEach(rt=>rt.unsubscribe()),o.destroy()}});function Ce(){Y?o.actions.external.play():ze(!0)}function Ye(){o.actions.external.pause()}function xe(fe){A||o.actions.external.setMuted(fe)}function ct(fe){A||fe>=0&&fe<=1&&o.actions.external.setVolume(fe)}function gt(fe){o.actions.internal.seekTime(fe,Vt.UNKNOWN)}function Ue(fe){o.actions.external.seekEpisodeStartTime(fe)}function Me(){o.actions.external.returnFocusToEpisodes()}function mt(fe){o.actions.external.setPlaybackRate(fe)}function qt(fe){o.actions.external.setAutoQualityLimits(fe)}function Tt(fe){_e=fe,i(33,_e)}function ki(fe){_e=fe,i(33,_e)}return t.$$set=fe=>{"sources"in fe&&i(37,n=fe.sources),"store"in fe&&i(0,o=fe.store),"microStoresRoot"in fe&&i(38,s=fe.microStoresRoot),"uiConfig"in fe&&i(39,l=fe.uiConfig),"title"in fe&&i(1,r=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,p=fe.subtitles),"live"in fe&&i(5,h=fe.live),"preload"in fe&&i(41,_=fe.preload),"autoplay"in fe&&i(6,b=fe.autoplay),"volume"in fe&&i(42,w=fe.volume),"muted"in fe&&i(43,v=fe.muted),"fromTime"in fe&&i(44,P=fe.fromTime),"canRewindLive"in fe&&i(7,k=fe.canRewindLive),"showAds"in fe&&i(8,y=fe.showAds),"adsSlotId"in fe&&i(9,I=fe.adsSlotId),"adsParams"in fe&&i(10,ne=fe.adsParams),"adsPreviewParam"in fe&&i(11,V=fe.adsPreviewParam),"duration"in fe&&i(12,K=fe.duration),"logoClickable"in fe&&i(13,M=fe.logoClickable),"logoHidden"in fe&&i(14,ee=fe.logoHidden),"isMobile"in fe&&i(15,A=fe.isMobile),"showNextPrevButtons"in fe&&i(16,ie=fe.showNextPrevButtons),"nextButtonActive"in fe&&i(17,N=fe.nextButtonActive),"prevButtonActive"in fe&&i(18,G=fe.prevButtonActive),"endScreenVideoTitle"in fe&&i(19,re=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&i(20,C=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&i(21,le=fe.isOneVideoPlaylist),"supportLink"in fe&&i(22,W=fe.supportLink),"outerContainerRef"in fe&&i(23,oe=fe.outerContainerRef),"fullScreenTarget"in fe&&i(24,ke=fe.fullScreenTarget),"failoverHosts"in fe&&i(45,qe=fe.failoverHosts),"showMiniTimer"in fe&&i(25,Ze=fe.showMiniTimer),"playNextVideo"in fe&&i(26,Ve=fe.playNextVideo),"playPrevVideo"in fe&&i(27,ce=fe.playPrevVideo),"repeatPlaylist"in fe&&i(28,we=fe.repeatPlaylist),"seekToInteractive"in fe&&i(29,Q=fe.seekToInteractive),"toggleGraph"in fe&&i(30,X=fe.toggleGraph),"playPrevChapter"in fe&&i(31,Te=fe.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(A)},[o,r,a,c,f,h,b,k,y,I,ne,V,K,M,ee,A,ie,N,G,re,C,le,W,oe,ke,Ze,Ve,ce,we,Q,X,Te,gt,_e,Y,Ee,ze,n,s,l,p,_,w,v,P,qe,it,Ce,Ye,xe,ct,Ue,Me,mt,qt,Tt,ki]}class Ah extends be{constructor(e){super(),ge(this,e,Eh,Th,he,{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},Ch,[-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 Lh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){T(n,e,o),m(e,i)},p(n,[o]){o&1&&u(i,"fill",n[0])},i:Z,o:Z,d(n){n&&S(e)}}}function Ih(t,e,i){let{isWhite:n=!1}=e,o;return t.$$set=s=>{"isWhite"in s&&i(1,n=s.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,o=n?"#fff":"#909499")},[o,n]}class Vh extends be{constructor(e){super(),ge(this,e,Ih,Lh,he,{isWhite:1})}}function Mh(t){Oe(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 o1(t){let e,i;return{c(){e=E("div"),i=Ne(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&1&&Xe(i,n[0])},d(n){n&&S(e)}}}function l1(t){let e,i;return e=new Vh({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Bh(t){let e,i,n,o,s=t[0]&&o1(t),l=(!t[0]||!t[1])&&l1(t);return{c(){e=E("div"),s&&s.c(),i=z(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,a){T(r,e,a),s&&s.m(e,null),m(e,i),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=o1(r),s.c(),s.m(e,i)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&d(l,1)):(l=l1(r),l.c(),d(l,1),l.m(e,null)):l&&(de(),g(l,1,1,()=>{l=null}),me()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(l),o=!0)},o(r){g(l),o=!1},d(r){r&&S(e),s&&s.d(),l&&l.d()}}}function Rh(t,e,i){let{title:n}=e,{thumbUrl:o}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"thumbUrl"in s&&i(1,o=s.thumbUrl)},[n,o]}class Nh extends be{constructor(e){super(),ge(this,e,Rh,Bh,he,{title:0,thumbUrl:1},Mh)}}class zh{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{throw new Error(`The media session action "${i}" is not supported yet.`)}}}function Dh(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class Oh extends be{constructor(e){super(),ge(this,e,null,Dh,he,{})}}function Hh(t){Oe(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 Fh(t){let e,i,n,o,s,l,r;return n=new Oh({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=z(),s=E("span"),l=Ne(t[0]),u(i,"class","dummy-image v-1pbsod4"),B(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",t[2])},m(a,c){T(a,e,c),m(e,i),O(n,i,null),m(e,o),m(e,s),m(s,l),r=!0},p(a,[c]){(!r||c&2)&&B(i,"desktop",!a[1]),(!r||c&1)&&Xe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&S(e),H(n)}}}function Uh(t,e,i){let n,o;const s=dt(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;D(t,r,f=>i(5,n=f));const a=s.ui.isMobile;D(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&j("pip_dummy_title"))},[c,o,l,r,a,n]}class qh extends be{constructor(e){super(),ge(this,e,Uh,Fh,he,{},Hh)}}const Zh=460,Wh=280;class Du{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new El(!1),type:Mn.DocumentPictureInPicture};isSupported(){const e=Al().browser===r1.Yandex,{isEmbed:i}=Tc();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(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:Zh,height:Wh,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
51
- `),i=document.createElement("style");i.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(i),o.append(this.playerDomElement),this.playerDummyElement=new qh({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.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=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function Kh(t){return t instanceof Du}class jh{static getLatestSupportedVersion(){const e=new zl,i=new Du;if(i.isSupported())return i;if(e.isSupported())return e}}function s1(t,e){const i=new Set([...Object.keys(t),...Object.keys(e)]),n={};for(const o of i)n[o]=e[o]??t[o]??void 0;return n}const Gh="Inner error. Unexpectedly root annotation container null reference exception",Yh="Annotation with such name already exists",Qh="Annotation with such name does not exist";class wl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const Xh="1",Jh=100;class xh{rootAnnotationsContainer;annotations=new Map;subscriptions=new Un;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=ol(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},Jh);this.subscriptions.add(Ec(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){if(!this.rootAnnotationsContainer)throw new wl(Gh);if(this.annotations.has(e))throw new wl(Yh);i.style.zIndex=i.style.zIndex??Xh,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 wl(Qh);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 o=e.offsetTop,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>i||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class jl{stateName;state$;subscription;init(e,i){return ot(e),ot(i),this.subscription=new Un,this.subscription}}class $h extends jl{stateName="fakeIsPlaying$";state$={...Ae(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(s=>{this.state$.set(s?!0:null)})),n}}class e5 extends jl{stateName="interactiveControlsOpacity$";state$={...Ae(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{fakeIsPlaying$:o}=i,{isInteractiveExpectation$:s,isPlaying$:l}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=Qe(a),f=()=>c&&Qe(r);return n.add(r.subscribe(p=>{if(!c)return;const h=Qe(o);Qe(l)?this.state$.set(p):h!==null&&this.state$.set(!h||p)})),n.add(l.subscribe(p=>{this.state$.set(!p||f())})),n.add(o.subscribe(p=>{if(p===null)return;const h=Qe(s);if(f()){this.state$.set(!0);return}h&&this.state$.set(!p)})),n}}class t5 extends jl{stateName="seekToInteractiveDisabledTooltip$";state$=Ae("tooltip_chapter_without_interactive");init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(s=>s.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const i5=()=>[$h,e5,t5].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),n5={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Bo.RU,logoClickable:!1,logoHidden:!1,isMobile:Ac(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class o5 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this.logger=new a1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Un,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,i=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new Nh({target:this.playerContainer,props:{title:e,thumbUrl:i}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.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){return this.store?.ui.controls.disabledControls$?.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){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:p,volume:h,muted:_,fromTime:b,canRewindLive:w,supportLink:v,showAds:P,adsSlotId:k,adsParams:y={},adsPreviewParam:I,interfaceLanguage:ne,logoClickable:V,logoHidden:K,isMobile:M,isAudioDisabled:ee,isLiveCatchUpMode:A,fullScreenTarget:ie,failoverHosts:N,canDownload:G,callbacks:re,interactiveData:C,showThumbTimer:le,additionalButtons:W=[],repeat:oe}=s1(this.videoConfig,i),{sources:ke,title:qe,thumbUrl:Ze,videoLogoUrl:Ve,unitedVideoId:ce,isClip:we=!1,duration:Q,adsParams:X={},videoEpisodes:Te,previewThumbsData:se,subtitles:Se,live:Ee}=e,Ie={...y,...X},ue=this.getNextVideoInfo(),_e={sources:ke,title:qe,thumbUrl:Ze,subtitles:Se,unitedVideoId:ce,isClip:we,live:Ee,albumId:o,statPlace:s,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:w,showAds:P,adsSlotId:k,adsParams:Ie,adsPreviewParam:I,duration:Q,logoClickable:V,logoHidden:K,isMobile:M,repeat:oe,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ue.nextVideoTitle,endScreenVideoThumb:ue.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},$={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(_e)}`});const Y=this.uiConfig.features.statistics&&!!ce,{pid:ze}=this.videoConfig?.interactiveData?.projectInfo||{};Y&&new Lo({movieId:ce,albumId:o,place:s,trackCode:a,autoplay:(p&&!this.interactiveController)??!1,mobile:M,clip:we,...ze&&!this.isInited&&{projectId:Number(ze)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Sl(this.uiConfig.sentry,{version:Ml,env:ef},{movieId:ce,albumId:o,place:s,autoplay:(p&&!this.interactiveController)??!1,mobile:M,clip:we}),this.interactiveController&&(this.prevIsid??=Lo.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...Lo.getInstance()},this.sentry={...this.sentry,...Sl.getInstance()};const Je=!!C,Ce=this.interactiveController?.getInteractiveRanges(),Ye=[];let xe="tooltip_interactive_go_back_disabled_first";if(Je&&this.interactiveController){const Ue=this.interactiveController.state.isInitialChapter$.getValue(),Me=this.interactiveController.getHistoryState();Ue&&Ye.push(nt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Ye.push(nt.SEEK_TO_INTERACTIVE_BUTTON),Me.hasPrevChapter$.getValue()||(Ye.push(nt.PLAY_PREV_CHAPTER_BUTTON),Ue||(Me.isGoBackLimited$.getValue()?xe="tooltip_interactive_go_back_disabled_limit":xe="tooltip_interactive_go_back_disabled"))}const ct=()=>{this.isInited=!1,this.prevIsid=void 0;const Ue=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();re.onReplayInteractiveVideo&&!Ue?re.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=Y4({player:n,interfaceLanguage:ne,videoId:ce,isClip:we,isLiveCatchUpMode:A,isAudioDisabled:ee,statAuthToken:r,callbacks:re,webApi:$,videoEpisodes:Te,previewThumbsData:se,canDownload:G,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Ye,isInteractive:Je,interactiveRanges:Ce,replayInteractive:ct,playPrevChapterDisabledTooltip:xe,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?W:[],looped:oe&&this.videoConfig.videos.length===1});const{stores:gt}=this.microStoresRoot=i5();this.subscription.add(this.store.state.currentFormat$.subscribe(Ue=>re?.onCurrentFormatChanged?.(Ue))),this.subscription.add(gt.interactiveControlsOpacity$.subscribe(Ue=>{Ue!==null&&this?.interactiveController?.setDisabledControls(Ue)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Ue=>re?.onThroughputEstimationChanged?.(Ue))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Ue=>re?.onTrafficSavingEnabledChanged?.(Ue))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Ue=>re?.onCurrentPlaybackRateChanged?.(Ue))),this.subscription.add(this.store.state.volume$.subscribe(Ue=>re?.onVolumeChange?.(Ue))),this.subscription.add(this.store.state.muted$.subscribe(Ue=>Ue?re?.onMute?.():re?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Ue=>re?.onVideoBitrateChanged?.(Ue))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Ue=>{const Me=this.store?.ui.controls.disabledControls$;Me&&(Ue&&!Me.includes(el)&&Me.add(el),Ue||Me.remove(el))})),this.initMediaSession(),this.interactiveController&&Y&&this.initInteractivesStatistics(),this.svelteRootComponent=new Ah({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:ke,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:qe,thumbUrl:Ze,videoLogoUrl:Ve,subtitles:Se,live:Ee,preload:f,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:w,supportLink:v,showAds:P,adsSlotId:k,adsParams:Ie,adsPreviewParam:I,duration:Q,logoClickable:V,logoHidden:K,isMobile:M,failoverHosts:N,fullScreenTarget:ie,showMiniTimer:le,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ue.nextVideoTitle,endScreenVideoThumb:ue.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,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,i=this.videoConfig?.callbacks;i&&this.subscription.add(e.playerPhase.subscribe(o=>i.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>i.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>i.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>i.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>i.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>i.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>i.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==ho.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?i.onPiPEnter?.():i.onPiPExit?.()));const n=i?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(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){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&gn(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:i,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:i,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=Qe(i),r=Qe(n);Qe(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(os),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(os),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:i,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?Qe(o):this.videoConfig.interfaceLanguage,{projectInfo:l,historyApi:r,videoLoader:a}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,historyApi:r,vkVideoLoader:a,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength}}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:c}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(p=>{if(!this.isInited)return;const h=this.store;p?h.ui.controls.disabledControls$.remove(nt.SEEK_TO_INTERACTIVE_BUTTON):h.ui.controls.disabledControls$.add(nt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(c.subscribe(p=>{this.store&&this.store.state.isInteractiveExpectation$.set(p)}));let f=!0;if(this.interactiveController.on(i.playerChanged,p=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...p.config,title:l?.title||p.config.title};const h=f?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(p.player,h),f&&(f=!1)}),this.interactiveController.on(i.interactives,({type:p,subjectId:h,actionType:_})=>{if(!this.store)return;const b=c.getValue();if(p==="container-removed"&&this.store.actions.internal.completeInteractiveRange(h),p==="action-choice"&&_==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(w1)),p==="action-choice-canceled"){const w=Qe(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&w){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const p=this.interactiveController.getHistoryState();this.subscription.add(p.history$.subscribe(h=>{h.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(h)}))}this.interactiveController.on(i.errors,p=>{this.log({message:p.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:i}=this.statistics;if(!(!e||!i||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:Ao.NEXT_BUTTON,[n.GO_NEXT_AREA]:Ao.NEXT_AREA,[n.WATCH_AGAIN]:Ao.WATCH_AGAIN,[n.OPEN_GRAPH]:Ao.GRAPH_SHOW,[n.CLOSE_GRAPH]:Ao.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new mn;s.subscribe(a=>{a in o?r.next(o[a]):(i?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(i.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){i?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=s1(n5,Lc(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=Kc(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},gn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),gn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=jh.getLatestSupportedVersion():this.pictureInPictureApi=new zl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new zh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new xh(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$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]),Kh(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){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 i=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:i.nextVideoTitle,endScreenVideoThumb:i.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Be.Video?this.setupMediaSessionForVideo():e===Be.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",o=>this.seekTime(o.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(){this.isControlDisabled(nt.PLAY_BUTTON)||this.store?.playerPhase.is(Be.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(nt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}returnFocusToEpisodes(){this.log({message:"return focus to episodes button"}),this.svelteRootComponent?.returnFocusToEpisodes()}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return Lo.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const u5=()=>{window.customElements.define("vk-video-player",o5)};export{yt as GridTypes,h5 as InterfaceLanguage,Ml as VERSION,g5 as VKNumericLanguage,d5 as VideoFormat,m5 as VideoQuality,b5 as loadVKLangPack,u5 as registerPlayerWebComponent};
50
+ );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg:not(.interactiveContainer svg){pointer-events:none}*:focus, *:focus-visible{outline:none}*:focus-visible{box-shadow:var(--focused-element-shadow)}.hidden{visibility:hidden;opacity:0}.overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%;position:fixed;z-index:10000}.out-of-view{position:absolute !important;left:-1000vh !important}`)}function Oh(t){let e,i,n;function o(l){t[56](l)}let s={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&&(s.videoContainer=t[33]),e=new Sh({props:s}),ve.push(()=>qe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&2&&(a.title=l[1]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hh(t){let e,i,n;function o(l){t[55](l)}let s={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&&(s.videoContainer=t[33]),e=new zh({props:s}),ve.push(()=>qe(e,"videoContainer",o)),{c(){U(e.$$.fragment)},m(l,r){O(e,l,r),n=!0},p(l,r){const a={};r[0]&1&&(a.store=l[0]),r[0]&4&&(a.thumbUrl=l[2]),r[0]&8&&(a.videoLogoUrl=l[3]),r[0]&16&&(a.interactiveContainer=l[4]),r[0]&32&&(a.live=l[5]),r[0]&64&&(a.autoplay=l[6]),r[0]&128&&(a.canRewindLive=l[7]),r[0]&256&&(a.showAds=l[8]),r[0]&512&&(a.adsSlotId=l[9]),r[0]&1024&&(a.adsParams=l[10]),r[0]&2048&&(a.adsPreviewParam=l[11]),r[0]&4096&&(a.duration=l[12]),r[0]&8192&&(a.logoClickable=l[13]),r[0]&16384&&(a.logoHidden=l[14]),r[0]&65536&&(a.showNextPrevButtons=l[16]),r[0]&131072&&(a.nextButtonActive=l[17]),r[0]&262144&&(a.prevButtonActive=l[18]),r[0]&524288&&(a.endScreenVideoTitle=l[19]),r[0]&1048576&&(a.endScreenVideoThumb=l[20]),r[0]&2097152&&(a.isOneVideoPlaylist=l[21]),r[0]&4194304&&(a.supportLink=l[22]),r[0]&8388608&&(a.outerContainerRef=l[23]),r[0]&16777216&&(a.fullScreenTarget=l[24]),r[0]&33554432&&(a.showMiniTimer=l[25]),r[1]&8&&(a.playerStarted=l[34]),r[0]&67108864&&(a.playNextVideo=l[26]),r[0]&134217728&&(a.playPrevVideo=l[27]),r[0]&268435456&&(a.repeatPlaylist=l[28]),r[0]&536870912&&(a.seekToInteractive=l[29]),r[0]&1073741824&&(a.toggleGraph=l[30]),r[1]&1&&(a.playPrevChapter=l[31]),!i&&r[1]&4&&(i=!0,a.videoContainer=l[33],Ue(()=>i=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Fh(t){let e,i,n,o;const s=[Hh,Oh],l=[];function r(a,c){return a[15]?0:1}return i=r(t),n=l[i]=s[i](t),{c(){e=E("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){T(a,e,c),l[i].m(e,null),o=!0},p(a,c){let f=i;i=r(a),i===f?l[i].p(a,c):(ue(),g(l[f],1,1,()=>{l[f]=null}),ce(),n=l[i],n?n.p(a,c):(n=l[i]=s[i](a),n.c()),d(n,1),n.m(e,null))},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&S(e),l[i].d()}}}function Uh(t,e,i){let{sources:n}=e,{store:o}=e,{microStoresRoot:s}=e,{uiConfig:l}=e,{title:r}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:p}=e,{live:h}=e,{preload:_}=e,{autoplay:b}=e,{volume:w=void 0}=e,{muted:v=void 0}=e,{fromTime:P}=e,{canRewindLive:k}=e,{showAds:y}=e,{adsSlotId:I=void 0}=e,{adsParams:ne=void 0}=e,{adsPreviewParam:M=void 0}=e,{duration:W=void 0}=e,{logoClickable:ie}=e,{logoHidden:L}=e,{isMobile:V}=e,{showNextPrevButtons:x=!1}=e,{nextButtonActive:Y=!1}=e,{prevButtonActive:oe=!1}=e,{endScreenVideoTitle:j=void 0}=e,{endScreenVideoThumb:C=void 0}=e,{isOneVideoPlaylist:G=!1}=e,{supportLink:D}=e,{outerContainerRef:ee=void 0}=e,{fullScreenTarget:Te=void 0}=e,{failoverHosts:Re=void 0}=e,{showMiniTimer:Be=!1}=e,{playNextVideo:ze=Qe}=e,{playPrevVideo:_e=Qe}=e,{repeatPlaylist:we=Qe}=e,{seekToInteractive:Q=Qe}=e,{toggleGraph:$=Qe}=e,{playPrevChapter:ke=Qe}=e;const{subscribers:se,stores:We}=s;nf(l);const Ae=an(),Ie=o.ui.debugPanelVisible,ae=o.ui.playerSize;let Ce,pe=null,le=!1;o.getAdmanWrapper().init({switchFromAdsToVideo:o.actions.internal.switchFromAdsToVideo,switchFromVideoToAds:o.actions.internal.switchFromVideoToAds,setMuted:o.actions.external.setMuted},o.ads,{isMobile:o.ui.isMobile,mobileUnmuteButtonVisible:o.ui.mobileUnmuteButtonVisible,vsid:o.vsid}),df(o,We);const Me=(fe=!1)=>{i(34,le=!0),fe?o.actions.external.firstStart(y):o.actions.internal.firstStart(y)};function de(fe){const gt=n||fe;gt&&o.initVideo({container:Ce,sources:gt,failoverHosts:Re,subtitles:p});const rt=_n.get(Il)==="true";Ie.set(rt),P>0&&o.actions.external.seekTime(P);const Jt=V?Ae.volumeDefault:w??z1()??Ae.volumeDefault,at=v??_f();if(o.actions.external.setVolume(Jt),o.actions.external.setMuted(at),o.getAdmanWrapper().setInitialVolume(at?0:Jt),Ae.features.trafficSaving){const ui=wf();ui&&o.actions.internal.setTrafficSavingEnabled(ui)}const _t=bf(o.videoId);_t&&o.actions.internal.setQuality(_t),o.ui.isAutoplay.set(b),b?Me():_&&Ae.features.preload&&o.actions.internal.preload()}const ye=fe=>{if(window.ResizeObserver){let gt,rt;pe=new ResizeObserver(il(Jt=>{const at=Jt[0];if(at){if(at.contentBoxSize){const _t=Array.isArray(at.contentBoxSize)?at.contentBoxSize[0]:at.contentBoxSize;gt=_t.inlineSize,rt=_t.blockSize}else at.contentRect&&(gt=at.contentRect.width,rt=at.contentRect.height);ae.set({width:gt,height:rt})}},P1)),pe.observe(fe)}ae.set({width:fe.clientWidth,height:fe.clientHeight})};rn(()=>{ye(Ce);const fe=se.map(rt=>rt.init(o,We));if(h?.status==="upcoming"||h?.status==="waiting"){o.actions.internal.setWaitingLive(!0);return}if((h?.status==="finished"||h?.status==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return de(),()=>{pe?.disconnect(),fe.forEach(rt=>rt.unsubscribe()),o.destroy()}});function Pe(){le?o.actions.external.play():Me(!0)}function je(){o.actions.external.pause()}function tt(fe){V||o.actions.external.setMuted(fe)}function Je(fe){V||fe>=0&&fe<=1&&o.actions.external.setVolume(fe)}function Ye(fe){o.actions.internal.seekTime(fe,Vt.UNKNOWN)}function et(fe){o.actions.external.seekEpisodeStartTime(fe)}function Et(){o.actions.external.returnFocusToEpisodes()}function pt(fe){o.actions.external.setPlaybackRate(fe)}function Oe(fe){o.actions.external.setAutoQualityLimits(fe)}function yt(fe){Ce=fe,i(33,Ce)}function Xt(fe){Ce=fe,i(33,Ce)}return t.$$set=fe=>{"sources"in fe&&i(37,n=fe.sources),"store"in fe&&i(0,o=fe.store),"microStoresRoot"in fe&&i(38,s=fe.microStoresRoot),"uiConfig"in fe&&i(39,l=fe.uiConfig),"title"in fe&&i(1,r=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,p=fe.subtitles),"live"in fe&&i(5,h=fe.live),"preload"in fe&&i(41,_=fe.preload),"autoplay"in fe&&i(6,b=fe.autoplay),"volume"in fe&&i(42,w=fe.volume),"muted"in fe&&i(43,v=fe.muted),"fromTime"in fe&&i(44,P=fe.fromTime),"canRewindLive"in fe&&i(7,k=fe.canRewindLive),"showAds"in fe&&i(8,y=fe.showAds),"adsSlotId"in fe&&i(9,I=fe.adsSlotId),"adsParams"in fe&&i(10,ne=fe.adsParams),"adsPreviewParam"in fe&&i(11,M=fe.adsPreviewParam),"duration"in fe&&i(12,W=fe.duration),"logoClickable"in fe&&i(13,ie=fe.logoClickable),"logoHidden"in fe&&i(14,L=fe.logoHidden),"isMobile"in fe&&i(15,V=fe.isMobile),"showNextPrevButtons"in fe&&i(16,x=fe.showNextPrevButtons),"nextButtonActive"in fe&&i(17,Y=fe.nextButtonActive),"prevButtonActive"in fe&&i(18,oe=fe.prevButtonActive),"endScreenVideoTitle"in fe&&i(19,j=fe.endScreenVideoTitle),"endScreenVideoThumb"in fe&&i(20,C=fe.endScreenVideoThumb),"isOneVideoPlaylist"in fe&&i(21,G=fe.isOneVideoPlaylist),"supportLink"in fe&&i(22,D=fe.supportLink),"outerContainerRef"in fe&&i(23,ee=fe.outerContainerRef),"fullScreenTarget"in fe&&i(24,Te=fe.fullScreenTarget),"failoverHosts"in fe&&i(45,Re=fe.failoverHosts),"showMiniTimer"in fe&&i(25,Be=fe.showMiniTimer),"playNextVideo"in fe&&i(26,ze=fe.playNextVideo),"playPrevVideo"in fe&&i(27,_e=fe.playPrevVideo),"repeatPlaylist"in fe&&i(28,we=fe.repeatPlaylist),"seekToInteractive"in fe&&i(29,Q=fe.seekToInteractive),"toggleGraph"in fe&&i(30,$=fe.toggleGraph),"playPrevChapter"in fe&&i(31,ke=fe.playPrevChapter)},t.$$.update=()=>{t.$$.dirty[0]&32769&&o.ui.isMobile.set(V)},[o,r,a,c,f,h,b,k,y,I,ne,M,W,ie,L,V,x,Y,oe,j,C,G,D,ee,Te,Be,ze,_e,we,Q,$,ke,Ye,Ce,le,Ae,Me,n,s,l,p,_,w,v,P,Re,de,Pe,je,tt,Je,et,Et,pt,Oe,yt,Xt]}class qh extends be{constructor(e){super(),ge(this,e,Uh,Fh,he,{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},Dh,[-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 Zh(t){let e,i;return{c(){e=R("svg"),i=R("path"),u(i,"fill",t[0]),u(i,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){T(n,e,o),m(e,i)},p(n,[o]){o&1&&u(i,"fill",n[0])},i:Z,o:Z,d(n){n&&S(e)}}}function Wh(t,e,i){let{isWhite:n=!1}=e,o;return t.$$set=s=>{"isWhite"in s&&i(1,n=s.isWhite)},t.$$.update=()=>{t.$$.dirty&2&&i(0,o=n?"#fff":"#909499")},[o,n]}class Kh extends be{constructor(e){super(),ge(this,e,Wh,Zh,he,{isWhite:1})}}function jh(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 d1(t){let e,i;return{c(){e=E("div"),i=De(t[0]),u(e,"class","title v-1y9fytq")},m(n,o){T(n,e,o),m(e,i)},p(n,o){o&1&&xe(i,n[0])},d(n){n&&S(e)}}}function m1(t){let e,i;return e=new Kh({props:{isWhite:!!t[1]}}),{c(){U(e.$$.fragment)},m(n,o){O(e,n,o),i=!0},p(n,o){const s={};o&2&&(s.isWhite=!!n[1]),e.$set(s)},i(n){i||(d(e.$$.fragment,n),i=!0)},o(n){g(e.$$.fragment,n),i=!1},d(n){H(e,n)}}}function Gh(t){let e,i,n,o,s=t[0]&&d1(t),l=(!t[0]||!t[1])&&m1(t);return{c(){e=E("div"),s&&s.c(),i=N(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=t[1]?`background-image: url('${t[1]}')`:"")},m(r,a){T(r,e,a),s&&s.m(e,null),m(e,i),l&&l.m(e,null),o=!0},p(r,[a]){r[0]?s?s.p(r,a):(s=d1(r),s.c(),s.m(e,i)):s&&(s.d(1),s=null),!r[0]||!r[1]?l?(l.p(r,a),a&3&&d(l,1)):(l=m1(r),l.c(),d(l,1),l.m(e,null)):l&&(ue(),g(l,1,1,()=>{l=null}),ce()),(!o||a&2&&n!==(n=r[1]?`background-image: url('${r[1]}')`:""))&&u(e,"style",n)},i(r){o||(d(l),o=!0)},o(r){g(l),o=!1},d(r){r&&S(e),s&&s.d(),l&&l.d()}}}function Yh(t,e,i){let{title:n}=e,{thumbUrl:o}=e;return t.$$set=s=>{"title"in s&&i(0,n=s.title),"thumbUrl"in s&&i(1,o=s.thumbUrl)},[n,o]}class Qh extends be{constructor(e){super(),ge(this,e,Yh,Gh,he,{title:0,thumbUrl:1},jh)}}class Xh{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{throw new Error(`The media session action "${i}" is not supported yet.`)}}}function Jh(t){let e,i,n,o;return{c(){e=R("svg"),i=R("g"),n=R("path"),o=R("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(o,"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(s,l){T(s,e,l),m(e,i),m(i,n),m(i,o)},p:Z,i:Z,o:Z,d(s){s&&S(e)}}}class xh extends be{constructor(e){super(),ge(this,e,null,Jh,he,{})}}function $h(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 e5(t){let e,i,n,o,s,l,r;return n=new xh({}),{c(){e=E("div"),i=E("div"),U(n.$$.fragment),o=N(),s=E("span"),l=De(t[0]),u(i,"class","dummy-image v-1pbsod4"),B(i,"desktop",!t[1]),u(s,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),B(e,"is-pip-api",t[2])},m(a,c){T(a,e,c),m(e,i),O(n,i,null),m(e,o),m(e,s),m(s,l),r=!0},p(a,[c]){(!r||c&2)&&B(i,"desktop",!a[1]),(!r||c&1)&&xe(l,a[0])},i(a){r||(d(n.$$.fragment,a),r=!0)},o(a){g(n.$$.fragment,a),r=!1},d(a){a&&S(e),H(n)}}}function t5(t,e,i){let n,o;const s=mt(),l=!!s.webApi.pictureInPictureApi,r=s.interfaceLanguage$;z(t,r,f=>i(5,n=f));const a=s.ui.isMobile;z(t,a,f=>i(1,o=f));let c;return t.$$.update=()=>{t.$$.dirty&32&&i(0,c=n&&K("pip_dummy_title"))},[c,o,l,r,a,n]}class i5 extends be{constructor(e){super(),ge(this,e,t5,e5,he,{},$h)}}const n5=460,o5=280;class ju{playerDomElement;playerParentShadowRoot;playerDummyElement;svelteContext;pipWindow;info={isActive$:new Vl(!1),type:Mn.DocumentPictureInPicture};isSupported(){const e=Ml().browser===h1.Yandex,{isEmbed:i}=zc();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(){if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:n5,height:o5,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const e=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(l=>l.cssText).join(" ")).filter(Boolean).join(`
51
+ `),i=document.createElement("style");i.textContent=e;const n=this.createStretchedContainer(),o=n.attachShadow({mode:"open"});o.append(i),o.append(this.playerDomElement),this.playerDummyElement=new i5({target:this.playerParentShadowRoot,context:this.svelteContext}),this.pipWindow?.document.body.append(n),this.info.isActive$.next(!0),this.pipWindow?.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=>{documentPictureInPicture.window?.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function l5(t){return t instanceof ju}class s5{static getLatestSupportedVersion(){const e=new Hl,i=new ju;if(i.isSupported())return i;if(e.isSupported())return e}}function p1(t,e){const i=new Set([...Object.keys(t),...Object.keys(e)]),n={};for(const o of i)n[o]=e[o]??t[o]??void 0;return n}const r5="Inner error. Unexpectedly root annotation container null reference exception",a5="Annotation with such name already exists",u5="Annotation with such name does not exist";class Pl extends Error{constructor(e){super(e),this.name="AnnotationError"}}const c5="1",f5=100;class d5{rootAnnotationsContainer;annotations=new Map;subscriptions=new jn;mutationObserver;playerSize;constructor(e){this.rootAnnotationsContainer=e;const i=il(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},f5);this.subscriptions.add(Dc(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},i()})),this.mutationObserver=new MutationObserver(i),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,i){if(!this.rootAnnotationsContainer)throw new Pl(r5);if(this.annotations.has(e))throw new Pl(a5);i.style.zIndex=i.style.zIndex??c5,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 Pl(u5);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 o=e.offsetTop,s=e.offsetLeft,l=e.offsetWidth,r=e.offsetHeight;return o<0||s<0||s+l>i||o+r>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Ql{stateName;state$;subscription;init(e,i){return ct(e),ct(i),this.subscription=new jn,this.subscription}}class m5 extends Ql{stateName="fakeIsPlaying$";state$={...Ve(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(s=>{this.state$.set(s?!0:null)})),n}}class p5 extends Ql{stateName="interactiveControlsOpacity$";state$={...Ve(null),toggle:()=>this.state$.update(e=>!e)};init(e,i){const n=super.init(e,i),{fakeIsPlaying$:o}=i,{isInteractiveExpectation$:s,isPlaying$:l}=e.state,{controlsVisible:r,isMobile:a}=e.ui,c=$e(a),f=()=>c&&$e(r);return n.add(r.subscribe(p=>{if(!c)return;const h=$e(o);$e(l)?this.state$.set(p):h!==null&&this.state$.set(!h||p)})),n.add(l.subscribe(p=>{this.state$.set(!p||f())})),n.add(o.subscribe(p=>{if(p===null)return;const h=$e(s);if(f()){this.state$.set(!0);return}h&&this.state$.set(!p)})),n}}class h5 extends Ql{stateName="seekToInteractiveDisabledTooltip$";state$=Ve("tooltip_chapter_without_interactive");init(e,i){const n=super.init(e,i);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(s=>s.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const g5=()=>[m5,p5,h5].reduce(({subscribers:t,stores:e},i)=>{const n=new i;return{subscribers:[...t,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),b5={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Lo.RU,logoClickable:!1,logoHidden:!1,isMobile:Oc(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class _5 extends HTMLElement{svelteStubComponent;svelteRootComponent;store;microStoresRoot;statistics;sentry;_shadowRoot;playerContainer;rootContainer;uiConfig;coreConfig;interactiveController;interactiveContainer;graphMadePause;currentPlayingVideoIndex=0;needToRepeatPlaylist=!1;videoConfig=void 0;pictureInPictureApi=void 0;mediaSessionApi=void 0;unsubscribePlayerPhaseSubscription=void 0;logger;log;subscription;annotationsApi=void 0;createPlayerTimeout;prevIsid=void 0;isInited=!1;constructor(){super(),this.logger=new g1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new jn,this.graphMadePause=!1,window?.videoPlayerConfig?.debugLogs&&this.subscription.add(this.logger.log$.subscribe(e=>{console.log("%c player web component ","background:#77dd77;",`${e.component}`,e.message)}))}connectedCallback(){if(this.isInited)return;this.initPlayerRootContainers();const e=this.getAttribute("stub-title")??void 0,i=this.getAttribute("stub-thumb-url")??void 0;this.svelteStubComponent=new Qh({target:this.playerContainer,props:{title:e,thumbUrl:i}})}disconnectedCallback(){this.annotationsApi?.destroy(),this.svelteRootComponent?.$destroy(),this.svelteStubComponent?.$destroy(),this.subscription.unsubscribe(),this.unsubscribePlayerPhaseSubscription?.(),this.interactiveController?.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){return this.store?.ui.controls.disabledControls$?.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){if(!this.videoConfig)return;const{albumId:o,statPlace:s,statUserSalt:l,statAuthToken:r,statTrackCode:a,refreshStatAuthToken:c,preload:f,autoplay:p,volume:h,muted:_,fromTime:b,canRewindLive:w,supportLink:v,showAds:P,adsSlotId:k,adsParams:y={},adsPreviewParam:I,interfaceLanguage:ne,logoClickable:M,logoHidden:W,isMobile:ie,isAudioDisabled:L,isLiveCatchUpMode:V,fullScreenTarget:x,failoverHosts:Y,canDownload:oe,callbacks:j,interactiveData:C,showThumbTimer:G,additionalButtons:D=[],repeat:ee}=p1(this.videoConfig,i),{sources:Te,title:Re,thumbUrl:Be,videoLogoUrl:ze,unitedVideoId:_e,isClip:we=!1,duration:Q,adsParams:$={},videoEpisodes:ke,previewThumbsData:se,subtitles:We,live:Ae}=e,Ie={...y,...$},ae=this.getNextVideoInfo(),Ce={sources:Te,title:Re,thumbUrl:Be,subtitles:We,unitedVideoId:_e,isClip:we,live:Ae,albumId:o,statPlace:s,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:w,showAds:P,adsSlotId:k,adsParams:Ie,adsPreviewParam:I,duration:Q,logoClickable:M,logoHidden:W,isMobile:ie,repeat:ee,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ae.nextVideoTitle,endScreenVideoThumb:ae.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},pe={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Ce)}`});const le=this.uiConfig.features.statistics&&!!_e,{pid:Me}=this.videoConfig?.interactiveData?.projectInfo||{};le&&new To({movieId:_e,albumId:o,place:s,trackCode:a,autoplay:(p&&!this.interactiveController)??!1,mobile:ie,clip:we,...Me&&!this.isInited&&{projectId:Number(Me)}},{refreshAuthToken:c,userSalt:l,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Al(this.uiConfig.sentry,{version:zl,env:ff},{movieId:_e,albumId:o,place:s,autoplay:(p&&!this.interactiveController)??!1,mobile:ie,clip:we}),this.interactiveController&&(this.prevIsid??=To.getInstance()?.oneStat.isid$.getValue()),this.statistics={...this.statistics,...To.getInstance()},this.sentry={...this.sentry,...Al.getInstance()};const ye=!!C,Pe=[];let je="tooltip_interactive_go_back_disabled_first";if(ye&&this.interactiveController){const Ye=this.interactiveController.state.isInitialChapter$.getValue(),et=this.interactiveController.getHistoryState();Ye&&Pe.push(st.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Pe.push(st.SEEK_TO_INTERACTIVE_BUTTON),et.hasPrevChapter$.getValue()||(Pe.push(st.PLAY_PREV_CHAPTER_BUTTON),Ye||(et.isGoBackLimited$.getValue()?je="tooltip_interactive_go_back_disabled_limit":je="tooltip_interactive_go_back_disabled"))}const tt=()=>{this.isInited=!1,this.prevIsid=void 0;const Ye=n?.info.isEnded$.getValue()&&this.interactiveController?.state.isEndChapter$.getValue();j.onReplayInteractiveVideo&&!Ye?j.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=n3({player:n,interfaceLanguage:ne,videoId:_e,isClip:we,isLiveCatchUpMode:V,isAudioDisabled:L,statAuthToken:r,callbacks:j,webApi:pe,videoEpisodes:ke,previewThumbsData:se,canDownload:oe,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Pe,isInteractive:ye,interactiveRanges$:this.interactiveController?.state.interactiveRanges$,isInteractiveTime$:this.interactiveController?.state.isInteractiveTime$,replayInteractive:tt,playPrevChapterDisabledTooltip:je,hasInteractiveBranches:!!this.interactiveController?.getChapterBranches()?.length,additionalButtons:this.uiConfig.features.additionalButtons?D:[],looped:ee&&this.videoConfig.videos.length===1});const{stores:Je}=this.microStoresRoot=g5();this.subscription.add(this.store.state.currentFormat$.subscribe(Ye=>j?.onCurrentFormatChanged?.(Ye))),this.subscription.add(Je.interactiveControlsOpacity$.subscribe(Ye=>{Ye!==null&&this?.interactiveController?.setDisabledControls(Ye)})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Ye=>j?.onThroughputEstimationChanged?.(Ye))),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Ye=>j?.onTrafficSavingEnabledChanged?.(Ye))),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Ye=>j?.onCurrentPlaybackRateChanged?.(Ye))),this.subscription.add(this.store.state.volume$.subscribe(Ye=>j?.onVolumeChange?.(Ye))),this.subscription.add(this.store.state.muted$.subscribe(Ye=>Ye?j?.onMute?.():j?.onUnmute?.())),this.subscription.add(this.store.state.videoBitrate$.subscribe(Ye=>j?.onVideoBitrateChanged?.(Ye))),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Ye=>{const et=this.store?.ui.controls.disabledControls$;et&&(Ye&&!et.includes(xo)&&et.add(xo),Ye||et.remove(xo))})),this.initMediaSession(),this.interactiveController&&le&&this.initInteractivesStatistics(),this.svelteRootComponent=new qh({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Te,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Re,thumbUrl:Be,videoLogoUrl:ze,subtitles:We,live:Ae,preload:f,autoplay:p,muted:_,volume:h,fromTime:b,canRewindLive:w,supportLink:v,showAds:P,adsSlotId:k,adsParams:Ie,adsPreviewParam:I,duration:Q,logoClickable:M,logoHidden:W,isMobile:ie,failoverHosts:Y,fullScreenTarget:x,showMiniTimer:G,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:ae.nextVideoTitle,endScreenVideoThumb:ae.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,this.videoConfig?.callbacks?.onInited?.())}addPlayerInfoSubscriptions(){if(this.isInited)return;const e=this.store,i=this.videoConfig?.callbacks;i&&this.subscription.add(e.playerPhase.subscribe(o=>i.onPlayerPhaseChanged?.(o))).add(e.state.playbackState$.subscribe(o=>i.onPlaybackStateChanged?.(o))).add(e.state.isLive$.subscribe(o=>i.onIsLiveChanged?.(o))).add(e.state.isActiveLive$.subscribe(o=>i.onIsActiveLiveChanged?.(o))).add(e.state.isAudioAvailable$.subscribe(o=>i.onIsAudioAvailableChanged?.(o))).add(e.state.currentQuality$.subscribe(o=>i.onCurrentQualityChanged?.(o))).add(e.state.availableQualities$.subscribe(o=>i.onAvailableQualitiesChanged?.(o.map(({value:s})=>s).filter(s=>s!==mo.AUTO)))).add(e.ui.isPictureInPictureActive$.subscribe(o=>o?i.onPiPEnter?.():i.onPiPExit?.()));const n=i?.uiInfo;n&&this.subscription.add(e.ui.controlsVisible.subscribe(o=>n.onControlsVisibleChanged?.(o))).add(e.ui.isMobile.subscribe(o=>n.onIsMobileChanged?.(o))).add(e.ui.playerSize.subscribe(o=>n.onPlayerSizeChanged?.(o))).add(e.ui.controls.prevButton.subscribe(o=>n.onPrevButtonChanged?.(o))).add(e.ui.controls.playButton.subscribe(o=>n.onPlayButtonChanged?.(o))).add(e.ui.controls.replayButton.subscribe(o=>n.onReplayButtonChanged?.(o))).add(e.ui.controls.nextButton.subscribe(o=>n.onNextButtonChanged?.(o))).add(e.ui.controls.playPrevChapterButton.subscribe(o=>n.onPlayPrevChapterChanged?.(o))).add(e.ui.controls.seekToInteractiveButton.subscribe(o=>n.onSeekToInteractiveButtonChanged?.(o))).add(e.ui.controls.interactiveGraphButton.subscribe(o=>n.onGraphButtonChanged?.(o))).add(e.ui.controls.liveButton.subscribe(o=>n.onLiveButtonChanged?.(o))).add(e.ui.controls.time.subscribe(o=>n.onTimeUpdateChanged?.(o))).add(e.ui.controls.episodes.subscribe(o=>n.onEpisodesChanged?.(o))).add(e.ui.controls.subtitles.subscribe(o=>n.onSubtitlesChanged?.(o))).add(e.ui.controls.settings.subscribe(o=>n.onSettingsChanged?.(o))).add(e.ui.controls.fullscreen.subscribe(o=>n.onFullscreenChanged?.(o))).add(e.ui.controls.chromecast.subscribe(o=>n.onChromecastChanged?.(o))).add(e.ui.controls.pip.subscribe(o=>n.onPipChanged?.(o))).add(e.ui.controls.vkLogo.subscribe(o=>n.onVkLogoChanged?.(o))).add(e.ui.controls.interactiveTimeIcon.subscribe(o=>n.onInteractiveTimeIconChanged?.(o)))}playNextVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onNextVideoClick)try{e=this.videoConfig.callbacks.onNextVideoClick()}catch{this.log({message:"onNextVideoClick callback failed to execute"})}e&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){if(!this.videoConfig)return;let e=!0;if(this.videoConfig.callbacks?.onPrevVideoClick)try{e=this.videoConfig.callbacks.onPrevVideoClick()}catch{this.log({message:"onPrevVideoClick callback failed to execute"})}e&&(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){if(!this.videoConfig)return;const n=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!n){this.log({message:"no next video"});return}this.isInited&&gn(n.unitedVideoId)&&this.store.actions.internal.nextMovie(n.unitedVideoId),this.svelteRootComponent?.$destroy(),this.createPlayer(n,{autoplay:i,fromTime:0},e)}playPrevChapter(){this.interactiveController?.playPrevChapter()}seekToInteractive(){const e=this.interactiveController?.getNextInteractiveStartTime();typeof e=="number"&&this.seekTime(e/1e3)}toggleGraph(){if(!this.isInited)return;const e=this.store,{isEnded$:i,playbackState$:n,graphIsOpened$:o}=e.state,{disabledControls$:s}=e.ui.controls,l=$e(i),r=$e(n);$e(o)?(o.set(!1),this.interactiveController?.toggleGraphView(!1),s.remove(cs),!l&&this.graphMadePause&&this.play()):(this.graphMadePause=r==="playing",o.set(!0),this.interactiveController?.toggleGraphView(!0),s.add(cs),!l&&this.graphMadePause&&this.pause())}async initInteractives(){if(this.videoConfig?.interactiveData)try{const{Interactives:e,EVENT_NAMES:i,CustomError:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const o=this.store?.interfaceLanguage$,s=o?$e(o):this.videoConfig.interfaceLanguage,{projectInfo:l,initChapterId:r,historyApi:a,videoLoader:c}=this.videoConfig.interactiveData;this.interactiveController=new e({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:s,graph:this.uiConfig.features.interactiveGraph,projectInfo:l,initChapterId:r,historyApi:a,vkVideoLoader:c,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$:f}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(h=>{if(!this.isInited)return;const _=this.store;h?_.ui.controls.disabledControls$.remove(st.SEEK_TO_INTERACTIVE_BUTTON):_.ui.controls.disabledControls$.add(st.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(f.subscribe(h=>{this.store&&this.store.state.isInteractiveExpectation$.set(h)}));let p=!0;if(this.interactiveController.on(i.playerChanged,h=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...h.config,title:l?.title||h.config.title};const _=p?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(h.player,_),p&&(p=!1)}),this.interactiveController.on(i.interactives,({type:h,actionType:_})=>{if(!this.store)return;const b=f.getValue();if(h==="action-choice"&&_==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(E1)),h==="action-choice-canceled"){const w=$e(this.store.state.isPlaying$)||b;if(this.videoConfig?.isMobile&&w){this.store.ui.interactiveHideMobileControls.set(!0);return}this.videoConfig?.callbacks.onDisabledInteractiveClick?.()}}),this.videoConfig?.callbacks?.onInteractiveHistoryChanged){const h=this.interactiveController.getHistoryState();this.subscription.add(h.history$.subscribe(_=>{_.length&&this.videoConfig?.callbacks?.onInteractiveHistoryChanged?.(_)}))}this.interactiveController.events.noInteraction$.subscribe(()=>{this.videoConfig?.callbacks.onInteractiveTimeIconClick?.()}),this.interactiveController.on(i.errors,h=>{this.log({message:h.toString()})})}catch(e){this.log({message:e.message})}}async initInteractivesStatistics(){const{statSubscription:e,oneStat:i}=this.statistics;if(!(!e||!i||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:n}=await import("@vkontakte/videoplayer-interactive/evergreen.esm.js"),o={[n.GO_NEXT_BUTTON]:So.NEXT_BUTTON,[n.GO_NEXT_AREA]:So.NEXT_AREA,[n.WATCH_AGAIN]:So.WATCH_AGAIN,[n.OPEN_GRAPH]:So.GRAPH_SHOW,[n.CLOSE_GRAPH]:So.GRAPH_HIDE},{click$:s,nextMovie$:l}=this.interactiveController.getStatEvents(),r=new cn;s.subscribe(a=>{a in o?r.next(o[a]):(i?.logError({errorType:"InteractiveVideosAction",fatal:!1}),this.sentry.report?.(new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),e.add(i.attachToInteractive({click$:r,nextMovie$:l}))}catch(n){i?.logError({errorType:"InteractiveVideos",fatal:!1}),this.sentry.report?.(n,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,i={}){if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=p1(b5,Hc(e,n=>n instanceof HTMLElement?n:void 0)),this.uiConfig=tf(i.ui??{}),this.coreConfig=i.core??{configName:[]},this.statistics={config:i.statistics??{}},this.sentry={config:this.uiConfig.sentry??{}},gn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=this.videoConfig.isMediaSessionEnabled??!0),gn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=this.uiConfig.features.pip??this.videoConfig.isPictureInPictureEnabled??!0,this.uiConfig.features.dpip=this.uiConfig.features.dpip??this.videoConfig.isPictureInPictureEnabled??!0),this.videoConfig.isMobile=this.uiConfig.isMobile??this.videoConfig.isMobile,this.videoConfig.autoplay&&=this.uiConfig.features.autoplay,this.videoConfig.showAds=this.uiConfig.ads.enable??this.videoConfig.showAds,this.videoConfig.adsSlotId=this.uiConfig.ads.slot??this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=this.uiConfig.ads.preview??this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!(this.uiConfig.showLogo??!this.videoConfig.logoHidden),this.videoConfig.canRewindLive&&=this.uiConfig.features.liveRewind,this.videoConfig.supportLink=this.videoConfig.supportLink??this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=s5.getLatestSupportedVersion():this.pictureInPictureApi=new Hl),this.mediaSessionApi=this.uiConfig.features.mediaSession?new Xh:void 0,this.annotationsApi=this.uiConfig.features.annotations?new d5(this.rootContainer):void 0,this.svelteStubComponent?.$destroy(),this.svelteRootComponent?.$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]),l5(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){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 i=this.getNextVideoInfo();this.svelteRootComponent?.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:i.nextVideoTitle,endScreenVideoThumb:i.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){this.mediaSessionApi&&(this.unsubscribePlayerPhaseSubscription?.(),this.unsubscribePlayerPhaseSubscription=this.store?.playerPhase.subscribe(e=>{e===Ne.Video?this.setupMediaSessionForVideo():e===Ne.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",o=>this.seekTime(o.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(){this.isControlDisabled(st.PLAY_BUTTON)||this.store?.playerPhase.is(Ne.WaitingLive)||(this.log({message:"play"}),this.svelteRootComponent?.play())}pause(){this.log({message:"pause"}),this.svelteRootComponent?.pause()}stop(){if(!this.videoConfig)return;this.log({message:"stop"}),this.svelteStubComponent?.$destroy();const e=this.videoConfig.videos[0];e&&(this.svelteRootComponent?.$destroy(),this.createPlayer(e))}setMuted(e){this.log({message:`set muted, muted: ${e}`}),this.svelteRootComponent?.setMuted(e)}setVolume(e){this.log({message:`set volume, volume: ${e}`}),this.svelteRootComponent?.setVolume(e)}setRepeat(e){this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,this.svelteRootComponent?.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){this.isControlDisabled(st.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),this.svelteRootComponent?.seekTime(e))}seekEpisodeStartTime(e){this.log({message:`seek episode start time, time: ${e}`}),this.svelteRootComponent?.seekEpisodeStartTime(e)}returnFocusToEpisodes(){this.log({message:"return focus to episodes button"}),this.svelteRootComponent?.returnFocusToEpisodes()}setPlaybackRate(e){this.log({message:`set playback rate to: ${e}`}),this.svelteRootComponent?.setPlaybackRate(e)}setAutoQualityLimits(e){this.log({message:`set auto quality limitation. Max: ${e.max??"none"}. Min: ${e.min??"none"}`}),this.svelteRootComponent?.setAutoQualityLimits(e)}addLanguage(e){this.store?.actions.internal.addLanguage(e)}async setLanguage(e){await this.store?.actions.internal.setLanguage(e)}setLiveStart(e){this.log({message:"live started"}),this.store?.actions.internal.setWaitingLive(!1),this.svelteRootComponent?.initVideo(e),this.play()}setWaitRecord(){this.log({message:"post live"}),this.store?.actions.internal.setWaitingRecord(!0),this.store?.destroy()}setLiveEnd(e){this.log({message:"live ended"}),this.store?.actions.internal.setWaitingRecord(!1),this.svelteRootComponent?.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){return To.getInstance()?.oneStat.getDeviceId()??void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const P5=()=>{window.customElements.define("vk-video-player",_5)};export{kt as GridTypes,L5 as InterfaceLanguage,zl as VERSION,V5 as VKNumericLanguage,E5 as VideoFormat,I5 as VideoQuality,M5 as loadVKLangPack,P5 as registerPlayerWebComponent};