@vkontakte/videoplayer 1.1.35-dev.4390a6f1.0 → 1.1.35-dev.effe86bb.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es2018.esm.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @vkontakte/videoplayer v1.1.35-dev.4390a6f1.0
3
- * Fri, 03 May 2024 11:45:40 GMT
2
+ * @vkontakte/videoplayer v1.1.35-dev.effe86bb.0
3
+ * Mon, 13 May 2024 07:03:01 GMT
4
4
  * https://st.mycdn.me/static/vkontakte-videoplayer/1-1-35/doc/
5
5
  */
6
- var Kc=Object.defineProperty;var Yc=(i,e,t)=>e in i?Kc(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var cl=(i,e,t)=>(Yc(i,typeof e!="symbol"?e+"":e,t),t);import{VERSION as Xc,ChromecastState as _n,PlaybackState as Gt,VideoQuality as no,Player as Qc,VideoFormat as wo}from"@vkontakte/videoplayer-core/es2018.esm.js";import{VideoFormat as o_,VideoQuality as l_}from"@vkontakte/videoplayer-core/es2018.esm.js";import{InterfaceLanguage as Eo,VideoQuality as Go,fillWithDefault as Jc,VERSION as xc,assertNonNullable as vt,safeStorage as fn,isNullable as Qo,Subscription as Wn,isNonNullable as un,isMacLike as mr,debounceFn as F1,ValueSubject as Zl,getCurrentBrowser as Gl,CurrentClientBrowser as H1,noop as nt,checkNever as $c,timeCodeToString as e0,isIOS as U1,CurrentClientDevice as t0,getIOSVersion as i0,Subject as tn,addScript as n0,Logger as q1,merge as o0,Observable as l0,map as r0,loadVKLangPack as s0,getHighestQuality as a0,detectEmbed as u0,isMobile as c0,cloneDeepWith as f0}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{InterfaceLanguage as s_,VKNumericLanguage as a_,loadVKLangPack as u_}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{VERSION as d0,SeekAction as jt,OneStat as m0,InteractiveInterfaceClick as ko}from"@vkontakte/videoplayer-statistics/es2018.esm.js";function K(){}function W1(i,e){for(const t in e)i[t]=e[t];return i}function j1(i){return i()}function hr(){return Object.create(null)}function li(i){i.forEach(j1)}function Ln(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Oo;function pr(i,e){return Oo||(Oo=document.createElement("a")),Oo.href=e,i===Oo.href}function h0(i){return Object.keys(i).length===0}function el(i,...e){if(i==null){for(const n of e)n(void 0);return K}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function tt(i){let e;return el(i,t=>e=t)(),e}function W(i,e,t){i.$$.on_destroy.push(el(e,t))}function Vn(i,e,t,n){if(i){const o=Z1(i,e,t,n);return i[0](o)}}function Z1(i,e,t,n){return i[1]&&n?W1(t.ctx.slice(),i[1](n(e))):t.ctx}function In(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const l=[],r=Math.max(e.dirty.length,o.length);for(let s=0;s<r;s+=1)l[s]=e.dirty[s]|o[s];return l}return e.dirty|o}return e.dirty}function Mn(i,e,t,n,o,l){if(o){const r=Z1(e,t,n,l);i.p(r,o)}}function Rn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function p0(i){return i==null?"":i}const G1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function d(i,e){i.appendChild(e)}function qe(i,e,t){const n=v0(i);if(!n.getElementById(e)){const o=k("style");o.id=e,o.textContent=t,g0(n,o)}}function v0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function g0(i,e){return d(i.head||i,e),e.sheet}function S(i,e,t){i.insertBefore(e,t||null)}function y(i){i.parentNode&&i.parentNode.removeChild(i)}function cn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function k(i){return document.createElement(i)}function I(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ze(i){return document.createTextNode(i)}function N(){return ze(" ")}function _t(){return ze("")}function Ee(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function yi(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ct(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function _0(i){return Array.from(i.childNodes)}function it(i,e){e=""+e,i.data!==e&&(i.data=e)}function Ft(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let zo;function b0(){if(zo===void 0){zo=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){zo=!0}}return zo}function tl(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=k("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=b0();let l;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",l=Ee(window,"message",r=>{r.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{l=Ee(n.contentWindow,"resize",e),e()}),d(i,n),()=>{(o||l&&n.contentWindow)&&l(),y(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function bn(i,e){return new i(e)}let Po;function Co(i){Po=i}function Ao(){if(!Po)throw new Error("Function called outside component initialization");return Po}function Qi(i){Ao().$$.on_mount.push(i)}function il(i){Ao().$$.on_destroy.push(i)}function Ol(i,e){return Ao().$$.context.set(i,e),e}function Kl(i){return Ao().$$.context.get(i)}function K1(){return Ao().$$.context}function uo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const oo=[],We=[];let so=[];const zl=[],w0=Promise.resolve();let Dl=!1;function k0(){Dl||(Dl=!0,w0.then(Y1))}function Zn(i){so.push(i)}function Ct(i){zl.push(i)}const fl=new Set;let Jn=0;function Y1(){if(Jn!==0)return;const i=Po;do{try{for(;Jn<oo.length;){const e=oo[Jn];Jn++,Co(e),y0(e.$$)}}catch(e){throw oo.length=0,Jn=0,e}for(Co(null),oo.length=0,Jn=0;We.length;)We.pop()();for(let e=0;e<so.length;e+=1){const t=so[e];fl.has(t)||(fl.add(t),t())}so.length=0}while(oo.length);for(;zl.length;)zl.pop()();Dl=!1,fl.clear(),Co(i)}function y0(i){if(i.fragment!==null){i.update(),li(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Zn)}}function S0(i){const e=[],t=[];so.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),so=e}const Ko=new Set;let qn;function me(){qn={r:0,c:[],p:qn}}function he(){qn.r||li(qn.c),qn=qn.p}function m(i,e){i&&i.i&&(Ko.delete(i),i.i(e))}function v(i,e,t,n){if(i&&i.o){if(Ko.has(i))return;Ko.add(i),qn.c.push(()=>{Ko.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function Kt(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function C0(i,e){const t={},n={},o={$$scope:1};let l=i.length;for(;l--;){const r=i[l],s=e[l];if(s){for(const a in r)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[l]=s}else for(const a in r)o[a]=1}for(const r in n)r in t||(t[r]=void 0);return t}function P0(i){return typeof i=="object"&&i!==null?i:{}}function Pt(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function F(i){i&&i.c()}function z(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Zn(()=>{const l=i.$$.on_mount.map(j1).filter(Ln);i.$$.on_destroy?i.$$.on_destroy.push(...l):li(l),i.$$.on_mount=[]}),o.forEach(Zn)}function D(i,e){const t=i.$$;t.fragment!==null&&(S0(t.after_update),li(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function T0(i,e){i.$$.dirty[0]===-1&&(oo.push(i),k0(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function ke(i,e,t,n,o,l,r,s=[-1]){const a=Po;Co(i);const c=i.$$={fragment:null,ctx:[],props:l,update:K,not_equal:o,bound:hr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:hr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};r&&r(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(h,p,..._)=>{const g=_.length?_[0]:p;return c.ctx&&o(c.ctx[h],c.ctx[h]=g)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](g),f&&T0(i,h)),p}):[],c.update(),f=!0,li(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const h=_0(e.target);c.fragment&&c.fragment.l(h),h.forEach(y)}else c.fragment&&c.fragment.c();e.intro&&m(i.$$.fragment),z(i,e.target,e.anchor),Y1()}Co(a)}class ye{constructor(){cl(this,"$$");cl(this,"$$set")}$destroy(){D(this,1),this.$destroy=K}$on(e,t){if(!Ln(t))return K;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!h0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const E0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(E0);var co;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(co||(co={}));const A0={isMobile:void 0,defaultLanguage:Eo.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:co.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:Go.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},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}},L0=i=>Jc(i,A0),V0=i=>Ol("ui-config",i),Ji=()=>Kl("ui-config"),Fl="vk_player_debug_panel_opened",X1=300,I0="videoplayer",M0="videoplayer";var Ue;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash"})(Ue||(Ue={}));const nl={[Ue.KeyF]:"f",[Ue.KeyK]:"k",[Ue.KeyC]:"c",[Ue.KeyM]:"m"},R0=new Set([Ue.ArrowLeft,Ue.ArrowRight,Ue.KeyL,Ue.KeyJ]);var pt;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(pt||(pt={}));const vr=40,N0=4,B0=60,yo=8,Q1=[pt.TIMELINE],Yo=[...Q1,pt.GRAPH_BUTTON],gr=[...Q1,pt.PLAY_BUTTON],J1=[...Yo,pt.PLAY_BUTTON];var lo;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(lo||(lo={}));var Vt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Vt||(Vt={}));const fo={[Vt.XS]:0,[Vt.S]:1,[Vt.M]:2,[Vt.L]:3,[Vt.XL]:4},xn=[];function gn(i,e){return{subscribe:He(i,e).subscribe}}function He(i,e=K){let t;const n=new Set;function o(s){if(_e(i,s)&&(i=s,t)){const a=!xn.length;for(const c of n)c[1](),xn.push(c,i);if(a){for(let c=0;c<xn.length;c+=2)xn[c][0](xn[c+1]);xn.length=0}}}function l(s){o(s(i))}function r(s,a=K){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,l)||K),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:l,subscribe:r}}function oi(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=e.length<2;return gn(t,(r,s)=>{let a=!1;const c=[];let f=0,h=K;const p=()=>{if(f)return;h();const g=e(n?c[0]:c,r,s);l?r(g):h=Ln(g)?g:K},_=o.map((g,b)=>el(g,L=>{c[b]=L,f&=~(1<<b),a&&p()},()=>{f|=1<<b}));return a=!0,p(),function(){li(_),h(),a=!1}})}const O0="prod",Yl="1.1.35-dev.4390a6f1.0",x1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},$1=Symbol("storeContext"),eu=Symbol("microStoresContext"),z0=(i,e)=>{Ol($1,i),Ol(eu,e)},Tt=()=>{const i=Kl($1);return vt(i,"Store context is empty!"),i},tu=()=>{const i=Kl(eu);return vt(i,"MicroStores context is empty!"),i},yt=(i,e)=>iu(i,i.getValue(),e),iu=(i,e,t)=>gn(e,n=>{const o=i.subscribe(l=>{n(l),t==null||t(l)});return()=>o.unsubscribe()}),D0=(i,e,t)=>{var n,o,l,r;const s=i.info,{width:a,height:c}=tt(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,h=(r=(l=s.rttEstimation$.getValue())===null||l===void 0?void 0:l.toFixed(0))!==null&&r!==void 0?r:0,p=s.isAutoQualityEnabled$.getValue()?"auto":"manual",_=`${Yl} (core: ${Xc}, stat: ${d0}, shared: ${xc})`,g=tt(t.state.errorLog$),b=g.length?`
7
- `+g.map((w,C)=>{var B;const R=`${C}) Type: ${w.id}
8
- `,U=`Message: ${w.message} (${w.thrown})
9
- `,Y=`Trace: ${(B=w.thrown)===null||B===void 0?void 0:B.stack}
10
- `;return R+U+Y}).join(`
11
- `):void 0,L=t.state.isAudioDisabled?"disabled":tt(t.state.isAudioAvailable$)?void 0:"unavailable",E={Version:_,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${h}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${p} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:L,Position:`${tt(t.state.positionExact$)}s`,State:`${tt(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:b};return Object.entries(E).filter(([w,C])=>C!==void 0).map(([w,C])=>`${w}: ${C}`).join(`
12
- `)},F0=(i,e,t)=>{const n=i.info,{width:o,height:l}=tt(t.ui.playerSize),r={version:Yl,viewport:`${o}x${l}`,volume:Math.round(tt(t.state.volume$)*100)};r.id=t.videoId,n.currentFormat$.getValue()&&(r.provider=n.currentFormat$.getValue()),n.hostname$.getValue()&&(r.cdn=n.hostname$.getValue());const c=n.intrinsicVideoSize$.getValue();c&&(r.videoSize=`${c.width}x${c.height}`);const f=n.currentBuffer$.getValue();f&&(r.buffer=Math.max(f.end-tt(t.state.positionExact$),0));const h=n.throughputEstimation$.getValue();h&&(r.speed=h);const p=n.videoBitrate$.getValue();return p&&(r.bitrate=p),r},H0=(i,e)=>x1(i,e,"mp4"),nu="vk_player_prefer_traffic_saving_enabled",ou="vk_player_preferred_volume",lu="vk_player_prefer_volume_mute",Xl="vk_player_preferred_quality",ru=i=>i>1?1:i<0?0:i,_r=i=>fn.set(ou,ru(i).toString(10)),su=()=>{const i=fn.get(ou);return Qo(i)?void 0:ru(parseFloat(i))},U0=(i,e)=>fn.set(Xl,JSON.stringify({videoId:i,value:e})),au=()=>fn.remove(Xl),q0=i=>{const e=fn.get(Xl);if(Qo(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){au();return}return n},uu=(i,e)=>{e?fn.set(i,"true"):fn.remove(i)},cu=i=>fn.get(i)==="true",dl=i=>uu(lu,i),W0=()=>cu(lu),j0=i=>uu(nu,i),Z0=()=>cu(nu);function G0(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=I("path"),a=I("defs"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),_=I("feGaussianBlur"),g=I("feColorMatrix"),b=I("feBlend"),L=I("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(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"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(l,"fill","#fff"),u(r,"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(r,"fill","#fff"),u(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_618_12297"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_618_12297"),u(L,"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",E=!i[0]||null),u(e,"aria-label",w=i[0]||null)},m(C,B){S(C,e,B),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(e,a),d(a,c),d(c,f),d(c,h),d(c,p),d(c,_),d(c,g),d(c,b),d(c,L)},p(C,[B]){B&1&&E!==(E=!C[0]||null)&&u(e,"aria-hidden",E),B&1&&w!==(w=C[0]||null)&&u(e,"aria-label",w)},i:K,o:K,d(C){C&&y(e)}}}function K0(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class fu extends ye{constructor(e){super(),ke(this,e,K0,G0,_e,{ariaLabel:0})}}var ml=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Y0(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var Do=function(i){return i&&i.Math==Math&&i},Fn=Do(typeof globalThis=="object"&&globalThis)||Do(typeof window=="object"&&window)||Do(typeof self=="object"&&self)||Do(typeof ml=="object"&&ml)||function(){return this}()||ml||Function("return this")(),Gn=function(i){try{return!!i()}catch(e){return!0}},X0=Gn,ol=!X0(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),Q0=ol,du=Function.prototype,br=du.apply,wr=du.call,J0=typeof Reflect=="object"&&Reflect.apply||(Q0?wr.bind(br):function(){return wr.apply(br,arguments)}),mu=ol,hu=Function.prototype,Hl=hu.call,x0=mu&&hu.bind.bind(Hl,Hl),Hn=mu?x0:function(i){return function(){return Hl.apply(i,arguments)}},pu=Hn,$0=pu({}.toString),ef=pu("".slice),ll=function(i){return ef($0(i),8,-1)},tf=ll,nf=Hn,vu=function(i){if(tf(i)==="Function")return nf(i)},Ul=typeof document=="object"&&document.all,of=typeof Ul=="undefined"&&Ul!==void 0,gu={all:Ul,IS_HTMLDDA:of},_u=gu,lf=_u.all,Nn=_u.IS_HTMLDDA?function(i){return typeof i=="function"||i===lf}:function(i){return typeof i=="function"},bu={},rf=Gn,Lo=!rf(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),sf=ol,Fo=Function.prototype.call,Vo=sf?Fo.bind(Fo):function(){return Fo.apply(Fo,arguments)},wu={},ku={}.propertyIsEnumerable,yu=Object.getOwnPropertyDescriptor,af=yu&&!ku.call({1:2},1);wu.f=af?function(e){var t=yu(this,e);return!!t&&t.enumerable}:ku;var Su=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},uf=Hn,cf=Gn,ff=ll,hl=Object,df=uf("".split),mf=cf(function(){return!hl("z").propertyIsEnumerable(0)})?function(i){return ff(i)=="String"?df(i,""):hl(i)}:hl,Ql=function(i){return i==null},hf=Ql,pf=TypeError,Jl=function(i){if(hf(i))throw pf("Can't call method on "+i);return i},vf=mf,gf=Jl,_f=function(i){return vf(gf(i))},kr=Nn,Cu=gu,bf=Cu.all,Io=Cu.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:kr(i)||i===bf}:function(i){return typeof i=="object"?i!==null:kr(i)},Pu={},pl=Pu,vl=Fn,wf=Nn,yr=function(i){return wf(i)?i:void 0},Tu=function(i,e){return arguments.length<2?yr(pl[i])||yr(vl[i]):pl[i]&&pl[i][e]||vl[i]&&vl[i][e]},kf=Hn,Eu=kf({}.isPrototypeOf),yf=typeof navigator!="undefined"&&String(navigator.userAgent)||"",Au=Fn,gl=yf,Sr=Au.process,Cr=Au.Deno,Pr=Sr&&Sr.versions||Cr&&Cr.version,Tr=Pr&&Pr.v8,an,Jo;Tr&&(an=Tr.split("."),Jo=an[0]>0&&an[0]<4?1:+(an[0]+an[1]));!Jo&&gl&&(an=gl.match(/Edge\/(\d+)/),(!an||an[1]>=74)&&(an=gl.match(/Chrome\/(\d+)/),an&&(Jo=+an[1])));var Sf=Jo,Er=Sf,Cf=Gn,Pf=Fn,Tf=Pf.String,Lu=!!Object.getOwnPropertySymbols&&!Cf(function(){var i=Symbol();return!Tf(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&Er&&Er<41}),Ef=Lu,Vu=Ef&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Af=Tu,Lf=Nn,Vf=Eu,If=Vu,Mf=Object,Iu=If?function(i){return typeof i=="symbol"}:function(i){var e=Af("Symbol");return Lf(e)&&Vf(e.prototype,Mf(i))},Rf=String,Nf=function(i){try{return Rf(i)}catch(e){return"Object"}},Bf=Nn,Of=Nf,zf=TypeError,Mu=function(i){if(Bf(i))return i;throw zf(Of(i)+" is not a function")},Df=Mu,Ff=Ql,Ru=function(i,e){var t=i[e];return Ff(t)?void 0:Df(t)},_l=Vo,bl=Nn,wl=Io,Hf=TypeError,Uf=function(i,e){var t,n;if(e==="string"&&bl(t=i.toString)&&!wl(n=_l(t,i))||bl(t=i.valueOf)&&!wl(n=_l(t,i))||e!=="string"&&bl(t=i.toString)&&!wl(n=_l(t,i)))return n;throw Hf("Can't convert object to primitive value")},Nu={exports:{}},Ar=Fn,qf=Object.defineProperty,Wf=function(i,e){try{qf(Ar,i,{value:e,configurable:!0,writable:!0})}catch(t){Ar[i]=e}return e},jf=Fn,Zf=Wf,Lr="__core-js_shared__",Gf=jf[Lr]||Zf(Lr,{}),Kf=Gf,Vr=Kf;(Nu.exports=function(i,e){return Vr[i]||(Vr[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Yf=Nu.exports,Xf=Jl,Qf=Object,Bu=function(i){return Qf(Xf(i))},Jf=Hn,xf=Bu,$f=Jf({}.hasOwnProperty),rl=Object.hasOwn||function(e,t){return $f(xf(e),t)},ed=Hn,td=0,id=Math.random(),nd=ed(1 .toString),od=function(i){return"Symbol("+(i===void 0?"":i)+")_"+nd(++td+id,36)},ld=Fn,rd=Yf,Ir=rl,sd=od,ad=Lu,ud=Vu,ro=ld.Symbol,kl=rd("wks"),cd=ud?ro.for||ro:ro&&ro.withoutSetter||sd,Mo=function(i){return Ir(kl,i)||(kl[i]=ad&&Ir(ro,i)?ro[i]:cd("Symbol."+i)),kl[i]},fd=Vo,Mr=Io,Rr=Iu,dd=Ru,md=Uf,hd=Mo,pd=TypeError,vd=hd("toPrimitive"),gd=function(i,e){if(!Mr(i)||Rr(i))return i;var t=dd(i,vd),n;if(t){if(e===void 0&&(e="default"),n=fd(t,i,e),!Mr(n)||Rr(n))return n;throw pd("Can't convert object to primitive value")}return e===void 0&&(e="number"),md(i,e)},_d=gd,bd=Iu,Ou=function(i){var e=_d(i,"string");return bd(e)?e:e+""},wd=Fn,Nr=Io,ql=wd.document,kd=Nr(ql)&&Nr(ql.createElement),yd=function(i){return kd?ql.createElement(i):{}},Sd=Lo,Cd=Gn,Pd=yd,zu=!Sd&&!Cd(function(){return Object.defineProperty(Pd("div"),"a",{get:function(){return 7}}).a!=7}),Td=Lo,Ed=Vo,Ad=wu,Ld=Su,Vd=_f,Id=Ou,Md=rl,Rd=zu,Br=Object.getOwnPropertyDescriptor;bu.f=Td?Br:function(e,t){if(e=Vd(e),t=Id(t),Rd)try{return Br(e,t)}catch(n){}if(Md(e,t))return Ld(!Ed(Ad.f,e,t),e[t])};var Nd=Gn,Bd=Nn,Od=/#|\.prototype\./,Ro=function(i,e){var t=Dd[zd(i)];return t==Hd?!0:t==Fd?!1:Bd(e)?Nd(e):!!e},zd=Ro.normalize=function(i){return String(i).replace(Od,".").toLowerCase()},Dd=Ro.data={},Fd=Ro.NATIVE="N",Hd=Ro.POLYFILL="P",Ud=Ro,Or=vu,qd=Mu,Wd=ol,jd=Or(Or.bind),Zd=function(i,e){return qd(i),e===void 0?i:Wd?jd(i,e):function(){return i.apply(e,arguments)}},Du={},Gd=Lo,Kd=Gn,Yd=Gd&&Kd(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Xd=Io,Qd=String,Jd=TypeError,Fu=function(i){if(Xd(i))return i;throw Jd(Qd(i)+" is not an object")},xd=Lo,$d=zu,e2=Yd,Ho=Fu,zr=Ou,t2=TypeError,yl=Object.defineProperty,i2=Object.getOwnPropertyDescriptor,Sl="enumerable",Cl="configurable",Pl="writable";Du.f=xd?e2?function(e,t,n){if(Ho(e),t=zr(t),Ho(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Pl in n&&!n[Pl]){var o=i2(e,t);o&&o[Pl]&&(e[t]=n.value,n={configurable:Cl in n?n[Cl]:o[Cl],enumerable:Sl in n?n[Sl]:o[Sl],writable:!1})}return yl(e,t,n)}:yl:function(e,t,n){if(Ho(e),t=zr(t),Ho(n),$d)try{return yl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw t2("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var n2=Lo,o2=Du,l2=Su,r2=n2?function(i,e,t){return o2.f(i,e,l2(1,t))}:function(i,e,t){return i[e]=t,i},Uo=Fn,s2=J0,a2=vu,u2=Nn,c2=bu.f,f2=Ud,$n=Pu,d2=Zd,eo=r2,Dr=rl,m2=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return s2(i,this,arguments)};return e.prototype=i.prototype,e},h2=function(i,e){var t=i.target,n=i.global,o=i.stat,l=i.proto,r=n?Uo:o?Uo[t]:(Uo[t]||{}).prototype,s=n?$n:$n[t]||eo($n,t,{})[t],a=s.prototype,c,f,h,p,_,g,b,L,E;for(p in e)c=f2(n?p:t+(o?".":"#")+p,i.forced),f=!c&&r&&Dr(r,p),g=s[p],f&&(i.dontCallGetSet?(E=c2(r,p),b=E&&E.value):b=r[p]),_=f&&b?b:e[p],!(f&&typeof g==typeof _)&&(i.bind&&f?L=d2(_,Uo):i.wrap&&f?L=m2(_):l&&u2(_)?L=a2(_):L=_,(i.sham||_&&_.sham||g&&g.sham)&&eo(L,"sham",!0),eo(s,p,L),l&&(h=t+"Prototype",Dr($n,h)||eo($n,h,{}),eo($n[h],p,_),i.real&&a&&(c||!a[p])&&eo(a,p,_)))},p2=Io,v2=ll,g2=Mo,_2=g2("match"),b2=function(i){var e;return p2(i)&&((e=i[_2])!==void 0?!!e:v2(i)=="RegExp")},w2=Mo,k2=w2("toStringTag"),Hu={};Hu[k2]="z";var y2=String(Hu)==="[object z]",S2=y2,C2=Nn,Xo=ll,P2=Mo,T2=P2("toStringTag"),E2=Object,A2=Xo(function(){return arguments}())=="Arguments",L2=function(i,e){try{return i[e]}catch(t){}},V2=S2?Xo:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=L2(e=E2(i),T2))=="string"?t:A2?Xo(e):(n=Xo(e))=="Object"&&C2(e.callee)?"Arguments":n},I2=V2,M2=String,R2=function(i){if(I2(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return M2(i)},N2=Fu,B2=function(){var i=N2(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},O2=Vo,z2=rl,D2=Eu,F2=B2,Fr=RegExp.prototype,H2=function(i){var e=i.flags;return e===void 0&&!("flags"in Fr)&&!z2(i,"flags")&&D2(Fr,i)?O2(F2,i):e},xl=Hn,U2=Bu,q2=Math.floor,Tl=xl("".charAt),W2=xl("".replace),El=xl("".slice),j2=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Z2=/\$([$&'`]|\d{1,2})/g,G2=function(i,e,t,n,o,l){var r=t+i.length,s=n.length,a=Z2;return o!==void 0&&(o=U2(o),a=j2),W2(l,a,function(c,f){var h;switch(Tl(f,0)){case"$":return"$";case"&":return i;case"`":return El(e,0,t);case"'":return El(e,r);case"<":h=o[El(f,1,-1)];break;default:var p=+f;if(p===0)return c;if(p>s){var _=q2(p/10);return _===0?c:_<=s?n[_-1]===void 0?Tl(f,1):n[_-1]+Tl(f,1):c}h=n[p-1]}return h===void 0?"":h})},K2=h2,Y2=Vo,$l=Hn,Hr=Jl,X2=Nn,Q2=Ql,J2=b2,to=R2,x2=Ru,$2=H2,e4=G2,t4=Mo,i4=t4("replace"),n4=TypeError,Uu=$l("".indexOf),o4=$l("".replace),Ur=$l("".slice),l4=Math.max,qr=function(i,e,t){return t>i.length?-1:e===""?t:Uu(i,e,t)};K2({target:"String",proto:!0},{replaceAll:function(e,t){var n=Hr(this),o,l,r,s,a,c,f,h,p,_=0,g=0,b="";if(!Q2(e)){if(o=J2(e),o&&(l=to(Hr($2(e))),!~Uu(l,"g")))throw n4("`.replaceAll` does not allow non-global regexes");if(r=x2(e,i4),r)return Y2(r,e,n,t);if(o)return o4(to(n),e,t)}for(s=to(n),a=to(e),c=X2(t),c||(t=to(t)),f=a.length,h=l4(1,f),_=qr(s,a,0);_!==-1;)p=c?to(t(a,_,s)):e4(a,s,_,[],void 0,t),b+=Ur(s,g,_)+p,g=_+f,_=qr(s,a,_+h);return g<s.length&&(b+=Ur(s,g)),b}});var r4=Tu,s4=r4,a4=s4,u4=a4("String","replaceAll"),c4=u4,f4=c4,d4=f4,m4=d4,h4=Y0(m4);const p4={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_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:"\u041A\u043D\u043E\u043F\u043A\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u0430",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_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_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_menu_quality:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\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_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",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",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},v4={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_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:"Button is disabled during interactive video",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_spherical_control:"Spherical video control. Use the arrow keys to pan the video.",aria_label_new_tab_alert:"Opens in a new tab.",aria_label_menu_quality:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current 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_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},Tn=new Map;Tn.set(Eo.EN,v4);Tn.set(Eo.RU,p4);const qu=new Map,Wr=({language:i,pack:e,fallback:t})=>{if(Tn.has(i)){const n=Tn.get(i);Tn.set(i,{...n,...e})}else Tn.set(i,e);qu.set(i,t)},jr=i=>Tn.has(i),Wu=(i,e,t,n)=>{var o;const l=Tn.get(i);let r=l==null?void 0:l[e];if(Qo(r)){const s=(o=qu.get(i))!==null&&o!==void 0?o:n,a=s?Tn.get(s):void 0;r=a==null?void 0:a[e]}return Qo(r)?e+Object.values(t!=null?t:{}).join(" "):t?h4(r,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):r},Z=(i,e)=>{const{interfaceLanguage$:t}=Tt(),n=tt(t),o=Ji();return Wu(n,i,e,o.defaultLanguage)};var xo;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(xo||(xo={}));const g4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,_4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,b4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,qo="?",w4="X-Sentry-Auth",k4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function y4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
- `);let n,o;for(let l=0;l<t.length;++l){if(n=g4.exec(t[l]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||qo,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=b4.exec(t[l]))o={filename:n[2],function:n[1]||qo,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=_4.exec(t[l]))l===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||qo,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=qo),e.push(o)}return e.length?{value:ju(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function ju(i){return(i&&i.message||"No error message").split(`
14
- `).filter(t=>!!t)[0]}function S4(i){try{const e=y4(i);if(e)return e}catch(e){}return{value:ju(i),type:i&&i.name,stacktrace:{frames:[]}}}function C4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class P4{constructor(e){if(e&&e.dsn){const t=k4.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),l=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(l?"/"+l:"")+"/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:[S4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(w4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:C4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Zr(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function T4(){return window}class er extends P4{constructor(e,t=T4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:l=c=>c,blacklistUrls:r=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=l,this.blacklistUrls=r,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new er({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>Zr(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Zr(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],l=Array.isArray(o)?o:null,r=e[n],s=Array.isArray(r)?r:null;return{...t,[n]:l||s?[...l||[],...s||[]]:{...typeof o!="string"?o:{},...typeof r!="string"?r:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let Wo=null;class Wl{constructor(e,t,n={}){!Wo&&e.dsn&&(this.sentryClient=new er({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new Wn,this.options=e,this.context=n,Wo=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),Wo=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:l,options:r}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:h}=r,{errorType:p,category:_}=t;if(un(_)&&h.includes(_)||un(p)&&f.includes(p))return;if(Math.random()<=s||un(_)&&c.includes(_)||un(p)&&a.includes(p)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(l).length||Object.keys(n).length)&&o.setExtras({...l,...n});try{p&&o.captureMessage(p,t.fatal?xo.fatal:xo.error),o.report(e)}catch(b){console.error(b)}}}static getInstance(){return Wo}}var ao;(function(i){i.AUTO="auto"})(ao||(ao={}));var Ne;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Ne||(Ne={}));var Pn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Pn||(Pn={}));var Jt;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(Jt||(Jt={}));var En;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(En||(En={}));var Ye;(function(i){i.PLAY="PLAY",i.STOP="STOP",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ye||(Ye={}));var jn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(jn||(jn={}));const Zu=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Gu=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),E4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},To=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Ku=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Yu=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},A4=i=>{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")(i))},L4=()=>({title:Z("hotkey_map_modal_title"),closeBtnText:Z("hotkey_map_modal_close_btn_text"),groups:[{title:Z("hotkey_map_group_title_common"),items:[{description:Z("hotkey_map_item_mute_description"),value:Z("hotkey_map_item_mute_value")},{description:Z("hotkey_map_item_volume_up_description"),value:Z("hotkey_map_item_volume_up_value")},{description:Z("hotkey_map_item_volume_down_description"),value:Z("hotkey_map_item_volume_down_value")},{description:Z("hotkey_map_item_pip_description"),value:Z("hotkey_map_item_pip_value")},{description:Z("hotkey_map_item_full_screen_description"),value:Z("hotkey_map_item_full_screen_value")},{description:Z("hotkey_map_item_show_hotkey_map_description"),value:Z("hotkey_map_item_show_hotkey_map_value")}]},{title:Z("hotkey_map_group_title_playback"),items:[{description:Z("hotkey_map_item_play_toggle_description"),value:Z("hotkey_map_item_play_toggle_value")},{description:Z("hotkey_map_item_seek_backward_description"),value:Z("hotkey_map_item_seek_backward_value")},{description:Z("hotkey_map_item_seek_forward_description"),value:Z("hotkey_map_item_seek_forward_value")},{description:Z("hotkey_map_item_fast_seek_backward_description"),value:Z("hotkey_map_item_fast_seek_backward_value")},{description:Z("hotkey_map_item_fast_seek_forward_description"),value:Z("hotkey_map_item_fast_seek_forward_value")},{description:Z("hotkey_map_item_rate_down_description"),value:Z("hotkey_map_item_rate_down_value")},{description:Z("hotkey_map_item_rate_up_description"),value:Z("hotkey_map_item_rate_up_value")},{description:Z("hotkey_map_item_prev_frame_description"),value:Z("hotkey_map_item_prev_frame_value")},{description:Z("hotkey_map_item_next_frame_description"),value:Z("hotkey_map_item_next_frame_value")},{description:Z("hotkey_map_item_jump_seek_description"),value:Z("hotkey_map_item_jump_seek_value")}]},{title:Z("hotkey_map_group_title_subtitles"),items:[{description:Z("hotkey_map_item_subtitles_toggle_description"),value:Z("hotkey_map_item_subtitles_toggle_value")}]},{title:Z("hotkey_map_group_title_episodes"),items:[{description:Z("hotkey_map_item_prev_episode_description"),value:mr()?Z("hotkey_map_item_prev_episode_mac_value"):Z("hotkey_map_item_prev_episode_pc_value")},{description:Z("hotkey_map_item_next_episode_description"),value:mr()?Z("hotkey_map_item_next_episode_mac_value"):Z("hotkey_map_item_next_episode_pc_value")}]}]});class tr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:F1(this.onResize.bind(this),X1)},this.info={isActive$:new Zl(this.isActive()),type:En.PictureInPicture}}isSupported(){const e=Gl().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(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(t){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;const l=e.pictureInPictureWindow;l&&(this.info.isActive$.next(!0),this.isRequested=!0,l.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const r=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,r==null||r.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function $o(i){return i instanceof tr}function V4(i){const e=Tt();return Qi(()=>{e.getAdmanWrapper().startPostroll()}),[]}class I4 extends ye{constructor(e){super(),ke(this,e,V4,null,_e,{})}}function M4(i){qe(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function R4(i){let e=Z("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=ze(e)},m(n,o){S(n,t,o)},p(n,o){o&3&&e!==(e=Z("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&it(t,e)},d(n){n&&y(t)}}}function N4(i){let e,t=Z("skip_ads_now")+"",n,o,l,r,s,a;return{c(){e=k("div"),n=ze(t),o=N(),l=I("svg"),r=I("path"),u(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"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(l,"class","icon v-22jj8o"),u(l,"width","7"),u(l,"height","12"),u(l,"viewBox","0 0 7 12"),u(l,"fill","none"),u(l,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){S(c,e,f),d(e,n),d(e,o),d(e,l),d(l,r),s||(a=Ee(e,"click",ct(function(){Ln(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&y(e),s=!1,a()}}}function B4(i){let e;function t(l,r){return l[3]?N4:R4}let n=t(i),o=n(i);return{c(){e=k("div"),o.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",i[4]),V(e,"skippable",i[3])},m(l,r){S(l,e,r),o.m(e,null)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e,null))),r&16&&V(e,"container-mobile",l[4]),r&8&&V(e,"skippable",l[3])},i:K,o:K,d(l){l&&y(e),o.d()}}}function O4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:l=0}=e,{skipAd:r=nt}=e;const a=Tt().ui.isMobile;W(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,l=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,r=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=l)},[o,l,r,c,n,a]}class z4 extends ye{constructor(e){super(),ke(this,e,O4,B4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},M4)}}function D4(i){qe(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function F4(i){let e;return{c(){e=k("button"),e.textContent=`${Z("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){S(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class H4 extends ye{constructor(e){super(),ke(this,e,null,F4,_e,{},D4)}}function U4(i){qe(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
6
+ var o0=Object.defineProperty;var l0=(i,e,t)=>e in i?o0(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Ol=(i,e,t)=>(l0(i,typeof e!="symbol"?e+"":e,t),t);import{VERSION as r0,ChromecastState as Ln,PlaybackState as $t,VideoQuality as yo,Player as s0,VideoFormat as Do}from"@vkontakte/videoplayer-core/es2018.esm.js";import{VideoFormat as L6,VideoQuality as I6}from"@vkontakte/videoplayer-core/es2018.esm.js";import{InterfaceLanguage as jo,VideoQuality as bl,fillWithDefault as a0,VERSION as u0,assertNonNullable as gt,safeStorage as Pn,isNullable as kl,Subscription as Zn,isNonNullable as Cn,isMacLike as Gr,debounceFn as c0,ValueSubject as gr,getCurrentBrowser as br,CurrentClientBrowser as C1,noop as Ye,checkNever as f0,timeCodeToString as d0,Subject as bn,addScript as m0,Logger as S1,merge as p0,Observable as h0,map as v0,loadVKLangPack as g0,isIOS as P1,getHighestQuality as b0,throttleFn as Tl,CurrentClientDevice as _0,getIOSVersion as w0,detectEmbed as y0,observeElementSize as k0,isMobile as C0,cloneDeepWith as S0}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{InterfaceLanguage as V6,VKNumericLanguage as B6,loadVKLangPack as R6}from"@vkontakte/videoplayer-shared/es2018.esm.js";import{VERSION as P0,SeekAction as Ut,OneStat as T0,InteractiveInterfaceClick as zo}from"@vkontakte/videoplayer-statistics/es2018.esm.js";function W(){}function T1(i,e){for(const t in e)i[t]=e[t];return i}function E1(i){return i()}function Yr(){return Object.create(null)}function nt(i){i.forEach(E1)}function Sn(i){return typeof i=="function"}function _e(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let ol;function Xr(i,e){return ol||(ol=document.createElement("a")),ol.href=e,i===ol.href}function E0(i){return Object.keys(i).length===0}function oi(i,...e){if(i==null){for(const n of e)n(void 0);return W}const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Qe(i){let e;return oi(i,t=>e=t)(),e}function z(i,e,t){i.$$.on_destroy.push(oi(e,t))}function Nn(i,e,t,n){if(i){const o=A1(i,e,t,n);return i[0](o)}}function A1(i,e,t,n){return i[1]&&n?T1(t.ctx.slice(),i[1](n(e))):t.ctx}function On(i,e,t,n){if(i[2]&&n){const o=i[2](n(t));if(e.dirty===void 0)return o;if(typeof o=="object"){const r=[],l=Math.max(e.dirty.length,o.length);for(let s=0;s<l;s+=1)r[s]=e.dirty[s]|o[s];return r}return e.dirty|o}return e.dirty}function Dn(i,e,t,n,o,r){if(o){const l=A1(e,t,n,r);i.p(l,o)}}function zn(i){if(i.ctx.length>32){const e=[],t=i.ctx.length/32;for(let n=0;n<t;n++)e[n]=-1;return e}return-1}function A0(i){return i==null?"":i}const L1=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(i,e){i.appendChild(e)}function Ue(i,e,t){const n=L0(i);if(!n.getElementById(e)){const o=T("style");o.id=e,o.textContent=t,I0(n,o)}}function L0(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function I0(i,e){return p(i.head||i,e),e.sheet}function E(i,e,t){i.insertBefore(e,t||null)}function P(i){i.parentNode&&i.parentNode.removeChild(i)}function Tn(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function T(i){return document.createElement(i)}function B(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function ze(i){return document.createTextNode(i)}function R(){return ze(" ")}function bt(){return ze("")}function be(i,e,t,n){return i.addEventListener(e,t,n),()=>i.removeEventListener(e,t,n)}function ri(i){return function(e){return e.preventDefault(),i.call(this,e)}}function ot(i){return function(e){return e.stopPropagation(),i.call(this,e)}}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function M0(i){return Array.from(i.childNodes)}function xe(i,e){e=""+e,i.data!==e&&(i.data=e)}function Rt(i,e,t,n){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,n?"important":"")}let ll;function V0(){if(ll===void 0){ll=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(i){ll=!0}}return ll}function _r(i,e){getComputedStyle(i).position==="static"&&(i.style.position="relative");const n=T("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;const o=V0();let r;return o?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",r=be(window,"message",l=>{l.source===n.contentWindow&&e()})):(n.src="about:blank",n.onload=()=>{r=be(n.contentWindow,"resize",e),e()}),p(i,n),()=>{(o||r&&n.contentWindow)&&r(),P(n)}}function V(i,e,t){i.classList.toggle(e,!!t)}function In(i,e){return new i(e)}let Uo;function Ho(i){Uo=i}function Wo(){if(!Uo)throw new Error("Function called outside component initialization");return Uo}function hn(i){Wo().$$.on_mount.push(i)}function El(i){Wo().$$.on_destroy.push(i)}function ar(i,e){return Wo().$$.context.set(i,e),e}function wr(i){return Wo().$$.context.get(i)}function I1(){return Wo().$$.context}function Eo(i,e){const t=i.$$.callbacks[e.type];t&&t.slice().forEach(n=>n.call(this,e))}const ko=[],ke=[];let Po=[];const ur=[],M1=Promise.resolve();let cr=!1;function V1(){cr||(cr=!0,M1.then(B1))}function Al(){return V1(),M1}function Ao(i){Po.push(i)}function qe(i){ur.push(i)}const Dl=new Set;let ho=0;function B1(){if(ho!==0)return;const i=Uo;do{try{for(;ho<ko.length;){const e=ko[ho];ho++,Ho(e),B0(e.$$)}}catch(e){throw ko.length=0,ho=0,e}for(Ho(null),ko.length=0,ho=0;ke.length;)ke.pop()();for(let e=0;e<Po.length;e+=1){const t=Po[e];Dl.has(t)||(Dl.add(t),t())}Po.length=0}while(ko.length);for(;ur.length;)ur.pop()();cr=!1,Dl.clear(),Ho(i)}function B0(i){if(i.fragment!==null){i.update(),nt(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(Ao)}}function R0(i){const e=[],t=[];Po.forEach(n=>i.indexOf(n)===-1?e.push(n):t.push(n)),t.forEach(n=>n()),Po=e}const _l=new Set;let Qn;function pe(){Qn={r:0,c:[],p:Qn}}function he(){Qn.r||nt(Qn.c),Qn=Qn.p}function d(i,e){i&&i.i&&(_l.delete(i),i.i(e))}function g(i,e,t,n){if(i&&i.o){if(_l.has(i))return;_l.add(i),Qn.c.push(()=>{_l.delete(i),n&&(t&&i.d(1),n())}),i.o(e)}else n&&n()}function ei(i){return(i==null?void 0:i.length)!==void 0?i:Array.from(i)}function N0(i,e){const t={},n={},o={$$scope:1};let r=i.length;for(;r--;){const l=i[r],s=e[r];if(s){for(const a in l)a in s||(n[a]=1);for(const a in s)o[a]||(t[a]=s[a],o[a]=1);i[r]=s}else for(const a in l)o[a]=1}for(const l in n)l in t||(t[l]=void 0);return t}function O0(i){return typeof i=="object"&&i!==null?i:{}}function je(i,e,t){const n=i.$$.props[e];n!==void 0&&(i.$$.bound[n]=t,t(i.$$.ctx[n]))}function q(i){i&&i.c()}function F(i,e,t){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),Ao(()=>{const r=i.$$.on_mount.map(E1).filter(Sn);i.$$.on_destroy?i.$$.on_destroy.push(...r):nt(r),i.$$.on_mount=[]}),o.forEach(Ao)}function H(i,e){const t=i.$$;t.fragment!==null&&(R0(t.after_update),nt(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function D0(i,e){i.$$.dirty[0]===-1&&(ko.push(i),V1(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function we(i,e,t,n,o,r,l,s=[-1]){const a=Uo;Ho(i);const c=i.$$={fragment:null,ctx:[],props:r,update:W,not_equal:o,bound:Yr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Yr(),dirty:s,skip_bound:!1,root:e.target||a.$$.root};l&&l(c.root);let f=!1;if(c.ctx=t?t(i,e.props||{},(m,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&o(c.ctx[m],c.ctx[m]=v)&&(!c.skip_bound&&c.bound[m]&&c.bound[m](v),f&&D0(i,m)),h}):[],c.update(),f=!0,nt(c.before_update),c.fragment=n?n(c.ctx):!1,e.target){if(e.hydrate){const m=M0(e.target);c.fragment&&c.fragment.l(m),m.forEach(P)}else c.fragment&&c.fragment.c();e.intro&&d(i.$$.fragment),F(i,e.target,e.anchor),B1()}Ho(a)}class ye{constructor(){Ol(this,"$$");Ol(this,"$$set")}$destroy(){H(this,1),this.$destroy=W}$on(e,t){if(!Sn(t))return W;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const o=n.indexOf(t);o!==-1&&n.splice(o,1)}}$set(e){this.$$set&&!E0(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const z0="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(z0);var Lo;(function(i){i.VK="vk",i.VK_VIDEO="vk_video"})(Lo||(Lo={}));const F0={isMobile:void 0,defaultLanguage:jo.RU,downloadVKLanguages:!0,updateBuiltinLanguages:!0,isSmoothVideoRotate:!0,showSupport:!0,supportLink:"https://vk.com/support?act=new&from=v",showLogo:void 0,logoLink:"https://vk.com/video",logoType:Lo.VK_VIDEO,addTimeToLogoLink:!0,volumeDefault:1,volumeMinRestore:.05,loaderDelay:500,minSubtitlesFontSize:13,autoSubtitlesTimeout:2e3,allowChangingFullscreenTarget:!0,trafficSavingLimit:bl.Q_480P,episodeMinWidthPc:8,hideThumbTimerAfterTouch:!0,sentry:{dsn:"https://e349fd23c68f405388980d0868d0ff27@sentry.mvk.com/126",sampleRate:.01,whiteErrorCategoryList:[],blackErrorCategoryList:[],whiteErrorIdList:[],blackErrorIdList:[]},features:{autoplay:!0,statistics:!0,sentry:!0,preload:!0,subtitles:!0,episodes:!0,fullscreen:!0,timelinePreview:!0,mediaSession:!0,annotations:!0,pip:!0,dpip:!0,download:!0,liveRewind:!0,playbackRate:!0,trafficSaving:!0,episodesClustering:!0,copyVideoLink:!0,videoRotate:!0,interactiveGraph:!1,seekToInteractive:!0,interactiveLastFrame:!1,interactiveTextPermanent:!0,interactiveHideTime:!0,interactivePlayPrevChapter:!0,thumbTimer:!0,hotKeyMapModal:!0,hotKeyHelpers:!0,saveDebugInfoToFile:!1,additionalButtons:!0,contextMenuButton:!1},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}},H0=i=>a0(i,F0),U0=i=>ar("ui-config",i),vn=()=>wr("ui-config"),fr="vk_player_debug_panel_opened",R1=300,q0=100,j0="videoplayer",W0="videoplayer";var Ee;(function(i){i.ArrowLeft="ArrowLeft",i.ArrowUp="ArrowUp",i.ArrowRight="ArrowRight",i.ArrowDown="ArrowDown",i.Comma="Comma",i.Period="Period",i.Space="Space",i.KeyM="KeyM",i.KeyF="KeyF",i.KeyK="KeyK",i.KeyL="KeyL",i.KeyJ="KeyJ",i.KeyC="KeyC",i.KeyI="KeyI",i.Digit1="Digit1",i.Digit2="Digit2",i.Digit3="Digit3",i.Digit4="Digit4",i.Digit5="Digit5",i.Digit6="Digit6",i.Digit7="Digit7",i.Digit8="Digit8",i.Digit9="Digit9",i.Digit0="Digit0",i.Numpad1="Numpad1",i.Numpad2="Numpad2",i.Numpad3="Numpad3",i.Numpad4="Numpad4",i.Numpad5="Numpad5",i.Numpad6="Numpad6",i.Numpad7="Numpad7",i.Numpad8="Numpad8",i.Numpad9="Numpad9",i.Numpad0="Numpad0",i.ShiftLeft="ShiftLeft",i.ShiftRight="ShiftRight",i.Slash="Slash",i.Tab="Tab",i.Escape="Escape",i.Enter="Enter"})(Ee||(Ee={}));const Zo={[Ee.KeyF]:"f",[Ee.KeyK]:"k",[Ee.KeyC]:"c",[Ee.KeyM]:"m"},Z0=new Set([Ee.ArrowLeft,Ee.ArrowRight,Ee.KeyL,Ee.KeyJ]),K0=new Set([Ee.Tab,Ee.Space,Ee.ArrowLeft,Ee.ArrowRight,Ee.ArrowUp,Ee.ArrowDown]),G0=new Set([Ee.ShiftRight,Ee.ShiftLeft]);var ut;(function(i){i.PLAY_BUTTON="PLAY_BUTTON",i.REPLAY_BUTTON="REPLAY_BUTTON",i.NEXT_BUTTON="NEXT_BUTTON",i.PREV_BUTTON="PREV_BUTTON",i.PICTURE_IN_PICTURE="PICTURE_IN_PICTURE",i.FULLSCREEN_BUTTON="FULLSCREEN_BUTTON",i.SETTINGS_BUTTON="SETTINGS_BUTTON",i.LIVE_BUTTON="LIVE_BUTTON",i.GRAPH_BUTTON="GRAPH_BUTTON",i.PLAY_PREV_CHAPTER_BUTTON="PLAY_PREV_CHAPTER_BUTTON",i.SEEK_TO_INTERACTIVE_BUTTON="SEEK_TO_INTERACTIVE_BUTTON",i.TIMELINE="TIMELINE",i.VOLUME_BAR="VOLUME_BAR",i.MUTE_BUTTON="MUTE_BUTTON",i.SUBTITLES_BUTTON="SUBTITLES_BUTTON",i.CHROMECAST_BUTTON="CHROMECAST_BUTTON",i.VK_BUTTON="VK_BUTTON",i.EPISODE_BUTTON="EPISODE_BUTTON",i.INCREMENT_PLAYBACK_RATE="INCREMENT_PLAYBACK_RATE",i.DECREMENT_PLAYBACK_RATE="DECREMENT_PLAYBACK_RATE"})(ut||(ut={}));const Qr=40,N1=260,Y0=60,rl=8,O1=[ut.TIMELINE],wl=[...O1,ut.GRAPH_BUTTON],Jr=[...O1,ut.PLAY_BUTTON],D1=[...wl,ut.PLAY_BUTTON];var Co;(function(i){i[i.XS=320]="XS",i[i.S=509]="S",i[i.M=599]="M",i[i.L=699]="L"})(Co||(Co={}));var Lt;(function(i){i.XS="xs",i.S="s",i.M="m",i.L="l",i.XL="xl"})(Lt||(Lt={}));const Io={[Lt.XS]:0,[Lt.S]:1,[Lt.M]:2,[Lt.L]:3,[Lt.XL]:4},vo=[];function An(i,e){return{subscribe:Ve(i,e).subscribe}}function Ve(i,e=W){let t;const n=new Set;function o(s){if(_e(i,s)&&(i=s,t)){const a=!vo.length;for(const c of n)c[1](),vo.push(c,i);if(a){for(let c=0;c<vo.length;c+=2)vo[c][0](vo[c+1]);vo.length=0}}}function r(s){o(s(i))}function l(s,a=W){const c=[s,a];return n.add(c),n.size===1&&(t=e(o,r)||W),s(i),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:o,update:r,subscribe:l}}function mi(i,e,t){const n=!Array.isArray(i),o=n?[i]:i;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const r=e.length<2;return An(t,(l,s)=>{let a=!1;const c=[];let f=0,m=W;const h=()=>{if(f)return;m();const v=e(n?c[0]:c,l,s);r?l(v):m=Sn(v)?v:W},b=o.map((v,y)=>oi(v,_=>{c[y]=_,f&=~(1<<y),a&&h()},()=>{f|=1<<y}));return a=!0,h(),function(){nt(b),m(),a=!1}})}const X0="prod",yr="1.1.35-dev.effe86bb.0",z1=(i,e,t)=>{const n=document.createElement("a");n.href=i,n.download=`${e}.${t}`,n.style.display="none",n.click()},F1=Symbol("storeContext"),H1=Symbol("microStoresContext"),Q0=(i,e)=>{ar(F1,i),ar(H1,e)},St=()=>{const i=wr(F1);return gt(i,"Store context is empty!"),i},kr=()=>{const i=wr(H1);return gt(i,"MicroStores context is empty!"),i},kt=(i,e)=>U1(i,i.getValue(),e),U1=(i,e,t)=>An(e,n=>{const o=i.subscribe(r=>{n(r),t==null||t(r)});return()=>o.unsubscribe()}),J0=(i,e,t)=>{var n,o,r,l;const s=i.info,{width:a,height:c}=Qe(t.ui.playerSize),f=(o=(n=s.throughputEstimation$.getValue())===null||n===void 0?void 0:n.toFixed(0))!==null&&o!==void 0?o:0,m=(l=(r=s.rttEstimation$.getValue())===null||r===void 0?void 0:r.toFixed(0))!==null&&l!==void 0?l:0,h=s.isAutoQualityEnabled$.getValue()?"auto":"manual",b=`${yr} (core: ${r0}, stat: ${P0}, shared: ${u0})`,v=Qe(t.state.errorLog$),y=v.length?`
7
+ `+v.map((k,w)=>{var N;const Q=`${w}) Type: ${k.id}
8
+ `,M=`Message: ${k.message} (${k.thrown})
9
+ `,G=`Trace: ${(N=k.thrown)===null||N===void 0?void 0:N.stack}
10
+ `;return Q+M+G}).join(`
11
+ `):void 0,_=t.state.isAudioDisabled?"disabled":Qe(t.state.isAudioAvailable$)?void 0:"unavailable",C={Version:b,Browser:navigator.userAgent,Config:i.experimental.tuningConfigName$.getValue().join(", "),"United video id":String(t.videoId),"Content host":s.hostname$.getValue(),"Connection type":s.httpConnectionType$.getValue()+(s.httpConnectionReused$.getValue()?" (reused)":""),Throughput:`${f}Kbps @ ${m}ms RTT`,Format:s.currentFormat$.getValue(),"Available Formats":Object.keys(e.sources).join(", "),Quality:`${h} ${s.currentQuality$.getValue()}`,"Available qualities":s.availableQualities$.getValue().join(", "),Audio:_,Position:`${Qe(t.state.positionExact$)}s`,State:`${Qe(t.playerPhase)} ${s.playbackState$.getValue()}`,"Player size":`${a}x${c}`,URL:window.location.href,Errors:y};return Object.entries(C).filter(([k,w])=>w!==void 0).map(([k,w])=>`${k}: ${w}`).join(`
12
+ `)},x0=(i,e,t)=>{const n=i.info,{width:o,height:r}=Qe(t.ui.playerSize),l={version:yr,viewport:`${o}x${r}`,volume:Math.round(Qe(t.state.volume$)*100)};l.id=t.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(t.state.positionExact$),0));const m=n.throughputEstimation$.getValue();m&&(l.speed=m);const h=n.videoBitrate$.getValue();return h&&(l.bitrate=h),l},$0=(i,e)=>z1(i,e,"mp4"),q1="vk_player_prefer_traffic_saving_enabled",j1="vk_player_preferred_volume",W1="vk_player_prefer_volume_mute",Cr="vk_player_preferred_quality",Z1=i=>i>1?1:i<0?0:i,xr=i=>Pn.set(j1,Z1(i).toString(10)),K1=()=>{const i=Pn.get(j1);return kl(i)?void 0:Z1(parseFloat(i))},ed=(i,e)=>Pn.set(Cr,JSON.stringify({videoId:i,value:e})),G1=()=>Pn.remove(Cr),td=i=>{const e=Pn.get(Cr);if(kl(e))return;const{videoId:t,value:n}=JSON.parse(e);if(i!==t){G1();return}return n},Y1=(i,e)=>{e?Pn.set(i,"true"):Pn.remove(i)},X1=i=>Pn.get(i)==="true",zl=i=>Y1(W1,i),id=()=>X1(W1),nd=i=>Y1(q1,i),od=()=>X1(q1);function ld(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("defs"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M67 9.489A3.489 3.489 0 0 1 63.511 13 3.493 3.493 0 0 1 60 9.489 3.489 3.489 0 0 1 63.511 6 3.484 3.484 0 0 1 67 9.489Zm-5.003 0c0 .834.68 1.514 1.514 1.514.812 0 1.492-.68 1.492-1.514 0-.812-.68-1.492-1.492-1.492-.834 0-1.514.68-1.514 1.492Z"),u(n,"fill","#fff"),u(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(r,"fill-rule","evenodd"),u(r,"clip-rule","evenodd"),u(r,"d","M37.732 12.675c-.465 0-1 .046-1.511.164l2.584-3.74a1.338 1.338 0 1 0-2.203-1.518l-3.753 5.469c-1.418 2.133-1.837 3.822-1.837 5.276 0 3.47 2.558 5.674 6.186 5.674 3.604 0 6.162-2.392 6.162-5.768 0-3.236-2.349-5.557-5.628-5.557Zm-.534 8.746c-1.977 0-3.326-1.267-3.326-3.142 0-1.853 1.349-3.142 3.326-3.142 1.953 0 3.302 1.29 3.302 3.142 0 1.875-1.35 3.142-3.302 3.142ZM58 15.512c0 5.041-2.697 8.441-6.627 8.441-3.93 0-6.628-3.4-6.628-8.441 0-5.042 2.698-8.442 6.628-8.442S58 10.47 58 15.512Zm-10.348 0c0 3.564 1.488 5.862 3.72 5.862 2.233 0 3.721-2.298 3.721-5.862s-1.488-5.862-3.72-5.862c-2.233 0-3.72 2.298-3.72 5.862Z"),u(r,"fill","#fff"),u(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(s,"d","m7.908 19.245-.181-.173c1.146-1.206 2.714-2.248 4.49-3.137a1.75 1.75 0 1 1 1.566 3.13c-1.57.786-2.752 1.61-3.519 2.418-.762.802-1.014 1.474-1.014 2.017 0 .713.357 1.583 1.483 2.567 1.136.993 2.93 1.978 5.43 2.843 4.99 1.726 12.403 2.84 21.837 2.84h.275l-1.012-1.013a1.75 1.75 0 1 1 2.474-2.474l4 3.998h0l.012.013s0 0 0 0c.162.165.284.354.368.556 0 0 0 0 0 0l-.23.096A1.49 1.49 0 0 1 44 33.5c0 .203-.04.396-.113.573L7.907 19.245Zm0 0-.181-.173C6.576 20.284 5.75 21.775 5.75 23.5c0 2.04 1.07 3.796 2.68 5.202 1.599 1.398 3.85 2.569 6.589 3.516C20.506 34.116 28.343 35.25 38 35.25h.275L7.908 19.245Zm29.824-6.82c-.3 0-.63.018-.965.063l2.244-3.247c.728-1.054-.026-2.491-1.306-2.491-.524 0-1.014.258-1.31.69l-3.752 5.468h0l-.002.003c-1.442 2.17-1.879 3.905-1.879 5.415 0 1.8.665 3.288 1.815 4.324 1.147 1.033 2.757 1.6 4.62 1.6 3.727 0 6.413-2.488 6.413-6.018 0-3.377-2.464-5.807-5.878-5.807Zm25.779.825c2.07 0 3.739-1.67 3.739-3.761 0-2.07-1.67-3.739-3.739-3.739a3.739 3.739 0 0 0-3.761 3.739 3.743 3.743 0 0 0 3.761 3.761Zm0-2.497a1.267 1.267 0 0 1-1.264-1.264c0-.671.566-1.242 1.264-1.242.674 0 1.242.568 1.242 1.242 0 .698-.57 1.264-1.242 1.264Zm-33.634 8.323c0-2.043-1.139-3.272-2.388-3.895 1.208-.629 2.155-1.846 2.155-3.609 0-2.82-2.357-4.822-5.575-4.822-2.04 0-3.724.818-4.871 2.392l-.109.149a1.583 1.583 0 0 0 .32 2.203c.635.476 1.542.411 2.074-.197.09-.103.17-.198.219-.264.553-.755 1.318-1.204 2.297-1.204.72 0 1.309.214 1.715.564.403.347.64.84.64 1.437 0 .608-.242 1.107-.653 1.457-.415.353-1.017.568-1.748.568h-.583a1.481 1.481 0 0 0 0 2.962h.583c.826 0 1.493.233 1.948.61.451.375.709.902.709 1.532 0 .654-.265 1.2-.718 1.586-.455.388-1.116.626-1.916.626-.61 0-1.117-.13-1.548-.375-.432-.245-.801-.614-1.125-1.114a10.48 10.48 0 0 0-.206-.296 1.653 1.653 0 0 0-2.417-.292c-.577.49-.774 1.335-.356 2.004.075.119.152.236.23.339.704.945 1.462 1.652 2.352 2.121.892.47 1.9.692 3.094.692 3.383 0 5.877-2.121 5.877-5.174Zm7.32 2.095c-.934 0-1.7-.299-2.232-.8-.53-.5-.843-1.217-.843-2.092 0-.863.313-1.581.844-2.085.531-.504 1.298-.807 2.232-.807.92 0 1.682.303 2.21.807.529.503.842 1.222.842 2.085 0 .875-.314 1.593-.84 2.093-.53.5-1.29.799-2.212.799Zm14.176 3.032c2.044 0 3.772-.887 4.983-2.425 1.208-1.534 1.894-3.703 1.894-6.266s-.686-4.732-1.894-6.266c-1.211-1.539-2.94-2.426-4.983-2.426-2.044 0-3.773.887-4.984 2.426-1.208 1.534-1.894 3.703-1.894 6.266s.686 4.732 1.894 6.266c1.211 1.538 2.94 2.425 4.984 2.425Zm0-3.08c-1.017 0-1.874-.518-2.487-1.478-.618-.968-.984-2.382-.984-4.133 0-1.752.366-3.166.984-4.133.613-.96 1.47-1.48 2.487-1.48 1.017 0 1.873.52 2.486 1.48.618.967.984 2.381.984 4.133 0 1.751-.366 3.165-.984 4.133-.613.96-1.47 1.479-2.486 1.479Zm11.312-2.075c2.975 1.567 4.065 3.279 4.065 4.452 0 1.148-.983 2.756-4.259 4.347-3.16 1.536-7.937 2.773-14.17 3.412a1.75 1.75 0 0 0 .358 3.482c6.45-.662 11.673-1.963 15.342-3.746 3.551-1.725 6.229-4.216 6.229-7.495 0-3.213-2.661-5.825-5.935-7.548a1.75 1.75 0 1 0-1.63 3.096Z"),u(s,"stroke","#000"),u(s,"stroke-opacity",".12"),u(s,"stroke-width",".5"),u(s,"stroke-linecap","round"),u(s,"stroke-linejoin","round"),u(t,"filter","url(#a)"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_618_12297"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_618_12297"),u(_,"result","shape"),u(c,"id","a"),u(c,"x",".5"),u(c,"y",".5"),u(c,"width","75"),u(c,"height","44"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","76"),u(e,"height","45"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","video-360-icon"),u(e,"aria-hidden",C=!i[0]||null),u(e,"aria-label",k=i[0]||null)},m(w,N){E(w,e,N),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(e,a),p(a,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},p(w,[N]){N&1&&C!==(C=!w[0]||null)&&u(e,"aria-hidden",C),N&1&&k!==(k=w[0]||null)&&u(e,"aria-label",k)},i:W,o:W,d(w){w&&P(e)}}}function rd(i,e,t){let{ariaLabel:n=""}=e;return i.$$set=o=>{"ariaLabel"in o&&t(0,n=o.ariaLabel)},[n]}class Q1 extends ye{constructor(e){super(),we(this,e,rd,ld,_e,{ariaLabel:0})}}var Fl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function sd(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var sl=function(i){return i&&i.Math==Math&&i},Kn=sl(typeof globalThis=="object"&&globalThis)||sl(typeof window=="object"&&window)||sl(typeof self=="object"&&self)||sl(typeof Fl=="object"&&Fl)||function(){return this}()||Fl||Function("return this")(),$n=function(i){try{return!!i()}catch(e){return!0}},ad=$n,Ll=!ad(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")}),ud=Ll,J1=Function.prototype,$r=J1.apply,es=J1.call,cd=typeof Reflect=="object"&&Reflect.apply||(ud?es.bind($r):function(){return es.apply($r,arguments)}),x1=Ll,$1=Function.prototype,dr=$1.call,fd=x1&&$1.bind.bind(dr,dr),Gn=x1?fd:function(i){return function(){return dr.apply(i,arguments)}},ec=Gn,dd=ec({}.toString),md=ec("".slice),Il=function(i){return md(dd(i),8,-1)},pd=Il,hd=Gn,tc=function(i){if(pd(i)==="Function")return hd(i)},mr=typeof document=="object"&&document.all,vd=typeof mr=="undefined"&&mr!==void 0,ic={all:mr,IS_HTMLDDA:vd},nc=ic,gd=nc.all,Fn=nc.IS_HTMLDDA?function(i){return typeof i=="function"||i===gd}:function(i){return typeof i=="function"},oc={},bd=$n,Ko=!bd(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),_d=Ll,al=Function.prototype.call,Go=_d?al.bind(al):function(){return al.apply(al,arguments)},lc={},rc={}.propertyIsEnumerable,sc=Object.getOwnPropertyDescriptor,wd=sc&&!rc.call({1:2},1);lc.f=wd?function(e){var t=sc(this,e);return!!t&&t.enumerable}:rc;var ac=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}},yd=Gn,kd=$n,Cd=Il,Hl=Object,Sd=yd("".split),Pd=kd(function(){return!Hl("z").propertyIsEnumerable(0)})?function(i){return Cd(i)=="String"?Sd(i,""):Hl(i)}:Hl,Sr=function(i){return i==null},Td=Sr,Ed=TypeError,Pr=function(i){if(Td(i))throw Ed("Can't call method on "+i);return i},Ad=Pd,Ld=Pr,Id=function(i){return Ad(Ld(i))},ts=Fn,uc=ic,Md=uc.all,Yo=uc.IS_HTMLDDA?function(i){return typeof i=="object"?i!==null:ts(i)||i===Md}:function(i){return typeof i=="object"?i!==null:ts(i)},cc={},Ul=cc,ql=Kn,Vd=Fn,is=function(i){return Vd(i)?i:void 0},fc=function(i,e){return arguments.length<2?is(Ul[i])||is(ql[i]):Ul[i]&&Ul[i][e]||ql[i]&&ql[i][e]},Bd=Gn,dc=Bd({}.isPrototypeOf),Rd=typeof navigator!="undefined"&&String(navigator.userAgent)||"",mc=Kn,jl=Rd,ns=mc.process,os=mc.Deno,ls=ns&&ns.versions||os&&os.version,rs=ls&&ls.v8,kn,Cl;rs&&(kn=rs.split("."),Cl=kn[0]>0&&kn[0]<4?1:+(kn[0]+kn[1]));!Cl&&jl&&(kn=jl.match(/Edge\/(\d+)/),(!kn||kn[1]>=74)&&(kn=jl.match(/Chrome\/(\d+)/),kn&&(Cl=+kn[1])));var Nd=Cl,ss=Nd,Od=$n,Dd=Kn,zd=Dd.String,pc=!!Object.getOwnPropertySymbols&&!Od(function(){var i=Symbol();return!zd(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&ss&&ss<41}),Fd=pc,hc=Fd&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Hd=fc,Ud=Fn,qd=dc,jd=hc,Wd=Object,vc=jd?function(i){return typeof i=="symbol"}:function(i){var e=Hd("Symbol");return Ud(e)&&qd(e.prototype,Wd(i))},Zd=String,Kd=function(i){try{return Zd(i)}catch(e){return"Object"}},Gd=Fn,Yd=Kd,Xd=TypeError,gc=function(i){if(Gd(i))return i;throw Xd(Yd(i)+" is not a function")},Qd=gc,Jd=Sr,bc=function(i,e){var t=i[e];return Jd(t)?void 0:Qd(t)},Wl=Go,Zl=Fn,Kl=Yo,xd=TypeError,$d=function(i,e){var t,n;if(e==="string"&&Zl(t=i.toString)&&!Kl(n=Wl(t,i))||Zl(t=i.valueOf)&&!Kl(n=Wl(t,i))||e!=="string"&&Zl(t=i.toString)&&!Kl(n=Wl(t,i)))return n;throw xd("Can't convert object to primitive value")},_c={exports:{}},as=Kn,e2=Object.defineProperty,t2=function(i,e){try{e2(as,i,{value:e,configurable:!0,writable:!0})}catch(t){as[i]=e}return e},i2=Kn,n2=t2,us="__core-js_shared__",o2=i2[us]||n2(us,{}),l2=o2,cs=l2;(_c.exports=function(i,e){return cs[i]||(cs[i]=e!==void 0?e:{})})("versions",[]).push({version:"3.31.0",mode:"pure",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"});var r2=_c.exports,s2=Pr,a2=Object,wc=function(i){return a2(s2(i))},u2=Gn,c2=wc,f2=u2({}.hasOwnProperty),Ml=Object.hasOwn||function(e,t){return f2(c2(e),t)},d2=Gn,m2=0,p2=Math.random(),h2=d2(1 .toString),v2=function(i){return"Symbol("+(i===void 0?"":i)+")_"+h2(++m2+p2,36)},g2=Kn,b2=r2,fs=Ml,_2=v2,w2=pc,y2=hc,So=g2.Symbol,Gl=b2("wks"),k2=y2?So.for||So:So&&So.withoutSetter||_2,Xo=function(i){return fs(Gl,i)||(Gl[i]=w2&&fs(So,i)?So[i]:k2("Symbol."+i)),Gl[i]},C2=Go,ds=Yo,ms=vc,S2=bc,P2=$d,T2=Xo,E2=TypeError,A2=T2("toPrimitive"),L2=function(i,e){if(!ds(i)||ms(i))return i;var t=S2(i,A2),n;if(t){if(e===void 0&&(e="default"),n=C2(t,i,e),!ds(n)||ms(n))return n;throw E2("Can't convert object to primitive value")}return e===void 0&&(e="number"),P2(i,e)},I2=L2,M2=vc,yc=function(i){var e=I2(i,"string");return M2(e)?e:e+""},V2=Kn,ps=Yo,pr=V2.document,B2=ps(pr)&&ps(pr.createElement),R2=function(i){return B2?pr.createElement(i):{}},N2=Ko,O2=$n,D2=R2,kc=!N2&&!O2(function(){return Object.defineProperty(D2("div"),"a",{get:function(){return 7}}).a!=7}),z2=Ko,F2=Go,H2=lc,U2=ac,q2=Id,j2=yc,W2=Ml,Z2=kc,hs=Object.getOwnPropertyDescriptor;oc.f=z2?hs:function(e,t){if(e=q2(e),t=j2(t),Z2)try{return hs(e,t)}catch(n){}if(W2(e,t))return U2(!F2(H2.f,e,t),e[t])};var K2=$n,G2=Fn,Y2=/#|\.prototype\./,Qo=function(i,e){var t=Q2[X2(i)];return t==x2?!0:t==J2?!1:G2(e)?K2(e):!!e},X2=Qo.normalize=function(i){return String(i).replace(Y2,".").toLowerCase()},Q2=Qo.data={},J2=Qo.NATIVE="N",x2=Qo.POLYFILL="P",$2=Qo,vs=tc,em=gc,tm=Ll,im=vs(vs.bind),nm=function(i,e){return em(i),e===void 0?i:tm?im(i,e):function(){return i.apply(e,arguments)}},Cc={},om=Ko,lm=$n,rm=om&&lm(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),sm=Yo,am=String,um=TypeError,Sc=function(i){if(sm(i))return i;throw um(am(i)+" is not an object")},cm=Ko,fm=kc,dm=rm,ul=Sc,gs=yc,mm=TypeError,Yl=Object.defineProperty,pm=Object.getOwnPropertyDescriptor,Xl="enumerable",Ql="configurable",Jl="writable";Cc.f=cm?dm?function(e,t,n){if(ul(e),t=gs(t),ul(n),typeof e=="function"&&t==="prototype"&&"value"in n&&Jl in n&&!n[Jl]){var o=pm(e,t);o&&o[Jl]&&(e[t]=n.value,n={configurable:Ql in n?n[Ql]:o[Ql],enumerable:Xl in n?n[Xl]:o[Xl],writable:!1})}return Yl(e,t,n)}:Yl:function(e,t,n){if(ul(e),t=gs(t),ul(n),fm)try{return Yl(e,t,n)}catch(o){}if("get"in n||"set"in n)throw mm("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var hm=Ko,vm=Cc,gm=ac,bm=hm?function(i,e,t){return vm.f(i,e,gm(1,t))}:function(i,e,t){return i[e]=t,i},cl=Kn,_m=cd,wm=tc,ym=Fn,km=oc.f,Cm=$2,go=cc,Sm=nm,bo=bm,bs=Ml,Pm=function(i){var e=function(t,n,o){if(this instanceof e){switch(arguments.length){case 0:return new i;case 1:return new i(t);case 2:return new i(t,n)}return new i(t,n,o)}return _m(i,this,arguments)};return e.prototype=i.prototype,e},Tm=function(i,e){var t=i.target,n=i.global,o=i.stat,r=i.proto,l=n?cl:o?cl[t]:(cl[t]||{}).prototype,s=n?go:go[t]||bo(go,t,{})[t],a=s.prototype,c,f,m,h,b,v,y,_,C;for(h in e)c=Cm(n?h:t+(o?".":"#")+h,i.forced),f=!c&&l&&bs(l,h),v=s[h],f&&(i.dontCallGetSet?(C=km(l,h),y=C&&C.value):y=l[h]),b=f&&y?y:e[h],!(f&&typeof v==typeof b)&&(i.bind&&f?_=Sm(b,cl):i.wrap&&f?_=Pm(b):r&&ym(b)?_=wm(b):_=b,(i.sham||b&&b.sham||v&&v.sham)&&bo(_,"sham",!0),bo(s,h,_),r&&(m=t+"Prototype",bs(go,m)||bo(go,m,{}),bo(go[m],h,b),i.real&&a&&(c||!a[h])&&bo(a,h,b)))},Em=Yo,Am=Il,Lm=Xo,Im=Lm("match"),Mm=function(i){var e;return Em(i)&&((e=i[Im])!==void 0?!!e:Am(i)=="RegExp")},Vm=Xo,Bm=Vm("toStringTag"),Pc={};Pc[Bm]="z";var Rm=String(Pc)==="[object z]",Nm=Rm,Om=Fn,yl=Il,Dm=Xo,zm=Dm("toStringTag"),Fm=Object,Hm=yl(function(){return arguments}())=="Arguments",Um=function(i,e){try{return i[e]}catch(t){}},qm=Nm?yl:function(i){var e,t,n;return i===void 0?"Undefined":i===null?"Null":typeof(t=Um(e=Fm(i),zm))=="string"?t:Hm?yl(e):(n=yl(e))=="Object"&&Om(e.callee)?"Arguments":n},jm=qm,Wm=String,Zm=function(i){if(jm(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Wm(i)},Km=Sc,Gm=function(){var i=Km(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e},Ym=Go,Xm=Ml,Qm=dc,Jm=Gm,_s=RegExp.prototype,xm=function(i){var e=i.flags;return e===void 0&&!("flags"in _s)&&!Xm(i,"flags")&&Qm(_s,i)?Ym(Jm,i):e},Tr=Gn,$m=wc,e4=Math.floor,xl=Tr("".charAt),t4=Tr("".replace),$l=Tr("".slice),i4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n4=/\$([$&'`]|\d{1,2})/g,o4=function(i,e,t,n,o,r){var l=t+i.length,s=n.length,a=n4;return o!==void 0&&(o=$m(o),a=i4),t4(r,a,function(c,f){var m;switch(xl(f,0)){case"$":return"$";case"&":return i;case"`":return $l(e,0,t);case"'":return $l(e,l);case"<":m=o[$l(f,1,-1)];break;default:var h=+f;if(h===0)return c;if(h>s){var b=e4(h/10);return b===0?c:b<=s?n[b-1]===void 0?xl(f,1):n[b-1]+xl(f,1):c}m=n[h-1]}return m===void 0?"":m})},l4=Tm,r4=Go,Er=Gn,ws=Pr,s4=Fn,a4=Sr,u4=Mm,_o=Zm,c4=bc,f4=xm,d4=o4,m4=Xo,p4=m4("replace"),h4=TypeError,Tc=Er("".indexOf),v4=Er("".replace),ys=Er("".slice),g4=Math.max,ks=function(i,e,t){return t>i.length?-1:e===""?t:Tc(i,e,t)};l4({target:"String",proto:!0},{replaceAll:function(e,t){var n=ws(this),o,r,l,s,a,c,f,m,h,b=0,v=0,y="";if(!a4(e)){if(o=u4(e),o&&(r=_o(ws(f4(e))),!~Tc(r,"g")))throw h4("`.replaceAll` does not allow non-global regexes");if(l=c4(e,p4),l)return r4(l,e,n,t);if(o)return v4(_o(n),e,t)}for(s=_o(n),a=_o(e),c=s4(t),c||(t=_o(t)),f=a.length,m=g4(1,f),b=ks(s,a,0);b!==-1;)h=c?_o(t(a,b,s)):d4(a,s,b,[],void 0,t),y+=ys(s,v,b)+h,v=b+f,b=ks(s,a,b+m);return v<s.length&&(y+=ys(s,v)),y}});var b4=fc,_4=b4,w4=_4,y4=w4("String","replaceAll"),k4=y4,C4=k4,S4=C4,P4=S4,T4=sd(P4);const E4={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_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:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0430. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {actual}",aria_label_menu_rate:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u0438. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {actual}",aria_label_menu_traffic_saving:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443 \u0440\u0435\u0436\u0438\u043C\u0430 \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0438 \u0434\u0430\u043D\u043D\u044B\u0445. \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 {actual}",aria_label_menu_subtitle:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E \u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043E\u0432. \u0422\u0435\u043A\u0443\u0449\u0438\u0435 \u0441\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_quality_select_quality:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u043E {quality}",aria_label_submenu_rate_select_rate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C {rate}",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",aria_label_submenu_subtitle_select_subtitle:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u044B {subtitle}"},A4={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_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:"Open the quality selection menu. Current quality {actual}",aria_label_menu_rate:"Open the speed selection menu. Current rate {actual}",aria_label_menu_traffic_saving:"Open the data saving mode setting. Current state {actual}",aria_label_menu_subtitle:"Open the subtitle selection menu. Current 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_quality_select_quality:"Select quality {quality}",aria_label_submenu_rate_select_rate:"Select rate {rate}",aria_label_submenu_traffic_saving_off:"Disable data saving mode",aria_label_submenu_traffic_saving_on:"Enable data saving mode",aria_label_submenu_subtitle_select_subtitle:"Select subtitles {subtitle}"},Vn=new Map;Vn.set(jo.EN,A4);Vn.set(jo.RU,E4);const Ec=new Map,Cs=({language:i,pack:e,fallback:t})=>{if(Vn.has(i)){const n=Vn.get(i);Vn.set(i,{...n,...e})}else Vn.set(i,e);Ec.set(i,t)},Ss=i=>Vn.has(i),Ac=(i,e,t,n)=>{var o;const r=Vn.get(i);let l=r==null?void 0:r[e];if(kl(l)){const s=(o=Ec.get(i))!==null&&o!==void 0?o:n,a=s?Vn.get(s):void 0;l=a==null?void 0:a[e]}return kl(l)?e+Object.values(t!=null?t:{}).join(" "):t?T4(l,/{(\w+?)}/g,(s,a)=>{var c;return(c=t[a])!==null&&c!==void 0?c:""}):l},K=(i,e)=>{const{interfaceLanguage$:t}=St(),n=Qe(t),o=vn();return Ac(n,i,e,o.defaultLanguage)};var Sl;(function(i){i.fatal="fatal",i.error="error",i.warning="warning",i.log="log",i.info="info",i.debug="debug",i.critical="critical"})(Sl||(Sl={}));const L4=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,I4=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js))(?::(\d+))?(?::(\d+))?\s*$/i,M4=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,fl="?",V4="X-Sentry-Auth",B4=/^(?:(\w+):)\/\/(?:([\w-]+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function R4(i){if(!i.stack)return null;const e=[],t=i.stack.split(`
13
+ `);let n,o;for(let r=0;r<t.length;++r){if(n=L4.exec(t[r]))o={filename:n[2]&&n[2].indexOf("address at ")===0?n[2].substr(11):n[2],function:n[1]||fl,lineno:n[3]?+n[3]:null,colno:n[4]?+n[4]:null};else if(n=M4.exec(t[r]))o={filename:n[2],function:n[1]||fl,lineno:+n[3],colno:n[4]?+n[4]:null};else if(n=I4.exec(t[r]))r===0&&!n[5]&&i.columnNumber!==void 0&&(e[0].column=i.columnNumber+1),o={filename:n[3],function:n[1]||fl,lineno:n[4]?+n[4]:null,colno:n[5]?+n[5]:null};else continue;!o.function&&o.lineno&&(o.function=fl),e.push(o)}return e.length?{value:Lc(i),type:i.name,stacktrace:{frames:e.reverse()}}:null}function Lc(i){return(i&&i.message||"No error message").split(`
14
+ `).filter(t=>!!t)[0]}function N4(i){try{const e=R4(i);if(e)return e}catch(e){}return{value:Lc(i),type:i&&i.name,stacktrace:{frames:[]}}}function O4(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,i=>{const e=Math.random()*16|0;return(i==="x"?e:e&3|8).toString(16)})}class D4{constructor(e){if(e&&e.dsn){const t=B4.exec(e.dsn),n=t?t.slice(1):[],o=n[5].split("/"),r=o.slice(0,-1).join("/");this.apiUrl=n[0]+"://"+n[3]+(n[4]?":"+n[4]:"")+(r?"/"+r:"")+"/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:[N4(e)]}}}report(e){this.send(this.prepare(e))}send(e){!this.apiUrl||!e||this.createRequest(e)}createRequest(e){const t=new XMLHttpRequest;t.open("POST",this.apiUrl,!0),t.setRequestHeader("Content-type","application/json"),t.setRequestHeader(V4,this.authHeader||""),t.send(JSON.stringify(e))}getRequestBlank(){return{platform:"javascript",event_id:O4(),sdk:{name:"micro-sentry.javascript.core",version:"0.0.0"},timestamp:Date.now()/1e3,environment:this.environment}}}function Ps(i,e){return Object.prototype.toString.call(e)==="[object RegExp]"?e.test(i):typeof e=="string"?i.indexOf(e)!==-1:!1}function z4(){return window}class Ar extends D4{constructor(e,t=z4()){super(e),this.options=e,this.window=t,this.destroyed=!1,this._state={};const{plugins:n=[],beforeSend:o=c=>c,beforeBreadcrumb:r=c=>c,blacklistUrls:l=[],ignoreErrors:s=[],release:a=void 0}=this.options||{};this.plugins=n.map(c=>new c(this)),this.beforeSend=o,this.beforeBreadcrumb=r,this.blacklistUrls=l,this.ignoreErrors=s,this.release=a}get state(){return this._state}clearState(){this._state={}}setTags(e){return this.setKeyState("tags",{...e}),this}setTag(e,t){return this.extendState({tags:{[e]:t}}),this}setExtra(e,t){return this.extendState({extra:{[e]:t}}),this}setExtras(e){return this.setKeyState("extra",{...e}),this}setUser(e){return this.setKeyState("user",{...e}),this}clone(){const e=new Ar({...this.options,plugins:[]});return e.extendState(this.state),e}withScope(e){const t=this.clone();e(t),t.destroy(),this.setBreadcrumbs(void 0)}addBreadcrumb(e){this.extendState({breadcrumbs:[{timestamp:Date.now()/1e3,...this.beforeBreadcrumb(e)}]})}setBreadcrumbs(e){this.setKeyState("breadcrumbs",e)}captureMessage(e,t){this.send({...this.getRequestBlank(),message:e,level:t})}destroy(){this.destroyed=!0,this.plugins.forEach(e=>{e.destroy&&e.destroy()})}isIgnoredError(e){return this.ignoreErrors.length?this.getPossibleEventMessages(e).some(t=>this.ignoreErrors.some(n=>Ps(t,n))):!1}getRequestBlank(){return{request:{url:this.window.location.toString(),headers:{"User-Agent":this.window.navigator.userAgent}},...super.getRequestBlank(),sdk:{name:"micro-sentry.javascript.browser",version:"0.0.0"},...this.state}}send(e){this.destroyed||this.isDeniedUrl(e)||this.isIgnoredError(e)||(super.send(this.beforeSend({release:this.release,...e})),this.setBreadcrumbs(void 0))}getPossibleEventMessages(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:n=""}=e.exception.values&&e.exception.values[0]||{};return[`${n}`,`${t}: ${n}`]}catch(t){return[]}return[]}isDeniedUrl(e){if(!this.blacklistUrls.length)return!1;const t=this.getEventFilterUrl(e);return t?this.blacklistUrls.some(n=>Ps(t,n)):!1}getEventFilterUrl(e){try{if(e.exception){const t=e.exception.values&&e.exception.values[0].stacktrace&&e.exception.values[0].stacktrace.frames;return t&&t[t.length-1].filename||null}return null}catch(t){return null}}extendState(e){this._state=Object.keys(e).reduce((t,n)=>{const o=this._state[n],r=Array.isArray(o)?o:null,l=e[n],s=Array.isArray(l)?l:null;return{...t,[n]:r||s?[...r||[],...s||[]]:{...typeof o!="string"?o:{},...typeof l!="string"?l:{}}}},this._state)}setKeyState(e,t){this._state[e]=t}}let dl=null;class hr{constructor(e,t,n={}){!dl&&e.dsn&&(this.sentryClient=new Ar({dsn:e.dsn,environment:t.env}),this.version=t.version,this.sentrySubscription=new Zn,this.options=e,this.context=n,dl=this)}destroy(){var e,t;(e=this.sentryClient)===null||e===void 0||e.destroy(),(t=this.sentrySubscription)===null||t===void 0||t.unsubscribe(),dl=null}logIError(e,t=!1){e.thrown&&this.report(e.thrown,{fatal:t,errorType:e.id,category:e.category},{message:e.message,errorData:e.data})}report(e,t={},n={}){const{sentryClient:o,context:r,options:l}=this,{sampleRate:s=0,whiteErrorIdList:a,whiteErrorCategoryList:c=[],blackErrorIdList:f,blackErrorCategoryList:m}=l,{errorType:h,category:b}=t;if(Cn(b)&&m.includes(b)||Cn(h)&&f.includes(h))return;if(Math.random()<=s||Cn(b)&&c.includes(b)||Cn(h)&&a.includes(h)){Object.keys(t).length&&o.setTags({version:this.version,...t}),(Object.keys(r).length||Object.keys(n).length)&&o.setExtras({...r,...n});try{h&&o.captureMessage(h,t.fatal?Sl.fatal:Sl.error),o.report(e)}catch(y){console.error(y)}}}static getInstance(){return dl}}var To;(function(i){i.AUTO="auto"})(To||(To={}));var Oe;(function(i){i.Thumb="thumb",i.Video="video",i.Ads="ads",i.Crashed="crashed",i.WaitingLive="waitingLive",i.WaitingRecord="waitingRecord"})(Oe||(Oe={}));var Mn;(function(i){i.Preroll="preroll",i.Midroll="midroll",i.Postroll="postroll"})(Mn||(Mn={}));var li;(function(i){i.INACTIVE="inactive",i.PLAYING="playing",i.PAUSED="paused"})(li||(li={}));var Bn;(function(i){i[i.PictureInPicture=0]="PictureInPicture",i[i.DocumentPictureInPicture=1]="DocumentPictureInPicture"})(Bn||(Bn={}));var Ge;(function(i){i.PLAY="PLAY",i.PAUSE="PAUSE",i.REPLAY="REPLAY",i.BACKWARD_SEEK="BACKWARD_SEEK",i.FORWARD_SEEK="FORWARD_SEEK",i.SUBTITLES_ON="SUBTITLES_ON",i.SUBTITLES_OFF="SUBTITLES_OFF",i.RATE_UP="RATE_UP",i.RATE_DOWN="RATE_DOWN",i.EPISODE_PREV="EPISODE_PREV",i.EPISODE_NEXT="EPISODE_NEXT",i.MUTE="MUTE",i.VOLUME="VOLUME"})(Ge||(Ge={}));var Jn;(function(i){i.FULL="FULL",i.COUNT="COUNT",i.SHORT="SHORT"})(Jn||(Jn={}));const Ic=i=>{if(i.requestFullscreen)return i.requestFullscreen();if(i.msRequestFullscreen)return i.msRequestFullscreen();if(i.webkitRequestFullscreen)return i.webkitRequestFullscreen();if(i.mozRequestFullScreen)return i.mozRequestFullScreen();const e=i.querySelector("video");return e!=null&&e.webkitEnterFullscreen?e.webkitEnterFullscreen():Promise.reject()},Mc=i=>i.exitFullscreen?i.exitFullscreen():i.msExitFullscreen?i.msExitFullscreen():i.webkitExitFullscreen?i.webkitExitFullscreen():i.mozCancelFullScreen?i.mozCancelFullScreen():Promise.reject(),F4=i=>{const e=i;return e!=null&&e.webkitExitFullscreen?e==null?void 0:e.webkitExitFullscreen():Promise.reject()},qo=()=>{const i=document;return!!(i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement||i.msFullscreenElement)},Vc=i=>{document.addEventListener("fullscreenchange",i),document.addEventListener("webkitfullscreenchange",i),document.addEventListener("mozfullscreenchange",i),document.addEventListener("MSFullscreenChange",i)},Bc=i=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("webkitfullscreenchange",i),document.removeEventListener("mozfullscreenchange",i),document.removeEventListener("MSFullscreenChange",i)},H4=i=>{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")(i))},U4=()=>({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:Gr()?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:Gr()?K("hotkey_map_item_next_episode_mac_value"):K("hotkey_map_item_next_episode_pc_value")}]}]});class Lr{constructor(){this.isRequested=!1,this.videoElement=void 0,this.playerContainer=void 0,this.externalEventHandlers={},this.eventHandlers={enterpictureinpicture:this.onEnterPictureInPicture.bind(this),leavepictureinpicture:this.onLeavePictureInPicture.bind(this),resize:c0(this.onResize.bind(this),R1)},this.info={isActive$:new gr(this.isActive()),type:Bn.PictureInPicture}}isSupported(){const e=br().browser===C1.Yandex;return document.pictureInPictureEnabled&&!e}isActive(){return this.isSupported()&&!!document.pictureInPictureElement}setContext(e){this.svelteContext=e}async revealPictureInPicture(){this.isRequested&&(this.unregistryEventHandlers(),await this.request(),this.registryEventHandlers())}async request(){var e;if(!(!this.isSupported()||this.isActive()))try{await((e=this.videoElement)===null||e===void 0?void 0:e.requestPictureInPicture())}catch(t){this.isRequested=!1}}async remove(){!this.isSupported()||!this.isActive()||await document.exitPictureInPicture()}assignPlayerContainer(e){this.isSupported()&&(this.playerContainer=e)}updateVideoElement(){var e;this.isSupported()&&(this.videoElement=(e=this.playerContainer)===null||e===void 0?void 0:e.querySelector("video"))}registryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.addEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.addEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}registryExternalEventHandlers(e){this.externalEventHandlers={...e}}unregistryEventHandlers(){var e,t;(e=this.videoElement)===null||e===void 0||e.removeEventListener("enterpictureinpicture",this.eventHandlers.enterpictureinpicture),(t=this.videoElement)===null||t===void 0||t.removeEventListener("leavepictureinpicture",this.eventHandlers.leavepictureinpicture)}async dispose(){this.unregistryEventHandlers(),await this.remove()}onEnterPictureInPicture(e){var t,n;const r=e.pictureInPictureWindow;r&&(this.info.isActive$.next(!0),this.isRequested=!0,r.addEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).enterpictureinpicture)===null||n===void 0||n.call(t,e))}onLeavePictureInPicture(e){var t,n,o;const l=e.pictureInPictureWindow;this.info.isActive$.next(!1),this.isRequested=!1,l==null||l.removeEventListener("resize",this.eventHandlers.resize),(n=(t=this.externalEventHandlers).leavepictureinpicture)===null||n===void 0||n.call(t,e),(o=this.playerDummyElement)===null||o===void 0||o.$destroy()}onResize(e){var t,n;(n=(t=this.externalEventHandlers).resize)===null||n===void 0||n.call(t,e)}}function Pl(i){return i instanceof Lr}function q4(i){const e=St();return hn(()=>{e.getAdmanWrapper().startPostroll()}),[]}class j4 extends ye{constructor(e){super(),we(this,e,q4,null,_e,{})}}function W4(i){Ue(i,"v-22jj8o",".container.v-22jj8o.v-22jj8o{position:absolute;top:14px;right:16px;padding:4px 8px;font-size:13px;color:#bbb;background:rgba(0, 0, 0, 0.35);border-radius:4px;transition:color .2s}.container-mobile.v-22jj8o.v-22jj8o{bottom:14px;top:unset;font-size:15px;max-width:142px}.icon.v-22jj8o.v-22jj8o{margin-left:4px;position:relative;top:2px;fill:var(--white);transition:fill .2s}.skip.v-22jj8o.v-22jj8o{width:86px}.skippable.v-22jj8o.v-22jj8o{cursor:pointer;color:var(--white)}.skippable.v-22jj8o.v-22jj8o:hover{color:rgba(255, 255, 255, .75)}.skippable.v-22jj8o:hover .icon.v-22jj8o{fill:rgba(255, 255, 255, .75)}")}function Z4(i){let e=K("skip_ads_after",{time:Math.ceil(i[1]-i[0]).toFixed(0)})+"",t;return{c(){t=ze(e)},m(n,o){E(n,t,o)},p(n,o){o&3&&e!==(e=K("skip_ads_after",{time:Math.ceil(n[1]-n[0]).toFixed(0)})+"")&&xe(t,e)},d(n){n&&P(t)}}}function K4(i){let e,t=K("skip_ads_now")+"",n,o,r,l,s,a;return{c(){e=T("div"),n=ze(t),o=R(),r=B("svg"),l=B("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(r,"class","icon v-22jj8o"),u(r,"width","7"),u(r,"height","12"),u(r,"viewBox","0 0 7 12"),u(r,"fill","none"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","skip v-22jj8o")},m(c,f){E(c,e,f),p(e,n),p(e,o),p(e,r),p(r,l),s||(a=be(e,"click",ot(function(){Sn(i[2])&&i[2].apply(this,arguments)})),s=!0)},p(c,f){i=c},d(c){c&&P(e),s=!1,a()}}}function G4(i){let e;function t(r,l){return r[3]?K4:Z4}let n=t(i),o=n(i);return{c(){e=T("div"),o.c(),u(e,"class","container v-22jj8o"),V(e,"container-mobile",i[4]),V(e,"skippable",i[3])},m(r,l){E(r,e,l),o.m(e,null)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e,null))),l&16&&V(e,"container-mobile",r[4]),l&8&&V(e,"skippable",r[3])},i:W,o:W,d(r){r&&P(e),o.d()}}}function Y4(i,e,t){let n,{position:o=0}=e,{secondsToWatchBeforeSkip:r=0}=e,{skipAd:l=Ye}=e;const a=St().ui.isMobile;z(i,a,f=>t(4,n=f));let c;return i.$$set=f=>{"position"in f&&t(0,o=f.position),"secondsToWatchBeforeSkip"in f&&t(1,r=f.secondsToWatchBeforeSkip),"skipAd"in f&&t(2,l=f.skipAd)},i.$$.update=()=>{i.$$.dirty&3&&t(3,c=o>0&&o>=r)},[o,r,l,c,n,a]}class X4 extends ye{constructor(e){super(),we(this,e,Y4,G4,_e,{position:0,secondsToWatchBeforeSkip:1,skipAd:2},W4)}}function Q4(i){Ue(i,"v-1wy3dql","button.v-1wy3dql{position:absolute;pointer-events:none;bottom:14px;left:16px;font-size:15px;background:white;border:none;padding:6px 10px;border-radius:6px;color:black}")}function J4(i){let e;return{c(){e=T("button"),e.textContent=`${K("visit_advertiser")}`,u(e,"class","v-1wy3dql")},m(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class x4 extends ye{constructor(e){super(),we(this,e,null,J4,_e,{},Q4)}}function $4(i){Ue(i,"v-354ajf",`.container.v-354ajf{width:100%;height:100%}.top-gradient-mobile.v-354ajf{position:absolute;width:100%;height:80px;top:0;left:0;pointer-events:none;background:linear-gradient(
15
15
  360deg,
16
16
  rgba(0, 0, 0, 0) 0%,
17
17
  rgba(0, 0, 0, 0.05) 12%,
@@ -21,15 +21,15 @@ var Kc=Object.defineProperty;var Yc=(i,e,t)=>e in i?Kc(i,e,{enumerable:!0,config
21
21
  rgba(0, 0, 0, 0.5) 77%,
22
22
  rgba(0, 0, 0, 0.55) 88%,
23
23
  rgba(0, 0, 0, 0.65) 100%
24
- )}`)}function Gr(i){let e;return{c(){e=k("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function Kr(i){let e,t;return e=new z4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&32&&(l.position=n[5]),o&64&&(l.secondsToWatchBeforeSkip=n[6]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Yr(i){let e,t;return e=new I4({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xr(i){let e,t;return e=new H4({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function q4(i){let e,t,n,o,l,r,s,a=i[0]&&Gr(),c=i[3]&&Kr(i),f=i[7]&&Yr(),h=i[4]&&Xr();return{c(){e=k("div"),a&&a.c(),t=N(),n=k("video"),o=N(),c&&c.c(),l=N(),f&&f.c(),r=N(),h&&h.c(),Ft(n,"width","100%"),Ft(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(p,_){S(p,e,_),a&&a.m(e,null),d(e,t),d(e,n),i[19](n),d(e,o),c&&c.m(e,null),d(e,l),f&&f.m(e,null),d(e,r),h&&h.m(e,null),i[20](e),s=!0},p(p,[_]){p[0]?a||(a=Gr(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),p[3]?c?(c.p(p,_),_&8&&m(c,1)):(c=Kr(p),c.c(),m(c,1),c.m(e,l)):c&&(me(),v(c,1,1,()=>{c=null}),he()),p[7]?f?_&128&&m(f,1):(f=Yr(),f.c(),m(f,1),f.m(e,r)):f&&(me(),v(f,1,1,()=>{f=null}),he()),p[4]?h?_&16&&m(h,1):(h=Xr(),h.c(),m(h,1),h.m(e,null)):h&&(me(),v(h,1,1,()=>{h=null}),he())},i(p){s||(m(c),m(f),m(h),s=!0)},o(p){v(c),v(f),v(h),s=!1},d(p){p&&y(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),h&&h.d(),i[20](null)}}}function W4(i,e,t){let n,o,l,r,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:h=0}=e;const p=Tt(),_=p.state.isEnded$;W(i,_,Q=>t(7,s=Q));const g=p.ui.isMobile;W(i,g,Q=>t(0,o=Q));let b,L,E=!1;const w=p.ads.playbackState;W(i,w,Q=>t(18,n=Q));const C=p.ads.canSkip,B=p.ads.position;W(i,B,Q=>t(5,l=Q));const R=p.ads.secondsToWatchBeforeSkip;W(i,R,Q=>t(6,r=Q));let U,Y;Qi(()=>{const Q=new AbortController;let ee=()=>{Q.abort()};const T=p.getAdmanWrapper();if(!a){T.onAdmanLoadingError();return}const{width:te,height:ce}=tt(p.ui.playerSize),A=tt(p.ui.isFullscreen),oe=tt(p.ui.isAutoplay),se={width:te,height:ce,isFullscreen:A,isAutoplay:oe,adsContainer:b,adsVideoElement:L,slotId:a,params:c,previewParam:f,duration:h};return window.AdmanHTML?(T.initAdman(se),E=!0):T.loadAdman(Q.signal).then(()=>{T.initAdman(se),E=!0}).catch(()=>{T.onAdmanLoadingError()}),()=>{!E&&ee()}});function j(Q){We[Q?"unshift":"push"](()=>{L=Q,t(2,L)})}function ne(Q){We[Q?"unshift":"push"](()=>{b=Q,t(1,b)})}return i.$$set=Q=>{"adsSlotId"in Q&&t(14,a=Q.adsSlotId),"adsParams"in Q&&t(15,c=Q.adsParams),"adsPreviewParam"in Q&&t(16,f=Q.adsPreviewParam),"duration"in Q&&t(17,h=Q.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,U=C&&n!==Jt.INACTIVE),i.$$.dirty&262145&&t(4,Y=o&&n!==Jt.INACTIVE)},[o,b,L,U,Y,l,r,s,p,_,g,w,B,R,a,c,f,h,n,j,ne]}class Xu extends ye{constructor(e){super(),ke(this,e,W4,q4,_e,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},U4)}}function j4(i){qe(i,"v-1f6baix",".annotations-container.v-1f6baix{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.annotations-container .annotations-layer > *{pointer-events:initial}.annotations-container.shifted.v-1f6baix{height:calc(100% - var(--controls-height) - var(--slider-height))}")}function Z4(i){let e;return{c(){e=k("div"),e.innerHTML="",u(e,"class","annotations-container v-1f6baix"),V(e,"shifted",i[0])},m(t,n){S(t,e,n),i[2](e)},p(t,[n]){n&1&&V(e,"shifted",t[0])},i:K,o:K,d(t){t&&y(e),i[2](null)}}}function G4(i,e,t){let{showControls:n}=e,o;const r=Tt().webApi.annotationsApi;Qi(()=>{if(r)return r.registryRootContainer(o),r.reattach(),()=>r.detach()});function s(a){We[a?"unshift":"push"](()=>{o=a,t(1,o)})}return i.$$set=a=>{"showControls"in a&&t(0,n=a.showControls)},[n,o,s]}class Qu extends ye{constructor(e){super(),ke(this,e,G4,Z4,_e,{showControls:0},j4)}}const An=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(l=>l>9?String(l):`0${l}`).join(":")};function K4(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,l){S(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function Y4(i){let e,t,n;return{c(){e=I("svg"),t=I("rect"),n=I("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,l){S(o,e,l),d(e,t),d(e,n)},d(o){o&&y(e)}}}function X4(i){let e;function t(l,r){return l[0]?Y4:K4}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Q4(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Ju extends ye{constructor(e){super(),ke(this,e,Q4,X4,_e,{isActive:0})}}function J4(i){qe(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function x4(i){let e=An(i[4]-i[3])+"",t;return{c(){t=ze(e)},m(n,o){S(n,t,o)},p(n,o){o&24&&e!==(e=An(n[4]-n[3])+"")&&it(t,e)},i:K,o:K,d(n){n&&y(t)}}}function $4(i){let e,t,n;return t=new Ju({props:{isActive:!0}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function em(i){let e,t,n,o,l,r,s;const a=[$4,x4],c=[];function f(h,p){return h[1]?0:1}return l=f(i),r=c[l]=a[l](i),{c(){e=k("div"),t=k("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=N(),o=k("span"),r.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),V(e,"live",i[1]),V(e,"hidden",i[0]),V(e,"playing",i[2])},m(h,p){S(h,e,p),d(e,t),d(e,n),d(e,o),c[l].m(o,null),s=!0},p(h,[p]){let _=l;l=f(h),l===_?c[l].p(h,p):(me(),v(c[_],1,1,()=>{c[_]=null}),he(),r=c[l],r?r.p(h,p):(r=c[l]=a[l](h),r.c()),m(r,1),r.m(o,null)),(!s||p&2)&&V(e,"live",h[1]),(!s||p&1)&&V(e,"hidden",h[0]),(!s||p&4)&&V(e,"playing",h[2])},i(h){s||(m(r),s=!0)},o(h){v(r),s=!1},d(h){h&&y(e),c[l].d()}}}function tm(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:l=!1}=e,{position:r}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,l=a.isPlaying),"position"in a&&t(3,r=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,l,r,s]}class xu extends ye{constructor(e){super(),ke(this,e,tm,em,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},J4)}}const jl=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}};function im(i){qe(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function nm(i){let e,t=Z("menu_copy_video_link")+"",n,o,l,r,s,a=!i[4]&&!i[16]&&Qr(i);return{c(){e=k("li"),n=ze(t),o=N(),a&&a.c(),l=_t(),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_copy_video_link")),u(e,"class","v-gew86s")},m(c,f){S(c,e,f),d(e,n),S(c,o,f),a&&a.m(c,f),S(c,l,f),r||(s=Ee(e,"click",ct(i[30])),r=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Qr(c),a.c(),a.m(l.parentNode,l)):a&&(a.d(1),a=null)},d(c){c&&(y(e),y(o),y(l)),a&&a.d(c),r=!1,s()}}}function Qr(i){let e,t=Z("menu_copy_video_link_with_timestamp")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_copy_video_link_with_timestamp")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ee(e,"click",ct(i[31])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function Jr(i){let e,t=Z("menu_pip")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("menu_pip")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ee(e,"click",ct(i[21])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function om(i){let e,t=Z("menu_video_rotate")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",Z("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ee(e,"click",ct(i[17])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function xr(i){let e,t=Z("menu_report")+"",n,o,l;return{c(){e=k("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",`${Z("menu_report")}. ${Z("aria_label_new_tab_alert")}`),u(e,"class","v-gew86s")},m(r,s){S(r,e,s),d(e,n),o||(l=Ee(e,"click",ct(i[18])),o=!0)},p:K,d(r){r&&y(e),o=!1,l()}}}function lm(i){var B;let e,t,n,o,l,r,s=(i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug"))+"",a,c,f,h=Z("menu_debug_overlay")+"",p,_,g,b,L=i[9].features.copyVideoLink&&((B=i[8].callbacks)==null?void 0:B.onCopyVideoLink)&&nm(i),E=i[11]&&i[5]!==_n.CONNECTED&&!i[16]&&Jr(i),w=i[9].features.videoRotate&&!i[16]&&om(i),C=i[9].showSupport&&!i[6]&&xr(i);return{c(){e=k("ul"),L&&L.c(),t=N(),E&&E.c(),n=N(),w&&w.c(),o=N(),C&&C.c(),l=N(),r=k("li"),a=ze(s),c=N(),f=k("li"),p=ze(h),u(r,"tabindex","0"),u(r,"role","menuitem"),u(r,"aria-label",i[9].features.saveDebugInfoToFile?Z("menu_save_debug"):Z("menu_copy_debug")),u(r,"class","v-gew86s"),u(f,"tabindex","0"),u(f,"role","menuitem"),u(f,"aria-label",_=i[7]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Ft(e,"top",i[2]+"px"),Ft(e,"left",i[1]+"px"),u(e,"class","v-gew86s"),V(e,"hidden",!i[0])},m(R,U){S(R,e,U),L&&L.m(e,null),d(e,t),E&&E.m(e,null),d(e,n),w&&w.m(e,null),d(e,o),C&&C.m(e,null),d(e,l),d(e,r),d(r,a),d(e,c),d(e,f),d(f,p),i[32](e),g||(b=[Ee(r,"click",ct(i[19])),Ee(f,"click",ct(i[20])),Ee(e,"contextmenu",yi(i[29]))],g=!0)},p(R,U){var Y;R[9].features.copyVideoLink&&((Y=R[8].callbacks)!=null&&Y.onCopyVideoLink)&&L.p(R,U),R[11]&&R[5]!==_n.CONNECTED&&!R[16]?E?E.p(R,U):(E=Jr(R),E.c(),E.m(e,n)):E&&(E.d(1),E=null),R[9].features.videoRotate&&!R[16]&&w.p(R,U),R[9].showSupport&&!R[6]?C?C.p(R,U):(C=xr(R),C.c(),C.m(e,l)):C&&(C.d(1),C=null),U[0]&128&&_!==(_=R[7]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",_),U[0]&4&&Ft(e,"top",R[2]+"px"),U[0]&2&&Ft(e,"left",R[1]+"px"),U[0]&1&&V(e,"hidden",!R[0])},i:K,o:K,d(R){R&&y(e),L&&L.d(),E&&E.d(),w&&w.d(),C&&C.d(),i[32](null),g=!1,li(b)}}}function rm(i,e,t){var G;let n,o,l,r,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:h=0}=e,{playerContainerRef:p=void 0}=e,{controlsContainerRef:_=void 0}=e,{returnFocus:g}=e,b=0,L=0;const E=Tt(),w=Ji(),C=E.ui.contextMenuVisible,B=E.ui.debugPanelVisible;W(i,B,O=>t(7,s=O));const R=E.webApi.pictureInPictureApi,U=(G=E.webApi.pictureInPictureApi)==null?void 0:G.info.isActive$;W(i,U,O=>t(6,r=O));const Y=E.state.chromecastState$;W(i,Y,O=>t(5,l=O));const j=E.state.isLive$;W(i,j,O=>t(4,o=O));const ne=E.state.positionExact$;W(i,ne,O=>t(33,n=O));const Q=E.state.isInteractive;let ee;const T=(O,ve)=>{if(!ee||!p||!_)return;const X=ee.getBoundingClientRect(),M=p.getBoundingClientRect();t(1,b=O-M.left),t(2,L=ve-M.top),b+X.width>M.width&&t(1,b=M.width-X.width),L+X.height>M.height&&t(2,L=M.height-X.height),t(1,b=Math.max(b,0)),t(2,L=Math.max(L,0))},te=()=>{C.set(!1),E.actions.internal.videoRotate()},ce=()=>{window.open(c,"_blank"),C.set(!1),E.actions.internal.pause()},A=()=>{const O=E.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const ve=new Blob([...O],{type:"plain/text"}),X=window.URL.createObjectURL(ve);x1(X,"vk_player_debug_info","txt")}else jl(E.actions.internal.getDebugTextData());C.set(!1),g==null||g()},oe=()=>{B.set(!0),C.set(!1),g==null||g()},se=async()=>{try{R!=null&&R.isActive()?await(R==null?void 0:R.remove()):await(R==null?void 0:R.request())}finally{C.set(!1),g==null||g()}},we=(O=!1)=>{var ve,X;if((ve=E.callbacks)!=null&&ve.onCopyVideoLink){const M=(X=E.callbacks)==null?void 0:X.onCopyVideoLink(O,n);M&&jl(M)}C.set(!1)};function be(O){uo.call(this,i,O)}const Te=()=>we(),Se=()=>we(!0);function H(O){We[O?"unshift":"push"](()=>{ee=O,t(3,ee)})}return i.$$set=O=>{"visible"in O&&t(0,a=O.visible),"supportLink"in O&&t(23,c=O.supportLink),"x"in O&&t(24,f=O.x),"y"in O&&t(25,h=O.y),"playerContainerRef"in O&&t(26,p=O.playerContainerRef),"controlsContainerRef"in O&&t(27,_=O.controlsContainerRef),"returnFocus"in O&&t(28,g=O.returnFocus)},i.$$.update=()=>{i.$$.dirty[0]&50331648&&T(f,h)},[a,b,L,ee,o,l,r,s,E,w,B,R,U,Y,j,ne,Q,te,ce,A,oe,se,we,c,f,h,p,_,g,be,Te,Se,H]}class sm extends ye{constructor(e){super(),ke(this,e,rm,lm,_e,{visible:0,supportLink:23,x:24,y:25,playerContainerRef:26,controlsContainerRef:27,returnFocus:28},im,[-1,-1])}}class am{constructor(e){this.value=e,this.next=null}}class Al{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new am(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function um(i){qe(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function cm(i){let e,t;return{c(){e=k("div"),t=k("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){S(n,e,o),d(e,t),i[3](t)},p:K,i:K,o:K,d(n){n&&y(e),i[3](null)}}}const Ll=16,Vl=120,$r=60;function fm(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function dm(i,e,t){let{values:n=[]}=e,o,l;const r=Vl/$r;Qi(()=>{t(0,o.width=Vl,o),t(0,o.height=Ll,o),t(2,l=o.getContext("2d"))});function s(a){We[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&l){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);l.clearRect(0,0,Vl,Ll);let c=$r-1;for(let f=n.length-1;f>=0;f--){const h=c*r,p=a>0?Ll*(n[f]/a):0;fm(l,h,0,r,p),c--}}},[o,n,l,s]}class ir extends ye{constructor(e){super(),ke(this,e,dm,cm,_e,{values:1},um)}}function mm(i){qe(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function es(i){let e,t,n,o,l=i[0].id+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Video id",n=N(),o=k("span"),r=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].id+"")&&it(r,l)},d(s){s&&y(e)}}}function ts(i){let e,t,n,o,l=i[0].provider+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Provider",n=N(),o=k("span"),r=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].provider+"")&&it(r,l)},d(s){s&&y(e)}}}function is(i){let e,t,n,o,l=i[0].viewport+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Viewport",n=N(),o=k("span"),r=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].viewport+"")&&it(r,l)},d(s){s&&y(e)}}}function ns(i){let e,t,n,o,l=i[0].videoSize+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="Video size",n=N(),o=k("span"),r=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].videoSize+"")&&it(r,l)},d(s){s&&y(e)}}}function os(i){let e,t,n,o,l=i[0].cdn+"",r;return{c(){e=k("div"),t=k("div"),t.textContent="CDN host",n=N(),o=k("span"),r=ze(l),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){S(s,e,a),d(e,t),d(e,n),d(e,o),d(o,r)},p(s,a){a&1&&l!==(l=s[0].cdn+"")&&it(r,l)},d(s){s&&y(e)}}}function ls(i){let e,t,n,o,l=i[0].volume+"",r,s;return{c(){e=k("div"),t=k("div"),t.textContent="Volume",n=N(),o=k("span"),r=ze(l),s=ze(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].volume+"")&&it(r,l)},d(a){a&&y(e)}}}function rs(i){let e,t,n,o,l=i[0].buffer.toFixed(2)+"",r,s;return{c(){e=k("div"),t=k("div"),t.textContent="Buffer",n=N(),o=k("span"),r=ze(l),s=ze(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){S(a,e,c),d(e,t),d(e,n),d(e,o),d(o,r),d(o,s)},p(a,c){c&1&&l!==(l=a[0].buffer.toFixed(2)+"")&&it(r,l)},d(a){a&&y(e)}}}function ss(i){let e,t,n,o,l,r,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new ir({props:{values:i[5]}}),{c(){e=k("div"),t=k("div"),t.textContent="Network",n=N(),F(o.$$.fragment),l=N(),r=k("span"),a=ze(s),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){S(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,p){const _={};p&32&&(_.values=h[5]),o.$set(_),(!f||p&1)&&s!==(s=h[0].speed.toFixed(2)+"")&&it(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function as(i){let e,t,n,o,l,r,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new ir({props:{values:i[6]}}),{c(){e=k("div"),t=k("div"),t.textContent="V bitrate",n=N(),F(o.$$.fragment),l=N(),r=k("span"),a=ze(s),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(h,p){S(h,e,p),d(e,t),d(e,n),z(o,e,null),d(e,l),d(e,r),d(r,a),d(r,c),f=!0},p(h,p){const _={};p&64&&(_.values=h[6]),o.$set(_),(!f||p&1)&&s!==(s=h[0].bitrate.toFixed(2)+"")&&it(a,s)},i(h){f||(m(o.$$.fragment,h),f=!0)},o(h){v(o.$$.fragment,h),f=!1},d(h){h&&y(e),D(o)}}}function hm(i){let e,t,n,o,l,r,s,a,c=i[0].version+"",f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,Te,Se,H,G,O=i[0].id&&es(i),ve=i[0].provider&&ts(i),X=i[0].viewport&&is(i),M=i[0].videoSize&&ns(i),J=i[0].cdn&&os(i),Ie=i[0].volume&&ls(i),Pe=i[0].buffer&&rs(i),Ae=i[0].speed&&ss(i),x=i[0].bitrate&&as(i);return se=new ir({props:{values:i[4]}}),{c(){e=k("div"),t=k("button"),t.textContent="[x]",n=N(),o=k("div"),l=k("div"),r=k("div"),r.textContent="Version",s=N(),a=k("span"),f=ze(c),h=N(),O&&O.c(),p=N(),ve&&ve.c(),_=N(),X&&X.c(),g=N(),M&&M.c(),b=N(),J&&J.c(),L=N(),Ie&&Ie.c(),E=N(),Pe&&Pe.c(),w=N(),C=k("div"),B=k("div"),B.textContent="Dropped",R=N(),U=k("span"),Y=ze(i[2]),j=ze(" / "),ne=ze(i[1]),Q=ze(" frames"),ee=N(),Ae&&Ae.c(),T=N(),x&&x.c(),te=N(),ce=k("div"),A=k("div"),A.textContent="FPS",oe=N(),F(se.$$.fragment),we=N(),be=k("span"),Te=ze(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(r,"class","v-1gy2e68"),u(l,"class","v-1gy2e68"),u(B,"class","v-1gy2e68"),u(C,"class","v-1gy2e68"),u(A,"class","v-1gy2e68"),u(ce,"class","v-1gy2e68"),u(o,"class","content v-1gy2e68"),u(e,"class","container v-1gy2e68"),V(e,"container-mobile",i[7])},m(ae,pe){S(ae,e,pe),d(e,t),d(e,n),d(e,o),d(o,l),d(l,r),d(l,s),d(l,a),d(a,f),d(o,h),O&&O.m(o,null),d(o,p),ve&&ve.m(o,null),d(o,_),X&&X.m(o,null),d(o,g),M&&M.m(o,null),d(o,b),J&&J.m(o,null),d(o,L),Ie&&Ie.m(o,null),d(o,E),Pe&&Pe.m(o,null),d(o,w),d(o,C),d(C,B),d(C,R),d(C,U),d(U,Y),d(U,j),d(U,ne),d(U,Q),d(o,ee),Ae&&Ae.m(o,null),d(o,T),x&&x.m(o,null),d(o,te),d(o,ce),d(ce,A),d(ce,oe),z(se,ce,null),d(ce,we),d(ce,be),d(be,Te),Se=!0,H||(G=Ee(t,"click",ct(i[9])),H=!0)},p(ae,[pe]){(!Se||pe&1)&&c!==(c=ae[0].version+"")&&it(f,c),ae[0].id?O?O.p(ae,pe):(O=es(ae),O.c(),O.m(o,p)):O&&(O.d(1),O=null),ae[0].provider?ve?ve.p(ae,pe):(ve=ts(ae),ve.c(),ve.m(o,_)):ve&&(ve.d(1),ve=null),ae[0].viewport?X?X.p(ae,pe):(X=is(ae),X.c(),X.m(o,g)):X&&(X.d(1),X=null),ae[0].videoSize?M?M.p(ae,pe):(M=ns(ae),M.c(),M.m(o,b)):M&&(M.d(1),M=null),ae[0].cdn?J?J.p(ae,pe):(J=os(ae),J.c(),J.m(o,L)):J&&(J.d(1),J=null),ae[0].volume?Ie?Ie.p(ae,pe):(Ie=ls(ae),Ie.c(),Ie.m(o,E)):Ie&&(Ie.d(1),Ie=null),ae[0].buffer?Pe?Pe.p(ae,pe):(Pe=rs(ae),Pe.c(),Pe.m(o,w)):Pe&&(Pe.d(1),Pe=null),(!Se||pe&4)&&it(Y,ae[2]),(!Se||pe&2)&&it(ne,ae[1]),ae[0].speed?Ae?(Ae.p(ae,pe),pe&1&&m(Ae,1)):(Ae=ss(ae),Ae.c(),m(Ae,1),Ae.m(o,T)):Ae&&(me(),v(Ae,1,1,()=>{Ae=null}),he()),ae[0].bitrate?x?(x.p(ae,pe),pe&1&&m(x,1)):(x=as(ae),x.c(),m(x,1),x.m(o,te)):x&&(me(),v(x,1,1,()=>{x=null}),he());const re={};pe&16&&(re.values=ae[4]),se.$set(re),(!Se||pe&8)&&it(Te,ae[3]),(!Se||pe&128)&&V(e,"container-mobile",ae[7])},i(ae){Se||(m(Ae),m(x),m(se.$$.fragment,ae),Se=!0)},o(ae){v(Ae),v(x),v(se.$$.fragment,ae),Se=!1},d(ae){ae&&y(e),O&&O.d(),ve&&ve.d(),X&&X.d(),M&&M.d(),J&&J.d(),Ie&&Ie.d(),Pe&&Pe.d(),Ae&&Ae.d(),x&&x.d(),D(se),H=!1,G()}}}function pm(i,e,t){let n;const o=Tt(),l=o.ui.debugPanelVisible,r=o.ui.isMobile;W(i,r,C=>t(7,n=C));const s=()=>{fn.remove(Fl),l.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,h=0,p=0;const _=new Al(60),g=new Al(60),b=new Al(60);let L=[],E=[],w=[];return Qi(()=>{fn.set(Fl,"true"),o.actions.internal.startLogging(),c&&(t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const C=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let B;return c&&(B=window.setInterval(()=>{if(c){t(2,h=c.getVideoPlaybackQuality().droppedVideoFrames);const R=c.getVideoPlaybackQuality().totalVideoFrames;t(3,p=R-f),t(1,f=R),_.push(p),a.speed&&g.push(a.speed),a.bitrate&&b.push(a.bitrate),t(4,L=_.getValuesFromBottom()),t(5,E=g.getValuesFromBottom()),t(6,w=b.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(C),B&&clearInterval(B)}}),[a,f,h,p,L,E,w,n,r,s]}class $u extends ye{constructor(e){super(),ke(this,e,pm,hm,_e,{},mm)}}function vm(i){qe(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function gm(i){let e,t,n;return{c(){e=k("div"),u(e,"class","close v-1ome55p")},m(o,l){S(o,e,l),t||(n=Ee(e,"click",ct(i[0])),t=!0)},p:K,i:K,o:K,d(o){o&&y(e),t=!1,n()}}}function _m(i){function e(t){uo.call(this,i,t)}return[e]}class bm extends ye{constructor(e){super(),ke(this,e,_m,gm,_e,{},vm)}}function wm(i){qe(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
- }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function km(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("canvas"),n=N(),o=I("svg"),l=I("g"),r=I("g"),s=I("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(r,"fill-rule","nonzero"),u(l,"fill","none"),u(l,"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){S(a,e,c),d(e,t),i[2](t),d(e,n),d(e,o),d(o,l),d(l,r),d(r,s)},p:K,i:K,o:K,d(a){a&&y(e),i[2](null)}}}const ym=5e3;function Sm(i,e,t){let{onTimerEnded:n=nt}=e,o;Qi(()=>{let r;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/ym;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),r=requestAnimationFrame(c)):n()};return r=requestAnimationFrame(c),()=>{cancelAnimationFrame(r)}});function l(r){We[r?"unshift":"push"](()=>{o=r,t(0,o)})}return i.$$set=r=>{"onTimerEnded"in r&&t(1,n=r.onTimerEnded)},[o,n,l]}class Cm extends ye{constructor(e){super(),ke(this,e,Sm,km,_e,{onTimerEnded:1},wm)}}function Pm(i){qe(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function us(i){let e,t;return e=new Cm({props:{onTimerEnded:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.onTimerEnded=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Tm(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R;s=new bm({}),s.$on("click",i[4]);let U=i[3]&&us(i);return{c(){e=k("div"),t=N(),n=k("div"),o=k("div"),l=k("div"),l.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",r=N(),F(s.$$.fragment),a=N(),c=k("div"),f=k("div"),h=k("div"),p=k("div"),_=N(),U&&U.c(),b=N(),L=k("div"),E=k("div"),w=ze(i[0]),u(e,"class","overlay v-kisfwc"),u(l,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(p,"class","thumb-overlay v-kisfwc"),u(h,"class","thumb v-kisfwc"),u(h,"style",g=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(E,"class","title v-kisfwc"),u(L,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(Y,j){S(Y,e,j),S(Y,t,j),S(Y,n,j),d(n,o),d(o,l),d(o,r),z(s,o,null),d(n,a),d(n,c),d(c,f),d(f,h),d(h,p),d(h,_),U&&U.m(h,null),d(c,b),d(c,L),d(L,E),d(E,w),C=!0,B||(R=Ee(c,"click",function(){Ln(i[2])&&i[2].apply(this,arguments)}),B=!0)},p(Y,[j]){i=Y,i[3]?U?(U.p(i,j),j&8&&m(U,1)):(U=us(i),U.c(),m(U,1),U.m(h,null)):U&&(me(),v(U,1,1,()=>{U=null}),he()),(!C||j&2&&g!==(g=`background-image: url('${i[1]}')`))&&u(h,"style",g),(!C||j&1)&&it(w,i[0])},i(Y){C||(m(s.$$.fragment,Y),m(U),C=!0)},o(Y){v(s.$$.fragment,Y),v(U),C=!1},d(Y){Y&&(y(e),y(t),y(n)),D(s),U&&U.d(),B=!1,R()}}}function Em(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:l}=e,r=!0;const s=()=>t(3,r=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,l=a.playNextVideo)},[n,o,l,r,s]}class Am extends ye{constructor(e){super(),ke(this,e,Em,Tm,_e,{title:0,thumb:1,playNextVideo:2},Pm)}}const ec=(i,e)=>Math.min(+(i+e).toFixed(2),1),tc=(i,e)=>Math.max(+(i-e).toFixed(2),0),ic=(i,e,t)=>{const n=ec(e,t);e<1&&i.actions.internal.setVolume(n)},nc=(i,e,t)=>{const n=tc(e,t);e>0&&i.actions.internal.setVolume(n)};function Lm(i){qe(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function Vm(i){let e,t,n,o;const l=i[21].default,r=Vn(l,i,i[20],null);return{c(){e=k("div"),r&&r.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){S(s,e,a),r&&r.m(e,null),i[22](e),t=!0,n||(o=[Ee(e,"keyup",i[12]),Ee(e,"keydown",i[11])],n=!0)},p(s,a){r&&r.p&&(!t||a[0]&1048576)&&Mn(r,l,s,s[20],t?In(l,s[20],a,null):Rn(s[20]),null)},i(s){t||(m(r,s),t=!0)},o(s){v(r,s),t=!1},d(s){s&&y(e),r&&r.d(s),i[22](null),n=!1,li(o)}}}function Im(i,e,t){let n,o,l,r,s,a,c,f,h,p,{$$slots:_={},$$scope:g}=e,{isAds:b}=e,{hideContextMenu:L}=e,{toggleFullscreen:E}=e,{showHotKeyHelpers:w}=e,{showKeyMap:C}=e,{fakePlayButtonHandler:B}=e;const R=Tt(),U=Ji(),Y=R.getLogger().createComponentLog("KeyboardControls component"),j=R.state.playbackState$;W(i,j,X=>t(26,o=X));const ne=R.ads.playbackState;W(i,ne,X=>t(25,n=X));const Q=R.state.positionExact$;W(i,Q,X=>t(31,c=X));const ee=R.state.duration$;W(i,ee,X=>t(30,a=X));const T=R.state.volume$;W(i,T,X=>t(34,p=X));const te=R.ui.controls.disabledControls$;W(i,te,X=>t(29,s=X));const ce=R.state.muted$;W(i,ce,X=>t(28,r=X));const A=R.state.currentSubtitle$;W(i,A,X=>t(27,l=X));const oe=R.state.currentPlaybackRate$;W(i,oe,X=>t(32,f=X));const se=R.state.availablePlaybackRates$;W(i,se,X=>t(33,h=X));let we=0,be=!0,Te;const Se=()=>Te==null?void 0:Te.focus(),H=X=>(X!==be&&(be=X,we=0),we+=1,(U.controls.seekStepKeyboard+U.controls.seekStepKeyboard*we)/1e3),G=X=>{L();const M=X.code,J=!R0.has(M);if(X.ctrlKey&&J||X.altKey&&J||X.metaKey)return;const Ie=o===Gt.PLAYING||o===Gt.PAUSED,Pe=b&&(n===Jt.PAUSED||n===Jt.PLAYING),Ae=!Pe&&!s.has(pt.TIMELINE);if(Ie||Pe)switch(Y({message:`key down, code: ${M}`}),M){case Ue.KeyJ:case Ue.ArrowLeft:{if(!Ae)break;if(X.ctrlKey||X.altKey){const x=R.actions.internal.getPrevEpisode();R.actions.internal.seekToPrevEpisode(x),x&&w({type:Ye.EPISODE_PREV,text:x.text}),X.preventDefault()}else{const x=X.shiftKey?H(!1):U.controls.seekStepKeyboard/1e3,ae=Math.max(c-x,0);c>0&&(R.actions.internal.seekTime(ae,jt.DOUBLE_TAP),w({type:Ye.BACKWARD_SEEK,text:x.toString()}),X.preventDefault())}break}case Ue.KeyL:case Ue.ArrowRight:{if(!Ae)break;if(X.ctrlKey||X.altKey){const x=R.actions.internal.getNextEpisode();R.actions.internal.seekToNextEpisode(x),x&&w({type:Ye.EPISODE_NEXT,text:x.text}),X.preventDefault()}else{const x=X.shiftKey?H(!0):U.controls.seekStepKeyboard/1e3,ae=Math.min(c+x,a);Math.round(c)<Math.round(a)&&(R.actions.internal.seekTime(ae,jt.DOUBLE_TAP),w({type:Ye.FORWARD_SEEK,text:x.toString()}),X.preventDefault())}break}case Ue.ArrowUp:{const x=p,ae=U.controls.volumeStepKeyboard,pe=x<=1;if(ic(R,x,ae),pe){const re=Math.round(ec(x,ae)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}X.preventDefault();break}case Ue.ArrowDown:{const x=p,ae=U.controls.volumeStepKeyboard,pe=x>=0;if(nc(R,x,ae),pe){const re=Math.round(tc(x,ae)*100).toString();w({type:Ye.VOLUME,t:{key:"hotkey_helper_current_volume",value:re}})}X.preventDefault();break}case Ue.Comma:{if(X.shiftKey){R.actions.internal.decrementPlaybackRate();const x=h.find(ae=>ae.value===f);w({type:Ye.RATE_DOWN,text:x==null?void 0:x.displayValue}),X.preventDefault()}else{if(Pe||o!==Gt.PAUSED)break;const x=Math.max(c-U.controls.seekStepFrame/1e3,0);c>0&&(w({type:Ye.BACKWARD_SEEK}),R.actions.internal.clearDelayedBufferingCheckTimeout(),R.actions.internal.seekTime(x,jt.DOUBLE_TAP),X.preventDefault())}break}case Ue.Period:{if(X.shiftKey){R.actions.internal.incrementPlaybackRate();const x=h.find(ae=>ae.value===f);w({type:Ye.RATE_UP,text:x==null?void 0:x.displayValue}),X.preventDefault()}else{if(Pe||o!==Gt.PAUSED)break;const x=Math.min(c+U.controls.seekStepFrame/1e3,a);c<a&&(w({type:Ye.FORWARD_SEEK}),R.actions.internal.clearDelayedBufferingCheckTimeout(),R.actions.internal.seekTime(x,jt.DOUBLE_TAP),X.preventDefault())}break}case Ue.KeyK:case Ue.Space:s.has(pt.PLAY_BUTTON)||(B?B():(R.actions.internal.togglePlay(),w({type:o===Gt.PLAYING?Ye.PLAY:Ye.STOP}))),X.preventDefault();break;case Ue.KeyM:{w({type:r?Ye.VOLUME:Ye.MUTE}),R.actions.internal.toggleMuted(),X.preventDefault();break}case Ue.KeyF:E(),X.preventDefault();break;case Ue.KeyC:R.actions.internal.toggleSubtitle(),l.value!=="off"?w({type:Ye.SUBTITLES_ON,text:l==null?void 0:l.displayValue}):w({type:Ye.SUBTITLES_OFF}),X.preventDefault();break;case Ue.KeyI:R.actions.internal.togglePictureInPicture(),X.preventDefault();break;case Ue.Digit1:case Ue.Numpad1:w(),R.actions.internal.seekToPercent(.1,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit2:case Ue.Numpad2:w(),R.actions.internal.seekToPercent(.2,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit3:case Ue.Numpad3:w(),R.actions.internal.seekToPercent(.3,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit4:case Ue.Numpad4:w(),R.actions.internal.seekToPercent(.4,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit5:case Ue.Numpad5:w(),R.actions.internal.seekToPercent(.5,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit6:case Ue.Numpad6:w(),R.actions.internal.seekToPercent(.6,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit7:case Ue.Numpad7:w(),R.actions.internal.seekToPercent(.7,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit8:case Ue.Numpad8:w(),R.actions.internal.seekToPercent(.8,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit9:case Ue.Numpad9:w(),R.actions.internal.seekToPercent(.9,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Digit0:case Ue.Numpad0:w(),R.actions.internal.seekToPercent(0,jt.DOUBLE_TAP),X.preventDefault();break;case Ue.Slash:{X.shiftKey&&U.features.hotKeyMapModal&&(C(),X.preventDefault());break}case Ue.ShiftLeft:case Ue.ShiftRight:X.preventDefault();break;default:$c(M);break}},O=X=>{const M=X.code;if(X.ctrlKey||X.altKey||X.metaKey)return;const J=o===Gt.PLAYING||o===Gt.PAUSED,Ie=b&&(n===Jt.PAUSED||n===Jt.PLAYING);if(J||Ie)switch(M){case Ue.ShiftLeft:case Ue.ShiftRight:we=0;break}};function ve(X){We[X?"unshift":"push"](()=>{Te=X,t(0,Te)})}return i.$$set=X=>{"isAds"in X&&t(13,b=X.isAds),"hideContextMenu"in X&&t(14,L=X.hideContextMenu),"toggleFullscreen"in X&&t(15,E=X.toggleFullscreen),"showHotKeyHelpers"in X&&t(16,w=X.showHotKeyHelpers),"showKeyMap"in X&&t(17,C=X.showKeyMap),"fakePlayButtonHandler"in X&&t(18,B=X.fakePlayButtonHandler),"$$scope"in X&&t(20,g=X.$$scope)},[Te,j,ne,Q,ee,T,te,ce,A,oe,se,G,O,b,L,E,w,C,B,Se,g,_,ve]}class Mm extends ye{constructor(e){super(),ke(this,e,Im,Vm,_e,{isAds:13,hideContextMenu:14,toggleFullscreen:15,showHotKeyHelpers:16,showKeyMap:17,fakePlayButtonHandler:18,focus:19},Lm,[-1,-1])}get focus(){return this.$$.ctx[19]}}function Rm(i){qe(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Nm(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){S(t,e,n)},p:K,i:K,o:K,d(t){t&&y(e)}}}class oc extends ye{constructor(e){super(),ke(this,e,null,Nm,_e,{},Rm)}}function Bm(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),_=I("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2422_111980"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2422_111980"),u(_,"result","shape"),u(r,"id","a"),u(r,"x",".5"),u(r,"y",".5"),u(r,"width","23"),u(r,"height","23"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(g,b){S(g,e,b),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,_)},p:K,i:K,o:K,d(g){g&&y(e)}}}class Om extends ye{constructor(e){super(),ke(this,e,null,Bm,_e,{})}}function zm(i){qe(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function Dm(i){let e,t,n,o,l,r,s,a,c,f,h;const p=i[9].default,_=Vn(p,i,i[8],null);return{c(){var g,b,L,E,w;e=k("button"),_&&_.c(),u(e,"class",t="btn "+i[0]+" v-1anemql"),u(e,"style",n=i[1]||null),e.disabled=o=(g=i[2])!=null?g:null,u(e,"aria-hidden",l=(b=i[4])!=null?b:null),u(e,"aria-label",r=(L=i[5])!=null?L:null),u(e,"aria-keyshortcuts",s=(E=i[6])!=null?E:null),u(e,"data-testid",a=(w=i[3])!=null?w:null)},m(g,b){S(g,e,b),_&&_.m(e,null),c=!0,f||(h=[Ee(e,"pointerdown",ct(yi(i[10]))),Ee(e,"click",ct(yi(function(){Ln(i[7])&&i[7].apply(this,arguments)})))],f=!0)},p(g,[b]){var L,E,w,C,B;i=g,_&&_.p&&(!c||b&256)&&Mn(_,p,i,i[8],c?In(p,i[8],b,null):Rn(i[8]),null),(!c||b&1&&t!==(t="btn "+i[0]+" v-1anemql"))&&u(e,"class",t),(!c||b&2&&n!==(n=i[1]||null))&&u(e,"style",n),(!c||b&4&&o!==(o=(L=i[2])!=null?L:null))&&(e.disabled=o),(!c||b&16&&l!==(l=(E=i[4])!=null?E:null))&&u(e,"aria-hidden",l),(!c||b&32&&r!==(r=(w=i[5])!=null?w:null))&&u(e,"aria-label",r),(!c||b&64&&s!==(s=(C=i[6])!=null?C:null))&&u(e,"aria-keyshortcuts",s),(!c||b&8&&a!==(a=(B=i[3])!=null?B:null))&&u(e,"data-testid",a)},i(g){c||(m(_,g),c=!0)},o(g){v(_,g),c=!1},d(g){g&&y(e),_&&_.d(g),f=!1,li(h)}}}function Fm(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:l=""}=e,{style:r=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{click:p=nt}=e;function _(g){uo.call(this,i,g)}return i.$$set=g=>{"className"in g&&t(0,l=g.className),"style"in g&&t(1,r=g.style),"disabled"in g&&t(2,s=g.disabled),"testId"in g&&t(3,a=g.testId),"ariaHidden"in g&&t(4,c=g.ariaHidden),"ariaLabel"in g&&t(5,f=g.ariaLabel),"ariaKeyShortCut"in g&&t(6,h=g.ariaKeyShortCut),"click"in g&&t(7,p=g.click),"$$scope"in g&&t(8,o=g.$$scope)},[l,r,s,a,c,f,h,p,o,n,_]}class Si extends ye{constructor(e){super(),ke(this,e,Fm,Dm,_e,{className:0,style:1,disabled:2,testId:3,ariaHidden:4,ariaLabel:5,ariaKeyShortCut:6,click:7},zm)}}function Hm(i){qe(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function cs(i){let e,t,n,o,l,r=i[2]&&fs(i);return{c(){e=k("div"),t=k("h3"),n=ze(i[3]),o=N(),r&&r.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){S(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=!0},p(s,a){(!l||a&8)&&it(n,s[3]),s[2]?r?(r.p(s,a),a&4&&m(r,1)):(r=fs(s),r.c(),m(r,1),r.m(e,null)):r&&(me(),v(r,1,1,()=>{r=null}),he())},i(s){l||(m(r),l=!0)},o(s){v(r),l=!1},d(s){s&&y(e),r&&r.d()}}}function fs(i){let e,t;return e=new Si({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:Z("hotkey_map_modal_close_btn_text"),$$slots:{default:[Um]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.click=n[0]),o&32&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Um(i){let e,t;return e=new Om({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qm(i){let e,t,n,o,l,r,s=i[1]&&cs(i);const a=i[4].default,c=Vn(a,i,i[5],null);return{c(){e=k("div"),t=k("div"),s&&s.c(),n=N(),o=k("div"),l=k("div"),c&&c.c(),u(l,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,h){S(f,e,h),d(e,t),s&&s.m(t,null),d(t,n),d(t,o),d(o,l),c&&c.m(l,null),r=!0},p(f,[h]){f[1]?s?(s.p(f,h),h&2&&m(s,1)):(s=cs(f),s.c(),m(s,1),s.m(t,n)):s&&(me(),v(s,1,1,()=>{s=null}),he()),c&&c.p&&(!r||h&32)&&Mn(c,a,f,f[5],r?In(a,f[5],h,null):Rn(f[5]),null)},i(f){r||(m(s),m(c,f),r=!0)},o(f){v(s),v(c,f),r=!1},d(f){f&&y(e),s&&s.d(),c&&c.d(f)}}}function Wm(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:l}=e,{showHeader:r=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,l=c.onClose),"showHeader"in c&&t(1,r=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[l,r,s,a,n,o]}class jm extends ye{constructor(e){super(),ke(this,e,Wm,qm,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},Hm)}}const Zm=new Set(["BR"]),ds=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const l=n[o],r=l.tagName;Zm.has(r)||(e=l.parentElement)===null||e===void 0||e.removeChild(l)}return t.innerHTML};function Gm(i){qe(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function ms(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function hs(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function ps(i){let e,t,n=ds(i[9])+"",o,l,r=i[10]+"",s,a;return{c(){e=k("li"),t=k("span"),o=N(),l=k("span"),s=ze(r),a=N(),u(t,"class","hot-key-map-item-description v-quklnq"),u(l,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){S(c,e,f),d(e,t),t.innerHTML=n,d(e,o),d(e,l),d(l,s),d(e,a)},p(c,f){f&1&&n!==(n=ds(c[9])+"")&&(t.innerHTML=n),f&1&&r!==(r=c[10]+"")&&it(s,r)},d(c){c&&y(e)}}}function vs(i){let e,t,n=i[5]+"",o,l,r,s,a=Kt(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=ps(hs(i,a,f));return{c(){e=k("div"),t=k("h5"),o=ze(n),l=N(),r=k("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=N(),u(t,"class","hot-key-map-group-title v-quklnq"),u(r,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,h){S(f,e,h),d(e,t),d(t,o),d(e,l),d(e,r);for(let p=0;p<c.length;p+=1)c[p]&&c[p].m(r,null);d(e,s)},p(f,h){if(h&1&&n!==(n=f[5]+"")&&it(o,n),h&1){a=Kt(f[6]);let p;for(p=0;p<a.length;p+=1){const _=hs(f,a,p);c[p]?c[p].p(_,h):(c[p]=ps(_),c[p].c(),c[p].m(r,null))}for(;p<c.length;p+=1)c[p].d(1);c.length=a.length}},d(f){f&&y(e),cn(c,f)}}}function Km(i){let e,t=Kt(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=vs(ms(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,l){S(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,l){if(l&1){t=Kt(o[0].groups);let r;for(r=0;r<t.length;r+=1){const s=ms(o,t,r);n[r]?n[r].p(s,l):(n[r]=vs(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&y(e),cn(n,o)}}}function Ym(i){let e,t;return e=new jm({props:{title:i[0].title,onClose:i[2],$$slots:{default:[Km]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.title=n[0].title),o&8193&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xm(i,e,t){let n;const o=Tt(),{data:l,show:r}=o.ui.modals.hotKeyMap;return W(i,l,a=>t(0,n=a)),[n,l,()=>{r.set(!1)}]}class Qm extends ye{constructor(e){super(),ke(this,e,Xm,Ym,_e,{},Gm)}}function Jm(i){qe(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function xm(i){let e,t;const n=i[1].default,o=Vn(n,i,i[0],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(l,r){S(l,e,r),o&&o.m(e,null),t=!0},p(l,[r]){o&&o.p&&(!t||r&1)&&Mn(o,n,l,l[0],t?In(n,l[0],r,null):Rn(l[0]),null)},i(l){t||(m(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&y(e),o&&o.d(l)}}}function $m(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=l=>{"$$scope"in l&&t(0,o=l.$$scope)},[o,n]}class eh extends ye{constructor(e){super(),ke(this,e,$m,xm,_e,{},Jm)}}function th(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class ih extends ye{constructor(e){super(),ke(this,e,null,th,_e,{})}}function nh(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class oh extends ye{constructor(e){super(),ke(this,e,null,nh,_e,{})}}function lh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class rh extends ye{constructor(e){super(),ke(this,e,null,lh,_e,{})}}function sh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class lc extends ye{constructor(e){super(),ke(this,e,null,sh,_e,{})}}function ah(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class rc extends ye{constructor(e){super(),ke(this,e,null,ah,_e,{})}}const mo=i=>{switch(i){case no.Q_720P:return rh;case no.Q_1080P:return lc;case no.Q_1440P:return rc;case no.Q_2160P:return ih;case no.Q_4320P:return oh}};function uh(i){qe(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function ch(i){let e,t,n,o,l,r,s=i[1]&&gs(i);return{c(){e=k("div"),s&&s.c(),t=N(),n=I("svg"),o=I("path"),l=I("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(l,"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(l,"fill","#fff"),V(l,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),V(e,"triple",i[2])},m(a,c){S(a,e,c),s&&s.m(e,null),d(e,t),d(e,n),d(n,o),d(n,l),r=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&m(s,1)):(s=gs(a),s.c(),m(s,1),s.m(e,t)):s&&(me(),v(s,1,1,()=>{s=null}),he()),(!r||c&2)&&V(l,"hidden",!!a[1]),(!r||c&4)&&V(e,"triple",a[2])},i(a){r||(m(s),r=!0)},o(a){v(s),r=!1},d(a){a&&y(e),s&&s.d()}}}function fh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}function gs(i){let e,t;return e=new eh({props:{$$slots:{default:[dh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&18&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dh(i){let e,t,n;var o=i[1];function l(r){return{}}return o&&(e=bn(o,l())),{c(){e&&F(e.$$.fragment),t=_t()},m(r,s){e&&z(e,r,s),S(r,t,s),n=!0},p(r,s){if(s&2&&o!==(o=r[1])){if(e){me();const a=e;v(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(e=bn(o,l()),F(e.$$.fragment),m(e.$$.fragment,1),z(e,t.parentNode,t)):e=null}},i(r){n||(e&&m(e.$$.fragment,r),n=!0)},o(r){e&&v(e.$$.fragment,r),n=!1},d(r){r&&y(t),e&&D(e,r)}}}function mh(i){let e,t,n,o;const l=[fh,ch],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function hh(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:l=void 0}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,l=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=mo(l)),i.$$.dirty&2&&t(2,r=!!n&&[lc,rc].includes(n))},[o,n,r,l]}class sc extends ye{constructor(e){super(),ke(this,e,hh,mh,_e,{isMobile:0,currentQuality:3},uh)}}function ph(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class ac extends ye{constructor(e){super(),ke(this,e,null,ph,_e,{})}}function vh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class gh extends ye{constructor(e){super(),ke(this,e,null,vh,_e,{})}}function _h(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class bh extends ye{constructor(e){super(),ke(this,e,null,_h,_e,{})}}function wh(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(l,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class kh extends ye{constructor(e){super(),ke(this,e,null,wh,_e,{})}}function yh(i){qe(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Sh(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,l){S(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),l&4&&V(e,"reverted",o[2])},d(o){o&&y(e)}}}function Ch(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,l){S(o,e,l),d(e,t)},p(o,l){l&1&&u(t,"fill",o[0]),l&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),l&4&&V(e,"reverted",o[2])},d(o){o&&y(e)}}}function Ph(i){let e;function t(l,r){return l[1]?Ch:Sh}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Th(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,l,r;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,l=["up","down"].includes(n)),t(2,r=["right","down"].includes(n)))},[o,l,r,n]}class Dn extends ye{constructor(e){super(),ke(this,e,Th,Ph,_e,{direction:3,color:0},yh)}}function Eh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Ah extends ye{constructor(e){super(),ke(this,e,null,Eh,_e,{})}}function Lh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class No extends ye{constructor(e){super(),ke(this,e,null,Lh,_e,{})}}function Vh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Ih extends ye{constructor(e){super(),ke(this,e,null,Vh,_e,{})}}function Mh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Rh extends ye{constructor(e){super(),ke(this,e,null,Mh,_e,{})}}function Nh(i){qe(i,"v-79x8pk","ul.v-79x8pk.v-79x8pk{margin:0;padding:0}.menu.v-79x8pk.v-79x8pk{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s;overflow:hidden}.container-mobile.v-79x8pk.v-79x8pk{width:100%}.menu-desktop.v-79x8pk.v-79x8pk{position:absolute;right:0;bottom:0}.menu-mobile.v-79x8pk.v-79x8pk{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-79x8pk.v-79x8pk{display:none}.menu-subList.v-79x8pk.v-79x8pk{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-79x8pk.v-79x8pk{min-width:164px}.menu-subList-traffic-saving.v-79x8pk.v-79x8pk{min-width:286px}.item.v-79x8pk.v-79x8pk{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-79x8pk.v-79x8pk{padding:0 14px}.item-quality.item-mobile.v-79x8pk.v-79x8pk,.item-traffic-saving.item-mobile.v-79x8pk.v-79x8pk,.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{flex-direction:row-reverse}.item-helper-text.v-79x8pk.v-79x8pk{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-79x8pk span.v-79x8pk{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-79x8pk.v-79x8pk{padding:7px 14px}.item-helper-text.item-mobile.v-79x8pk span.v-79x8pk{text-align:start}.quality-title-mobile.v-79x8pk.v-79x8pk{flex-grow:1}.item.v-79x8pk.v-79x8pk:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-79x8pk.v-79x8pk:hover{background:var(--mobile-settings-bg)}.menu-subList.v-79x8pk .item.v-79x8pk{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-79x8pk .item.v-79x8pk:last-child{margin-bottom:4px}.menu-icon-wrapper.v-79x8pk.v-79x8pk{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-79x8pk.v-79x8pk{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-79x8pk.v-79x8pk{position:relative;opacity:0.7}.menu-valueIcon.v-79x8pk.v-79x8pk{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-79x8pk.v-79x8pk{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-79x8pk svg,.menu-valueIcon-list.v-79x8pk svg{color:var(--blue-light)}.menu-divider.v-79x8pk.v-79x8pk{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-79x8pk.v-79x8pk{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-79x8pk.v-79x8pk{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar{width:8px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-79x8pk.v-79x8pk::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-79x8pk.v-79x8pk{overflow-y:auto;max-height:160px;text-align:left}.close.v-79x8pk.v-79x8pk{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-79x8pk.v-79x8pk:before,.close.v-79x8pk.v-79x8pk:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-79x8pk.v-79x8pk:before{transform:rotate(45deg)}.close.v-79x8pk.v-79x8pk:after{transform:rotate(-45deg)}")}function _s(i,e,t){const n=i.slice();return n[87]=e[t],n}function bs(i,e,t){const n=i.slice();return n[90]=e[t],n}function ws(i,e,t){const n=i.slice();return n[93]=e[t],n}function ks(i){let e,t,n,o,l,r,s,a;return{c(){e=k("div"),t=k("div"),t.textContent=`${Z("submenu_settings")}`,n=N(),o=k("div"),l=N(),r=k("div"),u(o,"class","close v-79x8pk"),u(e,"class","item menu-header v-79x8pk"),V(e,"item-mobile",i[7]),u(r,"class","menu-divider v-79x8pk")},m(c,f){S(c,e,f),d(e,t),d(e,n),d(e,o),S(c,l,f),S(c,r,f),s||(a=Ee(o,"click",ct(i[49])),s=!0)},p(c,f){f[0]&128&&V(e,"item-mobile",c[7])},d(c){c&&(y(e),y(l),y(r)),s=!1,a()}}}function ys(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;n=new sc({});let g=i[27]&&!i[7]&&Ss(i);return{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_quality")}`,r=N(),s=k("div"),a=ze(i[15]),c=N(),g&&g.c(),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_quality",{actual:i[25]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(b,L){S(b,e,L),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),g&&g.m(s,null),h=!0,p||(_=Ee(e,"click",ct(i[50])),p=!0)},p(b,L){(!h||L[0]&32768)&&it(a,b[15]),b[27]&&!b[7]?g?(g.p(b,L),L[0]&134217856&&m(g,1)):(g=Ss(b),g.c(),m(g,1),g.m(s,null)):g&&(me(),v(g,1,1,()=>{g=null}),he()),(!h||L[0]&33554432&&f!==(f=Z("aria_label_menu_quality",{actual:b[25]})))&&u(e,"aria-label",f),(!h||L[0]&128)&&V(e,"item-mobile",b[7])},i(b){h||(m(n.$$.fragment,b),m(g),h=!0)},o(b){v(n.$$.fragment,b),v(g),h=!1},d(b){b&&y(e),D(n),g&&g.d(),p=!1,_()}}}function Ss(i){let e,t,n;var o=i[27];function l(r){return{}}return o&&(t=bn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon v-79x8pk")},m(r,s){S(r,e,s),t&&z(t,e,null),n=!0},p(r,s){if(s[0]&134217728&&o!==(o=r[27])){if(t){me();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(t=bn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&D(t)}}}function Cs(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;return n=new kh({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_playback_rate")}`,r=N(),s=k("div"),a=ze(i[3]),c=ze("x"),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_rate",{actual:i[26]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(g,b){S(g,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),d(s,c),h=!0,p||(_=Ee(e,"click",ct(i[54])),p=!0)},p(g,b){(!h||b[0]&8)&&it(a,g[3]),(!h||b[0]&67108864&&f!==(f=Z("aria_label_menu_rate",{actual:g[26]})))&&u(e,"aria-label",f),(!h||b[0]&128)&&V(e,"item-mobile",g[7])},i(g){h||(m(n.$$.fragment,g),h=!0)},o(g){v(n.$$.fragment,g),h=!1},d(g){g&&y(e),D(n),p=!1,_()}}}function Ps(i){let e,t,n,o,l,r,s,a=i[28].displayValue+"",c,f,h,p,_;return n=new ac({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("subtitles_caption")}`,r=N(),s=k("div"),c=ze(a),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_menu_subtitle",{actual:i[28].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(g,b){S(g,e,b),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,c),h=!0,p||(_=Ee(e,"click",ct(i[56])),p=!0)},p(g,b){(!h||b[0]&268435456)&&a!==(a=g[28].displayValue+"")&&it(c,a),(!h||b[0]&268435456&&f!==(f=Z("aria_label_menu_subtitle",{actual:g[28].displayValue})))&&u(e,"aria-label",f),(!h||b[0]&128)&&V(e,"item-mobile",g[7])},i(g){h||(m(n.$$.fragment,g),h=!0)},o(g){v(n.$$.fragment,g),h=!1},d(g){g&&y(e),D(n),p=!1,_()}}}function Ts(i){let e,t,n,o,l,r,s,a,c,f,h,p;return n=new bh({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_traffic_saving")}`,r=N(),s=k("div"),a=ze(i[24]),u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(s,"class","menu-value v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=Z("aria_label_menu_traffic_saving",{actual:i[24]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[7])},m(_,g){S(_,e,g),d(e,t),z(n,t,null),d(e,o),d(e,l),d(e,r),d(e,s),d(s,a),f=!0,h||(p=Ee(e,"click",ct(i[51])),h=!0)},p(_,g){(!f||g[0]&16777216)&&it(a,_[24]),(!f||g[0]&16777216&&c!==(c=Z("aria_label_menu_traffic_saving",{actual:_[24]})))&&u(e,"aria-label",c),(!f||g[0]&128)&&V(e,"item-mobile",_[7])},i(_){f||(m(n.$$.fragment,_),f=!0)},o(_){v(n.$$.fragment,_),f=!1},d(_){_&&y(e),D(n),h=!1,p()}}}function Es(i){let e,t,n,o,l,r,s,a;return n=new gh({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",Z("aria_label_menu_download")),V(e,"item-mobile",i[7])},m(c,f){S(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Ee(e,"click",ct(i[59])),s=!0)},p(c,f){(!r||f[0]&128)&&V(e,"item-mobile",c[7])},i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),D(n),s=!1,a()}}}function As(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E=i[30].showSupport&&Bh(i);return o=new Ih({}),f=new Rh({}),{c(){E&&E.c(),e=N(),t=k("li"),n=k("div"),F(o.$$.fragment),l=N(),r=k("div"),r.textContent=`${Z("menu_copy_debug")}`,s=N(),a=k("li"),c=k("div"),F(f.$$.fragment),h=N(),p=k("div"),p.textContent=`${Z("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-79x8pk"),u(r,"class","menu-title v-79x8pk"),u(t,"class","item item-mobile v-79x8pk"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",Z("menu_copy_debug")),u(c,"class","menu-icon-wrapper v-79x8pk"),u(p,"class","menu-title v-79x8pk"),u(a,"class","item item-mobile v-79x8pk"),u(a,"role","menuitem"),u(a,"tabindex","0"),u(a,"aria-label",_=i[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable"))},m(w,C){E&&E.m(w,C),S(w,e,C),S(w,t,C),d(t,n),z(o,n,null),d(t,l),d(t,r),S(w,s,C),S(w,a,C),d(a,c),z(f,c,null),d(a,h),d(a,p),g=!0,b||(L=[Ee(t,"click",ct(i[61])),Ee(a,"click",ct(i[62]))],b=!0)},p(w,C){w[30].showSupport&&E.p(w,C),(!g||C[0]&536870912&&_!==(_=w[29]?Z("aria_label_menu_debug_overlay_disable"):Z("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",_)},i(w){g||(m(E),m(o.$$.fragment,w),m(f.$$.fragment,w),g=!0)},o(w){v(E),v(o.$$.fragment,w),v(f.$$.fragment,w),g=!1},d(w){w&&(y(e),y(t),y(s),y(a)),E&&E.d(w),D(o),D(f),b=!1,li(L)}}}function Bh(i){let e,t,n,o,l,r,s,a;return n=new Ah({}),{c(){e=k("li"),t=k("div"),F(n.$$.fragment),o=N(),l=k("div"),l.textContent=`${Z("menu_report")}`,u(t,"class","menu-icon-wrapper v-79x8pk"),u(l,"class","menu-title v-79x8pk"),u(e,"class","item item-mobile v-79x8pk"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${Z("menu_report")}. ${Z("aria_label_new_tab_alert")}`)},m(c,f){S(c,e,f),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0,s||(a=Ee(e,"click",ct(i[60])),s=!0)},p:K,i(c){r||(m(n.$$.fragment,c),r=!0)},o(c){v(n.$$.fragment,c),r=!1},d(c){c&&y(e),D(n),s=!1,a()}}}function Ls(i){let e,t,n;return t=new No({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Vs(i){let e,t,n;var o=mo(i[93].value);function l(r){return{}}return o&&(t=bn(o,l())),{c(){e=k("div"),t&&F(t.$$.fragment),u(e,"class","menu-valueIcon-list v-79x8pk")},m(r,s){S(r,e,s),t&&z(t,e,null),n=!0},p(r,s){if(s[0]&256&&o!==(o=mo(r[93].value))){if(t){me();const a=t;v(a.$$.fragment,1,0,()=>{D(a,1)}),he()}o?(t=bn(o,l()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,null)):t=null}},i(r){n||(t&&m(t.$$.fragment,r),n=!0)},o(r){t&&v(t.$$.fragment,r),n=!1},d(r){r&&y(e),t&&D(t)}}}function Is(i){let e,t,n,o=i[93].displayValue+"",l,r,s=!i[7]&&mo(i[93].value),a,c,f,h,p,_,g=i[93].selected&&Ls(),b=s&&Vs(i);function L(){return i[76](i[93])}return{c(){e=k("li"),g&&g.c(),t=N(),n=k("div"),l=ze(o),r=N(),b&&b.c(),a=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",c=i[93].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=Z("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})),V(e,"item-mobile",i[7])},m(E,w){S(E,e,w),g&&g.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),b&&b.m(e,null),d(e,a),h=!0,p||(_=Ee(e,"click",ct(L)),p=!0)},p(E,w){i=E,i[93].selected?g?w[0]&256&&m(g,1):(g=Ls(),g.c(),m(g,1),g.m(e,t)):g&&(me(),v(g,1,1,()=>{g=null}),he()),(!h||w[0]&256)&&o!==(o=i[93].displayValue+"")&&it(l,o),(!h||w[0]&128)&&V(n,"quality-title-mobile",i[7]),w[0]&384&&(s=!i[7]&&mo(i[93].value)),s?b?(b.p(i,w),w[0]&384&&m(b,1)):(b=Vs(i),b.c(),m(b,1),b.m(e,a)):b&&(me(),v(b,1,1,()=>{b=null}),he()),(!h||w[0]&256&&c!==(c=i[93].value))&&u(e,"data-value",c),(!h||w[0]&256&&f!==(f=Z("aria_label_submenu_quality_select_quality",{quality:i[93].displayValue})))&&u(e,"aria-label",f),(!h||w[0]&128)&&V(e,"item-mobile",i[7])},i(E){h||(m(g),m(b),h=!0)},o(E){v(g),v(b),h=!1},d(E){E&&y(e),g&&g.d(),b&&b.d(),p=!1,_()}}}function Ms(i){let e,t,n;return t=new No({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Rs(i){let e,t,n,o=i[90].displayValue+"",l,r,s,a,c,f,h,p=i[90].selected&&Ms();function _(){return i[78](i[90])}return{c(){e=k("li"),p&&p.c(),t=N(),n=k("div"),l=ze(o),r=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[90].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=Z("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})),V(e,"item-mobile",i[7])},m(g,b){S(g,e,b),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),c=!0,f||(h=Ee(e,"click",ct(_)),f=!0)},p(g,b){i=g,i[90].selected?p?b[0]&16&&m(p,1):(p=Ms(),p.c(),m(p,1),p.m(e,t)):p&&(me(),v(p,1,1,()=>{p=null}),he()),(!c||b[0]&16)&&o!==(o=i[90].displayValue+"")&&it(l,o),(!c||b[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||b[0]&16&&s!==(s=i[90].value))&&u(e,"data-value",s),(!c||b[0]&16&&a!==(a=Z("aria_label_submenu_rate_select_rate",{rate:i[90].displayValue})))&&u(e,"aria-label",a),(!c||b[0]&128)&&V(e,"item-mobile",i[7])},i(g){c||(m(p),c=!0)},o(g){v(p),c=!1},d(g){g&&y(e),p&&p.d(),f=!1,h()}}}function Ns(i){let e,t,n;return t=new No({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Bs(i){let e,t,n;return t=new No({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Os(i){let e,t,n;return t=new No({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","itemIcon v-79x8pk")},m(o,l){S(o,e,l),z(t,e,null),n=!0},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function zs(i){let e,t,n,o=i[87].displayValue+"",l,r,s,a,c,f,h,p=i[87].selected&&Os();function _(){return i[82](i[87])}return{c(){e=k("li"),p&&p.c(),t=N(),n=k("div"),l=ze(o),r=N(),u(n,"class","v-79x8pk"),V(n,"quality-title-mobile",i[7]),u(e,"class","item item-quality v-79x8pk"),u(e,"data-value",s=i[87].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=Z("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})),V(e,"item-mobile",i[7])},m(g,b){S(g,e,b),p&&p.m(e,null),d(e,t),d(e,n),d(n,l),d(e,r),c=!0,f||(h=Ee(e,"click",ct(_)),f=!0)},p(g,b){i=g,i[87].selected?p?b[0]&64&&m(p,1):(p=Os(),p.c(),m(p,1),p.m(e,t)):p&&(me(),v(p,1,1,()=>{p=null}),he()),(!c||b[0]&64)&&o!==(o=i[87].displayValue+"")&&it(l,o),(!c||b[0]&128)&&V(n,"quality-title-mobile",i[7]),(!c||b[0]&64&&s!==(s=i[87].value))&&u(e,"data-value",s),(!c||b[0]&64&&a!==(a=Z("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[87].displayValue})))&&u(e,"aria-label",a),(!c||b[0]&128)&&V(e,"item-mobile",i[7])},i(g){c||(m(p),c=!0)},o(g){v(p),c=!1},d(g){g&&y(e),p&&p.d(),f=!1,h()}}}function Oh(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,Te,Se,H,G,O,ve,X,M,J,Ie,Pe,Ae,x,ae,pe,re,De,Fe,rt,ot,Oe,dt,wt,Re,Me,Zt,Et,at=i[7]&&ks(i),$e=i[23]&&ys(i),ue=i[22]&&Cs(i),Xe=i[21]&&Ps(i),xe=i[20]&&Ts(i),Qe=i[19]&&Es(i),je=i[7]&&As(i);_=new Dn({props:{direction:"left"}});let ft=Kt(i[8]),Je=[];for(let de=0;de<ft.length;de+=1)Je[de]=Is(ws(i,ft,de));const lt=de=>v(Je[de],1,1,()=>{Je[de]=null});Y=new Dn({props:{direction:"left"}});let Ge=Kt(i[4]),et=[];for(let de=0;de<Ge.length;de+=1)et[de]=Rs(bs(i,Ge,de));const xt=de=>v(et[de],1,1,()=>{et[de]=null});se=new Dn({props:{direction:"left"}});let mt=!i[5]&&Ns(),Ke=i[5]&&Bs();ot=new Dn({props:{direction:"left"}});let At=Kt(i[6]),st=[];for(let de=0;de<At.length;de+=1)st[de]=zs(_s(i,At,de));const di=de=>v(st[de],1,1,()=>{st[de]=null});return{c(){e=k("div"),t=k("div"),at&&at.c(),n=N(),o=k("ul"),$e&&$e.c(),l=N(),ue&&ue.c(),r=N(),Xe&&Xe.c(),s=N(),xe&&xe.c(),a=N(),Qe&&Qe.c(),c=N(),je&&je.c(),f=N(),h=k("div"),p=k("div"),F(_.$$.fragment),g=N(),b=k("div"),b.textContent=`${Z("submenu_quality")}`,L=N(),E=k("div"),w=N(),C=k("ul");for(let de=0;de<Je.length;de+=1)Je[de].c();B=N(),R=k("div"),U=k("div"),F(Y.$$.fragment),j=N(),ne=k("div"),ne.textContent=`${Z("submenu_playback_rate")}`,Q=N(),ee=k("div"),T=N(),te=k("ul");for(let de=0;de<et.length;de+=1)et[de].c();ce=N(),A=k("div"),oe=k("div"),F(se.$$.fragment),we=N(),be=k("div"),be.textContent=`${Z("submenu_traffic_saving")}`,Te=N(),Se=k("div"),H=N(),G=k("ul"),O=k("li"),mt&&mt.c(),ve=N(),X=k("div"),X.textContent=`${Z("traffic_saving_disable")}`,M=N(),J=k("li"),Ke&&Ke.c(),Ie=N(),Pe=k("div"),Pe.textContent=`${Z("traffic_saving_enable")}`,Ae=N(),x=k("div"),ae=N(),pe=k("div"),re=k("span"),re.textContent=`${Z("traffic_saving_helper_text")}`,De=N(),Fe=k("div"),rt=k("div"),F(ot.$$.fragment),Oe=N(),dt=k("div"),dt.textContent=`${Z("subtitles_caption")}`,wt=N(),Re=k("ul");for(let de=0;de<st.length;de+=1)st[de].c();u(o,"class","items v-79x8pk"),V(o,"items-mobile",i[7]),u(t,"class","menu v-79x8pk"),u(t,"role","menu"),V(t,"menu-desktop",!i[7]),V(t,"menu-mobile",i[7]),V(t,"hidden",!i[10]),u(p,"class","item menu-header v-79x8pk"),u(p,"aria-label",Z("aria_label_submenu_back")),V(p,"item-mobile",i[7]),u(E,"class","menu-divider v-79x8pk"),u(C,"class","items v-79x8pk"),u(C,"style",i[16]),V(C,"items-mobile",i[7]),u(h,"class","menu menu-subList v-79x8pk"),V(h,"menu-desktop",!i[7]),V(h,"menu-mobile",i[7]),V(h,"hidden",!i[11]),u(U,"class","item menu-header v-79x8pk"),u(U,"aria-label",Z("aria_label_submenu_back")),V(U,"item-mobile",i[7]),u(ee,"class","menu-divider v-79x8pk"),u(te,"class","items v-79x8pk"),u(te,"style",i[17]),V(te,"items-mobile",i[7]),u(R,"class","menu menu-subList v-79x8pk"),V(R,"menu-desktop",!i[7]),V(R,"menu-mobile",i[7]),V(R,"hidden",!i[12]),u(oe,"class","item menu-header v-79x8pk"),u(oe,"aria-label",Z("aria_label_submenu_back")),V(oe,"item-mobile",i[7]),u(Se,"class","menu-divider v-79x8pk"),u(X,"class","v-79x8pk"),V(X,"quality-title-mobile",i[7]),u(O,"class","item item-traffic-saving v-79x8pk"),u(O,"role","menuitem"),u(O,"tabindex","0"),u(O,"aria-label",Z("aria_label_submenu_traffic_saving_off")),V(O,"item-mobile",i[7]),u(Pe,"class","v-79x8pk"),V(Pe,"quality-title-mobile",i[7]),u(J,"class","item item-traffic-saving v-79x8pk"),u(J,"role","menuitem"),u(J,"tabindex","0"),u(J,"aria-label",`${Z("aria_label_submenu_traffic_saving_on")}. ${Z("traffic_saving_helper_text")}`),V(J,"item-mobile",i[7]),u(G,"class","items v-79x8pk"),u(G,"style",i[18]),V(G,"items-mobile",i[7]),u(x,"class","menu-divider v-79x8pk"),u(re,"class","v-79x8pk"),u(pe,"class","item item-helper-text v-79x8pk"),V(pe,"item-mobile",i[7]),u(A,"class","menu menu-subList menu-subList-traffic-saving v-79x8pk"),V(A,"menu-desktop",!i[7]),V(A,"menu-mobile",i[7]),V(A,"hidden",!i[14]),u(rt,"class","item menu-header v-79x8pk"),u(rt,"aria-label",Z("aria_label_submenu_back")),V(rt,"item-mobile",i[7]),u(Re,"class","items v-79x8pk"),V(Re,"items-mobile",i[7]),u(Fe,"class","menu menu-subList menu-subList-subtitles v-79x8pk"),V(Fe,"menu-desktop",!i[7]),V(Fe,"menu-mobile",i[7]),V(Fe,"hidden",!i[13]),u(e,"class","v-79x8pk"),V(e,"hidden",!i[9]),V(e,"container-mobile",i[7])},m(de,Ce){S(de,e,Ce),d(e,t),at&&at.m(t,null),d(t,n),d(t,o),$e&&$e.m(o,null),d(o,l),ue&&ue.m(o,null),d(o,r),Xe&&Xe.m(o,null),d(o,s),xe&&xe.m(o,null),d(o,a),Qe&&Qe.m(o,null),d(o,c),je&&je.m(o,null),d(e,f),d(e,h),d(h,p),z(_,p,null),d(p,g),d(p,b),i[75](p),d(h,L),d(h,E),d(h,w),d(h,C);for(let Ve=0;Ve<Je.length;Ve+=1)Je[Ve]&&Je[Ve].m(C,null);d(e,B),d(e,R),d(R,U),z(Y,U,null),d(U,j),d(U,ne),i[77](U),d(R,Q),d(R,ee),d(R,T),d(R,te);for(let Ve=0;Ve<et.length;Ve+=1)et[Ve]&&et[Ve].m(te,null);d(e,ce),d(e,A),d(A,oe),z(se,oe,null),d(oe,we),d(oe,be),i[79](oe),d(A,Te),d(A,Se),d(A,H),d(A,G),d(G,O),mt&&mt.m(O,null),d(O,ve),d(O,X),d(G,M),d(G,J),Ke&&Ke.m(J,null),d(J,Ie),d(J,Pe),d(A,Ae),d(A,x),d(A,ae),d(A,pe),d(pe,re),d(e,De),d(e,Fe),d(Fe,rt),z(ot,rt,null),d(rt,Oe),d(rt,dt),d(Fe,wt),d(Fe,Re);for(let Ve=0;Ve<st.length;Ve+=1)st[Ve]&&st[Ve].m(Re,null);Me=!0,Zt||(Et=[Ee(p,"click",ct(i[58])),Ee(U,"click",ct(i[58])),Ee(oe,"click",ct(i[58])),Ee(O,"click",ct(i[80])),Ee(J,"click",ct(i[81])),Ee(rt,"click",ct(i[58]))],Zt=!0)},p(de,Ce){if(de[7]?at?at.p(de,Ce):(at=ks(de),at.c(),at.m(t,n)):at&&(at.d(1),at=null),de[23]?$e?($e.p(de,Ce),Ce[0]&8388608&&m($e,1)):($e=ys(de),$e.c(),m($e,1),$e.m(o,l)):$e&&(me(),v($e,1,1,()=>{$e=null}),he()),de[22]?ue?(ue.p(de,Ce),Ce[0]&4194304&&m(ue,1)):(ue=Cs(de),ue.c(),m(ue,1),ue.m(o,r)):ue&&(me(),v(ue,1,1,()=>{ue=null}),he()),de[21]?Xe?(Xe.p(de,Ce),Ce[0]&2097152&&m(Xe,1)):(Xe=Ps(de),Xe.c(),m(Xe,1),Xe.m(o,s)):Xe&&(me(),v(Xe,1,1,()=>{Xe=null}),he()),de[20]?xe?(xe.p(de,Ce),Ce[0]&1048576&&m(xe,1)):(xe=Ts(de),xe.c(),m(xe,1),xe.m(o,a)):xe&&(me(),v(xe,1,1,()=>{xe=null}),he()),de[19]?Qe?(Qe.p(de,Ce),Ce[0]&524288&&m(Qe,1)):(Qe=Es(de),Qe.c(),m(Qe,1),Qe.m(o,c)):Qe&&(me(),v(Qe,1,1,()=>{Qe=null}),he()),de[7]?je?(je.p(de,Ce),Ce[0]&128&&m(je,1)):(je=As(de),je.c(),m(je,1),je.m(o,null)):je&&(me(),v(je,1,1,()=>{je=null}),he()),(!Me||Ce[0]&128)&&V(o,"items-mobile",de[7]),(!Me||Ce[0]&128)&&V(t,"menu-desktop",!de[7]),(!Me||Ce[0]&128)&&V(t,"menu-mobile",de[7]),(!Me||Ce[0]&1024)&&V(t,"hidden",!de[10]),(!Me||Ce[0]&128)&&V(p,"item-mobile",de[7]),Ce[0]&384|Ce[1]&2097152){ft=Kt(de[8]);let Ve;for(Ve=0;Ve<ft.length;Ve+=1){const It=ws(de,ft,Ve);Je[Ve]?(Je[Ve].p(It,Ce),m(Je[Ve],1)):(Je[Ve]=Is(It),Je[Ve].c(),m(Je[Ve],1),Je[Ve].m(C,null))}for(me(),Ve=ft.length;Ve<Je.length;Ve+=1)lt(Ve);he()}if((!Me||Ce[0]&65536)&&u(C,"style",de[16]),(!Me||Ce[0]&128)&&V(C,"items-mobile",de[7]),(!Me||Ce[0]&128)&&V(h,"menu-desktop",!de[7]),(!Me||Ce[0]&128)&&V(h,"menu-mobile",de[7]),(!Me||Ce[0]&2048)&&V(h,"hidden",!de[11]),(!Me||Ce[0]&128)&&V(U,"item-mobile",de[7]),Ce[0]&144|Ce[1]&16777216){Ge=Kt(de[4]);let Ve;for(Ve=0;Ve<Ge.length;Ve+=1){const It=bs(de,Ge,Ve);et[Ve]?(et[Ve].p(It,Ce),m(et[Ve],1)):(et[Ve]=Rs(It),et[Ve].c(),m(et[Ve],1),et[Ve].m(te,null))}for(me(),Ve=Ge.length;Ve<et.length;Ve+=1)xt(Ve);he()}if((!Me||Ce[0]&131072)&&u(te,"style",de[17]),(!Me||Ce[0]&128)&&V(te,"items-mobile",de[7]),(!Me||Ce[0]&128)&&V(R,"menu-desktop",!de[7]),(!Me||Ce[0]&128)&&V(R,"menu-mobile",de[7]),(!Me||Ce[0]&4096)&&V(R,"hidden",!de[12]),(!Me||Ce[0]&128)&&V(oe,"item-mobile",de[7]),de[5]?mt&&(me(),v(mt,1,1,()=>{mt=null}),he()):mt?Ce[0]&32&&m(mt,1):(mt=Ns(),mt.c(),m(mt,1),mt.m(O,ve)),(!Me||Ce[0]&128)&&V(X,"quality-title-mobile",de[7]),(!Me||Ce[0]&128)&&V(O,"item-mobile",de[7]),de[5]?Ke?Ce[0]&32&&m(Ke,1):(Ke=Bs(),Ke.c(),m(Ke,1),Ke.m(J,Ie)):Ke&&(me(),v(Ke,1,1,()=>{Ke=null}),he()),(!Me||Ce[0]&128)&&V(Pe,"quality-title-mobile",de[7]),(!Me||Ce[0]&128)&&V(J,"item-mobile",de[7]),(!Me||Ce[0]&262144)&&u(G,"style",de[18]),(!Me||Ce[0]&128)&&V(G,"items-mobile",de[7]),(!Me||Ce[0]&128)&&V(pe,"item-mobile",de[7]),(!Me||Ce[0]&128)&&V(A,"menu-desktop",!de[7]),(!Me||Ce[0]&128)&&V(A,"menu-mobile",de[7]),(!Me||Ce[0]&16384)&&V(A,"hidden",!de[14]),(!Me||Ce[0]&128)&&V(rt,"item-mobile",de[7]),Ce[0]&192|Ce[1]&67108864){At=Kt(de[6]);let Ve;for(Ve=0;Ve<At.length;Ve+=1){const It=_s(de,At,Ve);st[Ve]?(st[Ve].p(It,Ce),m(st[Ve],1)):(st[Ve]=zs(It),st[Ve].c(),m(st[Ve],1),st[Ve].m(Re,null))}for(me(),Ve=At.length;Ve<st.length;Ve+=1)di(Ve);he()}(!Me||Ce[0]&128)&&V(Re,"items-mobile",de[7]),(!Me||Ce[0]&128)&&V(Fe,"menu-desktop",!de[7]),(!Me||Ce[0]&128)&&V(Fe,"menu-mobile",de[7]),(!Me||Ce[0]&8192)&&V(Fe,"hidden",!de[13]),(!Me||Ce[0]&512)&&V(e,"hidden",!de[9]),(!Me||Ce[0]&128)&&V(e,"container-mobile",de[7])},i(de){if(!Me){m($e),m(ue),m(Xe),m(xe),m(Qe),m(je),m(_.$$.fragment,de);for(let Ce=0;Ce<ft.length;Ce+=1)m(Je[Ce]);m(Y.$$.fragment,de);for(let Ce=0;Ce<Ge.length;Ce+=1)m(et[Ce]);m(se.$$.fragment,de),m(mt),m(Ke),m(ot.$$.fragment,de);for(let Ce=0;Ce<At.length;Ce+=1)m(st[Ce]);Me=!0}},o(de){v($e),v(ue),v(Xe),v(xe),v(Qe),v(je),v(_.$$.fragment,de),Je=Je.filter(Boolean);for(let Ce=0;Ce<Je.length;Ce+=1)v(Je[Ce]);v(Y.$$.fragment,de),et=et.filter(Boolean);for(let Ce=0;Ce<et.length;Ce+=1)v(et[Ce]);v(se.$$.fragment,de),v(mt),v(Ke),v(ot.$$.fragment,de),st=st.filter(Boolean);for(let Ce=0;Ce<st.length;Ce+=1)v(st[Ce]);Me=!1},d(de){de&&y(e),at&&at.d(),$e&&$e.d(),ue&&ue.d(),Xe&&Xe.d(),xe&&xe.d(),Qe&&Qe.d(),je&&je.d(),D(_),i[75](null),cn(Je,de),D(Y),i[77](null),cn(et,de),D(se),i[79](null),mt&&mt.d(),Ke&&Ke.d(),D(ot),cn(st,de),Zt=!1,li(Et)}}}const Il=18;function zh(i,e,t){let n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,{supportLink:U}=e,{playerControlsHeight:Y=0}=e,{returnFocus:j}=e;const ne=Tt(),Q=Ji(),ee=ne.state.currentQuality$;W(i,ee,Le=>t(66,r=Le));const T=ne.state.availableQualities$;W(i,T,Le=>t(8,w=Le));const te=ne.state.autoQualityLimitingAvailable$;W(i,te,Le=>t(70,p=Le));const ce=ne.state.isAutoQualityEnabled$;W(i,ce,Le=>t(67,s=Le));const A=ne.state.currentPlaybackRate$;W(i,A,Le=>t(3,o=Le));const oe=ne.state.availablePlaybackRates$;W(i,oe,Le=>t(4,l=Le));const se=ne.state.currentSubtitle$;W(i,se,Le=>t(28,B=Le));const we=ne.state.availableSubtitlesList$;W(i,we,Le=>t(6,h=Le));const be=ne.state.canDownload,Te=ne.state.hasMpegSources$;W(i,Te,Le=>t(71,_=Le));const Se=ne.ui.settingsMenuVisible;W(i,Se,Le=>t(9,C=Le));const H=ne.ui.isMobile;W(i,H,Le=>t(7,b=Le));const G=ne.ui.mobileNotReportControlHidden$;W(i,G,Le=>t(68,c=Le));const O=ne.state.canChangePlaybackSpeed$;W(i,O,Le=>t(69,f=Le));const ve=ne.ui.isFullscreen;W(i,ve,Le=>t(74,E=Le));const X=ne.state.trafficSavingEnabled$;W(i,X,Le=>t(5,a=Le));const M=ne.ui.playerSize;W(i,M,Le=>t(73,L=Le));const J=ne.ui.debugPanelVisible;W(i,J,Le=>t(29,R=Le));const Ie=ne.ui.playerSize;W(i,Ie,Le=>t(72,g=Le));const Pe=ne.actions.internal.downloadVideo;let Ae=!0,x=!1,ae=!1,pe=!1,re=!1;function De(){j==null||j(),Se.set(!1)}function Fe(){t(10,Ae=!1),t(11,x=!0)}function rt(){t(10,Ae=!1),t(14,re=!0)}function ot(Le){ne.actions.internal.setQuality(Le),De()}function Oe(Le){ne.actions.internal.setTrafficSavingEnabled(Le),De()}function dt(){t(10,Ae=!1),t(12,ae=!0)}function wt(Le){ne.actions.internal.setPlaybackRate(Le),De()}function Re(){t(10,Ae=!1),t(13,pe=!0)}function Me(Le){ne.actions.internal.setSubtitle(Le),De()}function Zt(){t(10,Ae=!0),t(11,x=!1),t(12,ae=!1),t(13,pe=!1),t(14,re=!1)}function Et(){Pe(),De()}function at(){window.open(U,"_blank"),De(),ne.actions.internal.pause()}function $e(){jl(ne.actions.internal.getDebugTextData()),De()}function ue(){J.set(!0),De()}function Xe(Le,Rt,hi){if(!Le)return"...";const Ot=Rt.find(Ni=>Ni.value===Le),Lt=Ot?Ot.displayValue:Le;return hi?Le===no.INVARIANT?Z("auto_quality_invariant"):Z("auto_quality",{actual:Lt}):Lt}let xe,Qe,je,ft,Je,lt,Ge,et,xt,mt,Ke,At,st,di,de;function Ce(Le){We[Le?"unshift":"push"](()=>{Qe=Le,t(0,Qe)})}const Ve=Le=>ot(Le.value);function It(Le){We[Le?"unshift":"push"](()=>{je=Le,t(1,je)})}const mi=Le=>wt(Le.value);function Mt(Le){We[Le?"unshift":"push"](()=>{ft=Le,t(2,ft)})}const Ei=()=>Oe(!1),Mi=()=>Oe(!0),Ri=Le=>Me(Le);return i.$$set=Le=>{"supportLink"in Le&&t(63,U=Le.supportLink),"playerControlsHeight"in Le&&t(64,Y=Le.playerControlsHeight),"returnFocus"in Le&&t(65,j=Le.returnFocus)},i.$$.update=()=>{var Le,Rt,hi,Ot;if(i.$$.dirty[0]&512&&C&&(t(10,Ae=!0),t(11,x=!1),t(12,ae=!1),t(13,pe=!1),t(14,re=!1)),i.$$.dirty[2]&16&&t(27,n=mo(r)),i.$$.dirty[0]&256|i.$$.dirty[2]&48&&t(15,xe=Xe(r,w,s)),i.$$.dirty[0]&129|i.$$.dirty[2]&7172)if(b&&E)t(16,Je=`max-height: ${Math.round(L.height*.6)}px`);else if(b)t(16,Je="");else{const Lt=g.height-Il-((Le=Qe==null?void 0:Qe.clientHeight)!=null?Le:0)-Y;t(16,Je=`max-height: ${Lt}px; overflow: auto;`)}if(i.$$.dirty[0]&130|i.$$.dirty[2]&1028)if(b)t(17,lt="");else{const Lt=g.height-Il-((Rt=je==null?void 0:je.clientHeight)!=null?Rt:0)-Y;t(17,lt=`max-height: ${Lt}px; overflow: auto;`)}if(i.$$.dirty[0]&132|i.$$.dirty[2]&1028)if(b)t(18,Ge="");else{const Lt=g.height-Il-((hi=ft==null?void 0:ft.clientHeight)!=null?hi:0)-Y;t(18,Ge=`max-height: ${Lt}px; overflow: auto;`)}i.$$.dirty[2]&576&&t(19,et=be&&_&&!c),i.$$.dirty[2]&320&&t(20,xt=Q.features.trafficSaving&&!c&&p),i.$$.dirty[0]&64|i.$$.dirty[2]&64&&t(21,mt=h.length>0&&!c),i.$$.dirty[2]&192&&t(22,Ke=!!f&&!c),i.$$.dirty[2]&64&&t(23,At=!c),i.$$.dirty[0]&32&&t(24,st=Z(a?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[2]&48&&t(25,di=s?Z("auto_quality_option"):r),i.$$.dirty[0]&24&&t(26,de=(Ot=l.find(Lt=>Lt.value===o))==null?void 0:Ot.displayValue)},[Qe,je,ft,o,l,a,h,b,w,C,Ae,x,ae,pe,re,xe,Je,lt,Ge,et,xt,mt,Ke,At,st,di,de,n,B,R,Q,ee,T,te,ce,A,oe,se,we,Te,Se,H,G,O,ve,X,M,J,Ie,De,Fe,rt,ot,Oe,dt,wt,Re,Me,Zt,Et,at,$e,ue,U,Y,j,r,s,c,f,p,_,g,L,E,Ce,Ve,It,mi,Mt,Ei,Mi,Ri]}class uc extends ye{constructor(e){super(),ke(this,e,zh,Oh,_e,{supportLink:63,playerControlsHeight:64,returnFocus:65},Nh,[-1,-1,-1,-1])}}function Dh(i){qe(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function Fh(i){let e,t,n;return t=new sc({props:{isMobile:i[1],currentQuality:i[2]}}),{c(){e=k("span"),F(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l&2&&(r.isMobile=o[1]),l&4&&(r.currentQuality=o[2]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Hh(i){let e,t;return e=new Si({props:{testId:"btn-settings",click:i[6],ariaLabel:i[0],$$slots:{default:[Fh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaLabel=n[0]),o&518&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Uh(i,e,t){let n,o,l;const r=Tt(),s=r.state.currentQuality$;W(i,s,p=>t(2,l=p));const a=r.ui.settingsMenuVisible;W(i,a,p=>t(7,n=p));const c=r.ui.isMobile;W(i,c,p=>t(1,o=p));let f;function h(){a.set(!n)}return i.$$.update=()=>{i.$$.dirty&128&&t(0,f=Z(n?"tooltip_settings_on":"tooltip_settings_off"))},[f,o,l,s,a,c,h,n]}class nr extends ye{constructor(e){super(),ke(this,e,Uh,Hh,_e,{},Dh)}}function qh(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Wh extends ye{constructor(e){super(),ke(this,e,null,qh,_e,{})}}function jh(i){let e,t;return e=new ac({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zh(i){let e,t;return e=new Wh({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Gh(i){let e,t,n,o;const l=[Zh,jh],r=[];function s(a,c){return a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t||(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Kh(i){let e,t;return e=new Si({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:nl[Ue.KeyC],$$slots:{default:[Gh]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Yh(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,l;return i.$$set=r=>{"isSubtitlesEnabled"in r&&t(0,n=r.isSubtitlesEnabled),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,l]}class Xh extends ye{constructor(e){super(),ke(this,e,Yh,Kh,_e,{isSubtitlesEnabled:0,click:1})}}function Qh(i){qe(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Ds(i){let e,t;return{c(){e=k("span"),t=ze(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&8&&it(t,n[3])},d(n){n&&y(e)}}}function Jh(i){let e,t,n,o,l,r=i[2]&&Ds(i);return{c(){e=k("div"),t=k("span"),n=ze(i[4]),o=N(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),Zn(()=>i[7].call(e)),V(e,"mobile",i[1])},m(s,a){S(s,e,a),d(e,t),d(t,n),d(e,o),r&&r.m(e,null),l=tl(e,i[7].bind(e))},p(s,[a]){a&16&&it(n,s[4]),s[2]?r?r.p(s,a):(r=Ds(s),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&2&&V(e,"mobile",s[1])},i:K,o:K,d(s){s&&y(e),r&&r.d(),l()}}}function xh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:l}=e,{showDuration:r=!0}=e,{width:s}=e,a,c;function f(){s=this.clientWidth,t(0,s)}return i.$$set=h=>{"isMobile"in h&&t(1,n=h.isMobile),"duration"in h&&t(5,o=h.duration),"position"in h&&t(6,l=h.position),"showDuration"in h&&t(2,r=h.showDuration),"width"in h&&t(0,s=h.width)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=An(o)),i.$$.dirty&64&&t(4,c=An(l))},[s,n,r,a,c,o,l,f]}class cc extends ye{constructor(e){super(),ke(this,e,xh,Jh,_e,{isMobile:1,duration:5,position:6,showDuration:2,width:0},Qh)}}function $h(i){qe(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function e3(i){let e,t,n,o,l,r;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("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(l,"class","cross v-1n5yyua"),u(l,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",r="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){S(s,e,a),d(e,t),d(t,n),d(t,o),d(t,l)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&r!==(r="volume-"+s[0]+"-icon")&&u(e,"data-testid",r)},i:K,o:K,d(s){s&&y(e)}}}function t3(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const l=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let r;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,r=l(n,o))},[r,n,o]}class sl extends ye{constructor(e){super(),ke(this,e,t3,e3,_e,{volume:1,muted:2},$h)}}function i3(i){let e,t;const n=i[4].default,o=Vn(n,i,i[3],null);return{c(){e=k("div"),o&&o.c(),u(e,"class","overlay")},m(l,r){S(l,e,r),o&&o.m(e,null),i[5](e),t=!0},p(l,[r]){o&&o.p&&(!t||r&8)&&Mn(o,n,l,l[3],t?In(n,l[3],r,null):Rn(l[3]),null)},i(l){t||(m(o,l),t=!0)},o(l){v(o,l),t=!1},d(l){l&&y(e),o&&o.d(l),i[5](null)}}}function n3(i,e,t){let n,{$$slots:o={},$$scope:l}=e;const s=Tt().ui.overlayContainer$;W(i,s,p=>t(2,n=p));let a;const c=p=>{!p||!a||!p.contains(a)||p.removeChild(a)},f=p=>{!p||!a||p.contains(a)||p.appendChild(a)};Qi(()=>(f(n),()=>c(n)));function h(p){We[p?"unshift":"push"](()=>{a=p,t(0,a)})}return i.$$set=p=>{"$$scope"in p&&t(3,l=p.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,l,o,h]}class o3 extends ye{constructor(e){super(),ke(this,e,n3,i3,_e,{})}}function l3(i){qe(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function Fs(i){let e,t;return e=new o3({props:{$$slots:{default:[r3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&262387&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function r3(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("div"),n=ze(i[1]),o=N(),l=k("div"),u(t,"class","content v-1jbbzcj"),u(l,"class","tooltip-pointer v-1jbbzcj"),u(l,"style",r=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),i[17](e)},p(a,c){c&2&&it(n,a[1]),c&32&&r!==(r=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(l,"style",r),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&V(e,"active",a[0])},d(a){a&&y(e),i[17](null)}}}function s3(i){let e,t,n,o,l,r;const s=i[15].default,a=Vn(s,i,i[18],null);let c=i[1]&&Fs(i);return{c(){e=k("div"),a&&a.c(),t=N(),c&&c.c(),n=_t(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,h){S(f,e,h),a&&a.m(e,null),i[16](e),S(f,t,h),c&&c.m(f,h),S(f,n,h),o=!0,l||(r=[Ee(e,"mouseenter",i[11]),Ee(e,"mousemove",i[11]),Ee(e,"mouseleave",i[12]),Ee(e,"mousedown",i[12]),Ee(e,"mouseup",i[11])],l=!0)},p(f,[h]){a&&a.p&&(!o||h&262144)&&Mn(a,s,f,f[18],o?In(s,f[18],h,null):Rn(f[18]),null),(!o||h&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,h),h&2&&m(c,1)):(c=Fs(f),c.c(),m(c,1),c.m(n.parentNode,n)):c&&(me(),v(c,1,1,()=>{c=null}),he())},i(f){o||(m(a,f),m(c),o=!0)},o(f){v(a,f),v(c),o=!1},d(f){f&&(y(e),y(t),y(n)),a&&a.d(f),i[16](null),c&&c.d(f),l=!1,li(r)}}}const jo=5;function a3(i,e,t){let n,o,{$$slots:l={},$$scope:r}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:h=!1}=e,p,_,g,b=0,L=jo,E=0,w=0;const C=Ji(),B=Tt(),R=B.ui.playerSize;W(i,R,A=>t(21,o=A));const U=B.ui.overlayContainer$;W(i,U,A=>t(20,n=A));const Y=B.getLogger().createComponentLog("Tooltip component"),j=()=>{if(!n)return;const A=n.getBoundingClientRect(),oe=p.getBoundingClientRect(),se=oe.width,we=_.clientWidth,be=o.width,Te=(se-we)/2,Se=oe.left+c-A.left;let H=Se+Te;const G=oe.top+f-A.top;let O=we/2-jo;const ve=H<yo,X=H+we>be-yo;ve&&(H=yo,O=Se+oe.width/2-2.5*jo),X&&(H=be-yo-we,O=oe.left-A.left+oe.width/2-H-jo),t(6,E=H),t(7,w=G),t(5,b=O)},ne=()=>{try{if(!n||!p)return;j(),t(0,a=!0)}catch(A){Y({message:String(A)})}},Q=()=>{t(0,a=!1)},ee=()=>{_&&(g||(g=window.setTimeout(ne,C.controls.hideTimeoutTooltips)),a&&ne())},T=()=>{Q(),window.clearTimeout(g),g=void 0};il(()=>window.clearTimeout(g));function te(A){We[A?"unshift":"push"](()=>{p=A,t(3,p)})}function ce(A){We[A?"unshift":"push"](()=>{_=A,t(4,_)})}return i.$$set=A=>{"content"in A&&t(1,s=A.content),"active"in A&&t(0,a=A.active),"translateX"in A&&t(13,c=A.translateX),"translateY"in A&&t(14,f=A.translateY),"isFullWidthWrapper"in A&&t(2,h=A.isFullWidthWrapper),"$$scope"in A&&t(18,r=A.$$scope)},[a,s,h,p,_,b,E,w,L,R,U,ee,T,c,f,l,te,ce,r]}class fc extends ye{constructor(e){super(),ke(this,e,a3,s3,_e,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},l3)}}function u3(i){qe(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function c3(i){let e;const t=i[15].default,n=Vn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&Mn(n,t,o,o[19],e?In(t,o[19],l,null):Rn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function f3(i){let e,t;return e=new fc({props:{content:i[8],translateX:i[6],translateY:i[7],isFullWidthWrapper:i[3],$$slots:{default:[d3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&256&&(l.content=n[8]),o&64&&(l.translateX=n[6]),o&128&&(l.translateY=n[7]),o&8&&(l.isFullWidthWrapper=n[3]),o&524288&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function d3(i){let e;const t=i[15].default,n=Vn(t,i,i[19],null);return{c(){n&&n.c()},m(o,l){n&&n.m(o,l),e=!0},p(o,l){n&&n.p&&(!e||l&524288)&&Mn(n,t,o,o[19],e?In(t,o[19],l,null):Rn(o[19]),null)},i(o){e||(m(n,o),e=!0)},o(o){v(n,o),e=!1},d(o){n&&n.d(o)}}}function m3(i){let e,t,n,o,l,r,s,a,c;const f=[f3,c3],h=[];function p(_,g){return _[2]&&_[4]&&!_[9]?0:1}return t=p(i),n=h[t]=f[t](i),{c(){e=k("div"),n.c(),u(e,"class",o="btn-container "+i[1]+" v-p9r045"),u(e,"aria-hidden",l=i[5]||null),Zn(()=>i[18].call(e))},m(_,g){S(_,e,g),h[t].m(e,null),r=tl(e,i[18].bind(e)),s=!0,a||(c=[Ee(e,"pointerdown",ct(yi(i[16]))),Ee(e,"click",ct(yi(i[17])))],a=!0)},p(_,[g]){let b=t;t=p(_),t===b?h[t].p(_,g):(me(),v(h[b],1,1,()=>{h[b]=null}),he(),n=h[t],n?n.p(_,g):(n=h[t]=f[t](_),n.c()),m(n,1),n.m(e,null)),(!s||g&2&&o!==(o="btn-container "+_[1]+" v-p9r045"))&&u(e,"class",o),(!s||g&32&&l!==(l=_[5]||null))&&u(e,"aria-hidden",l)},i(_){s||(m(n),s=!0)},o(_){v(n),s=!1},d(_){_&&y(e),h[t].d(),r(),a=!1,li(c)}}}function h3(i,e,t){let n,o,{$$slots:l={},$$scope:r}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{width:f}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:p=""}=e,{disabledTooltipContent:_=Z("tooltip_button_disabled")}=e,{isAriaHidden:g=!1}=e,{initialTranslateXPx:b=0}=e,{initialTranslateYPx:L=-18}=e;const E=Tt(),w=E.ui.isMobile;W(i,w,j=>t(9,o=j));const C=E.state.graphIsOpened$;W(i,C,j=>t(14,n=j));let B;function R(j){uo.call(this,i,j)}function U(j){uo.call(this,i,j)}function Y(){f=this.clientWidth,t(0,f)}return i.$$set=j=>{"className"in j&&t(1,s=j.className),"disabled"in j&&t(12,a=j.disabled),"hasTooltip"in j&&t(2,c=j.hasTooltip),"width"in j&&t(0,f=j.width),"isFullWidthTooltip"in j&&t(3,h=j.isFullWidthTooltip),"tooltipContent"in j&&t(4,p=j.tooltipContent),"disabledTooltipContent"in j&&t(13,_=j.disabledTooltipContent),"isAriaHidden"in j&&t(5,g=j.isAriaHidden),"initialTranslateXPx"in j&&t(6,b=j.initialTranslateXPx),"initialTranslateYPx"in j&&t(7,L=j.initialTranslateYPx),"$$scope"in j&&t(19,r=j.$$scope)},i.$$.update=()=>{i.$$.dirty&28688&&(a?t(8,B=n?Z("tooltip_disabled_when_graph_on"):_):t(8,B=p))},[f,s,c,h,p,g,b,L,B,o,w,C,a,_,n,l,R,U,Y,r]}class Yt extends ye{constructor(e){super(),ke(this,e,h3,m3,_e,{className:1,disabled:12,hasTooltip:2,width:0,isFullWidthTooltip:3,tooltipContent:4,disabledTooltipContent:13,isAriaHidden:5,initialTranslateXPx:6,initialTranslateYPx:7},u3)}}function p3(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("rect"),o=I("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",l=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,s){S(r,e,s),d(e,t),d(e,o)},p(r,[s]){s&1&&n!==(n=r[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&l!==(l=r[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",l)},i:K,o:K,d(r){r&&y(e)}}}function v3(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class g3 extends ye{constructor(e){super(),ke(this,e,v3,p3,_e,{completed:0})}}function _3(i){qe(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function b3(i){let e,t,n,o,l;return t=new g3({props:{completed:!!i[0].completed}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Zn(()=>i[3].call(e)),V(e,"disabled",i[1])},m(r,s){S(r,e,s),z(t,e,null),o=tl(e,i[3].bind(e)),l=!0},p(r,s){const a={};s&1&&(a.completed=!!r[0].completed),t.$set(a),(!l||s&1&&n!==(n=`left: ${r[0].from+r[0].width/2}%`))&&u(e,"style",n),(!l||s&2)&&V(e,"disabled",r[1])},i(r){l||(m(t.$$.fragment,r),l=!0)},o(r){v(t.$$.fragment,r),l=!1},d(r){r&&y(e),D(t),o()}}}function w3(i){let e,t;return e=new Yt({props:{tooltipContent:Z(i[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:i[1],width:i[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[b3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.tooltipContent=Z(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(l.disabled=n[1]),o&4&&(l.width=n[2]||0),o&23&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k3(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,l;function r(){l=this.clientWidth,t(2,l)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,l,r]}class y3 extends ye{constructor(e){super(),ke(this,e,k3,w3,_e,{videoEpisode:0,disabled:1},_3)}}function S3(i){qe(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Hs(i,e,t){const n=i.slice();return n[2]=e[t],n}function Us(i){let e,t,n,o,l,r,s,a,c;return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),r=k("div"),a=N(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(r,"class","video-episode-filled v-1h9p3m2"),u(r,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(r,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),V(e,"mobile",i[1])},m(f,h){S(f,e,h),d(e,t),d(t,n),d(t,l),d(t,r),d(e,a)},p(f,h){h&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),h&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(r,"style",s),h&2&&V(r,"mobile",f[1]),h&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),h&2&&V(e,"mobile",f[1])},d(f){f&&y(e)}}}function C3(i){let e,t=Kt(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Us(Hs(i,t,o));return{c(){e=k("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,l){S(o,e,l);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(o,[l]){if(l&3){t=Kt(o[0]);let r;for(r=0;r<t.length;r+=1){const s=Hs(o,t,r);n[r]?n[r].p(s,l):(n[r]=Us(s),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:K,o:K,d(o){o&&y(e),cn(n,o)}}}function P3(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=l=>{"videoEpisodes"in l&&t(0,n=l.videoEpisodes),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class T3 extends ye{constructor(e){super(),ke(this,e,P3,C3,_e,{videoEpisodes:0,isMobile:1},S3)}}function E3(i){qe(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function qs(i,e,t){const n=i.slice();return n[48]=e[t],n}function Ws(i){let e,t,n=Kt(i[21]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Zs(qs(i,n,r));const l=r=>v(o[r],1,1,()=>{o[r]=null});return{c(){e=k("div");for(let r=0;r<o.length;r+=1)o[r].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(r,s){S(r,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(r,s){if(s[0]&2097664){n=Kt(r[21]);let a;for(a=0;a<n.length;a+=1){const c=qs(r,n,a);o[a]?(o[a].p(c,s),m(o[a],1)):(o[a]=Zs(c),o[a].c(),m(o[a],1),o[a].m(e,null))}for(me(),a=n.length;a<o.length;a+=1)l(a);he()}(!t||s[0]&32)&&V(e,"mobile",r[5]),(!t||s[0]&1048608)&&V(e,"hidden",r[5]&&!r[20])},i(r){if(!t){for(let s=0;s<n.length;s+=1)m(o[s]);t=!0}},o(r){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)v(o[s]);t=!1},d(r){r&&y(e),cn(o,r)}}}function js(i){let e,t;return e=new y3({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisode=n[48]),o[0]&512&&(l.disabled=n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Zs(i){let e,t,n=i[48].interactive&&js(i);return{c(){n&&n.c(),e=_t()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[48].interactive?n?(n.p(o,l),l[0]&2097152&&m(n,1)):(n=js(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function A3(i){let e,t,n,o,l,r;return{c(){e=k("div"),t=k("div"),o=N(),l=k("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(l,"class","filled v-1golz1y"),u(l,"style",r=`transform: translateX(${i[12]*100}%);`),V(l,"active-live",i[4]),V(l,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){S(s,e,a),d(e,t),d(e,o),d(e,l)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&r!==(r=`transform: translateX(${s[12]*100}%);`)&&u(l,"style",r),a[0]&16&&V(l,"active-live",s[4]),a[0]&64&&V(l,"ads",s[6])},i:K,o:K,d(s){s&&y(e)}}}function L3(i){let e,t;return e=new T3({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2097152&&(l.videoEpisodes=n[21]),o[0]&32&&(l.isMobile=n[5]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function V3(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g=i[8]&&Ws(i);const b=[L3,A3],L=[];function E(w,C){return w[21].length?0:1}return n=E(i),o=L[n]=b[n](i),{c(){var w;g&&g.c(),e=N(),t=k("div"),o.c(),l=N(),r=k("div"),s=k("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",i[4]),u(r,"class","handleWrap v-1golz1y"),u(r,"style",a=`transform: translateX(${i[13]*100}%);`),V(r,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(w=i[1])!=null?w:null),V(t,"disabled",i[9]),V(t,"slider-dragging",i[20]),V(t,"hidden",i[2]),V(t,"slider-vertical",i[3]),V(t,"no-handle",i[10]),V(t,"square",i[7])},m(w,C){g&&g.m(w,C),S(w,e,C),S(w,t,C),L[n].m(t,null),d(t,l),d(t,r),d(r,s),i[42](t),h=!0,p||(_=[Ee(t,"pointerdown",yi(i[22])),Ee(t,"pointermove",yi(i[23])),Ee(t,"pointerup",yi(i[24])),Ee(t,"pointerenter",yi(i[25])),Ee(t,"pointerleave",yi(i[26])),Ee(t,"click",ct(nt)),Ee(t,"wheel",i[27])],p=!0)},p(w,C){var R;w[8]?g?(g.p(w,C),C[0]&256&&m(g,1)):(g=Ws(w),g.c(),m(g,1),g.m(e.parentNode,e)):g&&(me(),v(g,1,1,()=>{g=null}),he());let B=n;n=E(w),n===B?L[n].p(w,C):(me(),v(L[B],1,1,()=>{L[B]=null}),he(),o=L[n],o?o.p(w,C):(o=L[n]=b[n](w),o.c()),m(o,1),o.m(t,l)),(!h||C[0]&16)&&V(s,"active-live",w[4]),(!h||C[0]&8192&&a!==(a=`transform: translateX(${w[13]*100}%);`))&&u(r,"style",a),(!h||C[0]&1024)&&V(r,"hidden",w[10]),(!h||C[0]&1&&c!==(c="slider "+w[0]+" v-1golz1y"))&&u(t,"class",c),(!h||C[0]&16384)&&u(t,"aria-label",w[14]),(!h||C[0]&32768)&&u(t,"aria-valuemin",w[15]),(!h||C[0]&65536)&&u(t,"aria-valuemax",w[16]),(!h||C[0]&131072)&&u(t,"aria-valuenow",w[17]),(!h||C[0]&262144)&&u(t,"aria-valuetext",w[18]),(!h||C[0]&2&&f!==(f=(R=w[1])!=null?R:null))&&u(t,"data-testid",f),(!h||C[0]&513)&&V(t,"disabled",w[9]),(!h||C[0]&1048577)&&V(t,"slider-dragging",w[20]),(!h||C[0]&5)&&V(t,"hidden",w[2]),(!h||C[0]&9)&&V(t,"slider-vertical",w[3]),(!h||C[0]&1025)&&V(t,"no-handle",w[10]),(!h||C[0]&129)&&V(t,"square",w[7])},i(w){h||(m(g),m(o),h=!0)},o(w){v(g),v(o),h=!1},d(w){w&&(y(e),y(t)),g&&g.d(w),L[n].d(),i[42](null),p=!1,li(_)}}}function I3(i,e,t){let n,o,{className:l=""}=e,{testId:r=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:h=!1}=e,{squareBorders:p=!1}=e,{videoEpisodes:_=[]}=e,{withWheelHandler:g=!1}=e,{isInteractive:b=!1}=e,{disabled:L=!1}=e,{hideHandel:E=!1}=e,w,C,{onPointerDown:B=nt}=e,{onHandleMove:R=nt}=e,{onPointerUp:U=nt}=e,{onPointerEnter:Y=nt}=e,{onPointerMove:j=nt}=e,{onPointerLeave:ne=nt}=e,{onWheelUp:Q=nt}=e,{onWheelDown:ee=nt}=e,{onWheelLeft:T=nt}=e,{onWheelRight:te=nt}=e,{loadedProgress:ce=0}=e,{filledProgress:A=0}=e,{handleProgress:oe=0}=e,{ariaLabel:se=""}=e,{ariaValueMin:we=void 0}=e,{ariaValueMax:be=void 0}=e,{ariaValueNow:Te=void 0}=e,{ariaValueText:Se=""}=e;const H=Ji();let G=!1,O;function ve(re){if(G)return;t(20,G=!0),C=w.getBoundingClientRect();const De=Ae(re.clientX,re.clientY);B(De),w.setPointerCapture(re.pointerId)}function X(re){const De=Ae(re.clientX,re.clientY),Fe=x(re.clientX);j(De,Fe,C.width),G&&R(De)}function M(re){if(!G)return;t(20,G=!1);const De=Ae(re.clientX,re.clientY);U(De)}function J(re){C=w.getBoundingClientRect();const De=Ae(re.clientX,re.clientY),Fe=x(re.clientX);Y(De,Fe,C.width)}function Ie(){ne()}function Pe(re){g&&(re.preventDefault(),re.deltaY<0?Q():re.deltaY>0?ee():re.deltaX>0?te():T())}function Ae(re,De){return a?Math.max(0,Math.min(1,(C.height-(De-C.top))/C.height)):Math.min(Math.max(re-C.x,0),C.width)/C.width}function x(re){return Math.min(Math.max(re-C.x,0),C.width)}function ae(re,De){const Fe=H.features.episodesClustering&&!b?H.episodeMinWidthPc:0,rt=[];let ot=0,Oe=0,dt=0;for(let Me=1;Me<_.length;Me++)Oe=_[Me].time/O*100,Oe-ot>Fe&&(rt.push({from:ot,width:Math.max(0,Oe-ot),loadedWidth:Math.max(0,Math.min(Oe,re)-ot),filledWidth:Math.max(0,Math.min(Oe,De)-ot),interactive:_[Me-1].interactive,completed:_[Me-1].completed}),ot=_[Me].time/O*100,dt++);const wt={from:ot,width:Math.max(0,100-ot),loadedWidth:Math.max(0,Math.min(re,100)-ot),filledWidth:Math.max(0,Math.min(De,100)-ot),interactive:_[dt].interactive,completed:_[dt].completed};100-ot<Fe?(dt-=1,rt[dt].width+=100-ot,rt[dt].loadedWidth+=Math.max(0,Math.min(re,100)-ot),rt[dt].filledWidth+=Math.max(0,Math.min(De,100)-ot)):rt[dt]=wt;const Re=_[0].time;if(Re!==0){const Me=Re/O*100;rt.unshift({from:0,width:Me,loadedWidth:Math.min(Me,re),filledWidth:Math.min(Me,De)})}return rt}function pe(re){We[re?"unshift":"push"](()=>{w=re,t(19,w)})}return i.$$set=re=>{"className"in re&&t(0,l=re.className),"testId"in re&&t(1,r=re.testId),"isHidden"in re&&t(2,s=re.isHidden),"isVertical"in re&&t(3,a=re.isVertical),"isActiveLive"in re&&t(4,c=re.isActiveLive),"isMobile"in re&&t(5,f=re.isMobile),"isAds"in re&&t(6,h=re.isAds),"squareBorders"in re&&t(7,p=re.squareBorders),"videoEpisodes"in re&&t(28,_=re.videoEpisodes),"withWheelHandler"in re&&t(29,g=re.withWheelHandler),"isInteractive"in re&&t(8,b=re.isInteractive),"disabled"in re&&t(9,L=re.disabled),"hideHandel"in re&&t(10,E=re.hideHandel),"onPointerDown"in re&&t(30,B=re.onPointerDown),"onHandleMove"in re&&t(31,R=re.onHandleMove),"onPointerUp"in re&&t(32,U=re.onPointerUp),"onPointerEnter"in re&&t(33,Y=re.onPointerEnter),"onPointerMove"in re&&t(34,j=re.onPointerMove),"onPointerLeave"in re&&t(35,ne=re.onPointerLeave),"onWheelUp"in re&&t(36,Q=re.onWheelUp),"onWheelDown"in re&&t(37,ee=re.onWheelDown),"onWheelLeft"in re&&t(38,T=re.onWheelLeft),"onWheelRight"in re&&t(39,te=re.onWheelRight),"loadedProgress"in re&&t(11,ce=re.loadedProgress),"filledProgress"in re&&t(12,A=re.filledProgress),"handleProgress"in re&&t(13,oe=re.handleProgress),"ariaLabel"in re&&t(14,se=re.ariaLabel),"ariaValueMin"in re&&t(15,we=re.ariaValueMin),"ariaValueMax"in re&&t(16,be=re.ariaValueMax),"ariaValueNow"in re&&t(17,Te=re.ariaValueNow),"ariaValueText"in re&&t(18,Se=re.ariaValueText)},i.$$.update=()=>{var re;i.$$.dirty[0]&65536&&t(40,O=be!=null?be:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((re=_[_.length-1])==null?void 0:re.time)<O),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=_.length&&n&&O?ae(ce*100,A*100):[])},[l,r,s,a,c,f,h,p,b,L,E,ce,A,oe,se,we,be,Te,Se,w,G,o,ve,X,M,J,Ie,Pe,_,g,B,R,U,Y,j,ne,Q,ee,T,te,O,n,pe]}class or extends ye{constructor(e){super(),ke(this,e,I3,V3,_e,{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},E3,[-1,-1])}}const sn=(i,e)=>fo[i]>=fo[e],M3=(i,e)=>fo[i]<fo[e],dc=(i,e)=>fo[i]<=fo[e],R3=i=>i>lo.L?Vt.XL:i>lo.M?Vt.L:i>lo.S?Vt.M:i>lo.XS?Vt.S:Vt.XS;function N3(i){qe(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function B3(i){let e,t;return e=new sl({props:{volume:i[4],muted:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16&&(l.volume=n[4]),o[0]&4&&(l.muted=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function O3(i){let e,t;return e=new Si({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:nl[Ue.KeyM],$$slots:{default:[B3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1&&(l.disabled=!n[0]),o[0]&8&&(l.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(l.ariaLabel=n[7]),o[0]&2&&(l.click=n[1]),o[0]&20|o[1]&1&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Gs(i){let e,t,n;return t=new or({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:nt,onPointerLeave:i[3]?i[18]:nt,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.className=o[3]?"volumeBar-slider-vertical":""),l[0]&40&&(r.isHidden=o[3]&&!o[5]),l[0]&8&&(r.isVertical=o[3]),l[0]&8&&(r.onPointerEnter=o[3]?o[17]:nt),l[0]&8&&(r.onPointerLeave=o[3]?o[18]:nt),l[0]&256&&(r.ariaValueNow=Math.round(o[8]*100)),l[0]&256&&(r.ariaValueText=`${Math.round(o[8]*100)}%`),l[0]&256&&(r.filledProgress=o[8]),l[0]&256&&(r.handleProgress=o[8]),l[0]&8&&(r.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(r),(!n||l[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function z3(i){let e,t,n,o,l,r;t=new fc({props:{content:i[6],translateY:-18,$$slots:{default:[O3]},$$scope:{ctx:i}}});let s=i[0]&&Gs(i);return{c(){e=k("div"),F(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){S(a,e,c),z(t,e,null),d(e,n),s&&s.m(e,null),o=!0,l||(r=[Ee(e,"mouseenter",function(){Ln(i[3]?i[19]:nt)&&(i[3]?i[19]:nt).apply(this,arguments)}),Ee(e,"mouseleave",function(){Ln(i[3]?i[20]:nt)&&(i[3]?i[20]:nt).apply(this,arguments)}),Ee(e,"wheel",yi(i[21]))],l=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&m(s,1)):(s=Gs(i),s.c(),m(s,1),s.m(e,null)):s&&(me(),v(s,1,1,()=>{s=null}),he()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(m(t.$$.fragment,a),m(s),o=!0)},o(a){v(t.$$.fragment,a),v(s),o=!1},d(a){a&&y(e),D(t),s&&s.d(),l=!1,li(r)}}}function D3(i,e,t){let n,o,l,{isAudioAvailable:r=!0}=e,{click:s}=e;const a=Tt(),c=Ji(),f=a.state.volume$;W(i,f,we=>t(4,n=we));const h=a.state.muted$;W(i,h,we=>t(23,l=we));const p=a.actions.internal.setVolume,_=a.ui.currentGridType$;W(i,_,we=>t(22,o=we));let g=!1,b,L,E,w,C,B,R=1,U=!1;function Y(we){R=n,p(we)}function j(){ic(a,n,c.controls.volumeStepWheel)}function ne(){nc(a,n,c.controls.volumeStepWheel)}function Q(we){p(we)}function ee(we){const be=we;p(be,be===0?R:be)}function T(){U=!0}function te(){U=!1,oe()}function ce(){clearTimeout(b),t(5,g=!0)}function A(){oe()}function oe(){b=window.setTimeout(()=>{U||t(5,g=!1)},c.controls.volumeBarTimeout)}function se(we){we.deltaY<0?j():we.deltaY>0&&ne()}return i.$$set=we=>{"isAudioAvailable"in we&&t(0,r=we.isAudioAvailable),"click"in we&&t(1,s=we.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,w=!r||l),i.$$.dirty[0]&4194304&&t(3,C=dc(o,Vt.S)),i.$$.dirty[0]&12&&(C?t(6,L=""):t(6,L=Z(w?"tooltip_volume":"tooltip_volume_muted")),t(7,E=Z(w?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,B=w?0:n)},[r,s,w,C,n,g,L,E,B,f,h,_,Y,j,ne,Q,ee,T,te,ce,A,se,o,l]}class F3 extends ye{constructor(e){super(),ke(this,e,D3,z3,_e,{isAudioAvailable:0,click:1},N3,[-1,-1])}}function H3(i){let e;return{c(){e=I("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function U3(i){let e;return{c(){e=I("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function q3(i){let e,t,n;function o(s,a){return s[0]?U3:H3}let l=o(i),r=l(i);return{c(){e=I("svg"),t=I("g"),r.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){S(s,e,a),d(e,t),r.m(t,null)},p(s,[a]){l!==(l=o(s))&&(r.d(1),r=l(s),r&&(r.c(),r.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:K,o:K,d(s){s&&y(e),r.d()}}}function W3(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class j3 extends ye{constructor(e){super(),ke(this,e,W3,q3,_e,{isFullscreen:0})}}function Z3(i){let e,t;return e=new j3({props:{isFullscreen:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isFullscreen=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function G3(i){let e,t;return e=new Si({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:nl[Ue.KeyF],$$slots:{default:[Z3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.ariaLabel=n[2]),o&2&&(l.click=n[1]),o&9&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function K3(i,e,t){let{isFullscreen:n=!1}=e,{click:o=nt}=e,l;return i.$$set=r=>{"isFullscreen"in r&&t(0,n=r.isFullscreen),"click"in r&&t(1,o=r.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,l=Z(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,l]}class mc extends ye{constructor(e){super(),ke(this,e,K3,G3,_e,{isFullscreen:0,click:1})}}function Y3(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class lr extends ye{constructor(e){super(),ke(this,e,null,Y3,_e,{})}}function X3(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class hc extends ye{constructor(e){super(),ke(this,e,null,X3,_e,{})}}function Q3(i){qe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ks(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function J3(i){let e,t,n,o,l=i[0]&&Ks();var r=i[6];function s(a){return{}}return r&&(n=bn(r,s())),{c(){l&&l.c(),e=N(),t=k("div"),n&&F(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(a,c){l&&l.m(a,c),S(a,e,c),S(a,t,c),n&&z(n,t,null),o=!0},p(a,c){if(a[0]?l||(l=Ks(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),c&64&&r!==(r=a[6])){if(n){me();const f=n;v(f.$$.fragment,1,0,()=>{D(f,1)}),he()}r?(n=bn(r,s()),F(n.$$.fragment),m(n.$$.fragment,1),z(n,t,null)):n=null}(!o||c&1)&&V(t,"mobile",a[0])},i(a){o||(n&&m(n.$$.fragment,a),o=!0)},o(a){n&&v(n.$$.fragment,a),o=!1},d(a){a&&(y(e),y(t)),l&&l.d(a),n&&D(n)}}}function x3(i){let e,t;return e=new Si({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-play",click:i[4]?i[8]:i[3],disabled:i[1],ariaLabel:i[5],ariaKeyShortCut:nl[Ue.KeyK],$$slots:{default:[J3]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&24&&(l.click=n[4]?n[8]:n[3]),o&2&&(l.disabled=n[1]),o&32&&(l.ariaLabel=n[5]),o&4161&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $3(i,e,t){let n,o;const{fakeIsPlaying$:l}=tu();W(i,l,b=>t(11,o=b));let{isMobile:r=!1}=e,{isPlaying:s=!1}=e,{disabled:a=!1}=e,{className:c=""}=e,{click:f=nt}=e;const{toggle:h}=l;let p,_,g;return i.$$set=b=>{"isMobile"in b&&t(0,r=b.isMobile),"isPlaying"in b&&t(9,s=b.isPlaying),"disabled"in b&&t(1,a=b.disabled),"className"in b&&t(2,c=b.className),"click"in b&&t(3,f=b.click)},i.$$.update=()=>{i.$$.dirty&2048&&t(4,p=o!==null),i.$$.dirty&2576&&t(10,_=p?o:s),i.$$.dirty&1024&&t(5,g=Z(_?"tooltip_pause":"tooltip_play")),i.$$.dirty&1024&&t(6,n=_?hc:lr)},[r,a,c,f,p,g,n,l,h,s,_,o]}class rr extends ye{constructor(e){super(),ke(this,e,$3,x3,_e,{isMobile:0,isPlaying:9,disabled:1,className:2,click:3},Q3)}}function ep(i){qe(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function tp(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),V(e,"prev",i[0]),V(e,"mobile",i[1])},m(o,l){S(o,e,l),d(e,t)},p(o,[l]){l&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),l&1&&V(e,"prev",o[0]),l&2&&V(e,"mobile",o[1])},i:K,o:K,d(o){o&&y(e)}}}function ip(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=l=>{"isPrev"in l&&t(0,n=l.isPrev),"isMobile"in l&&t(1,o=l.isMobile)},[n,o]}class np extends ye{constructor(e){super(),ke(this,e,ip,tp,_e,{isPrev:0,isMobile:1},ep)}}function op(i){let e,t;return e=new np({props:{isMobile:i[0],isPrev:i[2]==="prev"}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&4&&(l.isPrev=n[2]==="prev"),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function lp(i){let e,t;return e=new Si({props:{testId:"btn-"+i[2],disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[op]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&4&&(l.testId="btn-"+n[2]),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&37&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function rp(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{type:l}=e,{click:r}=e,s;return i.$$set=a=>{"isMobile"in a&&t(0,n=a.isMobile),"disabled"in a&&t(1,o=a.disabled),"type"in a&&t(2,l=a.type),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=Z(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,l,r,s]}class al extends ye{constructor(e){super(),ke(this,e,rp,lp,_e,{isMobile:0,disabled:1,type:2,click:3})}}function sp(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class ap extends ye{constructor(e){super(),ke(this,e,null,sp,_e,{})}}function Ys(i){let e,t,n,o,l,r,s;return{c(){e=I("path"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=I("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(l,"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(l,"fill","white"),u(r,"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(r,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){S(a,e,c),S(a,t,c),S(a,n,c),S(a,o,c),S(a,l,c),S(a,r,c),S(a,s,c)},d(a){a&&(y(e),y(t),y(n),y(o),y(l),y(r),y(s))}}}function up(i){let e,t,n,o=!i[0]&&Ys();return{c(){e=I("svg"),t=I("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[1]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[1]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[2])},m(l,r){S(l,e,r),d(e,t),o&&o.m(e,null)},p(l,[r]){l[0]?o&&(o.d(1),o=null):o||(o=Ys(),o.c(),o.m(e,null)),r&2&&u(e,"width",l[1]),r&2&&n!==(n="0 0 "+(l[1]+1)+" 20")&&u(e,"viewBox",n),r&4&&u(e,"data-testid",l[2])},i:K,o:K,d(l){l&&y(e),o&&o.d()}}}function cp(i,e,t){let{short:n=!1}=e,o,l;return i.$$set=r=>{"short"in r&&t(0,n=r.short)},i.$$.update=()=>{i.$$.dirty&1&&(t(1,o=n?20:93),t(2,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,l]}class fp extends ye{constructor(e){super(),ke(this,e,cp,up,_e,{short:0})}}function dp(i){let e,t;return e=new ap({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p:K,i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function mp(i){let e,t;return e=new fp({props:{short:i[3]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.short=n[3]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function hp(i){let e,t,n,o;const l=[mp,dp],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function pp(i){let e,t;return e=new Si({props:{className:"btn-full-opacity",disabled:!i[0],click:i[7],testId:i[1]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[2],$$slots:{default:[hp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.disabled=!n[0]),o&2&&(l.testId=n[1]?"btn-vk-video-logo":"btn-vk-logo"),o&4&&(l.ariaLabel=n[2]),o&131082&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vp(i,e,t){let n,o,l,{logoClickable:r=!1}=e,{videoLogoUrl:s=void 0}=e,{click:a}=e;const c=Ji(),{logoLink:f,addTimeToLogoLink:h}=c,p=Tt(),_=p.state.positionWithScrubbing$;W(i,_,B=>t(12,n=B));const g=p.ui.currentGridType$;W(i,g,B=>t(10,o=B));const b=p.ui.isMobile;W(i,b,B=>t(11,l=B));let L,E,w;const C=()=>{let B;if(E||!s)B=f;else{const R=Math.round(n);if(h&&R){const U=new URL(s);U.searchParams.append("t",e0(R)),B=U.toString()}else B=s}a(),window.open(B,"_blank")};return i.$$set=B=>{"logoClickable"in B&&t(0,r=B.logoClickable),"videoLogoUrl"in B&&t(8,s=B.videoLogoUrl),"click"in B&&t(9,a=B.click)},i.$$.update=()=>{i.$$.dirty&3074&&t(3,w=(l||dc(o,Vt.L))&&E)},t(2,L=c.logoType===co.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),t(1,E=c.logoType===co.VK_VIDEO),[r,E,L,w,_,g,b,C,s,a,o,l]}class pc extends ye{constructor(e){super(),ke(this,e,vp,pp,_e,{logoClickable:0,videoLogoUrl:8,click:9})}}function gp(i){qe(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function _p(i){let e,t,n,o,l,r,s,a;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("path"),s=I("path"),a=I("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(l,"class","wave wave3 v-8z1bf5"),u(l,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(l,"fill","#fff"),u(r,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(r,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),V(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),V(e,"connecting",i[2])},m(c,f){S(c,e,f),d(e,t),d(t,n),d(t,o),d(t,l),d(t,r),d(t,s),d(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&y(e)}}}function bp(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R;return{c(){e=I("svg"),t=I("g"),n=I("mask"),o=I("path"),r=I("path"),s=I("path"),c=I("path"),f=I("defs"),h=I("clipPath"),p=I("path"),g=I("filter"),b=I("feFlood"),L=I("feColorMatrix"),E=I("feOffset"),w=I("feGaussianBlur"),C=I("feColorMatrix"),B=I("feBlend"),R=I("feBlend"),u(o,"fill",l=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),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(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(p,"fill",_=i[1]?"#2688EB":"#fff"),u(p,"d","M0 0h24v24H0z"),u(h,"id","a"),u(b,"flood-opacity","0"),u(b,"result","BackgroundImageFix"),u(L,"in","SourceAlpha"),u(L,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(L,"result","hardAlpha"),u(w,"stdDeviation","2.5"),u(C,"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_4085_178456"),u(R,"in","SourceGraphic"),u(R,"in2","effect1_dropShadow_4085_178456"),u(R,"result","shape"),u(g,"id","b"),u(g,"x","-3.4"),u(g,"y","-1.4"),u(g,"width","30.8"),u(g,"height","26.802"),u(g,"filterUnits","userSpaceOnUse"),u(g,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(U,Y){S(U,e,Y),d(e,t),d(t,n),d(n,o),d(n,r),d(t,s),d(t,c),d(e,f),d(f,h),d(h,p),d(f,g),d(g,b),d(g,L),d(g,E),d(g,w),d(g,C),d(g,B),d(g,R)},p(U,Y){Y&2&&l!==(l=U[1]?"#2688EB":"#fff")&&u(o,"fill",l),Y&2&&a!==(a=U[1]?"#2688EB":"#fff")&&u(s,"fill",a),Y&2&&_!==(_=U[1]?"#2688EB":"#fff")&&u(p,"fill",_)},d(U){U&&y(e)}}}function wp(i){let e;function t(l,r){return l[0]?bp:_p}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function kp(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,l,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,r=o===_n.CONNECTING),t(1,l=o===_n.CONNECTED))},[n,l,r,o]}class yp extends ye{constructor(e){super(),ke(this,e,kp,wp,_e,{isMobile:0,state:3},gp)}}function Sp(i){let e,t;return e=new yp({props:{isMobile:i[0],state:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isMobile=n[0]),o&2&&(l.state=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Cp(i){let e,t;return e=new Si({props:{ariaLabel:i[3],click:i[2],testId:"btn-chromecast",$$slots:{default:[Sp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&8&&(l.ariaLabel=n[3]),o&4&&(l.click=n[2]),o&19&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pp(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,{click:l=nt}=e,r;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(1,o=s.state),"click"in s&&t(2,l=s.click)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=o===_n.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off"))},[n,o,l,r]}class vc extends ye{constructor(e){super(),ke(this,e,Pp,Cp,_e,{isMobile:0,state:1,click:2})}}function Tp(i){let e,t;return e=new Ju({props:{isActive:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isActive=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ep(i){let e,t;return e=new Si({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===Gt.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(l.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(l.disabled=n[1]&&n[3]===Gt.PLAYING),o&4&&(l.ariaLabel=n[2]),o&16&&(l.click=n[4]),o&514&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ap(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:l=!1}=e,{ariaLabel:r=""}=e;const s=Tt(),a=s.state.playbackState$;W(i,a,p=>t(3,n=p));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let h;return i.$$set=p=>{"isMobile"in p&&t(0,o=p.isMobile),"isActiveLive"in p&&t(1,l=p.isActiveLive),"ariaLabel"in p&&t(2,r=p.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,h=()=>{if(!l){c();return}n===Gt.PAUSED&&f()})},[o,l,r,n,h,a]}class gc extends ye{constructor(e){super(),ke(this,e,Ap,Ep,_e,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Lp(i){qe(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Vp(i){let e,t,n,o;const l=i[9].default,r=Vn(l,i,i[8],null);return{c(){e=k("div"),t=k("div"),r&&r.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){S(s,e,a),d(e,t),r&&r.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){r&&r.p&&(!o||a&256)&&Mn(r,l,s,s[8],o?In(l,s[8],a,null):Rn(s[8]),null),(!o||a&1)&&V(t,"active",s[0]),(!o||a&2)&&V(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(m(r,s),o=!0)},o(s){v(r,s),o=!1},d(s){s&&y(e),r&&r.d(s),i[10](null),i[11](null)}}}function Ip(i,e,t){let n,{$$slots:o={},$$scope:l}=e,{active:r=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,h,p;function _(L){if(!p)return 0;const{width:E}=p.getBoundingClientRect(),w=E/2;return L<w?w:L>f-w?f-w:L}function g(L){We[L?"unshift":"push"](()=>{p=L,t(4,p)})}function b(L){We[L?"unshift":"push"](()=>{h=L,t(3,h)})}return i.$$set=L=>{"active"in L&&t(0,r=L.active),"pointer"in L&&t(1,s=L.pointer),"translateXPx"in L&&t(6,a=L.translateXPx),"translateYPx"in L&&t(2,c=L.translateYPx),"containerWidth"in L&&t(7,f=L.containerWidth),"$$scope"in L&&t(8,l=L.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=_(a))},[r,s,c,h,p,n,a,f,l,o,g,b]}class Mp extends ye{constructor(e){super(),ke(this,e,Ip,Vp,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Lp)}}const _c=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Rp(i){qe(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Xs(i){let e;function t(l,r){return l[2]&&l[10].completed===!1?Bp:Np}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function Np(i){let e=(i[10].text||"")+"",t;return{c(){t=ze(e)},m(n,o){S(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&it(t,e)},d(n){n&&y(t)}}}function Bp(i){let e=Z("tooltip_episode_unfinished")+"",t;return{c(){t=ze(e)},m(n,o){S(n,t,o)},p:K,d(n){n&&y(t)}}}function Op(i){let e,t,n,o,l,r,s,a,c=i[10]&&Xs(i);return{c(){e=k("div"),t=k("div"),o=N(),l=k("div"),c&&c.c(),r=N(),s=k("div"),a=ze(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(l,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,h){S(f,e,h),d(e,t),d(e,o),d(e,l),c&&c.m(l,null),d(e,r),d(e,s),d(s,a)},p(f,[h]){h&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,h):(c=Xs(f),c.c(),c.m(l,null)):c&&(c.d(1),c=null),h&1&&it(a,f[0]),h&2&&V(e,"mobile",f[1])},i:K,o:K,d(f){f&&y(e),c&&c.d()}}}const io=150;function zp(i,e,t){let n,{time:o=""}=e,{isMobile:l=!1}=e,{videoEpisodes:r=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const p=Tt().ui.rotateAlpha;W(i,p,Y=>t(11,n=Y));let _,g,b,L,E,w,C,B;function R(){let Y=s.frameWidth,j=s.frameHeight;return Y>io?(j=j/Y*io,Y=io):j>io&&(Y=Y/j*io,j=io),{width:Y,height:j}}function U(Y){let j;s.isUV?j=Math.floor(c*Y/s.frequency):j=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*Y)));const ne=Math.floor(j/s.countPerImage),Q=Math.floor(j%s.countPerImage/s.countPerRow),ee=j%s.countPerRow;let T=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&(T=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&T++);let te=s.countPerRow;!s.isUV&&ne===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(te=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const ce=_*te,A=g*T,oe=-ee*_,se=-Q*g;return{imgSrc:s.links[ne],imgWidth:ce,imgHeight:A,imgOffsetX:oe,imgOffsetY:se}}return i.$$set=Y=>{"time"in Y&&t(0,o=Y.time),"isMobile"in Y&&t(1,l=Y.isMobile),"videoEpisodes"in Y&&t(13,r=Y.videoEpisodes),"previewThumbsData"in Y&&t(14,s=Y.previewThumbsData),"progress"in Y&&t(15,a=Y.progress),"duration"in Y&&t(16,c=Y.duration),"isInteractive"in Y&&t(2,f=Y.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:b,imgWidth:L,imgHeight:E,imgOffsetX:w,imgOffsetY:C}=U(a),b,(t(6,L),t(15,a)),(t(7,E),t(15,a)),(t(8,w),t(15,a)),(t(9,C),t(15,a))),i.$$.dirty&106496&&t(10,B=_c(a,c,r))},t(3,{width:_,height:g}=R(),_,t(4,g)),[o,l,f,_,g,b,L,E,w,C,B,n,p,r,s,a,c]}class Dp extends ye{constructor(e){super(),ke(this,e,zp,Op,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Rp)}}function Fp(i){qe(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function Hp(i){let e,t;return{c(){e=k("span"),t=ze(i[7]),u(e,"class","time v-5lzly8")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o[0]&128&&it(t,n[7])},i:K,o:K,d(n){n&&y(e)}}}function Up(i){let e,t;return e=new Dp({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&128&&(l.time=n[7]),o[0]&1024&&(l.isMobile=n[10]),o[0]&8&&(l.videoEpisodes=n[3]),o[0]&256&&(l.progress=n[8]),o[0]&2&&(l.duration=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qp(i){let e,t,n,o;const l=[Up,Hp],r=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function Wp(i){let e,t,n,o;const l=[i[9]];let r={$$slots:{default:[qp]},$$scope:{ctx:i}};for(let s=0;s<l.length;s+=1)r=W1(r,l[s]);return e=new Mp({props:r}),n=new or({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:Z("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:Z("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(pt.TIMELINE),hideHandel:i[2]}}),{c(){F(e.$$.fragment),t=N(),F(n.$$.fragment)},m(s,a){z(e,s,a),S(s,t,a),z(n,s,a),o=!0},p(s,a){const c=a[0]&512?C0(l,[P0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=Z("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(pt.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(m(e.$$.fragment,s),m(n.$$.fragment,s),o=!0)},o(s){v(e.$$.fragment,s),v(n.$$.fragment,s),o=!1},d(s){s&&y(t),D(e,s),D(n,s)}}}function jp(i,e,t){let n,o,l,r,s,a,c,f,h,p,_,{showTimeline:g=!1}=e;const b=Tt(),L=Ji(),E=b.state.bufferedProgress$;W(i,E,pe=>t(12,p=pe));const w=b.state.positionWithScrubbing$;W(i,w,pe=>t(39,a=pe));const C=b.state.duration$;W(i,C,pe=>t(1,l=pe));const B=b.state.isLive$;W(i,B,pe=>t(0,o=pe));const R=b.state.isActiveLive$;W(i,R,pe=>t(11,h=pe));const U=b.ui.isMobile;W(i,U,pe=>t(10,f=pe));const Y=L.features.episodes?b.actions.internal.getVideoEpisodes():void 0,j=b.actions.internal.getPreviewThumbsData(),ne=b.state.interactiveEpisodes$;W(i,ne,pe=>t(40,c=pe));const Q=b.state.isInteractive,ee=b.state.isInteractiveTime$;W(i,ee,pe=>t(2,r=pe));const T=b.state.isInteractiveExpectation$;W(i,T,pe=>t(38,s=pe));const te=b.actions.internal.correctSeekTimeToInteractive,ce=b.ui.controls.disabledControls$;W(i,ce,pe=>t(13,_=pe));let A,oe,se,we,be=!1,Te="",Se=0,H=0,G=0,O;function ve(pe){return!te||!Q?pe:te(pe*l)/l}function X(pe){b.actions.internal.startScrubbing(ve(pe))}function M(pe){r||b.actions.internal.progressScrubbing(ve(pe))}function J(pe){b.actions.internal.completeScrubbing(ve(pe)),t(34,be=!1)}function Ie(pe,re,De){x(pe,re,De),t(34,be=!0)}function Pe(pe,re,De){x(pe,re,De),t(34,be=!0)}function Ae(){t(34,be=!1)}function x(pe,re,De){t(8,G=pe),t(35,Se=re),De&&t(36,H=De),t(7,Te=ae(pe))}function ae(pe){const re=An((o?1-pe:pe)*l);return o?`-${re}`:re}return i.$$set=pe=>{"showTimeline"in pe&&t(33,g=pe.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,A=Q?c:Y),i.$$.dirty[0]&2&&t(4,oe=An(l)),i.$$.dirty[1]&256&&t(5,se=An(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,we=a/l),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,O=s||r),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:H,translateXPx:Se,translateYPx:Q&&j?-36:-16,active:be&&g&&!O,pointer:!L.features.timelinePreview||!j||o})},[o,l,r,A,oe,se,we,Te,G,n,f,h,p,_,L,E,w,C,B,R,U,j,ne,Q,ee,T,ce,X,M,J,Ie,Pe,Ae,g,be,Se,H,O,s,a,c]}let Zp=class extends ye{constructor(e){super(),ke(this,e,jp,Wp,_e,{showTimeline:33},Fp,[-1,-1])}};function Gp(i){let e,t;return e=new or({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:Z("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.ariaValueMax=n[0]),o&8&&(l.ariaValueNow=Math.round(n[3]*100)),o&6&&(l.ariaValueText=Z("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(l.filledProgress=n[3]),o&16&&(l.squareBorders=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Kp(i,e,t){let n,{position:o=0}=e,{duration:l=0}=e;const s=Tt().ui.isMobile;W(i,s,h=>t(4,n=h));let a,c,f;return i.$$set=h=>{"position"in h&&t(6,o=h.position),"duration"in h&&t(0,l=h.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=An(l)),i.$$.dirty&64&&t(2,c=An(o)),i.$$.dirty&65&&t(3,f=o/l)},[l,a,c,f,n,s,o]}class bc extends ye{constructor(e){super(),ke(this,e,Kp,Gp,_e,{position:6,duration:0})}}function Yp(i){qe(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function Xp(i){let e;return{c(){e=k("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){S(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:K,o:K,d(t){t&&y(e)}}}function Qp(i){let e,t,n,o;const l=[xp,Jp],r=[];function s(a,c){return a[0]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){S(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(m(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function Jp(i){let e,t;return e=new Zp({props:{showTimeline:i[1]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.showTimeline=n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function xp(i){let e,t;return e=new bc({props:{position:i[3],duration:i[4]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&8&&(l.position=n[3]),o&16&&(l.duration=n[4]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $p(i){let e,t,n,o;const l=[Qp,Xp],r=[];function s(a,c){return a[1]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function ev(i,e,t){let n,o,l,r,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const h=Tt(),p=h.state.isLive$;W(i,p,E=>t(12,n=E));const _=h.ads.duration;W(i,_,E=>t(4,r=E));const g=h.ads.position;W(i,g,E=>t(3,l=E));const b=h.ui.isMobile;W(i,b,E=>t(2,o=E));let L;return i.$$set=E=>{"isAds"in E&&t(0,s=E.isAds),"canRewindLive"in E&&t(9,a=E.canRewindLive),"isRewindableLive"in E&&t(10,c=E.isRewindableLive),"isHidden"in E&&t(11,f=E.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,L=!f&&(!n||n&&a&&c||s))},[s,L,o,l,r,p,_,g,b,a,c,f,n]}class wc extends ye{constructor(e){super(),ke(this,e,ev,$p,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},Yp)}}function tv(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Ft(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(l,r){S(l,e,r),d(e,t),d(e,n),d(e,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class iv extends ye{constructor(e){super(),ke(this,e,null,tv,_e,{})}}function nv(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class ov extends ye{constructor(e){super(),ke(this,e,null,nv,_e,{})}}function lv(i){qe(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function rv(i){let e,t,n,o;e=new iv({});function l(a,c){if(a[2]===jn.FULL)return uv;if(a[2]===jn.COUNT)return av}let r=l(i),s=r&&r(i);return{c(){F(e.$$.fragment),t=N(),s&&s.c(),n=_t()},m(a,c){z(e,a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){r===(r=l(a))&&s?s.p(a,c):(s&&s.d(1),s=r&&r(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(m(e.$$.fragment,a),o=!0)},o(a){v(e.$$.fragment,a),o=!1},d(a){a&&(y(t),y(n)),D(e,a),s&&s.d(a)}}}function sv(i){let e,t,n,o,l,r;return l=new ov({}),{c(){e=k("span"),t=ze(i[1]),n=N(),o=k("div"),F(l.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){S(s,e,a),d(e,t),S(s,n,a),S(s,o,a),z(l,o,null),r=!0},p(s,a){(!r||a&2)&&it(t,s[1])},i(s){r||(m(l.$$.fragment,s),r=!0)},o(s){v(l.$$.fragment,s),r=!1},d(s){s&&(y(e),y(n),y(o)),D(l)}}}function av(i){let e,t=i[0].length+"",n;return{c(){e=k("span"),n=ze(t),u(e,"class","text count v-1yhs2ga")},m(o,l){S(o,e,l),d(e,n)},p(o,l){l&1&&t!==(t=o[0].length+"")&&it(n,t)},d(o){o&&y(e)}}}function uv(i){let e,t;return{c(){e=k("span"),t=ze(i[1]),u(e,"class","text v-1yhs2ga")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&2&&it(t,n[1])},d(n){n&&y(e)}}}function cv(i){let e,t,n,o;const l=[sv,rv],r=[];function s(a,c){return a[4]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function fv(i){let e,t;return e=new Si({props:{className:"w-max btn-full-opacity "+(i[4]?"px-0":""),testId:"btn-episodes",click:i[5],disabled:!i[6],ariaLabel:i[3],$$slots:{default:[cv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className="w-max btn-full-opacity "+(n[4]?"px-0":"")),o&8&&(l.ariaLabel=n[3]),o&65559&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function dv(i,e,t){var C,B,R,U,Y;let n,o,l,r,{position:s=0}=e,{duration:a=0}=e,{timeCodes:c=[]}=e;const f=Tt(),h=(B=(C=f.callbacks)==null?void 0:C.onEpisodeChanged)!=null?B:nt,p=(U=(R=f.callbacks)==null?void 0:R.onEpisodeClicked)!=null?U:nt,_=!!((Y=f.callbacks)!=null&&Y.onEpisodeClicked),g=f.ui.currentGridType$;W(i,g,j=>t(13,l=j));const b=f.ui.isMobile;W(i,b,j=>t(4,r=j));let L,E,w;return i.$$set=j=>{"position"in j&&t(9,s=j.position),"duration"in j&&t(10,a=j.duration),"timeCodes"in j&&t(0,c=j.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&1536&&t(12,n=s/a),i.$$.dirty&7169){const j=_c(n,a,c);j&&(L==null?void 0:L.text)!==j.text&&(h(j),t(11,L=j))}i.$$.dirty&2048&&t(1,o=(L==null?void 0:L.text)||""),i.$$.dirty&8192&&(sn(l,Vt.XL)?t(2,E=jn.FULL):sn(l,Vt.M)&&M3(l,Vt.XL)?t(2,E=jn.COUNT):t(2,E=jn.SHORT)),i.$$.dirty&2&&t(3,w=`${Z("tooltip_episodes")}: ${o}`)},[c,o,E,w,r,p,_,g,b,s,a,L,n,l]}class kc extends ye{constructor(e){super(),ke(this,e,dv,fv,_e,{position:9,duration:10,timeCodes:0},lv)}}function mv(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p:K,i:K,o:K,d(o){o&&y(e)}}}class hv extends ye{constructor(e){super(),ke(this,e,null,mv,_e,{})}}function pv(i){let e,t;return e=new hv({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function vv(i){let e,t;return e=new Si({props:{className:i[0]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:Z("tooltip_interactive_seek"),disabled:i[1],click:i[2],$$slots:{default:[pv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class yc extends ye{constructor(e){super(),ke(this,e,gv,vv,_e,{hidden:0,disabled:1,click:2})}}function _v(i){let e,t,n;return{c(){e=I("svg"),t=I("path"),n=I("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),V(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p(o,[l]){l&1&&V(n,"hidden",!o[0])},i:K,o:K,d(o){o&&y(e)}}}function bv(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class wv extends ye{constructor(e){super(),ke(this,e,bv,_v,_e,{isOpened:0})}}function kv(i){let e,t;return e=new wv({props:{isOpened:i[2]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&4&&(l.isOpened=n[2]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function yv(i){let e,t;return e=new Si({props:{className:i[0]?"hidden":"",testId:"btn-graph",disabled:i[1],ariaLabel:i[4],click:i[3],$$slots:{default:[kv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&16&&(l.ariaLabel=n[4]),o&8&&(l.click=n[3]),o&36&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Sv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{graphIsOpened:l=!1}=e,{click:r}=e,s;return i.$$set=a=>{"hidden"in a&&t(0,n=a.hidden),"disabled"in a&&t(1,o=a.disabled),"graphIsOpened"in a&&t(2,l=a.graphIsOpened),"click"in a&&t(3,r=a.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=Z(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,l,r,s]}class Sc extends ye{constructor(e){super(),ke(this,e,Sv,yv,_e,{hidden:0,disabled:1,graphIsOpened:2,click:3})}}function Cv(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Pv extends ye{constructor(e){super(),ke(this,e,null,Cv,_e,{})}}function Tv(i){qe(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Qs(i){let e;return{c(){e=k("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){S(t,e,n)},d(t){t&&y(e)}}}function Ev(i){let e,t,n,o,l=i[0]&&Qs();return n=new Pv({}),{c(){l&&l.c(),e=N(),t=k("div"),F(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[0])},m(r,s){l&&l.m(r,s),S(r,e,s),S(r,t,s),z(n,t,null),o=!0},p(r,s){r[0]?l||(l=Qs(),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),(!o||s&1)&&V(t,"mobile",r[0])},i(r){o||(m(n.$$.fragment,r),o=!0)},o(r){v(n.$$.fragment,r),o=!1},d(r){r&&(y(e),y(t)),l&&l.d(r),D(n)}}}function Av(i){let e,t;return e=new Si({props:{className:(i[0]?"btn-m--play":"")+" "+i[2],testId:"btn-replay",ariaLabel:Z("tooltip_restart"),disabled:i[1],click:i[3],$$slots:{default:[Ev]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&5&&(l.className=(n[0]?"btn-m--play":"")+" "+n[2]),o&2&&(l.disabled=n[1]),o&8&&(l.click=n[3]),o&17&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Lv(i,e,t){let{isMobile:n=!1}=e,{disabled:o=!1}=e,{className:l=""}=e,{click:r=nt}=e;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"disabled"in s&&t(1,o=s.disabled),"className"in s&&t(2,l=s.className),"click"in s&&t(3,r=s.click)},[n,o,l,r]}class sr extends ye{constructor(e){super(),ke(this,e,Lv,Av,_e,{isMobile:0,disabled:1,className:2,click:3},Tv)}}function Vv(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Iv extends ye{constructor(e){super(),ke(this,e,null,Vv,_e,{})}}function Mv(i){let e,t;return e=new Iv({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Rv(i){let e,t;return e=new Si({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:Z("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[Mv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.className=n[0]?"hidden":""),o&2&&(l.disabled=n[1]),o&4&&(l.click=n[2]),o&8&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Nv(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:l}=e;return i.$$set=r=>{"hidden"in r&&t(0,n=r.hidden),"disabled"in r&&t(1,o=r.disabled),"click"in r&&t(2,l=r.click)},[n,o,l]}class Cc extends ye{constructor(e){super(),ke(this,e,Nv,Rv,_e,{hidden:0,disabled:1,click:2})}}function Bv(i){qe(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function Ov(i){let e,t,n,o;return{c(){e=k("img"),u(e,"class","icon v-1x1zctw"),pr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(l,r){S(l,e,r),n||(o=Ee(e,"error",i[7]),n=!0)},p(l,r){r&1&&!pr(e.src,t=l[0])&&u(e,"src",t)},d(l){l&&y(e),n=!1,o()}}}function zv(i){let e;return{c(){e=k("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){S(t,e,n)},p:K,d(t){t&&y(e)}}}function Dv(i){let e;function t(l,r){return l[5]?zv:Ov}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,r){n===(n=t(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},d(l){l&&y(e),o.d(l)}}}function Fv(i){let e,t;return e=new Si({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[Dv]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&16&&(l.className=n[4]?"btn-full-opacity":""),o&2&&(l.ariaLabel=n[1]),o&8&&(l.click=n[3]),o&64&&(l.disabled=n[6]),o&4&&(l.testId=n[2]),o&545&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Hv(i,e,t){let n,o,l,{iconUrl:r}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=nt}=e;const h=()=>{t(5,l=!0)};return i.$$set=p=>{"iconUrl"in p&&t(0,r=p.iconUrl),"ariaLabel"in p&&t(1,s=p.ariaLabel),"disabled"in p&&t(8,a=p.disabled),"testId"in p&&t(2,c=p.testId),"onClick"in p&&t(3,f=p.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===nt),i.$$.dirty&272&&t(6,o=n||a)},t(5,l=!1),[r,s,c,f,n,l,o,h,a]}class Pc extends ye{constructor(e){super(),ke(this,e,Hv,Fv,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},Bv)}}function Uv(i){qe(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function Js(i,e,t){const n=i.slice();return n[163]=e[t].iconUrl,n[164]=e[t].ariaLabel,n[165]=e[t].testId,n[166]=e[t].onClick,n[167]=e[t].tooltip,n}function xs(i){let e,t,n;function o(r){i[134](r)}let l={disabled:!i[9],tooltipContent:Z("tooltip_previous"),$$slots:{default:[qv]},$$scope:{ctx:i}};return i[30]!==void 0&&(l.width=i[30]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&512&&(a.disabled=!r[9]),s[0]&4608|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[0]&1073741824&&(t=!0,a.width=r[30],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function qv(i){let e,t;return e=new al({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $s(i){let e,t,n;function o(r){i[135](r)}let l={disabled:i[66],tooltipContent:Z("tooltip_restart"),$$slots:{default:[Wv]},$$scope:{ctx:i}};return i[31]!==void 0&&(l.width=i[31]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&16&&(a.disabled=r[66]),s[2]&16|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&1&&(t=!0,a.width=r[31],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Wv(i){let e,t;return e=new sr({props:{click:i[112],disabled:i[66]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&16&&(l.disabled=n[66]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ea(i){let e,t,n;function o(r){i[136](r)}let l={tooltipContent:i[57],disabled:i[67],$$slots:{default:[jv]},$$scope:{ctx:i}};return i[32]!==void 0&&(l.width=i[32]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&67108864&&(a.tooltipContent=r[57]),s[2]&32&&(a.disabled=r[67]),s[1]&2097152|s[2]&32|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2&&(t=!0,a.width=r[32],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function jv(i){let e,t;return e=new rr({props:{isMobile:!1,isPlaying:i[52],click:i[77],disabled:i[67]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&2097152&&(l.isPlaying=n[52]),o[2]&32&&(l.disabled=n[67]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ta(i){let e,t,n;function o(r){i[137](r)}let l={disabled:!i[8],tooltipContent:Z("tooltip_next"),$$slots:{default:[Zv]},$$scope:{ctx:i}};return i[33]!==void 0&&(l.width=i[33]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&256&&(a.disabled=!r[8]),s[0]&2304|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4&&(t=!0,a.width=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Zv(i){let e,t;return e=new al({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2048&&(l.click=n[11]),o[0]&256&&(l.disabled=!n[8]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Gv(i){let e,t,n,o,l=i[107]&&Kv(i),r=i[106]&&Xv(i),s=i[105]&&Jv(i);return{c(){l&&l.c(),e=N(),r&&r.c(),t=N(),s&&s.c(),n=_t()},m(a,c){l&&l.m(a,c),S(a,e,c),r&&r.m(a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){a[107]&&l.p(a,c),a[106]&&r.p(a,c),a[105]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){v(l),v(r),v(s),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function Kv(i){let e,t,n;function o(r){i[138](r)}let l={disabled:i[65],tooltipContent:Z("tooltip_interactive_go_back"),disabledTooltipContent:i[109]&&Z(i[109]),$$slots:{default:[Yv]},$$scope:{ctx:i}};return i[34]!==void 0&&(l.width=i[34]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&8&&(a.disabled=r[65]),s[0]&131072|s[2]&8|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8&&(t=!0,a.width=r[34],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Yv(i){let e,t;return e=new Cc({props:{disabled:i[65],click:i[17]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&8&&(l.disabled=n[65]),o[0]&131072&&(l.click=n[17]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Xv(i){let e,t,n;function o(r){i[139](r)}let l={disabled:i[68],tooltipContent:Z("tooltip_interactive_seek"),$$slots:{default:[Qv]},$$scope:{ctx:i}};return i[35]!==void 0&&(l.width=i[35]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&64&&(a.disabled=r[68]),s[0]&32768|s[2]&64|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16&&(t=!0,a.width=r[35],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Qv(i){let e,t;return e=new yc({props:{disabled:i[68],click:i[15]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&64&&(l.disabled=n[68]),o[0]&32768&&(l.click=n[15]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Jv(i){let e,t,n;function o(r){i[140](r)}let l={tooltipContent:i[58],disabled:i[69],$$slots:{default:[xv]},$$scope:{ctx:i}};return i[36]!==void 0&&(l.width=i[36]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&134217728&&(a.tooltipContent=r[58]),s[2]&128&&(a.disabled=r[69]),s[0]&65536|s[1]&524288|s[2]&128|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32&&(t=!0,a.width=r[36],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function xv(i){let e,t;return e=new Sc({props:{click:i[16],graphIsOpened:i[50],disabled:i[69]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&65536&&(l.click=n[16]),o[1]&524288&&(l.graphIsOpened=n[50]),o[2]&128&&(l.disabled=n[69]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ia(i){let e,t,n;function o(r){i[141](r)}let l={tooltipContent:i[59],$$slots:{default:[$v]},$$scope:{ctx:i}};return i[37]!==void 0&&(l.width=i[37]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&268435456&&(a.tooltipContent=r[59]),s[0]&268435456|s[1]&268435456|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&64&&(t=!0,a.width=r[37],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function $v(i){let e,t;return e=new gc({props:{isActiveLive:i[28],isMobile:!1,ariaLabel:i[59]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&268435456&&(l.isActiveLive=n[28]),o[1]&268435456&&(l.ariaLabel=n[59]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function na(i){let e,t,n;function o(r){i[142](r)}let l={isMobile:!1,showDuration:i[64],position:i[4]?i[71]:i[72],duration:i[4]?i[73]:i[74]};return i[38]!==void 0&&(l.width=i[38]),e=new cc({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&4&&(a.showDuration=r[64]),s[0]&16|s[2]&1536&&(a.position=r[4]?r[71]:r[72]),s[0]&16|s[2]&6144&&(a.duration=r[4]?r[73]:r[74]),!t&&s[1]&128&&(t=!0,a.width=r[38],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function oa(i){let e,t;return e=new kc({props:{position:i[72],duration:i[74],timeCodes:i[92]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&1024&&(l.position=n[72]),o[2]&4096&&(l.duration=n[74]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function e5(i){let e,t,n=i[27]&&oa(i);return{c(){n&&n.c(),e=_t()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[27]?n?(n.p(o,l),l[0]&134217728&&m(n,1)):(n=oa(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function t5(i){var n;let e,t;return e=new Pc({props:{iconUrl:i[163],ariaLabel:(n=i[164])!=null?n:i[167],testId:i[165],onClick:i[166]}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&32768&&(r.iconUrl=o[163]),l[1]&32768&&(r.ariaLabel=(s=o[164])!=null?s:o[167]),l[1]&32768&&(r.testId=o[165]),l[1]&32768&&(r.onClick=o[166]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function la(i){let e,t;return e=new Yt({props:{tooltipContent:i[167],width:40,$$slots:{default:[t5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&32768&&(l.tooltipContent=n[167]),o[1]&32768|o[5]&32768&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ra(i){let e,t,n;function o(r){i[145](r)}let l={disabled:!i[6],tooltipContent:i[60],$$slots:{default:[i5]},$$scope:{ctx:i}};return i[40]!==void 0&&(l.width=i[40]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&64&&(a.disabled=!r[6]),s[1]&536870912&&(a.tooltipContent=r[60]),s[0]&192|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&512&&(t=!0,a.width=r[40],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function i5(i){let e,t;return e=new pc({props:{click:i[78],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function n5(i){let e,t;return e=new F3({props:{isAudioAvailable:i[70],click:i[111]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[2]&256&&(l.isAudioAvailable=n[70]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function sa(i){let e,t,n;function o(r){i[147](r)}let l={tooltipContent:i[61],$$slots:{default:[o5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&1073741824&&(a.tooltipContent=r[61]),s[0]&262144|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function o5(i){let e,t;return e=new Xh({props:{isSubtitlesEnabled:i[18],click:i[79]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.isSubtitlesEnabled=n[18]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function aa(i){var o;let e,t,n;return t=new uc({props:{supportLink:i[10],playerControlsHeight:(o=i[56])==null?void 0:o.clientHeight,returnFocus:i[14]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(l,r){S(l,e,r),z(t,e,null),n=!0},p(l,r){var a;const s={};r[0]&1024&&(s.supportLink=l[10]),r[1]&33554432&&(s.playerControlsHeight=(a=l[56])==null?void 0:a.clientHeight),r[0]&16384&&(s.returnFocus=l[14]),t.$set(s)},i(l){n||(m(t.$$.fragment,l),n=!0)},o(l){v(t.$$.fragment,l),n=!1},d(l){l&&y(e),D(t)}}}function ua(i){let e,t,n;function o(r){i[148](r)}let l={tooltipContent:i[76]?void 0:Z("tooltip_settings_off"),$$slots:{default:[l5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&16384&&(a.tooltipContent=r[76]?void 0:Z("tooltip_settings_off")),s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function l5(i){let e,t;return e=new nr({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ca(i){let e,t,n;function o(r){i[149](r)}let l={tooltipContent:i[62],$$slots:{default:[r5]},$$scope:{ctx:i}};return i[44]!==void 0&&(l.width=i[44]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&1&&(a.tooltipContent=r[62]),s[0]&8192|s[1]&262144|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&8192&&(t=!0,a.width=r[44],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function r5(i){let e,t;return e=new mc({props:{click:i[13],isFullscreen:i[49]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[1]&262144&&(l.isFullscreen=n[49]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function fa(i){let e,t,n;function o(r){i[150](r)}let l={tooltipContent:i[63],$$slots:{default:[s5]},$$scope:{ctx:i}};return i[45]!==void 0&&(l.width=i[45]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[2]&2&&(a.tooltipContent=r[63]),s[1]&131072|s[5]&32768&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&16384&&(t=!0,a.width=r[45],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function s5(i){let e,t;return e=new vc({props:{isMobile:!1,state:i[48],click:i[110]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&131072&&(l.state=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function a5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee;t=new wc({props:{isHidden:!i[55],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[51]}});let T=i[54]&&xs(i),te=i[19]&&$s(i),ce=i[20]&&ea(i),A=i[53]&&ta(i),oe=i[104]&&Gv(i),se=!i[4]&&i[47]&&ia(i),we=i[26]&&na(i);function be(x){i[143](x)}let Te={className:"w-max",disabled:!i[27],tooltipContent:Z("tooltip_episodes"),$$slots:{default:[e5]},$$scope:{ctx:i}};i[39]!==void 0&&(Te.width=i[39]),_=new Yt({props:Te}),We.push(()=>Pt(_,"width",be));let Se=Kt(i[46]),H=[];for(let x=0;x<Se.length;x+=1)H[x]=la(Js(i,Se,x));const G=x=>v(H[x],1,1,()=>{H[x]=null});let O=i[24]&&ra(i);function ve(x){i[146](x)}let X={$$slots:{default:[n5]},$$scope:{ctx:i}};i[41]!==void 0&&(X.width=i[41]),B=new Yt({props:X}),We.push(()=>Pt(B,"width",ve));let M=i[22]&&sa(i),J=!i[75]&&!i[4]&&aa(i),Ie=i[23]&&ua(i),Pe=i[25]&&ca(i),Ae=i[21]&&fa(i);return{c(){e=k("div"),F(t.$$.fragment),n=N(),o=k("div"),l=k("div"),T&&T.c(),r=N(),te&&te.c(),s=N(),ce&&ce.c(),a=N(),A&&A.c(),c=N(),oe&&oe.c(),f=N(),se&&se.c(),h=N(),we&&we.c(),p=N(),F(_.$$.fragment),L=N(),E=k("div");for(let x=0;x<H.length;x+=1)H[x].c();w=N(),O&&O.c(),C=N(),F(B.$$.fragment),U=N(),M&&M.c(),Y=N(),J&&J.c(),j=N(),Ie&&Ie.c(),ne=N(),Pe&&Pe.c(),Q=N(),Ae&&Ae.c(),u(l,"class","controls-left v-st0uzk"),Zn(()=>i[144].call(l)),u(E,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(x,ae){S(x,e,ae),z(t,e,null),d(e,n),d(e,o),d(o,l),T&&T.m(l,null),d(l,r),te&&te.m(l,null),d(l,s),ce&&ce.m(l,null),d(l,a),A&&A.m(l,null),d(l,c),oe&&oe.m(l,null),d(l,f),se&&se.m(l,null),d(l,h),we&&we.m(l,null),d(l,p),z(_,l,null),b=tl(l,i[144].bind(l)),d(o,L),d(o,E);for(let pe=0;pe<H.length;pe+=1)H[pe]&&H[pe].m(E,null);d(E,w),O&&O.m(E,null),d(E,C),z(B,E,null),d(E,U),M&&M.m(E,null),d(E,Y),J&&J.m(E,null),d(E,j),Ie&&Ie.m(E,null),d(E,ne),Pe&&Pe.m(E,null),d(E,Q),Ae&&Ae.m(E,null),i[151](o),i[152](e),ee=!0},p(x,ae){const pe={};ae[1]&16777216&&(pe.isHidden=!x[55]),ae[0]&16&&(pe.isAds=x[4]),ae[0]&32&&(pe.canRewindLive=x[5]),ae[1]&1048576&&(pe.isRewindableLive=x[51]),t.$set(pe),x[54]?T?(T.p(x,ae),ae[1]&8388608&&m(T,1)):(T=xs(x),T.c(),m(T,1),T.m(l,r)):T&&(me(),v(T,1,1,()=>{T=null}),he()),x[19]?te?(te.p(x,ae),ae[0]&524288&&m(te,1)):(te=$s(x),te.c(),m(te,1),te.m(l,s)):te&&(me(),v(te,1,1,()=>{te=null}),he()),x[20]?ce?(ce.p(x,ae),ae[0]&1048576&&m(ce,1)):(ce=ea(x),ce.c(),m(ce,1),ce.m(l,a)):ce&&(me(),v(ce,1,1,()=>{ce=null}),he()),x[53]?A?(A.p(x,ae),ae[1]&4194304&&m(A,1)):(A=ta(x),A.c(),m(A,1),A.m(l,c)):A&&(me(),v(A,1,1,()=>{A=null}),he()),x[104]&&oe.p(x,ae),!x[4]&&x[47]?se?(se.p(x,ae),ae[0]&16|ae[1]&65536&&m(se,1)):(se=ia(x),se.c(),m(se,1),se.m(l,h)):se&&(me(),v(se,1,1,()=>{se=null}),he()),x[26]?we?(we.p(x,ae),ae[0]&67108864&&m(we,1)):(we=na(x),we.c(),m(we,1),we.m(l,p)):we&&(me(),v(we,1,1,()=>{we=null}),he());const re={};if(ae[0]&134217728&&(re.disabled=!x[27]),ae[0]&134217728|ae[2]&5120|ae[5]&32768&&(re.$$scope={dirty:ae,ctx:x}),!g&&ae[1]&256&&(g=!0,re.width=x[39],Ct(()=>g=!1)),_.$set(re),ae[1]&32768){Se=Kt(x[46]);let Fe;for(Fe=0;Fe<Se.length;Fe+=1){const rt=Js(x,Se,Fe);H[Fe]?(H[Fe].p(rt,ae),m(H[Fe],1)):(H[Fe]=la(rt),H[Fe].c(),m(H[Fe],1),H[Fe].m(E,w))}for(me(),Fe=Se.length;Fe<H.length;Fe+=1)G(Fe);he()}x[24]?O?(O.p(x,ae),ae[0]&16777216&&m(O,1)):(O=ra(x),O.c(),m(O,1),O.m(E,C)):O&&(me(),v(O,1,1,()=>{O=null}),he());const De={};ae[2]&256|ae[5]&32768&&(De.$$scope={dirty:ae,ctx:x}),!R&&ae[1]&1024&&(R=!0,De.width=x[41],Ct(()=>R=!1)),B.$set(De),x[22]?M?(M.p(x,ae),ae[0]&4194304&&m(M,1)):(M=sa(x),M.c(),m(M,1),M.m(E,Y)):M&&(me(),v(M,1,1,()=>{M=null}),he()),!x[75]&&!x[4]?J?(J.p(x,ae),ae[0]&16|ae[2]&8192&&m(J,1)):(J=aa(x),J.c(),m(J,1),J.m(E,j)):J&&(me(),v(J,1,1,()=>{J=null}),he()),x[23]?Ie?(Ie.p(x,ae),ae[0]&8388608&&m(Ie,1)):(Ie=ua(x),Ie.c(),m(Ie,1),Ie.m(E,ne)):Ie&&(me(),v(Ie,1,1,()=>{Ie=null}),he()),x[25]?Pe?(Pe.p(x,ae),ae[0]&33554432&&m(Pe,1)):(Pe=ca(x),Pe.c(),m(Pe,1),Pe.m(E,Q)):Pe&&(me(),v(Pe,1,1,()=>{Pe=null}),he()),x[21]?Ae?(Ae.p(x,ae),ae[0]&2097152&&m(Ae,1)):(Ae=fa(x),Ae.c(),m(Ae,1),Ae.m(E,null)):Ae&&(me(),v(Ae,1,1,()=>{Ae=null}),he()),(!ee||ae[0]&2)&&V(e,"hidden",x[1]),(!ee||ae[0]&8)&&V(e,"controls-hidden",!x[3]),(!ee||ae[0]&4)&&V(e,"no-smooth",x[2])},i(x){if(!ee){m(t.$$.fragment,x),m(T),m(te),m(ce),m(A),m(oe),m(se),m(we),m(_.$$.fragment,x);for(let ae=0;ae<Se.length;ae+=1)m(H[ae]);m(O),m(B.$$.fragment,x),m(M),m(J),m(Ie),m(Pe),m(Ae),ee=!0}},o(x){v(t.$$.fragment,x),v(T),v(te),v(ce),v(A),v(oe),v(se),v(we),v(_.$$.fragment,x),H=H.filter(Boolean);for(let ae=0;ae<H.length;ae+=1)v(H[ae]);v(O),v(B.$$.fragment,x),v(M),v(J),v(Ie),v(Pe),v(Ae),ee=!1},d(x){x&&y(e),D(t),T&&T.d(),te&&te.d(),ce&&ce.d(),A&&A.d(),oe&&oe.d(),se&&se.d(),we&&we.d(),D(_),b(),cn(H,x),O&&O.d(),D(B),M&&M.d(),J&&J.d(),Ie&&Ie.d(),Pe&&Pe.d(),Ae&&Ae.d(),i[151](null),i[152](null)}}}function u5(i,e,t){var Kn,Yn;let n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,{bottomHidden:se}=e,{bottomNoSmooth:we}=e,{showControls:be}=e,{controlsElementRef:Te=void 0}=e,{isAds:Se=!1}=e,{canRewindLive:H}=e,{logoClickable:G}=e,{logoHidden:O}=e,{videoLogoUrl:ve}=e,{showNextPrevButtons:X}=e,{nextButtonActive:M}=e,{prevButtonActive:J}=e,{isOneVideoPlaylist:Ie=!1}=e,{supportLink:Pe}=e,{customFullscreenSupported:Ae=!0}=e,{playNextVideo:x}=e,{playPrevVideo:ae}=e,{repeatPlaylist:pe}=e,{toggleFullscreen:re}=e,{returnFocus:De}=e,{seekToInteractive:Fe}=e,{toggleGraph:rt}=e,{playPrevChapter:ot}=e;const Oe=Tt(),dt=Ji(),wt=Oe.actions.internal.toggleMuted,Re=Oe.actions.internal.togglePlay,Me=Oe.actions.internal.pause,Zt=Oe.actions.internal.toggleSubtitle,Et=(Kn=Oe.callbacks)==null?void 0:Kn.onAudioDoesNotExistHint,at=(Yn=Oe.callbacks)==null?void 0:Yn.onAudioDisabledHint,$e=Oe.state.duration$;W(i,$e,le=>t(74,ce=le));const ue=Oe.state.positionWithScrubbing$;W(i,ue,le=>t(72,T=le));const Xe=Oe.state.playbackState$;W(i,Xe,le=>t(124,b=le));const xe=Oe.state.chromecastConnected$;W(i,xe,le=>t(75,A=le));const Qe=Oe.state.isAudioAvailable$;W(i,Qe,le=>t(70,c=le));const je=Oe.state.isAudioDisabled,ft=Oe.state.isEnded$;W(i,ft,le=>t(130,Y=le));const Je=Oe.state.isLive$;W(i,Je,le=>t(47,p=le));const lt=Oe.state.isActiveLive$;W(i,lt,le=>t(125,E=le));const Ge=Oe.state.isRewindableLive$;W(i,Ge,le=>t(51,w=le));const et=Oe.ui.isPictureInPictureActive$;W(i,et,le=>t(128,R=le));const xt=Oe.ui.pictureInPictureType$;W(i,xt,le=>t(127,B=le));const mt=Oe.ui.settingsMenuVisible;W(i,mt,le=>t(76,oe=le));const Ke=Oe.ui.controls,At=Oe.actions.internal.getVideoEpisodes(),st=Oe.state.chromecastState$;W(i,st,le=>t(48,_=le));const di=Oe.state.availableSubtitlesList$;W(i,di,le=>t(129,U=le));const de=Oe.state.currentSubtitle$;W(i,de,le=>t(131,j=le));const Ce=Ke.disabledControls$;W(i,Ce,le=>t(133,Q=le));const Ve=Oe.ads.duration;W(i,Ve,le=>t(73,te=le));const It=Oe.ads.position;W(i,It,le=>t(71,ee=le));const mi=Oe.ads.playbackState;W(i,mi,le=>t(132,ne=le));const Mt=Oe.ui.isFullscreen;W(i,Mt,le=>t(49,g=le));const Ei=Oe.ui.playerSize;W(i,Ei,le=>t(126,C=le));const Mi=Oe.ui.currentGridType$;W(i,Mi,le=>t(123,h=le));const Ri=Oe.ui.additionalButtons$;W(i,Ri,le=>t(46,f=le));const Le=Oe.actions.internal.replayInteractive,Rt=Oe.state.isInteractive,hi=Oe.state.isInteractiveGraphEnabled,Ot=Oe.state.isSeekToInteractiveEnable,Lt=Oe.state.isPlayPrevChapterEnabled,Ni=Oe.state.graphIsOpened$;W(i,Ni,le=>t(50,L=le));const Nt=Oe.state.playPrevChapterDisabledTooltip,ri=()=>Oe.actions.internal.toggleChromecast();let xi,St,Wi,pi,Bi,Oi,Ai,si,Li,Ci,vi,ai,gi,ji,Zi,Ht,Ut,zi,$i,_i="";const Di=(le,Sn)=>{if(!le){t(59,_i=Z("tooltip_live"));return}Sn===Gt.PAUSED&&t(59,_i=Z("tooltip_play"))};let Vi,Pi,Fi,Ii,$t,ei,bi,Xt,ti,ui,wi,ii,ci,Gi,Hi,Ti,Xi,ni,ki,Ui,Ki,zt,Qt,fe,Yi;function dn(le,Sn){let ut=yo;const qt=(ln,Cn,q)=>{let bt=Cn?ln+Cn+(ln?N0:0):ln;return q.set({positionStartX:ln,positionEndX:bt,isDisplayed:Sn&&ln!==bt}),bt};ut=qt(ut,le.prevButtonWidth,Ke.prevButton),ut=qt(ut,le.replayButtonWidth,Ke.replayButton),ut=qt(ut,le.playButtonWidth,Ke.playButton),ut=qt(ut,le.nextButtonWidth,Ke.nextButton),ut=qt(ut,le.playPrevChapterWidth,Ke.playPrevChapterButton),ut=qt(ut,le.seekToInteractiveWidth,Ke.seekToInteractiveButton),ut=qt(ut,le.interactiveGraphWidth,Ke.interactiveGraphButton),ut=qt(ut,le.liveButtonWidth,Ke.liveButton),ut=qt(ut,le.timeWidth,Ke.time),ut=qt(ut,le.episodesWidth,Ke.episodes),f.forEach((ln,Cn)=>{ut=qt(ut,le.additionalButtonWidths[Cn],Ke.additionalButtons[Cn])}),ut=qt(ut,le.vkLogoWidth,Ke.vkLogo),ut=qt(ut,le.volumeWidth,Ke.volume),ut=qt(ut,le.subtitlesWidth,Ke.subtitles),ut=qt(ut,le.settingsWidth,Ke.settings),ut=qt(ut,le.fullscreenWidth,Ke.fullscreen),qt(ut,le.chromecastWidth,Ke.chromecast)}function Un(){je?at==null||at():c?wt():Et==null||Et()}const fi=Rt?Le:Ie?Re:pe;function wn(le){ei=le,t(30,ei)}function kn(le){bi=le,t(31,bi)}function mn(le){Xt=le,t(32,Xt)}function yn(le){ti=le,t(33,ti)}function Bn(le){ui=le,t(34,ui)}function nn(le){wi=le,t(35,wi)}function On(le){ii=le,t(36,ii)}function $(le){ci=le,t(37,ci)}function gt(le){Gi=le,t(38,Gi)}function hn(le){Hi=le,t(39,Hi)}function en(){$t=this.clientWidth,t(29,$t)}function pn(le){Ti=le,t(40,Ti)}function on(le){Xi=le,t(41,Xi)}function ho(le){ni=le,t(42,ni)}function po(le){ki=le,t(43,ki)}function vo(le){Ui=le,t(44,Ui)}function go(le){Ki=le,t(45,Ki)}function _o(le){We[le?"unshift":"push"](()=>{Ht=le,t(56,Ht)})}function bo(le){We[le?"unshift":"push"](()=>{Te=le,t(0,Te)})}return i.$$set=le=>{"bottomHidden"in le&&t(1,se=le.bottomHidden),"bottomNoSmooth"in le&&t(2,we=le.bottomNoSmooth),"showControls"in le&&t(3,be=le.showControls),"controlsElementRef"in le&&t(0,Te=le.controlsElementRef),"isAds"in le&&t(4,Se=le.isAds),"canRewindLive"in le&&t(5,H=le.canRewindLive),"logoClickable"in le&&t(6,G=le.logoClickable),"logoHidden"in le&&t(113,O=le.logoHidden),"videoLogoUrl"in le&&t(7,ve=le.videoLogoUrl),"showNextPrevButtons"in le&&t(114,X=le.showNextPrevButtons),"nextButtonActive"in le&&t(8,M=le.nextButtonActive),"prevButtonActive"in le&&t(9,J=le.prevButtonActive),"isOneVideoPlaylist"in le&&t(115,Ie=le.isOneVideoPlaylist),"supportLink"in le&&t(10,Pe=le.supportLink),"customFullscreenSupported"in le&&t(116,Ae=le.customFullscreenSupported),"playNextVideo"in le&&t(11,x=le.playNextVideo),"playPrevVideo"in le&&t(12,ae=le.playPrevVideo),"repeatPlaylist"in le&&t(117,pe=le.repeatPlaylist),"toggleFullscreen"in le&&t(13,re=le.toggleFullscreen),"returnFocus"in le&&t(14,De=le.returnFocus),"seekToInteractive"in le&&t(15,Fe=le.seekToInteractive),"toggleGraph"in le&&t(16,rt=le.toggleGraph),"playPrevChapter"in le&&t(17,ot=le.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[4]&512&&t(122,n=Q.has(pt.EPISODE_BUTTON)),i.$$.dirty[4]&512&&t(69,o=Q.has(pt.GRAPH_BUTTON)),i.$$.dirty[4]&512&&t(68,l=Q.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[4]&512&&t(67,r=Q.has(pt.PLAY_BUTTON)),i.$$.dirty[4]&512&&t(66,s=Q.has(pt.REPLAY_BUTTON)),i.$$.dirty[4]&512&&t(65,a=Q.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[4]&257&&t(52,xi=Se?ne===Jt.PLAYING:b===Gt.PLAYING),i.$$.dirty[4]&128&&t(18,St=j.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(19,Wi=Y&&!Se||Rt),i.$$.dirty[0]&16|i.$$.dirty[4]&64&&t(20,pi=!Y||Rt||Se),i.$$.dirty[3]&1073741824&&t(118,Bi=sn(h,Vt.M)),i.$$.dirty[0]&272|i.$$.dirty[3]&1075838976&&t(53,Oi=X&&sn(h,Vt.M)&&!Se&&M),i.$$.dirty[0]&528|i.$$.dirty[3]&1075838976&&t(54,Ai=X&&sn(h,Vt.M)&&!Se&&J),i.$$.dirty[1]&131072|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&24&&t(21,si=_!==_n.NOT_AVAILABLE&&!(R&&B===En.DocumentPictureInPicture)&&sn(h,Vt.M)&&!Rt),i.$$.dirty[3]&1073741824|i.$$.dirty[4]&32&&t(22,Li=U.length>0&&sn(h,Vt.M)),i.$$.dirty[3]&1073741824&&t(23,Ci=sn(h,Vt.S)),i.$$.dirty[3]&1048576&&t(24,vi=!O),i.$$.dirty[3]&1083179008|i.$$.dirty[4]&24&&t(25,ai=dt.features.fullscreen&&(O||sn(h,Vt.S))&&!(R&&B===En.DocumentPictureInPicture)&&(Rt?Ae:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&65536&&t(26,gi=(!p||Se)&&!(dt.features.interactiveHideTime&&Rt)),i.$$.dirty[4]&4&&t(55,ji=C.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&65536|i.$$.dirty[3]&570425344&&t(27,Zi=!Se&&!p&&!!(At!=null&&At.length)&&Bi&&!n),i.$$.dirty[1]&1048576|i.$$.dirty[4]&2&&t(28,Ut=!w||E),i.$$.dirty[4]&1&&t(57,zi=b===Gt.PLAYING?Z("tooltip_pause"):Z("tooltip_play")),i.$$.dirty[1]&524288&&t(58,$i=Z(L?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[0]&268435456|i.$$.dirty[4]&1&&Di(Ut,b),i.$$.dirty[0]&262144&&t(61,Pi=Z(St?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[1]&262144&&t(62,Fi=Z(g?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[1]&131072&&t(63,Ii=_===_n.CONNECTED?Z("tooltip_chromecast_on"):Z("tooltip_chromecast_off")),i.$$.dirty[0]&1207435264|i.$$.dirty[1]&131071&&t(119,zt={prevButtonWidth:ei!=null?ei:0,replayButtonWidth:Wi?bi:0,playButtonWidth:pi?Xt:0,nextButtonWidth:ti!=null?ti:0,playPrevChapterWidth:Lt?ui:0,seekToInteractiveWidth:Rt?wi:0,interactiveGraphWidth:hi&&ii!=null?ii:0,liveButtonWidth:p&&ci?ci:0,timeWidth:gi?Gi:0,episodesWidth:Hi,vkLogoWidth:vi?Ti:0,volumeWidth:Xi,subtitlesWidth:Li?ni:0,settingsWidth:Ci?ki:0,fullscreenWidth:ai?Ui:0,chromecastWidth:si?Ki:0,additionalButtonWidths:f.length?f.reduce(le=>[...le,40],[]):[]}),i.$$.dirty[3]&201326592&&(!Qt||Qt<zt.timeWidth)&&t(120,Qt=zt.timeWidth),i.$$.dirty[0]&738197504|i.$$.dirty[3]&1275068416){let le=0;Zi&&(sn(h,Vt.XL)?le=zt.timeWidth:le=B0);const Sn=zt.prevButtonWidth+zt.playButtonWidth+zt.nextButtonWidth+zt.seekToInteractiveWidth+zt.interactiveGraphWidth+zt.liveButtonWidth+Qt+le;t(121,fe=gi&&$t>=Sn)}i.$$.dirty[3]&1342177280&&t(64,Yi=fe&&sn(h,Vt.M)),i.$$.dirty[0]&8|i.$$.dirty[3]&67108864&&dn(zt,be)},t(60,Vi=dt.logoType===co.VK_VIDEO?Z("tooltip_vk_video_logo"):Z("tooltip_vk_logo")),[Te,se,we,be,Se,H,G,ve,M,J,Pe,x,ae,re,De,Fe,rt,ot,St,Wi,pi,si,Li,Ci,vi,ai,gi,Zi,Ut,$t,ei,bi,Xt,ti,ui,wi,ii,ci,Gi,Hi,Ti,Xi,ni,ki,Ui,Ki,f,p,_,g,L,w,xi,Oi,Ai,ji,Ht,zi,$i,_i,Vi,Pi,Fi,Ii,Yi,a,s,r,l,o,c,ee,T,te,ce,A,oe,Re,Me,Zt,$e,ue,Xe,xe,Qe,ft,Je,lt,Ge,et,xt,mt,At,st,di,de,Ce,Ve,It,mi,Mt,Ei,Mi,Ri,Rt,hi,Ot,Lt,Ni,Nt,ri,Un,fi,O,X,Ie,Ae,pe,Bi,zt,Qt,fe,n,h,b,E,C,B,R,U,Y,j,ne,Q,wn,kn,mn,yn,Bn,nn,On,$,gt,hn,en,pn,on,ho,po,vo,go,_o,bo]}class c5 extends ye{constructor(e){super(),ke(this,e,u5,a5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:113,videoLogoUrl:7,showNextPrevButtons:114,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:115,supportLink:10,customFullscreenSupported:116,playNextVideo:11,playPrevVideo:12,repeatPlaylist:117,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},Uv,[-1,-1,-1,-1,-1,-1])}}function f5(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(l,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class d5 extends ye{constructor(e){super(),ke(this,e,null,f5,_e,{})}}function m5(i){qe(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function da(i){let e;return{c(){e=k("span"),e.textContent=`${Z("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){S(t,e,n)},p:K,d(t){t&&y(e)}}}function h5(i){let e,t,n,o;var l=i[3];function r(a){return{}}l&&(t=bn(l,r()));let s=i[0]&&da();return{c(){e=k("div"),t&&F(t.$$.fragment),n=N(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[0])},m(a,c){S(a,e,c),t&&z(t,e,null),d(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&8&&l!==(l=a[3])){if(t){me();const f=t;v(f.$$.fragment,1,0,()=>{D(f,1)}),he()}l?(t=bn(l,r()),F(t.$$.fragment),m(t.$$.fragment,1),z(t,e,n)):t=null}a[0]?s?s.p(a,c):(s=da(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&1)&&V(e,"expanded",a[0])},i(a){o||(t&&m(t.$$.fragment,a),o=!0)},o(a){t&&v(t.$$.fragment,a),o=!1},d(a){a&&y(e),t&&D(t),s&&s.d()}}}function p5(i){let e,t;return e=new Si({props:{testId:i[0]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[1],ariaLabel:i[2],$$slots:{default:[h5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&1&&(l.testId=n[0]?"btn-mobile-unmuted":"btn-mobile-muted"),o&2&&(l.click=n[1]),o&4&&(l.ariaLabel=n[2]),o&41&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function v5(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:l=nt}=e,r,s;return i.$$set=a=>{"muted"in a&&t(4,n=a.muted),"expanded"in a&&t(0,o=a.expanded),"click"in a&&t(1,l=a.click)},i.$$.update=()=>{i.$$.dirty&16&&t(2,r=Z(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&1&&t(3,s=o?sl:d5)},[o,l,r,s,n]}class Tc extends ye{constructor(e){super(),ke(this,e,v5,p5,_e,{muted:4,expanded:0,click:1},m5)}}function g5(i){let e,t,n,o;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),V(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,r){S(l,e,r),d(e,t),d(e,n),d(e,o)},p(l,[r]){r&2&&u(t,"fill",l[1]),r&2&&u(n,"fill",l[1]),r&1&&V(n,"hidden",!l[0]),r&2&&u(o,"fill",l[1]),r&1&&V(o,"hidden",l[0])},i:K,o:K,d(l){l&&y(e)}}}function _5(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=l=>{"isActive"in l&&t(0,o=l.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class b5 extends ye{constructor(e){super(),ke(this,e,_5,g5,_e,{isActive:0})}}function w5(i){let e,t;return e=new b5({props:{isActive:i[0]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&1&&(l.isActive=n[0]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k5(i){let e,t;return e=new Si({props:{testId:"btn-pip",ariaLabel:Z("menu_pip"),click:i[1],$$slots:{default:[w5]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,[o]){const l={};o&2&&(l.click=n[1]),o&5&&(l.$$scope={dirty:o,ctx:n}),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function y5(i,e,t){let{isPictureInPictureActive:n=!1}=e,{click:o=nt}=e;return i.$$set=l=>{"isPictureInPictureActive"in l&&t(0,n=l.isPictureInPictureActive),"click"in l&&t(1,o=l.click)},[n,o]}class S5 extends ye{constructor(e){super(),ke(this,e,y5,k5,_e,{isPictureInPictureActive:0,click:1})}}function C5(i){qe(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function ma(i,e,t){const n=i.slice();return n[137]=e[t].iconUrl,n[138]=e[t].ariaLabel,n[139]=e[t].testId,n[140]=e[t].onClick,n[141]=e[t].tooltip,n}function ha(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w=(!i[54]||i[56])&&pa(i),C=Kt(i[59]),B=[];for(let A=0;A<C.length;A+=1)B[A]=va(ma(i,C,A));const R=A=>v(B[A],1,1,()=>{B[A]=null});let U=i[33]&&ga(i),Y=i[34]&&_a(i),j=i[60]&&ba(),ne=i[36]&&wa(i),Q=i[8]&&ka(i),ee=i[31]&&ya(i),T=i[30]&&Sa(i),te=i[8]&&Ca(i),ce=i[97]&&!i[26]&&Pa(i);return{c(){e=k("div"),t=N(),n=k("div"),w&&w.c(),o=N(),l=k("div");for(let A=0;A<B.length;A+=1)B[A].c();r=N(),U&&U.c(),s=N(),Y&&Y.c(),a=N(),j&&j.c(),c=N(),ne&&ne.c(),f=N(),h=k("div"),Q&&Q.c(),p=N(),ee&&ee.c(),_=N(),T&&T.c(),g=N(),te&&te.c(),b=N(),ce&&ce.c(),L=_t(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[39]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[55]),u(l,"class","wrapper-top-right v-1tcstu3"),V(l,"hidden",!i[3]&&!i[24]),V(l,"fullscreen",i[55]),u(h,"class","wrapper-middle v-1tcstu3"),V(h,"hidden",!i[3]||i[26])},m(A,oe){S(A,e,oe),S(A,t,oe),S(A,n,oe),w&&w.m(n,null),S(A,o,oe),S(A,l,oe);for(let se=0;se<B.length;se+=1)B[se]&&B[se].m(l,null);d(l,r),U&&U.m(l,null),d(l,s),Y&&Y.m(l,null),d(l,a),j&&j.m(l,null),d(l,c),ne&&ne.m(l,null),S(A,f,oe),S(A,h,oe),Q&&Q.m(h,null),d(h,p),ee&&ee.m(h,null),d(h,_),T&&T.m(h,null),d(h,g),te&&te.m(h,null),S(A,b,oe),ce&&ce.m(A,oe),S(A,L,oe),E=!0},p(A,oe){if((!E||oe[1]&256)&&V(e,"hidden",!A[39]),!A[54]||A[56]?w?(w.p(A,oe),oe[1]&41943040&&m(w,1)):(w=pa(A),w.c(),m(w,1),w.m(n,null)):w&&(me(),v(w,1,1,()=>{w=null}),he()),(!E||oe[0]&8)&&V(n,"hidden",!A[3]),(!E||oe[1]&16777216)&&V(n,"fullscreen",A[55]),oe[1]&268435456){C=Kt(A[59]);let se;for(se=0;se<C.length;se+=1){const we=ma(A,C,se);B[se]?(B[se].p(we,oe),m(B[se],1)):(B[se]=va(we),B[se].c(),m(B[se],1),B[se].m(l,r))}for(me(),se=C.length;se<B.length;se+=1)R(se);he()}A[33]?U?(U.p(A,oe),oe[1]&4&&m(U,1)):(U=ga(A),U.c(),m(U,1),U.m(l,s)):U&&(me(),v(U,1,1,()=>{U=null}),he()),A[34]?Y?(Y.p(A,oe),oe[1]&8&&m(Y,1)):(Y=_a(A),Y.c(),m(Y,1),Y.m(l,a)):Y&&(me(),v(Y,1,1,()=>{Y=null}),he()),A[60]?j?oe[1]&536870912&&m(j,1):(j=ba(),j.c(),m(j,1),j.m(l,c)):j&&(me(),v(j,1,1,()=>{j=null}),he()),A[36]?ne?(ne.p(A,oe),oe[1]&32&&m(ne,1)):(ne=wa(A),ne.c(),m(ne,1),ne.m(l,null)):ne&&(me(),v(ne,1,1,()=>{ne=null}),he()),(!E||oe[0]&16777224)&&V(l,"hidden",!A[3]&&!A[24]),(!E||oe[1]&16777216)&&V(l,"fullscreen",A[55]),A[8]?Q?(Q.p(A,oe),oe[0]&256&&m(Q,1)):(Q=ka(A),Q.c(),m(Q,1),Q.m(h,p)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he()),A[31]?ee?(ee.p(A,oe),oe[1]&1&&m(ee,1)):(ee=ya(A),ee.c(),m(ee,1),ee.m(h,_)):ee&&(me(),v(ee,1,1,()=>{ee=null}),he()),A[30]?T?(T.p(A,oe),oe[0]&1073741824&&m(T,1)):(T=Sa(A),T.c(),m(T,1),T.m(h,g)):T&&(me(),v(T,1,1,()=>{T=null}),he()),A[8]?te?(te.p(A,oe),oe[0]&256&&m(te,1)):(te=Ca(A),te.c(),m(te,1),te.m(h,null)):te&&(me(),v(te,1,1,()=>{te=null}),he()),(!E||oe[0]&67108872)&&V(h,"hidden",!A[3]||A[26]),A[97]&&!A[26]?ce?(ce.p(A,oe),oe[0]&67108864&&m(ce,1)):(ce=Pa(A),ce.c(),m(ce,1),ce.m(L.parentNode,L)):ce&&(me(),v(ce,1,1,()=>{ce=null}),he())},i(A){if(!E){m(w);for(let oe=0;oe<C.length;oe+=1)m(B[oe]);m(U),m(Y),m(j),m(ne),m(Q),m(ee),m(T),m(te),m(ce),E=!0}},o(A){v(w),B=B.filter(Boolean);for(let oe=0;oe<B.length;oe+=1)v(B[oe]);v(U),v(Y),v(j),v(ne),v(Q),v(ee),v(T),v(te),v(ce),E=!1},d(A){A&&(y(e),y(t),y(n),y(o),y(l),y(f),y(h),y(b),y(L)),w&&w.d(),cn(B,A),U&&U.d(),Y&&Y.d(),j&&j.d(),ne&&ne.d(),Q&&Q.d(),ee&&ee.d(),T&&T.d(),te&&te.d(),ce&&ce.d(A)}}}function pa(i){let e,t;return e=new Tc({props:{muted:i[57],expanded:i[54]&&!i[73]&&i[58],click:i[104]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&67108864&&(l.muted=n[57]),o[1]&142606336&&(l.expanded=n[54]&&!n[73]&&n[58]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function va(i){var n;let e,t;return e=new Pc({props:{iconUrl:i[137],ariaLabel:(n=i[138])!=null?n:i[141],testId:i[139],onClick:i[140]}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[1]&268435456&&(r.iconUrl=o[137]),l[1]&268435456&&(r.ariaLabel=(s=o[138])!=null?s:o[141]),l[1]&268435456&&(r.testId=o[139]),l[1]&268435456&&(r.onClick=o[140]),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function ga(i){let e,t;return e=new vc({props:{isMobile:!0,click:i[102],state:i[25]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&33554432&&(l.state=n[25]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function _a(i){let e,t;return e=new S5({props:{click:i[103],isPictureInPictureActive:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8388608&&(l.isPictureInPictureActive=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ba(i){let e,t;return e=new nr({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function wa(i){let e,t;return e=new pc({props:{click:i[67],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&64&&(l.logoClickable=n[6]),o[0]&128&&(l.videoLogoUrl=n[7]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ka(i){let e,t;return e=new al({props:{click:i[13],type:"prev",disabled:!i[10],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8192&&(l.click=n[13]),o[0]&1024&&(l.disabled=!n[10]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ya(i){let e,t;return e=new rr({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:i[28]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&1048576&&(l.disabled=n[51]),o[0]&268435456&&(l.isPlaying=n[28]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Sa(i){let e,t;return e=new sr({props:{disabled:i[50],click:i[105],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ca(i){let e,t;return e=new al({props:{click:i[12],type:"next",disabled:!i[9],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4096&&(l.click=n[12]),o[0]&512&&(l.disabled=!n[9]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Pa(i){let e,t,n,o,l=i[100]&&P5(i),r=i[98]&&T5(i),s=i[99]&&E5(i);return{c(){l&&l.c(),e=N(),r&&r.c(),t=N(),s&&s.c(),n=_t()},m(a,c){l&&l.m(a,c),S(a,e,c),r&&r.m(a,c),S(a,t,c),s&&s.m(a,c),S(a,n,c),o=!0},p(a,c){a[100]&&l.p(a,c),a[98]&&r.p(a,c),a[99]&&s.p(a,c)},i(a){o||(m(l),m(r),m(s),o=!0)},o(a){v(l),v(r),v(s),o=!1},d(a){a&&(y(e),y(t),y(n)),l&&l.d(a),r&&r.d(a),s&&s.d(a)}}}function P5(i){let e,t,n;return t=new Cc({props:{hidden:!i[3],disabled:i[49],click:i[18]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&262144&&(r.disabled=o[49]),l[0]&262144&&(r.click=o[18]),t.$set(r),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function T5(i){let e,t,n;return t=new Sc({props:{hidden:!i[3]&&!i[61],disabled:i[53],click:i[17],graphIsOpened:i[61]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class",p0(i[100]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3]&&!i[61])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8|l[1]&1073741824&&(r.hidden=!o[3]&&!o[61]),l[1]&4194304&&(r.disabled=o[53]),l[0]&131072&&(r.click=o[17]),l[1]&1073741824&&(r.graphIsOpened=o[61]),t.$set(r),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8|l[1]&1073741824)&&V(e,"hidden",!o[3]&&!o[61])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function E5(i){let e,t,n;return t=new yc({props:{hidden:!i[3],disabled:i[52],click:i[16]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[55]),V(e,"hidden",!i[3])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&8&&(r.hidden=!o[3]),l[1]&2097152&&(r.disabled=o[52]),l[0]&65536&&(r.click=o[16]),t.$set(r),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55]),(!n||l[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Ta(i){let e,t,n,o,l,r=i[56]&&Ea(i),s=i[29]&&Aa(i);return o=new bc({props:{position:i[62],duration:i[63]}}),{c(){r&&r.c(),e=N(),s&&s.c(),t=N(),n=k("div"),F(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[55])},m(a,c){r&&r.m(a,c),S(a,e,c),s&&s.m(a,c),S(a,t,c),S(a,n,c),z(o,n,null),l=!0},p(a,c){a[56]?r?(r.p(a,c),c[1]&33554432&&m(r,1)):(r=Ea(a),r.c(),m(r,1),r.m(e.parentNode,e)):r&&(me(),v(r,1,1,()=>{r=null}),he()),a[29]?s?(s.p(a,c),c[0]&536870912&&m(s,1)):(s=Aa(a),s.c(),m(s,1),s.m(t.parentNode,t)):s&&(me(),v(s,1,1,()=>{s=null}),he());const f={};c[2]&1&&(f.position=a[62]),c[2]&2&&(f.duration=a[63]),o.$set(f),(!l||c[1]&16777216)&&V(n,"fullscreen",a[55])},i(a){l||(m(r),m(s),m(o.$$.fragment,a),l=!0)},o(a){v(r),v(s),v(o.$$.fragment,a),l=!1},d(a){a&&(y(e),y(t),y(n)),r&&r.d(a),s&&s.d(a),D(o)}}}function Ea(i){let e,t,n;return t=new Tc({props:{muted:i[57],expanded:!1,click:i[104]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[55])},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[1]&67108864&&(r.muted=o[57]),t.$set(r),(!n||l[1]&16777216)&&V(e,"fullscreen",o[55])},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function Aa(i){let e,t,n;return t=new rr({props:{disabled:i[51],click:i[66],isMobile:!0,isPlaying:!i[29]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[1]&1048576&&(r.disabled=o[51]),l[0]&536870912&&(r.isPlaying=!o[29]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function A5(i){let e,t,n;function o(r){i[120](r)}let l={disabled:i[50],$$slots:{default:[L5]},$$scope:{ctx:i}};return i[42]!==void 0&&(l.width=i[42]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&524288&&(a.disabled=r[50]),s[1]&524288|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&2048&&(t=!0,a.width=r[42],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function L5(i){let e,t;return e=new sr({props:{disabled:i[50],click:i[96]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&524288&&(l.disabled=n[50]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function La(i){let e,t,n;function o(r){i[121](r)}let l={$$slots:{default:[V5]},$$scope:{ctx:i}};return i[43]!==void 0&&(l.width=i[43]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&524288|s[1]&131072|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&4096&&(t=!0,a.width=r[43],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function V5(i){let e,t;return e=new gc({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[48]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&524288&&(l.isActiveLive=n[19]),o[1]&131072&&(l.ariaLabel=n[48]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Va(i){let e,t,n;function o(r){i[122](r)}let l={showDuration:i[32],position:i[4]?i[62]:i[64],duration:i[4]?i[63]:i[65],isMobile:!0};return i[44]!==void 0&&(l.width=i[44]),e=new cc({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[1]&2&&(a.showDuration=r[32]),s[0]&16|s[2]&5&&(a.position=r[4]?r[62]:r[64]),s[0]&16|s[2]&10&&(a.duration=r[4]?r[63]:r[65]),!t&&s[1]&8192&&(t=!0,a.width=r[44],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function Ia(i){let e,t,n,o;return n=new kc({props:{position:i[64],duration:i[65],timeCodes:i[86]}}),{c(){e=k("div"),e.textContent="\xB7",t=N(),F(n.$$.fragment),u(e,"aria-hidden","true")},m(l,r){S(l,e,r),S(l,t,r),z(n,l,r),o=!0},p(l,r){const s={};r[2]&4&&(s.position=l[64]),r[2]&8&&(s.duration=l[65]),n.$set(s)},i(l){o||(m(n.$$.fragment,l),o=!0)},o(l){v(n.$$.fragment,l),o=!1},d(l){l&&(y(e),y(t)),D(n,l)}}}function I5(i){let e,t,n=i[40]&&Ia(i);return{c(){n&&n.c(),e=_t()},m(o,l){n&&n.m(o,l),S(o,e,l),t=!0},p(o,l){o[40]?n?(n.p(o,l),l[1]&512&&m(n,1)):(n=Ia(o),n.c(),m(n,1),n.m(e.parentNode,e)):n&&(me(),v(n,1,1,()=>{n=null}),he())},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d(o)}}}function Ma(i){let e,t,n;function o(r){i[124](r)}let l={$$slots:{default:[M5]},$$scope:{ctx:i}};return i[46]!==void 0&&(l.width=i[46]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&32768&&(t=!0,a.width=r[46],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function M5(i){let e,t;return e=new nr({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ra(i){let e,t,n;function o(r){i[125](r)}let l={$$slots:{default:[R5]},$$scope:{ctx:i}};return i[47]!==void 0&&(l.width=i[47]),e=new Yt({props:l}),We.push(()=>Pt(e,"width",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&16384|s[1]&16777216|s[4]&1048576&&(a.$$scope={dirty:s,ctx:r}),!t&&s[1]&65536&&(t=!0,a.width=r[47],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function R5(i){let e,t;return e=new mc({props:{click:i[14],isFullscreen:i[55]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&16384&&(l.click=n[14]),o[1]&16777216&&(l.isFullscreen=n[55]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Na(i){let e,t,n;return t=new uc({props:{supportLink:i[11],returnFocus:i[15]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&2048&&(r.supportLink=o[11]),l[0]&32768&&(r.returnFocus=o[15]),t.$set(r)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function N5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w=!i[4]&&ha(i),C=i[4]&&i[27]!==Jt.INACTIVE&&Ta(i),B=i[97]&&A5(i),R=!i[4]&&i[21]&&La(i),U=i[38]&&Va(i);function Y(T){i[123](T)}let j={className:"w-max",disabled:!i[40],$$slots:{default:[I5]},$$scope:{ctx:i}};i[45]!==void 0&&(j.width=i[45]),c=new Yt({props:j}),We.push(()=>Pt(c,"width",Y));let ne=i[35]&&Ma(i),Q=i[37]&&Ra(i);g=new wc({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[20]}});let ee=i[22]&&Na(i);return{c(){w&&w.c(),e=N(),C&&C.c(),t=N(),n=k("div"),o=k("div"),l=k("div"),B&&B.c(),r=N(),R&&R.c(),s=N(),U&&U.c(),a=N(),F(c.$$.fragment),h=N(),ne&&ne.c(),p=N(),Q&&Q.c(),_=N(),F(g.$$.fragment),b=N(),ee&&ee.c(),L=_t(),u(l,"class","controls v-1tcstu3"),V(l,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[55]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",i[1]),V(n,"controls-hidden",!i[3]),V(n,"no-smooth",i[2]),V(n,"mobile",!0)},m(T,te){w&&w.m(T,te),S(T,e,te),C&&C.m(T,te),S(T,t,te),S(T,n,te),d(n,o),d(o,l),B&&B.m(l,null),d(l,r),R&&R.m(l,null),d(l,s),U&&U.m(l,null),d(l,a),z(c,l,null),d(l,h),ne&&ne.m(l,null),d(l,p),Q&&Q.m(l,null),i[126](l),d(o,_),z(g,o,null),i[127](n),S(T,b,te),ee&&ee.m(T,te),S(T,L,te),E=!0},p(T,te){T[4]?w&&(me(),v(w,1,1,()=>{w=null}),he()):w?(w.p(T,te),te[0]&16&&m(w,1)):(w=ha(T),w.c(),m(w,1),w.m(e.parentNode,e)),T[4]&&T[27]!==Jt.INACTIVE?C?(C.p(T,te),te[0]&134217744&&m(C,1)):(C=Ta(T),C.c(),m(C,1),C.m(t.parentNode,t)):C&&(me(),v(C,1,1,()=>{C=null}),he()),T[97]&&B.p(T,te),!T[4]&&T[21]?R?(R.p(T,te),te[0]&2097168&&m(R,1)):(R=La(T),R.c(),m(R,1),R.m(l,s)):R&&(me(),v(R,1,1,()=>{R=null}),he()),T[38]?U?(U.p(T,te),te[1]&128&&m(U,1)):(U=Va(T),U.c(),m(U,1),U.m(l,a)):U&&(me(),v(U,1,1,()=>{U=null}),he());const ce={};te[1]&512&&(ce.disabled=!T[40]),te[1]&512|te[2]&12|te[4]&1048576&&(ce.$$scope={dirty:te,ctx:T}),!f&&te[1]&16384&&(f=!0,ce.width=T[45],Ct(()=>f=!1)),c.$set(ce),T[35]?ne?(ne.p(T,te),te[1]&16&&m(ne,1)):(ne=Ma(T),ne.c(),m(ne,1),ne.m(l,p)):ne&&(me(),v(ne,1,1,()=>{ne=null}),he()),T[37]?Q?(Q.p(T,te),te[1]&64&&m(Q,1)):(Q=Ra(T),Q.c(),m(Q,1),Q.m(l,null)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he());const A={};te[0]&16&&(A.isAds=T[4]),te[0]&32&&(A.canRewindLive=T[5]),te[0]&1048576&&(A.isRewindableLive=T[20]),g.$set(A),(!E||te[1]&16777216)&&V(o,"fullscreen",T[55]),(!E||te[0]&2)&&V(n,"hidden",T[1]),(!E||te[0]&8)&&V(n,"controls-hidden",!T[3]),(!E||te[0]&4)&&V(n,"no-smooth",T[2]),T[22]?ee?(ee.p(T,te),te[0]&4194304&&m(ee,1)):(ee=Na(T),ee.c(),m(ee,1),ee.m(L.parentNode,L)):ee&&(me(),v(ee,1,1,()=>{ee=null}),he())},i(T){E||(m(w),m(C),m(B),m(R),m(U),m(c.$$.fragment,T),m(ne),m(Q),m(g.$$.fragment,T),m(ee),E=!0)},o(T){v(w),v(C),v(B),v(R),v(U),v(c.$$.fragment,T),v(ne),v(Q),v(g.$$.fragment,T),v(ee),E=!1},d(T){T&&(y(e),y(t),y(n),y(b),y(L)),w&&w.d(T),C&&C.d(T),B&&B.d(),R&&R.d(),U&&U.d(),D(c),ne&&ne.d(),Q&&Q.d(),i[126](null),D(g),i[127](null),ee&&ee.d(T)}}}function B5(i,e,t){var zt,Qt;let n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,{bottomHidden:Te}=e,{bottomNoSmooth:Se}=e,{showControls:H}=e,{controlsElementRef:G=void 0}=e,{isAds:O=!1}=e,{canRewindLive:ve}=e,{logoClickable:X}=e,{logoHidden:M}=e,{videoLogoUrl:J}=e,{showNextPrevButtons:Ie}=e,{nextButtonActive:Pe}=e,{prevButtonActive:Ae}=e,{isOneVideoPlaylist:x=!1}=e,{supportLink:ae}=e,{customFullscreenSupported:pe=!0}=e,{playNextVideo:re}=e,{playPrevVideo:De}=e,{repeatPlaylist:Fe}=e,{toggleFullscreen:rt}=e,{returnFocus:ot}=e,{seekToInteractive:Oe}=e,{toggleGraph:dt}=e,{playPrevChapter:wt}=e;const Re=Tt(),Me=Ji(),Zt=Re.actions.internal.toggleMuted,Et=Re.actions.internal.togglePlay,at=Re.actions.internal.pause,$e=(zt=Re.callbacks)==null?void 0:zt.onAudioDoesNotExistHint,ue=(Qt=Re.callbacks)==null?void 0:Qt.onAudioDisabledHint,Xe=Re.playerPhase;W(i,Xe,fe=>t(117,B=fe));const xe=Re.state.duration$;W(i,xe,fe=>t(65,be=fe));const Qe=Re.state.positionWithScrubbing$;W(i,Qe,fe=>t(64,we=fe));const je=Re.state.playbackState$;W(i,je,fe=>t(113,c=fe));const ft=Re.state.isAudioAvailable$;W(i,ft,fe=>t(54,f=fe));const Je=Re.state.isAudioDisabled,lt=Re.state.isEnded$;W(i,lt,fe=>t(118,U=fe));const Ge=Re.state.isLive$;W(i,Ge,fe=>t(21,_=fe));const et=Re.state.muted$;W(i,et,fe=>t(57,ee=fe));const xt=Re.state.isActiveLive$;W(i,xt,fe=>t(114,h=fe));const mt=Re.state.isRewindableLive$;W(i,mt,fe=>t(20,p=fe));const Ke=Re.ui.scrubbingInProgress;W(i,Ke,fe=>t(26,R=fe));const At=Re.ui.mobileNotReportControlHidden$;W(i,At,fe=>t(24,w=fe));const st=Re.ui.isPictureInPictureActive$;W(i,st,fe=>t(23,E=fe));const di=Re.ui.pictureInPictureType$;W(i,di,fe=>t(116,L=fe));const de=Re.ui.mobileUnmuteButtonExpanded;W(i,de,fe=>t(58,T=fe));const Ce=Re.ui.mobileUnmuteButtonVisible;W(i,Ce,fe=>t(56,Q=fe));const Ve=Re.ui.settingsMenuVisible;W(i,Ve,fe=>t(22,g=fe));const It=Re.ui.controls,mi=Re.actions.internal.getVideoEpisodes(),Mt=Re.webApi.pictureInPictureApi,Ei=Re.state.chromecastState$;W(i,Ei,fe=>t(25,C=fe));const Mi=Re.state.crashed$;W(i,Mi,fe=>t(60,ce=fe));const Ri=It.disabledControls$;W(i,Ri,fe=>t(119,j=fe));const Le=Re.ads.duration;W(i,Le,fe=>t(63,se=fe));const Rt=Re.ads.position;W(i,Rt,fe=>t(62,oe=fe));const hi=Re.ads.playbackState;W(i,hi,fe=>t(27,Y=fe));const Ot=Re.ui.isFullscreen;W(i,Ot,fe=>t(55,ne=fe));const Lt=Re.ui.playerSize;W(i,Lt,fe=>t(115,b=fe));const Ni=Re.ui.additionalButtons$;W(i,Ni,fe=>t(59,te=fe));const Nt=Re.actions.internal.replayInteractive,ri=Re.state.isInteractive,xi=Re.state.isInteractiveGraphEnabled,St=Re.state.isSeekToInteractiveEnable,Wi=Re.state.isPlayPrevChapterEnabled,pi=Re.state.graphIsOpened$;W(i,pi,fe=>t(61,A=fe));let Bi,Oi,Ai,si,Li,Ci,vi,ai,gi,ji,Zi,Ht,Ut,zi,$i,_i,Di,Vi,Pi,Fi,Ii,$t,ei;const bi=()=>Re.actions.internal.toggleChromecast();function Xt(){Je?ue==null||ue():f?Zt():$e==null||$e()}async function ti(){Mt!=null&&Mt.isActive()?await(Mt==null?void 0:Mt.remove()):await(Mt==null?void 0:Mt.request())}function ui(){!Je&&f&&Ce.set(!1),Xt()}const wi=x?Et:Fe;let ii="";const ci=(fe,Yi)=>{if(!fe){t(48,ii=Z("tooltip_live"));return}Yi===Gt.PAUSED&&t(48,ii=Z("tooltip_play"))};function Gi(fe){Vi=fe,t(42,Vi)}function Hi(fe){Pi=fe,t(43,Pi)}function Ti(fe){Fi=fe,t(44,Fi)}function Xi(fe){Ii=fe,t(45,Ii)}function ni(fe){$t=fe,t(46,$t)}function ki(fe){ei=fe,t(47,ei)}function Ui(fe){We[fe?"unshift":"push"](()=>{_i=fe,t(41,_i)})}function Ki(fe){We[fe?"unshift":"push"](()=>{G=fe,t(0,G)})}return i.$$set=fe=>{"bottomHidden"in fe&&t(1,Te=fe.bottomHidden),"bottomNoSmooth"in fe&&t(2,Se=fe.bottomNoSmooth),"showControls"in fe&&t(3,H=fe.showControls),"controlsElementRef"in fe&&t(0,G=fe.controlsElementRef),"isAds"in fe&&t(4,O=fe.isAds),"canRewindLive"in fe&&t(5,ve=fe.canRewindLive),"logoClickable"in fe&&t(6,X=fe.logoClickable),"logoHidden"in fe&&t(106,M=fe.logoHidden),"videoLogoUrl"in fe&&t(7,J=fe.videoLogoUrl),"showNextPrevButtons"in fe&&t(8,Ie=fe.showNextPrevButtons),"nextButtonActive"in fe&&t(9,Pe=fe.nextButtonActive),"prevButtonActive"in fe&&t(10,Ae=fe.prevButtonActive),"isOneVideoPlaylist"in fe&&t(107,x=fe.isOneVideoPlaylist),"supportLink"in fe&&t(11,ae=fe.supportLink),"customFullscreenSupported"in fe&&t(108,pe=fe.customFullscreenSupported),"playNextVideo"in fe&&t(12,re=fe.playNextVideo),"playPrevVideo"in fe&&t(13,De=fe.playPrevVideo),"repeatPlaylist"in fe&&t(109,Fe=fe.repeatPlaylist),"toggleFullscreen"in fe&&t(14,rt=fe.toggleFullscreen),"returnFocus"in fe&&t(15,ot=fe.returnFocus),"seekToInteractive"in fe&&t(16,Oe=fe.seekToInteractive),"toggleGraph"in fe&&t(17,dt=fe.toggleGraph),"playPrevChapter"in fe&&t(18,wt=fe.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&67108864&&t(112,n=j.has(pt.EPISODE_BUTTON)),i.$$.dirty[3]&67108864&&t(53,o=j.has(pt.GRAPH_BUTTON)),i.$$.dirty[3]&67108864&&t(52,l=j.has(pt.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&67108864&&t(51,r=j.has(pt.PLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(50,s=j.has(pt.REPLAY_BUTTON)),i.$$.dirty[3]&67108864&&t(49,a=j.has(pt.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&1048576&&t(28,Bi=c===Gt.PLAYING),i.$$.dirty[0]&134217728&&t(29,Oi=Y===Jt.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(30,Ai=U&&!O&&!ri),i.$$.dirty[0]&16|i.$$.dirty[3]&33554432&&t(31,si=!U||O),i.$$.dirty[3]&4194304&&t(110,Li=b.width>300),i.$$.dirty[3]&4194304&&t(32,Ci=b.width>400),i.$$.dirty[0]&67108864&&t(111,vi=R),i.$$.dirty[0]&58720256|i.$$.dirty[3]&8388608&&t(33,ai=C!==_n.NOT_AVAILABLE&&!(E&&L===En.DocumentPictureInPicture)&&!w&&!ri),i.$$.dirty[0]&50331648|i.$$.dirty[3]&25427968){const fe=B===Ne.WaitingLive;t(34,gi=!!Mt&&C!==_n.CONNECTED&&!w&&(L===En.DocumentPictureInPicture&&fe||!fe)&&!vi&&!ri)}i.$$.dirty[3]&262144&&t(35,ji=!vi),i.$$.dirty[3]&4202496&&t(36,Zi=!M&&b.width>350),i.$$.dirty[0]&8388608|i.$$.dirty[3]&8683520&&t(37,Ht=Me.features.fullscreen&&!(E&&L===En.DocumentPictureInPicture)&&(ri?pe:!0)&&!vi),i.$$.dirty[0]&2097168|i.$$.dirty[3]&4456448&&t(38,Ut=(!_||O)&&b.width>260&&!vi&&!(Me.features.interactiveHideTime&&ri)),i.$$.dirty[0]&4194312&&t(39,zi=g||H),i.$$.dirty[0]&2097168|i.$$.dirty[3]&917504&&t(40,$i=!O&&!_&&!!(mi!=null&&mi.length)&&Li&&!n&&!vi),i.$$.dirty[0]&1048576|i.$$.dirty[3]&2097152&&t(19,Di=!p||h),i.$$.dirty[0]&524288|i.$$.dirty[3]&1048576&&ci(Di,c)},[G,Te,Se,H,O,ve,X,J,Ie,Pe,Ae,ae,re,De,rt,ot,Oe,dt,wt,Di,p,_,g,E,w,C,R,Y,Bi,Oi,Ai,si,Ci,ai,gi,ji,Zi,Ht,Ut,zi,$i,_i,Vi,Pi,Fi,Ii,$t,ei,ii,a,s,r,l,o,f,ne,Q,ee,T,te,ce,A,oe,se,we,be,Et,at,Xe,xe,Qe,je,ft,Je,lt,Ge,et,xt,mt,Ke,At,st,di,de,Ce,Ve,mi,Ei,Mi,Ri,Le,Rt,hi,Ot,Lt,Ni,Nt,ri,xi,St,Wi,pi,bi,ti,ui,wi,M,x,pe,Fe,Li,vi,n,c,h,b,L,B,U,j,Gi,Hi,Ti,Xi,ni,ki,Ui,Ki]}class O5 extends ye{constructor(e){super(),ke(this,e,B5,N5,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:106,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:107,supportLink:11,customFullscreenSupported:108,playNextVideo:12,playPrevVideo:13,repeatPlaylist:109,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},C5,[-1,-1,-1,-1,-1])}}function z5(i){let e,t,n;function o(r){i[26](r)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new c5({props:l}),We.push(()=>Pt(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function D5(i){let e,t,n;function o(r){i[25](r)}let l={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(l.controlsElementRef=i[0]),e=new O5({props:l}),We.push(()=>Pt(e,"controlsElementRef",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s&2&&(a.bottomHidden=r[1]),s&4&&(a.bottomNoSmooth=r[2]),s&8&&(a.showControls=r[3]),s&16&&(a.isAds=r[4]),s&32&&(a.canRewindLive=r[5]),s&64&&(a.logoClickable=r[6]),s&128&&(a.logoHidden=r[7]),s&256&&(a.videoLogoUrl=r[8]),s&512&&(a.showNextPrevButtons=r[9]),s&1024&&(a.nextButtonActive=r[10]),s&2048&&(a.prevButtonActive=r[11]),s&4096&&(a.isOneVideoPlaylist=r[12]),s&8192&&(a.supportLink=r[13]),s&16384&&(a.customFullscreenSupported=r[14]),s&32768&&(a.playNextVideo=r[15]),s&65536&&(a.playPrevVideo=r[16]),s&131072&&(a.repeatPlaylist=r[17]),s&262144&&(a.toggleFullscreen=r[18]),s&524288&&(a.returnFocus=r[19]),s&1048576&&(a.seekToInteractive=r[20]),s&2097152&&(a.toggleGraph=r[21]),s&4194304&&(a.playPrevChapter=r[22]),!t&&s&1&&(t=!0,a.controlsElementRef=r[0],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function F5(i){let e,t,n,o;const l=[D5,z5],r=[];function s(a,c){return a[23]?0:1}return e=s(i),t=r[e]=l[e](i),{c(){t.c(),n=_t()},m(a,c){r[e].m(a,c),S(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?r[e].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),t=r[e],t?t.p(a,c):(t=r[e]=l[e](a),t.c()),m(t,1),t.m(n.parentNode,n))},i(a){o||(m(t),o=!0)},o(a){v(t),o=!1},d(a){a&&y(n),r[e].d(a)}}}function H5(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:l=!1}=e,{showControls:r}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:h}=e,{videoLogoUrl:p}=e,{showNextPrevButtons:_}=e,{nextButtonActive:g}=e,{prevButtonActive:b}=e,{isOneVideoPlaylist:L=!1}=e,{supportLink:E}=e,{customFullscreenSupported:w=!0}=e,{playNextVideo:C}=e,{playPrevVideo:B}=e,{repeatPlaylist:R}=e,{toggleFullscreen:U}=e,{returnFocus:Y=nt}=e,{seekToInteractive:j}=e,{toggleGraph:ne}=e,{playPrevChapter:Q}=e;const T=Tt().ui.isMobile;W(i,T,A=>t(23,n=A));function te(A){s=A,t(0,s)}function ce(A){s=A,t(0,s)}return i.$$set=A=>{"bottomHidden"in A&&t(1,o=A.bottomHidden),"bottomNoSmooth"in A&&t(2,l=A.bottomNoSmooth),"showControls"in A&&t(3,r=A.showControls),"controlsElementRef"in A&&t(0,s=A.controlsElementRef),"isAds"in A&&t(4,a=A.isAds),"canRewindLive"in A&&t(5,c=A.canRewindLive),"logoClickable"in A&&t(6,f=A.logoClickable),"logoHidden"in A&&t(7,h=A.logoHidden),"videoLogoUrl"in A&&t(8,p=A.videoLogoUrl),"showNextPrevButtons"in A&&t(9,_=A.showNextPrevButtons),"nextButtonActive"in A&&t(10,g=A.nextButtonActive),"prevButtonActive"in A&&t(11,b=A.prevButtonActive),"isOneVideoPlaylist"in A&&t(12,L=A.isOneVideoPlaylist),"supportLink"in A&&t(13,E=A.supportLink),"customFullscreenSupported"in A&&t(14,w=A.customFullscreenSupported),"playNextVideo"in A&&t(15,C=A.playNextVideo),"playPrevVideo"in A&&t(16,B=A.playPrevVideo),"repeatPlaylist"in A&&t(17,R=A.repeatPlaylist),"toggleFullscreen"in A&&t(18,U=A.toggleFullscreen),"returnFocus"in A&&t(19,Y=A.returnFocus),"seekToInteractive"in A&&t(20,j=A.seekToInteractive),"toggleGraph"in A&&t(21,ne=A.toggleGraph),"playPrevChapter"in A&&t(22,Q=A.playPrevChapter)},[s,o,l,r,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,n,T,te,ce]}class Ec extends ye{constructor(e){super(),ke(this,e,H5,F5,_e,{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 U5(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function q5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),_=I("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2260_100684"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_100684"),u(_,"result","shape"),u(r,"id","a"),u(r,"x","2.5"),u(r,"y","0"),u(r,"width","43.996"),u(r,"height","49.5"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(g,b){S(g,e,b),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,_)},p(g,[b]){b&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function W5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class j5 extends ye{constructor(e){super(),ke(this,e,W5,q5,_e,{reversed:0},U5)}}function Z5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("clipPath"),s=I("path"),a=I("filter"),c=I("feFlood"),f=I("feColorMatrix"),h=I("feOffset"),p=I("feGaussianBlur"),_=I("feColorMatrix"),g=I("feBlend"),b=I("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(r,"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(p,"stdDeviation","2.5"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(g,"in2","BackgroundImageFix"),u(g,"result","effect1_dropShadow_2260_104204"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_104204"),u(b,"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(L,E){S(L,e,E),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(l,a),d(a,c),d(a,f),d(a,h),d(a,p),d(a,_),d(a,g),d(a,b)},d(L){L&&y(e)}}}function G5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("path"),r=I("defs"),s=I("clipPath"),a=I("path"),c=I("filter"),f=I("feFlood"),h=I("feColorMatrix"),p=I("feOffset"),_=I("feGaussianBlur"),g=I("feColorMatrix"),b=I("feBlend"),L=I("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(l,"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(l,"stroke","#000"),u(l,"stroke-opacity",".12"),u(l,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(h,"in","SourceAlpha"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(h,"result","hardAlpha"),u(_,"stdDeviation","2.5"),u(g,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(b,"in2","BackgroundImageFix"),u(b,"result","effect1_dropShadow_2260_104293"),u(L,"in","SourceGraphic"),u(L,"in2","effect1_dropShadow_2260_104293"),u(L,"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(E,w){S(E,e,w),d(e,t),d(t,n),d(t,o),d(t,l),d(e,r),d(r,s),d(s,a),d(r,c),d(c,f),d(c,h),d(c,p),d(c,_),d(c,g),d(c,b),d(c,L)},d(E){E&&y(e)}}}function K5(i){let e;function t(l,r){return l[0]?G5:Z5}let n=t(i),o=n(i);return{c(){o.c(),e=_t()},m(l,r){o.m(l,r),S(l,e,r)},p(l,[r]){n!==(n=t(l))&&(o.d(1),o=n(l),o&&(o.c(),o.m(e.parentNode,e)))},i:K,o:K,d(l){l&&y(e),o.d(l)}}}function Y5(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class Ac extends ye{constructor(e){super(),ke(this,e,Y5,K5,_e,{isOff:0})}}function X5(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Q5(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),_=I("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2260_106627"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_106627"),u(_,"result","shape"),u(r,"id","a"),u(r,"x","3.402"),u(r,"y","10.105"),u(r,"width","40.098"),u(r,"height","27.785"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(g,b){S(g,e,b),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,_)},p(g,[b]){b&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function J5(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class x5 extends ye{constructor(e){super(),ke(this,e,J5,Q5,_e,{reversed:0},X5)}}function $5(i){qe(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function eg(i){let e,t,n,o,l,r,s,a,c,f,h,p,_;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("path"),l=I("defs"),r=I("filter"),s=I("feFlood"),a=I("feColorMatrix"),c=I("feOffset"),f=I("feGaussianBlur"),h=I("feColorMatrix"),p=I("feBlend"),_=I("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(h,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(p,"in2","BackgroundImageFix"),u(p,"result","effect1_dropShadow_2340_106922"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2340_106922"),u(_,"result","shape"),u(r,"id","a"),u(r,"x","5.5"),u(r,"y","5.5"),u(r,"width","37"),u(r,"height","37"),u(r,"filterUnits","userSpaceOnUse"),u(r,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(g,b){S(g,e,b),d(e,t),d(t,n),d(t,o),d(e,l),d(l,r),d(r,s),d(r,a),d(r,c),d(r,f),d(r,h),d(r,p),d(r,_)},p(g,[b]){b&1&&V(e,"reversed",g[0])},i:K,o:K,d(g){g&&y(e)}}}function tg(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class ig extends ye{constructor(e){super(),ke(this,e,tg,eg,_e,{reversed:0},$5)}}function ng(i){qe(i,"v-1lbk7aq",`.hot-key-helpers-container.v-1lbk7aq.v-1lbk7aq{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-1lbk7aq-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-1lbk7aq>div.v-1lbk7aq{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-1lbk7aq svg[data-testid="play-icon"],.hot-key-helpers-container.v-1lbk7aq svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-1lbk7aq.v-1lbk7aq{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-1lbk7aq.v-1lbk7aq{left:calc(75% - 100px)}.hot-key-helpers-text.v-1lbk7aq.v-1lbk7aq{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-1lbk7aq.v-1lbk7aq{visibility:hidden;animation:v-1lbk7aq-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-1lbk7aq-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-1lbk7aq-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function Ba(i){let e,t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(i[4]),n,o,l,r,s,a=[Ye.RATE_DOWN,Ye.RATE_UP].includes(i[4]),c,f=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(i[4]),h,p,_,g,b,L=t&&Oa(i),E=i[4]===Ye.STOP&&za(),w=i[4]===Ye.PLAY&&Da(),C=i[4]===Ye.SUBTITLES_OFF&&Fa(),B=i[4]===Ye.SUBTITLES_ON&&Ha(),R=a&&Ua(i),U=f&&qa(i),Y=i[4]===Ye.MUTE&&Wa(),j=i[4]===Ye.VOLUME&&ja(),ne=i[5]&&Za(i);return{c(){e=k("div"),L&&L.c(),n=N(),E&&E.c(),o=N(),w&&w.c(),l=N(),C&&C.c(),r=N(),B&&B.c(),s=N(),R&&R.c(),c=N(),U&&U.c(),h=N(),Y&&Y.c(),p=N(),j&&j.c(),_=N(),ne&&ne.c(),g=_t(),u(e,"class","v-1lbk7aq")},m(Q,ee){S(Q,e,ee),L&&L.m(e,null),d(e,n),E&&E.m(e,null),d(e,o),w&&w.m(e,null),d(e,l),C&&C.m(e,null),d(e,r),B&&B.m(e,null),d(e,s),R&&R.m(e,null),d(e,c),U&&U.m(e,null),d(e,h),Y&&Y.m(e,null),d(e,p),j&&j.m(e,null),S(Q,_,ee),ne&&ne.m(Q,ee),S(Q,g,ee),b=!0},p(Q,ee){ee&16&&(t=[Ye.BACKWARD_SEEK,Ye.FORWARD_SEEK].includes(Q[4])),t?L?(L.p(Q,ee),ee&16&&m(L,1)):(L=Oa(Q),L.c(),m(L,1),L.m(e,n)):L&&(me(),v(L,1,1,()=>{L=null}),he()),Q[4]===Ye.STOP?E?ee&16&&m(E,1):(E=za(),E.c(),m(E,1),E.m(e,o)):E&&(me(),v(E,1,1,()=>{E=null}),he()),Q[4]===Ye.PLAY?w?ee&16&&m(w,1):(w=Da(),w.c(),m(w,1),w.m(e,l)):w&&(me(),v(w,1,1,()=>{w=null}),he()),Q[4]===Ye.SUBTITLES_OFF?C?ee&16&&m(C,1):(C=Fa(),C.c(),m(C,1),C.m(e,r)):C&&(me(),v(C,1,1,()=>{C=null}),he()),Q[4]===Ye.SUBTITLES_ON?B?ee&16&&m(B,1):(B=Ha(),B.c(),m(B,1),B.m(e,s)):B&&(me(),v(B,1,1,()=>{B=null}),he()),ee&16&&(a=[Ye.RATE_DOWN,Ye.RATE_UP].includes(Q[4])),a?R?(R.p(Q,ee),ee&16&&m(R,1)):(R=Ua(Q),R.c(),m(R,1),R.m(e,c)):R&&(me(),v(R,1,1,()=>{R=null}),he()),ee&16&&(f=[Ye.EPISODE_PREV,Ye.EPISODE_NEXT].includes(Q[4])),f?U?(U.p(Q,ee),ee&16&&m(U,1)):(U=qa(Q),U.c(),m(U,1),U.m(e,h)):U&&(me(),v(U,1,1,()=>{U=null}),he()),Q[4]===Ye.MUTE?Y?ee&16&&m(Y,1):(Y=Wa(),Y.c(),m(Y,1),Y.m(e,p)):Y&&(me(),v(Y,1,1,()=>{Y=null}),he()),Q[4]===Ye.VOLUME?j?ee&16&&m(j,1):(j=ja(),j.c(),m(j,1),j.m(e,null)):j&&(me(),v(j,1,1,()=>{j=null}),he()),Q[5]?ne?ne.p(Q,ee):(ne=Za(Q),ne.c(),ne.m(g.parentNode,g)):ne&&(ne.d(1),ne=null)},i(Q){b||(m(L),m(E),m(w),m(C),m(B),m(R),m(U),m(Y),m(j),b=!0)},o(Q){v(L),v(E),v(w),v(C),v(B),v(R),v(U),v(Y),v(j),b=!1},d(Q){Q&&(y(e),y(_),y(g)),L&&L.d(),E&&E.d(),w&&w.d(),C&&C.d(),B&&B.d(),R&&R.d(),U&&U.d(),Y&&Y.d(),j&&j.d(),ne&&ne.d(Q)}}}function Oa(i){let e,t;return e=new j5({props:{reversed:i[4]===Ye.FORWARD_SEEK}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ye.FORWARD_SEEK),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function za(i){let e,t;return e=new hc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Da(i){let e,t;return e=new lr({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Fa(i){let e,t;return e=new Ac({props:{isOff:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ha(i){let e,t;return e=new Ac({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Ua(i){let e,t;return e=new x5({props:{reversed:i[4]===Ye.RATE_UP}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ye.RATE_UP),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qa(i){let e,t;return e=new ig({props:{reversed:i[4]===Ye.EPISODE_NEXT}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&16&&(l.reversed=n[4]===Ye.EPISODE_NEXT),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Wa(i){let e,t;return e=new sl({props:{volume:0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ja(i){let e,t;return e=new sl({props:{volume:1}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Za(i){let e,t;return{c(){e=k("span"),t=ze(i[5]),u(e,"class","hot-key-helpers-text v-1lbk7aq")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&32&&it(t,n[5])},d(n){n&&y(e)}}}function og(i){let e,t,n=!i[1]&&i[4]&&Ba(i);return{c(){e=k("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-1lbk7aq"),V(e,"hidden",i[1]),V(e,"hot-key-helpers-container--left",i[2]),V(e,"hot-key-helpers-container--right",i[3])},m(o,l){S(o,e,l),n&&n.m(e,null),t=!0},p(o,[l]){!o[1]&&o[4]?n?(n.p(o,l),l&18&&m(n,1)):(n=Ba(o),n.c(),m(n,1),n.m(e,null)):n&&(me(),v(n,1,1,()=>{n=null}),he()),(!t||l&2)&&V(e,"hidden",o[1]),(!t||l&4)&&V(e,"hot-key-helpers-container--left",o[2]),(!t||l&8)&&V(e,"hot-key-helpers-container--right",o[3])},i(o){t||(m(n),t=!0)},o(o){v(n),t=!1},d(o){o&&y(e),n&&n.d()}}}function lg(i,e,t){let n,o=K,l=()=>(o(),o=el(r,p=>t(6,n=p)),r);i.$$.on_destroy.push(()=>o());let{data:r}=e;l();let s,a,c,f,h;return i.$$set=p=>{"data"in p&&l(t(0,r=p.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ye.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ye.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,h=Z(n.t.key,{value:n.t.value||""})):t(5,h=n==null?void 0:n.text))},[r,s,a,c,f,h,n]}class rg extends ye{constructor(e){super(),ke(this,e,lg,og,_e,{data:0},ng)}}function sg(i){qe(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function ag(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w;return l=new Dn({props:{direction:"up"}}),a=new Dn({props:{direction:"up"}}),p=new Dn({props:{direction:"up"}}),b=new Dn({props:{direction:"up"}}),{c(){e=k("div"),t=k("div"),n=k("div"),o=k("div"),F(l.$$.fragment),r=N(),s=k("div"),F(a.$$.fragment),c=N(),f=k("div"),h=k("div"),F(p.$$.fragment),_=N(),g=k("div"),F(b.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(h,"class","button button-left v-1yzc86r"),u(g,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",Z("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(C,B){S(C,e,B),d(e,t),d(t,n),d(n,o),z(l,o,null),d(n,r),d(n,s),z(a,s,null),d(t,c),d(t,f),d(f,h),z(p,h,null),d(f,_),d(f,g),z(b,g,null),L=!0,E||(w=[Ee(o,"mousedown",i[1]),Ee(o,"mouseup",i[5]),Ee(o,"mouseleave",i[5]),Ee(s,"mousedown",i[3]),Ee(s,"mouseup",i[5]),Ee(s,"mouseleave",i[5]),Ee(h,"mousedown",i[4]),Ee(h,"mouseup",i[5]),Ee(h,"mouseleave",i[5]),Ee(g,"mousedown",i[2]),Ee(g,"mouseup",i[5]),Ee(g,"mouseleave",i[5]),Ee(e,"keydown",i[6]),Ee(e,"keyup",i[7])],E=!0)},p(C,[B]){(!L||B&1)&&V(e,"m-shifted",C[0])},i(C){L||(m(l.$$.fragment,C),m(a.$$.fragment,C),m(p.$$.fragment,C),m(b.$$.fragment,C),L=!0)},o(C){v(l.$$.fragment,C),v(a.$$.fragment,C),v(p.$$.fragment,C),v(b.$$.fragment,C),L=!1},d(C){C&&y(e),D(l),D(a),D(p),D(b),E=!1,li(w)}}}function ug(i,e,t){let{isShifted:n=!1}=e;const o=Tt(),l=new Set([Ue.ArrowUp,Ue.ArrowDown,Ue.ArrowLeft,Ue.ArrowRight]),r=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),h=_=>{if(l.has(_.code))switch(_.preventDefault(),_.stopPropagation(),_.code){case Ue.ArrowUp:r();break;case Ue.ArrowDown:s();break;case Ue.ArrowLeft:c();break;case Ue.ArrowRight:a();break}},p=_=>{l.has(_.code)&&(_.preventDefault(),_.stopPropagation(),f())};return i.$$set=_=>{"isShifted"in _&&t(0,n=_.isShifted)},[n,r,s,a,c,f,h,p]}class Lc extends ye{constructor(e){super(),ke(this,e,ug,ag,_e,{isShifted:0},sg)}}function cg(i){qe(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Ga(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Ka(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ya(i){let e,t;function n(r,s){return r[7]&&r[8]?mg:r[5]?dg:fg}let o=n(i),l=o(i);return{c(){e=k("div"),t=k("span"),l.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(r,s){S(r,e,s),d(e,t),l.m(t,null)},p(r,s){o===(o=n(r))&&l?l.p(r,s):(l.d(1),l=o(r),l&&(l.c(),l.m(t,null))),s&8&&V(e,"mobile",r[3])},d(r){r&&y(e),l.d()}}}function fg(i){let e,t=Kt(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Xa(Ga(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=_t()},m(o,l){for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(o,l);S(o,e,l)},p(o,l){if(l&18){t=Kt(o[1]);let r;for(r=0;r<t.length;r+=1){const s=Ga(o,t,r);n[r]?n[r].p(s,l):(n[r]=Xa(s),n[r].c(),n[r].m(e.parentNode,e))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},d(o){o&&y(e),cn(n,o)}}}function dg(i){let e,t,n=Kt(i[6]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ja(Ka(i,n,l));return{c(){e=k("span"),t=k("span");for(let l=0;l<o.length;l+=1)o[l].c();u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),d(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(l,r){if(r&68){n=Kt(l[6]);let s;for(s=0;s<n.length;s+=1){const a=Ka(l,n,s);o[s]?o[s].p(a,r):(o[s]=Ja(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}r&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e),cn(o,l)}}}function mg(i){let e,t,n=Z("subtitles_auto_caption")+"",o;return{c(){e=k("span"),t=k("span"),o=ze(n),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,r){S(l,e,r),d(e,t),d(t,o)},p(l,r){r&16&&Ft(t,"font-size",l[4]+"px")},d(l){l&&y(e)}}}function Xa(i){let e,t,n=i[16]+"",o,l;return{c(){e=k("span"),t=k("span"),o=ze(n),l=N(),u(t,"class","caption-segment v-ovfyp5"),Ft(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,s){S(r,e,s),d(e,t),d(t,o),d(e,l)},p(r,s){s&2&&n!==(n=r[16]+"")&&it(o,n),s&16&&Ft(t,"font-size",r[4]+"px")},d(r){r&&y(e)}}}function Qa(i){let e=i[16]+"",t;return{c(){t=ze(e)},m(n,o){S(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&it(t,e)},d(n){n&&y(t)}}}function Ja(i){let e,t=(!i[17]||i[17]<=i[2])&&Qa(i);return{c(){t&&t.c(),e=_t()},m(n,o){t&&t.m(n,o),S(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=Qa(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&y(e),t&&t.d(n)}}}function hg(i){let e,t=i[1].length>0&&Ya(i);return{c(){e=k("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){S(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Ya(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:K,o:K,d(n){n&&y(e),t&&t.d()}}}function pg(i,e,t){let n,o,{shifted:l}=e,{captions:r}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=Tt(),h=Ji(),p=f.state.currentSubtitle$;W(i,p,C=>t(12,n=C));const _=f.state.isAutoSubtitleCaptionVisible$;W(i,_,C=>t(8,o=C));let g,b,L,E,w;return Qi(()=>{w=window.setTimeout(()=>{_.set(!1)},h.autoSubtitlesTimeout)}),il(()=>{window.clearTimeout(w)}),i.$$set=C=>{"shifted"in C&&t(0,l=C.shifted),"captions"in C&&t(1,r=C.captions),"position"in C&&t(2,s=C.position),"playerSize"in C&&t(11,a=C.playerSize),"isMobile"in C&&t(3,c=C.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const C=a.width*.02;t(4,g=C<=h.minSubtitlesFontSize?h.minSubtitlesFontSize:C)}i.$$.dirty&2&&t(5,b=r.some(C=>C.type==="timestamp")),i.$$.dirty&2&&t(6,L=r.reduce((C,{type:B,value:R})=>(B==="timestamp"?C.push({timeAppeared:Number(R),value:""}):C.length===0?C.push({value:String(R)}):C[C.length-1].value=String(R),C),[])),i.$$.dirty&4096&&t(7,E=!!n.isAuto)},[l,r,s,c,g,b,L,E,o,p,_,a,n]}class Vc extends ye{constructor(e){super(),ke(this,e,pg,hg,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},cg)}}function vg(i){qe(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function xa(i){let e,t,n;return{c(){e=k("div"),t=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(i[1]),u(e,"class","text v-1o62kpz")},m(o,l){S(o,e,l),d(e,t),d(e,n)},p(o,l){l&2&&it(n,o[1])},d(o){o&&y(e)}}}function gg(i){let e,t,n,o,l,r,s=i[1]&&xa(i);return{c(){e=k("div"),t=k("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=N(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){S(a,e,c),d(e,t),d(e,n),s&&s.m(e,null),l||(r=Ee(e,"click",i[2]),l=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=xa(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:K,o:K,d(a){a&&y(e),s&&s.d(),l=!1,r()}}}function _g(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function l(r){uo.call(this,i,r)}return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"chromecastDeviceName"in r&&t(1,o=r.chromecastDeviceName)},[n,o,l]}class Ic extends ye{constructor(e){super(),ke(this,e,_g,gg,_e,{thumbUrl:0,chromecastDeviceName:1},vg)}}function bg(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class wg extends ye{constructor(e){super(),ke(this,e,null,bg,_e,{})}}function kg(i){qe(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function yg(i){let e,t,n;return t=new wg({}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}class Mc extends ye{constructor(e){super(),ke(this,e,null,yg,_e,{},kg)}}function Sg(i){qe(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function Cg(i){let e,t,n,o,l,r,s,a,c;return l=new lr({}),{c(){e=k("div"),t=k("div"),n=k("div"),o=N(),F(l.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",r=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,h){S(f,e,h),d(e,t),d(t,n),d(t,o),z(l,t,null),s=!0,a||(c=Ee(e,"click",ct(function(){Ln(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[h]){i=f,(!s||h&1&&r!==(r=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",r),(!s||h&2)&&V(e,"hidden",i[1])},i(f){s||(m(l.$$.fragment,f),s=!0)},o(f){v(l.$$.fragment,f),s=!1},d(f){f&&y(e),D(l),a=!1,c()}}}function Pg(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:l}=e;return i.$$set=r=>{"thumbUrl"in r&&t(0,n=r.thumbUrl),"hidden"in r&&t(1,o=r.hidden),"startVideo"in r&&t(2,l=r.startVideo)},[n,o,l]}class Rc extends ye{constructor(e){super(),ke(this,e,Pg,Cg,_e,{thumbUrl:0,hidden:1,startVideo:2},Sg)}}function Tg(i){qe(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
24
+ )}`)}function Ts(i){let e;return{c(){e=T("div"),u(e,"class","top-gradient-mobile v-354ajf")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function Es(i){let e,t;return e=new X4({props:{position:i[5],secondsToWatchBeforeSkip:i[6],skipAd:i[8].actions.internal.skipAd}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&32&&(r.position=n[5]),o&64&&(r.secondsToWatchBeforeSkip=n[6]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function As(i){let e,t;return e=new j4({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ls(i){let e,t;return e=new x4({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function e3(i){let e,t,n,o,r,l,s,a=i[0]&&Ts(),c=i[3]&&Es(i),f=i[7]&&As(),m=i[4]&&Ls();return{c(){e=T("div"),a&&a.c(),t=R(),n=T("video"),o=R(),c&&c.c(),r=R(),f&&f.c(),l=R(),m&&m.c(),Rt(n,"width","100%"),Rt(n,"height","100%"),n.playsInline=!0,u(e,"class","container v-354ajf")},m(h,b){E(h,e,b),a&&a.m(e,null),p(e,t),p(e,n),i[19](n),p(e,o),c&&c.m(e,null),p(e,r),f&&f.m(e,null),p(e,l),m&&m.m(e,null),i[20](e),s=!0},p(h,[b]){h[0]?a||(a=Ts(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),h[3]?c?(c.p(h,b),b&8&&d(c,1)):(c=Es(h),c.c(),d(c,1),c.m(e,r)):c&&(pe(),g(c,1,1,()=>{c=null}),he()),h[7]?f?b&128&&d(f,1):(f=As(),f.c(),d(f,1),f.m(e,l)):f&&(pe(),g(f,1,1,()=>{f=null}),he()),h[4]?m?b&16&&d(m,1):(m=Ls(),m.c(),d(m,1),m.m(e,null)):m&&(pe(),g(m,1,1,()=>{m=null}),he())},i(h){s||(d(c),d(f),d(m),s=!0)},o(h){g(c),g(f),g(m),s=!1},d(h){h&&P(e),a&&a.d(),i[19](null),c&&c.d(),f&&f.d(),m&&m.d(),i[20](null)}}}function t3(i,e,t){let n,o,r,l,s,{adsSlotId:a=void 0}=e,{adsParams:c=void 0}=e,{adsPreviewParam:f=void 0}=e,{duration:m=0}=e;const h=St(),b=h.state.isEnded$;z(i,b,O=>t(7,s=O));const v=h.ui.isMobile;z(i,v,O=>t(0,o=O));let y,_,C=!1;const k=h.ads.playbackState;z(i,k,O=>t(18,n=O));const w=h.ads.canSkip,N=h.ads.position;z(i,N,O=>t(5,r=O));const Q=h.ads.secondsToWatchBeforeSkip;z(i,Q,O=>t(6,l=O));let M,G;hn(()=>{const O=new AbortController;let $=()=>{O.abort()};const S=h.getAdmanWrapper();if(!a){S.onAdmanLoadingError();return}const{width:D,height:le}=Qe(h.ui.playerSize),L=Qe(h.ui.isFullscreen),se=Qe(h.ui.isAutoplay),me={width:D,height:le,isFullscreen:L,isAutoplay:se,adsContainer:y,adsVideoElement:_,slotId:a,params:c,previewParam:f,duration:m};return window.AdmanHTML?(S.initAdman(me),C=!0):S.loadAdman(O.signal).then(()=>{S.initAdman(me),C=!0}).catch(()=>{S.onAdmanLoadingError()}),()=>{!C&&$()}});function re(O){ke[O?"unshift":"push"](()=>{_=O,t(2,_)})}function ie(O){ke[O?"unshift":"push"](()=>{y=O,t(1,y)})}return i.$$set=O=>{"adsSlotId"in O&&t(14,a=O.adsSlotId),"adsParams"in O&&t(15,c=O.adsParams),"adsPreviewParam"in O&&t(16,f=O.adsPreviewParam),"duration"in O&&t(17,m=O.duration)},i.$$.update=()=>{i.$$.dirty&262144&&t(3,M=w&&n!==li.INACTIVE),i.$$.dirty&262145&&t(4,G=o&&n!==li.INACTIVE)},[o,y,_,M,G,r,l,s,h,b,v,k,N,Q,a,c,f,m,n,re,ie]}class Rc extends ye{constructor(e){super(),we(this,e,t3,e3,_e,{adsSlotId:14,adsParams:15,adsPreviewParam:16,duration:17},$4)}}const Rn=i=>{if(!isFinite(i))return"00:00";let e=Math.round(i);const t=Math.floor(e/(60*60));e-=t*(60*60);const n=Math.floor(e/60);return e-=n*60,(t>0?[t,n,e]:[n,e]).map(r=>r>9?String(r):`0${r}`).join(":")};function i3(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M6.41 1A6.46 6.46 0 0 0 3 1.55 3.52 3.52 0 0 0 1.55 3 6.46 6.46 0 0 0 1 6.41v7.18A6.46 6.46 0 0 0 1.55 17 3.52 3.52 0 0 0 3 18.45a6.46 6.46 0 0 0 3.41.55h29.18a6.46 6.46 0 0 0 3.41-.55A3.52 3.52 0 0 0 40.45 17a6.46 6.46 0 0 0 .55-3.41V6.41A6.46 6.46 0 0 0 40.45 3 3.52 3.52 0 0 0 39 1.55 6.46 6.46 0 0 0 35.59 1z"),u(t,"fill","none"),u(t,"stroke","#fff"),u(t,"stroke-width","2"),u(n,"d","M8 5a1 1 0 0 1 1 1v7h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1H8a1 1 0 0 1-1-.77v-.11A.49.49 0 0 1 7 14V6a1 1 0 0 1 .88-1zm8 0a1 1 0 0 1 1 1v8a1 1 0 0 1-.88 1H16a1 1 0 0 1-1-1V6a1 1 0 0 1 .88-1zm18 0a1 1 0 0 1 1 .88V6a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V10a1 1 0 0 1-1 1h-3v2h3a1 1 0 0 1 1 .88V14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-.77v-.11a.49.49 0 0 1 0-.12V6a1 1 0 0 1 .56-.9A1 1 0 0 1 30 5zm-8 0a1 1 0 0 1 1 1v.1a.89.89 0 0 1-.11.35l-2.47 7.57a1.48 1.48 0 0 1-1.32.98h-.2a1.48 1.48 0 0 1-1.31-.95l-2.47-7.57a.89.89 0 0 1-.12-.36V6a1 1 0 0 1 .88-1H20a1 1 0 0 1 1 1v-.1l2 6.4 2-6.4a1 1 0 0 1 1-.9z"),u(n,"fill","#f0f2f5"),u(n,"fill-rule","evenodd"),u(e,"width","42"),u(e,"height","20"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function n3(i){let e,t,n;return{c(){e=B("svg"),t=B("rect"),n=B("path"),u(t,"width","42"),u(t,"height","20"),u(t,"rx","5"),u(t,"fill","#FF3347"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M8 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2H9V6a1 1 0 0 0-1-1zm7 1a1 1 0 1 1 2 0v8a1 1 0 1 1-2 0V6zm15-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h4a1 1 0 1 0 0-2h-3v-2h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-4zm-8.325 9.31-2.55-7.824a.993.993 0 0 1-.117-.363L19 6.1h.005a1 1 0 1 1 1.99-.199L21 5.9l2 6.4 2-6.4h.005a1 1 0 0 1 1.99.2H27l-.008.023a.993.993 0 0 1-.118.363l-2.55 7.824a1 1 0 0 1-.95.69h-.748a1 1 0 0 1-.95-.69z"),u(n,"fill","#F2F3F5"),u(e,"width","42"),u(e,"height","20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","live-active-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},d(o){o&&P(e)}}}function o3(i){let e;function t(r,l){return r[0]?n3:i3}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function l3(i,e,t){let{isActive:n=!1}=e;return i.$$set=o=>{"isActive"in o&&t(0,n=o.isActive)},[n]}class Nc extends ye{constructor(e){super(),we(this,e,l3,o3,_e,{isActive:0})}}function r3(i){Ue(i,"v-7pnl2h",".thumb-timer.v-7pnl2h.v-7pnl2h{position:absolute;z-index:2;bottom:0;right:0;margin:8px;padding:0 7px;border-radius:3px;background:var(--black-alpha-40);color:var(--white);font-size:12.5px;line-height:23px;height:23px;white-space:nowrap;transition:visibility var(--controls-transition-duration), opacity var(--controls-transition-duration)}.thumb-timer.live.v-7pnl2h.v-7pnl2h{font-size:0;line-height:20px;height:20px;border-radius:2px;background:var(--red)}.thumb-timer.hidden.v-7pnl2h.v-7pnl2h{visibility:hidden;opacity:0}.thumb-timer.v-7pnl2h.v-7pnl2h:after{content:'';display:inline-block;vertical-align:middle;height:100%}.thumb-timer-live-icon.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;width:42px;height:20px;margin:0 -7px}.thumb-timer-equalizer.v-7pnl2h.v-7pnl2h{display:inline-block;vertical-align:middle;position:relative;width:10px;height:10px;margin-top:-4px;margin-right:4px}.live.v-7pnl2h .thumb-timer-equalizer.v-7pnl2h{margin-top:-2px}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h{width:2px;height:10px;margin-right:2px;background:var(--white);position:absolute;bottom:0;transform-origin:50% 100%;animation:1.5s infinite linear alternate;animation-play-state:paused}.thumb-timer.playing.v-7pnl2h .thumb-timer-equalizer .col.v-7pnl2h{animation-play-state:running}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(1){left:0;animation-name:v-7pnl2h-thumb-timer-equalizer-col1}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(2){left:3px;animation-name:v-7pnl2h-thumb-timer-equalizer-col2}.thumb-timer-equalizer.v-7pnl2h .col.v-7pnl2h:nth-child(3){left:6px;animation-name:v-7pnl2h-thumb-timer-equalizer-col3}@keyframes v-7pnl2h-thumb-timer-equalizer-col1{0%{transform:scaleY(0.1)}25%{transform:scaleY(0.8)}50%{transform:scaleY(0.4)}75%{transform:scaleY(0.6)}100%{transform:scaleY(0.1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col2{0%{transform:scaleY(1)}25%{transform:scaleY(0.3)}50%{transform:scaleY(0.9)}75%{transform:scaleY(0.6)}100%{transform:scaleY(1)}}@keyframes v-7pnl2h-thumb-timer-equalizer-col3{0%{transform:scaleY(0.6)}25%{transform:scaleY(0.9)}50%{transform:scaleY(0.1)}75%{transform:scaleY(0.9)}100%{transform:scaleY(0.6)}}.thumb-timer-text.v-7pnl2h.v-7pnl2h{display:inline-block;text-align:right}")}function s3(i){let e=Rn(i[4]-i[3])+"",t;return{c(){t=ze(e)},m(n,o){E(n,t,o)},p(n,o){o&24&&e!==(e=Rn(n[4]-n[3])+"")&&xe(t,e)},i:W,o:W,d(n){n&&P(t)}}}function a3(i){let e,t,n;return t=new Nc({props:{isActive:!0}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","thumb-timer-live-icon v-7pnl2h")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function u3(i){let e,t,n,o,r,l,s;const a=[a3,s3],c=[];function f(m,h){return m[1]?0:1}return r=f(i),l=c[r]=a[r](i),{c(){e=T("div"),t=T("div"),t.innerHTML='<div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div> <div class="col v-7pnl2h"></div>',n=R(),o=T("span"),l.c(),u(t,"class","thumb-timer-equalizer v-7pnl2h"),u(o,"class","thumb-timer-text v-7pnl2h"),u(e,"role","timer"),u(e,"class","thumb-timer v-7pnl2h"),u(e,"data-testid","thumb-timer"),V(e,"live",i[1]),V(e,"hidden",i[0]),V(e,"playing",i[2])},m(m,h){E(m,e,h),p(e,t),p(e,n),p(e,o),c[r].m(o,null),s=!0},p(m,[h]){let b=r;r=f(m),r===b?c[r].p(m,h):(pe(),g(c[b],1,1,()=>{c[b]=null}),he(),l=c[r],l?l.p(m,h):(l=c[r]=a[r](m),l.c()),d(l,1),l.m(o,null)),(!s||h&2)&&V(e,"live",m[1]),(!s||h&1)&&V(e,"hidden",m[0]),(!s||h&4)&&V(e,"playing",m[2])},i(m){s||(d(l),s=!0)},o(m){g(l),s=!1},d(m){m&&P(e),c[r].d()}}}function c3(i,e,t){let{isHidden:n=!1}=e,{isLive:o=!1}=e,{isPlaying:r=!1}=e,{position:l}=e,{duration:s}=e;return i.$$set=a=>{"isHidden"in a&&t(0,n=a.isHidden),"isLive"in a&&t(1,o=a.isLive),"isPlaying"in a&&t(2,r=a.isPlaying),"position"in a&&t(3,l=a.position),"duration"in a&&t(4,s=a.duration)},[n,o,r,l,s]}class Oc extends ye{constructor(e){super(),we(this,e,c3,u3,_e,{isHidden:0,isLive:1,isPlaying:2,position:3,duration:4},r3)}}const vr=i=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy")){const e=document.createElement("textarea");e.textContent=i,e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}},xn=i=>{i.stopPropagation(),i.preventDefault()},f3=i=>{var e;let t=i.previousElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.lastElementChild),t==null||t.focus()},d3=i=>{var e;let t=i.nextElementSibling;t||(t=(e=i.parentNode)===null||e===void 0?void 0:e.firstElementChild),t==null||t.focus()},m3=i=>{const e=i.code;return e===Ee.Tab&&!i.shiftKey||e===Ee.ArrowDown},p3=i=>{const e=i.code;return e===Ee.Tab||e===Ee.ArrowUp},Dc=i=>i.code===Ee.Escape,h3=i=>i.code===Ee.ArrowLeft,zc=(i,e=!0)=>{const t=i.code;return[Ee.Enter,Ee.Space].includes(t)||!e&&t===Ee.ArrowRight},Fc=i=>{if(m3(i)){xn(i),d3(i.target);return}p3(i)&&(xn(i),f3(i.target))},Ir=i=>(i==null?void 0:i.pointerType)==="",Mr=async(i,e,t)=>{await Al(),i&&!i.classList.contains("opened")&&!e&&Qe(t)&&(t.set(!1),i.focus())},Vr=async(i,e,t)=>{await Al(),!!i&&e&&t&&i.firstChild.focus()},ml=async(i,e,t)=>{!!i&&t&&(e.set(!1),setTimeout(()=>{i.focus()},q0))},Hc=(i,e)=>{Fc(i),Dc(i)&&(xn(i),e())},pl=async(i,e,t)=>{if(zc(i,!1)){xn(i),e(),await Al();const n=t();n==null||n.focus()}},hl=async(i,e,t,n)=>{if(Fc(i),h3(i)){xn(i),e(),t.set(!0);return}Dc(i)&&(xn(i),n())},tn=(i,e)=>{zc(i)&&(xn(i),e())};function v3(i){Ue(i,"v-gew86s","ul.v-gew86s{position:absolute;border-radius:3px;background:rgba(0, 0, 0, 0.88);transition:visibility .1s,opacity .1s;font-size:13px;list-style:none;margin:0;padding:0;max-height:100%;max-width:100%;overflow-x:hidden;overflow-y:auto}li.v-gew86s{padding:8px 20px;cursor:pointer;position:relative;display:block;color:rgba(255, 255, 255, 0.72);font-size:13px;white-space:nowrap}li.v-gew86s:hover{background:rgba(66, 66, 66, .5);color:var(--white)}")}function Is(i){var N;let e,t,n,o,r,l,s=(i[9].features.saveDebugInfoToFile?K("menu_save_debug"):K("menu_copy_debug"))+"",a,c,f,m=K("menu_debug_overlay")+"",h,b,v,y,_=i[9].features.copyVideoLink&&((N=i[8].callbacks)==null?void 0:N.onCopyVideoLink)&&g3(i),C=i[11]&&i[5]!==Ln.CONNECTED&&!i[16]&&Vs(i),k=i[9].features.videoRotate&&!i[16]&&b3(i),w=i[9].showSupport&&!i[6]&&Bs(i);return{c(){e=T("ul"),_&&_.c(),t=R(),C&&C.c(),n=R(),k&&k.c(),o=R(),w&&w.c(),r=R(),l=T("li"),a=ze(s),c=R(),f=T("li"),h=ze(m),u(l,"tabindex","0"),u(l,"role","menuitem"),u(l,"aria-label",i[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",b=i[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")),u(f,"class","v-gew86s"),u(e,"role","menu"),Rt(e,"top",i[3]+"px"),Rt(e,"left",i[2]+"px"),u(e,"class","v-gew86s")},m(Q,M){E(Q,e,M),_&&_.m(e,null),p(e,t),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),p(e,l),p(l,a),p(e,c),p(e,f),p(f,h),i[40](e),v||(y=[be(l,"click",ot(i[19])),be(l,"keydown",i[29]),be(f,"click",ot(i[20])),be(f,"keydown",i[30]),be(e,"contextmenu",ri(i[37])),be(e,"keydown",i[23])],v=!0)},p(Q,M){var G;Q[9].features.copyVideoLink&&((G=Q[8].callbacks)!=null&&G.onCopyVideoLink)&&_.p(Q,M),Q[11]&&Q[5]!==Ln.CONNECTED&&!Q[16]?C?C.p(Q,M):(C=Vs(Q),C.c(),C.m(e,n)):C&&(C.d(1),C=null),Q[9].features.videoRotate&&!Q[16]&&k.p(Q,M),Q[9].showSupport&&!Q[6]?w?w.p(Q,M):(w=Bs(Q),w.c(),w.m(e,r)):w&&(w.d(1),w=null),M[0]&128&&b!==(b=Q[7]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))&&u(f,"aria-label",b),M[0]&8&&Rt(e,"top",Q[3]+"px"),M[0]&4&&Rt(e,"left",Q[2]+"px")},d(Q){Q&&P(e),_&&_.d(),C&&C.d(),k&&k.d(),w&&w.d(),i[40](null),v=!1,nt(y)}}}function g3(i){let e,t=K("menu_copy_video_link")+"",n,o,r,l,s,a=!i[4]&&!i[16]&&Ms(i);return{c(){e=T("li"),n=ze(t),o=R(),a&&a.c(),r=bt(),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){E(c,e,f),p(e,n),E(c,o,f),a&&a.m(c,f),E(c,r,f),l||(s=[be(e,"click",ot(i[38])),be(e,"keydown",i[24])],l=!0)},p(c,f){!c[4]&&!c[16]?a?a.p(c,f):(a=Ms(c),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(c){c&&(P(e),P(o),P(r)),a&&a.d(c),l=!1,nt(s)}}}function Ms(i){let e,t=K("menu_copy_video_link_with_timestamp")+"",n,o,r;return{c(){e=T("li"),n=ze(t),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,s){E(l,e,s),p(e,n),o||(r=[be(e,"click",ot(i[39])),be(e,"keydown",i[25])],o=!0)},p:W,d(l){l&&P(e),o=!1,nt(r)}}}function Vs(i){let e,t=K("menu_pip")+"",n,o,r;return{c(){e=T("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("menu_pip")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[be(e,"click",ot(i[21])),be(e,"keydown",i[26])],o=!0)},p:W,d(l){l&&P(e),o=!1,nt(r)}}}function b3(i){let e,t=K("menu_video_rotate")+"",n,o,r;return{c(){e=T("li"),n=ze(t),u(e,"tabindex","0"),u(e,"role","menuitem"),u(e,"aria-label",K("aria_label_menu_rotate")),u(e,"class","v-gew86s")},m(l,s){E(l,e,s),p(e,n),o||(r=[be(e,"click",ot(i[17])),be(e,"keydown",i[27])],o=!0)},p:W,d(l){l&&P(e),o=!1,nt(r)}}}function Bs(i){let e,t=K("menu_report")+"",n,o,r;return{c(){e=T("li"),n=ze(t),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,s){E(l,e,s),p(e,n),o||(r=[be(e,"click",ot(i[18])),be(e,"keydown",i[28])],o=!0)},p:W,d(l){l&&P(e),o=!1,nt(r)}}}function _3(i){let e,t=i[1]&&Is(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){n[1]?t?t.p(n,o):(t=Is(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:W,o:W,d(n){n&&P(e),t&&t.d(n)}}}function w3(i,e,t){var Pe;let n,o,r,l,s,{visible:a=!1}=e,{supportLink:c}=e,{x:f=0}=e,{y:m=0}=e,{playerContainerRef:h=void 0}=e,{controlsContainerRef:b=void 0}=e,{menuElementRef:v=void 0}=e,{returnFocus:y}=e,_=0,C=0;const k=St(),w=vn(),N=k.ui.contextMenuVisible,Q=k.ui.debugPanelVisible;z(i,Q,oe=>t(7,s=oe));const M=k.webApi.pictureInPictureApi,G=(Pe=k.webApi.pictureInPictureApi)==null?void 0:Pe.info.isActive$;z(i,G,oe=>t(6,l=oe));const re=k.state.chromecastState$;z(i,re,oe=>t(5,r=oe));const ie=k.state.isLive$;z(i,ie,oe=>t(4,o=oe));const O=k.state.positionExact$;z(i,O,oe=>t(41,n=oe));const $=k.state.isInteractive,S=()=>{N.set(!1)},D=(oe,X)=>{if(!v||!h||!b)return;const U=v.getBoundingClientRect(),Be=h.getBoundingClientRect();t(2,_=oe-Be.left),t(3,C=X-Be.top),_+U.width>Be.width&&t(2,_=Be.width-U.width),C+U.height>Be.height&&t(3,C=Be.height-U.height),t(2,_=Math.max(_,0)),t(3,C=Math.max(C,0))},le=()=>{S(),k.actions.internal.videoRotate()},L=()=>{window.open(c,"_blank"),S(),k.actions.internal.pause()},se=()=>{const oe=k.actions.internal.getDebugTextData();if(w.features.saveDebugInfoToFile){const X=new Blob([...oe],{type:"plain/text"}),U=window.URL.createObjectURL(X);z1(U,"vk_player_debug_info","txt")}else vr(k.actions.internal.getDebugTextData());S(),y==null||y()},me=()=>{Q.set(!0),S(),y==null||y()},ve=async()=>{try{M!=null&&M.isActive()?await(M==null?void 0:M.remove()):await(M==null?void 0:M.request())}finally{S(),y==null||y()}},ue=(oe=!1)=>{var X,U;if((X=k.callbacks)!=null&&X.onCopyVideoLink){const Be=(U=k.callbacks)==null?void 0:U.onCopyVideoLink(oe,n);Be&&vr(Be)}S()},Y=oe=>{Hc(oe,S)},ce=oe=>{tn(oe,()=>ue())},De=oe=>{tn(oe,()=>ue(!0))},fe=oe=>{tn(oe,()=>ve())},Ae=oe=>{tn(oe,()=>le())},Se=oe=>{tn(oe,()=>L())},ae=oe=>{tn(oe,()=>se())},Te=oe=>{tn(oe,()=>me())};function A(oe){Eo.call(this,i,oe)}const ne=()=>ue(),Me=()=>ue(!0);function Ce(oe){ke[oe?"unshift":"push"](()=>{v=oe,t(0,v)})}return i.$$set=oe=>{"visible"in oe&&t(1,a=oe.visible),"supportLink"in oe&&t(31,c=oe.supportLink),"x"in oe&&t(32,f=oe.x),"y"in oe&&t(33,m=oe.y),"playerContainerRef"in oe&&t(34,h=oe.playerContainerRef),"controlsContainerRef"in oe&&t(35,b=oe.controlsContainerRef),"menuElementRef"in oe&&t(0,v=oe.menuElementRef),"returnFocus"in oe&&t(36,y=oe.returnFocus)},i.$$.update=()=>{i.$$.dirty[1]&6&&D(f,m)},[v,a,_,C,o,r,l,s,k,w,Q,M,G,re,ie,O,$,le,L,se,me,ve,ue,Y,ce,De,fe,Ae,Se,ae,Te,c,f,m,h,b,y,A,ne,Me,Ce]}class y3 extends ye{constructor(e){super(),we(this,e,w3,_3,_e,{visible:1,supportLink:31,x:32,y:33,playerContainerRef:34,controlsContainerRef:35,menuElementRef:0,returnFocus:36},v3,[-1,-1])}}class k3{constructor(e){this.value=e,this.next=null}}class er{constructor(e){this.top=null,this.bottom=null,this.size=0,this.maxSize=e}push(e){const t=new k3(e);this.top?(this.top.next=t,this.top=t):(this.top=t,this.bottom=t),this.size++,this.size>this.maxSize&&this.bottom&&(this.bottom=this.bottom.next)}getValuesFromBottom(){const e=[];let t=this.bottom;for(;t;)e.push(t.value),t=t.next;return e}}function C3(i){Ue(i,"v-1ssl9eb",".container.v-1ssl9eb{display:inline-block;width:120px;height:16px}canvas.v-1ssl9eb{transform:scale(1, -1);margin-top:2px}")}function S3(i){let e,t;return{c(){e=T("div"),t=T("canvas"),u(t,"class","v-1ssl9eb"),u(e,"class","container v-1ssl9eb")},m(n,o){E(n,e,o),p(e,t),i[3](t)},p:W,i:W,o:W,d(n){n&&P(e),i[3](null)}}}const tr=16,ir=120,Rs=60;function P3(i,e,t,n,o){o===0&&(o=1),i.fillStyle="#fff",i.fillRect(e,t,n,o)}function T3(i,e,t){let{values:n=[]}=e,o,r;const l=ir/Rs;hn(()=>{t(0,o.width=ir,o),t(0,o.height=tr,o),t(2,r=o.getContext("2d"))});function s(a){ke[a?"unshift":"push"](()=>{o=a,t(0,o)})}return i.$$set=a=>{"values"in a&&t(1,n=a.values)},i.$$.update=()=>{if(i.$$.dirty&6&&r){let a=n[0];for(let f=1;f<n.length;f++)n[f]>a&&(a=n[f]);r.clearRect(0,0,ir,tr);let c=Rs-1;for(let f=n.length-1;f>=0;f--){const m=c*l,h=a>0?tr*(n[f]/a):0;P3(r,m,0,l,h),c--}}},[o,n,r,s]}class Br extends ye{constructor(e){super(),we(this,e,T3,S3,_e,{values:1},C3)}}function E3(i){Ue(i,"v-1gy2e68",".container.v-1gy2e68.v-1gy2e68.v-1gy2e68{background:rgba(28, 28, 28, 0.8);border-radius:4px;color:#fff;left:20px;position:absolute;top:45px;min-width:160px;font-size:10px;text-align:left}.container-mobile.v-1gy2e68.v-1gy2e68.v-1gy2e68{top:16px;left:16px}button.v-1gy2e68.v-1gy2e68.v-1gy2e68{position:absolute;right:5px;top:3px;cursor:pointer;outline:0;border:none;background-color:transparent;padding:0;color:#fff}.content.v-1gy2e68.v-1gy2e68.v-1gy2e68{padding:5px}.content.v-1gy2e68>div.v-1gy2e68>div.v-1gy2e68{display:inline-block;text-align:right;width:52px;padding:0 5px}")}function Ns(i){let e,t,n,o,r=i[0].id+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video id",n=R(),o=T("span"),l=ze(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].id+"")&&xe(l,r)},d(s){s&&P(e)}}}function Os(i){let e,t,n,o,r=i[0].provider+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Provider",n=R(),o=T("span"),l=ze(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].provider+"")&&xe(l,r)},d(s){s&&P(e)}}}function Ds(i){let e,t,n,o,r=i[0].viewport+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Viewport",n=R(),o=T("span"),l=ze(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].viewport+"")&&xe(l,r)},d(s){s&&P(e)}}}function zs(i){let e,t,n,o,r=i[0].videoSize+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="Video size",n=R(),o=T("span"),l=ze(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].videoSize+"")&&xe(l,r)},d(s){s&&P(e)}}}function Fs(i){let e,t,n,o,r=i[0].cdn+"",l;return{c(){e=T("div"),t=T("div"),t.textContent="CDN host",n=R(),o=T("span"),l=ze(r),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(s,a){E(s,e,a),p(e,t),p(e,n),p(e,o),p(o,l)},p(s,a){a&1&&r!==(r=s[0].cdn+"")&&xe(l,r)},d(s){s&&P(e)}}}function Hs(i){let e,t,n,o,r=i[0].volume+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Volume",n=R(),o=T("span"),l=ze(r),s=ze(" %"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].volume+"")&&xe(l,r)},d(a){a&&P(e)}}}function Us(i){let e,t,n,o,r=i[0].buffer.toFixed(2)+"",l,s;return{c(){e=T("div"),t=T("div"),t.textContent="Buffer",n=R(),o=T("span"),l=ze(r),s=ze(" s"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(a,c){E(a,e,c),p(e,t),p(e,n),p(e,o),p(o,l),p(o,s)},p(a,c){c&1&&r!==(r=a[0].buffer.toFixed(2)+"")&&xe(l,r)},d(a){a&&P(e)}}}function qs(i){let e,t,n,o,r,l,s=i[0].speed.toFixed(2)+"",a,c,f;return o=new Br({props:{values:i[5]}}),{c(){e=T("div"),t=T("div"),t.textContent="Network",n=R(),q(o.$$.fragment),r=R(),l=T("span"),a=ze(s),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&32&&(b.values=m[5]),o.$set(b),(!f||h&1)&&s!==(s=m[0].speed.toFixed(2)+"")&&xe(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function js(i){let e,t,n,o,r,l,s=i[0].bitrate.toFixed(2)+"",a,c,f;return o=new Br({props:{values:i[6]}}),{c(){e=T("div"),t=T("div"),t.textContent="V bitrate",n=R(),q(o.$$.fragment),r=R(),l=T("span"),a=ze(s),c=ze(" Kbps"),u(t,"class","v-1gy2e68"),u(e,"class","v-1gy2e68")},m(m,h){E(m,e,h),p(e,t),p(e,n),F(o,e,null),p(e,r),p(e,l),p(l,a),p(l,c),f=!0},p(m,h){const b={};h&64&&(b.values=m[6]),o.$set(b),(!f||h&1)&&s!==(s=m[0].bitrate.toFixed(2)+"")&&xe(a,s)},i(m){f||(d(o.$$.fragment,m),f=!0)},o(m){g(o.$$.fragment,m),f=!1},d(m){m&&P(e),H(o)}}}function A3(i){let e,t,n,o,r,l,s,a,c=i[0].version+"",f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me,ve,ue,Y,ce,De,fe,Ae=i[0].id&&Ns(i),Se=i[0].provider&&Os(i),ae=i[0].viewport&&Ds(i),Te=i[0].videoSize&&zs(i),A=i[0].cdn&&Fs(i),ne=i[0].volume&&Hs(i),Me=i[0].buffer&&Us(i),Ce=i[0].speed&&qs(i),Pe=i[0].bitrate&&js(i);return me=new Br({props:{values:i[4]}}),{c(){e=T("div"),t=T("button"),t.textContent="[x]",n=R(),o=T("div"),r=T("div"),l=T("div"),l.textContent="Version",s=R(),a=T("span"),f=ze(c),m=R(),Ae&&Ae.c(),h=R(),Se&&Se.c(),b=R(),ae&&ae.c(),v=R(),Te&&Te.c(),y=R(),A&&A.c(),_=R(),ne&&ne.c(),C=R(),Me&&Me.c(),k=R(),w=T("div"),N=T("div"),N.textContent="Dropped",Q=R(),M=T("span"),G=ze(i[2]),re=ze(" / "),ie=ze(i[1]),O=ze(" frames"),$=R(),Ce&&Ce.c(),S=R(),Pe&&Pe.c(),D=R(),le=T("div"),L=T("div"),L.textContent="FPS",se=R(),q(me.$$.fragment),ve=R(),ue=T("span"),Y=ze(i[3]),u(t,"class","close v-1gy2e68"),u(t,"title","\u0437\u0430\u043A\u0440\u044B\u0442\u044C"),u(l,"class","v-1gy2e68"),u(r,"class","v-1gy2e68"),u(N,"class","v-1gy2e68"),u(w,"class","v-1gy2e68"),u(L,"class","v-1gy2e68"),u(le,"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")),V(e,"container-mobile",i[7])},m(oe,X){E(oe,e,X),p(e,t),p(e,n),p(e,o),p(o,r),p(r,l),p(r,s),p(r,a),p(a,f),p(o,m),Ae&&Ae.m(o,null),p(o,h),Se&&Se.m(o,null),p(o,b),ae&&ae.m(o,null),p(o,v),Te&&Te.m(o,null),p(o,y),A&&A.m(o,null),p(o,_),ne&&ne.m(o,null),p(o,C),Me&&Me.m(o,null),p(o,k),p(o,w),p(w,N),p(w,Q),p(w,M),p(M,G),p(M,re),p(M,ie),p(M,O),p(o,$),Ce&&Ce.m(o,null),p(o,S),Pe&&Pe.m(o,null),p(o,D),p(o,le),p(le,L),p(le,se),F(me,le,null),p(le,ve),p(le,ue),p(ue,Y),ce=!0,De||(fe=be(t,"click",ot(i[9])),De=!0)},p(oe,[X]){(!ce||X&1)&&c!==(c=oe[0].version+"")&&xe(f,c),oe[0].id?Ae?Ae.p(oe,X):(Ae=Ns(oe),Ae.c(),Ae.m(o,h)):Ae&&(Ae.d(1),Ae=null),oe[0].provider?Se?Se.p(oe,X):(Se=Os(oe),Se.c(),Se.m(o,b)):Se&&(Se.d(1),Se=null),oe[0].viewport?ae?ae.p(oe,X):(ae=Ds(oe),ae.c(),ae.m(o,v)):ae&&(ae.d(1),ae=null),oe[0].videoSize?Te?Te.p(oe,X):(Te=zs(oe),Te.c(),Te.m(o,y)):Te&&(Te.d(1),Te=null),oe[0].cdn?A?A.p(oe,X):(A=Fs(oe),A.c(),A.m(o,_)):A&&(A.d(1),A=null),oe[0].volume?ne?ne.p(oe,X):(ne=Hs(oe),ne.c(),ne.m(o,C)):ne&&(ne.d(1),ne=null),oe[0].buffer?Me?Me.p(oe,X):(Me=Us(oe),Me.c(),Me.m(o,k)):Me&&(Me.d(1),Me=null),(!ce||X&4)&&xe(G,oe[2]),(!ce||X&2)&&xe(ie,oe[1]),oe[0].speed?Ce?(Ce.p(oe,X),X&1&&d(Ce,1)):(Ce=qs(oe),Ce.c(),d(Ce,1),Ce.m(o,S)):Ce&&(pe(),g(Ce,1,1,()=>{Ce=null}),he()),oe[0].bitrate?Pe?(Pe.p(oe,X),X&1&&d(Pe,1)):(Pe=js(oe),Pe.c(),d(Pe,1),Pe.m(o,D)):Pe&&(pe(),g(Pe,1,1,()=>{Pe=null}),he());const U={};X&16&&(U.values=oe[4]),me.$set(U),(!ce||X&8)&&xe(Y,oe[3]),(!ce||X&128)&&V(e,"container-mobile",oe[7])},i(oe){ce||(d(Ce),d(Pe),d(me.$$.fragment,oe),ce=!0)},o(oe){g(Ce),g(Pe),g(me.$$.fragment,oe),ce=!1},d(oe){oe&&P(e),Ae&&Ae.d(),Se&&Se.d(),ae&&ae.d(),Te&&Te.d(),A&&A.d(),ne&&ne.d(),Me&&Me.d(),Ce&&Ce.d(),Pe&&Pe.d(),H(me),De=!1,fe()}}}function L3(i,e,t){let n;const o=St(),r=o.ui.debugPanelVisible,l=o.ui.isMobile;z(i,l,w=>t(7,n=w));const s=()=>{Pn.remove(fr),r.set(!1)};let a=o.actions.internal.getDebugPanelData(),c=o.actions.internal.getVideoElement(),f=0,m=0,h=0;const b=new er(60),v=new er(60),y=new er(60);let _=[],C=[],k=[];return hn(()=>{Pn.set(fr,"true"),o.actions.internal.startLogging(),c&&(t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames),t(1,f=c.getVideoPlaybackQuality().totalVideoFrames));const w=window.setInterval(()=>{t(0,a=o.actions.internal.getDebugPanelData())},500);let N;return c&&(N=window.setInterval(()=>{if(c){t(2,m=c.getVideoPlaybackQuality().droppedVideoFrames);const Q=c.getVideoPlaybackQuality().totalVideoFrames;t(3,h=Q-f),t(1,f=Q),b.push(h),a.speed&&v.push(a.speed),a.bitrate&&y.push(a.bitrate),t(4,_=b.getValuesFromBottom()),t(5,C=v.getValuesFromBottom()),t(6,k=y.getValuesFromBottom())}},1e3)),()=>{o.actions.internal.stopLogging(),clearInterval(w),N&&clearInterval(N)}}),[a,f,m,h,_,C,k,n,l,s]}class Uc extends ye{constructor(e){super(),we(this,e,L3,A3,_e,{},E3)}}function I3(i){Ue(i,"v-1ome55p",".close.v-1ome55p{cursor:pointer;opacity:0.8;transition:opacity 0.2s;position:relative;width:16px;height:16px}.close.v-1ome55p:hover{opacity:1}.close.v-1ome55p:before,.close.v-1ome55p:after{position:absolute;left:8px;content:' ';height:16px;width:2px;background-color:var(--white)}.close.v-1ome55p:before{transform:rotate(45deg)}.close.v-1ome55p:after{transform:rotate(-45deg)}")}function M3(i){let e,t,n;return{c(){e=T("div"),u(e,"class","close v-1ome55p")},m(o,r){E(o,e,r),t||(n=be(e,"click",ot(i[0])),t=!0)},p:W,i:W,o:W,d(o){o&&P(e),t=!1,n()}}}function V3(i){function e(t){Eo.call(this,i,t)}return[e]}class B3 extends ye{constructor(e){super(),we(this,e,V3,M3,_e,{},I3)}}function R3(i){Ue(i,"v-8jhsry",`.timer.v-8jhsry{border-radius:50%;transition:background .2s;background:rgba(31, 31, 31, .65);width:50px;height:50px;display:flex;align-items:center;justify-content:space-around}.timer.v-8jhsry:hover{background:rgba(31, 31, 31, .85)
25
+ }.timer-canvas.v-8jhsry{width:50px;height:50px;position:absolute}.timer-play-icon.v-8jhsry{width:22px;height:26px}`)}function N3(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("canvas"),n=R(),o=B("svg"),r=B("g"),l=B("g"),s=B("path"),u(t,"class","timer-canvas v-8jhsry"),u(t,"width","100"),u(t,"height","100"),u(s,"class","_play"),u(s,"d","m8.13340613 5.10548415 10.49681277 6.24354325c.3559987.2117494.472936.6720001.2611866 1.0279989-.0638111.1072809-.1533894.1969388-.2606135.2608453l-10.4968128 6.256187c-.35581027.2120659-.81616483.095538-1.02823068-.2602722-.06921066-.1161237-.10574852-.2487949-.10574852-.3839792v-12.49973035c0-.41421357.33578644-.75.75-.75.13495801 0 .26741554.03641567.38340613.1054073z"),u(s,"fill","#fff"),u(l,"fill-rule","nonzero"),u(r,"fill","none"),u(r,"fill-rule","evenodd"),u(o,"class","timer-play-icon v-8jhsry"),u(o,"viewBox","0 0 24 24"),u(o,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","timer v-8jhsry")},m(a,c){E(a,e,c),p(e,t),i[2](t),p(e,n),p(e,o),p(o,r),p(r,l),p(l,s)},p:W,i:W,o:W,d(a){a&&P(e),i[2](null)}}}const O3=5e3;function D3(i,e,t){let{onTimerEnded:n=Ye}=e,o;hn(()=>{let l;const s=o.getContext("2d");if(!s)return;s.lineWidth=6,s.lineCap="round",s.strokeStyle="#fff";const a=Date.now(),c=()=>{const f=(Date.now()-a)/O3;f<1?(s.clearRect(0,0,100,100),s.beginPath(),s.arc(50,50,47,-Math.PI/2,-Math.PI/2+Math.PI*2*f),s.stroke(),l=requestAnimationFrame(c)):n()};return l=requestAnimationFrame(c),()=>{cancelAnimationFrame(l)}});function r(l){ke[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"onTimerEnded"in l&&t(1,n=l.onTimerEnded)},[o,n,r]}class z3 extends ye{constructor(e){super(),we(this,e,D3,N3,_e,{onTimerEnded:1},R3)}}function F3(i){Ue(i,"v-kisfwc",".overlay.v-kisfwc{width:100%;height:100%;background:rgba(0, 0, 0, 0.72);position:absolute}.next-video.v-kisfwc{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;width:362px;flex-direction:column}.top.v-kisfwc{display:flex;justify-content:space-between}.caption.v-kisfwc{font-size:11px;font-weight:bold;color:var(--white);text-transform:uppercase;opacity:0.8}.row.v-kisfwc{height:102px;background:rgba(48, 48, 48, .8);cursor:pointer;margin-top:6px;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.column.v-kisfwc{display:flex;flex-direction:column;flex-basis:50%}.thumb.v-kisfwc{width:100%;height:100%;background:no-repeat center;background-size:cover;display:flex;align-items:center;position:relative;justify-content:space-around}.thumb-overlay.v-kisfwc{width:100%;height:100%;background:var(--black);opacity:0.3;position:absolute}.title.v-kisfwc{padding:10px 16px;font-size:12px;font-weight:bold;color:var(--white);line-height:1.6;max-height:52px;overflow:hidden}")}function Ws(i){let e,t;return e=new z3({props:{onTimerEnded:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&4&&(r.onTimerEnded=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function H3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q;s=new B3({}),s.$on("click",i[4]);let M=i[3]&&Ws(i);return{c(){e=T("div"),t=R(),n=T("div"),o=T("div"),r=T("div"),r.textContent="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043E",l=R(),q(s.$$.fragment),a=R(),c=T("div"),f=T("div"),m=T("div"),h=T("div"),b=R(),M&&M.c(),y=R(),_=T("div"),C=T("div"),k=ze(i[0]),u(e,"class","overlay v-kisfwc"),u(r,"class","caption v-kisfwc"),u(o,"class","top v-kisfwc"),u(h,"class","thumb-overlay v-kisfwc"),u(m,"class","thumb v-kisfwc"),u(m,"style",v=`background-image: url('${i[1]}')`),u(f,"class","column v-kisfwc"),u(C,"class","title v-kisfwc"),u(_,"class","column v-kisfwc"),u(c,"class","row v-kisfwc"),u(n,"class","next-video v-kisfwc")},m(G,re){E(G,e,re),E(G,t,re),E(G,n,re),p(n,o),p(o,r),p(o,l),F(s,o,null),p(n,a),p(n,c),p(c,f),p(f,m),p(m,h),p(m,b),M&&M.m(m,null),p(c,y),p(c,_),p(_,C),p(C,k),w=!0,N||(Q=be(c,"click",function(){Sn(i[2])&&i[2].apply(this,arguments)}),N=!0)},p(G,[re]){i=G,i[3]?M?(M.p(i,re),re&8&&d(M,1)):(M=Ws(i),M.c(),d(M,1),M.m(m,null)):M&&(pe(),g(M,1,1,()=>{M=null}),he()),(!w||re&2&&v!==(v=`background-image: url('${i[1]}')`))&&u(m,"style",v),(!w||re&1)&&xe(k,i[0])},i(G){w||(d(s.$$.fragment,G),d(M),w=!0)},o(G){g(s.$$.fragment,G),g(M),w=!1},d(G){G&&(P(e),P(t),P(n)),H(s),M&&M.d(),N=!1,Q()}}}function U3(i,e,t){let{title:n}=e,{thumb:o}=e,{playNextVideo:r}=e,l=!0;const s=()=>t(3,l=!1);return i.$$set=a=>{"title"in a&&t(0,n=a.title),"thumb"in a&&t(1,o=a.thumb),"playNextVideo"in a&&t(2,r=a.playNextVideo)},[n,o,r,l,s]}class q3 extends ye{constructor(e){super(),we(this,e,U3,H3,_e,{title:0,thumb:1,playNextVideo:2},F3)}}const qc=(i,e)=>Math.min(+(i+e).toFixed(2),1),jc=(i,e)=>Math.max(+(i-e).toFixed(2),0),Wc=(i,e,t)=>{const n=qc(e,t);e<1&&i.actions.internal.setVolume(n)},Zc=(i,e,t)=>{const n=jc(e,t);e>0&&i.actions.internal.setVolume(n)};function j3(i){Ue(i,"v-10kkmxz",".keyboard-controls.v-10kkmxz{position:absolute;left:0;right:0;top:0;bottom:0}")}function W3(i){let e,t,n,o;const r=i[22].default,l=Nn(r,i,i[21],null);return{c(){e=T("div"),l&&l.c(),u(e,"class","keyboard-controls v-10kkmxz"),u(e,"tabindex","0")},m(s,a){E(s,e,a),l&&l.m(e,null),i[23](e),t=!0,n||(o=[be(e,"keyup",i[13]),be(e,"keydown",i[12])],n=!0)},p(s,a){l&&l.p&&(!t||a[0]&2097152)&&Dn(l,r,s,s[21],t?On(r,s[21],a,null):zn(s[21]),null)},i(s){t||(d(l,s),t=!0)},o(s){g(l,s),t=!1},d(s){s&&P(e),l&&l.d(s),i[23](null),n=!1,nt(o)}}}function Z3(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{$$slots:v={},$$scope:y}=e,{isAds:_}=e,{hideContextMenu:C}=e,{toggleFullscreen:k}=e,{showHotKeyHelpers:w}=e,{showKeyMap:N}=e,{fakePlayButtonHandler:Q}=e;const M=St(),G=vn(),re=M.getLogger().createComponentLog("KeyboardControls component"),ie=M.state.playbackState$;z(i,ie,A=>t(27,o=A));const O=M.ads.playbackState;z(i,O,A=>t(26,n=A));const $=M.state.positionExact$;z(i,$,A=>t(33,f=A));const S=M.state.duration$;z(i,S,A=>t(32,c=A));const D=M.state.volume$;z(i,D,A=>t(36,b=A));const le=M.ui.controls.disabledControls$;z(i,le,A=>t(31,a=A));const L=M.state.muted$;z(i,L,A=>t(29,l=A));const se=M.state.currentSubtitle$;z(i,se,A=>t(28,r=A));const me=M.state.currentPlaybackRate$;z(i,me,A=>t(34,m=A));const ve=M.state.availablePlaybackRates$;z(i,ve,A=>t(35,h=A));const ue=M.state.isEnded$;z(i,ue,A=>t(30,s=A));let Y=0,ce=!0,De;const fe=()=>De==null?void 0:De.focus(),Ae=A=>(A!==ce&&(ce=A,Y=0),Y+=1,(G.controls.seekStepKeyboard+G.controls.seekStepKeyboard*Y)/1e3),Se=A=>{var We;const ne=A.target,Me=(We=ne==null?void 0:ne.getAttribute("role"))==null?void 0:We.includes("menuitem"),Ce=ne.classList.contains("btn"),Pe=A.code;if(Ce&&Pe===Ee.Space)return;const oe=K0.has(Pe);if(Me&&oe)return;const X=!Z0.has(Pe);if(A.ctrlKey&&X||A.altKey&&X||A.metaKey)return;const U=Me&&Pe===Ee.Escape;G0.has(Pe)||U||C();const Be=o===$t.PLAYING||o===$t.PAUSED,$e=_&&(n===li.PAUSED||n===li.PLAYING),lt=!$e&&!a.has(ut.TIMELINE);if(Be||$e)switch(re({message:`key down, code: ${Pe}`}),Pe){case Ee.KeyJ:case Ee.ArrowLeft:{if(!lt)break;if(A.ctrlKey||A.altKey){const Ie=M.actions.internal.getPrevEpisode();M.actions.internal.seekToPrevEpisode(Ie),Ie&&w({type:Ge.EPISODE_PREV,text:Ie.text}),A.preventDefault()}else{const Ie=A.shiftKey?Ae(!1):G.controls.seekStepKeyboard/1e3,Je=Math.max(f-Ie,0);f>0&&(M.actions.internal.seekTime(Je,Ut.DOUBLE_TAP),w({type:Ge.BACKWARD_SEEK,text:Ie.toString()}),A.preventDefault())}break}case Ee.KeyL:case Ee.ArrowRight:{if(!lt)break;if(A.ctrlKey||A.altKey){const Ie=M.actions.internal.getNextEpisode();M.actions.internal.seekToNextEpisode(Ie),Ie&&w({type:Ge.EPISODE_NEXT,text:Ie.text}),A.preventDefault()}else{const Ie=A.shiftKey?Ae(!0):G.controls.seekStepKeyboard/1e3,Je=Math.min(f+Ie,c);Math.round(f)<Math.round(c)&&(M.actions.internal.seekTime(Je,Ut.DOUBLE_TAP),w({type:Ge.FORWARD_SEEK,text:Ie.toString()}),A.preventDefault())}break}case Ee.ArrowUp:{const Ie=b,Je=G.controls.volumeStepKeyboard,mt=Ie<=1;if(Wc(M,Ie,Je),mt){const st=Math.round(qc(Ie,Je)*100).toString();w({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:st}})}A.preventDefault();break}case Ee.ArrowDown:{const Ie=b,Je=G.controls.volumeStepKeyboard,mt=Ie>=0;if(Zc(M,Ie,Je),mt){const st=Math.round(jc(Ie,Je)*100).toString();w({type:Ge.VOLUME,t:{key:"hotkey_helper_current_volume",value:st}})}A.preventDefault();break}case Ee.Comma:{if(A.shiftKey){M.actions.internal.decrementPlaybackRate();const Ie=h.find(Je=>Je.value===m);w({type:Ge.RATE_DOWN,text:Ie==null?void 0:Ie.displayValue}),A.preventDefault()}else{if($e||o!==$t.PAUSED)break;const Ie=Math.max(f-G.controls.seekStepFrame/1e3,0);f>0&&(w({type:Ge.BACKWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ie,Ut.DOUBLE_TAP),A.preventDefault())}break}case Ee.Period:{if(A.shiftKey){M.actions.internal.incrementPlaybackRate();const Ie=h.find(Je=>Je.value===m);w({type:Ge.RATE_UP,text:Ie==null?void 0:Ie.displayValue}),A.preventDefault()}else{if($e||o!==$t.PAUSED)break;const Ie=Math.min(f+G.controls.seekStepFrame/1e3,c);f<c&&(w({type:Ge.FORWARD_SEEK}),M.actions.internal.clearDelayedBufferingCheckTimeout(),M.actions.internal.seekTime(Ie,Ut.DOUBLE_TAP),A.preventDefault())}break}case Ee.KeyK:case Ee.Space:if(!a.has(ut.PLAY_BUTTON))if(Q)Q();else{M.actions.internal.togglePlay();let Ie=Ge.PLAY;o===$t.PAUSED?Ie=Ge.PAUSE:s&&(Ie=Ge.REPLAY),w({type:Ie})}A.preventDefault();break;case Ee.KeyM:{w({type:l?Ge.VOLUME:Ge.MUTE}),M.actions.internal.toggleMuted(),A.preventDefault();break}case Ee.KeyF:k(),A.preventDefault();break;case Ee.KeyC:M.actions.internal.toggleSubtitle(),r.value!=="off"?w({type:Ge.SUBTITLES_ON,text:r==null?void 0:r.displayValue}):w({type:Ge.SUBTITLES_OFF}),A.preventDefault();break;case Ee.KeyI:M.actions.internal.togglePictureInPicture(),A.preventDefault();break;case Ee.Digit1:case Ee.Numpad1:w(),M.actions.internal.seekToPercent(.1,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit2:case Ee.Numpad2:w(),M.actions.internal.seekToPercent(.2,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit3:case Ee.Numpad3:w(),M.actions.internal.seekToPercent(.3,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit4:case Ee.Numpad4:w(),M.actions.internal.seekToPercent(.4,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit5:case Ee.Numpad5:w(),M.actions.internal.seekToPercent(.5,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit6:case Ee.Numpad6:w(),M.actions.internal.seekToPercent(.6,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit7:case Ee.Numpad7:w(),M.actions.internal.seekToPercent(.7,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit8:case Ee.Numpad8:w(),M.actions.internal.seekToPercent(.8,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit9:case Ee.Numpad9:w(),M.actions.internal.seekToPercent(.9,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Digit0:case Ee.Numpad0:w(),M.actions.internal.seekToPercent(0,Ut.DOUBLE_TAP),A.preventDefault();break;case Ee.Slash:{A.shiftKey&&G.features.hotKeyMapModal&&(N(),A.preventDefault());break}case Ee.ShiftLeft:case Ee.ShiftRight:A.preventDefault();break;case Ee.Tab:case Ee.Escape:case Ee.Enter:break;default:f0(Pe);break}},ae=A=>{const ne=A.code;if(A.ctrlKey||A.altKey||A.metaKey)return;const Me=o===$t.PLAYING||o===$t.PAUSED,Ce=_&&(n===li.PAUSED||n===li.PLAYING);if(Me||Ce)switch(ne){case Ee.ShiftLeft:case Ee.ShiftRight:Y=0;break}};function Te(A){ke[A?"unshift":"push"](()=>{De=A,t(0,De)})}return i.$$set=A=>{"isAds"in A&&t(14,_=A.isAds),"hideContextMenu"in A&&t(15,C=A.hideContextMenu),"toggleFullscreen"in A&&t(16,k=A.toggleFullscreen),"showHotKeyHelpers"in A&&t(17,w=A.showHotKeyHelpers),"showKeyMap"in A&&t(18,N=A.showKeyMap),"fakePlayButtonHandler"in A&&t(19,Q=A.fakePlayButtonHandler),"$$scope"in A&&t(21,y=A.$$scope)},[De,ie,O,$,S,D,le,L,se,me,ve,ue,Se,ae,_,C,k,w,N,Q,fe,y,v,Te]}class K3 extends ye{constructor(e){super(),we(this,e,Z3,W3,_e,{isAds:14,hideContextMenu:15,toggleFullscreen:16,showHotKeyHelpers:17,showKeyMap:18,fakePlayButtonHandler:19,focus:20},j3,[-1,-1])}get focus(){return this.$$.ctx[20]}}function G3(i){Ue(i,"v-8nkw5s",".container.v-8nkw5s.v-8nkw5s{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none;display:flex}.dot.v-8nkw5s.v-8nkw5s:nth-child(1){animation-delay:calc(0 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(2){animation-delay:calc(1 * 180ms)}.dot.v-8nkw5s.v-8nkw5s:nth-child(3){animation-delay:calc(2 * 180ms)}@keyframes v-8nkw5s-dot_animation{0%{opacity:0.2}30%{opacity:1}100%{opacity:0.2}}.dot.v-8nkw5s.v-8nkw5s{border-radius:4px;width:8px;height:8px;background:var(--white);animation-duration:750ms;animation-name:v-8nkw5s-dot_animation;animation-iteration-count:infinite}.dot.v-8nkw5s+.dot.v-8nkw5s{margin-left:4px}")}function Y3(i){let e;return{c(){e=T("div"),e.innerHTML='<div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div> <div class="dot v-8nkw5s"></div>',u(e,"class","container v-8nkw5s")},m(t,n){E(t,e,n)},p:W,i:W,o:W,d(t){t&&P(e)}}}class Kc extends ye{constructor(e){super(),we(this,e,null,Y3,_e,{},G3)}}function X3(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z"),u(n,"fill","#fff"),u(o,"d","M7.713 6.087a1.15 1.15 0 1 0-1.626 1.626L10.374 12l-4.287 4.287a1.15 1.15 0 0 0 1.626 1.626L12 13.626l4.287 4.287a1.15 1.15 0 0 0 1.626-1.626L13.626 12l4.287-4.287a1.15 1.15 0 1 0-1.626-1.626L12 10.374 7.713 6.087Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2422_111980"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2422_111980"),u(b,"result","shape"),u(l,"id","a"),u(l,"x",".5"),u(l,"y",".5"),u(l,"width","23"),u(l,"height","23"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","cross-icon")},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p:W,i:W,o:W,d(v){v&&P(e)}}}class Q3 extends ye{constructor(e){super(),we(this,e,null,X3,_e,{})}}function J3(i){Ue(i,"v-1anemql",".btn.v-1anemql{padding:8px;margin:0;height:var(--controls-height);display:flex;flex-direction:row;align-items:center}.w-max.v-1anemql{width:100%}.btn--live.v-1anemql{padding:10px 4px}.btn-m.v-1anemql{position:absolute;left:12px;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.btn-m--play.v-1anemql{width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center;position:relative;padding:16px}.btn.v-1anemql:disabled{cursor:default;pointer-events:none}.btn.v-1anemql:not(.btn-full-opacity):disabled{opacity:0.4}.btn.v-1anemql:not(:disabled):hover{opacity:0.8}.pr-0.v-1anemql{padding-right:0}.pl-0.v-1anemql{padding-left:0}")}function x3(i){let e,t,n,o,r,l,s,a,c,f,m,h;const b=i[13].default,v=Nn(b,i,i[12],null);return{c(){var y,_,C,k,w,N;e=T("button"),v&&v.c(),u(e,"class",t="btn "+i[1]+" v-1anemql"),u(e,"style",n=i[2]||null),e.disabled=o=(y=i[3])!=null?y:null,u(e,"aria-hidden",r=(_=i[5])!=null?_:null),u(e,"aria-label",l=(C=i[6])!=null?C:null),u(e,"aria-keyshortcuts",s=(k=i[7])!=null?k:null),u(e,"aria-expanded",a=(w=i[8])!=null?w:null),u(e,"data-testid",c=(N=i[4])!=null?N:null)},m(y,_){E(y,e,_),v&&v.m(e,null),i[15](e),f=!0,m||(h=[be(e,"pointerdown",ot(ri(i[14]))),be(e,"click",ot(ri(function(){Sn(i[9]===Ye?null:i[9])&&(i[9]===Ye?null:i[9]).apply(this,arguments)}))),be(e,"focus",ri(function(){Sn(i[10]===Ye?null:i[10])&&(i[10]===Ye?null:i[10]).apply(this,arguments)})),be(e,"blur",ri(function(){Sn(i[11]===Ye?null:i[11])&&(i[11]===Ye?null:i[11]).apply(this,arguments)}))],m=!0)},p(y,[_]){var C,k,w,N,Q,M;i=y,v&&v.p&&(!f||_&4096)&&Dn(v,b,i,i[12],f?On(b,i[12],_,null):zn(i[12]),null),(!f||_&2&&t!==(t="btn "+i[1]+" v-1anemql"))&&u(e,"class",t),(!f||_&4&&n!==(n=i[2]||null))&&u(e,"style",n),(!f||_&8&&o!==(o=(C=i[3])!=null?C:null))&&(e.disabled=o),(!f||_&32&&r!==(r=(k=i[5])!=null?k:null))&&u(e,"aria-hidden",r),(!f||_&64&&l!==(l=(w=i[6])!=null?w:null))&&u(e,"aria-label",l),(!f||_&128&&s!==(s=(N=i[7])!=null?N:null))&&u(e,"aria-keyshortcuts",s),(!f||_&256&&a!==(a=(Q=i[8])!=null?Q:null))&&u(e,"aria-expanded",a),(!f||_&16&&c!==(c=(M=i[4])!=null?M:null))&&u(e,"data-testid",c)},i(y){f||(d(v,y),f=!0)},o(y){g(v,y),f=!1},d(y){y&&P(e),v&&v.d(y),i[15](null),m=!1,nt(h)}}}function $3(i,e,t){let{$$slots:n={},$$scope:o}=e,{className:r=""}=e,{style:l=""}=e,{disabled:s=void 0}=e,{testId:a=void 0}=e,{ariaHidden:c=void 0}=e,{ariaLabel:f=void 0}=e,{ref:m=void 0}=e,{ariaKeyShortCut:h=void 0}=e,{ariaExpanded:b=void 0}=e,{click:v=Ye}=e,{focus:y=Ye}=e,{blur:_=Ye}=e;function C(w){Eo.call(this,i,w)}function k(w){ke[w?"unshift":"push"](()=>{m=w,t(0,m)})}return i.$$set=w=>{"className"in w&&t(1,r=w.className),"style"in w&&t(2,l=w.style),"disabled"in w&&t(3,s=w.disabled),"testId"in w&&t(4,a=w.testId),"ariaHidden"in w&&t(5,c=w.ariaHidden),"ariaLabel"in w&&t(6,f=w.ariaLabel),"ref"in w&&t(0,m=w.ref),"ariaKeyShortCut"in w&&t(7,h=w.ariaKeyShortCut),"ariaExpanded"in w&&t(8,b=w.ariaExpanded),"click"in w&&t(9,v=w.click),"focus"in w&&t(10,y=w.focus),"blur"in w&&t(11,_=w.blur),"$$scope"in w&&t(12,o=w.$$scope)},[m,r,l,s,a,c,f,h,b,v,y,_,o,n,C,k]}class Si extends ye{constructor(e){super(),we(this,e,$3,x3,_e,{className:1,style:2,disabled:3,testId:4,ariaHidden:5,ariaLabel:6,ref:0,ariaKeyShortCut:7,ariaExpanded:8,click:9,focus:10,blur:11},J3)}}function ep(i){Ue(i,"v-1witlsj",".modal-overlay.v-1witlsj{position:absolute;top:0;bottom:0;left:0;right:0;background:transparent;display:flex;align-items:center;justify-content:center}.modal-container.v-1witlsj{display:flex;flex-direction:column;width:calc(100% - 32px);max-width:600px;height:calc(100% - 24px);max-height:490px;background:var(--mobile-settings-bg);color:var(--white);border-radius:8px}.modal-header.v-1witlsj{box-sizing:border-box;display:flex;justify-content:space-between;align-items:start;height:40px;padding:8px 10px;border-bottom:1px solid var(--white-alpha-24)}.modal-title.v-1witlsj{margin:3px 0 0 6px;color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.modal-scroll.v-1witlsj{overflow-y:auto;overflow-x:hidden;margin:8px 4px 8px 0;height:100%}.modal-scroll.v-1witlsj::-webkit-scrollbar{width:8px}.modal-scroll.v-1witlsj::-webkit-scrollbar-track{box-shadow:none;background-color:transparent;border-radius:4px;margin-right:2px}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.modal-scroll.v-1witlsj::-webkit-scrollbar-thumb:hover{background-color:#777}.modal-main.v-1witlsj{margin:-8px -4px 0 0}")}function Zs(i){let e,t,n,o,r,l=i[2]&&Ks(i);return{c(){e=T("div"),t=T("h3"),n=ze(i[3]),o=R(),l&&l.c(),u(t,"class","modal-title v-1witlsj"),u(e,"class","modal-header v-1witlsj")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(e,o),l&&l.m(e,null),r=!0},p(s,a){(!r||a&8)&&xe(n,s[3]),s[2]?l?(l.p(s,a),a&4&&d(l,1)):(l=Ks(s),l.c(),d(l,1),l.m(e,null)):l&&(pe(),g(l,1,1,()=>{l=null}),he())},i(s){r||(d(l),r=!0)},o(s){g(l),r=!1},d(s){s&&P(e),l&&l.d()}}}function Ks(i){let e,t;return e=new Si({props:{click:i[0],testId:"close-modal",style:"padding: 0; height: 24px; width: 24px",ariaLabel:K("hotkey_map_modal_close_btn_text"),$$slots:{default:[tp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.click=n[0]),o&32&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function tp(i){let e,t;return e=new Q3({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ip(i){let e,t,n,o,r,l,s=i[1]&&Zs(i);const a=i[4].default,c=Nn(a,i,i[5],null);return{c(){e=T("div"),t=T("div"),s&&s.c(),n=R(),o=T("div"),r=T("div"),c&&c.c(),u(r,"class","modal-main v-1witlsj"),u(o,"class","modal-scroll v-1witlsj"),u(t,"class","modal-container v-1witlsj"),u(e,"class","modal-overlay v-1witlsj")},m(f,m){E(f,e,m),p(e,t),s&&s.m(t,null),p(t,n),p(t,o),p(o,r),c&&c.m(r,null),l=!0},p(f,[m]){f[1]?s?(s.p(f,m),m&2&&d(s,1)):(s=Zs(f),s.c(),d(s,1),s.m(t,n)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),c&&c.p&&(!l||m&32)&&Dn(c,a,f,f[5],l?On(a,f[5],m,null):zn(f[5]),null)},i(f){l||(d(s),d(c,f),l=!0)},o(f){g(s),g(c,f),l=!1},d(f){f&&P(e),s&&s.d(),c&&c.d(f)}}}function np(i,e,t){let{$$slots:n={},$$scope:o}=e,{onClose:r}=e,{showHeader:l=!0}=e,{showCloseCross:s=!0}=e,{title:a}=e;return i.$$set=c=>{"onClose"in c&&t(0,r=c.onClose),"showHeader"in c&&t(1,l=c.showHeader),"showCloseCross"in c&&t(2,s=c.showCloseCross),"title"in c&&t(3,a=c.title),"$$scope"in c&&t(5,o=c.$$scope)},[r,l,s,a,n,o]}class op extends ye{constructor(e){super(),we(this,e,np,ip,_e,{onClose:0,showHeader:1,showCloseCross:2,title:3},ep)}}const lp=new Set(["BR"]),Gs=i=>{var e;const t=document.createElement("DIV");t.innerHTML=i;const n=t.querySelectorAll("*");let o=n.length;for(;o--;){const r=n[o],l=r.tagName;lp.has(l)||(e=r.parentElement)===null||e===void 0||e.removeChild(r)}return t.innerHTML};function rp(i){Ue(i,"v-quklnq",".hot-key-map.v-quklnq{color:var(--black);box-sizing:border-box;overflow-x:hidden}.hot-key-map-group.v-quklnq{border-bottom:1px solid var(--white-alpha-24);margin:0 20px 0 16px}.hot-key-map-group.v-quklnq:last-child{border-bottom:none}.hot-key-map-group-title.v-quklnq{color:var(--white);font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.hot-key-map-group-title.v-quklnq,.hot-key-map-item.v-quklnq{padding:12px 0;margin:0;width:100%}.hot-key-map-group-items.v-quklnq{box-sizing:border-box;list-style:none;padding:0;margin:0}.hot-key-map-item.v-quklnq{box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;--videoplayer-hotkey-item-value-width:156px;--videoplayer-hotkey-item-value-padding-left:24px}.hot-key-map-item-description.v-quklnq{color:var(--white-alpha-72);width:calc(100% - var(--videoplayer-hotkey-item-value-width) - var(--videoplayer-hotkey-item-value-padding-left));max-width:388px}.hot-key-map-item-value.v-quklnq{color:var(--white);width:var(--videoplayer-hotkey-item-value-width);padding-left:var(--videoplayer-hotkey-item-value-padding-left);letter-spacing:-0.14px}.hot-key-map-item-description.v-quklnq,.hot-key-map-item-value.v-quklnq{font-feature-settings:'clig' off, 'liga' off;font-size:13px;font-style:normal;font-weight:400;line-height:16px}")}function Ys(i,e,t){const n=i.slice();return n[5]=e[t].title,n[6]=e[t].items,n}function Xs(i,e,t){const n=i.slice();return n[9]=e[t].description,n[10]=e[t].value,n}function Qs(i){let e,t,n=Gs(i[9])+"",o,r,l=i[10]+"",s,a;return{c(){e=T("li"),t=T("span"),o=R(),r=T("span"),s=ze(l),a=R(),u(t,"class","hot-key-map-item-description v-quklnq"),u(r,"class","hot-key-map-item-value v-quklnq"),u(e,"class","hot-key-map-item v-quklnq")},m(c,f){E(c,e,f),p(e,t),t.innerHTML=n,p(e,o),p(e,r),p(r,s),p(e,a)},p(c,f){f&1&&n!==(n=Gs(c[9])+"")&&(t.innerHTML=n),f&1&&l!==(l=c[10]+"")&&xe(s,l)},d(c){c&&P(e)}}}function Js(i){let e,t,n=i[5]+"",o,r,l,s,a=ei(i[6]),c=[];for(let f=0;f<a.length;f+=1)c[f]=Qs(Xs(i,a,f));return{c(){e=T("div"),t=T("h5"),o=ze(n),r=R(),l=T("ul");for(let f=0;f<c.length;f+=1)c[f].c();s=R(),u(t,"class","hot-key-map-group-title v-quklnq"),u(l,"class","hot-key-map-group-items v-quklnq"),u(e,"class","hot-key-map-group v-quklnq")},m(f,m){E(f,e,m),p(e,t),p(t,o),p(e,r),p(e,l);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(l,null);p(e,s)},p(f,m){if(m&1&&n!==(n=f[5]+"")&&xe(o,n),m&1){a=ei(f[6]);let h;for(h=0;h<a.length;h+=1){const b=Xs(f,a,h);c[h]?c[h].p(b,m):(c[h]=Qs(b),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=a.length}},d(f){f&&P(e),Tn(c,f)}}}function sp(i){let e,t=ei(i[0].groups),n=[];for(let o=0;o<t.length;o+=1)n[o]=Js(Ys(i,t,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","hot-key-map v-quklnq")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,r){if(r&1){t=ei(o[0].groups);let l;for(l=0;l<t.length;l+=1){const s=Ys(o,t,l);n[l]?n[l].p(s,r):(n[l]=Js(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Tn(n,o)}}}function ap(i){let e,t;return e=new op({props:{title:i[0].title,onClose:i[2],$$slots:{default:[sp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.title=n[0].title),o&8193&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function up(i,e,t){let n;const o=St(),{data:r,show:l}=o.ui.modals.hotKeyMap;return z(i,r,a=>t(0,n=a)),[n,r,()=>{l.set(!1)}]}class cp extends ye{constructor(e){super(),we(this,e,up,ap,_e,{},rp)}}function fp(i){Ue(i,"v-1oe0j8n",".pillow.v-1oe0j8n{background-color:#679FF8;color:var(--white);font-size:6px;font-weight:600;-webkit-font-smoothing:antialiased;padding:2px 4px;border-radius:12px}")}function dp(i){let e,t;const n=i[1].default,o=Nn(n,i,i[0],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","pillow v-1oe0j8n")},m(r,l){E(r,e,l),o&&o.m(e,null),t=!0},p(r,[l]){o&&o.p&&(!t||l&1)&&Dn(o,n,r,r[0],t?On(n,r[0],l,null):zn(r[0]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r)}}}function mp(i,e,t){let{$$slots:n={},$$scope:o}=e;return i.$$set=r=>{"$$scope"in r&&t(0,o=r.$$scope)},[o,n]}class pp extends ye{constructor(e){super(),we(this,e,mp,dp,_e,{},fp)}}function hp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.517 5c.325 0 .516-.198.516-.536v-.97l.492-.517 1.46 1.74c.16.205.304.283.516.283A.491.491 0 0 0 9 4.501c0-.14-.068-.287-.222-.478l-1.47-1.73L8.818.868C8.949.731 9 .618 9 .475A.474.474 0 0 0 8.515 0c-.171 0-.301.065-.445.222L6.064 2.25h-.03V.54c0-.342-.192-.54-.517-.54s-.516.198-.516.54v3.924c0 .338.191.536.516.536Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","m2.551 1.052-1.51 2.052h1.51V1.052ZM3.5 3.104V.832c0-.81-1.089-1.14-1.556-.48L.139 2.821a.75.75 0 0 0 .612 1.183h1.8v.55c0 .248.25.45.499.45a.45.45 0 0 0 .45-.45v-.55h.052a.45.45 0 0 0 0-.9H3.5Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class vp extends ye{constructor(e){super(),we(this,e,null,hp,_e,{})}}function gp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M5.513 5c.323 0 .513-.198.513-.537v-.97l.49-.516L7.99 4.715c.16.205.302.284.513.284A.49.49 0 0 0 9 4.5c0-.14-.068-.287-.22-.478L7.293 2.293 8.82.868C8.949.731 9 .618 9 .475A.473.473 0 0 0 8.517 0c-.17 0-.299.065-.441.222L6.056 2.25h-.03V.54c0-.342-.19-.54-.513-.54S5 .198 5 .54v3.923c0 .339.19.537.513.537Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M2 0c-.353 0-.671.057-.952.173a1.492 1.492 0 0 0-.654.484c-.154.208-.23.445-.23.71 0 .423.208.756.613.995-.23.112-.412.258-.547.44-.154.203-.23.441-.23.71 0 .288.084.548.252.778l.001.001c.173.224.412.398.712.523C1.267 4.939 1.612 5 2 5c.388 0 .733-.061 1.035-.186.3-.125.537-.299.705-.524.174-.23.26-.49.26-.777 0-.27-.076-.508-.23-.711a1.448 1.448 0 0 0-.552-.44c.409-.235.618-.569.618-.994a1.14 1.14 0 0 0-.238-.711 1.436 1.436 0 0 0-.653-.484A2.427 2.427 0 0 0 2 0Zm-.573.964C1.563.86 1.75.804 2 .804c.25 0 .434.055.564.16h.001a.512.512 0 0 1 .204.43c0 .19-.07.333-.204.437-.13.105-.315.161-.565.161-.25 0-.437-.056-.573-.161a.519.519 0 0 1-.203-.437c0-.185.07-.326.203-.43Zm-.345 2.522c0-.217.08-.381.233-.503.16-.122.385-.188.685-.188.3 0 .522.066.677.188.16.122.24.287.24.503a.628.628 0 0 1-.24.523c-.155.122-.377.188-.677.188-.3 0-.524-.065-.684-.187a.637.637 0 0 1-.234-.524Z"),u(n,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class bp extends ye{constructor(e){super(),we(this,e,null,gp,_e,{})}}function _p(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M5.516 5h1.107C8.103 5 9 4.065 9 2.5S8.103 0 6.623 0H5.516C5.191 0 5 .2 5 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852H6.5C7.41.852 8 1.468 8 2.5c0 1.066-.577 1.646-1.5 1.646h-.468ZM.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S4 4.802 4 4.464V.54C4 .198 3.809 0 3.484 0s-.516.198-.516.54v1.531H1.032V.54C1.032.198.841 0 .516 0S0 .198 0 .54v3.989C0 4.867.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","9"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class wp extends ye{constructor(e){super(),we(this,e,null,_p,_e,{})}}function yp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M9.516 5h1.107C12.103 5 13 4.065 13 2.5S12.103 0 10.623 0H9.516C9.191 0 9 .2 9 .537V4.46c0 .342.191.54.516.54Zm.516-.854V.852h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM4.516 5c.325 0 .516-.198.516-.536V2.922h1.936v1.542c0 .338.191.536.516.536S8 4.802 8 4.464V.54C8 .198 7.809 0 7.484 0s-.516.198-.516.54v1.531H5.032V.54c0-.342-.191-.54-.516-.54S4 .198 4 .54v3.989c0 .338.191.471.516.471ZM.516 5c.325 0 .516-.198.516-.537V3h1.332c.27 0 .441-.154.441-.41 0-.253-.174-.407-.44-.407H1.031V.854h1.5c.28 0 .468-.16.468-.427C3 .161 2.815 0 2.532 0H.516C.191 0 0 .198 0 .537v3.926C0 4.802.191 5 .516 5Z"),u(t,"fill","currentColor"),u(e,"width","13"),u(e,"height","5"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Gc extends ye{constructor(e){super(),we(this,e,null,yp,_e,{})}}function kp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"d","M11.516 5.75h1.107c1.48 0 2.377-.935 2.377-2.5s-.897-2.5-2.377-2.5h-1.107c-.325 0-.516.199-.516.537V5.21c0 .342.191.54.516.54Zm.516-.854V1.602h.468c.91 0 1.5.616 1.5 1.648 0 1.066-.577 1.646-1.5 1.646h-.468ZM6.516 5.75c.325 0 .516-.198.516-.536V3.672h1.936v1.542c0 .338.191.536.516.536S10 5.552 10 5.214V1.29c0-.342-.191-.54-.516-.54s-.516.198-.516.54v1.531H7.032V1.29c0-.342-.191-.54-.516-.54S6 .948 6 1.29v3.989c0 .338.191.471.516.471Z"),u(t,"fill","currentColor"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M3.338 5.659a3.9 3.9 0 0 1-.838.091C1.037 5.75 0 4.885 0 3.303 0 1.733 1.037.75 2.5.75 3.96.75 5 1.734 5 3.303c0 .863-.274 1.46-.778 1.88l.194.29a.5.5 0 0 1-.832.554l-.246-.368Zm-.52-.78-.234-.352a.5.5 0 1 1 .832-.554l.245.367c.184-.26.286-.615.286-1.037 0-1.036-.64-1.653-1.447-1.653-.81 0-1.447.617-1.447 1.653 0 1.032.637 1.596 1.447 1.596.08 0 .208-.007.318-.02Z"),u(n,"fill","currentColor"),u(e,"width","15"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class Yc extends ye{constructor(e){super(),we(this,e,null,kp,_e,{})}}const Mo=i=>{switch(i){case yo.Q_720P:return wp;case yo.Q_1080P:return Gc;case yo.Q_1440P:return Yc;case yo.Q_2160P:return vp;case yo.Q_4320P:return bp}};function Cp(i){Ue(i,"v-1fzhlx0",".icon.v-1fzhlx0{display:flex;position:relative;width:24px;height:24px}.icon.v-1fzhlx0 .pillow{position:absolute;top:1px;right:-9px}.icon.triple.v-1fzhlx0 .pillow{right:-13px}")}function Sp(i){let e,t,n,o,r,l,s=i[1]&&xs(i);return{c(){e=T("div"),s&&s.c(),t=R(),n=B("svg"),o=B("path"),r=B("path"),u(o,"fill-rule","evenodd"),u(o,"clip-rule","evenodd"),u(o,"d","M13.933 4.875a.6.6 0 0 0-.07-.658c-.327-.413-.45-.833-.574-1.253l-.039-.13C13 2 12.833 2 12.417 2h-.91c-.371.003-.6.052-.757.833-.148.738-.36 1.476-1.566 2.186a.466.466 0 0 1-.12.05c-1.27.324-1.905-.023-2.542-.37l-.12-.065c-.766-.412-.884-.294-1.178 0l-.643.644c-.26.264-.389.461.053 1.124.418.626.789 1.299.438 2.654a.466.466 0 0 1-.05.12c-.668 1.126-1.362 1.33-2.058 1.535l-.13.039C2 11 2 11.167 2 11.583v.91c.003.371.052.6.833.757.738.148 1.476.36 2.186 1.566a.465.465 0 0 1 .05.12c.324 1.27-.023 1.905-.37 2.542l-.065.12c-.412.766-.294.884 0 1.178l.644.643c.264.26.461.389 1.124-.053.626-.418 1.299-.789 2.654-.438.041.01.083.028.12.05 1.126.668 1.33 1.362 1.535 2.058l.039.13c.25.834.417.834.833.834h.91c.371-.003.6-.052.757-.833.148-.738.36-1.476 1.566-2.186a.467.467 0 0 1 .12-.05c1.27-.324 1.905.023 2.542.37l.12.065c.766.412.884.294 1.178 0l.643-.644c.26-.264.389-.461-.053-1.124-.26-.39-.503-.799-.563-1.38a.598.598 0 0 0-.413-.519 7.464 7.464 0 0 1-1.918-.871.58.58 0 0 0-.758.134 4.75 4.75 0 1 1-3.163-7.68.581.581 0 0 0 .633-.44 7.448 7.448 0 0 1 .749-1.967Z"),u(o,"fill","#fff"),u(r,"d","M13.25 2.833c.225.751.383 1.502 1.63 2.222 1.399.38 2.082.003 2.718-.42.663-.443.86-.315 1.124-.054l.644.643c.294.294.412.412 0 1.178-.372.69-.792 1.333-.418 2.726.72 1.255 1.47 1.472 2.219 1.622.78.156.83.386.833.757v.91c0 .416 0 .583-.833.833-.751.225-1.502.383-2.222 1.63-.38 1.399-.003 2.082.42 2.718.443.663.315.86.054 1.124l-.643.644c-.294.294-.412.412-1.178 0-.69-.372-1.333-.792-2.726-.418-1.255.72-1.472 1.47-1.622 2.219-.156.78-.386.83-.757.833h-.91c-.416 0-.583 0-.833-.833-.225-.751-.383-1.502-1.63-2.222-1.399-.38-2.082-.003-2.718.42-.663.443-.86.315-1.124.054l-.644-.643c-.294-.294-.412-.412 0-1.178.372-.69.792-1.333.418-2.726-.72-1.255-1.47-1.472-2.219-1.622-.78-.156-.83-.386-.833-.757v-.91c0-.416 0-.583.833-.833.751-.225 1.502-.383 2.222-1.63.38-1.399.003-2.082-.42-2.718-.443-.663-.315-.86-.054-1.124l.643-.644c.294-.294.412-.412 1.178 0 .69.372 1.333.792 2.726.418 1.255-.72 1.472-1.47 1.622-2.219.156-.78.386-.83.757-.833h.91c.416 0 .583 0 .833.833ZM12 7.25a4.75 4.75 0 1 0 0 9.5 4.75 4.75 0 0 0 0-9.5Z"),u(r,"fill","#fff"),V(r,"hidden",!!i[1]),u(n,"width","24"),u(n,"height","24"),u(n,"fill","none"),u(n,"xmlns","http://www.w3.org/2000/svg"),u(n,"data-testid","settings-icon"),u(e,"class","icon v-1fzhlx0"),u(e,"aria-hidden","true"),V(e,"triple",i[2])},m(a,c){E(a,e,c),s&&s.m(e,null),p(e,t),p(e,n),p(n,o),p(n,r),l=!0},p(a,c){a[1]?s?(s.p(a,c),c&2&&d(s,1)):(s=xs(a),s.c(),d(s,1),s.m(e,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),(!l||c&2)&&V(r,"hidden",!!a[1]),(!l||c&4)&&V(e,"triple",a[2])},i(a){l||(d(s),l=!0)},o(a){g(s),l=!1},d(a){a&&P(e),s&&s.d()}}}function Pp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.722 2.213c1.208.037 1.994.702 2.408 1.954l.065.215.051.191c.018.074.041.153.068.235l.058.159.034.017.069-.023.133-.051.156-.068c1.414-.658 2.502-.536 3.387.437l.125.145.82 1.017c.732.962.71 1.99-.004 3.1l-.125.187-.117.16a3.315 3.315 0 0 0-.142.205l-.07.115-.034.057.004.02.091.06.127.077.153.083c1.39.71 1.963 1.641 1.742 2.936l-.038.188-.244 1.058c-.158.685-.282 1.01-.77 1.454-.475.432-1.016.61-1.732.67l-.22.014-.198.006c-.077.002-.16.006-.246.015l-.181.021.013.142.013.096.033.179c.323 1.526-.04 2.558-1.188 3.202l-.17.09-1.175.57c-1.102.495-2.099.242-3.02-.702l-.153-.164-.13-.15a3.333 3.333 0 0 0-.17-.186l-.097-.096-.05-.046-.09.087-.106.108-.118.133c-.952 1.134-1.957 1.54-3.176 1.067l-.175-.074-1.052-.51-.312-.16c-.476-.26-.743-.51-1.004-1.061-.275-.58-.294-1.15-.16-1.883l.044-.225c.016-.075.03-.157.041-.242l.019-.172-.004-.004-.104-.014-.146-.013-.174-.008c-1.56-.028-2.484-.614-2.853-1.877l-.049-.185-.292-1.274c-.235-1.185.236-2.1 1.364-2.785l.194-.112.175-.093a3.36 3.36 0 0 0 .216-.12l.155-.102.004-.019-.063-.108-.08-.125-.103-.143c-.937-1.246-1.044-2.335-.276-3.404l.115-.153.824-1.013c.79-.915 1.8-1.107 3.034-.64l.208.083.181.081c.068.032.143.063.222.093l.136.048.036-.017.033-.089.045-.138.046-.166c.36-1.436 1.085-2.242 2.39-2.35l.19-.011h1.39Zm-.056 1.799h-1.333l-.14.01c-.285.037-.472.191-.652.832l-.041.156-.057.206a6.33 6.33 0 0 1-.468 1.134 5.851 5.851 0 0 0-1.147.558 6.45 6.45 0 0 1-1.16-.35l-.35-.154c-.248-.107-.435-.161-.583-.175l-.084-.003a.55.55 0 0 0-.408.193l-.068.074-.789.973-.095.125c-.183.264-.21.5.195 1.075l.228.316c.212.31.425.692.598 1.102-.13.384-.22.786-.27 1.201-.334.29-.69.537-1.013.72l-.343.184c-.617.34-.695.563-.646.881l.013.075.28 1.22.04.152c.096.308.265.475.968.509l.388.014c.37.024.798.09 1.223.204.224.35.484.674.776.968a6.258 6.258 0 0 1-.118 1.445c-.201.95-.014 1.102.383 1.3l1.126.547a.8.8 0 0 0 .337.089l.067-.006c.181-.028.382-.162.67-.485l.258-.295c.257-.278.585-.574.949-.837l.298.023L12 18l.302-.008.298-.022c.363.263.691.559.948.837l.258.295c.325.364.538.488.737.49l.066-.003a.747.747 0 0 0 .178-.046l.093-.039 1.126-.548.139-.073c.3-.175.42-.395.245-1.226a6.19 6.19 0 0 1-.117-1.445c.29-.294.55-.619.775-.97a6.466 6.466 0 0 1 1.223-.202l.387-.014c.812-.04.912-.256 1.008-.66l.264-1.142c.09-.406.095-.643-.617-1.035l-.342-.183a6.428 6.428 0 0 1-1.014-.722 5.955 5.955 0 0 0-.27-1.201c.174-.41.386-.791.598-1.1l.228-.317c.406-.575.378-.81.195-1.075l-.045-.062-.787-.974c-.14-.171-.259-.294-.452-.322l-.076-.007c-.16-.003-.368.05-.667.178l-.35.155a6.364 6.364 0 0 1-1.158.348 5.873 5.873 0 0 0-1.15-.556 6.495 6.495 0 0 1-.454-1.093l-.113-.414c-.192-.678-.393-.805-.714-.828l-.076-.004ZM12 8.2a3.8 3.8 0 1 1 0 7.6 3.8 3.8 0 0 1 0-7.6Zm0 1.8a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","settings-mobile-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}function xs(i){let e,t;return e=new pp({props:{$$slots:{default:[Tp]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&18&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tp(i){let e,t,n;var o=i[1];function r(l){return{}}return o&&(e=In(o,r())),{c(){e&&q(e.$$.fragment),t=bt()},m(l,s){e&&F(e,l,s),E(l,t,s),n=!0},p(l,s){if(s&2&&o!==(o=l[1])){if(e){pe();const a=e;g(a.$$.fragment,1,0,()=>{H(a,1)}),he()}o?(e=In(o,r()),q(e.$$.fragment),d(e.$$.fragment,1),F(e,t.parentNode,t)):e=null}},i(l){n||(e&&d(e.$$.fragment,l),n=!0)},o(l){e&&g(e.$$.fragment,l),n=!1},d(l){l&&P(t),e&&H(e,l)}}}function Ep(i){let e,t,n,o;const r=[Pp,Sp],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Ap(i,e,t){let n,{isMobile:o=!1}=e,{currentQuality:r=void 0}=e,l;return i.$$set=s=>{"isMobile"in s&&t(0,o=s.isMobile),"currentQuality"in s&&t(3,r=s.currentQuality)},i.$$.update=()=>{i.$$.dirty&8&&t(1,n=Mo(r)),i.$$.dirty&2&&t(2,l=!!n&&[Gc,Yc].includes(n))},[o,n,l,r]}class Rr extends ye{constructor(e){super(),we(this,e,Ap,Ep,_e,{isMobile:0,currentQuality:3},Cp)}}function Lp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M14.692.428c2.293 0 3.124.24 3.962.687a4.673 4.673 0 0 1 1.944 1.944c.449.839.687 1.67.687 3.962v3.958c0 2.292-.238 3.123-.687 3.961a4.673 4.673 0 0 1-1.944 1.944c-.838.449-1.67.687-3.962.687H7.307c-2.293 0-3.124-.238-3.962-.687A4.673 4.673 0 0 1 1.4 14.94c-.448-.838-.687-1.669-.687-3.961V7.02c0-2.292.239-3.123.687-3.962a4.673 4.673 0 0 1 1.944-1.944C4.183.667 5.015.428 7.307.428h7.385Zm.243 1.716-7.628-.001c-1.832 0-2.484.126-3.154.484a2.96 2.96 0 0 0-1.24 1.24c-.343.64-.473 1.264-.484 2.912v4.2c0 1.83.125 2.483.483 3.153.289.54.702.952 1.241 1.24.67.36 1.322.485 3.154.485h7.385c1.832 0 2.484-.126 3.154-.484a2.96 2.96 0 0 0 1.24-1.241c.36-.67.485-1.322.485-3.153V7.02c0-1.831-.126-2.483-.484-3.153a2.96 2.96 0 0 0-1.241-1.24c-.64-.343-1.263-.473-2.911-.484ZM11 10.714a.857.857 0 1 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H11Zm5.142 0a.857.857 0 1 1 0 1.714h-1.714a.857.857 0 0 1 0-1.714h1.714Zm0-3.428a.857.857 0 1 1 0 1.714H11a.857.857 0 1 1 0-1.714h5.142Zm-8.571 0a.857.857 0 0 1 0 1.714H5.857a.857.857 0 0 1 0-1.714H7.57Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","18"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-empty-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Xc extends ye{constructor(e){super(),we(this,e,null,Lp,_e,{})}}function Ip(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8 0a.9.9 0 0 1 .9.9v10.927l4.564-4.563a.9.9 0 0 1 1.272 1.272l-6.1 6.1a.9.9 0 0 1-1.272 0l-6.1-6.1a.9.9 0 1 1 1.272-1.272L7.1 11.827V.9A.9.9 0 0 1 8 0ZM0 18a.9.9 0 0 1 .9-.9h14.2a.9.9 0 1 1 0 1.8H.9A.9.9 0 0 1 0 18Z"),u(t,"fill","#fff"),u(e,"width","16"),u(e,"height","19"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","download-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Mp extends ye{constructor(e){super(),we(this,e,null,Ip,_e,{})}}function Vp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M.1 6.5c0-2.24 0-3.36.436-4.216A4 4 0 0 1 2.284.536C3.139.1 4.259.1 6.5.1h5c2.24 0 3.36 0 4.216.436a4 4 0 0 1 1.748 1.748c.436.856.436 1.976.436 4.216s0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748c-.836.426-1.925.436-4.064.436l.55 2.2H14.1a.9.9 0 0 1 0 1.8H3.9a.9.9 0 1 1 0-1.8h1.897l.55-2.2c-2.139 0-3.227-.01-4.063-.436a4 4 0 0 1-1.748-1.748C.1 9.86.1 8.74.1 6.5Zm11.4-4.6h-5c-1.15 0-1.904.002-2.481.049-.556.045-.786.124-.918.19a2.2 2.2 0 0 0-.962.962c-.067.132-.145.363-.19.918-.048.577-.05 1.331-.05 2.481s.002 1.904.05 2.48c.045.556.123.787.19.919.211.414.548.75.962.961.132.068.362.146.918.192.577.047 1.33.048 2.48.048h5c1.15 0 1.904-.001 2.481-.048.556-.046.787-.124.918-.192a2.2 2.2 0 0 0 .962-.961c.067-.132.146-.363.191-.918.047-.577.049-1.331.049-2.48 0-1.15-.002-1.905-.049-2.482-.045-.555-.124-.786-.191-.918a2.2 2.2 0 0 0-.962-.961c-.131-.067-.362-.146-.918-.191-.577-.048-1.33-.049-2.48-.049Zm-3.298 11-.55 2.2h2.695l-.55-2.2H8.202Z"),u(t,"fill","#fff"),u(e,"width","18"),u(e,"height","17"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","traffic-saving-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Bp extends ye{constructor(e){super(),we(this,e,null,Vp,_e,{})}}function Rp(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"d","M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69A7.941 7.941 0 0 1 11 4.07zM5.69 7.1 4.26 5.68A9.949 9.949 0 0 0 2.05 11h2.02c.18-1.46.76-2.79 1.62-3.9zM2.05 13c.2 2.01 1 3.84 2.21 5.32l1.43-1.43A7.868 7.868 0 0 1 4.07 13zM11 21.95v-2.02a7.941 7.941 0 0 1-3.9-1.62l-1.42 1.43A9.981 9.981 0 0 0 11 21.95zM22 12c0 5.16-3.92 9.42-8.95 9.95v-2.02C16.97 19.41 20 16.05 20 12s-3.03-7.41-6.95-7.93V2.05C18.08 2.58 22 6.84 22 12zM10.688 8.576l4.746 2.736a.792.792 0 0 1 0 1.372l-4.746 2.737a.792.792 0 0 1-1.188-.686V9.262a.792.792 0 0 1 1.188-.686z"),u(o,"fill","#fff"),u(o,"fill-rule","nonzero"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"height","24"),u(e,"width","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-speed-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class Np extends ye{constructor(e){super(),we(this,e,null,Rp,_e,{})}}function Op(i){Ue(i,"v-2dg73m",".reverted.v-2dg73m{transform:rotate(180deg)}")}function Dp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","m5.773 8 3.363 3.364a.9.9 0 1 1-1.272 1.272l-4-4a.9.9 0 0 1 0-1.272l4-4a.9.9 0 0 1 1.272 1.272L5.773 8z"),u(t,"fill",i[0]),u(e,"width","12"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--right":"chevron-icon--left"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--right":"chevron-icon--left")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function zp(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M11.736 6.736a.9.9 0 0 1-1.272 0L6 2.273 1.536 6.736A.9.9 0 1 1 .264 5.464l5.1-5.1a.9.9 0 0 1 1.272 0l5.1 5.1a.9.9 0 0 1 0 1.272Z"),u(t,"fill",i[0]),u(t,"fill-opacity",".72"),u(e,"width","12"),u(e,"height","7"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[2]?"chevron-icon--down":"chevron-icon--up"),u(e,"class","v-2dg73m"),V(e,"reverted",i[2])},m(o,r){E(o,e,r),p(e,t)},p(o,r){r&1&&u(t,"fill",o[0]),r&4&&n!==(n=o[2]?"chevron-icon--down":"chevron-icon--up")&&u(e,"data-testid",n),r&4&&V(e,"reverted",o[2])},d(o){o&&P(e)}}}function Fp(i){let e;function t(r,l){return r[1]?zp:Dp}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function Hp(i,e,t){let{direction:n="left"}=e,{color:o="#fff"}=e,r,l;return i.$$set=s=>{"direction"in s&&t(3,n=s.direction),"color"in s&&t(0,o=s.color)},i.$$.update=()=>{i.$$.dirty&8&&(t(1,r=["up","down"].includes(n)),t(2,l=["right","down"].includes(n)))},[o,r,l,n]}class Wn extends ye{constructor(e){super(),we(this,e,Hp,Fp,_e,{direction:3,color:0},Op)}}function Up(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M8.863 2.1h6.274c.674-.002 1.2.211 1.683.697l4.383 4.383c.478.476.699.998.697 1.683v6.274c.002.685-.22 1.207-.697 1.683l-4.383 4.383c-.476.478-.998.699-1.683.697H8.863c-.685.002-1.207-.22-1.683-.697L2.797 16.82c-.478-.476-.699-.998-.697-1.683V8.863c-.002-.685.22-1.207.697-1.683L7.18 2.797c.484-.486 1.009-.699 1.683-.697zm-.445 2.005L4.105 8.418c-.18.18-.205.242-.205.495v6.174c0 .25.025.316.205.495l4.313 4.313c.179.179.24.205.495.205h6.174c.253 0 .316-.026.495-.205l4.313-4.313c.18-.18.205-.245.205-.495V8.913c0-.254-.026-.316-.205-.495l-4.313-4.313c-.18-.18-.242-.205-.495-.205H8.913c-.254 0-.319.029-.495.205zM13 16a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.1-8.1a.9.9 0 0 0-1.8 0v5.2a.9.9 0 1 0 1.8 0V7.9z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","report-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class qp extends ye{constructor(e){super(),we(this,e,null,Up,_e,{})}}function jp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M6 10.2 3.5 7.7a.99.99 0 0 0-1.4 1.4l3.2 3.2a1 1 0 0 0 1.4 0l7.6-7.6a.99.99 0 0 0-1.4-1.4z"),u(t,"fill","#fff"),u(e,"height","16"),u(e,"width","16"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","check-mark-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Jo extends ye{constructor(e){super(),we(this,e,null,jp,_e,{})}}function Wp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4 12.3V12c0-1.47.005-2.547.075-3.403.074-.904.216-1.482.454-1.949a4.85 4.85 0 0 1 2.12-2.12c.466-.237 1.044-.379 1.948-.453C9.51 4.001 10.675 4 12.3 4h4.512a2.073 2.073 0 0 0-.174-.49 2.4 2.4 0 0 0-1.048-1.048 2.439 2.439 0 0 0-.931-.239 13.48 13.48 0 0 0-1.026-.023H12.26c-1.576 0-2.814 0-3.81.081-1.014.083-1.856.255-2.62.644A6.65 6.65 0 0 0 2.926 5.83c-.389.763-.56 1.605-.644 2.62-.081.995-.081 2.233-.081 3.809v1.373c0 .392 0 .738.023 1.025.025.306.081.623.239.931a2.4 2.4 0 0 0 1.048 1.05c.162.082.326.136.49.173V12.3zM10.08 6h-.035c-.52 0-.964 0-1.329.03-.383.03-.755.097-1.112.276a2.9 2.9 0 0 0-1.298 1.298c-.179.357-.246.73-.277 1.112C6 9.081 6 9.524 6 10.046v7.909c0 .52 0 .964.03 1.329.03.382.097.755.276 1.112a2.9 2.9 0 0 0 1.298 1.298c.357.179.73.246 1.112.277.365.029.808.029 1.329.029h6.91c.52 0 .964 0 1.329-.03.382-.03.755-.097 1.112-.276a2.9 2.9 0 0 0 1.298-1.298c.179-.357.246-.73.277-1.112.029-.365.029-.808.029-1.33v-7.909c0-.52 0-.964-.03-1.329-.03-.382-.097-.755-.276-1.112a2.9 2.9 0 0 0-1.298-1.298c-.357-.179-.73-.246-1.112-.277C17.919 6 17.476 6 16.954 6H10.08zM8.408 7.916c.065-.032.179-.07.452-.093a17.65 17.65 0 0 1 1.22-.023h6.84c.565 0 .936 0 1.22.023.273.022.387.06.452.093a1.1 1.1 0 0 1 .492.492c.032.065.07.179.093.452.022.284.023.655.023 1.22v7.84c0 .565 0 .936-.023 1.22-.023.273-.06.387-.093.452a1.1 1.1 0 0 1-.492.492c-.065.032-.18.07-.452.093a17.65 17.65 0 0 1-1.22.023h-6.84c-.565 0-.936 0-1.22-.023-.273-.023-.387-.06-.452-.093a1.1 1.1 0 0 1-.492-.492c-.032-.065-.07-.18-.093-.452a17.057 17.057 0 0 1-.023-1.22v-7.84c0-.565 0-.936.023-1.22.022-.273.06-.387.093-.452a1.1 1.1 0 0 1 .492-.492z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","copy-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Zp extends ye{constructor(e){super(),we(this,e,null,Wp,_e,{})}}function Kp(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 20.105a8.105 8.105 0 1 0 0-16.21 8.105 8.105 0 0 0 0 16.21zM12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-12.372a1.316 1.316 0 1 1 0-2.632 1.316 1.316 0 0 1 0 2.632zm-.947 2.822c0-.541.424-.98.947-.98.523 0 .947.439.947.98v3.83c0 .54-.424.98-.947.98-.523 0-.947-.44-.947-.98v-3.83z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","info-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Gp extends ye{constructor(e){super(),we(this,e,null,Kp,_e,{})}}function Yp(i){Ue(i,"v-5r0p3","ul.v-5r0p3.v-5r0p3{margin:0;padding:0}.menu.v-5r0p3.v-5r0p3{background-color:rgba(17, 17, 17, 0.8);border-radius:8px;line-height:40px;transition:opacity 0.2s, visibility 0.2s}.container-mobile.v-5r0p3.v-5r0p3{width:100%}.menu-desktop.v-5r0p3.v-5r0p3{position:absolute;right:0;bottom:0}.menu-mobile.v-5r0p3.v-5r0p3{width:100%;background:var(--mobile-settings-bg);font-size:15px;line-height:50px}.menu-mobile.hidden.v-5r0p3.v-5r0p3{display:none}.menu-subList.v-5r0p3.v-5r0p3{min-width:134px;padding-bottom:0}.menu-subList-subtitles.v-5r0p3.v-5r0p3{min-width:164px}.menu-subList-traffic-saving.v-5r0p3.v-5r0p3{min-width:286px}.item.v-5r0p3.v-5r0p3{align-items:center;color:var(--white);cursor:pointer;display:flex;justify-content:flex-end;padding:0 24px 0 18px;white-space:nowrap;position:relative}.item-mobile.v-5r0p3.v-5r0p3{padding:0 14px}.item-quality.item-mobile.v-5r0p3.v-5r0p3,.item-traffic-saving.item-mobile.v-5r0p3.v-5r0p3,.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{flex-direction:row-reverse}.item-helper-text.v-5r0p3.v-5r0p3{cursor:auto;pointer-events:none;white-space:normal;padding:7px 24px 7px 18px}.item-helper-text.v-5r0p3 span.v-5r0p3{color:rgba(255, 255, 255, 0.48);line-height:18px;text-align:end}.item-helper-text.item-mobile.v-5r0p3.v-5r0p3{padding:7px 14px}.item-helper-text.item-mobile.v-5r0p3 span.v-5r0p3{text-align:start}.quality-title-mobile.v-5r0p3.v-5r0p3{flex-grow:1}.item.v-5r0p3.v-5r0p3:hover{background-color:rgba(255, 255, 255, 0.08)}.item-mobile.v-5r0p3.v-5r0p3:hover{background:var(--mobile-settings-bg)}.menu-subList.v-5r0p3 .item.v-5r0p3{color:rgba(255, 255, 255, 0.9)}.menu-subList.v-5r0p3 .item.v-5r0p3:last-child{margin-bottom:4px}.menu-icon-wrapper.v-5r0p3.v-5r0p3{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:16px}.menu-title.v-5r0p3.v-5r0p3{flex-grow:1;margin-right:24px;overflow:hidden;text-overflow:ellipsis}.menu-value.v-5r0p3.v-5r0p3{position:relative;opacity:0.7}.menu-valueIcon.v-5r0p3.v-5r0p3{position:absolute;top:-10px;right:-18px;width:15px}.menu-valueIcon-list.v-5r0p3.v-5r0p3{position:absolute;top:-7px;width:15px;right:6px}.menu-valueIcon.v-5r0p3 svg,.menu-valueIcon-list.v-5r0p3 svg{color:var(--blue-light)}.menu-divider.v-5r0p3.v-5r0p3{background-color:rgba(255, 255, 255, 0.3);height:1px;margin-bottom:4px}.menu-header.v-5r0p3.v-5r0p3{color:var(--white);cursor:pointer;justify-content:space-between;display:flex}.itemIcon.v-5r0p3.v-5r0p3{margin-right:auto;padding-right:12px;opacity:0.9}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar{width:8px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-track{box-shadow:none;background-color:#3a3a3a;border-radius:4px}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb{min-height:40px;border-radius:5px;background-color:#666;border:1px solid transparent;background-clip:padding-box}.items.v-5r0p3.v-5r0p3::-webkit-scrollbar-thumb:hover{background-color:#777}.items-mobile.v-5r0p3.v-5r0p3{overflow-y:auto;max-height:160px;text-align:left}.close.v-5r0p3.v-5r0p3{position:relative;width:12px;height:12px;padding:12px;margin-right:-12px}.close.v-5r0p3.v-5r0p3:before,.close.v-5r0p3.v-5r0p3:after{position:absolute;left:18px;content:' ';height:12px;width:2px;background-color:var(--white)}.close.v-5r0p3.v-5r0p3:before{transform:rotate(45deg)}.close.v-5r0p3.v-5r0p3:after{transform:rotate(-45deg)}")}function $s(i,e,t){const n=i.slice();return n[142]=e[t],n}function ea(i,e,t){const n=i.slice();return n[145]=e[t],n}function ta(i,e,t){const n=i.slice();return n[148]=e[t],n}function ia(i){let e,t,n,o,r,l,s,a,c,f,m,h=i[8]&&na(i),b=i[28]&&oa(i),v=i[27]&&ra(i),y=i[26]&&sa(i),_=i[25]&&aa(i),C=i[24]&&ua(i),k=i[8]&&ca(i);return{c(){e=T("div"),h&&h.c(),t=R(),n=T("ul"),b&&b.c(),o=R(),v&&v.c(),r=R(),y&&y.c(),l=R(),_&&_.c(),s=R(),C&&C.c(),a=R(),k&&k.c(),u(n,"class","items v-5r0p3"),V(n,"items-mobile",i[8]),u(e,"class","menu v-5r0p3"),u(e,"role","menu"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8]),V(e,"hidden",!i[15])},m(w,N){E(w,e,N),h&&h.m(e,null),p(e,t),p(e,n),b&&b.m(n,null),p(n,o),v&&v.m(n,null),p(n,r),y&&y.m(n,null),p(n,l),_&&_.m(n,null),p(n,s),C&&C.m(n,null),p(n,a),k&&k.m(n,null),i[116](n),c=!0,f||(m=[be(e,"keydown",i[79]),be(e,"mouseenter",i[73]),be(e,"mouseleave",i[74])],f=!0)},p(w,N){w[8]?h?h.p(w,N):(h=na(w),h.c(),h.m(e,t)):h&&(h.d(1),h=null),w[28]?b?(b.p(w,N),N[0]&268435456&&d(b,1)):(b=oa(w),b.c(),d(b,1),b.m(n,o)):b&&(pe(),g(b,1,1,()=>{b=null}),he()),w[27]?v?(v.p(w,N),N[0]&134217728&&d(v,1)):(v=ra(w),v.c(),d(v,1),v.m(n,r)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),w[26]?y?(y.p(w,N),N[0]&67108864&&d(y,1)):(y=sa(w),y.c(),d(y,1),y.m(n,l)):y&&(pe(),g(y,1,1,()=>{y=null}),he()),w[25]?_?(_.p(w,N),N[0]&33554432&&d(_,1)):(_=aa(w),_.c(),d(_,1),_.m(n,s)):_&&(pe(),g(_,1,1,()=>{_=null}),he()),w[24]?C?(C.p(w,N),N[0]&16777216&&d(C,1)):(C=ua(w),C.c(),d(C,1),C.m(n,a)):C&&(pe(),g(C,1,1,()=>{C=null}),he()),w[8]?k?(k.p(w,N),N[0]&256&&d(k,1)):(k=ca(w),k.c(),d(k,1),k.m(n,null)):k&&(pe(),g(k,1,1,()=>{k=null}),he()),(!c||N[0]&256)&&V(n,"items-mobile",w[8]),(!c||N[0]&256)&&V(e,"menu-desktop",!w[8]),(!c||N[0]&256)&&V(e,"menu-mobile",w[8]),(!c||N[0]&32768)&&V(e,"hidden",!w[15])},i(w){c||(d(b),d(v),d(y),d(_),d(C),d(k),c=!0)},o(w){g(b),g(v),g(y),g(_),g(C),g(k),c=!1},d(w){w&&P(e),h&&h.d(),b&&b.d(),v&&v.d(),y&&y.d(),_&&_.d(),C&&C.d(),k&&k.d(),i[116](null),f=!1,nt(m)}}}function na(i){let e,t,n,o,r,l,s,a;return{c(){e=T("div"),t=T("div"),t.textContent=`${K("submenu_settings")}`,n=R(),o=T("div"),r=R(),l=T("div"),u(o,"class","close v-5r0p3"),u(e,"class","item menu-header v-5r0p3"),V(e,"item-mobile",i[8]),u(l,"class","menu-divider v-5r0p3")},m(c,f){E(c,e,f),p(e,t),p(e,n),p(e,o),E(c,r,f),E(c,l,f),s||(a=be(o,"click",ot(i[59])),s=!0)},p(c,f){f[0]&256&&V(e,"item-mobile",c[8])},d(c){c&&(P(e),P(r),P(l)),s=!1,a()}}}function oa(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;n=new Rr({});let v=i[36]&&!i[8]&&la(i);return{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("menu_quality")}`,l=R(),s=T("div"),a=ze(i[20]),c=R(),v&&v.c(),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_quality",{actual:i[30]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(y,_){E(y,e,_),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),v&&v.m(s,null),i[112](e),m=!0,h||(b=[be(e,"click",ot(i[60])),be(e,"keydown",i[80])],h=!0)},p(y,_){(!m||_[0]&1048576)&&xe(a,y[20]),y[36]&&!y[8]?v?(v.p(y,_),_[0]&256|_[1]&32&&d(v,1)):(v=la(y),v.c(),d(v,1),v.m(s,null)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),(!m||_[0]&1073741824&&f!==(f=K("aria_label_menu_quality",{actual:y[30]})))&&u(e,"aria-label",f),(!m||_[0]&256)&&V(e,"item-mobile",y[8])},i(y){m||(d(n.$$.fragment,y),d(v),m=!0)},o(y){g(n.$$.fragment,y),g(v),m=!1},d(y){y&&P(e),H(n),v&&v.d(),i[112](null),h=!1,nt(b)}}}function la(i){let e,t,n;var o=i[36];function r(l){return{}}return o&&(t=In(o,r())),{c(){e=T("div"),t&&q(t.$$.fragment),u(e,"class","menu-valueIcon v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[1]&32&&o!==(o=l[36])){if(t){pe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),he()}o?(t=In(o,r()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function ra(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return n=new Np({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("menu_playback_rate")}`,l=R(),s=T("div"),a=ze(i[13]),c=ze("x"),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_rate",{actual:i[31]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),p(s,c),i[113](e),m=!0,h||(b=[be(e,"click",ot(ri(i[64]))),be(e,"keydown",i[83])],h=!0)},p(v,y){(!m||y[0]&8192)&&xe(a,v[13]),(!m||y[1]&1&&f!==(f=K("aria_label_menu_rate",{actual:v[31]})))&&u(e,"aria-label",f),(!m||y[0]&256)&&V(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[113](null),h=!1,nt(b)}}}function sa(i){let e,t,n,o,r,l,s,a=i[37].displayValue+"",c,f,m,h,b;return n=new Xc({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("subtitles_caption")}`,l=R(),s=T("div"),c=ze(a),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_menu_subtitle",{actual:i[37].displayValue})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,c),i[114](e),m=!0,h||(b=[be(e,"click",ot(i[66])),be(e,"keydown",i[86])],h=!0)},p(v,y){(!m||y[1]&64)&&a!==(a=v[37].displayValue+"")&&xe(c,a),(!m||y[1]&64&&f!==(f=K("aria_label_menu_subtitle",{actual:v[37].displayValue})))&&u(e,"aria-label",f),(!m||y[0]&256)&&V(e,"item-mobile",v[8])},i(v){m||(d(n.$$.fragment,v),m=!0)},o(v){g(n.$$.fragment,v),m=!1},d(v){v&&P(e),H(n),i[114](null),h=!1,nt(b)}}}function aa(i){let e,t,n,o,r,l,s,a,c,f,m,h;return n=new Bp({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("menu_traffic_saving")}`,l=R(),s=T("div"),a=ze(i[29]),u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(s,"class","menu-value v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",c=K("aria_label_menu_traffic_saving",{actual:i[29]})),u(e,"aria-haspopup","true"),V(e,"item-mobile",i[8])},m(b,v){E(b,e,v),p(e,t),F(n,t,null),p(e,o),p(e,r),p(e,l),p(e,s),p(s,a),i[115](e),f=!0,m||(h=[be(e,"click",ot(i[61])),be(e,"keydown",i[89])],m=!0)},p(b,v){(!f||v[0]&536870912)&&xe(a,b[29]),(!f||v[0]&536870912&&c!==(c=K("aria_label_menu_traffic_saving",{actual:b[29]})))&&u(e,"aria-label",c),(!f||v[0]&256)&&V(e,"item-mobile",b[8])},i(b){f||(d(n.$$.fragment,b),f=!0)},o(b){g(n.$$.fragment,b),f=!1},d(b){b&&P(e),H(n),i[115](null),m=!1,nt(h)}}}function ua(i){let e,t,n,o,r,l,s,a;return n=new Mp({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("download_video_caption")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",K("aria_label_menu_download")),V(e,"item-mobile",i[8])},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[be(e,"click",ot(i[69])),be(e,"keydown",i[92])],s=!0)},p(c,f){(!l||f[0]&256)&&V(e,"item-mobile",c[8])},i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,nt(a)}}}function ca(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C=i[39].showSupport&&Xp(i);return o=new Zp({}),f=new Gp({}),{c(){C&&C.c(),e=R(),t=T("li"),n=T("div"),q(o.$$.fragment),r=R(),l=T("div"),l.textContent=`${K("menu_copy_debug")}`,s=R(),a=T("li"),c=T("div"),q(f.$$.fragment),m=R(),h=T("div"),h.textContent=`${K("menu_debug_overlay")}`,u(n,"class","menu-icon-wrapper v-5r0p3"),u(l,"class","menu-title v-5r0p3"),u(t,"class","item item-mobile v-5r0p3"),u(t,"role","menuitem"),u(t,"tabindex","0"),u(t,"aria-label",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",b=i[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable"))},m(k,w){C&&C.m(k,w),E(k,e,w),E(k,t,w),p(t,n),F(o,n,null),p(t,r),p(t,l),E(k,s,w),E(k,a,w),p(a,c),F(f,c,null),p(a,m),p(a,h),v=!0,y||(_=[be(t,"click",ot(i[71])),be(t,"keydown",i[94]),be(a,"click",ot(i[72])),be(a,"keydown",i[95])],y=!0)},p(k,w){k[39].showSupport&&C.p(k,w),(!v||w[1]&128&&b!==(b=k[38]?K("aria_label_menu_debug_overlay_disable"):K("aria_label_menu_debug_overlay_enable")))&&u(a,"aria-label",b)},i(k){v||(d(C),d(o.$$.fragment,k),d(f.$$.fragment,k),v=!0)},o(k){g(C),g(o.$$.fragment,k),g(f.$$.fragment,k),v=!1},d(k){k&&(P(e),P(t),P(s),P(a)),C&&C.d(k),H(o),H(f),y=!1,nt(_)}}}function Xp(i){let e,t,n,o,r,l,s,a;return n=new qp({}),{c(){e=T("li"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("menu_report")}`,u(t,"class","menu-icon-wrapper v-5r0p3"),u(r,"class","menu-title v-5r0p3"),u(e,"class","item item-mobile v-5r0p3"),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",`${K("menu_report")}. ${K("aria_label_new_tab_alert")}`)},m(c,f){E(c,e,f),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0,s||(a=[be(e,"click",ot(i[70])),be(e,"keydown",i[93])],s=!0)},p:W,i(c){l||(d(n.$$.fragment,c),l=!0)},o(c){g(n.$$.fragment,c),l=!1},d(c){c&&P(e),H(n),s=!1,nt(a)}}}function fa(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let b=ei(i[12]),v=[];for(let _=0;_<b.length;_+=1)v[_]=pa(ta(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("submenu_quality")}`,l=R(),s=T("div"),a=R(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",K("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[21]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(_,C){E(_,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[117](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[120](c),f=!0,m||(h=[be(t,"click",ot(i[68])),be(c,"keydown",i[81])],m=!0)},p(_,C){if((!f||C[0]&256)&&V(t,"item-mobile",_[8]),C[0]&4352|C[2]&1048577){b=ei(_[12]);let k;for(k=0;k<b.length;k+=1){const w=ta(_,b,k);v[k]?(v[k].p(w,C),d(v[k],1)):(v[k]=pa(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(pe(),k=b.length;k<v.length;k+=1)y(k);he()}(!f||C[0]&2097152)&&u(c,"style",_[21]),(!f||C[0]&256)&&V(c,"items-mobile",_[8]),(!f||C[0]&256)&&V(e,"menu-desktop",!_[8]),(!f||C[0]&256)&&V(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let C=0;C<b.length;C+=1)d(v[C]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(_){_&&P(e),H(n),i[117](null),Tn(v,_),i[120](null),m=!1,nt(h)}}}function da(i){let e,t,n;return t=new Jo({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ma(i){let e,t,n;var o=Mo(i[148].value);function r(l){return{}}return o&&(t=In(o,r())),{c(){e=T("div"),t&&q(t.$$.fragment),u(e,"class","menu-valueIcon-list v-5r0p3")},m(l,s){E(l,e,s),t&&F(t,e,null),n=!0},p(l,s){if(s[0]&4096&&o!==(o=Mo(l[148].value))){if(t){pe();const a=t;g(a.$$.fragment,1,0,()=>{H(a,1)}),he()}o?(t=In(o,r()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,null)):t=null}},i(l){n||(t&&d(t.$$.fragment,l),n=!0)},o(l){t&&g(t.$$.fragment,l),n=!1},d(l){l&&P(e),t&&H(t)}}}function pa(i){let e,t,n,o=i[148].displayValue+"",r,l,s=!i[8]&&Mo(i[148].value),a,c,f,m,h,b,v=i[148].selected&&da(),y=s&&ma(i);function _(){return i[118](i[148])}function C(...k){return i[119](i[148],...k)}return{c(){e=T("li"),v&&v.c(),t=R(),n=T("div"),r=ze(o),l=R(),y&&y.c(),a=R(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",c=i[148].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",f=K("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})),V(e,"item-mobile",i[8])},m(k,w){E(k,e,w),v&&v.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),y&&y.m(e,null),p(e,a),m=!0,h||(b=[be(e,"click",ot(_)),be(e,"keydown",C)],h=!0)},p(k,w){i=k,i[148].selected?v?w[0]&4096&&d(v,1):(v=da(),v.c(),d(v,1),v.m(e,t)):v&&(pe(),g(v,1,1,()=>{v=null}),he()),(!m||w[0]&4096)&&o!==(o=i[148].displayValue+"")&&xe(r,o),(!m||w[0]&256)&&V(n,"quality-title-mobile",i[8]),w[0]&4352&&(s=!i[8]&&Mo(i[148].value)),s?y?(y.p(i,w),w[0]&4352&&d(y,1)):(y=ma(i),y.c(),d(y,1),y.m(e,a)):y&&(pe(),g(y,1,1,()=>{y=null}),he()),(!m||w[0]&4096&&c!==(c=i[148].value))&&u(e,"data-value",c),(!m||w[0]&4096&&f!==(f=K("aria_label_submenu_quality_select_quality",{quality:i[148].displayValue})))&&u(e,"aria-label",f),(!m||w[0]&256)&&V(e,"item-mobile",i[8])},i(k){m||(d(v),d(y),m=!0)},o(k){g(v),g(y),m=!1},d(k){k&&P(e),v&&v.d(),y&&y.d(),h=!1,nt(b)}}}function ha(i){let e,t,n,o,r,l,s,a,c,f,m,h;n=new Wn({props:{direction:"left"}});let b=ei(i[11]),v=[];for(let _=0;_<b.length;_+=1)v[_]=ga(ea(i,b,_));const y=_=>g(v[_],1,1,()=>{v[_]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("submenu_playback_rate")}`,l=R(),s=T("div"),a=R(),c=T("ul");for(let _=0;_<v.length;_+=1)v[_].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",K("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(c,"class","items v-5r0p3"),u(c,"style",i[22]),V(c,"items-mobile",i[8]),u(e,"class","menu menu-subList v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(_,C){E(_,e,C),p(e,t),F(n,t,null),p(t,o),p(t,r),i[121](t),p(e,l),p(e,s),p(e,a),p(e,c);for(let k=0;k<v.length;k+=1)v[k]&&v[k].m(c,null);i[124](c),f=!0,m||(h=[be(t,"click",ot(i[68])),be(c,"keydown",i[84])],m=!0)},p(_,C){if((!f||C[0]&256)&&V(t,"item-mobile",_[8]),C[0]&2304|C[2]&8388616){b=ei(_[11]);let k;for(k=0;k<b.length;k+=1){const w=ea(_,b,k);v[k]?(v[k].p(w,C),d(v[k],1)):(v[k]=ga(w),v[k].c(),d(v[k],1),v[k].m(c,null))}for(pe(),k=b.length;k<v.length;k+=1)y(k);he()}(!f||C[0]&4194304)&&u(c,"style",_[22]),(!f||C[0]&256)&&V(c,"items-mobile",_[8]),(!f||C[0]&256)&&V(e,"menu-desktop",!_[8]),(!f||C[0]&256)&&V(e,"menu-mobile",_[8])},i(_){if(!f){d(n.$$.fragment,_);for(let C=0;C<b.length;C+=1)d(v[C]);f=!0}},o(_){g(n.$$.fragment,_),v=v.filter(Boolean);for(let C=0;C<v.length;C+=1)g(v[C]);f=!1},d(_){_&&P(e),H(n),i[121](null),Tn(v,_),i[124](null),m=!1,nt(h)}}}function va(i){let e,t,n;return t=new Jo({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ga(i){let e,t,n,o=i[145].displayValue+"",r,l,s,a,c,f,m,h=i[145].selected&&va();function b(){return i[122](i[145])}function v(...y){return i[123](i[145],...y)}return{c(){e=T("li"),h&&h.c(),t=R(),n=T("div"),r=ze(o),l=R(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[145].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=K("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})),V(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[be(e,"click",ot(b)),be(e,"keydown",v)],f=!0)},p(y,_){i=y,i[145].selected?h?_[0]&2048&&d(h,1):(h=va(),h.c(),d(h,1),h.m(e,t)):h&&(pe(),g(h,1,1,()=>{h=null}),he()),(!c||_[0]&2048)&&o!==(o=i[145].displayValue+"")&&xe(r,o),(!c||_[0]&256)&&V(n,"quality-title-mobile",i[8]),(!c||_[0]&2048&&s!==(s=i[145].value))&&u(e,"data-value",s),(!c||_[0]&2048&&a!==(a=K("aria_label_submenu_rate_select_rate",{rate:i[145].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&V(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,nt(m)}}}function ba(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re;n=new Wn({props:{direction:"left"}});let ie=!i[9]&&_a(),O=i[9]&&wa();return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("submenu_traffic_saving")}`,l=R(),s=T("div"),a=R(),c=T("ul"),f=T("li"),ie&&ie.c(),m=R(),h=T("div"),h.textContent=`${K("traffic_saving_disable")}`,b=R(),v=T("li"),O&&O.c(),y=R(),_=T("div"),_.textContent=`${K("traffic_saving_enable")}`,C=R(),k=T("div"),w=R(),N=T("div"),Q=T("span"),Q.textContent=`${K("traffic_saving_helper_text")}`,u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",K("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","menu-divider v-5r0p3"),u(h,"class","v-5r0p3"),V(h,"quality-title-mobile",i[8]),u(f,"class","item item-traffic-saving v-5r0p3"),u(f,"role","menuitem"),u(f,"tabindex","0"),u(f,"aria-label",K("aria_label_submenu_traffic_saving_off")),V(f,"item-mobile",i[8]),u(_,"class","v-5r0p3"),V(_,"quality-title-mobile",i[8]),u(v,"class","item item-traffic-saving v-5r0p3"),u(v,"role","menuitem"),u(v,"tabindex","0"),u(v,"aria-label",`${K("aria_label_submenu_traffic_saving_on")}. ${K("traffic_saving_helper_text")}`),V(v,"item-mobile",i[8]),u(c,"class","items v-5r0p3"),u(c,"style",i[23]),V(c,"items-mobile",i[8]),u(k,"class","menu-divider v-5r0p3"),u(Q,"class","v-5r0p3"),u(N,"class","item item-helper-text v-5r0p3"),V(N,"item-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-traffic-saving v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m($,S){E($,e,S),p(e,t),F(n,t,null),p(t,o),p(t,r),i[125](t),p(e,l),p(e,s),p(e,a),p(e,c),p(c,f),ie&&ie.m(f,null),p(f,m),p(f,h),p(c,b),p(c,v),O&&O.m(v,null),p(v,y),p(v,_),i[130](c),p(e,C),p(e,k),p(e,w),p(e,N),p(N,Q),M=!0,G||(re=[be(t,"click",ot(i[68])),be(f,"click",ot(i[126])),be(f,"keydown",i[127]),be(v,"click",ot(i[128])),be(v,"keydown",i[129]),be(c,"keydown",i[90])],G=!0)},p($,S){(!M||S[0]&256)&&V(t,"item-mobile",$[8]),$[9]?ie&&(pe(),g(ie,1,1,()=>{ie=null}),he()):ie?S[0]&512&&d(ie,1):(ie=_a(),ie.c(),d(ie,1),ie.m(f,m)),(!M||S[0]&256)&&V(h,"quality-title-mobile",$[8]),(!M||S[0]&256)&&V(f,"item-mobile",$[8]),$[9]?O?S[0]&512&&d(O,1):(O=wa(),O.c(),d(O,1),O.m(v,y)):O&&(pe(),g(O,1,1,()=>{O=null}),he()),(!M||S[0]&256)&&V(_,"quality-title-mobile",$[8]),(!M||S[0]&256)&&V(v,"item-mobile",$[8]),(!M||S[0]&8388608)&&u(c,"style",$[23]),(!M||S[0]&256)&&V(c,"items-mobile",$[8]),(!M||S[0]&256)&&V(N,"item-mobile",$[8]),(!M||S[0]&256)&&V(e,"menu-desktop",!$[8]),(!M||S[0]&256)&&V(e,"menu-mobile",$[8])},i($){M||(d(n.$$.fragment,$),d(ie),d(O),M=!0)},o($){g(n.$$.fragment,$),g(ie),g(O),M=!1},d($){$&&P(e),H(n),i[125](null),ie&&ie.d(),O&&O.d(),i[130](null),G=!1,nt(re)}}}function _a(i){let e,t,n;return t=new Jo({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function wa(i){let e,t,n;return t=new Jo({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function ya(i){let e,t,n,o,r,l,s,a,c,f;n=new Wn({props:{direction:"left"}});let m=ei(i[10]),h=[];for(let v=0;v<m.length;v+=1)h[v]=Ca($s(i,m,v));const b=v=>g(h[v],1,1,()=>{h[v]=null});return{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("div"),r.textContent=`${K("subtitles_caption")}`,l=R(),s=T("ul");for(let v=0;v<h.length;v+=1)h[v].c();u(t,"class","item menu-header v-5r0p3"),u(t,"aria-label",K("aria_label_submenu_back")),V(t,"item-mobile",i[8]),u(s,"class","items v-5r0p3"),V(s,"items-mobile",i[8]),u(e,"class","menu menu-subList menu-subList-subtitles v-5r0p3"),V(e,"menu-desktop",!i[8]),V(e,"menu-mobile",i[8])},m(v,y){E(v,e,y),p(e,t),F(n,t,null),p(t,o),p(t,r),p(e,l),p(e,s);for(let _=0;_<h.length;_+=1)h[_]&&h[_].m(s,null);i[133](s),a=!0,c||(f=[be(t,"click",ot(i[68])),be(s,"keydown",i[87])],c=!0)},p(v,y){if((!a||y[0]&256)&&V(t,"item-mobile",v[8]),y[0]&1280|y[2]&67108896){m=ei(v[10]);let _;for(_=0;_<m.length;_+=1){const C=$s(v,m,_);h[_]?(h[_].p(C,y),d(h[_],1)):(h[_]=Ca(C),h[_].c(),d(h[_],1),h[_].m(s,null))}for(pe(),_=m.length;_<h.length;_+=1)b(_);he()}(!a||y[0]&256)&&V(s,"items-mobile",v[8]),(!a||y[0]&256)&&V(e,"menu-desktop",!v[8]),(!a||y[0]&256)&&V(e,"menu-mobile",v[8])},i(v){if(!a){d(n.$$.fragment,v);for(let y=0;y<m.length;y+=1)d(h[y]);a=!0}},o(v){g(n.$$.fragment,v),h=h.filter(Boolean);for(let y=0;y<h.length;y+=1)g(h[y]);a=!1},d(v){v&&P(e),H(n),Tn(h,v),i[133](null),c=!1,nt(f)}}}function ka(i){let e,t,n;return t=new Jo({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","itemIcon v-5r0p3")},m(o,r){E(o,e,r),F(t,e,null),n=!0},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Ca(i){let e,t,n,o=i[142].displayValue+"",r,l,s,a,c,f,m,h=i[142].selected&&ka();function b(){return i[131](i[142])}function v(...y){return i[132](i[142],...y)}return{c(){e=T("li"),h&&h.c(),t=R(),n=T("div"),r=ze(o),l=R(),u(n,"class","v-5r0p3"),V(n,"quality-title-mobile",i[8]),u(e,"class","item item-quality v-5r0p3"),u(e,"data-value",s=i[142].value),u(e,"role","menuitem"),u(e,"tabindex","0"),u(e,"aria-label",a=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})),V(e,"item-mobile",i[8])},m(y,_){E(y,e,_),h&&h.m(e,null),p(e,t),p(e,n),p(n,r),p(e,l),c=!0,f||(m=[be(e,"click",ot(b)),be(e,"keydown",v)],f=!0)},p(y,_){i=y,i[142].selected?h?_[0]&1024&&d(h,1):(h=ka(),h.c(),d(h,1),h.m(e,t)):h&&(pe(),g(h,1,1,()=>{h=null}),he()),(!c||_[0]&1024)&&o!==(o=i[142].displayValue+"")&&xe(r,o),(!c||_[0]&256)&&V(n,"quality-title-mobile",i[8]),(!c||_[0]&1024&&s!==(s=i[142].value))&&u(e,"data-value",s),(!c||_[0]&1024&&a!==(a=K("aria_label_submenu_subtitle_select_subtitle",{subtitle:i[142].displayValue})))&&u(e,"aria-label",a),(!c||_[0]&256)&&V(e,"item-mobile",i[8])},i(y){c||(d(h),c=!0)},o(y){g(h),c=!1},d(y){y&&P(e),h&&h.d(),f=!1,nt(m)}}}function Qp(i){let e,t,n,o,r,l,s=i[14]&&ia(i),a=i[16]&&fa(i),c=i[17]&&ha(i),f=i[19]&&ba(i),m=i[18]&&ya(i);return{c(){e=T("div"),s&&s.c(),t=R(),a&&a.c(),n=R(),c&&c.c(),o=R(),f&&f.c(),r=R(),m&&m.c(),u(e,"class","v-5r0p3"),V(e,"hidden",!i[14]),V(e,"container-mobile",i[8])},m(h,b){E(h,e,b),s&&s.m(e,null),p(e,t),a&&a.m(e,null),p(e,n),c&&c.m(e,null),p(e,o),f&&f.m(e,null),p(e,r),m&&m.m(e,null),l=!0},p(h,b){h[14]?s?(s.p(h,b),b[0]&16384&&d(s,1)):(s=ia(h),s.c(),d(s,1),s.m(e,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),h[16]?a?(a.p(h,b),b[0]&65536&&d(a,1)):(a=fa(h),a.c(),d(a,1),a.m(e,n)):a&&(pe(),g(a,1,1,()=>{a=null}),he()),h[17]?c?(c.p(h,b),b[0]&131072&&d(c,1)):(c=ha(h),c.c(),d(c,1),c.m(e,o)):c&&(pe(),g(c,1,1,()=>{c=null}),he()),h[19]?f?(f.p(h,b),b[0]&524288&&d(f,1)):(f=ba(h),f.c(),d(f,1),f.m(e,r)):f&&(pe(),g(f,1,1,()=>{f=null}),he()),h[18]?m?(m.p(h,b),b[0]&262144&&d(m,1)):(m=ya(h),m.c(),d(m,1),m.m(e,null)):m&&(pe(),g(m,1,1,()=>{m=null}),he()),(!l||b[0]&16384)&&V(e,"hidden",!h[14]),(!l||b[0]&256)&&V(e,"container-mobile",h[8])},i(h){l||(d(s),d(a),d(c),d(f),d(m),l=!0)},o(h){g(s),g(a),g(c),g(f),g(m),l=!1},d(h){h&&P(e),s&&s.d(),a&&a.d(),c&&c.d(),f&&f.d(),m&&m.d()}}}const nr=18;function Jp(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,{ref:$=void 0}=e,{supportLink:S}=e,{playerControlsHeight:D=0}=e,{returnFocus:le}=e;const L=St(),se=vn(),me=L.state.currentQuality$;z(i,me,te=>t(103,y=te));const ve=L.state.availableQualities$;z(i,ve,te=>t(12,b=te));const ue=L.state.autoQualityLimitingAvailable$;z(i,ue,te=>t(107,w=te));const Y=L.state.isAutoQualityEnabled$;z(i,Y,te=>t(104,_=te));const ce=L.state.currentPlaybackRate$;z(i,ce,te=>t(13,v=te));const De=L.state.availablePlaybackRates$;z(i,De,te=>t(11,m=te));const fe=L.state.currentSubtitle$;z(i,fe,te=>t(37,ie=te));const Ae=L.state.availableSubtitlesList$;z(i,Ae,te=>t(10,c=te));const Se=L.state.canDownload,ae=L.state.hasMpegSources$;z(i,ae,te=>t(108,N=te));const Te=L.ui.settingsMenuVisible;z(i,Te,te=>t(14,re=te));const A=L.ui.settingsMenuOpenedByKeyboard;z(i,A,te=>t(135,o=te));const ne=L.ui.isMobile;z(i,ne,te=>t(8,r=te));const Me=L.ui.mobileNotReportControlHidden$;z(i,Me,te=>t(105,C=te));const Ce=L.state.canChangePlaybackSpeed$;z(i,Ce,te=>t(106,k=te));const Pe=L.ui.isFullscreen;z(i,Pe,te=>t(111,G=te));const oe=L.state.trafficSavingEnabled$;z(i,oe,te=>t(9,s=te));const X=L.ui.playerSize;z(i,X,te=>t(110,M=te));const U=L.ui.debugPanelVisible;z(i,U,te=>t(38,O=te));const Be=L.ui.playerSize;z(i,Be,te=>t(109,Q=te));const $e=L.state.isInteractiveTime$,lt=L.actions.internal.downloadVideo,We=L.actions.internal.closeSettingsMenu;let Ie=!0,Je=!1,mt=!1,st=!1,Le=!1,jt=!1;function ct(){o||le==null||le(),We(),jt=!1}function It(){t(15,Ie=!1),t(16,Je=!0)}function Nt(){t(15,Ie=!1),t(19,Le=!0)}function Mt(te){L.actions.internal.setQuality(te),ct()}function de(te){L.actions.internal.setTrafficSavingEnabled(te),ct()}function Et(){t(15,Ie=!1),t(17,mt=!0)}function tt(te){L.actions.internal.setPlaybackRate(te),ct()}function Pt(){t(15,Ie=!1),t(18,st=!0)}function wt(te){L.actions.internal.setSubtitle(te),ct()}function pt(){t(15,Ie=!0),t(16,Je=!1),t(17,mt=!1),t(18,st=!1),t(19,Le=!1)}function Xe(){lt(),ct()}function He(){window.open(S,"_blank"),ct(),L.actions.internal.pause()}function yt(){vr(L.actions.internal.getDebugTextData()),ct()}function Ni(){U.set(!0),ct()}function Hi(){jt=!0}function si(){jt=!1}function Ui(te,et,Vt){if(!te)return"...";const Qi=et.find(rn=>rn.value===te),ft=Qi?Qi.displayValue:te;return Vt?te===yo.INVARIANT?K("auto_quality_invariant"):K("auto_quality",{actual:ft}):ft}let Ji,Ot,Wt,ai,Zt,pi,Dt,Oi,ui,Tt,Di,Pi,hi,Ti,zt,ti,vi,ci=Ve(!1);z(i,ci,te=>t(102,h=te));let Kt,ht,it=Ve(!1);z(i,it,te=>t(101,f=te));let Ft,fi,zi=Ve(!1);z(i,zi,te=>t(100,a=te));let Ei,Gt,Yt=Ve(!1);z(i,Yt,te=>t(99,l=te));const qi=te=>{Hc(te,We)},ii=async te=>{pl(te,It,()=>{const et=b.findIndex(Vt=>Vt.selected);return vi.childNodes[et]})},ji=async te=>{hl(te,pt,ci,We)},Xt=(te,et)=>{tn(te,()=>Mt(et))},Ht=async te=>{pl(te,Et,()=>{const et=m.findIndex(Vt=>Vt.selected);return ht.childNodes[et]})},Qt=async te=>{hl(te,pt,it,We)},Ai=(te,et)=>{tn(te,()=>tt(et))},At=async te=>{pl(te,Pt,()=>{const et=c.findIndex(Vt=>Vt.selected);return fi.childNodes[et]})},gi=async te=>{hl(te,pt,zi,We)},Li=(te,et)=>{tn(te,()=>wt(et))},Wi=async te=>{pl(te,Nt,()=>{const et=s?2:0;return Gt.childNodes[et]})},bi=async te=>{hl(te,pt,Yt,We)},Jt=(te,et)=>{tn(te,()=>de(et))},Zi=te=>{tn(te,()=>Xe())},_i=te=>{tn(te,()=>He())},Ii=te=>{tn(te,()=>yt())},Ne=te=>{tn(te,()=>Ni())};hn(()=>{const te=$e.subscribe(et=>{et&&!r&&!jt&&!o&&ct()});return()=>{te()}});function Ki(te){ke[te?"unshift":"push"](()=>{ti=te,t(4,ti)})}function Gi(te){ke[te?"unshift":"push"](()=>{Kt=te,t(5,Kt)})}function wi(te){ke[te?"unshift":"push"](()=>{Ft=te,t(6,Ft)})}function Fi(te){ke[te?"unshift":"push"](()=>{Ei=te,t(7,Ei)})}function Mi(te){ke[te?"unshift":"push"](()=>{$=te,t(0,$)})}function di(te){ke[te?"unshift":"push"](()=>{Ot=te,t(1,Ot)})}const Fe=te=>Mt(te.value),Yi=(te,et)=>Xt(et,te.value);function xt(te){ke[te?"unshift":"push"](()=>{vi=te,t(32,vi)})}function ni(te){ke[te?"unshift":"push"](()=>{Wt=te,t(2,Wt)})}const Xi=te=>tt(te.value),Vi=(te,et)=>Ai(et,te.value);function fn(te){ke[te?"unshift":"push"](()=>{ht=te,t(33,ht)})}function nn(te){ke[te?"unshift":"push"](()=>{ai=te,t(3,ai)})}const Bi=()=>de(!1),Ri=te=>Jt(te,!1),yi=()=>de(!0),on=te=>Jt(te,!0);function xi(te){ke[te?"unshift":"push"](()=>{Gt=te,t(35,Gt)})}const $i=te=>wt(te),ln=(te,et)=>Li(et,te);function ki(te){ke[te?"unshift":"push"](()=>{fi=te,t(34,fi)})}return i.$$set=te=>{"ref"in te&&t(0,$=te.ref),"supportLink"in te&&t(96,S=te.supportLink),"playerControlsHeight"in te&&t(97,D=te.playerControlsHeight),"returnFocus"in te&&t(98,le=te.returnFocus)},i.$$.update=()=>{var te,et,Vt,Qi;if(i.$$.dirty[0]&16384&&re&&(t(15,Ie=!0),t(16,Je=!1),t(17,mt=!1),t(18,st=!1),t(19,Le=!1)),i.$$.dirty[3]&1024&&t(36,n=Mo(y)),i.$$.dirty[0]&4096|i.$$.dirty[3]&3072&&t(20,Ji=Ui(y,b,_)),i.$$.dirty[0]&258|i.$$.dirty[3]&458768)if(r&&G)t(21,Zt=`max-height: ${Math.round(M.height*.6)}px`);else if(r)t(21,Zt="");else{const ft=Q.height-nr-((te=Ot==null?void 0:Ot.clientHeight)!=null?te:0)-D;t(21,Zt=`max-height: ${ft}px; overflow: auto;`)}if(i.$$.dirty[0]&260|i.$$.dirty[3]&65552)if(r)t(22,pi="");else{const ft=Q.height-nr-((et=Wt==null?void 0:Wt.clientHeight)!=null?et:0)-D;t(22,pi=`max-height: ${ft}px; overflow: auto;`)}if(i.$$.dirty[0]&264|i.$$.dirty[3]&65552)if(r)t(23,Dt="");else{const ft=Q.height-nr-((Vt=ai==null?void 0:ai.clientHeight)!=null?Vt:0)-D;t(23,Dt=`max-height: ${ft}px; overflow: auto;`)}i.$$.dirty[3]&36864&&t(24,Oi=Se&&N&&!C),i.$$.dirty[3]&20480&&t(25,ui=se.features.trafficSaving&&!C&&w),i.$$.dirty[0]&1024|i.$$.dirty[3]&4096&&t(26,Tt=c.length>0&&!C),i.$$.dirty[3]&12288&&t(27,Di=!!k&&!C),i.$$.dirty[3]&4096&&t(28,Pi=!C),i.$$.dirty[0]&512&&t(29,hi=K(s?"traffic_saving_on":"traffic_saving_off")),i.$$.dirty[3]&3072&&t(30,Ti=_?K("auto_quality_option"):y),i.$$.dirty[0]&10240&&t(31,zt=(Qi=m.find(ft=>ft.value===v))==null?void 0:Qi.displayValue),i.$$.dirty[0]&16|i.$$.dirty[3]&512&&ml(ti,ci,h),i.$$.dirty[0]&32|i.$$.dirty[3]&256&&ml(Kt,it,f),i.$$.dirty[0]&64|i.$$.dirty[3]&128&&ml(Ft,zi,a),i.$$.dirty[0]&128|i.$$.dirty[3]&64&&ml(Ei,Yt,l)},[$,Ot,Wt,ai,ti,Kt,Ft,Ei,r,s,c,m,b,v,re,Ie,Je,mt,st,Le,Ji,Zt,pi,Dt,Oi,ui,Tt,Di,Pi,hi,Ti,zt,vi,ht,fi,Gt,n,ie,O,se,me,ve,ue,Y,ce,De,fe,Ae,ae,Te,A,ne,Me,Ce,Pe,oe,X,U,Be,ct,It,Nt,Mt,de,Et,tt,Pt,wt,pt,Xe,He,yt,Ni,Hi,si,ci,it,zi,Yt,qi,ii,ji,Xt,Ht,Qt,Ai,At,gi,Li,Wi,bi,Jt,Zi,_i,Ii,Ne,S,D,le,l,a,f,h,y,_,C,k,w,N,Q,M,G,Ki,Gi,wi,Fi,Mi,di,Fe,Yi,xt,ni,Xi,Vi,fn,nn,Bi,Ri,yi,on,xi,$i,ln,ki]}class Qc extends ye{constructor(e){super(),we(this,e,Jp,Qp,_e,{ref:0,supportLink:96,playerControlsHeight:97,returnFocus:98},Yp,[-1,-1,-1,-1,-1])}}function xp(i){Ue(i,"v-d9t49t",".settings-icon-wrapper.v-d9t49t{position:relative;width:24px}")}function $p(i){let e,t,n;return t=new Rr({props:{isMobile:i[3],currentQuality:i[4]}}),{c(){e=T("span"),q(t.$$.fragment),u(e,"class","settings-icon-wrapper v-d9t49t")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r&8&&(l.isMobile=o[3]),r&16&&(l.currentQuality=o[4]),t.$set(l)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function eh(i){let e,t,n;function o(l){i[9](l)}let r={className:i[1]?"opened":"",testId:"btn-settings",click:i[8],ariaLabel:i[2],$$slots:{default:[$p]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"opened":""),s&4&&(a.ariaLabel=l[2]),s&4120&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function th(i,e,t){let n,o,r,{ref:l=void 0}=e;const s=St(),a=s.state.currentQuality$;z(i,a,y=>t(4,r=y));const c=s.ui.settingsMenuVisible;z(i,c,y=>t(1,n=y));const f=s.actions.internal.toggleSettingsMenu,m=s.ui.isMobile;z(i,m,y=>t(3,o=y));let h;function b(y){const _=Ir(y);f(_)}function v(y){l=y,t(0,l)}return i.$$set=y=>{"ref"in y&&t(0,l=y.ref)},i.$$.update=()=>{i.$$.dirty&2&&t(2,h=K(n?"tooltip_settings_on":"tooltip_settings_off"))},[l,n,h,o,r,a,c,m,b,v]}class Nr extends ye{constructor(e){super(),we(this,e,th,eh,_e,{ref:0},xp)}}function ih(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M3 0h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H3a3 3 0 0 1-3-3V3a3 3 0 0 1 3-3Zm1 9h2a1 1 0 0 0 0-2H4a1 1 0 0 0 0 2Zm5 0h7a1 1 0 1 0 0-2H9a1 1 0 0 0 0 2Zm-5 4h7a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2Zm10 0h2a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2Z"),u(t,"fill","#fff"),u(e,"width","22"),u(e,"height","16"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","subtitle-pained-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class nh extends ye{constructor(e){super(),we(this,e,null,ih,_e,{})}}function oh(i){let e,t;return e=new Xc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function lh(i){let e,t;return e=new nh({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function rh(i){let e,t,n,o;const r=[lh,oh],l=[];function s(a,c){return a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e!==f&&(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t||(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function sh(i){let e,t;return e=new Si({props:{testId:"btn-Subtitles",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Zo[Ee.KeyC],$$slots:{default:[rh]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ah(i,e,t){let{isSubtitlesEnabled:n=!1}=e,{click:o}=e,r;return i.$$set=l=>{"isSubtitlesEnabled"in l&&t(0,n=l.isSubtitlesEnabled),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=K(n?"tooltip_subtitles_on":"tooltip_subtitles_off"))},[n,o,r]}class uh extends ye{constructor(e){super(),we(this,e,ah,sh,_e,{isSubtitlesEnabled:0,click:1})}}function ch(i){Ue(i,"v-19o2urr",".time.v-19o2urr{display:flex;align-items:center;font-weight:500;font-variant-numeric:tabular-nums;padding:12px 6px}.time.mobile.v-19o2urr{padding:0 0 0 8px}.current.v-19o2urr{position:relative}.duration.v-19o2urr{opacity:0.7}.duration.v-19o2urr:before{content:' / ';white-space:pre}")}function Sa(i){let e,t;return{c(){e=T("span"),t=ze(i[3]),u(e,"class","duration v-19o2urr")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&8&&xe(t,n[3])},d(n){n&&P(e)}}}function fh(i){let e,t,n,o,r=i[2]&&Sa(i);return{c(){e=T("div"),t=T("span"),n=ze(i[4]),o=R(),r&&r.c(),u(t,"class","current v-19o2urr"),u(e,"class","time v-19o2urr"),V(e,"mobile",i[1])},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),r&&r.m(e,null),i[7](e)},p(l,[s]){s&16&&xe(n,l[4]),l[2]?r?r.p(l,s):(r=Sa(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&2&&V(e,"mobile",l[1])},i:W,o:W,d(l){l&&P(e),r&&r.d(),i[7](null)}}}function dh(i,e,t){let{isMobile:n=!1}=e,{duration:o}=e,{position:r}=e,{showDuration:l=!0}=e,{ref:s}=e,a,c;function f(m){ke[m?"unshift":"push"](()=>{s=m,t(0,s)})}return i.$$set=m=>{"isMobile"in m&&t(1,n=m.isMobile),"duration"in m&&t(5,o=m.duration),"position"in m&&t(6,r=m.position),"showDuration"in m&&t(2,l=m.showDuration),"ref"in m&&t(0,s=m.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,a=Rn(o)),i.$$.dirty&64&&t(4,c=Rn(r))},[s,n,l,a,c,o,r,f]}class Jc extends ye{constructor(e){super(),we(this,e,dh,fh,_e,{isMobile:1,duration:5,position:6,showDuration:2,ref:0},ch)}}function mh(i){Ue(i,"v-1n5yyua",".icon.v-1n5yyua.v-1n5yyua{display:block;width:24px;height:24px}.icon.v-1n5yyua .cross.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .wave1.v-1n5yyua,.icon[data-value='off'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}.icon[data-value='off'].v-1n5yyua .cross.v-1n5yyua{visibility:visible}.icon[data-value='mid'].v-1n5yyua .wave2.v-1n5yyua,.icon[data-value='min'].v-1n5yyua .wave2.v-1n5yyua{visibility:hidden}")}function ph(i){let e,t,n,o,r,l;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),u(n,"class","wave2 v-1n5yyua"),u(n,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503zm3-2A.875.875 0 1 1 20.12 6.88c.263.264.62.74.966 1.432.517 1.033.843 2.255.89 3.716-.047 1.403-.373 2.625-.89 3.658-.346.692-.703 1.168-.966 1.432a.875.875 0 1 1-1.238-1.238c.138-.137.383-.464.639-.976.407-.814.667-1.79.705-2.876-.038-1.144-.298-2.12-.705-2.934-.256-.512-.501-.839-.639-.976z"),u(o,"class","wave1 v-1n5yyua"),u(o,"d","M12.98 18.823c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963zm2.901-8.704A.875.875 0 1 1 17.12 8.88c.176.177.41.47.64.872.384.671.616 1.425.616 2.247s-.232 1.576-.615 2.247a4.23 4.23 0 0 1-.641.872.875.875 0 1 1-1.238-1.238c.074-.073.214-.249.36-.503.241-.423.384-.887.384-1.378s-.143-.955-.385-1.378a2.597 2.597 0 0 0-.359-.503z"),u(r,"class","cross v-1n5yyua"),u(r,"d","m20 10.763 2.381-2.382A.875.875 0 1 1 23.62 9.62L21.237 12l2.382 2.381a.875.875 0 1 1-1.238 1.238L20 13.237l-2.381 2.382a.875.875 0 1 1-1.238-1.238L18.763 12 16.38 9.619A.875.875 0 1 1 17.62 8.38zm-7.02 8.06c-.031 1.207-.67 1.609-1.828.62-1.719-1.469-3.609-3.194-4.242-3.721-.632-.529-1.645-.62-3.073-.62-1.427 0-1.815-.621-1.815-1.241s-.014-1.83-.014-2.001c0-.055.005-.086.014-.13.02-.095-.058-.973 0-1.59.085-.906.388-1.241 1.815-1.241 1.428 0 2.44-.092 3.073-.62.633-.529 2.523-2.253 4.242-3.722 1.158-.989 1.797-.587 1.829.62.043 1.607 0 3.85 0 6.683 0 2.83.043 5.356 0 6.963z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"data-value",i[0]),u(e,"data-testid",l="volume-"+i[0]+"-icon"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"class","icon v-1n5yyua"),u(e,"aria-hidden","true")},m(s,a){E(s,e,a),p(e,t),p(t,n),p(t,o),p(t,r)},p(s,[a]){a&1&&u(e,"data-value",s[0]),a&1&&l!==(l="volume-"+s[0]+"-icon")&&u(e,"data-testid",l)},i:W,o:W,d(s){s&&P(e)}}}function hh(i,e,t){let{volume:n=1}=e,{muted:o=!1}=e;const r=(s,a)=>a?"off":s>.5?"max":s>.2?"mid":s>0?"min":"off";let l;return i.$$set=s=>{"volume"in s&&t(1,n=s.volume),"muted"in s&&t(2,o=s.muted)},i.$$.update=()=>{i.$$.dirty&6&&t(0,l=r(n,o))},[l,n,o]}class Vl extends ye{constructor(e){super(),we(this,e,hh,ph,_e,{volume:1,muted:2},mh)}}function vh(i){let e,t;const n=i[4].default,o=Nn(n,i,i[3],null);return{c(){e=T("div"),o&&o.c(),u(e,"class","overlay")},m(r,l){E(r,e,l),o&&o.m(e,null),i[5](e),t=!0},p(r,[l]){o&&o.p&&(!t||l&8)&&Dn(o,n,r,r[3],t?On(n,r[3],l,null):zn(r[3]),null)},i(r){t||(d(o,r),t=!0)},o(r){g(o,r),t=!1},d(r){r&&P(e),o&&o.d(r),i[5](null)}}}function gh(i,e,t){let n,{$$slots:o={},$$scope:r}=e;const s=St().ui.overlayContainer$;z(i,s,h=>t(2,n=h));let a;const c=h=>{!h||!a||!h.contains(a)||h.removeChild(a)},f=h=>{!h||!a||h.contains(a)||h.appendChild(a)};hn(()=>(f(n),()=>c(n)));function m(h){ke[h?"unshift":"push"](()=>{a=h,t(0,a)})}return i.$$set=h=>{"$$scope"in h&&t(3,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&f(n)},[a,s,n,r,o,m]}class bh extends ye{constructor(e){super(),we(this,e,gh,vh,_e,{})}}function _h(i){Ue(i,"v-1jbbzcj",'.tooltip-wrapper.v-1jbbzcj{display:flex;flex-direction:column;min-width:0}.full-width.v-1jbbzcj{width:100%}.tooltip.v-1jbbzcj{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;left:0}.content.v-1jbbzcj{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}.tooltip.active.v-1jbbzcj{opacity:1;visibility:visible}.tooltip-pointer.v-1jbbzcj{position:absolute;bottom:0;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}')}function Pa(i){let e,t;return e=new bh({props:{$$slots:{default:[wh]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&262387&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function wh(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("div"),n=ze(i[1]),o=R(),r=T("div"),u(t,"class","content v-1jbbzcj"),u(r,"class","tooltip-pointer v-1jbbzcj"),u(r,"style",l=`transform: translate(${i[5]}px, ${i[8]}px);`),u(e,"class","tooltip v-1jbbzcj"),u(e,"style",s=`transform: translate(${i[6]}px, ${i[7]}px);`),V(e,"active",i[0])},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),i[17](e)},p(a,c){c&2&&xe(n,a[1]),c&32&&l!==(l=`transform: translate(${a[5]}px, ${a[8]}px);`)&&u(r,"style",l),c&192&&s!==(s=`transform: translate(${a[6]}px, ${a[7]}px);`)&&u(e,"style",s),c&1&&V(e,"active",a[0])},d(a){a&&P(e),i[17](null)}}}function yh(i){let e,t,n,o,r,l;const s=i[15].default,a=Nn(s,i,i[18],null);let c=i[1]&&Pa(i);return{c(){e=T("div"),a&&a.c(),t=R(),c&&c.c(),n=bt(),u(e,"class","tooltip-wrapper v-1jbbzcj"),V(e,"full-width",i[2])},m(f,m){E(f,e,m),a&&a.m(e,null),i[16](e),E(f,t,m),c&&c.m(f,m),E(f,n,m),o=!0,r||(l=[be(e,"mouseenter",i[11]),be(e,"mousemove",i[11]),be(e,"mouseleave",i[12]),be(e,"mousedown",i[12]),be(e,"mouseup",i[11])],r=!0)},p(f,[m]){a&&a.p&&(!o||m&262144)&&Dn(a,s,f,f[18],o?On(s,f[18],m,null):zn(f[18]),null),(!o||m&4)&&V(e,"full-width",f[2]),f[1]?c?(c.p(f,m),m&2&&d(c,1)):(c=Pa(f),c.c(),d(c,1),c.m(n.parentNode,n)):c&&(pe(),g(c,1,1,()=>{c=null}),he())},i(f){o||(d(a,f),d(c),o=!0)},o(f){g(a,f),g(c),o=!1},d(f){f&&(P(e),P(t),P(n)),a&&a.d(f),i[16](null),c&&c.d(f),r=!1,nt(l)}}}const vl=5;function kh(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{content:s=""}=e,{active:a=!1}=e,{translateX:c=0}=e,{translateY:f=0}=e,{isFullWidthWrapper:m=!1}=e,h,b,v,y=0,_=vl,C=0,k=0;const w=vn(),N=St(),Q=N.ui.playerSize;z(i,Q,L=>t(21,o=L));const M=N.ui.overlayContainer$;z(i,M,L=>t(20,n=L));const G=N.getLogger().createComponentLog("Tooltip component"),re=()=>{if(!n)return;const L=n.getBoundingClientRect(),se=h.getBoundingClientRect(),me=se.width,ve=b.clientWidth,ue=o.width,Y=(me-ve)/2,ce=se.left+c-L.left;let De=ce+Y;const fe=se.top+f-L.top;let Ae=ve/2-vl;const Se=De<rl,ae=De+ve>ue-rl;Se&&(De=rl,Ae=ce+se.width/2-2.5*vl),ae&&(De=ue-rl-ve,Ae=se.left-L.left+se.width/2-De-vl),t(6,C=De),t(7,k=fe),t(5,y=Ae)},ie=()=>{try{if(!n||!h)return;re(),t(0,a=!0)}catch(L){G({message:String(L)})}},O=()=>{t(0,a=!1)},$=()=>{b&&(v||(v=window.setTimeout(ie,w.controls.hideTimeoutTooltips)),a&&ie())},S=()=>{O(),window.clearTimeout(v),v=void 0};El(()=>window.clearTimeout(v));function D(L){ke[L?"unshift":"push"](()=>{h=L,t(3,h)})}function le(L){ke[L?"unshift":"push"](()=>{b=L,t(4,b)})}return i.$$set=L=>{"content"in L&&t(1,s=L.content),"active"in L&&t(0,a=L.active),"translateX"in L&&t(13,c=L.translateX),"translateY"in L&&t(14,f=L.translateY),"isFullWidthWrapper"in L&&t(2,m=L.isFullWidthWrapper),"$$scope"in L&&t(18,l=L.$$scope)},[a,s,m,h,b,y,C,k,_,Q,M,$,S,c,f,r,D,le,l]}class xc extends ye{constructor(e){super(),we(this,e,kh,yh,_e,{content:1,active:0,translateX:13,translateY:14,isFullWidthWrapper:2},_h)}}function Ch(i){Ue(i,"v-p9r045",".btn-container.v-p9r045{position:relative;display:flex;align-items:center;height:100%;transition:var(--button-hover-transition);will-change:opacity;-webkit-tap-highlight-color:transparent}.w-max.v-p9r045{width:100%;min-width:0}")}function Sh(i){let e;const t=i[16].default,n=Nn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Dn(n,t,o,o[21],e?On(t,o[21],r,null):zn(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 Ph(i){let e,t;return e=new xc({props:{content:i[9],translateX:i[7],translateY:i[8],isFullWidthWrapper:i[4],$$slots:{default:[Th]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&512&&(r.content=n[9]),o&128&&(r.translateX=n[7]),o&256&&(r.translateY=n[8]),o&16&&(r.isFullWidthWrapper=n[4]),o&2097152&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Th(i){let e;const t=i[16].default,n=Nn(t,i,i[21],null);return{c(){n&&n.c()},m(o,r){n&&n.m(o,r),e=!0},p(o,r){n&&n.p&&(!e||r&2097152)&&Dn(n,t,o,o[21],e?On(t,o[21],r,null):zn(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 Eh(i){let e,t,n,o,r,l,s,a,c;const f=[Ph,Sh],m=[];function h(b,v){return b[3]&&b[5]&&!b[10]?0:1}return t=h(i),n=m[t]=f[t](i),{c(){e=T("div"),n.c(),u(e,"class",o="btn-container "+i[2]+" v-p9r045"),u(e,"aria-hidden",r=i[6]||null),Ao(()=>i[20].call(e))},m(b,v){E(b,e,v),m[t].m(e,null),i[19](e),l=_r(e,i[20].bind(e)),s=!0,a||(c=[be(e,"pointerdown",ot(ri(i[17]))),be(e,"click",ot(ri(i[18])))],a=!0)},p(b,[v]){let y=t;t=h(b),t===y?m[t].p(b,v):(pe(),g(m[y],1,1,()=>{m[y]=null}),he(),n=m[t],n?n.p(b,v):(n=m[t]=f[t](b),n.c()),d(n,1),n.m(e,null)),(!s||v&4&&o!==(o="btn-container "+b[2]+" v-p9r045"))&&u(e,"class",o),(!s||v&64&&r!==(r=b[6]||null))&&u(e,"aria-hidden",r)},i(b){s||(d(n),s=!0)},o(b){g(n),s=!1},d(b){b&&P(e),m[t].d(),i[19](null),l(),a=!1,nt(c)}}}function Ah(i,e,t){let n,o,{$$slots:r={},$$scope:l}=e,{className:s=""}=e,{disabled:a=!1}=e,{hasTooltip:c=!0}=e,{ref:f=void 0}=e,{width:m=void 0}=e,{isFullWidthTooltip:h=!0}=e,{tooltipContent:b=""}=e,{disabledTooltipContent:v=K("tooltip_button_disabled")}=e,{isAriaHidden:y=!1}=e,{initialTranslateXPx:_=0}=e,{initialTranslateYPx:C=-18}=e;const k=St(),w=k.ui.isMobile;z(i,w,O=>t(10,o=O));const N=k.state.graphIsOpened$;z(i,N,O=>t(15,n=O));let Q;function M(O){Eo.call(this,i,O)}function G(O){Eo.call(this,i,O)}function re(O){ke[O?"unshift":"push"](()=>{f=O,t(0,f)})}function ie(){m=this.clientWidth,t(1,m)}return i.$$set=O=>{"className"in O&&t(2,s=O.className),"disabled"in O&&t(13,a=O.disabled),"hasTooltip"in O&&t(3,c=O.hasTooltip),"ref"in O&&t(0,f=O.ref),"width"in O&&t(1,m=O.width),"isFullWidthTooltip"in O&&t(4,h=O.isFullWidthTooltip),"tooltipContent"in O&&t(5,b=O.tooltipContent),"disabledTooltipContent"in O&&t(14,v=O.disabledTooltipContent),"isAriaHidden"in O&&t(6,y=O.isAriaHidden),"initialTranslateXPx"in O&&t(7,_=O.initialTranslateXPx),"initialTranslateYPx"in O&&t(8,C=O.initialTranslateYPx),"$$scope"in O&&t(21,l=O.$$scope)},i.$$.update=()=>{i.$$.dirty&57376&&(a?t(9,Q=n?K("tooltip_disabled_when_graph_on"):v):t(9,Q=b))},[f,m,s,c,h,b,y,_,C,Q,o,w,N,a,v,n,r,M,G,re,ie,l]}class qt extends ye{constructor(e){super(),we(this,e,Ah,Eh,_e,{className:2,disabled:13,hasTooltip:3,ref:0,width:1,isFullWidthTooltip:4,tooltipContent:5,disabledTooltipContent:14,isAriaHidden:6,initialTranslateXPx:7,initialTranslateYPx:8},Ch)}}function Lh(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("rect"),o=B("path"),u(t,"width","20"),u(t,"height","20"),u(t,"rx","10"),u(t,"fill","white"),u(t,"fill-opacity",n=i[0]?1:.24),u(o,"d","M12.5259 8.68864L12.587 8.87536L12.3702 8.23648C12.236 7.84095 11.8295 7.60563 11.4192 7.68593C10.9471 7.77831 10.6508 8.24892 10.7718 8.71381L10.8968 9.19361L10.6671 8.33855C10.5566 7.92714 10.1475 7.67011 9.72832 7.74872C9.32282 7.82476 9.04808 8.18606 9.06319 8.57993L8.34064 5.64592C8.21338 5.12912 7.64646 4.85578 7.1621 5.07767C6.79216 5.24715 6.59467 5.65495 6.69131 6.0498L7.98547 11.3373L6.87 10.178C6.52545 9.81987 5.94024 9.86103 5.64933 10.2638C5.44455 10.5474 5.44907 10.9312 5.66048 11.2098L7.89246 14.1518C7.89246 14.1518 9.12075 15.9833 12.1932 15.3769C14.6243 14.8972 15.4434 12.7097 14.7748 10.4997L14.2213 8.20869C14.0975 7.69621 13.5537 7.40646 13.0585 7.58916C12.614 7.75319 12.3788 8.23875 12.5259 8.68864Z"),u(o,"fill",r=i[0]?"var(--interactive-episode-complete)":"white"),u(e,"width","20"),u(e,"height","20"),u(e,"viewBox","0 0 20 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(l,s){E(l,e,s),p(e,t),p(e,o)},p(l,[s]){s&1&&n!==(n=l[0]?1:.24)&&u(t,"fill-opacity",n),s&1&&r!==(r=l[0]?"var(--interactive-episode-complete)":"white")&&u(o,"fill",r)},i:W,o:W,d(l){l&&P(e)}}}function Ih(i,e,t){let{completed:n}=e;return i.$$set=o=>{"completed"in o&&t(0,n=o.completed)},[n]}class Mh extends ye{constructor(e){super(),we(this,e,Ih,Lh,_e,{completed:0})}}function Vh(i){Ue(i,"v-bklhpe",".interactive-episode-icon.v-bklhpe{width:20px;height:20px;position:absolute;transform:translateX(-50%);cursor:default}.interactive-episode-icon.disabled.v-bklhpe{pointer-events:none;opacity:0.4}")}function Bh(i){let e,t,n,o,r;return t=new Mh({props:{completed:!!i[0].completed}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","interactive-episode-icon v-bklhpe"),u(e,"style",n=`left: ${i[0].from+i[0].width/2}%`),Ao(()=>i[3].call(e)),V(e,"disabled",i[1])},m(l,s){E(l,e,s),F(t,e,null),o=_r(e,i[3].bind(e)),r=!0},p(l,s){const a={};s&1&&(a.completed=!!l[0].completed),t.$set(a),(!r||s&1&&n!==(n=`left: ${l[0].from+l[0].width/2}%`))&&u(e,"style",n),(!r||s&2)&&V(e,"disabled",l[1])},i(l){r||(d(t.$$.fragment,l),r=!0)},o(l){g(t.$$.fragment,l),r=!1},d(l){l&&P(e),H(t),o()}}}function Rh(i){let e,t;return e=new qt({props:{tooltipContent:K(i[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished"),initialTranslateXPx:-10,initialTranslateYPx:-10,disabled:i[1],width:i[2]||0,isAriaHidden:!0,isFullWidthTooltip:!1,$$slots:{default:[Bh]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.tooltipContent=K(n[0].completed?"tooltip_episode_finished":"tooltip_episode_unfinished")),o&2&&(r.disabled=n[1]),o&4&&(r.width=n[2]||0),o&23&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Nh(i,e,t){let{videoEpisode:n}=e,{disabled:o}=e,r;function l(){r=this.clientWidth,t(2,r)}return i.$$set=s=>{"videoEpisode"in s&&t(0,n=s.videoEpisode),"disabled"in s&&t(1,o=s.disabled)},[n,o,r,l]}class Oh extends ye{constructor(e){super(),we(this,e,Nh,Rh,_e,{videoEpisode:0,disabled:1},Vh)}}function Dh(i){Ue(i,"v-1h9p3m2",".video-episodes-wrap.v-1h9p3m2{position:absolute;width:100%;height:100%}.video-episode.v-1h9p3m2{position:absolute;height:calc(3 * var(--slider-height));box-sizing:border-box;margin-top:-5px;padding:var(--slider-height) var(--slider-video-episode-gap);transition:transform 0.2s}.video-episode.v-1h9p3m2:where(:hover, :active){transform:scaleY(1.5)}.video-episode-inner.v-1h9p3m2,.video-episode-loaded.v-1h9p3m2,.video-episode-filled.v-1h9p3m2{position:absolute;height:var(--slider-height);border-radius:var(--slider-radius)}.video-episode-inner.v-1h9p3m2{position:absolute;overflow:hidden;width:calc(100% - 2 * var(--slider-video-episode-gap));background:var(--slider-bg)}.video-episode-loaded.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.video-episode-filled.v-1h9p3m2{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}")}function Ta(i,e,t){const n=i.slice();return n[2]=e[t],n}function Ea(i){let e,t,n,o,r,l,s,a,c;return{c(){e=T("div"),t=T("div"),n=T("div"),r=R(),l=T("div"),a=R(),u(n,"class","video-episode-loaded v-1h9p3m2"),u(n,"style",o=`transform: translateX(${i[2].loadedWidth/i[2].width*100}%)`),u(l,"class","video-episode-filled v-1h9p3m2"),u(l,"style",s=`transform: translateX(${i[2].filledWidth/i[2].width*100}%)`),V(l,"mobile",i[1]),u(t,"class","video-episode-inner v-1h9p3m2"),u(e,"class","video-episode v-1h9p3m2"),u(e,"style",c=`left: ${i[2].from}%; width: ${i[2].width}%`),V(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,r),p(t,l),p(e,a)},p(f,m){m&1&&o!==(o=`transform: translateX(${f[2].loadedWidth/f[2].width*100}%)`)&&u(n,"style",o),m&1&&s!==(s=`transform: translateX(${f[2].filledWidth/f[2].width*100}%)`)&&u(l,"style",s),m&2&&V(l,"mobile",f[1]),m&1&&c!==(c=`left: ${f[2].from}%; width: ${f[2].width}%`)&&u(e,"style",c),m&2&&V(e,"mobile",f[1])},d(f){f&&P(e)}}}function zh(i){let e,t=ei(i[0]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Ea(Ta(i,t,o));return{c(){e=T("div");for(let o=0;o<n.length;o+=1)n[o].c();u(e,"class","video-episodes-wrap v-1h9p3m2")},m(o,r){E(o,e,r);for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(e,null)},p(o,[r]){if(r&3){t=ei(o[0]);let l;for(l=0;l<t.length;l+=1){const s=Ta(o,t,l);n[l]?n[l].p(s,r):(n[l]=Ea(s),n[l].c(),n[l].m(e,null))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},i:W,o:W,d(o){o&&P(e),Tn(n,o)}}}function Fh(i,e,t){let{videoEpisodes:n=[]}=e,{isMobile:o}=e;return i.$$set=r=>{"videoEpisodes"in r&&t(0,n=r.videoEpisodes),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class Hh extends ye{constructor(e){super(),we(this,e,Fh,zh,_e,{videoEpisodes:0,isMobile:1},Dh)}}function Uh(i){Ue(i,"v-1golz1y",".interactive-icons.v-1golz1y.v-1golz1y{position:absolute;width:calc(100% - 20px);top:-28px}.interactive-icons.mobile.v-1golz1y.v-1golz1y{top:-10px}.slider.v-1golz1y.v-1golz1y{position:relative;height:var(--slider-height);border-radius:var(--slider-radius);cursor:pointer;transition:visibility 0.2s, opacity 0.2s;will-change:opacity, transform;width:100%;touch-action:none;-webkit-tap-highlight-color:transparent}.no-handle.v-1golz1y.v-1golz1y{cursor:default}.slider.v-1golz1y.v-1golz1y:before{content:'';position:absolute;left:0;right:0;top:calc(-1 * (var(--controls-height) / 2 - var(--slider-height)) / 2);height:calc(var(--controls-height) / 2)}.bars.v-1golz1y.v-1golz1y{position:absolute;width:100%;height:100%;border-radius:var(--slider-radius);overflow:hidden;background:var(--slider-bg)}.loaded.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background:var(--slider-loaded-bg);transition:transform 0.2s}.filled.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%;height:100%;border-radius:var(--slider-radius);background-color:var(--slider-filled-bg)}.slider.square.v-1golz1y.v-1golz1y,.slider.square.v-1golz1y>.bars.v-1golz1y,.slider.square.v-1golz1y .loaded.v-1golz1y,.slider.square.v-1golz1y .filled.v-1golz1y{border-radius:unset}.filled.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.filled.ads.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-ads)}.handleWrap.v-1golz1y.v-1golz1y{position:absolute;left:-100%;width:100%}.handle.v-1golz1y.v-1golz1y{position:absolute;width:var(--slider-handle-size);height:var(--slider-handle-size);right:calc(-1 * var(--slider-handle-size) / 2);top:calc((var(--slider-height) - var(--slider-handle-size)) / 2);border-radius:50%;background-color:var(--slider-filled-bg);visibility:hidden;opacity:0;transform:scale(0);transition:opacity 0.2s, transform 0.2s, visibility 0.2s;will-change:opacity, transform}.handle.active-live.v-1golz1y.v-1golz1y{background-color:var(--slider-filled-active-live-bg)}.slider.v-1golz1y:hover .handle.v-1golz1y,.slider-dragging.v-1golz1y .handle.v-1golz1y{visibility:visible;opacity:1;transform:scale(1)}.slider-dragging.v-1golz1y .handle.v-1golz1y{transform:scale(1.3)}.slider-vertical.v-1golz1y.v-1golz1y{position:absolute;left:-8px;top:-18px;transform-origin:0 0;transform:rotate(-90deg)}.slider.disabled.v-1golz1y.v-1golz1y{cursor:default;pointer-events:none;opacity:0.4}")}function Aa(i,e,t){const n=i.slice();return n[48]=e[t],n}function La(i){let e,t,n=ei(i[21]),o=[];for(let l=0;l<n.length;l+=1)o[l]=Ma(Aa(i,n,l));const r=l=>g(o[l],1,1,()=>{o[l]=null});return{c(){e=T("div");for(let l=0;l<o.length;l+=1)o[l].c();u(e,"class","interactive-icons v-1golz1y"),V(e,"mobile",i[5]),V(e,"hidden",i[5]&&!i[20])},m(l,s){E(l,e,s);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null);t=!0},p(l,s){if(s[0]&2097664){n=ei(l[21]);let a;for(a=0;a<n.length;a+=1){const c=Aa(l,n,a);o[a]?(o[a].p(c,s),d(o[a],1)):(o[a]=Ma(c),o[a].c(),d(o[a],1),o[a].m(e,null))}for(pe(),a=n.length;a<o.length;a+=1)r(a);he()}(!t||s[0]&32)&&V(e,"mobile",l[5]),(!t||s[0]&1048608)&&V(e,"hidden",l[5]&&!l[20])},i(l){if(!t){for(let s=0;s<n.length;s+=1)d(o[s]);t=!0}},o(l){o=o.filter(Boolean);for(let s=0;s<o.length;s+=1)g(o[s]);t=!1},d(l){l&&P(e),Tn(o,l)}}}function Ia(i){let e,t;return e=new Oh({props:{videoEpisode:i[48],disabled:i[9]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisode=n[48]),o[0]&512&&(r.disabled=n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ma(i){let e,t,n=i[48].interactive&&Ia(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[48].interactive?n?(n.p(o,r),r[0]&2097152&&d(n,1)):(n=Ia(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function qh(i){let e,t,n,o,r,l;return{c(){e=T("div"),t=T("div"),o=R(),r=T("div"),u(t,"class","loaded v-1golz1y"),u(t,"style",n=`transform: translateX(${i[11]*100}%);`),u(r,"class","filled v-1golz1y"),u(r,"style",l=`transform: translateX(${i[12]*100}%);`),V(r,"active-live",i[4]),V(r,"ads",i[6]),u(e,"class","bars v-1golz1y")},m(s,a){E(s,e,a),p(e,t),p(e,o),p(e,r)},p(s,a){a[0]&2048&&n!==(n=`transform: translateX(${s[11]*100}%);`)&&u(t,"style",n),a[0]&4096&&l!==(l=`transform: translateX(${s[12]*100}%);`)&&u(r,"style",l),a[0]&16&&V(r,"active-live",s[4]),a[0]&64&&V(r,"ads",s[6])},i:W,o:W,d(s){s&&P(e)}}}function jh(i){let e,t;return e=new Hh({props:{videoEpisodes:i[21],isMobile:i[5]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.videoEpisodes=n[21]),o[0]&32&&(r.isMobile=n[5]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wh(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v=i[8]&&La(i);const y=[jh,qh],_=[];function C(k,w){return k[21].length?0:1}return n=C(i),o=_[n]=y[n](i),{c(){var k;v&&v.c(),e=R(),t=T("div"),o.c(),r=R(),l=T("div"),s=T("div"),u(s,"class","handle v-1golz1y"),V(s,"active-live",i[4]),u(l,"class","handleWrap v-1golz1y"),u(l,"style",a=`transform: translateX(${i[13]*100}%);`),V(l,"hidden",i[10]),u(t,"class",c="slider "+i[0]+" v-1golz1y"),u(t,"aria-label",i[14]),u(t,"aria-valuemin",i[15]),u(t,"aria-valuemax",i[16]),u(t,"aria-valuenow",i[17]),u(t,"aria-valuetext",i[18]),u(t,"role","slider"),u(t,"tabindex","0"),u(t,"data-testid",f=(k=i[1])!=null?k:null),V(t,"disabled",i[9]),V(t,"slider-dragging",i[20]),V(t,"hidden",i[2]),V(t,"slider-vertical",i[3]),V(t,"no-handle",i[10]),V(t,"square",i[7])},m(k,w){v&&v.m(k,w),E(k,e,w),E(k,t,w),_[n].m(t,null),p(t,r),p(t,l),p(l,s),i[42](t),m=!0,h||(b=[be(t,"pointerdown",ri(i[22])),be(t,"pointermove",ri(i[23])),be(t,"pointerup",ri(i[24])),be(t,"pointerenter",ri(i[25])),be(t,"pointerleave",ri(i[26])),be(t,"click",ot(Ye)),be(t,"wheel",i[27])],h=!0)},p(k,w){var Q;k[8]?v?(v.p(k,w),w[0]&256&&d(v,1)):(v=La(k),v.c(),d(v,1),v.m(e.parentNode,e)):v&&(pe(),g(v,1,1,()=>{v=null}),he());let N=n;n=C(k),n===N?_[n].p(k,w):(pe(),g(_[N],1,1,()=>{_[N]=null}),he(),o=_[n],o?o.p(k,w):(o=_[n]=y[n](k),o.c()),d(o,1),o.m(t,r)),(!m||w[0]&16)&&V(s,"active-live",k[4]),(!m||w[0]&8192&&a!==(a=`transform: translateX(${k[13]*100}%);`))&&u(l,"style",a),(!m||w[0]&1024)&&V(l,"hidden",k[10]),(!m||w[0]&1&&c!==(c="slider "+k[0]+" v-1golz1y"))&&u(t,"class",c),(!m||w[0]&16384)&&u(t,"aria-label",k[14]),(!m||w[0]&32768)&&u(t,"aria-valuemin",k[15]),(!m||w[0]&65536)&&u(t,"aria-valuemax",k[16]),(!m||w[0]&131072)&&u(t,"aria-valuenow",k[17]),(!m||w[0]&262144)&&u(t,"aria-valuetext",k[18]),(!m||w[0]&2&&f!==(f=(Q=k[1])!=null?Q:null))&&u(t,"data-testid",f),(!m||w[0]&513)&&V(t,"disabled",k[9]),(!m||w[0]&1048577)&&V(t,"slider-dragging",k[20]),(!m||w[0]&5)&&V(t,"hidden",k[2]),(!m||w[0]&9)&&V(t,"slider-vertical",k[3]),(!m||w[0]&1025)&&V(t,"no-handle",k[10]),(!m||w[0]&129)&&V(t,"square",k[7])},i(k){m||(d(v),d(o),m=!0)},o(k){g(v),g(o),m=!1},d(k){k&&(P(e),P(t)),v&&v.d(k),_[n].d(),i[42](null),h=!1,nt(b)}}}function Zh(i,e,t){let n,o,{className:r=""}=e,{testId:l=void 0}=e,{isHidden:s=!1}=e,{isVertical:a=!1}=e,{isActiveLive:c=!1}=e,{isMobile:f=!1}=e,{isAds:m=!1}=e,{squareBorders:h=!1}=e,{videoEpisodes:b=[]}=e,{withWheelHandler:v=!1}=e,{isInteractive:y=!1}=e,{disabled:_=!1}=e,{hideHandel:C=!1}=e,k,w,{onPointerDown:N=Ye}=e,{onHandleMove:Q=Ye}=e,{onPointerUp:M=Ye}=e,{onPointerEnter:G=Ye}=e,{onPointerMove:re=Ye}=e,{onPointerLeave:ie=Ye}=e,{onWheelUp:O=Ye}=e,{onWheelDown:$=Ye}=e,{onWheelLeft:S=Ye}=e,{onWheelRight:D=Ye}=e,{loadedProgress:le=0}=e,{filledProgress:L=0}=e,{handleProgress:se=0}=e,{ariaLabel:me=""}=e,{ariaValueMin:ve=void 0}=e,{ariaValueMax:ue=void 0}=e,{ariaValueNow:Y=void 0}=e,{ariaValueText:ce=""}=e;const De=vn();let fe=!1,Ae;function Se(U){if(fe)return;t(20,fe=!0),w=k.getBoundingClientRect();const Be=Ce(U.clientX,U.clientY);N(Be),k.setPointerCapture(U.pointerId)}function ae(U){const Be=Ce(U.clientX,U.clientY),$e=Pe(U.clientX);re(Be,$e,w.width),fe&&Q(Be)}function Te(U){if(!fe)return;t(20,fe=!1);const Be=Ce(U.clientX,U.clientY);M(Be)}function A(U){w=k.getBoundingClientRect();const Be=Ce(U.clientX,U.clientY),$e=Pe(U.clientX);G(Be,$e,w.width)}function ne(){ie()}function Me(U){v&&(U.preventDefault(),U.deltaY<0?O():U.deltaY>0?$():U.deltaX>0?D():S())}function Ce(U,Be){return a?Math.max(0,Math.min(1,(w.height-(Be-w.top))/w.height)):Math.min(Math.max(U-w.x,0),w.width)/w.width}function Pe(U){return Math.min(Math.max(U-w.x,0),w.width)}function oe(U,Be){const $e=De.features.episodesClustering&&!y?De.episodeMinWidthPc:0,lt=[];let We=0,Ie=0,Je=0;for(let Le=1;Le<b.length;Le++)Ie=b[Le].time/Ae*100,Ie-We>$e&&(lt.push({from:We,width:Math.max(0,Ie-We),loadedWidth:Math.max(0,Math.min(Ie,U)-We),filledWidth:Math.max(0,Math.min(Ie,Be)-We),interactive:b[Le-1].interactive,completed:b[Le-1].completed}),We=b[Le].time/Ae*100,Je++);const mt={from:We,width:Math.max(0,100-We),loadedWidth:Math.max(0,Math.min(U,100)-We),filledWidth:Math.max(0,Math.min(Be,100)-We),interactive:b[Je].interactive,completed:b[Je].completed};100-We<$e?(Je-=1,lt[Je].width+=100-We,lt[Je].loadedWidth+=Math.max(0,Math.min(U,100)-We),lt[Je].filledWidth+=Math.max(0,Math.min(Be,100)-We)):lt[Je]=mt;const st=b[0].time;if(st!==0){const Le=st/Ae*100;lt.unshift({from:0,width:Le,loadedWidth:Math.min(Le,U),filledWidth:Math.min(Le,Be)})}return lt}function X(U){ke[U?"unshift":"push"](()=>{k=U,t(19,k)})}return i.$$set=U=>{"className"in U&&t(0,r=U.className),"testId"in U&&t(1,l=U.testId),"isHidden"in U&&t(2,s=U.isHidden),"isVertical"in U&&t(3,a=U.isVertical),"isActiveLive"in U&&t(4,c=U.isActiveLive),"isMobile"in U&&t(5,f=U.isMobile),"isAds"in U&&t(6,m=U.isAds),"squareBorders"in U&&t(7,h=U.squareBorders),"videoEpisodes"in U&&t(28,b=U.videoEpisodes),"withWheelHandler"in U&&t(29,v=U.withWheelHandler),"isInteractive"in U&&t(8,y=U.isInteractive),"disabled"in U&&t(9,_=U.disabled),"hideHandel"in U&&t(10,C=U.hideHandel),"onPointerDown"in U&&t(30,N=U.onPointerDown),"onHandleMove"in U&&t(31,Q=U.onHandleMove),"onPointerUp"in U&&t(32,M=U.onPointerUp),"onPointerEnter"in U&&t(33,G=U.onPointerEnter),"onPointerMove"in U&&t(34,re=U.onPointerMove),"onPointerLeave"in U&&t(35,ie=U.onPointerLeave),"onWheelUp"in U&&t(36,O=U.onWheelUp),"onWheelDown"in U&&t(37,$=U.onWheelDown),"onWheelLeft"in U&&t(38,S=U.onWheelLeft),"onWheelRight"in U&&t(39,D=U.onWheelRight),"loadedProgress"in U&&t(11,le=U.loadedProgress),"filledProgress"in U&&t(12,L=U.filledProgress),"handleProgress"in U&&t(13,se=U.handleProgress),"ariaLabel"in U&&t(14,me=U.ariaLabel),"ariaValueMin"in U&&t(15,ve=U.ariaValueMin),"ariaValueMax"in U&&t(16,ue=U.ariaValueMax),"ariaValueNow"in U&&t(17,Y=U.ariaValueNow),"ariaValueText"in U&&t(18,ce=U.ariaValueText)},i.$$.update=()=>{var U;i.$$.dirty[0]&65536&&t(40,Ae=ue!=null?ue:0),i.$$.dirty[0]&268435456|i.$$.dirty[1]&512&&t(41,n=((U=b[b.length-1])==null?void 0:U.time)<Ae),i.$$.dirty[0]&268441600|i.$$.dirty[1]&1536&&t(21,o=b.length&&n&&Ae?oe(le*100,L*100):[])},[r,l,s,a,c,f,m,h,y,_,C,le,L,se,me,ve,ue,Y,ce,k,fe,o,Se,ae,Te,A,ne,Me,b,v,N,Q,M,G,re,ie,O,$,S,D,Ae,n,X]}class Or extends ye{constructor(e){super(),we(this,e,Zh,Wh,_e,{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},Uh,[-1,-1])}}const yn=(i,e)=>Io[i]>=Io[e],Kh=(i,e)=>Io[i]<Io[e],$c=(i,e)=>Io[i]<=Io[e],Gh=i=>i>Co.L?Lt.XL:i>Co.M?Lt.L:i>Co.S?Lt.M:i>Co.XS?Lt.S:Lt.XS;function Yh(i){Ue(i,"v-1l78lz9",".volumeBar-container.v-1l78lz9{display:flex;align-items:center}.volumeBar-container.vertical.v-1l78lz9,.vertical.v-1l78lz9 .tooltip-wrapper,.vertical.v-1l78lz9 .btn{width:40px}.volumeBar.v-1l78lz9{display:flex;align-items:center;margin:0 8px;position:relative;width:70px}.volumeBar-slider-vertical{width:50px !important}.volumeBar-vertical.v-1l78lz9{padding:0 8px 0 0;width:0}")}function Xh(i){let e,t;return e=new Vl({props:{volume:i[4],muted:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16&&(r.volume=n[4]),o[0]&4&&(r.muted=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Qh(i){let e,t;return e=new Si({props:{className:"btn-full-opacity",disabled:!i[0],testId:i[3]?"btn-volume-vertical":"btn-volume-horizontal",ariaLabel:i[7],click:i[1],ariaKeyShortCut:Zo[Ee.KeyM],$$slots:{default:[Xh]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1&&(r.disabled=!n[0]),o[0]&8&&(r.testId=n[3]?"btn-volume-vertical":"btn-volume-horizontal"),o[0]&128&&(r.ariaLabel=n[7]),o[0]&2&&(r.click=n[1]),o[0]&20|o[1]&1&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Va(i){let e,t,n;return t=new Or({props:{className:i[3]?"volumeBar-slider-vertical":"",isHidden:i[3]&&!i[5],isVertical:i[3],withWheelHandler:!0,onWheelUp:i[13],onWheelDown:i[14],onPointerDown:i[12],onHandleMove:i[15],onPointerUp:i[16],onPointerEnter:i[3]?i[17]:Ye,onPointerLeave:i[3]?i[18]:Ye,ariaLabel:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A \u0433\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u0438",ariaValueMin:0,ariaValueMax:100,ariaValueNow:Math.round(i[8]*100),ariaValueText:`${Math.round(i[8]*100)}%`,filledProgress:i[8],handleProgress:i[8],testId:i[3]?"volume-slider-vertical":"volume-slider"}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","volumeBar v-1l78lz9"),V(e,"volumeBar-vertical",i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.className=o[3]?"volumeBar-slider-vertical":""),r[0]&40&&(l.isHidden=o[3]&&!o[5]),r[0]&8&&(l.isVertical=o[3]),r[0]&8&&(l.onPointerEnter=o[3]?o[17]:Ye),r[0]&8&&(l.onPointerLeave=o[3]?o[18]:Ye),r[0]&256&&(l.ariaValueNow=Math.round(o[8]*100)),r[0]&256&&(l.ariaValueText=`${Math.round(o[8]*100)}%`),r[0]&256&&(l.filledProgress=o[8]),r[0]&256&&(l.handleProgress=o[8]),r[0]&8&&(l.testId=o[3]?"volume-slider-vertical":"volume-slider"),t.$set(l),(!n||r[0]&8)&&V(e,"volumeBar-vertical",o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Jh(i){let e,t,n,o,r,l;t=new xc({props:{content:i[6],translateY:-18,$$slots:{default:[Qh]},$$scope:{ctx:i}}});let s=i[0]&&Va(i);return{c(){e=T("div"),q(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","volumeBar-container v-1l78lz9"),V(e,"vertical",i[3])},m(a,c){E(a,e,c),F(t,e,null),p(e,n),s&&s.m(e,null),o=!0,r||(l=[be(e,"mouseenter",function(){Sn(i[3]?i[19]:Ye)&&(i[3]?i[19]:Ye).apply(this,arguments)}),be(e,"mouseleave",function(){Sn(i[3]?i[20]:Ye)&&(i[3]?i[20]:Ye).apply(this,arguments)}),be(e,"wheel",ri(i[21]))],r=!0)},p(a,c){i=a;const f={};c[0]&64&&(f.content=i[6]),c[0]&159|c[1]&1&&(f.$$scope={dirty:c,ctx:i}),t.$set(f),i[0]?s?(s.p(i,c),c[0]&1&&d(s,1)):(s=Va(i),s.c(),d(s,1),s.m(e,null)):s&&(pe(),g(s,1,1,()=>{s=null}),he()),(!o||c[0]&8)&&V(e,"vertical",i[3])},i(a){o||(d(t.$$.fragment,a),d(s),o=!0)},o(a){g(t.$$.fragment,a),g(s),o=!1},d(a){a&&P(e),H(t),s&&s.d(),r=!1,nt(l)}}}function xh(i,e,t){let n,o,r,{isAudioAvailable:l=!0}=e,{click:s}=e;const a=St(),c=vn(),f=a.state.volume$;z(i,f,ve=>t(4,n=ve));const m=a.state.muted$;z(i,m,ve=>t(23,r=ve));const h=a.actions.internal.setVolume,b=a.ui.currentGridType$;z(i,b,ve=>t(22,o=ve));let v=!1,y,_,C,k,w,N,Q=1,M=!1;function G(ve){Q=n,h(ve)}function re(){Wc(a,n,c.controls.volumeStepWheel)}function ie(){Zc(a,n,c.controls.volumeStepWheel)}function O(ve){h(ve)}function $(ve){const ue=ve;h(ue,ue===0?Q:ue)}function S(){M=!0}function D(){M=!1,se()}function le(){clearTimeout(y),t(5,v=!0)}function L(){se()}function se(){y=window.setTimeout(()=>{M||t(5,v=!1)},c.controls.volumeBarTimeout)}function me(ve){ve.deltaY<0?re():ve.deltaY>0&&ie()}return i.$$set=ve=>{"isAudioAvailable"in ve&&t(0,l=ve.isAudioAvailable),"click"in ve&&t(1,s=ve.click)},i.$$.update=()=>{i.$$.dirty[0]&8388609&&t(2,k=!l||r),i.$$.dirty[0]&4194304&&t(3,w=$c(o,Lt.S)),i.$$.dirty[0]&12&&(w?t(6,_=""):t(6,_=K(k?"tooltip_volume":"tooltip_volume_muted")),t(7,C=K(k?"tooltip_volume":"tooltip_volume_muted"))),i.$$.dirty[0]&20&&t(8,N=k?0:n)},[l,s,k,w,n,v,_,C,N,f,m,b,G,re,ie,O,$,S,D,le,L,me,o,r]}class $h extends ye{constructor(e){super(),we(this,e,xh,Jh,_e,{isAudioAvailable:0,click:1},Yh,[-1,-1])}}function ev(i){let e;return{c(){e=B("path"),u(e,"class","_enter"),u(e,"d","M10.5 19c0 .5522847-.4477153 1-1 1H5c-.55228475 0-1-.4477153-1-1v-4.5c0-.5522847.44771525-1 1-1s1 .4477153 1 1v2.0715l3.36290054-3.3643932.00012963-.0001296c.39052429-.3905243 1.02368923-.3905243 1.41421353 0l.0157791.0157791.0001297.0001296c.3904527.3905959.3903366 1.0237609-.0002593 1.4142136L7.4285 18H9.5c.5522847 0 1 .4477153 1 1zM18 7.4285l-3.3629005 3.3643932c-.0000432.0000432-.0000865.0000864-.0001297.0001296-.3905243.3905243-1.0236892.3905243-1.4142135 0l-.0157791-.0157791c-.0000433-.0000432-.0000865-.0000864-.0001297-.0001296-.3904527-.3905959-.3903366-1.02376087.0002593-1.41421356L16.5715 6H14.5c-.5522847 0-1-.44771525-1-1s.4477153-1 1-1H19c.5522847 0 1 .44771525 1 1v4.5c0 .5522847-.4477153 1-1 1s-1-.4477153-1-1z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function tv(i){let e;return{c(){e=B("path"),u(e,"class","_exit"),u(e,"d","M4.57969048 13.9787492c0-.5464165.44295809-.9893746.9893746-.9893746h4.45218572c.5464165 0 .9893746.4429581.9893746.9893746v4.4521857c0 .5464165-.4429581.9893746-.9893746.9893746-.54641651 0-.98937461-.4429581-.98937461-.9893746v-2.0494895l-3.3196551 3.3211319-.00012963.0001297c-.39052429.3905243-1.02368927.3905243-1.41421356 0l-.00058487-.0005849-.00012964-.0001297c-.39045268-.3905958-.3903366-1.0237608.00025929-1.4142135l3.32113189-3.3196551H5.56906508c-.54641651 0-.9893746-.4429581-.9893746-.9893746zM14.9681238 7.61855457l3.3196551-3.32113189.0001296-.00012966c.3905243-.39052429 1.0236893-.39052429 1.4142136 0l.0005849.00058488.0001296.00012965c.3904527.39059589.3903366 1.02376086-.0002593 1.41421354l-3.3211319 3.3196551h2.0494895c.5464165 0 .9893746.4429581.9893746.98937461 0 .5464165-.4429581.9893746-.9893746.9893746h-4.4415603c-.5522847 0-1-.4477153-1-1V5.56906508c0-.54641651.4429581-.9893746.9893746-.9893746s.9893746.44295809.9893746.9893746z")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function iv(i){let e,t,n;function o(s,a){return s[0]?tv:ev}let r=o(i),l=r(i);return{c(){e=B("svg"),t=B("g"),l.c(),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"viewBox","0 0 24 24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",n=i[0]?"close-fullscreen-icon":"open-fullscreen-icon")},m(s,a){E(s,e,a),p(e,t),l.m(t,null)},p(s,[a]){r!==(r=o(s))&&(l.d(1),l=r(s),l&&(l.c(),l.m(t,null))),a&1&&n!==(n=s[0]?"close-fullscreen-icon":"open-fullscreen-icon")&&u(e,"data-testid",n)},i:W,o:W,d(s){s&&P(e),l.d()}}}function nv(i,e,t){let{isFullscreen:n=!1}=e;return i.$$set=o=>{"isFullscreen"in o&&t(0,n=o.isFullscreen)},[n]}class ov extends ye{constructor(e){super(),we(this,e,nv,iv,_e,{isFullscreen:0})}}function lv(i){let e,t;return e=new ov({props:{isFullscreen:i[0]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&1&&(r.isFullscreen=n[0]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function rv(i){let e,t;return e=new Si({props:{testId:"btn-fullscreen",ariaLabel:i[2],click:i[1],ariaKeyShortCut:Zo[Ee.KeyF],$$slots:{default:[lv]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&4&&(r.ariaLabel=n[2]),o&2&&(r.click=n[1]),o&9&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function sv(i,e,t){let{isFullscreen:n=!1}=e,{click:o=Ye}=e,r;return i.$$set=l=>{"isFullscreen"in l&&t(0,n=l.isFullscreen),"click"in l&&t(1,o=l.click)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=K(n?"tooltip_fullscreen_on":"tooltip_fullscreen_off"))},[n,o,r]}class ef extends ye{constructor(e){super(),we(this,e,sv,rv,_e,{isFullscreen:0,click:1})}}function av(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M17.671 10.923c.82.483.82 1.67 0 2.154l-8.787 5.175A1.25 1.25 0 0 1 7 17.174V6.826a1.25 1.25 0 0 1 1.884-1.078l8.787 5.175z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","play-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Dr extends ye{constructor(e){super(),we(this,e,null,av,_e,{})}}function uv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M8.712 5c.448 0 .61.047.774.134a.913.913 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134H6.788c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.913.913 0 0 1 .38-.38C6.178 5.047 6.34 5 6.788 5h1.924zm8 0c.448 0 .61.047.774.134a.914.914 0 0 1 .38.38c.087.164.134.326.134.774v11.424c0 .448-.047.61-.134.774a.914.914 0 0 1-.38.38c-.164.087-.326.134-.774.134h-1.924c-.448 0-.61-.047-.774-.134a.914.914 0 0 1-.38-.38c-.087-.164-.134-.326-.134-.774V6.288c0-.448.047-.61.134-.774a.914.914 0 0 1 .38-.38c.164-.087.326-.134.774-.134h1.924z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","pause-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class tf extends ye{constructor(e){super(),we(this,e,null,uv,_e,{})}}function cv(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Ba(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function fv(i){let e,t,n,o,r=i[1]&&Ba();var l=i[8];function s(a){return{}}return l&&(n=In(l,s())),{c(){r&&r.c(),e=R(),t=T("div"),n&&q(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(a,c){r&&r.m(a,c),E(a,e,c),E(a,t,c),n&&F(n,t,null),o=!0},p(a,c){if(a[1]?r||(r=Ba(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),c&256&&l!==(l=a[8])){if(n){pe();const f=n;g(f.$$.fragment,1,0,()=>{H(f,1)}),he()}l?(n=In(l,s()),q(n.$$.fragment),d(n.$$.fragment,1),F(n,t,null)):n=null}(!o||c&2)&&V(t,"mobile",a[1])},i(a){o||(n&&d(n.$$.fragment,a),o=!0)},o(a){n&&g(n.$$.fragment,a),o=!1},d(a){a&&(P(e),P(t)),r&&r.d(a),n&&H(n)}}}function dv(i){let e,t,n;function o(l){i[13](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-play",click:i[5]?i[6]:i[4],disabled:i[2],ariaLabel:i[7],ariaKeyShortCut:Zo[Ee.KeyK],$$slots:{default:[fv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&112&&(a.click=l[5]?l[6]:l[4]),s&4&&(a.disabled=l[2]),s&128&&(a.ariaLabel=l[7]),s&33026&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function mv(i,e,t){let n,o;const{fakeIsPlaying$:r}=kr();z(i,r,k=>t(12,o=k));let{ref:l=void 0}=e,{isMobile:s=!1}=e,{isPlaying:a=!1}=e,{disabled:c=!1}=e,{className:f=""}=e,{click:m=Ye}=e;const{toggle:h}=r;let b,v,y,_;function C(k){l=k,t(0,l)}return i.$$set=k=>{"ref"in k&&t(0,l=k.ref),"isMobile"in k&&t(1,s=k.isMobile),"isPlaying"in k&&t(10,a=k.isPlaying),"disabled"in k&&t(2,c=k.disabled),"className"in k&&t(3,f=k.className),"click"in k&&t(4,m=k.click)},i.$$.update=()=>{i.$$.dirty&4096&&t(5,v=o!==null),i.$$.dirty&5152&&t(11,y=v?o:a),i.$$.dirty&2048&&t(7,_=K(y?"tooltip_pause":"tooltip_play")),i.$$.dirty&2048&&t(8,n=y?tf:Dr)},t(6,b=h),[l,s,c,f,m,v,b,_,n,r,a,y,o,C]}class zr extends ye{constructor(e){super(),we(this,e,mv,dv,_e,{ref:0,isMobile:1,isPlaying:10,disabled:2,className:3,click:4},cv)}}function pv(i){Ue(i,"v-mb3pjo",".prev.v-mb3pjo{transform:scaleX(-1)}.mobile.v-mb3pjo{transform:scale(1.3333)}.mobile.prev.v-mb3pjo{transform:scaleX(-1) scale(1.3333)}")}function hv(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),u(t,"d","M16 10.835V7.5a1 1 0 1 1 2 0v9a1 1 0 0 1-2 0v-3.335l-8.149 4.67C7.03 18.304 6 17.715 6 16.772V7.227c0-.943 1.029-1.533 1.851-1.061L16 10.834z"),u(t,"fill","#fff"),u(e,"data-testid",n=i[0]?"prev-icon":"next-icon"),u(e,"width","26"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"class","v-mb3pjo"),V(e,"prev",i[0]),V(e,"mobile",i[1])},m(o,r){E(o,e,r),p(e,t)},p(o,[r]){r&1&&n!==(n=o[0]?"prev-icon":"next-icon")&&u(e,"data-testid",n),r&1&&V(e,"prev",o[0]),r&2&&V(e,"mobile",o[1])},i:W,o:W,d(o){o&&P(e)}}}function vv(i,e,t){let{isPrev:n=!1}=e,{isMobile:o=!1}=e;return i.$$set=r=>{"isPrev"in r&&t(0,n=r.isPrev),"isMobile"in r&&t(1,o=r.isMobile)},[n,o]}class gv extends ye{constructor(e){super(),we(this,e,vv,hv,_e,{isPrev:0,isMobile:1},pv)}}function bv(i){let e,t;return e=new gv({props:{isMobile:i[1],isPrev:i[3]==="prev"}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&8&&(r.isPrev=n[3]==="prev"),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function _v(i){let e,t,n;function o(l){i[6](l)}let r={testId:"btn-"+i[3],disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[bv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.testId="btn-"+l[3]),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&138&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function wv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{type:l}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"isMobile"in f&&t(1,o=f.isMobile),"disabled"in f&&t(2,r=f.disabled),"type"in f&&t(3,l=f.type),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=K(l==="prev"?"tooltip_previous":"tooltip_next"))},[n,o,r,l,s,a,c]}class Bl extends ye{constructor(e){super(),we(this,e,wv,_v,_e,{ref:0,isMobile:1,disabled:2,type:3,click:4})}}function yv(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.265 4.265C3 5.531 3 7.567 3 11.64v.72c0 4.073 0 6.11 1.265 7.375C5.531 21 7.567 21 11.64 21h.72c4.073 0 6.11 0 7.375-1.265C21 18.469 21 16.433 21 12.36v-.72c0-4.073 0-6.11-1.265-7.375C18.469 3 16.433 3 12.36 3h-.72C7.567 3 5.53 3 4.265 4.265zM6 8.5c.096 4.682 2.556 7.5 6.61 7.5h.235v-2.679c1.476.15 2.577 1.254 3.026 2.679H18c-.578-2.132-2.075-3.31-3.005-3.76.93-.558 2.246-1.908 2.556-3.74h-1.937c-.406 1.49-1.615 2.84-2.77 2.968V8.5h-1.968v5.197c-1.197-.3-2.759-1.757-2.823-5.197H6z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","vk-logo-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class kv extends ye{constructor(e){super(),we(this,e,null,yv,_e,{})}}function Cv(i){Ue(i,"v-1bbobod",".mobile.v-1bbobod{transform:scale(1.1) translateY(-1px)}")}function Ra(i){let e,t,n,o,r,l,s;return{c(){e=B("path"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),u(e,"d","M30.7286 15.0483H33.2239L36.8885 5H35.0776L32.1402 13.2809H31.8551L29.0175 5H27.1781L30.7286 15.0483Z"),u(e,"fill","white"),u(t,"d","M46.2591 15.0483L41.6392 9.84599L45.9026 5H43.7923L40.2276 9.09059H39.814V5H38.103V15.0483H39.814V10.7439H40.2418L44.0062 15.0483H46.2591Z"),u(t,"fill","white"),u(n,"d","M56.0753 9.88875C56.9594 9.54668 57.5155 8.76277 57.5155 7.73656C57.5155 6.14023 56.1894 5 54.2502 5H50.329V15.0483H54.5354C56.4888 15.0483 57.8149 13.9081 57.8149 12.2405C57.8149 11.0717 57.159 10.2023 56.0753 9.88875ZM52.04 6.49656H54.2502C55.1628 6.49656 55.7902 7.05242 55.7902 7.87909C55.7902 8.69151 55.1628 9.24737 54.2502 9.24737H52.04V6.49656ZM54.5354 13.5518H52.04V10.7439H54.5354C55.4337 10.7439 56.0611 11.314 56.0611 12.1407C56.0611 12.9816 55.4337 13.5518 54.5354 13.5518Z"),u(n,"fill","white"),u(o,"d","M59.3767 15.0483H61.701L64.4672 9.54668H64.6954V15.0483H66.2638V7.63679H63.9396L61.1734 13.1384H60.9452V7.63679H59.3767V15.0483Z"),u(o,"fill","white"),u(r,"d","M67.3373 17.2575H68.9771V15.0483H74.3099V17.2575H75.9497V13.5518H74.6664V7.63679H69.2337L68.863 11.4281C68.7347 12.7678 68.3354 13.5518 67.5227 13.5518H67.3373V17.2575ZM69.8326 13.5518C70.2319 13.1669 70.403 12.5113 70.517 11.3996L70.7452 9.13335H73.0266V13.5518H69.8326Z"),u(r,"fill","white"),u(l,"d","M84.222 11.257C84.222 9.11909 82.625 7.49426 80.372 7.49426C78.1191 7.49426 76.5221 9.10484 76.5221 11.3425C76.5221 13.5803 78.1191 15.1908 80.372 15.1908C81.912 15.1908 83.3664 14.4639 83.9225 13.0529L82.3826 12.7963C82.0261 13.3237 81.3416 13.6943 80.4718 13.6943C79.217 13.6943 78.39 12.9246 78.2332 11.7844H84.1934C84.2077 11.6276 84.222 11.4566 84.222 11.257ZM80.372 8.91955C81.3987 8.91955 82.1687 9.57519 82.4396 10.5016H78.333C78.6039 9.54668 79.3739 8.91955 80.372 8.91955Z"),u(l,"fill","white"),u(s,"d","M89.0359 15.1908C91.3602 15.1908 92.9999 13.5945 92.9999 11.3425C92.9999 9.09059 91.3602 7.49426 89.0359 7.49426C86.7117 7.49426 85.0719 9.09059 85.0719 11.3425C85.0719 13.5945 86.7117 15.1908 89.0359 15.1908ZM89.0359 13.6943C87.6956 13.6943 86.783 12.7393 86.783 11.3425C86.783 9.94576 87.6956 8.99082 89.0359 8.99082C90.3763 8.99082 91.2889 9.94576 91.2889 11.3425C91.2889 12.7393 90.3763 13.6943 89.0359 13.6943Z"),u(s,"fill","white")},m(a,c){E(a,e,c),E(a,t,c),E(a,n,c),E(a,o,c),E(a,r,c),E(a,l,c),E(a,s,c)},d(a){a&&(P(e),P(t),P(n),P(o),P(r),P(l),P(s))}}}function Sv(i){let e,t,n,o=!i[0]&&Ra();return{c(){e=B("svg"),t=B("path"),o&&o.c(),u(t,"d","M19.0283 1.47947C17.5482 1.47862e-05 15.3189 -2.59106e-06 10.8969 -1.8179e-06L10.1111 -1.68051e-06C5.68913 -9.0734e-07 3.47814 1.72463e-05 1.97977 1.47947C0.499685 2.95892 0.499757 5.18723 0.499758 9.60732L0.499758 10.3927C0.499758 14.8128 0.499687 17.0228 1.97978 18.5205C3.45987 20 5.68914 20 10.1111 20L10.8969 20C15.3189 20 17.5299 20 19.0283 18.5205C20.5084 17.0411 20.5084 14.8128 20.5084 10.3927L20.5084 9.60732C20.5084 5.16896 20.5084 2.95892 19.0283 1.47947ZM8.06464 14.8128C6.69419 15.3242 5.21408 14.4658 4.93999 13.0046C4.73899 12.0183 4.64761 10.9954 4.64761 9.93605C4.64761 8.91322 4.73899 7.90867 4.93999 6.94064C5.21408 5.47945 6.69419 4.62102 8.06464 5.13244C9.91018 5.80823 11.5913 6.84928 13.0166 8.18261C14.0581 9.15064 14.0581 10.8128 13.0166 11.7808C11.573 13.0959 9.89191 14.137 8.06464 14.8128ZM19.9602 10.3744C19.9602 14.6484 19.9601 16.7854 18.6262 18.1005C17.5116 19.2146 15.8305 19.3972 12.7973 19.4155C13.9302 19.2328 14.7342 18.9041 15.3554 18.2648C16.6893 16.9132 16.6893 14.7397 16.6893 10.3744L16.6893 9.57075C16.6893 5.20546 16.6893 3.032 15.3554 1.6804C14.7342 1.04113 13.9302 0.712308 12.7973 0.52966C15.8305 0.566189 17.5116 0.748873 18.6079 1.84476C19.9418 3.1781 19.9419 5.31505 19.9419 9.57075L19.9419 10.3744L19.9602 10.3744ZM11.6826 9.68036C11.8653 9.84474 11.8653 10.137 11.6826 10.3013C10.4401 11.4338 8.99653 12.3105 7.40681 12.895C7.16926 12.9863 6.91344 12.8402 6.85863 12.5845C6.69417 11.7443 6.60283 10.8676 6.60283 9.97262C6.60282 9.09591 6.69417 8.23744 6.85862 7.39726C6.91344 7.14155 7.16926 6.9954 7.40681 7.08672C8.97826 7.67119 10.4401 8.54794 11.6826 9.68036Z"),u(t,"fill","white"),u(e,"width",i[2]),u(e,"height","20"),u(e,"viewBox",n="0 0 "+(i[2]+1)+" 20"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid",i[3]),u(e,"class","v-1bbobod"),V(e,"mobile",i[1])},m(r,l){E(r,e,l),p(e,t),o&&o.m(e,null)},p(r,[l]){r[0]?o&&(o.d(1),o=null):o||(o=Ra(),o.c(),o.m(e,null)),l&4&&u(e,"width",r[2]),l&4&&n!==(n="0 0 "+(r[2]+1)+" 20")&&u(e,"viewBox",n),l&8&&u(e,"data-testid",r[3]),l&2&&V(e,"mobile",r[1])},i:W,o:W,d(r){r&&P(e),o&&o.d()}}}function Pv(i,e,t){let{short:n=!1}=e,{isMobile:o=!1}=e,r,l;return i.$$set=s=>{"short"in s&&t(0,n=s.short),"isMobile"in s&&t(1,o=s.isMobile)},i.$$.update=()=>{i.$$.dirty&1&&(t(2,r=n?20:93),t(3,l=n?"vk-video-logo-icon--short":"vk-video-logo-icon"))},[n,o,r,l]}class Tv extends ye{constructor(e){super(),we(this,e,Pv,Sv,_e,{short:0,isMobile:1},Cv)}}function Ev(i){let e,t;return e=new kv({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Av(i){let e,t;return e=new Tv({props:{short:i[4],isMobile:!!i[7]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.short=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lv(i){let e,t,n,o;const r=[Av,Ev],l=[];function s(a,c){return a[2]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function Iv(i){let e,t,n;function o(l){i[13](l)}let r={className:"btn-full-opacity",disabled:!i[1],click:i[8],testId:i[2]?"btn-vk-video-logo":"btn-vk-logo",ariaLabel:i[3],$$slots:{default:[Lv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.disabled=!l[1]),s&4&&(a.testId=l[2]?"btn-vk-video-logo":"btn-vk-logo"),s&8&&(a.ariaLabel=l[3]),s&524308&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mv(i,e,t){let n,o,r,{ref:l=void 0}=e,{logoClickable:s=!1}=e,{videoLogoUrl:a=void 0}=e,{click:c}=e;const f=vn(),{logoLink:m,addTimeToLogoLink:h}=f,b=St(),v=b.state.positionWithScrubbing$;z(i,v,M=>t(14,n=M));const y=b.ui.currentGridType$;z(i,y,M=>t(11,o=M));const _=b.ui.isMobile;z(i,_,M=>t(12,r=M));let C,k,w;const N=()=>{let M;if(k||!a)M=m;else{const G=Math.round(n);if(h&&G){const re=new URL(a);re.searchParams.append("t",d0(G)),M=re.toString()}else M=a}c(),window.open(M,"_blank")};function Q(M){l=M,t(0,l)}return i.$$set=M=>{"ref"in M&&t(0,l=M.ref),"logoClickable"in M&&t(1,s=M.logoClickable),"videoLogoUrl"in M&&t(9,a=M.videoLogoUrl),"click"in M&&t(10,c=M.click)},i.$$.update=()=>{i.$$.dirty&6148&&t(4,w=(r||$c(o,Lt.L))&&k)},t(3,C=f.logoType===Lo.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),t(2,k=f.logoType===Lo.VK_VIDEO),[l,s,k,C,w,v,y,_,N,a,c,o,r,Q]}class nf extends ye{constructor(e){super(),we(this,e,Mv,Iv,_e,{ref:0,logoClickable:1,videoLogoUrl:9,click:10})}}function Vv(i){Ue(i,"v-8z1bf5",".connecting.v-8z1bf5 .wave.v-8z1bf5{animation-duration:1s;animation-iteration-count:infinite}.connecting.v-8z1bf5 .wave1.v-8z1bf5{animation-name:v-8z1bf5-wave1}.connecting.v-8z1bf5 .wave2.v-8z1bf5{animation-name:v-8z1bf5-wave2}.connecting.v-8z1bf5 .wave3.v-8z1bf5{animation-name:v-8z1bf5-wave3}@keyframes v-8z1bf5-wave1{0%{opacity:0.3}33%{opacity:1}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave2{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:1}100%{opacity:1}}@keyframes v-8z1bf5-wave3{0%{opacity:0.3}33%{opacity:0.3}66%{opacity:0.3}100%{opacity:1}}")}function Bv(i){let e,t,n,o,r,l,s,a;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("path"),s=B("path"),a=B("path"),u(n,"class","wave wave1 v-8z1bf5"),u(n,"d","M1 18v3h3c0-1.66-1.34-3-3-3z"),u(n,"fill","#fff"),u(o,"class","wave wave2 v-8z1bf5"),u(o,"d","M1 14v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7z"),u(o,"fill","#fff"),u(r,"class","wave wave3 v-8z1bf5"),u(r,"d","M1 10v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11z"),u(r,"fill","#fff"),u(l,"d","M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"),u(l,"fill","#fff"),u(s,"d","M0 0h24v24H0z"),u(a,"d","M5.667 7.44H18.5v9.167h-5.161a11.947 11.947 0 0 0-7.673-7.672V7.44Z"),u(a,"fill","#fff"),V(a,"hidden",!i[1]),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"width","24"),u(e,"height","24"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-icon"),u(e,"class","v-8z1bf5"),V(e,"connecting",i[2])},m(c,f){E(c,e,f),p(e,t),p(t,n),p(t,o),p(t,r),p(t,l),p(t,s),p(t,a)},p(c,f){f&2&&V(a,"hidden",!c[1]),f&4&&V(e,"connecting",c[2])},d(c){c&&P(e)}}}function Rv(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q;return{c(){e=B("svg"),t=B("g"),n=B("mask"),o=B("path"),l=B("path"),s=B("path"),c=B("path"),f=B("defs"),m=B("clipPath"),h=B("path"),v=B("filter"),y=B("feFlood"),_=B("feColorMatrix"),C=B("feOffset"),k=B("feGaussianBlur"),w=B("feColorMatrix"),N=B("feBlend"),Q=B("feBlend"),u(o,"fill",r=i[1]?"#2688EB":"#fff"),u(o,"d","M1.1 3.1h22v18h-22z"),u(l,"fill-rule","evenodd"),u(l,"clip-rule","evenodd"),u(l,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(n,"id","c"),u(n,"maskUnits","userSpaceOnUse"),u(n,"x","1.1"),u(n,"y","3.1"),u(n,"width","22"),u(n,"height","18"),u(n,"fill","#000"),u(s,"fill-rule","evenodd"),u(s,"clip-rule","evenodd"),u(s,"d","M16.2 5.9c.855 0 1.442 0 1.897.038.445.036.683.103.856.19a2.1 2.1 0 0 1 .918.919c.088.172.155.411.191.856.037.455.038 1.042.038 1.897v4.4c0 .855 0 1.442-.038 1.897-.036.445-.103.683-.19.856a2.1 2.1 0 0 1-.919.918c-.172.088-.411.155-.856.191-.455.037-1.042.038-1.897.038H15a.9.9 0 0 0 0 1.8h1.238c.808 0 1.469 0 2.006-.044.556-.045 1.058-.142 1.527-.381a3.9 3.9 0 0 0 1.704-1.704c.239-.47.336-.971.381-1.527.044-.537.044-1.198.044-2.006V9.762c0-.808 0-1.469-.044-2.006-.045-.556-.142-1.058-.381-1.527a3.9 3.9 0 0 0-1.704-1.704c-.47-.239-.971-.336-1.527-.381-.537-.044-1.198-.044-2.006-.044H6a3.901 3.901 0 0 0-3.678 2.6.9.9 0 0 0 1.697.6A2.101 2.101 0 0 1 6 5.9h10.2ZM3.069 11.52a6.9 6.9 0 0 1 7.413 7.413.9.9 0 0 0 1.795.137 8.7 8.7 0 0 0-9.344-9.344.9.9 0 0 0 .136 1.794Zm.533 3.58c-.161 0-.32.011-.474.034a.9.9 0 1 1-.256-1.782A5.1 5.1 0 0 1 8.65 19.13a.9.9 0 1 1-1.782-.256A3.3 3.3 0 0 0 3.602 15.1Zm-1.5 3.3a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Z"),u(s,"fill",a=i[1]?"#2688EB":"#fff"),u(c,"d","m18.097 5.938-.04.498.04-.498Zm.856.19-.227.446.227-.445Zm.918.919-.445.227.445-.227Zm.191.856-.498.04.498-.04Zm0 8.194-.498-.04.498.04Zm-.19.856-.446-.227.445.227Zm-.919.918-.227-.445.227.445Zm-.856.191.04.498-.04-.498Zm-1.86 1.838v-.5.5Zm2.007-.044.04.498-.04-.498Zm1.527-.381-.227-.446.227.446Zm1.704-1.704.445.227-.445-.227Zm.381-1.527.498.04-.498-.04Zm.044-2.006h-.5.5Zm0-4.476h-.5.5Zm-.044-2.006.498-.04-.498.04Zm-.381-1.527.445-.227-.445.227ZM19.77 4.525l-.227.446.227-.446Zm-1.527-.381.04-.498-.04.498ZM16.238 4.1v.5-.5ZM6 4.1v-.5.5ZM2.322 6.7l-.471-.167.471.167Zm1.697.6-.471-.167.471.167ZM6 5.9v-.5.5Zm-2.931 5.62-.038-.498.038.498Zm7.413 7.413.498.038-.498-.038Zm1.795.137.498.038-.498-.038ZM2.931 9.725l-.038-.498.038.498Zm-.829.966.499-.038-.499.038Zm1.025 4.443-.071-.495.071.495Zm-1.019-.763.495-.071-.495.07Zm.763-1.02.071.496-.07-.495ZM8.65 19.13l.495.072-.495-.072Zm-1.019.764-.07.494.07-.494Zm-.763-1.02.495.072-.495-.071ZM18.138 5.44c-.48-.04-1.091-.04-1.938-.04v1c.863 0 1.426.001 1.856.036l.082-.996Zm1.042.243c-.255-.13-.567-.205-1.042-.243l-.082.996c.414.034.58.092.67.138l.454-.89Zm1.137 1.137a2.6 2.6 0 0 0-1.137-1.137l-.454.891a1.6 1.6 0 0 1 .7.7l.89-.454Zm.244 1.042c-.04-.475-.114-.787-.244-1.042l-.891.454c.046.09.104.256.138.67l.997-.082ZM20.6 9.8c0-.846 0-1.458-.04-1.938l-.996.082c.035.43.036.993.036 1.856h1Zm0 4.4V9.8h-1v4.4h1Zm-.04 1.938c.04-.48.04-1.092.04-1.938h-1c0 .863-.001 1.426-.036 1.856l.997.082Zm-.243 1.042c.13-.255.205-.567.244-1.042l-.997-.082c-.034.414-.092.58-.138.67l.89.454Zm-1.137 1.137a2.6 2.6 0 0 0 1.137-1.137l-.891-.454a1.6 1.6 0 0 1-.7.7l.454.89Zm-1.042.244c.475-.04.787-.114 1.042-.244l-.454-.891c-.09.046-.256.104-.67.138l.082.997ZM16.2 18.6c.847 0 1.458 0 1.938-.04l-.082-.996c-.43.035-.993.036-1.856.036v1Zm-1.2 0h1.2v-1H15v1Zm-.4.4c0-.22.18-.4.4-.4v-1a1.4 1.4 0 0 0-1.4 1.4h1Zm.4.4a.4.4 0 0 1-.4-.4h-1a1.4 1.4 0 0 0 1.4 1.4v-1Zm1.238 0H15v1h1.238v-1Zm1.965-.042c-.512.042-1.15.042-1.965.042v1c.8 0 1.484 0 2.046-.045l-.081-.997Zm1.34-.329c-.386.198-.815.286-1.34.329l.081.997c.587-.049 1.163-.154 1.714-.435l-.454-.89Zm1.486-1.485a3.4 3.4 0 0 1-1.485 1.485l.454.891a4.4 4.4 0 0 0 1.922-1.922l-.89-.454Zm.329-1.341c-.043.525-.131.954-.329 1.34l.891.455c.281-.552.386-1.127.434-1.714l-.996-.081Zm.042-1.965c0 .815 0 1.453-.042 1.965l.997.081c.045-.561.045-1.246.045-2.046h-1Zm0 0h1-1Zm0-4.476v4.476h1V9.762h-1Zm0 0h1-1Zm-.042-1.965c.042.512.042 1.15.042 1.965h1c0-.8 0-1.484-.045-2.046l-.997.081Zm-.329-1.34c.198.386.286.815.329 1.34l.997-.081c-.049-.587-.154-1.162-.435-1.714l-.89.454ZM19.544 4.97a3.4 3.4 0 0 1 1.485 1.485l.891-.454a4.4 4.4 0 0 0-1.922-1.922l-.454.89Zm-1.341-.329c.525.043.954.132 1.34.329l.455-.891c-.552-.281-1.127-.387-1.714-.434l-.081.996ZM16.238 4.6c.815 0 1.453 0 1.965.042l.081-.996c-.562-.046-1.246-.046-2.046-.046v1Zm0 0v-1 1ZM6 4.6h10.238v-1H6v1Zm0-1v1-1Zm0 0a4.401 4.401 0 0 0-4.15 2.933l.944.334A3.401 3.401 0 0 1 6 4.6v-1ZM1.85 6.533a1.4 1.4 0 0 0 .854 1.787l.333-.943a.4.4 0 0 1-.243-.51l-.943-.334Zm.854 1.787a1.4 1.4 0 0 0 1.787-.853l-.943-.334a.4.4 0 0 1-.51.244l-.334.943Zm1.787-.853A1.601 1.601 0 0 1 6 6.4v-1c-1.131 0-2.095.722-2.452 1.733l.943.334ZM16.2 5.4H6v1h10.2v-1ZM3.602 11c-.192 0-.383.007-.571.022l.076.997A6.53 6.53 0 0 1 3.602 12v-1Zm7.4 7.4a7.4 7.4 0 0 0-7.4-7.4v1a6.4 6.4 0 0 1 6.4 6.4h1Zm-.022.571c.015-.188.022-.379.022-.571h-1c0 .167-.006.332-.019.495l.997.076Zm.369.43a.4.4 0 0 1-.369-.43l-.997-.076a1.4 1.4 0 0 0 1.29 1.502l.076-.997Zm.429-.37a.4.4 0 0 1-.43.37l-.075.996a1.4 1.4 0 0 0 1.502-1.29l-.997-.075Zm.024-.631c0 .213-.008.423-.024.632l.997.076c.018-.234.027-.47.027-.708h-1Zm-8.2-8.2a8.2 8.2 0 0 1 8.2 8.2h1a9.2 9.2 0 0 0-9.2-9.2v1Zm-.632.024c.209-.016.42-.024.632-.024v-1c-.238 0-.474.01-.708.027l.076.997Zm-.368.43a.4.4 0 0 1 .368-.43l-.076-.997a1.4 1.4 0 0 0-1.29 1.502l.998-.076Zm.429.368a.4.4 0 0 1-.43-.369l-.996.076a1.4 1.4 0 0 0 1.502 1.29l-.076-.997Zm.168 4.607c.13-.02.265-.029.403-.029v-1c-.185 0-.367.013-.545.039l.142.99Zm-1.585-1.187A1.4 1.4 0 0 0 3.2 15.629l-.142-.99a.4.4 0 0 1-.453-.34l-.99.143Zm1.187-1.585a1.4 1.4 0 0 0-1.187 1.585l.99-.142a.4.4 0 0 1 .34-.453l-.143-.99Zm.801-.057c-.271 0-.538.02-.8.057l.141.99c.216-.031.436-.047.659-.047v-1Zm5.6 5.6a5.6 5.6 0 0 0-5.6-5.6v1a4.6 4.6 0 0 1 4.6 4.6h1Zm-.057.8c.038-.262.057-.529.057-.8h-1c0 .223-.016.443-.047.659l.99.142ZM7.56 20.389A1.4 1.4 0 0 0 9.145 19.2l-.99-.142a.4.4 0 0 1-.453.34l-.142.99Zm-1.187-1.585a1.4 1.4 0 0 0 1.187 1.584l.142-.99a.4.4 0 0 1-.339-.452l-.99-.142Zm.029-.403c0 .138-.01.272-.029.403l.99.142c.026-.178.039-.36.039-.545h-1Zm-2.8-2.8a2.8 2.8 0 0 1 2.8 2.8h1a3.8 3.8 0 0 0-3.8-3.8v1Zm0 .8a2 2 0 0 0-2 2h1a1 1 0 0 1 1-1v-1Zm2 2a2 2 0 0 0-2-2v1a1 1 0 0 1 1 1h1Zm-2 2a2 2 0 0 0 2-2h-1a1 1 0 0 1-1 1v1Zm-2-2a2 2 0 0 0 2 2v-1a1 1 0 0 1-1-1h-1Z"),u(c,"fill","#000"),u(c,"fill-opacity",".12"),u(c,"mask","url(#c)"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(h,"fill",b=i[1]?"#2688EB":"#fff"),u(h,"d","M0 0h24v24H0z"),u(m,"id","a"),u(y,"flood-opacity","0"),u(y,"result","BackgroundImageFix"),u(_,"in","SourceAlpha"),u(_,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(_,"result","hardAlpha"),u(k,"stdDeviation","2.5"),u(w,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(N,"in2","BackgroundImageFix"),u(N,"result","effect1_dropShadow_4085_178456"),u(Q,"in","SourceGraphic"),u(Q,"in2","effect1_dropShadow_4085_178456"),u(Q,"result","shape"),u(v,"id","b"),u(v,"x","-3.4"),u(v,"y","-1.4"),u(v,"width","30.8"),u(v,"height","26.802"),u(v,"filterUnits","userSpaceOnUse"),u(v,"color-interpolation-filters","sRGB"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chromecast-mobile-icon")},m(M,G){E(M,e,G),p(e,t),p(t,n),p(n,o),p(n,l),p(t,s),p(t,c),p(e,f),p(f,m),p(m,h),p(f,v),p(v,y),p(v,_),p(v,C),p(v,k),p(v,w),p(v,N),p(v,Q)},p(M,G){G&2&&r!==(r=M[1]?"#2688EB":"#fff")&&u(o,"fill",r),G&2&&a!==(a=M[1]?"#2688EB":"#fff")&&u(s,"fill",a),G&2&&b!==(b=M[1]?"#2688EB":"#fff")&&u(h,"fill",b)},d(M){M&&P(e)}}}function Nv(i){let e;function t(r,l){return r[0]?Rv:Bv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function Ov(i,e,t){let{isMobile:n=!1}=e,{state:o}=e,r,l;return i.$$set=s=>{"isMobile"in s&&t(0,n=s.isMobile),"state"in s&&t(3,o=s.state)},i.$$.update=()=>{i.$$.dirty&8&&(t(2,l=o===Ln.CONNECTING),t(1,r=o===Ln.CONNECTED))},[n,r,l,o]}class Dv extends ye{constructor(e){super(),we(this,e,Ov,Nv,_e,{isMobile:0,state:3},Vv)}}function zv(i){let e,t;return e=new Dv({props:{isMobile:i[1],state:i[2]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isMobile=n[1]),o&4&&(r.state=n[2]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fv(i){let e,t,n;function o(l){i[5](l)}let r={ariaLabel:i[4],click:i[3],testId:"btn-chromecast",$$slots:{default:[zv]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&16&&(a.ariaLabel=l[4]),s&8&&(a.click=l[3]),s&70&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Hv(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{state:r}=e,{click:l=Ye}=e,s;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"state"in c&&t(2,r=c.state),"click"in c&&t(3,l=c.click)},i.$$.update=()=>{i.$$.dirty&4&&t(4,s=r===Ln.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off"))},[n,o,r,l,s,a]}class of extends ye{constructor(e){super(),we(this,e,Hv,Fv,_e,{ref:0,isMobile:1,state:2,click:3})}}function Uv(i){let e,t;return e=new Nc({props:{isActive:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qv(i){let e,t;return e=new Si({props:{className:i[0]?"":"btn--live btn-full-opacity",testId:i[1]?"btn-live":"btn-live-offset",disabled:i[1]&&i[3]===$t.PLAYING,ariaLabel:i[2],click:i[4],$$slots:{default:[Uv]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"":"btn--live btn-full-opacity"),o&2&&(r.testId=n[1]?"btn-live":"btn-live-offset"),o&10&&(r.disabled=n[1]&&n[3]===$t.PLAYING),o&4&&(r.ariaLabel=n[2]),o&16&&(r.click=n[4]),o&514&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function jv(i,e,t){let n,{isMobile:o=!1}=e,{isActiveLive:r=!1}=e,{ariaLabel:l=""}=e;const s=St(),a=s.state.playbackState$;z(i,a,h=>t(3,n=h));const c=s.actions.internal.switchToActiveLive,f=s.actions.internal.togglePlay;let m;return i.$$set=h=>{"isMobile"in h&&t(0,o=h.isMobile),"isActiveLive"in h&&t(1,r=h.isActiveLive),"ariaLabel"in h&&t(2,l=h.ariaLabel)},i.$$.update=()=>{i.$$.dirty&10&&t(4,m=()=>{if(!r){c();return}n===$t.PAUSED&&f()})},[o,r,l,n,m,a]}class lf extends ye{constructor(e){super(),we(this,e,jv,qv,_e,{isMobile:0,isActiveLive:1,ariaLabel:2})}}function Wv(i){Ue(i,"v-5ygsa2",'.tooltip-wrapper.v-5ygsa2{position:relative;display:block}.tooltip.v-5ygsa2{position:absolute;opacity:0;visibility:hidden;transition:opacity 200ms, visibility 200ms;bottom:100%;transform:translateX(-50%)}.pointer.v-5ygsa2:after{position:absolute;bottom:0;left:50%;width:0;border-top:5px solid rgba(41, 41, 41, .8);border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0;transform:translate(-50%, 5px)}.tooltip.active.v-5ygsa2{opacity:1;visibility:visible}')}function Zv(i){let e,t,n,o;const r=i[9].default,l=Nn(r,i,i[8],null);return{c(){e=T("div"),t=T("div"),l&&l.c(),u(t,"class","tooltip v-5ygsa2"),V(t,"active",i[0]),V(t,"pointer",i[1]),u(e,"class","tooltip-wrapper v-5ygsa2"),u(e,"style",n=`transform: translate(${i[5]}px, ${i[2]}px);`)},m(s,a){E(s,e,a),p(e,t),l&&l.m(t,null),i[10](t),i[11](e),o=!0},p(s,[a]){l&&l.p&&(!o||a&256)&&Dn(l,r,s,s[8],o?On(r,s[8],a,null):zn(s[8]),null),(!o||a&1)&&V(t,"active",s[0]),(!o||a&2)&&V(t,"pointer",s[1]),(!o||a&36&&n!==(n=`transform: translate(${s[5]}px, ${s[2]}px);`))&&u(e,"style",n)},i(s){o||(d(l,s),o=!0)},o(s){g(l,s),o=!1},d(s){s&&P(e),l&&l.d(s),i[10](null),i[11](null)}}}function Kv(i,e,t){let n,{$$slots:o={},$$scope:r}=e,{active:l=!1}=e,{pointer:s=!1}=e,{translateXPx:a=0}=e,{translateYPx:c=0}=e,{containerWidth:f}=e,m,h;function b(_){if(!h)return 0;const{width:C}=h.getBoundingClientRect(),k=C/2;return _<k?k:_>f-k?f-k:_}function v(_){ke[_?"unshift":"push"](()=>{h=_,t(4,h)})}function y(_){ke[_?"unshift":"push"](()=>{m=_,t(3,m)})}return i.$$set=_=>{"active"in _&&t(0,l=_.active),"pointer"in _&&t(1,s=_.pointer),"translateXPx"in _&&t(6,a=_.translateXPx),"translateYPx"in _&&t(2,c=_.translateYPx),"containerWidth"in _&&t(7,f=_.containerWidth),"$$scope"in _&&t(8,r=_.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&t(5,n=b(a))},[l,s,c,m,h,n,a,f,r,o,v,y]}class Gv extends ye{constructor(e){super(),we(this,e,Kv,Zv,_e,{active:0,pointer:1,translateXPx:6,translateYPx:2,containerWidth:7},Wv)}}const rf=(i,e,t)=>t.filter(n=>n.time<i*e).pop();function Yv(i){Ue(i,"v-l51fc1",".timeline-preview.v-l51fc1{bottom:18px;border-radius:2px;pointer-events:none}.timeline-preview.mobile.v-l51fc1{bottom:72px}.preview.v-l51fc1{margin-bottom:10px;background-color:var(--timeline-preview-bg);box-shadow:0 0 2px var(--timeline-preview-shadow), 0 8px 24px var(--timeline-preview-shadow);border-radius:8px;border:1px solid var(--white)}.episode.v-l51fc1{margin-top:10px;margin-bottom:4px;font-size:13px;line-height:16px;text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;font-weight:500}.time.v-l51fc1{font-size:13px;line-height:16px;text-align:center;color:var(--slider-filled-bg);text-shadow:0 8px 24px var(--timeline-preview-shadow), 0 0 2px var(--timeline-preview-shadow);font-weight:500}")}function Na(i){let e;function t(r,l){return r[2]&&r[10].completed===!1?Qv:Xv}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function Xv(i){let e=(i[10].text||"")+"",t;return{c(){t=ze(e)},m(n,o){E(n,t,o)},p(n,o){o&1024&&e!==(e=(n[10].text||"")+"")&&xe(t,e)},d(n){n&&P(t)}}}function Qv(i){let e=K("tooltip_episode_unfinished")+"",t;return{c(){t=ze(e)},m(n,o){E(n,t,o)},p:W,d(n){n&&P(t)}}}function Jv(i){let e,t,n,o,r,l,s,a,c=i[10]&&Na(i);return{c(){e=T("div"),t=T("div"),o=R(),r=T("div"),c&&c.c(),l=R(),s=T("div"),a=ze(i[0]),u(t,"class","preview v-l51fc1"),u(t,"style",n=`width: ${i[3]}px; height: ${i[4]}px; background-image: url(${i[5]}); background-size: ${i[6]}px ${i[7]}px; background-position: ${i[8]}px ${i[9]}px; transform: translateY(${i[11]%180?-35:0}px) rotate(${i[11]}deg);`),u(r,"class","episode v-l51fc1"),u(s,"class","time v-l51fc1"),u(e,"class","timeline-preview v-l51fc1"),V(e,"mobile",i[1])},m(f,m){E(f,e,m),p(e,t),p(e,o),p(e,r),c&&c.m(r,null),p(e,l),p(e,s),p(s,a)},p(f,[m]){m&3064&&n!==(n=`width: ${f[3]}px; height: ${f[4]}px; background-image: url(${f[5]}); background-size: ${f[6]}px ${f[7]}px; background-position: ${f[8]}px ${f[9]}px; transform: translateY(${f[11]%180?-35:0}px) rotate(${f[11]}deg);`)&&u(t,"style",n),f[10]?c?c.p(f,m):(c=Na(f),c.c(),c.m(r,null)):c&&(c.d(1),c=null),m&1&&xe(a,f[0]),m&2&&V(e,"mobile",f[1])},i:W,o:W,d(f){f&&P(e),c&&c.d()}}}const wo=150;function xv(i,e,t){let n,{time:o=""}=e,{isMobile:r=!1}=e,{videoEpisodes:l=[]}=e,{previewThumbsData:s}=e,{progress:a=0}=e,{duration:c=0}=e,{isInteractive:f=!1}=e;const h=St().ui.rotateAlpha;z(i,h,G=>t(11,n=G));let b,v,y,_,C,k,w,N;function Q(){let G=s.frameWidth,re=s.frameHeight;return G>wo?(re=re/G*wo,G=wo):re>wo&&(G=G/re*wo,re=wo),{width:G,height:re}}function M(G){let re;s.isUV?re=Math.floor(c*G/s.frequency):re=Math.min(s.countTotal,Math.max(0,Math.floor(s.countTotal*G)));const ie=Math.floor(re/s.countPerImage),O=Math.floor(re%s.countPerImage/s.countPerRow),$=re%s.countPerRow;let S=Math.floor(s.countPerImage/s.countPerRow);!s.isUV&&ie===Math.floor(s.countTotal/s.countPerImage)&&(S=Math.floor(s.countTotal%s.countPerImage/s.countPerRow),s.countTotal%s.countPerImage%s.countPerRow>0&&S++);let D=s.countPerRow;!s.isUV&&ie===Math.floor(s.countTotal/s.countPerImage)&&s.countTotal%s.countPerImage>0&&(D=Math.min(s.countPerRow,s.countTotal%s.countPerImage));const le=b*D,L=v*S,se=-$*b,me=-O*v;return{imgSrc:s.links[ie],imgWidth:le,imgHeight:L,imgOffsetX:se,imgOffsetY:me}}return i.$$set=G=>{"time"in G&&t(0,o=G.time),"isMobile"in G&&t(1,r=G.isMobile),"videoEpisodes"in G&&t(13,l=G.videoEpisodes),"previewThumbsData"in G&&t(14,s=G.previewThumbsData),"progress"in G&&t(15,a=G.progress),"duration"in G&&t(16,c=G.duration),"isInteractive"in G&&t(2,f=G.isInteractive)},i.$$.update=()=>{i.$$.dirty&32768&&t(5,{imgSrc:y,imgWidth:_,imgHeight:C,imgOffsetX:k,imgOffsetY:w}=M(a),y,(t(6,_),t(15,a)),(t(7,C),t(15,a)),(t(8,k),t(15,a)),(t(9,w),t(15,a))),i.$$.dirty&106496&&t(10,N=rf(a,c,l))},t(3,{width:b,height:v}=Q(),b,t(4,v)),[o,r,f,b,v,y,_,C,k,w,N,n,h,l,s,a,c]}class $v extends ye{constructor(e){super(),we(this,e,xv,Jv,_e,{time:0,isMobile:1,videoEpisodes:13,previewThumbsData:14,progress:15,duration:16,isInteractive:2},Yv)}}function e5(i){Ue(i,"v-5lzly8",".time.v-5lzly8{display:inline-block;padding:6px 10px;border-radius:3px;color:var(--white);background-color:rgba(41, 41, 41, .8)}")}function t5(i){let e,t;return{c(){e=T("span"),t=ze(i[7]),u(e,"class","time v-5lzly8")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o[0]&128&&xe(t,n[7])},i:W,o:W,d(n){n&&P(e)}}}function i5(i){let e,t;return e=new $v({props:{time:i[7],isMobile:i[10],videoEpisodes:i[3],previewThumbsData:i[21],progress:i[8],duration:i[1],isInteractive:i[23]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&128&&(r.time=n[7]),o[0]&1024&&(r.isMobile=n[10]),o[0]&8&&(r.videoEpisodes=n[3]),o[0]&256&&(r.progress=n[8]),o[0]&2&&(r.duration=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function n5(i){let e,t,n,o;const r=[i5,t5],l=[];function s(a,c){return a[14].features.timelinePreview&&a[21]&&!a[0]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function o5(i){let e,t,n,o;const r=[i[9]];let l={$$slots:{default:[n5]},$$scope:{ctx:i}};for(let s=0;s<r.length;s+=1)l=T1(l,r[s]);return e=new Gv({props:l}),n=new Or({props:{isActiveLive:i[11],isMobile:i[10],ariaLabel:K("aria_timeline"),ariaValueMin:0,ariaValueMax:i[1],ariaValueNow:Math.round(i[6]*100),ariaValueText:K("aria_timeline_value",{position:i[5],duration:i[4]}),loadedProgress:i[12],filledProgress:i[6],handleProgress:i[6],videoEpisodes:i[3],onPointerDown:i[27],onHandleMove:i[28],onPointerMove:i[31],onPointerUp:i[29],onPointerEnter:i[30],onPointerLeave:i[32],isInteractive:i[23],disabled:i[13].has(ut.TIMELINE),hideHandel:i[2]}}),{c(){q(e.$$.fragment),t=R(),q(n.$$.fragment)},m(s,a){F(e,s,a),E(s,t,a),F(n,s,a),o=!0},p(s,a){const c=a[0]&512?N0(r,[O0(s[9])]):{};a[0]&1419|a[1]&65536&&(c.$$scope={dirty:a,ctx:s}),e.$set(c);const f={};a[0]&2048&&(f.isActiveLive=s[11]),a[0]&1024&&(f.isMobile=s[10]),a[0]&2&&(f.ariaValueMax=s[1]),a[0]&64&&(f.ariaValueNow=Math.round(s[6]*100)),a[0]&48&&(f.ariaValueText=K("aria_timeline_value",{position:s[5],duration:s[4]})),a[0]&4096&&(f.loadedProgress=s[12]),a[0]&64&&(f.filledProgress=s[6]),a[0]&64&&(f.handleProgress=s[6]),a[0]&8&&(f.videoEpisodes=s[3]),a[0]&8192&&(f.disabled=s[13].has(ut.TIMELINE)),a[0]&4&&(f.hideHandel=s[2]),n.$set(f)},i(s){o||(d(e.$$.fragment,s),d(n.$$.fragment,s),o=!0)},o(s){g(e.$$.fragment,s),g(n.$$.fragment,s),o=!1},d(s){s&&P(t),H(e,s),H(n,s)}}}function l5(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,{showTimeline:v=!1}=e;const y=St(),_=vn(),C=y.state.bufferedProgress$;z(i,C,X=>t(12,h=X));const k=y.state.positionWithScrubbing$;z(i,k,X=>t(39,a=X));const w=y.state.duration$;z(i,w,X=>t(1,r=X));const N=y.state.isLive$;z(i,N,X=>t(0,o=X));const Q=y.state.isActiveLive$;z(i,Q,X=>t(11,m=X));const M=y.ui.isMobile;z(i,M,X=>t(10,f=X));const G=_.features.episodes?y.actions.internal.getVideoEpisodes():void 0,re=y.actions.internal.getPreviewThumbsData(),ie=y.state.interactiveEpisodes$;z(i,ie,X=>t(40,c=X));const O=y.state.isInteractive,$=y.state.isInteractiveTime$;z(i,$,X=>t(2,l=X));const S=y.state.isInteractiveExpectation$;z(i,S,X=>t(38,s=X));const D=y.actions.internal.correctSeekTimeToInteractive,le=y.ui.controls.disabledControls$;z(i,le,X=>t(13,b=X));let L,se,me,ve,ue=!1,Y="",ce=0,De=0,fe=0,Ae;function Se(X){return!D||!O?X:D(X*r)/r}function ae(X){y.actions.internal.startScrubbing(Se(X))}function Te(X){l||y.actions.internal.progressScrubbing(Se(X))}function A(X){y.actions.internal.completeScrubbing(Se(X)),t(34,ue=!1)}function ne(X,U,Be){Pe(X,U,Be),t(34,ue=!0)}function Me(X,U,Be){Pe(X,U,Be),t(34,ue=!0)}function Ce(){t(34,ue=!1)}function Pe(X,U,Be){t(8,fe=X),t(35,ce=U),Be&&t(36,De=Be),t(7,Y=oe(X))}function oe(X){const U=Rn((o?1-X:X)*r);return o?`-${U}`:U}return i.$$set=X=>{"showTimeline"in X&&t(33,v=X.showTimeline)},i.$$.update=()=>{i.$$.dirty[1]&512&&t(3,L=O?c:G),i.$$.dirty[0]&2&&t(4,se=Rn(r)),i.$$.dirty[1]&256&&t(5,me=Rn(a)),i.$$.dirty[0]&2|i.$$.dirty[1]&256&&t(6,ve=a/r),i.$$.dirty[0]&4|i.$$.dirty[1]&128&&t(37,Ae=s||l),i.$$.dirty[0]&1|i.$$.dirty[1]&124&&t(9,n={containerWidth:De,translateXPx:ce,translateYPx:O&&re?-36:-16,active:ue&&v&&!Ae,pointer:!_.features.timelinePreview||!re||o})},[o,r,l,L,se,me,ve,Y,fe,n,f,m,h,b,_,C,k,w,N,Q,M,re,ie,O,$,S,le,ae,Te,A,ne,Me,Ce,v,ue,ce,De,Ae,s,a,c]}let r5=class extends ye{constructor(e){super(),we(this,e,l5,o5,_e,{showTimeline:33},e5,[-1,-1])}};function s5(i){let e,t;return e=new Or({props:{ariaValueMin:0,ariaValueMax:i[0],ariaValueNow:Math.round(i[3]*100),ariaValueText:K("aria_timeline_value",{position:i[2],duration:i[1]}),filledProgress:i[3],isAds:!0,hideHandel:!0,squareBorders:i[4]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.ariaValueMax=n[0]),o&8&&(r.ariaValueNow=Math.round(n[3]*100)),o&6&&(r.ariaValueText=K("aria_timeline_value",{position:n[2],duration:n[1]})),o&8&&(r.filledProgress=n[3]),o&16&&(r.squareBorders=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function a5(i,e,t){let n,{position:o=0}=e,{duration:r=0}=e;const s=St().ui.isMobile;z(i,s,m=>t(4,n=m));let a,c,f;return i.$$set=m=>{"position"in m&&t(6,o=m.position),"duration"in m&&t(0,r=m.duration)},i.$$.update=()=>{i.$$.dirty&1&&t(1,a=Rn(r)),i.$$.dirty&64&&t(2,c=Rn(o)),i.$$.dirty&65&&t(3,f=o/r)},[r,a,c,f,n,s,o]}class sf extends ye{constructor(e){super(),we(this,e,a5,s5,_e,{position:6,duration:0})}}function u5(i){Ue(i,"v-1gqonyf",".timeline.v-1gqonyf{position:relative;pointer-events:all;display:flex;align-items:center;bottom:0;width:100%;min-width:86px;padding:3px 10px 4px;box-sizing:border-box}.timeline.mobile.v-1gqonyf{height:16px;padding:6px 12px 7px;margin-top:6px}.timeline-stub.v-1gqonyf{width:100%;min-width:20px}.timeline-stub.mobile.v-1gqonyf{height:8px}")}function c5(i){let e;return{c(){e=T("div"),u(e,"class","timeline-stub v-1gqonyf"),V(e,"mobile",i[2])},m(t,n){E(t,e,n)},p(t,n){n&4&&V(e,"mobile",t[2])},i:W,o:W,d(t){t&&P(e)}}}function f5(i){let e,t,n,o;const r=[m5,d5],l=[];function s(a,c){return a[0]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","timeline v-1gqonyf"),V(e,"mobile",i[2])},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](a),n.c()),d(n,1),n.m(e,null)),(!o||c&4)&&V(e,"mobile",a[2])},i(a){o||(d(n),o=!0)},o(a){g(n),o=!1},d(a){a&&P(e),l[t].d()}}}function d5(i){let e,t;return e=new r5({props:{showTimeline:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.showTimeline=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function m5(i){let e,t;return e=new sf({props:{position:i[3],duration:i[4]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.position=n[3]),o&16&&(r.duration=n[4]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function p5(i){let e,t,n,o;const r=[f5,c5],l=[];function s(a,c){return a[1]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function h5(i,e,t){let n,o,r,l,{isAds:s=!1}=e,{canRewindLive:a}=e,{isRewindableLive:c}=e,{isHidden:f=!1}=e;const m=St(),h=m.state.isLive$;z(i,h,C=>t(12,n=C));const b=m.ads.duration;z(i,b,C=>t(4,l=C));const v=m.ads.position;z(i,v,C=>t(3,r=C));const y=m.ui.isMobile;z(i,y,C=>t(2,o=C));let _;return i.$$set=C=>{"isAds"in C&&t(0,s=C.isAds),"canRewindLive"in C&&t(9,a=C.canRewindLive),"isRewindableLive"in C&&t(10,c=C.isRewindableLive),"isHidden"in C&&t(11,f=C.isHidden)},i.$$.update=()=>{i.$$.dirty&7681&&t(1,_=!f&&(!n||n&&a&&c||s))},[s,_,o,r,l,h,b,v,y,a,c,f,n]}class af extends ye{constructor(e){super(),we(this,e,h5,p5,_e,{isAds:0,canRewindLive:9,isRewindableLive:10,isHidden:11},u5)}}function v5(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","m21.616 16.495-.012.07c-.156.852-.282 1.541-.427 2.093-.148.569-.333 1.063-.64 1.5a4.398 4.398 0 0 1-2.507 1.732c-.52.133-1.046.131-1.63.069-.568-.06-1.257-.187-2.11-.343l-4.34-.794c-.853-.156-1.542-.282-2.094-.426-.568-.149-1.062-.334-1.5-.642a4.398 4.398 0 0 1-1.731-2.507c-.133-.518-.131-1.045-.069-1.63.06-.567.187-1.257.343-2.11l.012-.068c.156-.853.282-1.542.427-2.095.148-.568.333-1.062.641-1.5a4.397 4.397 0 0 1 2.507-1.731c.518-.133 1.045-.131 1.63-.069.567.06 1.256.187 2.109.343l4.34.794c.853.156 1.542.282 2.094.426.568.149 1.062.334 1.5.642a4.398 4.398 0 0 1 1.731 2.506c.133.52.131 1.046.069 1.63-.06.568-.187 1.258-.343 2.11Zm-1.446-2.3c.052-.483.035-.769-.022-.993a2.599 2.599 0 0 0-1.023-1.481c-.19-.133-.45-.25-.921-.373-.48-.125-1.102-.24-1.997-.404l-4.272-.781c-.895-.164-1.518-.277-2.01-.33-.483-.051-.769-.035-.993.023-.6.153-1.125.516-1.481 1.023-.133.19-.25.45-.373.92-.125.48-.24 1.103-.403 1.998-.164.895-.277 1.518-.33 2.01-.051.484-.035.77.023.994.153.6.516 1.125 1.023 1.481.189.133.45.25.92.373.48.125 1.102.24 1.997.404l4.272.781c.895.164 1.518.277 2.01.33.483.051.77.035.993-.023a2.598 2.598 0 0 0 1.481-1.023c.133-.19.25-.45.373-.92.125-.48.24-1.103.403-1.998.164-.895.278-1.518.33-2.01Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M18.187 7.488a.9.9 0 0 1-1.045-.727c-.145-.807-.199-1.086-.28-1.296A2.598 2.598 0 0 0 14.504 3.8c-.224-.006-.505.036-1.315.169l-5.846.962c-1.366.224-1.834.313-2.174.492A2.599 2.599 0 0 0 3.837 7.18c-.08.376-.039.85.114 2.226l.011.1a.9.9 0 1 1-1.787.198l-.01-.093a350.712 350.712 0 0 0-.019-.17c-.129-1.147-.217-1.937-.068-2.636A4.398 4.398 0 0 1 4.332 3.83c.633-.333 1.417-.461 2.556-.648l.163-.027 5.846-.961.098-.016c.674-.111 1.138-.188 1.556-.177a4.397 4.397 0 0 1 3.99 2.819c.15.39.234.853.355 1.526l.017.097a.9.9 0 0 1-.726 1.045Z"),u(n,"fill","#fff"),u(o,"d","M12.724 12.414a.415.415 0 0 0-.69.231l-.72 4.18a.405.405 0 0 0 .025.221c.085.21.327.311.539.226l3.669-1.467a.406.406 0 0 0 .127-.68l-2.95-2.71Z"),u(o,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),Rt(e,"flex-shrink","0"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-icon")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class g5 extends ye{constructor(e){super(),we(this,e,null,v5,_e,{})}}function b5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"opacity",".7"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M4.146 3.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L6.793 6.5 4.146 3.854a.5.5 0 0 1 0-.708Z"),u(t,"fill","#fff"),u(e,"width","12"),u(e,"height","13"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","chevron-light-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class _5 extends ye{constructor(e){super(),we(this,e,null,b5,_e,{})}}function w5(i){Ue(i,"v-1yhs2ga",".text.v-1yhs2ga{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text.count.v-1yhs2ga{overflow:visible}.text.mobile.v-1yhs2ga{padding:0 3px 0 4px}.chevron-episodes.v-1yhs2ga{margin-bottom:-4px}")}function y5(i){let e,t,n,o;e=new g5({});function r(a,c){if(a[4]===Jn.FULL)return S5;if(a[4]===Jn.COUNT)return C5}let l=r(i),s=l&&l(i);return{c(){q(e.$$.fragment),t=R(),s&&s.c(),n=bt()},m(a,c){F(e,a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){l===(l=r(a))&&s?s.p(a,c):(s&&s.d(1),s=l&&l(a),s&&(s.c(),s.m(n.parentNode,n)))},i(a){o||(d(e.$$.fragment,a),o=!0)},o(a){g(e.$$.fragment,a),o=!1},d(a){a&&(P(t),P(n)),H(e,a),s&&s.d(a)}}}function k5(i){let e,t,n,o,r,l;return r=new _5({}),{c(){e=T("span"),t=ze(i[2]),n=R(),o=T("div"),q(r.$$.fragment),u(e,"class","text mobile v-1yhs2ga"),u(o,"class","chevron-episodes v-1yhs2ga")},m(s,a){E(s,e,a),p(e,t),E(s,n,a),E(s,o,a),F(r,o,null),l=!0},p(s,a){(!l||a&4)&&xe(t,s[2])},i(s){l||(d(r.$$.fragment,s),l=!0)},o(s){g(r.$$.fragment,s),l=!1},d(s){s&&(P(e),P(n),P(o)),H(r)}}}function C5(i){let e,t=i[0].length+"",n;return{c(){e=T("span"),n=ze(t),u(e,"class","text count v-1yhs2ga")},m(o,r){E(o,e,r),p(e,n)},p(o,r){r&1&&t!==(t=o[0].length+"")&&xe(n,t)},d(o){o&&P(e)}}}function S5(i){let e,t;return{c(){e=T("span"),t=ze(i[2]),u(e,"class","text v-1yhs2ga")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&4&&xe(t,n[2])},d(n){n&&P(e)}}}function P5(i){let e,t,n,o;const r=[k5,y5],l=[];function s(a,c){return a[6]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,c){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function T5(i){let e,t,n;function o(l){i[19](l)}let r={className:"w-max btn-full-opacity "+(i[6]?"px-0":""),testId:"btn-episodes",click:i[12],disabled:!i[7],ariaExpanded:i[3],ariaLabel:i[5],$$slots:{default:[P5]},$$scope:{ctx:i}};return i[1]!==void 0&&(r.ref=i[1]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&64&&(a.className="w-max btn-full-opacity "+(l[6]?"px-0":"")),s&8&&(a.ariaExpanded=l[3]),s&32&&(a.ariaLabel=l[5]),s&8388693&&(a.$$scope={dirty:s,ctx:l}),!t&&s&2&&(t=!0,a.ref=l[1],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function E5(i,e,t){var O,$,S;let n,o,r,l,s,a,{position:c=0}=e,{duration:f=0}=e,{timeCodes:m=[]}=e;const h=St(),b=($=(O=h.callbacks)==null?void 0:O.onEpisodeChanged)!=null?$:Ye,v=!!((S=h.callbacks)!=null&&S.onEpisodeClicked),y=h.ui.currentGridType$;z(i,y,D=>t(18,s=D));const _=h.ui.episodes.openedByKeyboard$;z(i,_,D=>t(17,l=D));const C=h.ui.episodes.panelOpened$;z(i,C,D=>t(3,r=D));const k=h.ui.isMobile;z(i,k,D=>t(6,a=D));let w;const N=D=>{var L,se,me;if(!!((L=h.callbacks)!=null&&L.onEpisodeClicked)){const ve=Ir(D);_.set(ve),C.set(!0),(me=(se=h.callbacks)==null?void 0:se.onEpisodeClicked)==null||me.call(se,ve)}};let Q,M,G;const re=async(D,le,L)=>{await Al(),(D==null?void 0:D.getAttribute("aria-expanded"))==="false"&&le&&!L&&(_.set(!1),D.focus())};function ie(D){w=D,t(1,w)}return i.$$set=D=>{"position"in D&&t(13,c=D.position),"duration"in D&&t(14,f=D.duration),"timeCodes"in D&&t(0,m=D.timeCodes)},i.$$.update=()=>{if(i.$$.dirty&24576&&t(16,n=c/f),i.$$.dirty&114689){const D=rf(n,f,m);D&&(Q==null?void 0:Q.text)!==D.text&&(b(D),t(15,Q=D))}i.$$.dirty&32768&&t(2,o=(Q==null?void 0:Q.text)||""),i.$$.dirty&262144&&(yn(s,Lt.XL)?t(4,M=Jn.FULL):yn(s,Lt.M)&&Kh(s,Lt.XL)?t(4,M=Jn.COUNT):t(4,M=Jn.SHORT)),i.$$.dirty&4&&t(5,G=`${K("tooltip_episodes")}: ${o}`),i.$$.dirty&131082&&re(w,l,r)},[m,w,o,r,M,G,a,v,y,_,C,k,N,c,f,Q,n,l,s,ie]}class uf extends ye{constructor(e){super(),we(this,e,E5,T5,_e,{position:13,duration:14,timeCodes:0},w5)}}function A5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.726 4.845C16.187 4.8 15.496 4.8 14.5 4.8H7.9a.9.9 0 1 1 0-1.8h6.639c.947 0 1.713 0 2.333.05.64.053 1.204.163 1.726.43a4.4 4.4 0 0 1 1.923 1.922c.266.523.377 1.087.429 1.726.05.62.05 1.386.05 2.334v5.076c0 .948 0 1.714-.05 2.334-.052.64-.163 1.203-.43 1.726a4.4 4.4 0 0 1-1.922 1.922c-.522.267-1.086.377-1.726.43-.62.05-1.386.05-2.333.05H7.9a.9.9 0 1 1 0-1.8h6.6c.995 0 1.687 0 2.226-.045.528-.043.828-.123 1.055-.238a2.6 2.6 0 0 0 1.136-1.137c.115-.226.195-.527.239-1.055.044-.538.044-1.23.044-2.225v-5c0-.995 0-1.687-.044-2.226-.043-.527-.124-.828-.239-1.054a2.6 2.6 0 0 0-1.136-1.137c-.227-.115-.527-.195-1.055-.238Z"),u(t,"fill","#fff"),u(n,"d","M7.76 11.169V8.908c0-.708.704-1.143 1.252-.774l4.594 3.093c.525.353.525 1.193 0 1.546l-4.594 3.093c-.548.369-1.252-.066-1.252-.774v-2.261l-4.508 3.035C2.704 16.235 2 15.8 2 15.091V8.908c0-.708.704-1.143 1.252-.774L7.76 11.17Z"),u(n,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-to-interactive-icon")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p:W,i:W,o:W,d(o){o&&P(e)}}}class L5 extends ye{constructor(e){super(),we(this,e,null,A5,_e,{})}}function I5(i){let e,t;return e=new L5({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function M5(i){let e,t,n;function o(l){i[4](l)}let r={className:i[1]?"hidden":"",testId:"btn-seek-to-interactive",ariaLabel:K("tooltip_interactive_seek"),disabled:i[2],click:i[3],$$slots:{default:[I5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&8&&(a.click=l[3]),s&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function V5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{click:l}=e;function s(a){n=a,t(0,n)}return i.$$set=a=>{"ref"in a&&t(0,n=a.ref),"hidden"in a&&t(1,o=a.hidden),"disabled"in a&&t(2,r=a.disabled),"click"in a&&t(3,l=a.click)},[n,o,r,l,s]}class cf extends ye{constructor(e){super(),we(this,e,V5,M5,_e,{ref:0,hidden:1,disabled:2,click:3})}}function B5(i){let e,t,n;return{c(){e=B("svg"),t=B("path"),n=B("path"),u(t,"fill-rule","evenodd"),u(t,"clip-rule","evenodd"),u(t,"d","M16.777 3h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.2.72.523.923.918.141.277.19.557.21.814.02.237.02.521.02.83V7.19c0 .31 0 .594-.02.831-.02.256-.069.537-.21.813a2.107 2.107 0 0 1-.923.92c-.278.14-.56.188-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.107 2.107 0 0 1-.923-.919 2.125 2.125 0 0 1-.21-.813 8.287 8.287 0 0 1-.02-.63l-2.198-.002c-.495-.001-.81 0-1.05.018-.23.019-.309.05-.343.067a.803.803 0 0 0-.352.35c-.017.034-.049.113-.068.341-.02.24-.02.554-.02 1.046v5.57c0 .49 0 .804.02 1.043.019.228.05.306.068.34.077.15.2.273.35.35.035.017.113.049.342.067.24.02.555.021 1.048.022l2.203.003c.001-.23.004-.443.02-.627.02-.256.069-.537.21-.813.203-.396.526-.718.923-.92.278-.14.56-.189.817-.21.238-.019.524-.019.834-.019h1.419c.31 0 .596 0 .834.02.258.02.539.068.817.21.397.201.72.523.923.919.141.276.19.557.21.813.02.237.02.522.02.831v1.397c0 .31 0 .594-.02.831-.02.256-.069.537-.21.814a2.108 2.108 0 0 1-.923.919c-.278.14-.56.189-.817.21-.238.019-.524.019-.834.019h-1.419c-.31 0-.596 0-.834-.02a2.148 2.148 0 0 1-.817-.21 2.108 2.108 0 0 1-.923-.918 2.125 2.125 0 0 1-.21-.814 8.288 8.288 0 0 1-.02-.63l-2.24-.002c-.449 0-.839-.001-1.16-.028-.341-.028-.684-.09-1.016-.259a2.61 2.61 0 0 1-1.14-1.137c-.17-.33-.231-.672-.259-1.011-.026-.321-.026-.71-.026-1.156v-1.921H2.905A.903.903 0 0 1 2 11.992c0-.498.405-.901.905-.901h5.227V9.177c0-.448 0-.837.026-1.159.028-.34.09-.682.26-1.013a2.61 2.61 0 0 1 1.144-1.138c.332-.168.676-.23 1.017-.257.323-.025.714-.025 1.164-.024l2.23.003c.001-.23.004-.443.02-.627.02-.257.069-.537.21-.814.203-.395.526-.717.923-.919.278-.14.56-.189.817-.21C16.18 3 16.467 3 16.777 3Zm-.833 1.837a.76.76 0 0 1 .146-.02c.156-.013.366-.014.72-.014h1.354c.353 0 .563 0 .719.013a.76.76 0 0 1 .146.021.301.301 0 0 1 .126.126.75.75 0 0 1 .021.145c.013.156.014.365.014.716v1.334c0 .352 0 .561-.014.716a.75.75 0 0 1-.02.146.301.301 0 0 1-.127.125.76.76 0 0 1-.146.022c-.156.012-.366.013-.719.013H16.81c-.353 0-.563 0-.719-.013a.76.76 0 0 1-.146-.022.301.301 0 0 1-.126-.125.75.75 0 0 1-.021-.146 9.929 9.929 0 0 1-.014-.716V5.824c0-.351.001-.56.014-.716a.75.75 0 0 1 .021-.145.301.301 0 0 1 .126-.126Zm0 11.018a.765.765 0 0 1 .146-.022c.156-.012.366-.013.72-.013h1.354c.353 0 .563 0 .719.013a.765.765 0 0 1 .146.022.3.3 0 0 1 .126.125.75.75 0 0 1 .021.146c.013.155.014.364.014.716v1.334c0 .351 0 .56-.014.716a.75.75 0 0 1-.02.145.3.3 0 0 1-.127.126.755.755 0 0 1-.146.02c-.156.014-.366.014-.719.014H16.81c-.353 0-.563 0-.719-.013a.746.746 0 0 1-.146-.021.3.3 0 0 1-.126-.126.75.75 0 0 1-.021-.145 9.93 9.93 0 0 1-.014-.716v-1.334c0-.352.001-.561.014-.716a.75.75 0 0 1 .021-.146.3.3 0 0 1 .126-.125Z"),u(t,"fill","#fff"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M15.2 5.899v1.203c0 .594 0 .892.115 1.119.102.2.265.362.464.463.227.116.525.116 1.12.116H18.1c.595 0 .892 0 1.12-.116.199-.101.361-.264.463-.463.116-.227.116-.525.116-1.12V5.9c0-.595 0-.892-.116-1.12a1.062 1.062 0 0 0-.464-.463c-.227-.116-.524-.116-1.119-.116h-1.203c-.594 0-.892 0-1.119.116-.2.102-.362.264-.464.464-.115.227-.115.524-.115 1.119Zm-.051 11.03v1.143c0 .605 0 .908.118 1.139.103.203.268.368.472.472.23.117.533.117 1.138.117H18.1c.605 0 .907 0 1.138-.117a1.08 1.08 0 0 0 .472-.472c.118-.231.118-.534.118-1.139v-1.144c0-.605 0-.907-.118-1.138a1.08 1.08 0 0 0-.472-.472c-.231-.118-.534-.118-1.138-.118h-1.224c-.605 0-.907 0-1.138.118a1.08 1.08 0 0 0-.472.472c-.118.23-.118.533-.118 1.138Z"),u(n,"fill","#fff"),V(n,"hidden",!i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,[r]){r&1&&V(n,"hidden",!o[0])},i:W,o:W,d(o){o&&P(e)}}}function R5(i,e,t){let{isOpened:n=!1}=e;return i.$$set=o=>{"isOpened"in o&&t(0,n=o.isOpened)},[n]}class N5 extends ye{constructor(e){super(),we(this,e,R5,B5,_e,{isOpened:0})}}function O5(i){let e,t;return e=new N5({props:{isOpened:i[3]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&8&&(r.isOpened=n[3]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function D5(i){let e,t,n;function o(l){i[6](l)}let r={className:i[1]?"hidden":"",testId:"btn-graph",disabled:i[2],ariaLabel:i[5],click:i[4],$$slots:{default:[O5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.className=l[1]?"hidden":""),s&4&&(a.disabled=l[2]),s&32&&(a.ariaLabel=l[5]),s&16&&(a.click=l[4]),s&136&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function z5(i,e,t){let{ref:n=void 0}=e,{hidden:o=!1}=e,{disabled:r=!1}=e,{graphIsOpened:l=!1}=e,{click:s}=e,a;function c(f){n=f,t(0,n)}return i.$$set=f=>{"ref"in f&&t(0,n=f.ref),"hidden"in f&&t(1,o=f.hidden),"disabled"in f&&t(2,r=f.disabled),"graphIsOpened"in f&&t(3,l=f.graphIsOpened),"click"in f&&t(4,s=f.click)},i.$$.update=()=>{i.$$.dirty&8&&t(5,a=K(l?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off"))},[n,o,r,l,s,a,c]}class ff extends ye{constructor(e){super(),we(this,e,z5,D5,_e,{ref:0,hidden:1,disabled:2,graphIsOpened:3,click:4})}}function F5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12 9.096a.4.4 0 0 1-.67.296L7.044 5.493a.668.668 0 0 1 0-.986L11.33.608a.4.4 0 0 1 .67.296V4a8 8 0 1 1-8 8 1 1 0 1 1 2 0 6 6 0 1 0 6-6v3.096z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","replay-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class df extends ye{constructor(e){super(),we(this,e,null,F5,_e,{})}}function H5(i){Ue(i,"v-1ot3duq",".mobile.v-1ot3duq{position:relative;display:flex;align-items:center;justify-content:center}.mobile.v-1ot3duq svg{transform:scale(2)}.icon-background-mobile.v-1ot3duq{position:absolute;top:16px;left:16px;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);width:calc(100% - 32px);height:calc(100% - 32px)}")}function Oa(i){let e;return{c(){e=T("div"),u(e,"class","icon-background-mobile v-1ot3duq")},m(t,n){E(t,e,n)},d(t){t&&P(e)}}}function U5(i){let e,t,n,o,r=i[1]&&Oa();return n=new df({}),{c(){r&&r.c(),e=R(),t=T("div"),q(n.$$.fragment),u(t,"class","v-1ot3duq"),V(t,"mobile",i[1])},m(l,s){r&&r.m(l,s),E(l,e,s),E(l,t,s),F(n,t,null),o=!0},p(l,s){l[1]?r||(r=Oa(),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),(!o||s&2)&&V(t,"mobile",l[1])},i(l){o||(d(n.$$.fragment,l),o=!0)},o(l){g(n.$$.fragment,l),o=!1},d(l){l&&(P(e),P(t)),r&&r.d(l),H(n)}}}function q5(i){let e,t,n;function o(l){i[5](l)}let r={className:(i[1]?"btn-m--play":"")+" "+i[3],testId:"btn-replay",ariaLabel:K("tooltip_restart"),disabled:i[2],click:i[4],ariaKeyShortCut:Zo[Ee.KeyK],$$slots:{default:[U5]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&10&&(a.className=(l[1]?"btn-m--play":"")+" "+l[3]),s&4&&(a.disabled=l[2]),s&16&&(a.click=l[4]),s&66&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function j5(i,e,t){let{ref:n=void 0}=e,{isMobile:o=!1}=e,{disabled:r=!1}=e,{className:l=""}=e,{click:s=Ye}=e;function a(c){n=c,t(0,n)}return i.$$set=c=>{"ref"in c&&t(0,n=c.ref),"isMobile"in c&&t(1,o=c.isMobile),"disabled"in c&&t(2,r=c.disabled),"className"in c&&t(3,l=c.className),"click"in c&&t(4,s=c.click)},[n,o,r,l,s,a]}class Fr extends ye{constructor(e){super(),we(this,e,j5,q5,_e,{ref:0,isMobile:1,disabled:2,className:3,click:4},H5)}}function W5(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M12.583 12.917v2.496a1 1 0 0 1-1.522.853l-5.583-3.413a1 1 0 0 1 0-1.706l5.583-3.413a1 1 0 0 1 1.522.853v2.496l5.478-3.349a1 1 0 0 1 1.522.853v6.826a1 1 0 0 1-1.522.853l-5.478-3.349Z"),u(t,"fill","#fff"),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"data-testid","play-prev-chapter-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Z5 extends ye{constructor(e){super(),we(this,e,null,W5,_e,{})}}function K5(i){let e,t;return e=new Z5({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function G5(i){let e,t;return e=new Si({props:{className:i[0]?"hidden":"",testId:"btn-play-prev-chapter",ariaLabel:K("tooltip_interactive_go_back"),disabled:i[1],click:i[2],$$slots:{default:[K5]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&1&&(r.className=n[0]?"hidden":""),o&2&&(r.disabled=n[1]),o&4&&(r.click=n[2]),o&8&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Y5(i,e,t){let{hidden:n=!1}=e,{disabled:o=!1}=e,{click:r}=e;return i.$$set=l=>{"hidden"in l&&t(0,n=l.hidden),"disabled"in l&&t(1,o=l.disabled),"click"in l&&t(2,r=l.click)},[n,o,r]}class mf extends ye{constructor(e){super(),we(this,e,Y5,G5,_e,{hidden:0,disabled:1,click:2})}}function X5(i){Ue(i,"v-1x1zctw",".icon.v-1x1zctw{width:24px !important;height:24px !important;;}.error-stub.v-1x1zctw{display:flex;justify-content:center;align-items:center}.inner.v-1x1zctw{width:16px;height:16px;background-color:var(--white)}")}function Q5(i){let e,t,n,o;return{c(){e=T("img"),u(e,"class","icon v-1x1zctw"),Xr(e.src,t=i[0])||u(e,"src",t),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),n||(o=be(e,"error",i[7]),n=!0)},p(r,l){l&1&&!Xr(e.src,t=r[0])&&u(e,"src",t)},d(r){r&&P(e),n=!1,o()}}}function J5(i){let e;return{c(){e=T("div"),e.innerHTML='<div class="inner v-1x1zctw"></div>',u(e,"class","icon error-stub v-1x1zctw")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function x5(i){let e;function t(r,l){return r[5]?J5:Q5}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,l){n===(n=t(r))&&o?o.p(r,l):(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},d(r){r&&P(e),o.d(r)}}}function $5(i){let e,t;return e=new Si({props:{className:i[4]?"btn-full-opacity":"",ariaLabel:i[1],click:i[3],disabled:i[6],testId:i[2],$$slots:{default:[x5]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,[o]){const r={};o&16&&(r.className=n[4]?"btn-full-opacity":""),o&2&&(r.ariaLabel=n[1]),o&8&&(r.click=n[3]),o&64&&(r.disabled=n[6]),o&4&&(r.testId=n[2]),o&545&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function eg(i,e,t){let n,o,r,{iconUrl:l}=e,{ariaLabel:s}=e,{disabled:a=!1}=e,{testId:c}=e,{onClick:f=Ye}=e;const m=()=>{t(5,r=!0)};return i.$$set=h=>{"iconUrl"in h&&t(0,l=h.iconUrl),"ariaLabel"in h&&t(1,s=h.ariaLabel),"disabled"in h&&t(8,a=h.disabled),"testId"in h&&t(2,c=h.testId),"onClick"in h&&t(3,f=h.onClick)},i.$$.update=()=>{i.$$.dirty&8&&t(4,n=f===Ye),i.$$.dirty&272&&t(6,o=n||a)},t(5,r=!1),[l,s,c,f,n,r,o,m,a]}class pf extends ye{constructor(e){super(),we(this,e,eg,$5,_e,{iconUrl:0,ariaLabel:1,disabled:8,testId:2,onClick:3},X5)}}class Da{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,r=n.length;o<r;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,r=n.length;o<r;o++){const l=n[o];try{l.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}l.options&&l.options.once&&this.removeEventListener(e.type,l.callback)}return!e.defaultPrevented}}class hf extends Da{constructor(){super(),this.listeners||Da.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let tg=class{constructor(){Object.defineProperty(this,"signal",{value:new hf,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(tg.prototype[Symbol.toStringTag]="AbortController",hf.prototype[Symbol.toStringTag]="AbortSignal");function vf(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function ig(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!vf({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:r};let r=t;(r&&!r.prototype.hasOwnProperty("signal")||o)&&(r=function(c,f){let m;f&&f.signal&&(m=f.signal,delete f.signal);const h=new t(c,f);return m&&Object.defineProperty(h,"signal",{writable:!1,enumerable:!1,configurable:!0,value:m}),h},r.prototype=t.prototype);const l=e;return{fetch:(a,c)=>{const f=r&&r.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let m;try{m=new DOMException("Aborted","AbortError")}catch(b){m=new Error("Aborted"),m.name="AbortError"}if(f.aborted)return Promise.reject(m);const h=new Promise((b,v)=>{f.addEventListener("abort",()=>v(m),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([h,l(a,c)])}return l(a,c)},Request:r}}const Hr=vf({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),gf=Hr?ig({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,ng=Hr?gf.fetch:window.fetch;Hr?gf.Request:window.Request;const og=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,lg="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class rg{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new bn,started$:new bn,paused$:new bn,resumed$:new bn,ended$:new bn,skipped$:new bn,clicked$:new bn},this.loadAdman=n=>new Promise((o,r)=>{let l;const s=()=>{clearTimeout(l),delete window.admanAsyncInit,window.AdmanHTML?o():r()};m0(lg,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,l=window.setTimeout(s,this.initTimeout))}).catch(()=>{r()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{gt(this.adsState),gt(this.playerState),gt(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),Qe(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(li.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{gt(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{gt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(li.PAUSED)},this.onAdPlayed=()=>{gt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(li.PLAYING)},this.onAdMidrollPoint=()=>{gt(this.adman),gt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Mn.Midroll,this.adman.start(Mn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:r,adsContainer:l,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:m}=e;let h;const b=this.playerState&&Qe(this.playerState.vsid);b&&(h=parseInt(b,36));const v={dl:encodeURIComponent(window.location.href),autoplay:r,player_width:t,player_height:n,puid10:og(t,n),puid11:o?0:1,preview:m,...h?{request_id:h}:{},duration:f,...c},y={slot:a,wrapper:l,videoEl:s,videoQuality:n,params:v,browser:{mobile:!1}},_=new window.AdmanHTML;_.setDebug(!1),_.onReady(this.onAdsReady),_.onStarted(this.onAdStarted),_.onPlayed(this.onAdPlayed),_.onPaused(this.onAdPaused),_.adMidrollPoint(this.onAdMidrollPoint),_.onClosed(this.onAdClosed),_.onSkipped(this.onAdSkipped),_.onClicked(this.onAdClicked),_.onTimeRemained(this.onAdTimeRemained),_.onCompleted(this.onAdCompleted),_.onError(this.onAdError),_.init(y),this.adman=_,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(y)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}gt(this.actions),gt(this.adsState),gt(this.playerState);const t=this.currentAdSection===Mn.Postroll;this.adsState.playbackState.set(li.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){gt(this.adsState),this.log({message:"toggle play"});const e=Qe(this.adsState.playbackState);e===li.PLAYING?this.pause():e===li.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){gt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Mn.Preroll,this.adman.start(Mn.Preroll)}startPostroll(){gt(this.adman),gt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Mn.Postroll,this.adman.start(Mn.Postroll)}play(){gt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){gt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){gt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const sg=i=>{const e=Math.round(i);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class ag{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const r={startTime:0,endTime:0,texts:[],lang:""},l=o.split(this.oneLineRegExp);for(const s of l)if(!r.startTime&&!r.endTime){const a=new bf,{startTime:c,endTime:f}=a.parse(s);r.startTime=c,r.endTime=f}else if(s.trim()!==""){const a=new ug,{texts:c}=a.parse(s);r.texts=[...r.texts,...c]}(r.startTime||r.endTime)&&r.texts.length>0&&t.push(r)}return t}}class bf{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const r=Number(e)*60*60,l=Number(t)*60,s=Number(n),a=+`0.${o}`;return r+l+s+a}}class ug{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](l){let s=0;const a=[];for(;s<l.length;){const c=["<",">"].reduce((f,m)=>{const h=l.indexOf(m,s);return f===-1||f>h?h:f},-1);if(c===-1){a.push(l.substring(s));break}a.push(l.substring(s,c)),s=c+1}return a}}),r=new bf;for(const l of o)r.isTime(l)?t.texts.push({type:"timestamp",value:r.parseTime(l)}):t.texts.push({type:"text",value:l});return t}}let jn,Bt,or=0,lr=!1;const cg=(i,e,t)=>{var n;const o=i>=or,r=i<or,l=(f,m=0,h=0)=>f<m&&f<h,s=(f,m=0,h=0)=>f>=m&&f<=h,a=(f,m=0,h=0)=>f>m&&f>h,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(or=i,r&&(lr=!1),Cn(jn)&&s(i,jn.startTime,jn.endTime)&&jn.lang===e.value)return jn;if(!Cn(Bt)&&(c!=null&&c.length)&&!lr){const f=c.find(({startTime:m,endTime:h})=>s(i,m,h)||o&&l(i,m,h));Bt=f&&{...f,lang:e.value},jn=void 0,!Cn(Bt)&&c[c.length-1].endTime<i&&(lr=!0);return}else{if(s(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))return jn=Bt,Bt=void 0,jn;(o&&a(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime)||r&&l(i,Bt==null?void 0:Bt.startTime,Bt==null?void 0:Bt.endTime))&&(Bt=void 0)}},rr={ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",en:"English",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",be:"\u0411\u0435\u043B\u0430\u0440\u0443\u0441\u043A\u0430\u044F (\u0442\u0430\u0440\u0430\u0448\u043A\u0435\u0432i\u0446\u0430)",es:"Espa\xF1ol",fi:"Suomi",de:"Deutsch",it:"Italiano",bg:"\u0411\u044A\u043B\u0433\u0430\u0440\u0441\u043A\u0438",hr:"Hrvatski",hu:"Magyar",sr:"\u0421\u0440\u043F\u0441\u043A\u0438","pt-PT":"Portugu\xEAs",el:"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",pl:"Polski",fr:"Fran\xE7ais",ko:"\uD55C\uAD6D\uC5B4","zh-CN":"\u6C49\u8BED",lt:"Lietuvi\u0173",ja:"\u65E5\u672C\u8A9E",cs:"\u010Ce\u0161tina",et:"Eesti",tt:"\u0422\u0430\u0442\u0430\u0440\u0447\u0430",ba:"\u0411\u0430\u0448\u04A1\u043E\u0440\u0442\u0441\u0430",cv:"\u0427\u0103\u0432\u0430\u0448\u043B\u0430",sk:"Sloven\u010Dina",ro:"Rom\xE2n\u0103",no:"Norsk",lv:"Latvie\u0161u",az:"Az\u0259rbaycan dili",hy:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576",sv:"Svenska",nl:"Nederlands",tk:"T\xFCrkmen",ka:"\u10E5\u10D0\u10E0\u10D7\u10E3\u10DA\u10D8",da:"Dansk",uz:"O\u2018zbek",th:"\u0E20\u0E32\u0E29\u0E32\u0E44\u0E17\u0E22",id:"Bahasa Indonesia",tg:"\u0422\u043E\u04B7\u0438\u043A\u04E3",sl:"Sloven\u0161\u010Dina",bs:"Bosanski","pt-BR":"Portugu\xEAs brasileiro",fa:"\u0641\u0627\u0631\u0633\u06CC",vi:"Ti\u1EBFng Vi\u1EC7t",hi:"\u0939\u093F\u0928\u094D\u0926\u0940",si:"\u0DC3\u0DD2\u0D82\u0DC4\u0DBD",bn:"\u09AC\u09BE\u0982\u09B2\u09BE",tl:"Tagalog",mn:"\u041C\u043E\u043D\u0433\u043E\u043B",my:"\u1017\u1019\u102C\u1005\u102C",tr:"T\xFCrk\xE7e",ne:"\u0928\u0947\u092A\u093E\u0932\u0940",ur:"\u0627\u0631\u062F\u0648",ky:"\u041A\u044B\u0440\u0433\u044B\u0437 \u0442\u0438\u043B\u0438",pa:"\u067E\u0646\u062C\u0627\u0628\u06CC",os:"\u0418\u0440\u043E\u043D",kn:"\u0C95\u0CA8\u0CCD\u0CA8\u0CA1",sw:"Kiswahili",kk:"\u049A\u0430\u0437\u0430\u049B\u0448\u0430",ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",ab:"\u0410\u04A7\u0441\u0448\u04D9\u0430",eu:"Euskara",eo:"Esperanto"};let gl=null;class Fo{constructor(e,t){if(!gl){const n=new T0(e,t),o=new Zn;gl=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),gl=null}})}}static getInstance(){return gl}}const fg=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:r,canDownload:l,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:m,coreConfig:h,player:b,disabledControls:v,isInteractive:y,interactiveRanges:_,replayInteractive:C,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w,additionalButtons:N,looped:Q=!1})=>{var M,G,re,ie;const O={...h,configName:[...(M=h.configName)!==null&&M!==void 0?M:[],"ui"],isAudioDisabled:r,live:{...(G=h.live)!==null&&G!==void 0?G:{},isLiveCatchUpMode:!!n}},$=m,S=b||new s0(O);S.setLooped(Q);const D=new S1,le=new rg(D,{loadTimeout:$.ads.loadTimeout,initTimeout:$.ads.initTimeout}),L=Fo.getInstance(),se=hr.getInstance(),me=a==null?void 0:a.pictureInPictureApi,ve=a==null?void 0:a.annotationsApi,ue=D.createComponentLog("Store");let Y,ce,De={};const fe=br(),Ae=L?kt(L.oneStat.vsid$):An(void 0),Se=Ve(qo()),ae=(re=me==null?void 0:me.info.isActive$)!==null&&re!==void 0?re:new gr(!1),Te=me==null?void 0:me.info.type,A=Ve(0),ne=Ve([]),Me=p0(S.events.fatalError$,S.events.managedError$).subscribe(I=>ne.update(ee=>[...ee,I])),Ce=An(!1,I=>{const ee=S.events.fatalError$.subscribe(()=>I(!0));return()=>ee.unsubscribe()}),Pe=async I=>{var ee;const ge=Object.values(jo).includes(I);if($.downloadVKLanguages&&(ge&&$.updateBuiltinLanguages||!Ss(I))){let Ze;try{Ze=await g0(I,j0,W0)}catch(rt){(ee=L==null?void 0:L.oneStat)===null||ee===void 0||ee.logError({errorType:"VKLangPack",fatal:!1}),se==null||se.report(rt,{errorType:"VKLangPack",fatal:!1})}Ze&&(Cs({language:I,pack:Ze,fallback:$.defaultLanguage}),oe.set(I))}Ss(I)&&oe.set(I)},oe=Ve(i);Pe(i);const X=(I,ee)=>{const ge=Qe(oe);return Ac(ge,I,ee,$.defaultLanguage)},U=Ve(Oe.Thumb),Be=(()=>{const I=mi([Ce,U],([ee,ge])=>ee?Oe.Crashed:ge);return{...I,is:ee=>Qe(I)===ee}})(),$e=(()=>{const I=Ve(new Set(v));return{...I,add:ee=>{I.update(ge=>new Set([...ge].concat(ee)))},remove:ee=>{I.update(ge=>{const Re=[...ge];return new Set(Array.isArray(ee)?Re.filter(Ze=>!ee.includes(Ze)):Re.filter(Ze=>Ze!==ee))})},includes:ee=>{const ge=Qe(I);return Array.isArray(ee)?ee.every(Re=>ge.has(Re)):ge.has(ee)}}})();ue({message:"create store"});const lt=I=>{ue({message:`init video, config: ${JSON.stringify(I)}`}),y?I.container.append(S.experimental.element$.getValue()):S.initVideo(I),I.subtitles&&S.setExternalTextTracks(I.subtitles),Y=I},We=new bn,Ie=I=>We.next(I),Je=new bn,mt=new bn,st=new bn,Le={actionRewind$:Je,actionSeek$:mt,inPiP$:ae,inFullscreen$:new h0(I=>Se.subscribe(ee=>I.next(ee))),actionSetSubtitle$:st,nextMovie$:We};if(L){const{oneStat:I,statSubscription:ee}=L;ee.add(I.attachTo(S)),ee.add(I.attachToUi(Le)),ee.add(I.attachToAds(le.events)),I.authorize(o).catch(ge=>{ue({message:`onestat auth error ${String(ge)}`})})}if(se){const I=new Zn,ee=(ge,Re)=>I.add(ge.subscribe(Re));if(ee(S.events.managedError$,ge=>{se.logIError(ge)}),ee(S.events.fatalError$,ge=>{se.logIError(ge,!0)}),L){const{oneStat:ge}=L;ee(ge.experimental.error$,Re=>{se.logIError(Re)})}se.sentrySubscription.add(I)}const jt=()=>{P1()&&ce&&F4(ce)},ct=new Zn().add(S.experimental.element$.subscribe(I=>{I&&(ce=I,I.classList.add("player-media"),Pl(me)&&(me.updateVideoElement(),me.registryEventHandlers()),y&&I.setAttribute("pip","false"))})).add(S.events.ended$.subscribe(()=>{var I;jt(),(I=s==null?void 0:s.onEnded)===null||I===void 0||I.call(s)})).add(S.events.started$.subscribe(async()=>{var I,ee;Pl(me)&&await(me==null?void 0:me.revealPictureInPicture());const ge=S.info.muted$.getValue();(I=s==null?void 0:s.onStarted)===null||I===void 0||I.call(s),(ee=De.onStarted)===null||ee===void 0||ee.call(De,ge)})).add(S.events.willSeek$.subscribe(({from:I,to:ee})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,I,ee)})).add(S.info.position$.subscribe(I=>{var ee;const ge=S.info.duration$.getValue();(ee=s==null?void 0:s.onTimeupdate)===null||ee===void 0||ee.call(s,ge,I),le.setPosition(I,ge)})).add(S.events.fatalError$.subscribe(()=>{var I;(I=s==null?void 0:s.onCrashed)===null||I===void 0||I.call(s)})).add(S.info.is3DVideo$.subscribe(I=>{_t.ui.is3DVideo.set(I)})).add(S.info.isEnded$.subscribe(I=>{y&&(I?(Qe(qn)&&$e.add(D1),$e.add(ut.PLAY_BUTTON)):$e.remove(ut.PLAY_BUTTON))})).add(S.info.liveTime$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onLiveTime)===null||ee===void 0||ee.call(s,I)})).add(S.info.isStalled$.subscribe(I=>{var ee;(ee=s==null?void 0:s.onStalledChanged)===null||ee===void 0||ee.call(s,I)})),It=new Zn,Nt=()=>{It.add(S.events.log$.subscribe(I=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${I.component}`,I.message)})).add(D.log$.subscribe(I=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${I.component}.`,I.message)}))},Mt=()=>{It.unsubscribe()},de=(I,ee)=>{S.startCameraManualRotation(I,ee)},Et=(I=!1)=>{S.stopCameraManualRotation(I)},tt=(I,ee,ge)=>{S.moveCameraFocusPX(I,ee,ge)},Pt=()=>{S.holdCamera()},wt=()=>{S.releaseCamera()},pt=An(S.info.position$.getValue(),I=>{let ee,ge;const Re=()=>{const Ze=S.info.playbackState$.getValue(),rt=S.info.isLive$.getValue(),Ct=S.info.duration$.getValue(),vt=S.info.position$.getValue();if([$t.PLAYING,$t.PAUSED].includes(Ze)){const Ci=rt?vt-Ct:S.getExactTime();Ci!==ge&&I(Ci),ge=Ci}ee=requestAnimationFrame(Re)};return Re(),()=>cancelAnimationFrame(ee)}),Xe=kt(ae),He=kt(S.info.playbackState$),yt=kt(S.info.currentBuffer$),Ni=kt(S.info.isEnded$),Hi=kt(S.info.isLive$),si=$.features.playbackRate?kt(S.info.canChangePlaybackSpeed$):An(!1),Ui=kt(S.info.liveBufferTime$),Ji=kt(S.info.volume$),Ot=kt(S.info.muted$),Wt=U1(S.info.autoQualityLimits$.pipe(v0(({max:I})=>I!==void 0)),((ie=S.info.autoQualityLimits$.getValue())===null||ie===void 0?void 0:ie.max)!==void 0),ai=kt(S.info.autoQualityLimitingAvailable$),Zt=kt(S.info.availableQualities$),pi=kt(S.info.availableQualitiesFps$),Dt=kt(S.info.chromecastState$),Oi=kt(S.info.chromecastDeviceName$),ui=kt(S.info.currentFormat$),Tt=kt(S.info.throughputEstimation$),Di=kt(S.info.videoBitrate$),Pi=kt(S.info.intrinsicVideoSize$),hi=kt(S.info.duration$),Ti=kt(S.info.isAudioAvailable$);let zt=null;const ti=S.info.isBuffering$,vi=An(ti.getValue(),I=>{const ee=ti.subscribe(ge=>{ge&&zt===null?zt=window.setTimeout(()=>{I(ti.getValue()),zt=null},$.loaderDelay):I(ge)});return()=>{ee.unsubscribe(),zt&&clearTimeout(zt)}}),ci=()=>{zt&&clearTimeout(zt),zt=null},Kt=mi([hi,Hi],([I,ee])=>ee?-I:I),ht=mi([He],([I])=>I===$t.PLAYING),it=kt(S.info.atLiveEdge$),Ft=kt(S.info.atLiveDurationEdge$),fi=kt(S.info.position$),zi=mi([fi,hi],([I,ee])=>isFinite(I)&&isFinite(ee)&&!!ee),Ei=mi([Dt],([I])=>I===Ln.CONNECTED),Gt=Ve(void 0),Yt=kt(S.info.isAutoQualityEnabled$,I=>I&&Gt.set(void 0)),qi=kt(S.info.currentQuality$,()=>Gt.set(void 0)),ii=mi([Gt,qi],([I,ee])=>I!=null?I:ee),ji=mi([Zt,pi,Yt,ii,ui],([I,ee,ge,Re,Ze])=>{const rt=[];Ze!==Do.MPEG&&rt.push({value:To.AUTO,displayValue:X("auto_quality_option"),selected:ge});const Ct=I.filter(vt=>vt!==bl.INVARIANT);for(const vt of Ct){const Ci=ee[vt],po=vt===bl.INVARIANT?X("auto_quality_option"):vt;rt.push({value:vt,displayValue:`${po}${Ci?sg(Ci):""}`,selected:ge?!1:vt===Re})}return rt}),Xt=kt(S.info.currentPlaybackRate$),Ht=mi([Xt,it,Ft],([I,ee,ge])=>{const Re=ge||y?1:$.controls.playbackRateMin,Ze=ee?1:$.controls.playbackRateMax,rt=$.controls.playbackRateStep,Ct=[];for(let vt=Re;vt<=Ze;vt+=rt)Ct.push({value:vt,displayValue:vt===1?X("playback_rate_1"):X("playback_rate",{multiplier:vt.toString(10)}),selected:I===vt});return Ct}),Qt=$.features.subtitles?kt(S.info.availableTextTracks$):An([]),Ai=mi([Qt],([I],ee)=>{const ge=[],Re=[];for(const Ze of I)Ze.url&&ge.push(ng(Ze.url));Promise.allSettled(ge).then(Ze=>{for(const[rt,Ct]of Ze.entries())Ct.status==="fulfilled"&&Ct.value.text().then(vt=>{const Ci=new ag,po=I[rt].language,el=!!I[rt].isAuto,No=Ci.parse(vt);po&&No&&Re.push({lang:po,subtitles:No,isAuto:el}),rt===Ze.length-1&&ee(Re)})})}),At={displayValue:X("subtitles_off"),value:"off"},gi=Ve({...At}),Li=mi([Ai,gi,Ai],([I,ee])=>{if((I==null?void 0:I.length)>0){const ge=[{...At,selected:(ee==null?void 0:ee.value)===At.value}];for(const{lang:Re,isAuto:Ze}of I)rr[Re]&&ge.push({displayValue:Ze?X("subtitles_auto",{language:rr[Re]}):rr[Re],value:Re,selected:(ee==null?void 0:ee.value)===Re,isAuto:Ze});return ge}else return[]}),Wi=mi([pt,gi,Ai],([I,ee,ge])=>{if(ee&&ee.value!==At.value)return cg(I,ee,ge)}),bi=mi([Wi],([I])=>I!=null&&I.texts?I.texts:[]),Jt=Ve(!0),Zi=mi([yt,Kt,fi,Ui],([I,ee,ge,Re])=>{var Ze;const rt=(Ze=I==null?void 0:I.end)!==null&&Ze!==void 0?Ze:0;if(!Re)return rt/ee;const vt=-ge+Re-ee;return(rt-vt)/ee}),_i=kt(S.info.availableSources$),Ii=mi([_i],([I])=>Object.keys((I==null?void 0:I[Do.MPEG])||{}).length>0),Ne=()=>{var I,ee,ge;const Re=Object.keys(((ee=(I=S.info.availableSources$)===null||I===void 0?void 0:I.getValue())===null||ee===void 0?void 0:ee[Do.MPEG])||{}),Ze=b0(Re)||bl.Q_144P;return(ge=Y.sources[Do.MPEG])===null||ge===void 0?void 0:ge[Ze]},Ki=()=>{var I;const ee=Ne();ee?$0(ee,((I=Y==null?void 0:Y.meta)===null||I===void 0?void 0:I.title)||"video"):ue({message:"There is no URL for download video"})},Gi=()=>{ue({message:"toggle muted"});const I=S.info.muted$.getValue(),Re=!(S.info.volume$.getValue()===0||I);Fe(Re)},wi=()=>{_t.ui.settingsMenuVisible.set(!1)},Fi=I=>{_t.ui.settingsMenuOpenedByKeyboard.set(!!I),_t.ui.settingsMenuVisible.set(!0)},Mi=I=>{Qe(_t.ui.settingsMenuVisible)?wi():Fi(I)},di=(I,ee=I,ge=!1)=>{var Re,Ze,rt;const Ct=!ge,vt=S.info.muted$.getValue();ue({message:`set volume, volume: ${I}, preferredVolume: ${ee}, internalCall: ${Ct}`}),S.setVolume(I),le.setVolume(I),Ct&&((Re=s==null?void 0:s.onVolumeChange)===null||Re===void 0||Re.call(s,I)),xr(ee),vt?(S.setMuted(!1),Ct&&((Ze=s==null?void 0:s.onUnmute)===null||Ze===void 0||Ze.call(s)),zl(!1)):!vt&&I===0&&(S.setMuted(!0),Ct&&((rt=s==null?void 0:s.onMute)===null||rt===void 0||rt.call(s)),zl(!0))},Fe=(I,ee=!1)=>{var ge,Re,Ze,rt;const Ct=!ee,vt=S.info.volume$.getValue();if(ue({message:`set muted, currentVolume: ${vt}, mute: ${I}, internalCall: ${Ct}`}),S.setMuted(I),le.setVolume(I?0:vt),zl(I),Ct&&(I?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(Re=s==null?void 0:s.onUnmute)===null||Re===void 0||Re.call(s)),vt===0){let Ci=(Ze=K1())!==null&&Ze!==void 0?Ze:$.volumeDefault;Ci===0&&(Ci=$.volumeMinRestore,xr(Ci)),S.setVolume(Ci),le.setVolume(Ci),Ct&&((rt=s==null?void 0:s.onVolumeChange)===null||rt===void 0||rt.call(s,Ci))}},Yi=()=>{S.prepare()},xt=()=>{var I,ee;if(gt(_t),!Qe(_t.ui.controls.disabledControls$).has(ut.PLAY_BUTTON)){if(ue({message:"toggle play"}),Qe(_t.playerPhase)===Oe.Ads){le.togglePlay();return}if(S.info.playbackState$.getValue()!==$t.PLAYING){if(S.info.isEnded$.getValue()){if(ue({message:"toggle play, video ended, seek to 0"}),Je.next(),mt.next(Ut.REWIND),y){C==null||C();return}S.seekTime(0)}ue({message:"toggle play, call player.play"}),S.play(),(I=s==null?void 0:s.onPlay)===null||I===void 0||I.call(s)}else ue({message:"toggle play, call player.pause"}),S.pause(),(ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)}},ni=I=>{ue({message:`set quality, quality: ${I}`}),S.setAutoQuality(I===To.AUTO),I!==To.AUTO?(ed(e,I),Gt.set(I),S.setQuality(I)):G1()},Xi=I=>{ue({message:`set trafficSavingEnabled, value: ${I}`}),S.setAutoQualityLimits({max:I?$.trafficSavingLimit:void 0}),nd(I)},Vi=I=>{S.setPlaybackRate(I)},fn=()=>{const I=Qe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===I.length-1)return;const ge=I[ee+1];Vi(ge.value)},nn=()=>{const I=Qe(Ht),ee=I.findIndex(({selected:Re})=>Re);if(ee===0)return;const ge=I[ee-1];Vi(ge.value)},Bi=I=>{I&&I.value!==At.value&&st.next(I.isAuto?I.value+"_auto":I.value),gi.set(I)},Ri=()=>{const I=Qe(Li),ee=Qe(gi),ge=Qe(oe);if((ee==null?void 0:ee.value)===At.value){const Re=I.filter(Ze=>Ze.value!==At.value).find(Ze=>Ze.value===ge)||I[1];Bi(Re!=null?Re:{...At})}else Bi({...At,selected:!1})},yi=(I,ee,ge=!0)=>{if(ue({message:`seek to time, time: ${I}`}),mt.next(ee),S.info.isLive$.getValue()){const Re=S.info.duration$.getValue(),Ze=Math.min(0,Re+I);S.seekTime(Ze,ge)}else{if(Qe(qn))return;S.seekTime(Ro(I),ge)}},on=I=>{ue({message:`seek to episode start time: ${I}`}),yi(I,Ut.EPISODE,!0)},xi=(I,ee)=>{ue({message:`seek to percent, percent: ${I}`});const ge=Math.round(Qe(Kt)*I);yi(ge,ee,!1)},$i=I=>{ue({message:`seek external, time: ${I}`}),mt.next(Ut.UNKNOWN),S.seekTime(S.info.isLive$.getValue()?-I:I)},ln=I=>{var ee,ge;ue({message:`set auto quality limitation. Max: ${(ee=I.max)!==null&&ee!==void 0?ee:"none"}. Min: ${(ge=I.min)!==null&&ge!==void 0?ge:"none"}`}),S.setAutoQualityLimits(I)},ki=I=>{ue({message:`seek external to episode start time: ${I}`}),yi(I,Ut.EPISODE,!0)},te=I=>{ue({message:`set playback rate to: ${I}`}),S.setPlaybackRate(I)},et=Ve(void 0),Vt=Ve(!1),Qi=I=>{ue({message:`start scrubbing, progress: ${I}`}),Vt.set(!0),ft(I)},ft=I=>{et.set(I)};let rn,dn;const sn=()=>{et.set(void 0),Vt.set(!1)},an=()=>{clearTimeout(dn),clearTimeout(rn),rn=window.setTimeout(()=>{sn()},500),ce==null||ce.removeEventListener("seeked",an)},_n=I=>{ue({message:`complete scrubbing, progress: ${I}`}),xi(I,Ut.SLIDER),Qe(_t.ui.isMobile)&&Qe(_t.state.currentFormat$)===Do.HLS?(ce==null||ce.addEventListener("seeked",an),dn=window.setTimeout(()=>{an()},300)):sn()},x=mi([pt,Kt,et],([I,ee,ge],Re)=>{Re(Cn(ge)?ge*ee:I)}),at=Ve({width:0,height:0}),en=mi([at],([{width:I}],ee)=>{const ge=Gh(I);ee(ge)}),J=Ve(!1),mn=mi([en,J],([I,ee])=>ee?N.filter(ge=>!ge.hideOnMobile):N.filter(ge=>{var Re;return!(!((Re=ge.hideOnDesktopGridTypes)===null||Re===void 0)&&Re.includes(I))})),gn=mi([J,Ce],([I,ee],ge)=>{ge(I&&ee)}),eo=()=>{mt.next(Ut.LIVE),ue({message:"switch to active live"}),S.seekTime(0),S.info.playbackState$.getValue()!==$t.PLAYING&&_t.actions.internal.togglePlay()},to=()=>le.skip(),io=(I=!0)=>{gt(_t),ue({message:`switch from ads to video, callPlay: ${I}`}),U.set(Oe.Video),I&&S.play()},no=()=>{gt(_t),ue({message:"switch from video to ads"}),_t.actions.internal.pause(),jt(),U.set(Oe.Ads)},oo=I=>{gt(_t);const ee=I?Oe.WaitingLive:Oe.Thumb;U.set(ee)},lo=I=>{gt(_t);const ee=I?Oe.WaitingRecord:Oe.Thumb;U.set(ee)},ro=()=>(gt(_t),J0(S,Y,_t)),Vo=()=>(gt(_t),x0(S,Y,_t)),Bo=()=>ce,pn=()=>{ue({message:"toggle chromecast"}),S.toggleChromecast()},Yn=I=>{var ee;gt(_t);const ge=!I;if(Qe(_t.playerPhase)===Oe.Ads){ue({message:`pause ads, internalCall: ${ge}`}),le.pause();return}ue({message:`pause video, internalCall: ${ge}`}),ge&&((ee=s==null?void 0:s.onPause)===null||ee===void 0||ee.call(s)),S.pause()},Hn=I=>{var ee;gt(_t);const ge=!I;if(Qe(_t.playerPhase)===Oe.Ads){ue({message:`play ads, internalCall: ${ge}`}),le.play();return}ue({message:`play video, internalCall: ${ge}`}),ge&&((ee=s==null?void 0:s.onPlay)===null||ee===void 0||ee.call(s)),S.play()},so=(I,ee)=>{gt(_t),ue({message:`first start, show ads: ${I}, internalCall: ${!ee}`}),I?U.set(Oe.Ads):(U.set(Oe.Video),ee?S.play():_t.actions.internal.togglePlay())},Un=()=>(ue({message:"getting time codes"}),c),ao=()=>{const I=Un();if(!I||[0,1].includes(I.length))return;const ee=S.info.position$.getValue();return I.find(ge=>ge.time>ee)},uo=I=>{let ee=I;ee||(ee=ao()),ee&&(ue({message:"seek to next episode"}),yi(ee.time,Ut.EPISODE,!0))},co=()=>{const I=Un();if(!I||[0,1].includes(I.length))return;const ee=S.info.position$.getValue(),ge=I.findIndex(Ze=>Ze.time>ee),Re=ge===-1?I.length-2:ge-2;if(!(Re<0))return I[Re]},fo=I=>{let ee=I;ee||(ee=co()),ee&&(ue({message:"seek to prev episode"}),yi(ee.time,Ut.EPISODE,!0))},Xn=()=>(ue({message:"getting preview thumbs data"}),f),mo=async()=>{me!=null&&me.isActive()?await(me==null?void 0:me.remove()):await(me==null?void 0:me.request())},j=(I=-90)=>{A.update(ee=>ee+I)},dt=Ve(_),un=mi([dt],([I=[]])=>{const ee=[];for(let ge=0;ge<I.length;ge++){const{range:[Re,Ze],subjects:rt}=I[ge];ge===0&&Re!==0&&ee.push({time:0,text:"",interactive:!1,completed:!0}),ee.push({time:Re/1e3,text:"",interactive:!0,completed:!rt.length}),Ze!==1/0&&ee.push({time:Ze/1e3,text:"",interactive:!1,completed:!0})}return ee}),cn=I=>{const ee=Qe(dt);dt.set(ee.map(ge=>({...ge,subjects:ge.subjects.filter(Re=>Re!==I)})))},En=Ve(!1),qn=mi([fi,dt,En],([I,ee,ge])=>{if(!y)return!1;if(ge)return!0;const Re=I*1e3,Ze=ee==null?void 0:ee.find(({range:[rt,Ct],subjects:vt})=>rt<Re&&Re<Ct&&vt.length);return Ze&&Qe(Vt)&&sn(),!!Ze}),Ro=I=>{if(!y)return I;const ee=Qe(un),ge=Qe(Kt),Ze=Qe(fi)/ge,rt=ee.find(Ct=>Ct.interactive&&!Ct.completed&&Ct.time>Ze);return typeof(rt==null?void 0:rt.time)=="number"?Math.min(I,rt.time-.05):I},xo=()=>{_t.ui.episodes.panelOpened$.set(!1)},$o=()=>{clearTimeout(dn),clearTimeout(rn),ct.unsubscribe(),It.unsubscribe(),S.destroy(),le.destroy(),L==null||L.destroy(),se==null||se.destroy(),Me.unsubscribe()},_t={interfaceLanguage$:oe,initVideo:lt,videoId:e,isClip:t,playerPhase:Be,vsid:Ae,state:{positionExact$:pt,positionWithScrubbing$:x,duration$:Kt,playbackState$:He,isPlaying$:ht,isLoaderVisible:vi,bufferedProgress$:Zi,isLive$:Hi,canChangePlaybackSpeed$:si,isActiveLive$:it,isOldestAvailableLive$:Ft,isRewindableLive$:zi,isEnded$:Ni,muted$:Ot,volume$:Ji,trafficSavingEnabled$:Wt,autoQualityLimitingAvailable$:ai,currentQuality$:ii,isAutoQualityEnabled$:Yt,availableQualities$:ji,currentPlaybackRate$:Xt,availablePlaybackRates$:Ht,currentSubtitle$:gi,availableSubtitlesList$:Li,currentSubtitleCaptions$:bi,isAutoSubtitleCaptionVisible$:Jt,chromecastState$:Dt,chromecastDeviceName$:Oi,chromecastConnected$:Ei,currentFormat$:ui,throughputEstimation$:Tt,videoBitrate$:Di,videoSize$:Pi,errorLog$:ne,crashed$:Ce,isAudioAvailable$:Ti,isAudioDisabled:!!r,canDownload:$.features.download&&!!l,availableSources$:_i,hasMpegSources$:Ii,isInteractive:y,isInteractiveGraphEnabled:$.features.interactiveGraph,isSeekToInteractiveEnable:$.features.seekToInteractive,isPlayPrevChapterEnabled:$.features.interactivePlayPrevChapter,interactiveEpisodes$:un,isInteractiveTime$:qn,graphIsOpened$:Ve(!1),isInteractiveExpectation$:En,hasInteractiveBranches:k,playPrevChapterDisabledTooltip:w},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),additionalButtons:N.length?N.reduce(I=>[...I,Ve(void 0)],[]):[],disabledControls$:$e},modals:{hotKeyMap:{show:Ve(!1),data:Ve({title:"",closeBtnText:"",groups:[]})}},isFullscreen:Se,rotateAlpha:A,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:at,isMobile:J,mobileNotReportControlHidden$:gn,mobileUnmuteButtonExpanded:Ve(!1),mobileUnmuteButtonVisible:Ve(!1),icon3DVideoVisible:Ve(!1),settingsMenuVisible:Ve(!1),settingsMenuOpenedByKeyboard:Ve(!1),scrubbingInProgress:Vt,is3DVideo:Ve(!1),isPictureInPictureActive$:Xe,pictureInPictureType$:An(Te),clientInfo$:An(fe),currentGridType$:en,additionalButtons$:mn,interactiveHideMobileControls:Ve(!1),overlayContainer$:Ve(void 0)},ads:{position:Ve(0),duration:Ve(0),playbackState:Ve(li.INACTIVE),canSkip:Ve(!1),secondsToWatchBeforeSkip:Ve(0),postrollPassed:Ve(!1)},webApi:{pictureInPictureApi:me,annotationsApi:ve},actions:{internal:{preload:Yi,firstStart:I=>so(I,!1),pause:()=>Yn(!1),togglePlay:xt,toggleMuted:Gi,toggleSettingsMenu:Mi,openSettingsMenu:Fi,closeSettingsMenu:wi,setVolume:di,setQuality:ni,setTrafficSavingEnabled:I=>Xi(I),setPlaybackRate:Vi,incrementPlaybackRate:fn,decrementPlaybackRate:nn,setSubtitle:Bi,toggleSubtitle:Ri,togglePictureInPicture:mo,startScrubbing:Qi,progressScrubbing:ft,completeScrubbing:_n,toggleChromecast:pn,switchToActiveLive:eo,switchFromAdsToVideo:io,switchFromVideoToAds:no,skipAd:to,setWaitingLive:oo,setWaitingRecord:lo,getDebugTextData:ro,getDebugPanelData:Vo,getVideoElement:Bo,seekTime:(I,ee,ge)=>yi(I,ee,ge),clearDelayedBufferingCheckTimeout:ci,seekEpisodeStartTime:on,seekToPercent:xi,getNextEpisode:ao,seekToNextEpisode:uo,getPrevEpisode:co,seekToPrevEpisode:fo,startLogging:Nt,stopLogging:Mt,startCameraManualRotation:de,stopCameraManualRotation:Et,moveCameraFocusPX:tt,holdCamera:Pt,releaseCamera:wt,getVideoEpisodes:Un,getPreviewThumbsData:Xn,downloadVideo:Ki,addLanguage:Cs,setLanguage:Pe,nextMovie:Ie,videoRotate:j,completeInteractiveRange:cn,correctSeekTimeToInteractive:Ro,replayInteractive:C},external:{firstStart:I=>so(I,!0),play:()=>Hn(!0),pause:()=>Yn(!0),seekTime:I=>$i(I),seekEpisodeStartTime:I=>ki(I),setPlaybackRate:I=>te(I),setAutoQualityLimits:I=>ln(I),setMuted:I=>Fe(I,!0),setVolume:I=>di(I,I,!0),returnFocusToEpisodes:xo}},callbacks:s,setUiCallbacks:I=>{De={...I}},getAdmanWrapper:()=>le,getLogger:()=>D,destroy:$o};return _t},_f=(i,e,t,n)=>{var o;if(!i)return;const r=i.getBoundingClientRect();for(const[l,s]of Object.entries(e))if(!["tooltipPointerOffsetX","disabledControls$","additionalButtons"].includes(l)){const a=(o=t[l])===null||o===void 0?void 0:o.getBoundingClientRect(),c=n&&!!a&&!!(a.right-a.left);s.set({positionStartX:0,positionEndX:0,left:c?Math.round(a.left-r.left):0,right:c?Math.round(a.right-r.left):0,top:c?Math.round(a.top-r.top):0,bottom:c?Math.round(a.bottom-r.top):0,isDisplayed:c})}};function dg(i){let e,t;return e=new Rr({props:{isMobile:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p:W,i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function mg(i){let e,t,n;function o(l){i[8](l)}let r={className:i[3]?"opened":"",testId:"btn-context-menu",disabled:i[0],ariaLabel:i[1],click:i[5],focus:i[6],blur:i[7],$$slots:{default:[dg]},$$scope:{ctx:i}};return i[2]!==void 0&&(r.ref=i[2]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&8&&(a.className=l[3]?"opened":""),s&1&&(a.disabled=l[0]),s&2&&(a.ariaLabel=l[1]),s&8192&&(a.$$scope={dirty:s,ctx:l}),!t&&s&4&&(t=!0,a.ref=l[2],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function pg(i,e,t){let n,{disabled:o=!1}=e,{ariaLabel:r=""}=e;const l=St(),s=l.ui.contextMenuVisible;z(i,s,_=>t(3,n=_));const a=l.ui.contextMenu.openedByKeyboard$,c=l.ui.contextMenu.showContextMenuBtn$,f=l.ui.contextMenu.btnRef$,m=_=>{const C=Ir(_);a.set(C),s.set(!n)};let h;const b=()=>{c.set(!0)},v=()=>{c.set(!1)};function y(_){h=_,t(2,h)}return i.$$set=_=>{"disabled"in _&&t(0,o=_.disabled),"ariaLabel"in _&&t(1,r=_.ariaLabel)},i.$$.update=()=>{i.$$.dirty&4&&h&&f.set(h)},[o,r,h,n,s,m,b,v,y]}class hg extends ye{constructor(e){super(),we(this,e,pg,mg,_e,{disabled:0,ariaLabel:1})}}function vg(i){Ue(i,"v-st0uzk",".wrapper-bottom.v-st0uzk.v-st0uzk{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box}.wrapper-bottom.v-st0uzk>.v-st0uzk{pointer-events:auto}.controls.v-st0uzk.v-st0uzk{width:100%;display:flex;align-items:center;justify-content:space-between;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 8px 4px;box-sizing:border-box}.controls-left.v-st0uzk.v-st0uzk,.controls-right.v-st0uzk.v-st0uzk{display:flex;align-content:center}.controls-left.v-st0uzk.v-st0uzk{flex-grow:1;min-width:0;overflow:hidden}.controls-left.v-st0uzk > *:not(:first-child),.controls-right.v-st0uzk > *{margin-left:var(--controls-desktop-item-margin-left)}.controls-hidden.v-st0uzk.v-st0uzk{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-st0uzk.v-st0uzk{transition:none}.settings-menu.v-st0uzk.v-st0uzk{bottom:57px;right:18px;position:absolute;transition:opacity 0.2s, visibility 0.2s}")}function za(i,e,t){const n=i.slice();return n[201]=e[t].iconUrl,n[202]=e[t].ariaLabel,n[203]=e[t].testId,n[204]=e[t].onClick,n[205]=e[t].tooltip,n}function Fa(i){let e,t,n;function o(l){i[168](l)}let r={disabled:!i[9],tooltipContent:K("tooltip_previous"),$$slots:{default:[gg]},$$scope:{ctx:i}};return i[23].prevButton!==void 0&&(r.ref=i[23].prevButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&512&&(a.disabled=!l[9]),s[0]&4608|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function gg(i){let e,t;return e=new Bl({props:{click:i[12],type:"prev",disabled:!i[9],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4096&&(r.click=n[12]),o[0]&512&&(r.disabled=!n[9]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ha(i){let e,t,n;function o(l){i[169](l)}let r={disabled:i[73],tooltipContent:K("tooltip_restart"),$$slots:{default:[bg]},$$scope:{ctx:i}};return i[23].replayButton!==void 0&&(r.ref=i[23].replayButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&2048&&(a.disabled=l[73]),s[2]&2048|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function bg(i){let e,t;return e=new Fr({props:{click:i[125],disabled:i[73]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&2048&&(r.disabled=n[73]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ua(i){let e,t,n;function o(l){i[170](l)}let r={tooltipContent:i[46],disabled:i[74],$$slots:{default:[_g]},$$scope:{ctx:i}};return i[23].playButton!==void 0&&(r.ref=i[23].playButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&32768&&(a.tooltipContent=l[46]),s[2]&4096&&(a.disabled=l[74]),s[1]&4|s[2]&4096|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function _g(i){let e,t;return e=new zr({props:{isMobile:!1,isPlaying:i[33],click:i[85],disabled:i[74]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&4&&(r.isPlaying=n[33]),o[2]&4096&&(r.disabled=n[74]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function qa(i){let e,t,n;function o(l){i[171](l)}let r={disabled:!i[8],tooltipContent:K("tooltip_next"),$$slots:{default:[wg]},$$scope:{ctx:i}};return i[23].nextButton!==void 0&&(r.ref=i[23].nextButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&256&&(a.disabled=!l[8]),s[0]&2304|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function wg(i){let e,t;return e=new Bl({props:{click:i[11],type:"next",disabled:!i[8],isMobile:!1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2048&&(r.click=n[11]),o[0]&256&&(r.disabled=!n[8]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function yg(i){let e,t,n,o,r=i[119]&&kg(i),l=i[118]&&Sg(i),s=i[117]&&Tg(i);return{c(){r&&r.c(),e=R(),l&&l.c(),t=R(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[119]&&r.p(a,c),a[118]&&l.p(a,c),a[117]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function kg(i){let e,t,n;function o(l){i[172](l)}let r={disabled:i[72],tooltipContent:K("tooltip_interactive_go_back"),disabledTooltipContent:K(i[121]),$$slots:{default:[Cg]},$$scope:{ctx:i}};return i[23].playPrevChapterButton!==void 0&&(r.ref=i[23].playPrevChapterButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&1024&&(a.disabled=l[72]),s[0]&131072|s[2]&1024|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].playPrevChapterButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Cg(i){let e,t;return e=new mf({props:{disabled:i[72],click:i[17]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&1024&&(r.disabled=n[72]),o[0]&131072&&(r.click=n[17]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Sg(i){let e,t,n;function o(l){i[173](l)}let r={disabled:i[75],tooltipContent:K("tooltip_interactive_seek"),disabledTooltipContent:K(i[78]),$$slots:{default:[Pg]},$$scope:{ctx:i}};return i[23].seekToInteractiveButton!==void 0&&(r.ref=i[23].seekToInteractiveButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[2]&8192&&(a.disabled=l[75]),s[2]&65536&&(a.disabledTooltipContent=K(l[78])),s[0]&32768|s[2]&8192|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].seekToInteractiveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Pg(i){let e,t;return e=new cf({props:{disabled:i[75],click:i[15]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&8192&&(r.disabled=n[75]),o[0]&32768&&(r.click=n[15]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tg(i){let e,t,n;function o(l){i[174](l)}let r={tooltipContent:i[47],disabled:i[76],$$slots:{default:[Eg]},$$scope:{ctx:i}};return i[23].interactiveGraphButton!==void 0&&(r.ref=i[23].interactiveGraphButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.tooltipContent=l[47]),s[2]&16384&&(a.disabled=l[76]),s[0]&1073807360|s[2]&16384|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].interactiveGraphButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Eg(i){let e,t;return e=new ff({props:{click:i[16],graphIsOpened:i[30],disabled:i[76]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&65536&&(r.click=n[16]),o[0]&1073741824&&(r.graphIsOpened=n[30]),o[2]&16384&&(r.disabled=n[76]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function ja(i){let e,t,n;function o(l){i[175](l)}let r={tooltipContent:i[49],$$slots:{default:[Ag]},$$scope:{ctx:i}};return i[23].liveButton!==void 0&&(r.ref=i[23].liveButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&262144&&(a.tooltipContent=l[49]),s[0]&2097152|s[1]&262144|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ag(i){let e,t;return e=new lf({props:{isActiveLive:i[21],isMobile:!1,ariaLabel:i[49]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2097152&&(r.isActiveLive=n[21]),o[1]&262144&&(r.ariaLabel=n[49]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Wa(i){let e,t,n;function o(l){i[176](l)}let r={isMobile:!1,showDuration:i[54],position:i[4]?i[79]:i[80],duration:i[4]?i[81]:i[82]};return i[23].time!==void 0&&(r.ref=i[23].time),e=new Jc({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.showDuration=l[54]),s[0]&16|s[2]&393216&&(a.position=l[4]?l[79]:l[80]),s[0]&16|s[2]&1572864&&(a.duration=l[4]?l[81]:l[82]),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Za(i){let e,t;return e=new uf({props:{position:i[80],duration:i[82],timeCodes:i[101]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&262144&&(r.position=n[80]),o[2]&1048576&&(r.duration=n[82]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lg(i){let e,t,n=i[20]&&Za(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[20]?n?(n.p(o,r),r[0]&1048576&&d(n,1)):(n=Za(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function Ig(i){var n;let e,t;return e=new pf({props:{iconUrl:i[201],ariaLabel:(n=i[202])!=null?n:i[205],testId:i[203],onClick:i[204]}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&134217728&&(l.iconUrl=o[201]),r[0]&134217728&&(l.ariaLabel=(s=o[202])!=null?s:o[205]),r[0]&134217728&&(l.testId=o[203]),r[0]&134217728&&(l.onClick=o[204]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Ka(i){let e,t;return e=new qt({props:{tooltipContent:i[205],width:40,$$slots:{default:[Ig]},$$scope:{ctx:i}}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&134217728&&(r.tooltipContent=n[205]),o[0]&134217728|o[6]&4194304&&(r.$$scope={dirty:o,ctx:n}),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ga(i){let e,t,n;function o(l){i[179](l)}let r={disabled:!i[6],tooltipContent:i[50],$$slots:{default:[Mg]},$$scope:{ctx:i}};return i[23].vkLogo!==void 0&&(r.ref=i[23].vkLogo),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.disabled=!l[6]),s[1]&524288&&(a.tooltipContent=l[50]),s[0]&192|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Mg(i){let e,t;return e=new nf({props:{click:i[86],logoClickable:i[6],videoLogoUrl:i[7]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&64&&(r.logoClickable=n[6]),o[0]&128&&(r.videoLogoUrl=n[7]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Vg(i){let e,t;return e=new $h({props:{isAudioAvailable:i[77],click:i[124]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[2]&32768&&(r.isAudioAvailable=n[77]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ya(i){let e,t,n;function o(l){i[181](l)}let r={tooltipContent:i[51],$$slots:{default:[Bg]},$$scope:{ctx:i}};return i[23].subtitles!==void 0&&(r.ref=i[23].subtitles),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&1048576&&(a.tooltipContent=l[51]),s[0]&262144|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].subtitles,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Bg(i){let e,t;return e=new uh({props:{isSubtitlesEnabled:i[18],click:i[87]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.isSubtitlesEnabled=n[18]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xa(i){var s;let e,t,n,o;function r(a){i[182](a)}let l={supportLink:i[10],playerControlsHeight:(s=i[45])==null?void 0:s.clientHeight,returnFocus:i[14]};return i[24]!==void 0&&(l.ref=i[24]),t=new Qc({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","settings-menu v-st0uzk")},m(a,c){E(a,e,c),F(t,e,null),o=!0},p(a,c){var m;const f={};c[0]&1024&&(f.supportLink=a[10]),c[1]&16384&&(f.playerControlsHeight=(m=a[45])==null?void 0:m.clientHeight),c[0]&16384&&(f.returnFocus=a[14]),!n&&c[0]&16777216&&(n=!0,f.ref=a[24],qe(()=>n=!1)),t.$set(f)},i(a){o||(d(t.$$.fragment,a),o=!0)},o(a){g(t.$$.fragment,a),o=!1},d(a){a&&P(e),H(t)}}}function Qa(i){let e,t,n;function o(l){i[184](l)}let r={tooltipContent:i[26]?void 0:K("tooltip_settings_off"),$$slots:{default:[Rg]},$$scope:{ctx:i}};return i[23].settings!==void 0&&(r.ref=i[23].settings),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.tooltipContent=l[26]?void 0:K("tooltip_settings_off")),s[0]&33554432|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Rg(i){let e,t,n;function o(l){i[183](l)}let r={};return i[25]!==void 0&&(r.ref=i[25]),e=new Nr({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&33554432&&(t=!0,a.ref=l[25],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Ng(i){let e,t,n;function o(l){i[185](l)}let r={className:i[40]?"":"out-of-view",tooltipContent:i[48],$$slots:{default:[Og]},$$scope:{ctx:i}};return i[23].context!==void 0&&(r.ref=i[23].context),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&512&&(a.className=l[40]?"":"out-of-view"),s[1]&131072&&(a.tooltipContent=l[48]),s[1]&131072|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].context,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Og(i){let e,t;return e=new hg({props:{ariaLabel:i[48]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&131072&&(r.ariaLabel=n[48]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ja(i){let e,t,n;function o(l){i[186](l)}let r={tooltipContent:i[52],$$slots:{default:[Dg]},$$scope:{ctx:i}};return i[23].fullscreen!==void 0&&(r.ref=i[23].fullscreen),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&2097152&&(a.tooltipContent=l[52]),s[0]&536879104|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Dg(i){let e,t;return e=new ef({props:{click:i[13],isFullscreen:i[29]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8192&&(r.click=n[13]),o[0]&536870912&&(r.isFullscreen=n[29]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xa(i){let e,t,n;function o(l){i[187](l)}let r={tooltipContent:i[53],$$slots:{default:[zg]},$$scope:{ctx:i}};return i[23].chromecast!==void 0&&(r.ref=i[23].chromecast),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&4194304&&(a.tooltipContent=l[53]),s[0]&268435456|s[6]&4194304&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&8388608&&(t=!0,a.ref=l[23].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function zg(i){let e,t;return e=new of({props:{isMobile:!1,state:i[28],click:i[123]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&268435456&&(r.state=n[28]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Fg(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S;t=new af({props:{isHidden:!i[44],isAds:i[4],canRewindLive:i[5],isRewindableLive:i[31]}});let D=i[37]&&Fa(i),le=i[34]&&Ha(i),L=i[35]&&Ua(i),se=i[36]&&qa(i),me=i[116]&&yg(i),ve=!i[4]&&i[32]&&ja(i),ue=i[19]&&Wa(i);function Y(X){i[177](X)}let ce={className:"w-max",disabled:!i[20],tooltipContent:K("tooltip_episodes"),$$slots:{default:[Lg]},$$scope:{ctx:i}};i[23].episodes!==void 0&&(ce.ref=i[23].episodes),b=new qt({props:ce}),ke.push(()=>je(b,"ref",Y));let De=ei(i[27]),fe=[];for(let X=0;X<De.length;X+=1)fe[X]=Ka(za(i,De,X));const Ae=X=>g(fe[X],1,1,()=>{fe[X]=null});let Se=i[42]&&Ga(i);function ae(X){i[180](X)}let Te={$$slots:{default:[Vg]},$$scope:{ctx:i}};i[23].volume!==void 0&&(Te.ref=i[23].volume),N=new qt({props:Te}),ke.push(()=>je(N,"ref",ae));let A=i[39]&&Ya(i),ne=!i[83]&&!i[4]&&Xa(i),Me=i[41]&&Qa(i),Ce=i[84].features.contextMenuButton&&Ng(i),Pe=i[43]&&Ja(i),oe=i[38]&&xa(i);return{c(){e=T("div"),q(t.$$.fragment),n=R(),o=T("div"),r=T("div"),D&&D.c(),l=R(),le&&le.c(),s=R(),L&&L.c(),a=R(),se&&se.c(),c=R(),me&&me.c(),f=R(),ve&&ve.c(),m=R(),ue&&ue.c(),h=R(),q(b.$$.fragment),_=R(),C=T("div");for(let X=0;X<fe.length;X+=1)fe[X].c();k=R(),Se&&Se.c(),w=R(),q(N.$$.fragment),M=R(),A&&A.c(),G=R(),ne&&ne.c(),re=R(),Me&&Me.c(),ie=R(),Ce&&Ce.c(),O=R(),Pe&&Pe.c(),$=R(),oe&&oe.c(),u(r,"class","controls-left v-st0uzk"),Ao(()=>i[178].call(r)),u(C,"class","controls-right v-st0uzk"),u(o,"class","controls v-st0uzk"),u(e,"class","wrapper-bottom v-st0uzk"),V(e,"hidden",i[1]),V(e,"controls-hidden",!i[3]),V(e,"no-smooth",i[2])},m(X,U){E(X,e,U),F(t,e,null),p(e,n),p(e,o),p(o,r),D&&D.m(r,null),p(r,l),le&&le.m(r,null),p(r,s),L&&L.m(r,null),p(r,a),se&&se.m(r,null),p(r,c),me&&me.m(r,null),p(r,f),ve&&ve.m(r,null),p(r,m),ue&&ue.m(r,null),p(r,h),F(b,r,null),y=_r(r,i[178].bind(r)),p(o,_),p(o,C);for(let Be=0;Be<fe.length;Be+=1)fe[Be]&&fe[Be].m(C,null);p(C,k),Se&&Se.m(C,null),p(C,w),F(N,C,null),p(C,M),A&&A.m(C,null),p(C,G),ne&&ne.m(C,null),p(C,re),Me&&Me.m(C,null),p(C,ie),Ce&&Ce.m(C,null),p(C,O),Pe&&Pe.m(C,null),p(C,$),oe&&oe.m(C,null),i[188](o),i[189](e),S=!0},p(X,U){const Be={};U[1]&8192&&(Be.isHidden=!X[44]),U[0]&16&&(Be.isAds=X[4]),U[0]&32&&(Be.canRewindLive=X[5]),U[1]&1&&(Be.isRewindableLive=X[31]),t.$set(Be),X[37]?D?(D.p(X,U),U[1]&64&&d(D,1)):(D=Fa(X),D.c(),d(D,1),D.m(r,l)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),X[34]?le?(le.p(X,U),U[1]&8&&d(le,1)):(le=Ha(X),le.c(),d(le,1),le.m(r,s)):le&&(pe(),g(le,1,1,()=>{le=null}),he()),X[35]?L?(L.p(X,U),U[1]&16&&d(L,1)):(L=Ua(X),L.c(),d(L,1),L.m(r,a)):L&&(pe(),g(L,1,1,()=>{L=null}),he()),X[36]?se?(se.p(X,U),U[1]&32&&d(se,1)):(se=qa(X),se.c(),d(se,1),se.m(r,c)):se&&(pe(),g(se,1,1,()=>{se=null}),he()),X[116]&&me.p(X,U),!X[4]&&X[32]?ve?(ve.p(X,U),U[0]&16|U[1]&2&&d(ve,1)):(ve=ja(X),ve.c(),d(ve,1),ve.m(r,m)):ve&&(pe(),g(ve,1,1,()=>{ve=null}),he()),X[19]?ue?(ue.p(X,U),U[0]&524288&&d(ue,1)):(ue=Wa(X),ue.c(),d(ue,1),ue.m(r,h)):ue&&(pe(),g(ue,1,1,()=>{ue=null}),he());const $e={};if(U[0]&1048576&&($e.disabled=!X[20]),U[0]&1048576|U[2]&1310720|U[6]&4194304&&($e.$$scope={dirty:U,ctx:X}),!v&&U[0]&8388608&&(v=!0,$e.ref=X[23].episodes,qe(()=>v=!1)),b.$set($e),U[0]&134217728){De=ei(X[27]);let We;for(We=0;We<De.length;We+=1){const Ie=za(X,De,We);fe[We]?(fe[We].p(Ie,U),d(fe[We],1)):(fe[We]=Ka(Ie),fe[We].c(),d(fe[We],1),fe[We].m(C,k))}for(pe(),We=De.length;We<fe.length;We+=1)Ae(We);he()}X[42]?Se?(Se.p(X,U),U[1]&2048&&d(Se,1)):(Se=Ga(X),Se.c(),d(Se,1),Se.m(C,w)):Se&&(pe(),g(Se,1,1,()=>{Se=null}),he());const lt={};U[2]&32768|U[6]&4194304&&(lt.$$scope={dirty:U,ctx:X}),!Q&&U[0]&8388608&&(Q=!0,lt.ref=X[23].volume,qe(()=>Q=!1)),N.$set(lt),X[39]?A?(A.p(X,U),U[1]&256&&d(A,1)):(A=Ya(X),A.c(),d(A,1),A.m(C,G)):A&&(pe(),g(A,1,1,()=>{A=null}),he()),!X[83]&&!X[4]?ne?(ne.p(X,U),U[0]&16|U[2]&2097152&&d(ne,1)):(ne=Xa(X),ne.c(),d(ne,1),ne.m(C,re)):ne&&(pe(),g(ne,1,1,()=>{ne=null}),he()),X[41]?Me?(Me.p(X,U),U[1]&1024&&d(Me,1)):(Me=Qa(X),Me.c(),d(Me,1),Me.m(C,ie)):Me&&(pe(),g(Me,1,1,()=>{Me=null}),he()),X[84].features.contextMenuButton&&Ce.p(X,U),X[43]?Pe?(Pe.p(X,U),U[1]&4096&&d(Pe,1)):(Pe=Ja(X),Pe.c(),d(Pe,1),Pe.m(C,$)):Pe&&(pe(),g(Pe,1,1,()=>{Pe=null}),he()),X[38]?oe?(oe.p(X,U),U[1]&128&&d(oe,1)):(oe=xa(X),oe.c(),d(oe,1),oe.m(C,null)):oe&&(pe(),g(oe,1,1,()=>{oe=null}),he()),(!S||U[0]&2)&&V(e,"hidden",X[1]),(!S||U[0]&8)&&V(e,"controls-hidden",!X[3]),(!S||U[0]&4)&&V(e,"no-smooth",X[2])},i(X){if(!S){d(t.$$.fragment,X),d(D),d(le),d(L),d(se),d(me),d(ve),d(ue),d(b.$$.fragment,X);for(let U=0;U<De.length;U+=1)d(fe[U]);d(Se),d(N.$$.fragment,X),d(A),d(ne),d(Me),d(Ce),d(Pe),d(oe),S=!0}},o(X){g(t.$$.fragment,X),g(D),g(le),g(L),g(se),g(me),g(ve),g(ue),g(b.$$.fragment,X),fe=fe.filter(Boolean);for(let U=0;U<fe.length;U+=1)g(fe[U]);g(Se),g(N.$$.fragment,X),g(A),g(ne),g(Me),g(Ce),g(Pe),g(oe),S=!1},d(X){X&&P(e),H(t),D&&D.d(),le&&le.d(),L&&L.d(),se&&se.d(),me&&me.d(),ve&&ve.d(),ue&&ue.d(),H(b),y(),Tn(fe,X),Se&&Se.d(),H(N),A&&A.d(),ne&&ne.d(),Me&&Me.d(),Ce&&Ce.d(),Pe&&Pe.d(),oe&&oe.d(),i[188](null),i[189](null)}}}function Hg(i,e,t){var Zr,Kr;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me=W,ve=()=>(me(),me=oi(ie,Z=>t(139,se=Z)),ie),ue,Y=W,ce=()=>(Y(),Y=oi(re,Z=>t(140,ue=Z)),re),De,fe=W,Ae=()=>(fe(),fe=oi(G,Z=>t(141,De=Z)),G),Se,ae=W,Te=()=>(ae(),ae=oi(M,Z=>t(142,Se=Z)),M),A,ne=W,Me=()=>(ne(),ne=oi(Q,Z=>t(143,A=Z)),Q),Ce,Pe=W,oe=()=>(Pe(),Pe=oi(N,Z=>t(144,Ce=Z)),N),X,U=W,Be=()=>(U(),U=oi(w,Z=>t(145,X=Z)),w),$e,lt=W,We=()=>(lt(),lt=oi(k,Z=>t(146,$e=Z)),k),Ie,Je=W,mt=()=>(Je(),Je=oi(C,Z=>t(147,Ie=Z)),C),st,Le=W,jt=()=>(Le(),Le=oi(_,Z=>t(148,st=Z)),_),ct,It=W,Nt=()=>(It(),It=oi(y,Z=>t(149,ct=Z)),y),Mt,de=W,Et=()=>(de(),de=oi(v,Z=>t(150,Mt=Z)),v),tt,Pt=W,wt=()=>(Pt(),Pt=oi(b,Z=>t(151,tt=Z)),b),pt,Xe=W,He=()=>(Xe(),Xe=oi(h,Z=>t(152,pt=Z)),h),yt,Ni=W,Hi=()=>(Ni(),Ni=oi(m,Z=>t(153,yt=Z)),m),si,Ui=W,Ji=()=>(Ui(),Ui=oi(f,Z=>t(154,si=Z)),f),Ot,Wt=W,ai=()=>(Wt(),Wt=oi(c,Z=>t(155,Ot=Z)),c),Zt,pi,Dt,Oi,ui,Tt,Di,Pi,hi,Ti,zt,ti,vi,ci,Kt,ht,it,Ft,fi,zi,Ei,Gt,Yt;i.$$.on_destroy.push(()=>me()),i.$$.on_destroy.push(()=>Y()),i.$$.on_destroy.push(()=>fe()),i.$$.on_destroy.push(()=>ae()),i.$$.on_destroy.push(()=>ne()),i.$$.on_destroy.push(()=>Pe()),i.$$.on_destroy.push(()=>U()),i.$$.on_destroy.push(()=>lt()),i.$$.on_destroy.push(()=>Je()),i.$$.on_destroy.push(()=>Le()),i.$$.on_destroy.push(()=>It()),i.$$.on_destroy.push(()=>de()),i.$$.on_destroy.push(()=>Pt()),i.$$.on_destroy.push(()=>Xe()),i.$$.on_destroy.push(()=>Ni()),i.$$.on_destroy.push(()=>Ui()),i.$$.on_destroy.push(()=>Wt());let{bottomHidden:qi}=e,{bottomNoSmooth:ii}=e,{showControls:ji}=e,{controlsElementRef:Xt=void 0}=e,{isAds:Ht=!1}=e,{canRewindLive:Qt}=e,{logoClickable:Ai}=e,{logoHidden:At}=e,{videoLogoUrl:gi}=e,{showNextPrevButtons:Li}=e,{nextButtonActive:Wi}=e,{prevButtonActive:bi}=e,{isOneVideoPlaylist:Jt=!1}=e,{supportLink:Zi}=e,{customFullscreenSupported:_i=!0}=e,{playNextVideo:Ii}=e,{playPrevVideo:Ne}=e,{repeatPlaylist:Ki}=e,{toggleFullscreen:Gi}=e,{returnFocus:wi}=e,{seekToInteractive:Fi}=e,{toggleGraph:Mi}=e,{playPrevChapter:di}=e;const Fe=St(),Yi=kr(),xt=vn(),ni=Fe.actions.internal.toggleMuted,Xi=Fe.actions.internal.togglePlay,Vi=Fe.actions.internal.pause,fn=Fe.actions.internal.toggleSubtitle,nn=(Zr=Fe.callbacks)==null?void 0:Zr.onAudioDoesNotExistHint,Bi=(Kr=Fe.callbacks)==null?void 0:Kr.onAudioDisabledHint,Ri=Fe.state.duration$;z(i,Ri,Z=>t(82,Gt=Z));const yi=Fe.state.positionWithScrubbing$;z(i,yi,Z=>t(80,zi=Z));const on=Fe.state.playbackState$;z(i,on,Z=>t(156,Dt=Z));const xi=Fe.state.chromecastConnected$;z(i,xi,Z=>t(83,Yt=Z));const $i=Fe.state.isAudioAvailable$;z(i,$i,Z=>t(77,O=Z));const ln=Fe.state.isAudioDisabled,ki=Fe.state.isEnded$;z(i,ki,Z=>t(164,ci=Z));const te=Fe.state.isLive$;z(i,te,Z=>t(32,Pi=Z));const et=Fe.state.isActiveLive$;z(i,et,Z=>t(158,Tt=Z));const Vt=Fe.state.isRewindableLive$;z(i,Vt,Z=>t(31,Di=Z));const Qi=Fe.ui.isPictureInPictureActive$;z(i,Qi,Z=>t(160,Ti=Z));const ft=Fe.ui.pictureInPictureType$;z(i,ft,Z=>t(159,hi=Z));const rn=Fe.ui.settingsMenuVisible;z(i,rn,Z=>t(26,S=Z));const dn=Fe.ui.settingsMenuOpenedByKeyboard;z(i,dn,Z=>t(136,$=Z));const sn=Fe.ui.controls,an=Fe.actions.internal.getVideoEpisodes(),_n=Fe.state.chromecastState$;z(i,_n,Z=>t(28,Zt=Z));const x=Fe.state.availableSubtitlesList$;z(i,x,Z=>t(163,vi=Z));const at=Fe.state.currentSubtitle$;z(i,at,Z=>t(165,Kt=Z));const en=sn.disabledControls$;z(i,en,Z=>t(167,it=Z));const J=Fe.ui.contextMenuVisible;z(i,J,Z=>t(157,Oi=Z));const mn=Fe.ui.contextMenu.showContextMenuBtn$;z(i,mn,Z=>t(161,zt=Z));const gn=Fe.ui.contextMenu.openedByKeyboard$;z(i,gn,Z=>t(162,ti=Z));const eo=Fe.ads.duration;z(i,eo,Z=>t(81,Ei=Z));const to=Fe.ads.position;z(i,to,Z=>t(79,fi=Z));const io=Fe.ads.playbackState;z(i,io,Z=>t(166,ht=Z));const no=Fe.ui.isFullscreen;z(i,no,Z=>t(29,pi=Z));const oo=Fe.ui.playerSize;z(i,oo,Z=>t(137,D=Z));const lo=Fe.ui.currentGridType$;z(i,lo,Z=>t(138,le=Z));const ro=Fe.ui.additionalButtons$;z(i,ro,Z=>t(27,L=Z));const Vo=Fe.actions.internal.getVideoElement,Bo=Fe.actions.internal.replayInteractive,pn=Fe.state.isInteractive,Yn=Fe.state.isInteractiveGraphEnabled,Hn=Fe.state.isSeekToInteractiveEnable,so=Fe.state.isPlayPrevChapterEnabled,Un=Fe.state.graphIsOpened$;z(i,Un,Z=>t(30,ui=Z));const ao=Fe.state.playPrevChapterDisabledTooltip,uo=Yi.seekToInteractiveDisabledTooltip$;z(i,uo,Z=>t(78,Ft=Z));const co=()=>Fe.actions.internal.toggleChromecast();let fo,Xn,mo,j,dt,un,cn,En,qn,Ro,xo,$o,_t,I,ee,ge,Re,Ze,rt,Ct,vt,Ci="";const po=(Z,Nl)=>{if(!Z){t(49,Ci=K("tooltip_live"));return}Nl===$t.PAUSED&&t(49,Ci=K("tooltip_play"))};let el,No,qr,jr,tl;const Ke={};let wn,Oo,Rl,Wr;const Bf=Tl(_f,N1,{leading:!1});let il,nl;function Rf(){ln?Bi==null||Bi():O?ni():nn==null||nn()}const Nf=pn?Bo:Jt?Xi:Ki;function Of(Z){i.$$.not_equal(Ke.prevButton,Z)&&(Ke.prevButton=Z,t(23,Ke))}function Df(Z){i.$$.not_equal(Ke.replayButton,Z)&&(Ke.replayButton=Z,t(23,Ke))}function zf(Z){i.$$.not_equal(Ke.playButton,Z)&&(Ke.playButton=Z,t(23,Ke))}function Ff(Z){i.$$.not_equal(Ke.nextButton,Z)&&(Ke.nextButton=Z,t(23,Ke))}function Hf(Z){i.$$.not_equal(Ke.playPrevChapterButton,Z)&&(Ke.playPrevChapterButton=Z,t(23,Ke))}function Uf(Z){i.$$.not_equal(Ke.seekToInteractiveButton,Z)&&(Ke.seekToInteractiveButton=Z,t(23,Ke))}function qf(Z){i.$$.not_equal(Ke.interactiveGraphButton,Z)&&(Ke.interactiveGraphButton=Z,t(23,Ke))}function jf(Z){i.$$.not_equal(Ke.liveButton,Z)&&(Ke.liveButton=Z,t(23,Ke))}function Wf(Z){i.$$.not_equal(Ke.time,Z)&&(Ke.time=Z,t(23,Ke))}function Zf(Z){i.$$.not_equal(Ke.episodes,Z)&&(Ke.episodes=Z,t(23,Ke))}function Kf(){tl=this.clientWidth,t(22,tl)}function Gf(Z){i.$$.not_equal(Ke.vkLogo,Z)&&(Ke.vkLogo=Z,t(23,Ke))}function Yf(Z){i.$$.not_equal(Ke.volume,Z)&&(Ke.volume=Z,t(23,Ke))}function Xf(Z){i.$$.not_equal(Ke.subtitles,Z)&&(Ke.subtitles=Z,t(23,Ke))}function Qf(Z){il=Z,t(24,il)}function Jf(Z){nl=Z,t(25,nl)}function xf(Z){i.$$.not_equal(Ke.settings,Z)&&(Ke.settings=Z,t(23,Ke))}function $f(Z){i.$$.not_equal(Ke.context,Z)&&(Ke.context=Z,t(23,Ke))}function e0(Z){i.$$.not_equal(Ke.fullscreen,Z)&&(Ke.fullscreen=Z,t(23,Ke))}function t0(Z){i.$$.not_equal(Ke.chromecast,Z)&&(Ke.chromecast=Z,t(23,Ke))}function i0(Z){ke[Z?"unshift":"push"](()=>{Re=Z,t(45,Re)})}function n0(Z){ke[Z?"unshift":"push"](()=>{Xt=Z,t(0,Xt)})}return i.$$set=Z=>{"bottomHidden"in Z&&t(1,qi=Z.bottomHidden),"bottomNoSmooth"in Z&&t(2,ii=Z.bottomNoSmooth),"showControls"in Z&&t(3,ji=Z.showControls),"controlsElementRef"in Z&&t(0,Xt=Z.controlsElementRef),"isAds"in Z&&t(4,Ht=Z.isAds),"canRewindLive"in Z&&t(5,Qt=Z.canRewindLive),"logoClickable"in Z&&t(6,Ai=Z.logoClickable),"logoHidden"in Z&&t(126,At=Z.logoHidden),"videoLogoUrl"in Z&&t(7,gi=Z.videoLogoUrl),"showNextPrevButtons"in Z&&t(127,Li=Z.showNextPrevButtons),"nextButtonActive"in Z&&t(8,Wi=Z.nextButtonActive),"prevButtonActive"in Z&&t(9,bi=Z.prevButtonActive),"isOneVideoPlaylist"in Z&&t(128,Jt=Z.isOneVideoPlaylist),"supportLink"in Z&&t(10,Zi=Z.supportLink),"customFullscreenSupported"in Z&&t(129,_i=Z.customFullscreenSupported),"playNextVideo"in Z&&t(11,Ii=Z.playNextVideo),"playPrevVideo"in Z&&t(12,Ne=Z.playPrevVideo),"repeatPlaylist"in Z&&t(130,Ki=Z.repeatPlaylist),"toggleFullscreen"in Z&&t(13,Gi=Z.toggleFullscreen),"returnFocus"in Z&&t(14,wi=Z.returnFocus),"seekToInteractive"in Z&&t(15,Fi=Z.seekToInteractive),"toggleGraph"in Z&&t(16,Mi=Z.toggleGraph),"playPrevChapter"in Z&&t(17,di=Z.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[5]&4096&&t(135,n=it.has(ut.EPISODE_BUTTON)),i.$$.dirty[5]&4096&&t(76,o=it.has(ut.GRAPH_BUTTON)),i.$$.dirty[5]&4096&&t(75,r=it.has(ut.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[5]&4096&&t(74,l=it.has(ut.PLAY_BUTTON)),i.$$.dirty[5]&4096&&t(73,s=it.has(ut.REPLAY_BUTTON)),i.$$.dirty[5]&4096&&t(72,a=it.has(ut.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[0]&16|i.$$.dirty[5]&2050&&t(33,fo=Ht?ht===li.PLAYING:Dt===$t.PLAYING),i.$$.dirty[5]&1024&&t(18,Xn=Kt.value!=="off"),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(34,mo=ci&&!Ht||pn),i.$$.dirty[0]&16|i.$$.dirty[5]&512&&t(35,j=!ci||pn||Ht),i.$$.dirty[4]&16384&&t(131,dt=yn(le,Lt.M)),i.$$.dirty[0]&272|i.$$.dirty[4]&16392&&t(36,un=Li&&yn(le,Lt.M)&&!Ht&&Wi),i.$$.dirty[0]&528|i.$$.dirty[4]&16392&&t(37,cn=Li&&yn(le,Lt.M)&&!Ht&&bi),i.$$.dirty[0]&268435456|i.$$.dirty[4]&16384|i.$$.dirty[5]&48&&t(38,En=Zt!==Ln.NOT_AVAILABLE&&!(Ti&&hi===Bn.DocumentPictureInPicture)&&yn(le,Lt.M)&&!pn),i.$$.dirty[4]&16384|i.$$.dirty[5]&256&&t(39,qn=vi.length>0&&yn(le,Lt.M)),i.$$.dirty[5]&192&&t(40,Ro=ti||zt),i.$$.dirty[4]&16384&&t(41,xo=yn(le,Lt.S)),i.$$.dirty[4]&4&&t(42,$o=!At),i.$$.dirty[4]&16420|i.$$.dirty[5]&48&&t(43,_t=xt.features.fullscreen&&(At||yn(le,Lt.S))&&!(Ti&&hi===Bn.DocumentPictureInPicture)&&(pn?_i:!0)),i.$$.dirty[0]&16|i.$$.dirty[1]&2&&t(19,I=(!Pi||Ht)&&!(xt.features.interactiveHideTime&&pn)),i.$$.dirty[4]&8192&&t(44,ee=D.width>100),i.$$.dirty[0]&16|i.$$.dirty[1]&2|i.$$.dirty[4]&2176&&t(20,ge=!Ht&&!Pi&&!!(an!=null&&an.length)&&dt&&!n),i.$$.dirty[1]&1|i.$$.dirty[5]&8&&t(21,Ze=!Di||Tt),i.$$.dirty[5]&2&&t(46,rt=Dt===$t.PLAYING?K("tooltip_pause"):K("tooltip_play")),i.$$.dirty[0]&1073741824&&t(47,Ct=K(ui?"tooltip_interactive_graph_on":"tooltip_interactive_graph_off")),i.$$.dirty[5]&4&&t(48,vt=K(Oi?"aria_label_context_menu_close":"aria_label_context_menu_open")),i.$$.dirty[0]&2097152|i.$$.dirty[5]&2&&po(Ze,Dt),i.$$.dirty[0]&262144&&t(51,No=K(Xn?"tooltip_subtitles_on":"tooltip_subtitles_off")),i.$$.dirty[0]&536870912&&t(52,qr=K(pi?"tooltip_fullscreen_on":"tooltip_fullscreen_off")),i.$$.dirty[0]&268435456&&t(53,jr=Zt===Ln.CONNECTED?K("tooltip_chromecast_on"):K("tooltip_chromecast_off")),i.$$.dirty[0]&134217728|i.$$.dirty[4]&2147450880|i.$$.dirty[5]&1&&t(132,wn={prevButton:Ot?Ot.right-Ot.left:0,replayButton:si?si.right-si.left:0,playButton:yt?yt.right-yt.left:0,nextButton:pt?pt.right-pt.left:0,playPrevChapterButton:tt?tt.right-tt.left:0,seekToInteractiveButton:Mt?Mt.right-Mt.left:0,interactiveGraphButton:ct?ct.right-ct.left:0,liveButton:st?st.right-st.left:0,time:Ie?Ie.right-Ie.left:0,episodes:$e?$e.right-$e.left:0,vkLogo:X?X.right-X.left:0,volume:Ce?Ce.right-Ce.left:0,subtitles:A?A.right-A.left:0,settings:Se?Se.right-Se.left:0,context:De?De.right-De.left:0,fullscreen:ue?ue.right-ue.left:0,chromecast:se?se.right-se.left:0,additionalButtons:L.length?L.reduce(Z=>[...Z,40],[]):[]}),i.$$.dirty[4]&768&&(!Oo||Oo<wn.time)&&t(133,Oo=wn.time),i.$$.dirty[0]&5767168|i.$$.dirty[4]&17152){let Z=0;ge&&(yn(le,Lt.XL)?Z=wn.time:Z=Y0);const Nl=wn.prevButton+wn.playButton+wn.nextButton+wn.seekToInteractiveButton+wn.interactiveGraphButton+wn.liveButton+Oo+Z;t(134,Rl=I&&tl>=Nl)}i.$$.dirty[4]&17408&&t(54,Wr=Rl&&yn(le,Lt.M)),i.$$.dirty[0]&8388616|i.$$.dirty[4]&8192&&Bf(Vo(),sn,Ke,ji),i.$$.dirty[0]&100663296&&Mr(nl,S,dn),i.$$.dirty[0]&83886080|i.$$.dirty[4]&4096&&Vr(il,S,$)},t(50,el=xt.logoType===Lo.VK_VIDEO?K("tooltip_vk_video_logo"):K("tooltip_vk_logo")),ai(t(71,{prevButton:c,replayButton:f,playButton:m,nextButton:h,playPrevChapterButton:b,seekToInteractiveButton:v,interactiveGraphButton:y,liveButton:_,time:C,episodes:k,vkLogo:w,volume:N,subtitles:Q,settings:M,context:G,fullscreen:re,chromecast:ie}=sn,c,Ji(t(70,f)),Hi(t(69,m)),He(t(68,h)),wt(t(67,b)),Et(t(66,v)),Nt(t(65,y)),jt(t(64,_)),mt(t(63,C)),We(t(62,k)),Be(t(61,w)),oe(t(60,N)),Me(t(59,Q)),Te(t(58,M)),Ae(t(57,G)),ce(t(56,re)),ve(t(55,ie)))),[Xt,qi,ii,ji,Ht,Qt,Ai,gi,Wi,bi,Zi,Ii,Ne,Gi,wi,Fi,Mi,di,Xn,I,ge,Ze,tl,Ke,il,nl,S,L,Zt,pi,ui,Di,Pi,fo,mo,j,un,cn,En,qn,Ro,xo,$o,_t,ee,Re,rt,Ct,vt,Ci,el,No,qr,jr,Wr,ie,re,G,M,Q,N,w,k,C,_,y,v,b,h,m,f,c,a,s,l,r,o,O,Ft,fi,zi,Ei,Gt,Yt,xt,Xi,Vi,fn,Ri,yi,on,xi,$i,ki,te,et,Vt,Qi,ft,rn,dn,an,_n,x,at,en,J,mn,gn,eo,to,io,no,oo,lo,ro,pn,Yn,Hn,so,Un,ao,uo,co,Rf,Nf,At,Li,Jt,_i,Ki,dt,wn,Oo,Rl,n,$,D,le,se,ue,De,Se,A,Ce,X,$e,Ie,st,ct,Mt,tt,pt,yt,si,Ot,Dt,Oi,Tt,hi,Ti,zt,ti,vi,ci,Kt,ht,it,Of,Df,zf,Ff,Hf,Uf,qf,jf,Wf,Zf,Kf,Gf,Yf,Xf,Qf,Jf,xf,$f,e0,t0,i0,n0]}class Ug extends ye{constructor(e){super(),we(this,e,Hg,Fg,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:126,videoLogoUrl:7,showNextPrevButtons:127,nextButtonActive:8,prevButtonActive:9,isOneVideoPlaylist:128,supportLink:10,customFullscreenSupported:129,playNextVideo:11,playPrevVideo:12,repeatPlaylist:130,toggleFullscreen:13,returnFocus:14,seekToInteractive:15,toggleGraph:16,playPrevChapter:17},vg,[-1,-1,-1,-1,-1,-1,-1])}}function qg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","M0 0h24v24H0z"),u(o,"fill","#fff"),u(o,"d","M8.695 8.105 5.301 4.71a1 1 0 0 1 1.414-1.415L20.7 17.285a1 1 0 0 1-1.414 1.415L16 15.41V20a1 1 0 0 1-1 1c-.641 0-1.258-.25-1.72-.695L7.79 15H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h2.765l.93-.895Zm2.88-2.77 1.704-1.642A2.481 2.481 0 0 1 15 3a1 1 0 0 1 1 1v5.76l-4.426-4.426Z"),u(t,"fill","none"),u(t,"fill-rule","evenodd"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"width","24"),u(e,"height","24"),u(e,"aria-hidden","true"),u(e,"data-testid","muted-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class jg extends ye{constructor(e){super(),we(this,e,null,qg,_e,{})}}function Wg(i){Ue(i,"v-6gmlbk",".container.v-6gmlbk{display:flex;align-items:center}.expanded.v-6gmlbk{background-color:rgba(0, 0, 0, 0.56);border-radius:6px}.text.v-6gmlbk{font-size:15px;margin-left:8px}")}function $a(i){let e;return{c(){e=T("span"),e.textContent=`${K("mobile_unmute")}`,u(e,"class","text v-6gmlbk")},m(t,n){E(t,e,n)},p:W,d(t){t&&P(e)}}}function Zg(i){let e,t,n,o;var r=i[4];function l(a){return{}}r&&(t=In(r,l()));let s=i[1]&&$a();return{c(){e=T("div"),t&&q(t.$$.fragment),n=R(),s&&s.c(),u(e,"class","container v-6gmlbk"),u(e,"aria-hidden","true"),V(e,"expanded",i[1])},m(a,c){E(a,e,c),t&&F(t,e,null),p(e,n),s&&s.m(e,null),o=!0},p(a,c){if(c&16&&r!==(r=a[4])){if(t){pe();const f=t;g(f.$$.fragment,1,0,()=>{H(f,1)}),he()}r?(t=In(r,l()),q(t.$$.fragment),d(t.$$.fragment,1),F(t,e,n)):t=null}a[1]?s?s.p(a,c):(s=$a(),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||c&2)&&V(e,"expanded",a[1])},i(a){o||(t&&d(t.$$.fragment,a),o=!0)},o(a){t&&g(t.$$.fragment,a),o=!1},d(a){a&&P(e),t&&H(t),s&&s.d()}}}function Kg(i){let e,t,n;function o(l){i[6](l)}let r={testId:i[1]?"btn-mobile-unmuted":"btn-mobile-muted",click:i[2],ariaLabel:i[3],$$slots:{default:[Zg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&2&&(a.testId=l[1]?"btn-mobile-unmuted":"btn-mobile-muted"),s&4&&(a.click=l[2]),s&8&&(a.ariaLabel=l[3]),s&146&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function Gg(i,e,t){let{muted:n=!1}=e,{expanded:o=!1}=e,{click:r=Ye}=e,{ref:l=void 0}=e,s,a;function c(f){l=f,t(0,l)}return i.$$set=f=>{"muted"in f&&t(5,n=f.muted),"expanded"in f&&t(1,o=f.expanded),"click"in f&&t(2,r=f.click),"ref"in f&&t(0,l=f.ref)},i.$$.update=()=>{i.$$.dirty&32&&t(3,s=K(n?"tooltip_volume":"tooltip_volume_muted")),i.$$.dirty&2&&t(4,a=o?Vl:jg)},[l,o,r,s,a,n,c]}class wf extends ye{constructor(e){super(),we(this,e,Gg,Kg,_e,{muted:5,expanded:1,click:2,ref:0},Wg)}}function Yg(i){let e,t,n,o;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),u(t,"fill",i[1]),u(t,"clip-rule","evenodd"),u(t,"d","M7.662 4h6.676c.808 0 1.469 0 2.006.044.556.045 1.058.142 1.526.381a3.9 3.9 0 0 1 1.705 1.704c.239.47.336.971.381 1.527C20 8.193 20 8.854 20 9.662V11.1a.9.9 0 0 1-1.8 0V9.7c0-.855 0-1.442-.038-1.897-.036-.445-.103-.684-.19-.856a2.1 2.1 0 0 0-.919-.918c-.172-.088-.411-.155-.856-.191C15.742 5.8 15.155 5.8 14.3 5.8H7.7c-.855 0-1.442 0-1.897.038-.445.036-.684.103-.856.19a2.1 2.1 0 0 0-.918.919c-.088.172-.155.411-.191.856C3.8 8.258 3.8 8.845 3.8 9.7v2.646c0 .855 0 1.442.038 1.897.036.445.103.683.19.856a2.1 2.1 0 0 0 .919.918c.172.088.411.155.856.191.455.037 1.042.038 1.897.038h2.4a.9.9 0 0 1 0 1.8H7.662c-.808 0-1.469 0-2.006-.044-.556-.045-1.058-.142-1.527-.381a3.9 3.9 0 0 1-1.704-1.704c-.239-.47-.336-.972-.381-1.527C2 13.852 2 13.192 2 12.384V9.662c0-.808 0-1.469.044-2.006.045-.556.142-1.058.381-1.527A3.9 3.9 0 0 1 4.13 4.425c.47-.239.971-.336 1.527-.381C6.193 4 6.854 4 7.662 4ZM13 16.8c0-.98 0-1.47.19-1.845a1.75 1.75 0 0 1 .766-.764C14.33 14 14.82 14 15.8 14h3.4c.98 0 1.47 0 1.845.19.329.168.596.436.764.766.191.374.191.864.191 1.844v.4c0 .98 0 1.47-.19 1.845a1.75 1.75 0 0 1-.765.764C20.67 20 20.18 20 19.2 20h-3.4c-.98 0-1.47 0-1.845-.19a1.75 1.75 0 0 1-.764-.765C13 18.67 13 18.18 13 17.2v-.4Z"),u(n,"fill",i[1]),u(n,"d","m11.643 12.37-.007-.006L9.073 9.8H10.1a.9.9 0 1 0 0-1.8H6.9a.9.9 0 0 0-.9.9v3.2a.9.9 0 0 0 1.8 0v-1.022l2.53 2.524.134.134a.9.9 0 0 0 1.272-1.272l-.093-.094Z"),V(n,"hidden",!i[0]),u(o,"fill",i[1]),u(o,"d","M6.357 9.63a.865.865 0 0 0 .007.006L8.927 12.2H7.9a.9.9 0 1 0 0 1.8h3.2a.9.9 0 0 0 .9-.9V9.9a.9.9 0 0 0-1.8 0v1.022L7.67 8.397l-.134-.133a.9.9 0 0 0-1.272 1.272l.093.094Z"),V(o,"hidden",i[0]),u(e,"width","24"),u(e,"height","24"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(r,l){E(r,e,l),p(e,t),p(e,n),p(e,o)},p(r,[l]){l&2&&u(t,"fill",r[1]),l&2&&u(n,"fill",r[1]),l&1&&V(n,"hidden",!r[0]),l&2&&u(o,"fill",r[1]),l&1&&V(o,"hidden",r[0])},i:W,o:W,d(r){r&&P(e)}}}function Xg(i,e,t){let n,{isActive:o=!1}=e;return i.$$set=r=>{"isActive"in r&&t(0,o=r.isActive)},i.$$.update=()=>{i.$$.dirty&1&&t(1,n=o?"#2688EB":"#fff")},[o,n]}class Qg extends ye{constructor(e){super(),we(this,e,Xg,Yg,_e,{isActive:0})}}function Jg(i){let e,t;return e=new Qg({props:{isActive:i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isActive=n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function xg(i){let e,t,n;function o(l){i[3](l)}let r={testId:"btn-pip",ariaLabel:K("menu_pip"),click:i[2],$$slots:{default:[Jg]},$$scope:{ctx:i}};return i[0]!==void 0&&(r.ref=i[0]),e=new Si({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,[s]){const a={};s&4&&(a.click=l[2]),s&18&&(a.$$scope={dirty:s,ctx:l}),!t&&s&1&&(t=!0,a.ref=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function $g(i,e,t){let{ref:n=void 0}=e,{isPictureInPictureActive:o=!1}=e,{click:r=Ye}=e;function l(s){n=s,t(0,n)}return i.$$set=s=>{"ref"in s&&t(0,n=s.ref),"isPictureInPictureActive"in s&&t(1,o=s.isPictureInPictureActive),"click"in s&&t(2,r=s.click)},[n,o,r,l]}class eb extends ye{constructor(e){super(),we(this,e,$g,xg,_e,{ref:0,isPictureInPictureActive:1,click:2})}}function tb(i){Ue(i,"v-1tcstu3",".wrapper-bottom.v-1tcstu3.v-1tcstu3{pointer-events:none;position:absolute;width:100%;bottom:0;left:0;height:var(--controls-gradient-height);background:var(--controls-gradient);transition:transform var(--controls-transition-duration) var(--controls-transition-fn);display:flex;flex-direction:column;justify-content:flex-end;box-sizing:border-box;padding:0 4px 8px}.wrapper-bottom.v-1tcstu3>.v-1tcstu3{pointer-events:auto}.wrapper-bottom.ads-timeline-mobile.v-1tcstu3.v-1tcstu3{height:9px;padding:0 4px 4px}.wrapper-middle.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center}.wrapper-top-right.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;right:8px;transition:opacity var(--controls-transition-duration);display:flex}.wrapper-top-left.v-1tcstu3.v-1tcstu3{position:absolute;top:4px;left:8px}.wrapper-middle-left.v-1tcstu3.v-1tcstu3,.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3,.wrapper-middle-right.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;transform:translateY(-50%);height:44px;width:44px;border-radius:12px;background-color:rgba(0, 0, 0, 0.56);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;justify-content:center}.wrapper-middle-left.v-1tcstu3.v-1tcstu3{left:12px}.wrapper-middle-left-second.v-1tcstu3.v-1tcstu3{left:64px}.wrapper-middle-right.v-1tcstu3.v-1tcstu3{right:12px}.controls.v-1tcstu3.v-1tcstu3{width:100%;display:flex;align-items:center;height:var(--controls-height);white-space:nowrap;font-size:13px;transition:transform var(--controls-transition-duration) var(--controls-transition-fn);will-change:transform;padding:0 4px;box-sizing:border-box}.controls.v-1tcstu3 > *:not(:first-child){margin-left:8px}.hidden.v-1tcstu3.v-1tcstu3{visibility:hidden;opacity:0}.controls-hidden.v-1tcstu3.v-1tcstu3{visibility:visible;transform:translateY(100%)}.wrapper-bottom.no-smooth.v-1tcstu3.v-1tcstu3{transition:none}.settings-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity var(--controls-transition-duration);display:flex;align-items:center;max-width:320px;width:90%}.overlay-mobile.v-1tcstu3.v-1tcstu3{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);pointer-events:none;transition:opacity var(--controls-transition-duration)}@media screen and (orientation: portrait){.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:16px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;bottom:30px;width:calc(100% - 8px)}}@media screen and (orientation: landscape){.wrapper-top-left.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;left:44px}.wrapper-top-right.fullscreen.v-1tcstu3.v-1tcstu3{top:12px;right:44px}.wrapper-middle-left.fullscreen.v-1tcstu3.v-1tcstu3{left:44px}.wrapper-middle-left-second.fullscreen.v-1tcstu3.v-1tcstu3{left:96px}.wrapper-middle-right.fullscreen.v-1tcstu3.v-1tcstu3{right:44px}.controls-wrapper.fullscreen.v-1tcstu3.v-1tcstu3{position:absolute;left:36px;right:36px;bottom:32px;width:calc(100% - 72px)}}")}function eu(i,e,t){const n=i.slice();return n[153]=e[t].iconUrl,n[154]=e[t].ariaLabel,n[155]=e[t].testId,n[156]=e[t].onClick,n[157]=e[t].tooltip,n}function tu(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k=(!i[51]||i[53])&&iu(i),w=ei(i[56]),N=[];for(let L=0;L<w.length;L+=1)N[L]=nu(eu(i,w,L));const Q=L=>g(N[L],1,1,()=>{N[L]=null});let M=i[36]&&ou(i),G=i[37]&&lu(i),re=i[57]&&ru(i),ie=i[39]&&su(i),O=i[8]&&au(i),$=i[34]&&uu(i),S=i[33]&&cu(i),D=i[8]&&fu(i),le=i[95]&&!i[29]&&du(i);return{c(){e=T("div"),t=R(),n=T("div"),k&&k.c(),o=R(),r=T("div");for(let L=0;L<N.length;L+=1)N[L].c();l=R(),M&&M.c(),s=R(),G&&G.c(),a=R(),re&&re.c(),c=R(),ie&&ie.c(),f=R(),m=T("div"),O&&O.c(),h=R(),$&&$.c(),b=R(),S&&S.c(),v=R(),D&&D.c(),y=R(),le&&le.c(),_=bt(),u(e,"class","overlay-mobile v-1tcstu3"),V(e,"hidden",!i[42]),u(n,"class","wrapper-top-left v-1tcstu3"),V(n,"hidden",!i[3]),V(n,"fullscreen",i[52]),u(r,"class","wrapper-top-right v-1tcstu3"),V(r,"hidden",!i[3]&&!i[27]),V(r,"fullscreen",i[52]),u(m,"class","wrapper-middle v-1tcstu3"),V(m,"hidden",!i[3]||i[29])},m(L,se){E(L,e,se),E(L,t,se),E(L,n,se),k&&k.m(n,null),E(L,o,se),E(L,r,se);for(let me=0;me<N.length;me+=1)N[me]&&N[me].m(r,null);p(r,l),M&&M.m(r,null),p(r,s),G&&G.m(r,null),p(r,a),re&&re.m(r,null),p(r,c),ie&&ie.m(r,null),E(L,f,se),E(L,m,se),O&&O.m(m,null),p(m,h),$&&$.m(m,null),p(m,b),S&&S.m(m,null),p(m,v),D&&D.m(m,null),E(L,y,se),le&&le.m(L,se),E(L,_,se),C=!0},p(L,se){if((!C||se[1]&2048)&&V(e,"hidden",!L[42]),!L[51]||L[53]?k?(k.p(L,se),se[1]&5242880&&d(k,1)):(k=iu(L),k.c(),d(k,1),k.m(n,null)):k&&(pe(),g(k,1,1,()=>{k=null}),he()),(!C||se[0]&8)&&V(n,"hidden",!L[3]),(!C||se[1]&2097152)&&V(n,"fullscreen",L[52]),se[1]&33554432){w=ei(L[56]);let me;for(me=0;me<w.length;me+=1){const ve=eu(L,w,me);N[me]?(N[me].p(ve,se),d(N[me],1)):(N[me]=nu(ve),N[me].c(),d(N[me],1),N[me].m(r,l))}for(pe(),me=w.length;me<N.length;me+=1)Q(me);he()}L[36]?M?(M.p(L,se),se[1]&32&&d(M,1)):(M=ou(L),M.c(),d(M,1),M.m(r,s)):M&&(pe(),g(M,1,1,()=>{M=null}),he()),L[37]?G?(G.p(L,se),se[1]&64&&d(G,1)):(G=lu(L),G.c(),d(G,1),G.m(r,a)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),L[57]?re?(re.p(L,se),se[1]&67108864&&d(re,1)):(re=ru(L),re.c(),d(re,1),re.m(r,c)):re&&(pe(),g(re,1,1,()=>{re=null}),he()),L[39]?ie?(ie.p(L,se),se[1]&256&&d(ie,1)):(ie=su(L),ie.c(),d(ie,1),ie.m(r,null)):ie&&(pe(),g(ie,1,1,()=>{ie=null}),he()),(!C||se[0]&134217736)&&V(r,"hidden",!L[3]&&!L[27]),(!C||se[1]&2097152)&&V(r,"fullscreen",L[52]),L[8]?O?(O.p(L,se),se[0]&256&&d(O,1)):(O=au(L),O.c(),d(O,1),O.m(m,h)):O&&(pe(),g(O,1,1,()=>{O=null}),he()),L[34]?$?($.p(L,se),se[1]&8&&d($,1)):($=uu(L),$.c(),d($,1),$.m(m,b)):$&&(pe(),g($,1,1,()=>{$=null}),he()),L[33]?S?(S.p(L,se),se[1]&4&&d(S,1)):(S=cu(L),S.c(),d(S,1),S.m(m,v)):S&&(pe(),g(S,1,1,()=>{S=null}),he()),L[8]?D?(D.p(L,se),se[0]&256&&d(D,1)):(D=fu(L),D.c(),d(D,1),D.m(m,null)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),(!C||se[0]&536870920)&&V(m,"hidden",!L[3]||L[29]),L[95]&&!L[29]?le?(le.p(L,se),se[0]&536870912&&d(le,1)):(le=du(L),le.c(),d(le,1),le.m(_.parentNode,_)):le&&(pe(),g(le,1,1,()=>{le=null}),he())},i(L){if(!C){d(k);for(let se=0;se<w.length;se+=1)d(N[se]);d(M),d(G),d(re),d(ie),d(O),d($),d(S),d(D),d(le),C=!0}},o(L){g(k),N=N.filter(Boolean);for(let se=0;se<N.length;se+=1)g(N[se]);g(M),g(G),g(re),g(ie),g(O),g($),g(S),g(D),g(le),C=!1},d(L){L&&(P(e),P(t),P(n),P(o),P(r),P(f),P(m),P(y),P(_)),k&&k.d(),Tn(N,L),M&&M.d(),G&&G.d(),re&&re.d(),ie&&ie.d(),O&&O.d(),$&&$.d(),S&&S.d(),D&&D.d(),le&&le.d(L)}}}function iu(i){let e,t,n;function o(l){i[119](l)}let r={muted:i[54],expanded:i[51]&&!i[70]&&i[55],click:i[102]};return i[20].volume!==void 0&&(r.ref=i[20].volume),e=new wf({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&8388608&&(a.muted=l[54]),s[1]&17825792&&(a.expanded=l[51]&&!l[70]&&l[55]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].volume,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function nu(i){var n;let e,t;return e=new pf({props:{iconUrl:i[153],ariaLabel:(n=i[154])!=null?n:i[157],testId:i[155],onClick:i[156]}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[1]&33554432&&(l.iconUrl=o[153]),r[1]&33554432&&(l.ariaLabel=(s=o[154])!=null?s:o[157]),r[1]&33554432&&(l.testId=o[155]),r[1]&33554432&&(l.onClick=o[156]),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function ou(i){let e,t,n;function o(l){i[120](l)}let r={isMobile:!0,click:i[100],state:i[28]};return i[20].chromecast!==void 0&&(r.ref=i[20].chromecast),e=new of({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&268435456&&(a.state=l[28]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].chromecast,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function lu(i){let e,t,n;function o(l){i[121](l)}let r={click:i[101],isPictureInPictureActive:i[26]};return i[20].pip!==void 0&&(r.ref=i[20].pip),e=new eb({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&67108864&&(a.isPictureInPictureActive=l[26]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].pip,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ru(i){let e,t,n;function o(l){i[122](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Nr({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function su(i){let e,t,n;function o(l){i[123](l)}let r={click:i[64],logoClickable:i[6],videoLogoUrl:i[7]};return i[20].vkLogo!==void 0&&(r.ref=i[20].vkLogo),e=new nf({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&64&&(a.logoClickable=l[6]),s[0]&128&&(a.videoLogoUrl=l[7]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].vkLogo,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function au(i){let e,t,n;function o(l){i[124](l)}let r={click:i[13],type:"prev",disabled:!i[10],isMobile:!0};return i[20].prevButton!==void 0&&(r.ref=i[20].prevButton),e=new Bl({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&8192&&(a.click=l[13]),s[0]&1024&&(a.disabled=!l[10]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].prevButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function uu(i){let e,t,n;function o(l){i[125](l)}let r={disabled:i[48],click:i[63],isMobile:!0,isPlaying:i[31]};return i[20].playButton!==void 0&&(r.ref=i[20].playButton),e=new zr({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&131072&&(a.disabled=l[48]),s[1]&1&&(a.isPlaying=l[31]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].playButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cu(i){let e,t,n;function o(l){i[126](l)}let r={disabled:i[47],click:i[103],isMobile:!0};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new Fr({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function fu(i){let e,t,n;function o(l){i[127](l)}let r={click:i[12],type:"next",disabled:!i[9],isMobile:!0};return i[20].nextButton!==void 0&&(r.ref=i[20].nextButton),e=new Bl({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4096&&(a.click=l[12]),s[0]&512&&(a.disabled=!l[9]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].nextButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function du(i){let e,t,n,o,r=i[98]&&ib(i),l=i[96]&&nb(i),s=i[97]&&ob(i);return{c(){r&&r.c(),e=R(),l&&l.c(),t=R(),s&&s.c(),n=bt()},m(a,c){r&&r.m(a,c),E(a,e,c),l&&l.m(a,c),E(a,t,c),s&&s.m(a,c),E(a,n,c),o=!0},p(a,c){a[98]&&r.p(a,c),a[96]&&l.p(a,c),a[97]&&s.p(a,c)},i(a){o||(d(r),d(l),d(s),o=!0)},o(a){g(r),g(l),g(s),o=!1},d(a){a&&(P(e),P(t),P(n)),r&&r.d(a),l&&l.d(a),s&&s.d(a)}}}function ib(i){let e,t,n;return t=new mf({props:{hidden:!i[3],disabled:i[46],click:i[18]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle-left v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&8&&(l.hidden=!o[3]),r[1]&32768&&(l.disabled=o[46]),r[0]&262144&&(l.click=o[18]),t.$set(l),(!n||r[1]&2097152)&&V(e,"fullscreen",o[52]),(!n||r[0]&8)&&V(e,"hidden",!o[3])},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function nb(i){let e,t,n,o;function r(s){i[128](s)}let l={hidden:!i[3]&&!i[58],disabled:i[50],click:i[17],graphIsOpened:i[58]};return i[20].interactiveGraphButton!==void 0&&(l.ref=i[20].interactiveGraphButton),t=new ff({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class",A0(i[98]?"wrapper-middle-left-second":"wrapper-middle-left")+" v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3]&&!i[58])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8|a[1]&134217728&&(c.hidden=!s[3]&&!s[58]),a[1]&524288&&(c.disabled=s[50]),a[0]&131072&&(c.click=s[17]),a[1]&134217728&&(c.graphIsOpened=s[58]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].interactiveGraphButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8|a[1]&134217728)&&V(e,"hidden",!s[3]&&!s[58])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function ob(i){let e,t,n,o;function r(s){i[129](s)}let l={hidden:!i[3],disabled:i[49],click:i[16]};return i[20].seekToInteractiveButton!==void 0&&(l.ref=i[20].seekToInteractiveButton),t=new cf({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle-right v-1tcstu3"),V(e,"fullscreen",i[52]),V(e,"hidden",!i[3])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&8&&(c.hidden=!s[3]),a[1]&262144&&(c.disabled=s[49]),a[0]&65536&&(c.click=s[16]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].seekToInteractiveButton,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52]),(!o||a[0]&8)&&V(e,"hidden",!s[3])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function mu(i){let e,t,n,o,r,l=i[53]&&pu(i),s=i[32]&&hu(i);return o=new sf({props:{position:i[59],duration:i[60]}}),{c(){l&&l.c(),e=R(),s&&s.c(),t=R(),n=T("div"),q(o.$$.fragment),u(n,"class","wrapper-bottom ads-timeline-mobile v-1tcstu3"),V(n,"fullscreen",i[52])},m(a,c){l&&l.m(a,c),E(a,e,c),s&&s.m(a,c),E(a,t,c),E(a,n,c),F(o,n,null),r=!0},p(a,c){a[53]?l?(l.p(a,c),c[1]&4194304&&d(l,1)):(l=pu(a),l.c(),d(l,1),l.m(e.parentNode,e)):l&&(pe(),g(l,1,1,()=>{l=null}),he()),a[32]?s?(s.p(a,c),c[1]&2&&d(s,1)):(s=hu(a),s.c(),d(s,1),s.m(t.parentNode,t)):s&&(pe(),g(s,1,1,()=>{s=null}),he());const f={};c[1]&268435456&&(f.position=a[59]),c[1]&536870912&&(f.duration=a[60]),o.$set(f),(!r||c[1]&2097152)&&V(n,"fullscreen",a[52])},i(a){r||(d(l),d(s),d(o.$$.fragment,a),r=!0)},o(a){g(l),g(s),g(o.$$.fragment,a),r=!1},d(a){a&&(P(e),P(t),P(n)),l&&l.d(a),s&&s.d(a),H(o)}}}function pu(i){let e,t,n,o;function r(s){i[130](s)}let l={muted:i[54],expanded:!1,click:i[102]};return i[20].volume!==void 0&&(l.ref=i[20].volume),t=new wf({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-top-right v-1tcstu3"),V(e,"fullscreen",i[52])},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&8388608&&(c.muted=s[54]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].volume,qe(()=>n=!1)),t.$set(c),(!o||a[1]&2097152)&&V(e,"fullscreen",s[52])},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function hu(i){let e,t,n,o;function r(s){i[131](s)}let l={disabled:i[48],click:i[63],isMobile:!0,isPlaying:!i[32]};return i[20].playButton!==void 0&&(l.ref=i[20].playButton),t=new zr({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","wrapper-middle v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[1]&131072&&(c.disabled=s[48]),a[1]&2&&(c.isPlaying=!s[32]),!n&&a[0]&1048576&&(n=!0,c.ref=s[20].playButton,qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function lb(i){let e,t,n;function o(l){i[132](l)}let r={disabled:i[47],$$slots:{default:[rb]},$$scope:{ctx:i}};return i[20].replayButton!==void 0&&(r.ref=i[20].replayButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&65536&&(a.disabled=l[47]),s[1]&65536|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].replayButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function rb(i){let e,t;return e=new Fr({props:{disabled:i[47],click:i[94]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&65536&&(r.disabled=n[47]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function vu(i){let e,t,n;function o(l){i[133](l)}let r={$$slots:{default:[sb]},$$scope:{ctx:i}};return i[20].liveButton!==void 0&&(r.ref=i[20].liveButton),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&524288|s[1]&16384|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].liveButton,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function sb(i){let e,t;return e=new lf({props:{isActiveLive:i[19],isMobile:!0,ariaLabel:i[45]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&524288&&(r.isActiveLive=n[19]),o[1]&16384&&(r.ariaLabel=n[45]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function gu(i){let e,t,n;function o(l){i[134](l)}let r={showDuration:i[35],position:i[4]?i[59]:i[61],duration:i[4]?i[60]:i[62],isMobile:!0};return i[20].time!==void 0&&(r.ref=i[20].time),e=new Jc({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[1]&16&&(a.showDuration=l[35]),s[0]&16|s[1]&1342177280&&(a.position=l[4]?l[59]:l[61]),s[0]&16|s[1]&536870912|s[2]&1&&(a.duration=l[4]?l[60]:l[62]),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].time,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function bu(i){let e,t,n,o;return n=new uf({props:{position:i[61],duration:i[62],timeCodes:i[84]}}),{c(){e=T("div"),e.textContent="\xB7",t=R(),q(n.$$.fragment),u(e,"aria-hidden","true")},m(r,l){E(r,e,l),E(r,t,l),F(n,r,l),o=!0},p(r,l){const s={};l[1]&1073741824&&(s.position=r[61]),l[2]&1&&(s.duration=r[62]),n.$set(s)},i(r){o||(d(n.$$.fragment,r),o=!0)},o(r){g(n.$$.fragment,r),o=!1},d(r){r&&(P(e),P(t)),H(n,r)}}}function ab(i){let e,t,n=i[43]&&bu(i);return{c(){n&&n.c(),e=bt()},m(o,r){n&&n.m(o,r),E(o,e,r),t=!0},p(o,r){o[43]?n?(n.p(o,r),r[1]&4096&&d(n,1)):(n=bu(o),n.c(),d(n,1),n.m(e.parentNode,e)):n&&(pe(),g(n,1,1,()=>{n=null}),he())},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d(o)}}}function _u(i){let e,t,n;function o(l){i[137](l)}let r={$$slots:{default:[ub]},$$scope:{ctx:i}};return i[20].settings!==void 0&&(r.ref=i[20].settings),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&4194304|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].settings,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function ub(i){let e,t,n;function o(l){i[136](l)}let r={};return i[22]!==void 0&&(r.ref=i[22]),e=new Nr({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};!t&&s[0]&4194304&&(t=!0,a.ref=l[22],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function wu(i){let e,t,n;function o(l){i[138](l)}let r={$$slots:{default:[cb]},$$scope:{ctx:i}};return i[20].fullscreen!==void 0&&(r.ref=i[20].fullscreen),e=new qt({props:r}),ke.push(()=>je(e,"ref",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&16384|s[1]&2097152|s[5]&32&&(a.$$scope={dirty:s,ctx:l}),!t&&s[0]&1048576&&(t=!0,a.ref=l[20].fullscreen,qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function cb(i){let e,t;return e=new ef({props:{click:i[14],isFullscreen:i[52]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&16384&&(r.click=n[14]),o[1]&2097152&&(r.isFullscreen=n[52]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function yu(i){let e,t,n,o;function r(s){i[141](s)}let l={supportLink:i[11],returnFocus:i[15]};return i[21]!==void 0&&(l.ref=i[21]),t=new Qc({props:l}),ke.push(()=>je(t,"ref",r)),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","settings-mobile v-1tcstu3")},m(s,a){E(s,e,a),F(t,e,null),o=!0},p(s,a){const c={};a[0]&2048&&(c.supportLink=s[11]),a[0]&32768&&(c.returnFocus=s[15]),!n&&a[0]&2097152&&(n=!0,c.ref=s[21],qe(()=>n=!1)),t.$set(c)},i(s){o||(d(t.$$.fragment,s),o=!0)},o(s){g(t.$$.fragment,s),o=!1},d(s){s&&P(e),H(t)}}}function fb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k=!i[4]&&tu(i),w=i[4]&&i[30]!==li.INACTIVE&&mu(i),N=i[95]&&lb(i),Q=!i[4]&&i[25]&&vu(i),M=i[41]&&gu(i);function G(S){i[135](S)}let re={className:"w-max",disabled:!i[43],$$slots:{default:[ab]},$$scope:{ctx:i}};i[20].episodes!==void 0&&(re.ref=i[20].episodes),c=new qt({props:re}),ke.push(()=>je(c,"ref",G));let ie=i[38]&&_u(i),O=i[40]&&wu(i);v=new af({props:{isAds:i[4],canRewindLive:i[5],isRewindableLive:i[24]}});let $=i[23]&&yu(i);return{c(){k&&k.c(),e=R(),w&&w.c(),t=R(),n=T("div"),o=T("div"),r=T("div"),N&&N.c(),l=R(),Q&&Q.c(),s=R(),M&&M.c(),a=R(),q(c.$$.fragment),m=R(),ie&&ie.c(),h=R(),O&&O.c(),b=R(),q(v.$$.fragment),y=R(),$&&$.c(),_=bt(),u(r,"class","controls v-1tcstu3"),V(r,"mobile",!0),u(o,"class","controls-wrapper v-1tcstu3"),V(o,"fullscreen",i[52]),u(n,"class","wrapper-bottom v-1tcstu3"),V(n,"hidden",i[1]),V(n,"controls-hidden",!i[3]),V(n,"no-smooth",i[2]),V(n,"mobile",!0)},m(S,D){k&&k.m(S,D),E(S,e,D),w&&w.m(S,D),E(S,t,D),E(S,n,D),p(n,o),p(o,r),N&&N.m(r,null),p(r,l),Q&&Q.m(r,null),p(r,s),M&&M.m(r,null),p(r,a),F(c,r,null),p(r,m),ie&&ie.m(r,null),p(r,h),O&&O.m(r,null),i[139](r),p(o,b),F(v,o,null),i[140](n),E(S,y,D),$&&$.m(S,D),E(S,_,D),C=!0},p(S,D){S[4]?k&&(pe(),g(k,1,1,()=>{k=null}),he()):k?(k.p(S,D),D[0]&16&&d(k,1)):(k=tu(S),k.c(),d(k,1),k.m(e.parentNode,e)),S[4]&&S[30]!==li.INACTIVE?w?(w.p(S,D),D[0]&1073741840&&d(w,1)):(w=mu(S),w.c(),d(w,1),w.m(t.parentNode,t)):w&&(pe(),g(w,1,1,()=>{w=null}),he()),S[95]&&N.p(S,D),!S[4]&&S[25]?Q?(Q.p(S,D),D[0]&33554448&&d(Q,1)):(Q=vu(S),Q.c(),d(Q,1),Q.m(r,s)):Q&&(pe(),g(Q,1,1,()=>{Q=null}),he()),S[41]?M?(M.p(S,D),D[1]&1024&&d(M,1)):(M=gu(S),M.c(),d(M,1),M.m(r,a)):M&&(pe(),g(M,1,1,()=>{M=null}),he());const le={};D[1]&4096&&(le.disabled=!S[43]),D[1]&1073745920|D[2]&1|D[5]&32&&(le.$$scope={dirty:D,ctx:S}),!f&&D[0]&1048576&&(f=!0,le.ref=S[20].episodes,qe(()=>f=!1)),c.$set(le),S[38]?ie?(ie.p(S,D),D[1]&128&&d(ie,1)):(ie=_u(S),ie.c(),d(ie,1),ie.m(r,h)):ie&&(pe(),g(ie,1,1,()=>{ie=null}),he()),S[40]?O?(O.p(S,D),D[1]&512&&d(O,1)):(O=wu(S),O.c(),d(O,1),O.m(r,null)):O&&(pe(),g(O,1,1,()=>{O=null}),he());const L={};D[0]&16&&(L.isAds=S[4]),D[0]&32&&(L.canRewindLive=S[5]),D[0]&16777216&&(L.isRewindableLive=S[24]),v.$set(L),(!C||D[1]&2097152)&&V(o,"fullscreen",S[52]),(!C||D[0]&2)&&V(n,"hidden",S[1]),(!C||D[0]&8)&&V(n,"controls-hidden",!S[3]),(!C||D[0]&4)&&V(n,"no-smooth",S[2]),S[23]?$?($.p(S,D),D[0]&8388608&&d($,1)):($=yu(S),$.c(),d($,1),$.m(_.parentNode,_)):$&&(pe(),g($,1,1,()=>{$=null}),he())},i(S){C||(d(k),d(w),d(N),d(Q),d(M),d(c.$$.fragment,S),d(ie),d(O),d(v.$$.fragment,S),d($),C=!0)},o(S){g(k),g(w),g(N),g(Q),g(M),g(c.$$.fragment,S),g(ie),g(O),g(v.$$.fragment,S),g($),C=!1},d(S){S&&(P(e),P(t),P(n),P(y),P(_)),k&&k.d(S),w&&w.d(S),N&&N.d(),Q&&Q.d(),M&&M.d(),H(c),ie&&ie.d(),O&&O.d(),i[139](null),H(v),i[140](null),$&&$.d(S)}}}function db(i,e,t){var at,en;let n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me,ve,ue,Y,{bottomHidden:ce}=e,{bottomNoSmooth:De}=e,{showControls:fe}=e,{controlsElementRef:Ae=void 0}=e,{isAds:Se=!1}=e,{canRewindLive:ae}=e,{logoClickable:Te}=e,{logoHidden:A}=e,{videoLogoUrl:ne}=e,{showNextPrevButtons:Me}=e,{nextButtonActive:Ce}=e,{prevButtonActive:Pe}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:X}=e,{customFullscreenSupported:U=!0}=e,{playNextVideo:Be}=e,{playPrevVideo:$e}=e,{repeatPlaylist:lt}=e,{toggleFullscreen:We}=e,{returnFocus:Ie}=e,{seekToInteractive:Je}=e,{toggleGraph:mt}=e,{playPrevChapter:st}=e;const Le=St(),jt=vn(),ct=Le.actions.internal.toggleMuted,It=Le.actions.internal.togglePlay,Nt=Le.actions.internal.pause,Mt=(at=Le.callbacks)==null?void 0:at.onAudioDoesNotExistHint,de=(en=Le.callbacks)==null?void 0:en.onAudioDisabledHint,Et=Le.playerPhase;z(i,Et,J=>t(116,Q=J));const tt=Le.state.duration$;z(i,tt,J=>t(62,Y=J));const Pt=Le.state.positionWithScrubbing$;z(i,Pt,J=>t(61,ue=J));const wt=Le.state.playbackState$;z(i,wt,J=>t(112,m=J));const pt=Le.state.isAudioAvailable$;z(i,pt,J=>t(51,h=J));const Xe=Le.state.isAudioDisabled,He=Le.state.isEnded$;z(i,He,J=>t(117,G=J));const yt=Le.state.isLive$;z(i,yt,J=>t(25,_=J));const Ni=Le.state.muted$;z(i,Ni,J=>t(54,S=J));const Hi=Le.state.isActiveLive$;z(i,Hi,J=>t(114,v=J));const si=Le.state.isRewindableLive$;z(i,si,J=>t(24,y=J));const Ui=Le.ui.scrubbingInProgress;z(i,Ui,J=>t(29,M=J));const Ji=Le.ui.mobileNotReportControlHidden$;z(i,Ji,J=>t(27,w=J));const Ot=Le.ui.isPictureInPictureActive$;z(i,Ot,J=>t(26,k=J));const Wt=Le.ui.pictureInPictureType$;z(i,Wt,J=>t(115,C=J));const ai=Le.ui.mobileUnmuteButtonExpanded;z(i,ai,J=>t(55,D=J));const Zt=Le.ui.mobileUnmuteButtonVisible;z(i,Zt,J=>t(53,$=J));const pi=Le.ui.settingsMenuVisible;z(i,pi,J=>t(23,f=J));const Dt=Le.ui.settingsMenuOpenedByKeyboard;z(i,Dt,J=>t(111,c=J));const Oi=Le.ui.controls,ui=Le.actions.internal.getVideoEpisodes(),Tt=Le.webApi.pictureInPictureApi,Di=Le.state.chromecastState$;z(i,Di,J=>t(28,N=J));const Pi=Le.state.crashed$;z(i,Pi,J=>t(57,L=J));const hi=Oi.disabledControls$;z(i,hi,J=>t(118,ie=J));const Ti=Le.ads.duration;z(i,Ti,J=>t(60,ve=J));const zt=Le.ads.position;z(i,zt,J=>t(59,me=J));const ti=Le.ads.playbackState;z(i,ti,J=>t(30,re=J));const vi=Le.ui.isFullscreen;z(i,vi,J=>t(52,O=J));const ci=Le.ui.playerSize;z(i,ci,J=>t(113,b=J));const Kt=Le.ui.additionalButtons$;z(i,Kt,J=>t(56,le=J));const ht=Le.actions.internal.getVideoElement,it=Le.actions.internal.replayInteractive,Ft=Le.state.isInteractive,fi=Le.state.isInteractiveGraphEnabled,zi=Le.state.isSeekToInteractiveEnable,Ei=Le.state.isPlayPrevChapterEnabled,Gt=Le.state.graphIsOpened$;z(i,Gt,J=>t(58,se=J));let Yt,qi,ii,ji,Xt,Ht,Qt,Ai,At,gi,Li,Wi,bi,Jt,Zi,_i,Ii;const Ne={},Ki=Tl(_f,N1,{leading:!1}),Gi=()=>Le.actions.internal.toggleChromecast();function wi(){Xe?de==null||de():h?ct():Mt==null||Mt()}async function Fi(){Tt!=null&&Tt.isActive()?await(Tt==null?void 0:Tt.remove()):await(Tt==null?void 0:Tt.request())}function Mi(){!Xe&&h&&Zt.set(!1),wi()}const di=oe?It:lt;let Fe="";const Yi=(J,mn)=>{if(!J){t(45,Fe=K("tooltip_live"));return}mn===$t.PAUSED&&t(45,Fe=K("tooltip_play"))};let xt,ni;function Xi(J){i.$$.not_equal(Ne.volume,J)&&(Ne.volume=J,t(20,Ne))}function Vi(J){i.$$.not_equal(Ne.chromecast,J)&&(Ne.chromecast=J,t(20,Ne))}function fn(J){i.$$.not_equal(Ne.pip,J)&&(Ne.pip=J,t(20,Ne))}function nn(J){ni=J,t(22,ni)}function Bi(J){i.$$.not_equal(Ne.vkLogo,J)&&(Ne.vkLogo=J,t(20,Ne))}function Ri(J){i.$$.not_equal(Ne.prevButton,J)&&(Ne.prevButton=J,t(20,Ne))}function yi(J){i.$$.not_equal(Ne.playButton,J)&&(Ne.playButton=J,t(20,Ne))}function on(J){i.$$.not_equal(Ne.replayButton,J)&&(Ne.replayButton=J,t(20,Ne))}function xi(J){i.$$.not_equal(Ne.nextButton,J)&&(Ne.nextButton=J,t(20,Ne))}function $i(J){i.$$.not_equal(Ne.interactiveGraphButton,J)&&(Ne.interactiveGraphButton=J,t(20,Ne))}function ln(J){i.$$.not_equal(Ne.seekToInteractiveButton,J)&&(Ne.seekToInteractiveButton=J,t(20,Ne))}function ki(J){i.$$.not_equal(Ne.volume,J)&&(Ne.volume=J,t(20,Ne))}function te(J){i.$$.not_equal(Ne.playButton,J)&&(Ne.playButton=J,t(20,Ne))}function et(J){i.$$.not_equal(Ne.replayButton,J)&&(Ne.replayButton=J,t(20,Ne))}function Vt(J){i.$$.not_equal(Ne.liveButton,J)&&(Ne.liveButton=J,t(20,Ne))}function Qi(J){i.$$.not_equal(Ne.time,J)&&(Ne.time=J,t(20,Ne))}function ft(J){i.$$.not_equal(Ne.episodes,J)&&(Ne.episodes=J,t(20,Ne))}function rn(J){ni=J,t(22,ni)}function dn(J){i.$$.not_equal(Ne.settings,J)&&(Ne.settings=J,t(20,Ne))}function sn(J){i.$$.not_equal(Ne.fullscreen,J)&&(Ne.fullscreen=J,t(20,Ne))}function an(J){ke[J?"unshift":"push"](()=>{_i=J,t(44,_i)})}function _n(J){ke[J?"unshift":"push"](()=>{Ae=J,t(0,Ae)})}function x(J){xt=J,t(21,xt)}return i.$$set=J=>{"bottomHidden"in J&&t(1,ce=J.bottomHidden),"bottomNoSmooth"in J&&t(2,De=J.bottomNoSmooth),"showControls"in J&&t(3,fe=J.showControls),"controlsElementRef"in J&&t(0,Ae=J.controlsElementRef),"isAds"in J&&t(4,Se=J.isAds),"canRewindLive"in J&&t(5,ae=J.canRewindLive),"logoClickable"in J&&t(6,Te=J.logoClickable),"logoHidden"in J&&t(104,A=J.logoHidden),"videoLogoUrl"in J&&t(7,ne=J.videoLogoUrl),"showNextPrevButtons"in J&&t(8,Me=J.showNextPrevButtons),"nextButtonActive"in J&&t(9,Ce=J.nextButtonActive),"prevButtonActive"in J&&t(10,Pe=J.prevButtonActive),"isOneVideoPlaylist"in J&&t(105,oe=J.isOneVideoPlaylist),"supportLink"in J&&t(11,X=J.supportLink),"customFullscreenSupported"in J&&t(106,U=J.customFullscreenSupported),"playNextVideo"in J&&t(12,Be=J.playNextVideo),"playPrevVideo"in J&&t(13,$e=J.playPrevVideo),"repeatPlaylist"in J&&t(107,lt=J.repeatPlaylist),"toggleFullscreen"in J&&t(14,We=J.toggleFullscreen),"returnFocus"in J&&t(15,Ie=J.returnFocus),"seekToInteractive"in J&&t(16,Je=J.seekToInteractive),"toggleGraph"in J&&t(17,mt=J.toggleGraph),"playPrevChapter"in J&&t(18,st=J.playPrevChapter)},i.$$.update=()=>{if(i.$$.dirty[3]&33554432&&t(110,n=ie.has(ut.EPISODE_BUTTON)),i.$$.dirty[3]&33554432&&t(50,o=ie.has(ut.GRAPH_BUTTON)),i.$$.dirty[3]&33554432&&t(49,r=ie.has(ut.SEEK_TO_INTERACTIVE_BUTTON)),i.$$.dirty[3]&33554432&&t(48,l=ie.has(ut.PLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(47,s=ie.has(ut.REPLAY_BUTTON)),i.$$.dirty[3]&33554432&&t(46,a=ie.has(ut.PLAY_PREV_CHAPTER_BUTTON)),i.$$.dirty[3]&524288&&t(31,Yt=m===$t.PLAYING),i.$$.dirty[0]&1073741824&&t(32,qi=re===li.PAUSED),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(33,ii=G&&!Se&&!Ft),i.$$.dirty[0]&16|i.$$.dirty[3]&16777216&&t(34,ji=!G||Se),i.$$.dirty[3]&1048576&&t(108,Xt=b.width>300),i.$$.dirty[3]&1048576&&t(35,Ht=b.width>400),i.$$.dirty[0]&536870912&&t(109,Qt=M),i.$$.dirty[0]&469762048|i.$$.dirty[3]&4194304&&t(36,Ai=N!==Ln.NOT_AVAILABLE&&!(k&&C===Bn.DocumentPictureInPicture)&&!w&&!Ft),i.$$.dirty[0]&402653184|i.$$.dirty[3]&12648448){const J=Q===Oe.WaitingLive;t(37,At=!!Tt&&N!==Ln.CONNECTED&&!w&&(C===Bn.DocumentPictureInPicture&&J||!J)&&!Qt&&!Ft)}i.$$.dirty[3]&65536&&t(38,gi=!Qt),i.$$.dirty[3]&1050624&&t(39,Li=!A&&b.width>350),i.$$.dirty[0]&67108864|i.$$.dirty[3]&4268032&&t(40,Wi=jt.features.fullscreen&&!(k&&C===Bn.DocumentPictureInPicture)&&(Ft?U:!0)&&!Qt),i.$$.dirty[0]&33554448|i.$$.dirty[3]&1114112&&t(41,bi=(!_||Se)&&b.width>260&&!Qt&&!(jt.features.interactiveHideTime&&Ft)),i.$$.dirty[0]&8388616&&t(42,Jt=f||fe),i.$$.dirty[0]&33554448|i.$$.dirty[3]&229376&&t(43,Zi=!Se&&!_&&!!(ui!=null&&ui.length)&&Xt&&!n&&!Qt),i.$$.dirty[0]&16777216|i.$$.dirty[3]&2097152&&t(19,Ii=!y||v),i.$$.dirty[0]&1048584|i.$$.dirty[3]&1048576&&Ki(ht(),Oi,Ne,fe),i.$$.dirty[0]&524288|i.$$.dirty[3]&524288&&Yi(Ii,m),i.$$.dirty[0]&12582912&&Mr(ni,f,Dt),i.$$.dirty[0]&10485760|i.$$.dirty[3]&262144&&Vr(xt,f,c)},[Ae,ce,De,fe,Se,ae,Te,ne,Me,Ce,Pe,X,Be,$e,We,Ie,Je,mt,st,Ii,Ne,xt,ni,f,y,_,k,w,N,M,re,Yt,qi,ii,ji,Ht,Ai,At,gi,Li,Wi,bi,Jt,Zi,_i,Fe,a,s,l,r,o,h,O,$,S,D,le,L,se,me,ve,ue,Y,It,Nt,Et,tt,Pt,wt,pt,Xe,He,yt,Ni,Hi,si,Ui,Ji,Ot,Wt,ai,Zt,pi,Dt,ui,Di,Pi,hi,Ti,zt,ti,vi,ci,Kt,it,Ft,fi,zi,Ei,Gt,Gi,Fi,Mi,di,A,oe,U,lt,Xt,Qt,n,c,m,b,v,C,Q,G,ie,Xi,Vi,fn,nn,Bi,Ri,yi,on,xi,$i,ln,ki,te,et,Vt,Qi,ft,rn,dn,sn,an,_n,x]}class mb extends ye{constructor(e){super(),we(this,e,db,fb,_e,{bottomHidden:1,bottomNoSmooth:2,showControls:3,controlsElementRef:0,isAds:4,canRewindLive:5,logoClickable:6,logoHidden:104,videoLogoUrl:7,showNextPrevButtons:8,nextButtonActive:9,prevButtonActive:10,isOneVideoPlaylist:105,supportLink:11,customFullscreenSupported:106,playNextVideo:12,playPrevVideo:13,repeatPlaylist:107,toggleFullscreen:14,returnFocus:15,seekToInteractive:16,toggleGraph:17,playPrevChapter:18},tb,[-1,-1,-1,-1,-1,-1])}}function pb(i){let e,t,n;function o(l){i[26](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new Ug({props:r}),ke.push(()=>je(e,"controlsElementRef",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function hb(i){let e,t,n;function o(l){i[25](l)}let r={bottomHidden:i[1],bottomNoSmooth:i[2],showControls:i[3],isAds:i[4],canRewindLive:i[5],logoClickable:i[6],logoHidden:i[7],videoLogoUrl:i[8],showNextPrevButtons:i[9],nextButtonActive:i[10],prevButtonActive:i[11],isOneVideoPlaylist:i[12],supportLink:i[13],customFullscreenSupported:i[14],playNextVideo:i[15],playPrevVideo:i[16],repeatPlaylist:i[17],toggleFullscreen:i[18],returnFocus:i[19],seekToInteractive:i[20],toggleGraph:i[21],playPrevChapter:i[22]};return i[0]!==void 0&&(r.controlsElementRef=i[0]),e=new mb({props:r}),ke.push(()=>je(e,"controlsElementRef",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s&2&&(a.bottomHidden=l[1]),s&4&&(a.bottomNoSmooth=l[2]),s&8&&(a.showControls=l[3]),s&16&&(a.isAds=l[4]),s&32&&(a.canRewindLive=l[5]),s&64&&(a.logoClickable=l[6]),s&128&&(a.logoHidden=l[7]),s&256&&(a.videoLogoUrl=l[8]),s&512&&(a.showNextPrevButtons=l[9]),s&1024&&(a.nextButtonActive=l[10]),s&2048&&(a.prevButtonActive=l[11]),s&4096&&(a.isOneVideoPlaylist=l[12]),s&8192&&(a.supportLink=l[13]),s&16384&&(a.customFullscreenSupported=l[14]),s&32768&&(a.playNextVideo=l[15]),s&65536&&(a.playPrevVideo=l[16]),s&131072&&(a.repeatPlaylist=l[17]),s&262144&&(a.toggleFullscreen=l[18]),s&524288&&(a.returnFocus=l[19]),s&1048576&&(a.seekToInteractive=l[20]),s&2097152&&(a.toggleGraph=l[21]),s&4194304&&(a.playPrevChapter=l[22]),!t&&s&1&&(t=!0,a.controlsElementRef=l[0],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function vb(i){let e,t,n,o;const r=[hb,pb],l=[];function s(a,c){return a[23]?0:1}return e=s(i),t=l[e]=r[e](i),{c(){t.c(),n=bt()},m(a,c){l[e].m(a,c),E(a,n,c),o=!0},p(a,[c]){let f=e;e=s(a),e===f?l[e].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),t=l[e],t?t.p(a,c):(t=l[e]=r[e](a),t.c()),d(t,1),t.m(n.parentNode,n))},i(a){o||(d(t),o=!0)},o(a){g(t),o=!1},d(a){a&&P(n),l[e].d(a)}}}function gb(i,e,t){let n,{bottomHidden:o}=e,{bottomNoSmooth:r=!1}=e,{showControls:l}=e,{controlsElementRef:s=void 0}=e,{isAds:a=!1}=e,{canRewindLive:c}=e,{logoClickable:f}=e,{logoHidden:m}=e,{videoLogoUrl:h}=e,{showNextPrevButtons:b}=e,{nextButtonActive:v}=e,{prevButtonActive:y}=e,{isOneVideoPlaylist:_=!1}=e,{supportLink:C}=e,{customFullscreenSupported:k=!0}=e,{playNextVideo:w}=e,{playPrevVideo:N}=e,{repeatPlaylist:Q}=e,{toggleFullscreen:M}=e,{returnFocus:G=Ye}=e,{seekToInteractive:re}=e,{toggleGraph:ie}=e,{playPrevChapter:O}=e;const S=St().ui.isMobile;z(i,S,L=>t(23,n=L));function D(L){s=L,t(0,s)}function le(L){s=L,t(0,s)}return i.$$set=L=>{"bottomHidden"in L&&t(1,o=L.bottomHidden),"bottomNoSmooth"in L&&t(2,r=L.bottomNoSmooth),"showControls"in L&&t(3,l=L.showControls),"controlsElementRef"in L&&t(0,s=L.controlsElementRef),"isAds"in L&&t(4,a=L.isAds),"canRewindLive"in L&&t(5,c=L.canRewindLive),"logoClickable"in L&&t(6,f=L.logoClickable),"logoHidden"in L&&t(7,m=L.logoHidden),"videoLogoUrl"in L&&t(8,h=L.videoLogoUrl),"showNextPrevButtons"in L&&t(9,b=L.showNextPrevButtons),"nextButtonActive"in L&&t(10,v=L.nextButtonActive),"prevButtonActive"in L&&t(11,y=L.prevButtonActive),"isOneVideoPlaylist"in L&&t(12,_=L.isOneVideoPlaylist),"supportLink"in L&&t(13,C=L.supportLink),"customFullscreenSupported"in L&&t(14,k=L.customFullscreenSupported),"playNextVideo"in L&&t(15,w=L.playNextVideo),"playPrevVideo"in L&&t(16,N=L.playPrevVideo),"repeatPlaylist"in L&&t(17,Q=L.repeatPlaylist),"toggleFullscreen"in L&&t(18,M=L.toggleFullscreen),"returnFocus"in L&&t(19,G=L.returnFocus),"seekToInteractive"in L&&t(20,re=L.seekToInteractive),"toggleGraph"in L&&t(21,ie=L.toggleGraph),"playPrevChapter"in L&&t(22,O=L.playPrevChapter)},[s,o,r,l,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,n,S,D,le]}class yf extends ye{constructor(e){super(),we(this,e,gb,vb,_e,{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 bb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function _b(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M15.537 10.534a1.157 1.157 0 0 0 .003 1.96l7.658 4.823c.78.491 1.798-.065 1.798-.981v-3.3c7.265.512 13 6.568 13 13.964 0 7.732-6.268 14-14 14-5.98 0-11.088-3.75-13.093-9.032a1.5 1.5 0 0 0-2.805 1.064C10.531 39.441 16.73 44 23.996 44c9.39 0 17-7.611 17-17 0-9.053-7.076-16.453-16-16.971V6.664c0-.918-1.021-1.473-1.8-.98l-7.659 4.85Z"),u(n,"fill","#fff"),u(o,"d","M15.404 10.322a1.407 1.407 0 0 0 .003 2.384l7.657 4.823c.944.594 2.182-.076 2.182-1.193v-3.03c7.008.631 12.5 6.522 12.5 13.694 0 7.594-6.156 13.75-13.75 13.75-5.873 0-10.89-3.683-12.86-8.871a1.75 1.75 0 1 0-3.272 1.242c2.469 6.503 8.758 11.129 16.132 11.129 9.527 0 17.25-7.723 17.25-17.25 0-9.107-7.056-16.565-16-17.205V6.664c0-1.118-1.241-1.788-2.184-1.19l-7.658 4.848Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_100684"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_100684"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","2.5"),u(l,"y","0"),u(l,"width","43.996"),u(l,"height","49.5"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","51"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&V(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function wb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class yb extends ye{constructor(e){super(),we(this,e,wb,_b,_e,{reversed:0},bb)}}function kb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("clipPath"),s=B("path"),a=B("filter"),c=B("feFlood"),f=B("feColorMatrix"),m=B("feOffset"),h=B("feGaussianBlur"),b=B("feColorMatrix"),v=B("feBlend"),y=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M28.167 7h-8.334c-2.463 0-4.404 0-5.966.128-1.594.13-2.925.4-4.134 1.016a10.5 10.5 0 0 0-4.589 4.59c-.616 1.208-.886 2.54-1.016 4.133C4 18.429 4 20.37 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.594-.13 2.925-.4 4.134-1.016a10.5 10.5 0 0 0 4.589-4.59c.616-1.208.886-2.54 1.016-4.133.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Zm18.5 6a1.5 1.5 0 0 0 0 3h4a1.5 1.5 0 0 0 0-3h-4ZM22 22a1.5 1.5 0 0 1 1.5-1.5h11a1.5 1.5 0 0 1 0 3h-11A1.5 1.5 0 0 1 22 22Z"),u(n,"fill","#fff"),u(o,"d","M28.167 6.75h-8.344c-2.455 0-4.405 0-5.977.128-1.609.132-2.976.407-4.226 1.044a10.75 10.75 0 0 0-4.698 4.698c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.609-.132 2.976-.407 4.226-1.044a10.75 10.75 0 0 0 4.698-4.698c.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-.01ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm17 7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Zm-7-7.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(s,"fill","#fff"),u(s,"d","M0 0h48v48H0z"),u(l,"id","a"),u(c,"flood-opacity","0"),u(c,"result","BackgroundImageFix"),u(f,"in","SourceAlpha"),u(f,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(f,"result","hardAlpha"),u(h,"stdDeviation","2.5"),u(b,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(v,"in2","BackgroundImageFix"),u(v,"result","effect1_dropShadow_2260_104204"),u(y,"in","SourceGraphic"),u(y,"in2","effect1_dropShadow_2260_104204"),u(y,"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(_,C){E(_,e,C),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(r,a),p(a,c),p(a,f),p(a,m),p(a,h),p(a,b),p(a,v),p(a,y)},d(_){_&&P(e)}}}function Cb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("path"),l=B("defs"),s=B("clipPath"),a=B("path"),c=B("filter"),f=B("feFlood"),m=B("feColorMatrix"),h=B("feOffset"),b=B("feGaussianBlur"),v=B("feColorMatrix"),y=B("feBlend"),_=B("feBlend"),u(n,"fill-rule","evenodd"),u(n,"clip-rule","evenodd"),u(n,"d","M6.56 4.44a1.5 1.5 0 1 0-2.12 2.12l3.088 3.09a10.499 10.499 0 0 0-2.384 3.083c-.616 1.21-.886 2.54-1.016 4.134C4 18.429 4 20.369 4 22.833v2.334c0 2.463 0 4.404.128 5.966.13 1.594.4 2.925 1.016 4.134a10.5 10.5 0 0 0 4.59 4.589c1.208.616 2.54.886 4.133 1.016 1.562.128 3.502.128 5.966.128h8.334c2.463 0 4.404 0 5.966-.128 1.437-.117 2.66-.348 3.773-.844l3.533 3.533a1.5 1.5 0 0 0 2.122-2.122l-37-37ZM13.5 28a1.5 1.5 0 0 0 0 3h11a1.5 1.5 0 0 0 0-3h-11ZM12 22a1.5 1.5 0 0 1 1.5-1.5h4a1.5 1.5 0 0 1 0 3h-4A1.5 1.5 0 0 1 12 22Z"),u(n,"fill","#fff"),u(o,"d","M34.5 23.5h-4.639l12.552 12.551c.158-.254.306-.516.443-.784.616-1.21.886-2.54 1.016-4.134.128-1.562.128-3.502.128-5.966v-2.334c0-2.463 0-4.404-.128-5.966-.13-1.594-.4-2.925-1.016-4.134a10.5 10.5 0 0 0-4.59-4.589c-1.208-.616-2.54-.886-4.133-1.016C32.571 7 30.63 7 28.167 7h-8.334c-2.463 0-4.404 0-5.966.128l-.347.03L26.86 20.5H34.5a1.5 1.5 0 0 1 0 3Z"),u(o,"fill","#fff"),u(r,"d","M29.861 23.25h-.603l.427.427 12.55 12.551.223.223.167-.268c.162-.26.313-.528.453-.803.637-1.25.912-2.617 1.044-4.226.128-1.573.128-3.522.128-5.977V22.823c0-2.455 0-4.405-.128-5.977-.132-1.609-.407-2.976-1.044-4.226a10.75 10.75 0 0 0-4.698-4.698c-1.25-.637-2.617-.912-4.226-1.044-1.572-.128-3.522-.128-5.977-.128h-8.354c-2.455 0-4.405 0-5.977.128-.118.01-.235.02-.35.032l-.527.051.374.374 13.341 13.342.074.073H34.5a1.25 1.25 0 1 1 0 2.5h-4.639ZM6.737 4.263a1.75 1.75 0 0 0-2.474 2.474l2.903 2.904a10.75 10.75 0 0 0-2.244 2.979c-.637 1.25-.912 2.617-1.044 4.226-.128 1.572-.128 3.522-.128 5.977V25.177c0 2.455 0 4.405.128 5.977.132 1.609.407 2.976 1.044 4.226a10.75 10.75 0 0 0 4.698 4.698c1.25.637 2.617.912 4.226 1.044 1.572.128 3.522.128 5.977.128h8.354c2.455 0 4.404 0 5.977-.128 1.384-.114 2.59-.333 3.696-.797l3.413 3.412a1.75 1.75 0 1 0 2.474-2.474l-37-37ZM12.25 29.5c0-.69.56-1.25 1.25-1.25h11a1.25 1.25 0 1 1 0 2.5h-11c-.69 0-1.25-.56-1.25-1.25Zm0-7.5c0-.69.56-1.25 1.25-1.25h4a1.25 1.25 0 1 1 0 2.5h-4c-.69 0-1.25-.56-1.25-1.25Z"),u(r,"stroke","#000"),u(r,"stroke-opacity",".12"),u(r,"stroke-width",".5"),u(t,"filter","url(#b)"),u(t,"clip-path","url(#a)"),u(a,"fill","#fff"),u(a,"d","M0 0h48v48H0z"),u(s,"id","a"),u(f,"flood-opacity","0"),u(f,"result","BackgroundImageFix"),u(m,"in","SourceAlpha"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(m,"result","hardAlpha"),u(b,"stdDeviation","2.5"),u(v,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(y,"in2","BackgroundImageFix"),u(y,"result","effect1_dropShadow_2260_104293"),u(_,"in","SourceGraphic"),u(_,"in2","effect1_dropShadow_2260_104293"),u(_,"result","shape"),u(c,"id","b"),u(c,"x","-1.5"),u(c,"y","-1.5"),u(c,"width","51"),u(c,"height","51"),u(c,"filterUnits","userSpaceOnUse"),u(c,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg")},m(C,k){E(C,e,k),p(e,t),p(t,n),p(t,o),p(t,r),p(e,l),p(l,s),p(s,a),p(l,c),p(c,f),p(c,m),p(c,h),p(c,b),p(c,v),p(c,y),p(c,_)},d(C){C&&P(e)}}}function Sb(i){let e;function t(r,l){return r[0]?Cb:kb}let n=t(i),o=n(i);return{c(){o.c(),e=bt()},m(r,l){o.m(r,l),E(r,e,l)},p(r,[l]){n!==(n=t(r))&&(o.d(1),o=n(r),o&&(o.c(),o.m(e.parentNode,e)))},i:W,o:W,d(r){r&&P(e),o.d(r)}}}function Pb(i,e,t){let{isOff:n=!1}=e;return i.$$set=o=>{"isOff"in o&&t(0,n=o.isOff)},[n]}class kf extends ye{constructor(e){super(),we(this,e,Pb,Sb,_e,{isOff:0})}}function Tb(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Eb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M24 22.677v-5.87a1.2 1.2 0 0 0-1.792-1.045L9.51 22.955a1.2 1.2 0 0 0 0 2.088l12.697 7.192a1.2 1.2 0 0 0 1.791-1.044v-5.873l12.21 6.916A1.2 1.2 0 0 0 38 31.19V16.805a1.2 1.2 0 0 0-1.791-1.044l-12.21 6.916Z"),u(n,"fill","#fff"),u(o,"d","M24.25 16.806v5.442l11.835-6.704a1.45 1.45 0 0 1 2.165 1.261V31.19a1.45 1.45 0 0 1-2.165 1.262L24.25 25.747v5.444a1.45 1.45 0 0 1-2.164 1.262L9.388 25.26a1.45 1.45 0 0 1 0-2.523l12.697-7.192a1.45 1.45 0 0 1 2.164 1.261Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2260_106627"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2260_106627"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","3.402"),u(l,"y","10.105"),u(l,"width","40.098"),u(l,"height","27.785"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","rate-change-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&V(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function Ab(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Lb extends ye{constructor(e){super(),we(this,e,Ab,Eb,_e,{reversed:0},Tb)}}function Ib(i){Ue(i,"v-1ub874v",".reversed.v-1ub874v{transform:scaleX(-1)}")}function Mb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),r=B("defs"),l=B("filter"),s=B("feFlood"),a=B("feColorMatrix"),c=B("feOffset"),f=B("feGaussianBlur"),m=B("feColorMatrix"),h=B("feBlend"),b=B("feBlend"),u(n,"d","M14 21.817c.631-.505 1.627-1.054 3.084-1.857l13.009-7.172c2.268-1.25 3.402-1.875 4.332-1.778a2.908 2.908 0 0 1 2.026 1.134c.549.73.549 1.991.549 4.511v14.69c0 2.52 0 3.78-.549 4.51a2.909 2.909 0 0 1-2.026 1.135c-.93.097-2.064-.528-4.332-1.778L17.084 28.04c-1.457-.803-2.453-1.352-3.084-1.857V34.5a1.5 1.5 0 0 1-3 0v-21a1.5 1.5 0 0 1 3 0v8.317Z"),u(n,"fill","#fff"),u(o,"d","m16.964 19.74-.029.016c-1.162.641-2.046 1.129-2.685 1.567V13.5a1.75 1.75 0 1 0-3.5 0v21a1.75 1.75 0 1 0 3.5 0v-7.823c.639.438 1.523.926 2.685 1.567l.029.015 13.008 7.172.012.006c1.124.62 1.983 1.093 2.676 1.398.695.306 1.26.46 1.791.404a3.158 3.158 0 0 0 2.2-1.233c.317-.421.46-.976.53-1.711.069-.733.069-1.688.069-2.936V16.641c0-1.248 0-2.203-.07-2.936-.07-.735-.212-1.29-.529-1.711a3.158 3.158 0 0 0-2.2-1.233c-.53-.055-1.096.098-1.79.404-.694.305-1.553.778-2.677 1.398l-.012.006-13.008 7.172Z"),u(o,"stroke","#000"),u(o,"stroke-opacity",".12"),u(o,"stroke-width",".5"),u(t,"filter","url(#a)"),u(s,"flood-opacity","0"),u(s,"result","BackgroundImageFix"),u(a,"in","SourceAlpha"),u(a,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"),u(a,"result","hardAlpha"),u(f,"stdDeviation","2.5"),u(m,"values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"),u(h,"in2","BackgroundImageFix"),u(h,"result","effect1_dropShadow_2340_106922"),u(b,"in","SourceGraphic"),u(b,"in2","effect1_dropShadow_2340_106922"),u(b,"result","shape"),u(l,"id","a"),u(l,"x","5.5"),u(l,"y","5.5"),u(l,"width","37"),u(l,"height","37"),u(l,"filterUnits","userSpaceOnUse"),u(l,"color-interpolation-filters","sRGB"),u(e,"width","48"),u(e,"height","48"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","episodes-seek-icon"),u(e,"class","v-1ub874v"),V(e,"reversed",i[0])},m(v,y){E(v,e,y),p(e,t),p(t,n),p(t,o),p(e,r),p(r,l),p(l,s),p(l,a),p(l,c),p(l,f),p(l,m),p(l,h),p(l,b)},p(v,[y]){y&1&&V(e,"reversed",v[0])},i:W,o:W,d(v){v&&P(e)}}}function Vb(i,e,t){let{reversed:n=!1}=e;return i.$$set=o=>{"reversed"in o&&t(0,n=o.reversed)},[n]}class Bb extends ye{constructor(e){super(),we(this,e,Vb,Mb,_e,{reversed:0},Ib)}}function Rb(i){Ue(i,"v-4ftgwp",`.hot-key-helpers-container.v-4ftgwp.v-4ftgwp{position:absolute;top:calc(50% - 40px);left:calc(50% - 100px);width:200px;height:120px;display:flex;align-items:center;flex-direction:column;animation:v-4ftgwp-fadeIn ease var(--controls-transition-duration);padding-top:14px;box-sizing:border-box}.hot-key-helpers-container.v-4ftgwp>div.v-4ftgwp{width:48px;height:48px;display:flex;justify-content:center;align-items:center}.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-off-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="volume-max-icon"]{transform:scale(2)}.hot-key-helpers-container.v-4ftgwp svg[data-testid="replay-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="play-icon"],.hot-key-helpers-container.v-4ftgwp svg[data-testid="pause-icon"]{transform:scale(2.5)}.hot-key-helpers-container--left.v-4ftgwp.v-4ftgwp{left:calc(25% - 100px)}.hot-key-helpers-container--right.v-4ftgwp.v-4ftgwp{left:calc(75% - 100px)}.hot-key-helpers-text.v-4ftgwp.v-4ftgwp{text-align:center;font-feature-settings:'clig' off, 'liga' off;text-shadow:0px 0px 5px rgba(0, 0, 0, 0.16);font-size:15px;font-style:normal;font-weight:600;line-height:20px;letter-spacing:-0.105px;width:100%;max-height:40px;margin-top:4px;display:-webkit-box;text-overflow:ellipsis;white-space:pre-wrap;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.hidden.v-4ftgwp.v-4ftgwp{visibility:hidden;animation:v-4ftgwp-fadeOut ease var(--controls-transition-duration);width:0;height:0}@keyframes v-4ftgwp-fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes v-4ftgwp-fadeOut{0%{opacity:1}100%{opacity:0}}`)}function ku(i){let e,t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(i[4]),n,o,r,l,s,a,c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(i[4]),f,m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(i[4]),h,b,v,y,_,C=t&&Cu(i),k=i[4]===Ge.PAUSE&&Su(),w=i[4]===Ge.PLAY&&Pu(),N=i[4]===Ge.REPLAY&&Tu(),Q=i[4]===Ge.SUBTITLES_OFF&&Eu(),M=i[4]===Ge.SUBTITLES_ON&&Au(),G=c&&Lu(i),re=m&&Iu(i),ie=i[4]===Ge.MUTE&&Mu(),O=i[4]===Ge.VOLUME&&Vu(),$=i[5]&&Bu(i);return{c(){e=T("div"),C&&C.c(),n=R(),k&&k.c(),o=R(),w&&w.c(),r=R(),N&&N.c(),l=R(),Q&&Q.c(),s=R(),M&&M.c(),a=R(),G&&G.c(),f=R(),re&&re.c(),h=R(),ie&&ie.c(),b=R(),O&&O.c(),v=R(),$&&$.c(),y=bt(),u(e,"class","v-4ftgwp")},m(S,D){E(S,e,D),C&&C.m(e,null),p(e,n),k&&k.m(e,null),p(e,o),w&&w.m(e,null),p(e,r),N&&N.m(e,null),p(e,l),Q&&Q.m(e,null),p(e,s),M&&M.m(e,null),p(e,a),G&&G.m(e,null),p(e,f),re&&re.m(e,null),p(e,h),ie&&ie.m(e,null),p(e,b),O&&O.m(e,null),E(S,v,D),$&&$.m(S,D),E(S,y,D),_=!0},p(S,D){D&16&&(t=[Ge.BACKWARD_SEEK,Ge.FORWARD_SEEK].includes(S[4])),t?C?(C.p(S,D),D&16&&d(C,1)):(C=Cu(S),C.c(),d(C,1),C.m(e,n)):C&&(pe(),g(C,1,1,()=>{C=null}),he()),S[4]===Ge.PAUSE?k?D&16&&d(k,1):(k=Su(),k.c(),d(k,1),k.m(e,o)):k&&(pe(),g(k,1,1,()=>{k=null}),he()),S[4]===Ge.PLAY?w?D&16&&d(w,1):(w=Pu(),w.c(),d(w,1),w.m(e,r)):w&&(pe(),g(w,1,1,()=>{w=null}),he()),S[4]===Ge.REPLAY?N?D&16&&d(N,1):(N=Tu(),N.c(),d(N,1),N.m(e,l)):N&&(pe(),g(N,1,1,()=>{N=null}),he()),S[4]===Ge.SUBTITLES_OFF?Q?D&16&&d(Q,1):(Q=Eu(),Q.c(),d(Q,1),Q.m(e,s)):Q&&(pe(),g(Q,1,1,()=>{Q=null}),he()),S[4]===Ge.SUBTITLES_ON?M?D&16&&d(M,1):(M=Au(),M.c(),d(M,1),M.m(e,a)):M&&(pe(),g(M,1,1,()=>{M=null}),he()),D&16&&(c=[Ge.RATE_DOWN,Ge.RATE_UP].includes(S[4])),c?G?(G.p(S,D),D&16&&d(G,1)):(G=Lu(S),G.c(),d(G,1),G.m(e,f)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),D&16&&(m=[Ge.EPISODE_PREV,Ge.EPISODE_NEXT].includes(S[4])),m?re?(re.p(S,D),D&16&&d(re,1)):(re=Iu(S),re.c(),d(re,1),re.m(e,h)):re&&(pe(),g(re,1,1,()=>{re=null}),he()),S[4]===Ge.MUTE?ie?D&16&&d(ie,1):(ie=Mu(),ie.c(),d(ie,1),ie.m(e,b)):ie&&(pe(),g(ie,1,1,()=>{ie=null}),he()),S[4]===Ge.VOLUME?O?D&16&&d(O,1):(O=Vu(),O.c(),d(O,1),O.m(e,null)):O&&(pe(),g(O,1,1,()=>{O=null}),he()),S[5]?$?$.p(S,D):($=Bu(S),$.c(),$.m(y.parentNode,y)):$&&($.d(1),$=null)},i(S){_||(d(C),d(k),d(w),d(N),d(Q),d(M),d(G),d(re),d(ie),d(O),_=!0)},o(S){g(C),g(k),g(w),g(N),g(Q),g(M),g(G),g(re),g(ie),g(O),_=!1},d(S){S&&(P(e),P(v),P(y)),C&&C.d(),k&&k.d(),w&&w.d(),N&&N.d(),Q&&Q.d(),M&&M.d(),G&&G.d(),re&&re.d(),ie&&ie.d(),O&&O.d(),$&&$.d(S)}}}function Cu(i){let e,t;return e=new yb({props:{reversed:i[4]===Ge.FORWARD_SEEK}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.FORWARD_SEEK),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Su(i){let e,t;return e=new tf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Pu(i){let e,t;return e=new Dr({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Tu(i){let e,t;return e=new df({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Eu(i){let e,t;return e=new kf({props:{isOff:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Au(i){let e,t;return e=new kf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Lu(i){let e,t;return e=new Lb({props:{reversed:i[4]===Ge.RATE_UP}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.RATE_UP),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Iu(i){let e,t;return e=new Bb({props:{reversed:i[4]===Ge.EPISODE_NEXT}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&16&&(r.reversed=n[4]===Ge.EPISODE_NEXT),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Mu(i){let e,t;return e=new Vl({props:{volume:0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Vu(i){let e,t;return e=new Vl({props:{volume:1}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Bu(i){let e,t;return{c(){e=T("span"),t=ze(i[5]),u(e,"class","hot-key-helpers-text v-4ftgwp")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&32&&xe(t,n[5])},d(n){n&&P(e)}}}function Nb(i){let e,t,n=!i[1]&&i[4]&&ku(i);return{c(){e=T("div"),n&&n.c(),u(e,"class","hot-key-helpers-container v-4ftgwp"),V(e,"hidden",i[1]),V(e,"hot-key-helpers-container--left",i[2]),V(e,"hot-key-helpers-container--right",i[3])},m(o,r){E(o,e,r),n&&n.m(e,null),t=!0},p(o,[r]){!o[1]&&o[4]?n?(n.p(o,r),r&18&&d(n,1)):(n=ku(o),n.c(),d(n,1),n.m(e,null)):n&&(pe(),g(n,1,1,()=>{n=null}),he()),(!t||r&2)&&V(e,"hidden",o[1]),(!t||r&4)&&V(e,"hot-key-helpers-container--left",o[2]),(!t||r&8)&&V(e,"hot-key-helpers-container--right",o[3])},i(o){t||(d(n),t=!0)},o(o){g(n),t=!1},d(o){o&&P(e),n&&n.d()}}}function Ob(i,e,t){let n,o=W,r=()=>(o(),o=oi(l,h=>t(6,n=h)),l);i.$$.on_destroy.push(()=>o());let{data:l}=e;r();let s,a,c,f,m;return i.$$set=h=>{"data"in h&&r(t(0,l=h.data))},i.$$.update=()=>{i.$$.dirty&64&&(t(1,s=!n),t(2,a=(n==null?void 0:n.type)===Ge.BACKWARD_SEEK),t(3,c=(n==null?void 0:n.type)===Ge.FORWARD_SEEK),t(4,f=n==null?void 0:n.type),n!=null&&n.t?t(5,m=K(n.t.key,{value:n.t.value||""})):t(5,m=n==null?void 0:n.text))},[l,s,a,c,f,m,n]}class Db extends ye{constructor(e){super(),we(this,e,Ob,Nb,_e,{data:0},Rb)}}function zb(i){Ue(i,"v-1yzc86r",".immersive-controls.v-1yzc86r{position:absolute;display:flex;flex-direction:row;top:10px;left:10px;width:56px;height:56px;background-color:rgba(0, 0, 0, .56);border-radius:8px;transition-property:top, left;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn)}.immersive-controls.m-shifted.v-1yzc86r{top:50px;left:20px}.button-block.v-1yzc86r{width:40px;height:40px;margin:auto auto;transform:rotate(45deg)}.button-row.v-1yzc86r{display:flex;flex-direction:row;position:relative}.button.v-1yzc86r{width:20px;height:20px;text-align:center;cursor:pointer}.button.v-1yzc86r svg{opacity:0.7;transition:opacity linear 0.2s}.button.button-up.v-1yzc86r svg{transform:rotate(-45deg) translate(-1px, -1px)}.button.button-right.v-1yzc86r svg{transform:rotate(45deg) translate(1px, -1px)}.button.button-down.v-1yzc86r svg{transform:rotate(135deg) translate(1px, -3px)}.button.button-left.v-1yzc86r svg{transform:rotate(-135deg) translate(-1px, -3px)}.button.v-1yzc86r:hover svg{opacity:1}")}function Fb(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k;return r=new Wn({props:{direction:"up"}}),a=new Wn({props:{direction:"up"}}),h=new Wn({props:{direction:"up"}}),y=new Wn({props:{direction:"up"}}),{c(){e=T("div"),t=T("div"),n=T("div"),o=T("div"),q(r.$$.fragment),l=R(),s=T("div"),q(a.$$.fragment),c=R(),f=T("div"),m=T("div"),q(h.$$.fragment),b=R(),v=T("div"),q(y.$$.fragment),u(o,"class","button button-up v-1yzc86r"),u(s,"class","button button-right v-1yzc86r"),u(n,"class","button-row v-1yzc86r"),u(m,"class","button button-left v-1yzc86r"),u(v,"class","button button-down v-1yzc86r"),u(f,"class","button-row v-1yzc86r"),u(t,"class","button-block v-1yzc86r"),u(t,"aria-hidden","true"),u(e,"class","immersive-controls v-1yzc86r"),u(e,"tabindex","0"),u(e,"role","button"),u(e,"aria-label",K("aria_label_spherical_control")),V(e,"m-shifted",i[0])},m(w,N){E(w,e,N),p(e,t),p(t,n),p(n,o),F(r,o,null),p(n,l),p(n,s),F(a,s,null),p(t,c),p(t,f),p(f,m),F(h,m,null),p(f,b),p(f,v),F(y,v,null),_=!0,C||(k=[be(o,"mousedown",i[1]),be(o,"mouseup",i[5]),be(o,"mouseleave",i[5]),be(s,"mousedown",i[3]),be(s,"mouseup",i[5]),be(s,"mouseleave",i[5]),be(m,"mousedown",i[4]),be(m,"mouseup",i[5]),be(m,"mouseleave",i[5]),be(v,"mousedown",i[2]),be(v,"mouseup",i[5]),be(v,"mouseleave",i[5]),be(e,"keydown",i[6]),be(e,"keyup",i[7])],C=!0)},p(w,[N]){(!_||N&1)&&V(e,"m-shifted",w[0])},i(w){_||(d(r.$$.fragment,w),d(a.$$.fragment,w),d(h.$$.fragment,w),d(y.$$.fragment,w),_=!0)},o(w){g(r.$$.fragment,w),g(a.$$.fragment,w),g(h.$$.fragment,w),g(y.$$.fragment,w),_=!1},d(w){w&&P(e),H(r),H(a),H(h),H(y),C=!1,nt(k)}}}function Hb(i,e,t){let{isShifted:n=!1}=e;const o=St(),r=new Set([Ee.ArrowUp,Ee.ArrowDown,Ee.ArrowLeft,Ee.ArrowRight]),l=()=>{o.actions.internal.startCameraManualRotation(0,1)},s=()=>{o.actions.internal.startCameraManualRotation(0,-1)},a=()=>{o.actions.internal.startCameraManualRotation(1,0)},c=()=>{o.actions.internal.startCameraManualRotation(-1,0)},f=()=>(o.actions.internal.stopCameraManualRotation(),null),m=b=>{if(r.has(b.code))switch(b.preventDefault(),b.stopPropagation(),b.code){case Ee.ArrowUp:l();break;case Ee.ArrowDown:s();break;case Ee.ArrowLeft:c();break;case Ee.ArrowRight:a();break}},h=b=>{r.has(b.code)&&(b.preventDefault(),b.stopPropagation(),f())};return i.$$set=b=>{"isShifted"in b&&t(0,n=b.isShifted)},[n,l,s,a,c,f,m,h]}class Cf extends ye{constructor(e){super(),we(this,e,Hb,Fb,_e,{isShifted:0},zb)}}function Ub(i){Ue(i,"v-ovfyp5",".subtitles-container.v-ovfyp5.v-ovfyp5{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;transition:transform var(--controls-transition-duration)}.subtitles-container.shifted.v-ovfyp5.v-ovfyp5{transform:translateY(calc(var(--controls-height) * -1))}.subtitles-caption.v-ovfyp5.v-ovfyp5{position:absolute;left:4%;right:4%;bottom:4%;display:flex;justify-content:center}.subtitles-caption.mobile.v-ovfyp5.v-ovfyp5{bottom:8%}.subtitles-container.auto.v-ovfyp5 .subtitles-caption.v-ovfyp5{left:24%;right:24%}.caption.v-ovfyp5.v-ovfyp5{display:block;overflow-wrap:normal;padding:4px 8px;border-radius:4px;background:rgba(0, 0, 0, 0.4)}.subtitles-container.auto.v-ovfyp5 .caption.v-ovfyp5{width:100%}.caption-line.v-ovfyp5.v-ovfyp5{display:block;text-align:center}.subtitles-container.auto.v-ovfyp5 .caption-line.v-ovfyp5{text-align:left}.caption-segment.v-ovfyp5.v-ovfyp5{display:inline-block;line-height:1.2;font-size:13px;color:var(--white);white-space:pre-wrap}")}function Ru(i,e,t){const n=i.slice();return n[16]=e[t].value,n}function Nu(i,e,t){const n=i.slice();return n[16]=e[t].value,n[17]=e[t].timeAppeared,n}function Ou(i){let e,t;function n(l,s){return l[7]&&l[8]?Wb:l[5]?jb:qb}let o=n(i),r=o(i);return{c(){e=T("div"),t=T("span"),r.c(),u(t,"class","caption v-ovfyp5"),u(e,"class","subtitles-caption v-ovfyp5"),V(e,"mobile",i[3])},m(l,s){E(l,e,s),p(e,t),r.m(t,null)},p(l,s){o===(o=n(l))&&r?r.p(l,s):(r.d(1),r=o(l),r&&(r.c(),r.m(t,null))),s&8&&V(e,"mobile",l[3])},d(l){l&&P(e),r.d()}}}function qb(i){let e,t=ei(i[1]),n=[];for(let o=0;o<t.length;o+=1)n[o]=Du(Ru(i,t,o));return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=bt()},m(o,r){for(let l=0;l<n.length;l+=1)n[l]&&n[l].m(o,r);E(o,e,r)},p(o,r){if(r&18){t=ei(o[1]);let l;for(l=0;l<t.length;l+=1){const s=Ru(o,t,l);n[l]?n[l].p(s,r):(n[l]=Du(s),n[l].c(),n[l].m(e.parentNode,e))}for(;l<n.length;l+=1)n[l].d(1);n.length=t.length}},d(o){o&&P(e),Tn(n,o)}}}function jb(i){let e,t,n=ei(i[6]),o=[];for(let r=0;r<n.length;r+=1)o[r]=Fu(Nu(i,n,r));return{c(){e=T("span"),t=T("span");for(let r=0;r<o.length;r+=1)o[r].c();u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t);for(let s=0;s<o.length;s+=1)o[s]&&o[s].m(t,null)},p(r,l){if(l&68){n=ei(r[6]);let s;for(s=0;s<n.length;s+=1){const a=Nu(r,n,s);o[s]?o[s].p(a,l):(o[s]=Fu(a),o[s].c(),o[s].m(t,null))}for(;s<o.length;s+=1)o[s].d(1);o.length=n.length}l&16&&Rt(t,"font-size",r[4]+"px")},d(r){r&&P(e),Tn(o,r)}}}function Wb(i){let e,t,n=K("subtitles_auto_caption")+"",o;return{c(){e=T("span"),t=T("span"),o=ze(n),u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(r,l){E(r,e,l),p(e,t),p(t,o)},p(r,l){l&16&&Rt(t,"font-size",r[4]+"px")},d(r){r&&P(e)}}}function Du(i){let e,t,n=i[16]+"",o,r;return{c(){e=T("span"),t=T("span"),o=ze(n),r=R(),u(t,"class","caption-segment v-ovfyp5"),Rt(t,"font-size",i[4]+"px"),u(e,"class","caption-line v-ovfyp5")},m(l,s){E(l,e,s),p(e,t),p(t,o),p(e,r)},p(l,s){s&2&&n!==(n=l[16]+"")&&xe(o,n),s&16&&Rt(t,"font-size",l[4]+"px")},d(l){l&&P(e)}}}function zu(i){let e=i[16]+"",t;return{c(){t=ze(e)},m(n,o){E(n,t,o)},p(n,o){o&64&&e!==(e=n[16]+"")&&xe(t,e)},d(n){n&&P(t)}}}function Fu(i){let e,t=(!i[17]||i[17]<=i[2])&&zu(i);return{c(){t&&t.c(),e=bt()},m(n,o){t&&t.m(n,o),E(n,e,o)},p(n,o){!n[17]||n[17]<=n[2]?t?t.p(n,o):(t=zu(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&P(e),t&&t.d(n)}}}function Zb(i){let e,t=i[1].length>0&&Ou(i);return{c(){e=T("div"),t&&t.c(),u(e,"class","subtitles-container v-ovfyp5"),V(e,"shifted",i[0]),V(e,"auto",i[5]&&!i[8])},m(n,o){E(n,e,o),t&&t.m(e,null)},p(n,[o]){n[1].length>0?t?t.p(n,o):(t=Ou(n),t.c(),t.m(e,null)):t&&(t.d(1),t=null),o&1&&V(e,"shifted",n[0]),o&288&&V(e,"auto",n[5]&&!n[8])},i:W,o:W,d(n){n&&P(e),t&&t.d()}}}function Kb(i,e,t){let n,o,{shifted:r}=e,{captions:l}=e,{position:s}=e,{playerSize:a}=e,{isMobile:c=!1}=e;const f=St(),m=vn(),h=f.state.currentSubtitle$;z(i,h,w=>t(12,n=w));const b=f.state.isAutoSubtitleCaptionVisible$;z(i,b,w=>t(8,o=w));let v,y,_,C,k;return hn(()=>{k=window.setTimeout(()=>{b.set(!1)},m.autoSubtitlesTimeout)}),El(()=>{window.clearTimeout(k)}),i.$$set=w=>{"shifted"in w&&t(0,r=w.shifted),"captions"in w&&t(1,l=w.captions),"position"in w&&t(2,s=w.position),"playerSize"in w&&t(11,a=w.playerSize),"isMobile"in w&&t(3,c=w.isMobile)},i.$$.update=()=>{if(i.$$.dirty&2048){const w=a.width*.02;t(4,v=w<=m.minSubtitlesFontSize?m.minSubtitlesFontSize:w)}i.$$.dirty&2&&t(5,y=l.some(w=>w.type==="timestamp")),i.$$.dirty&2&&t(6,_=l.reduce((w,{type:N,value:Q})=>(N==="timestamp"?w.push({timeAppeared:Number(Q),value:""}):w.length===0?w.push({value:String(Q)}):w[w.length-1].value=String(Q),w),[])),i.$$.dirty&4096&&t(7,C=!!n.isAuto)},[r,l,s,c,v,y,_,C,o,h,b,a,n]}class Sf extends ye{constructor(e){super(),we(this,e,Kb,Zb,_e,{shifted:0,captions:1,position:2,playerSize:11,isMobile:3},Ub)}}function Gb(i){Ue(i,"v-1o62kpz",".wrapper.v-1o62kpz{height:100%;background-position:center;background-size:cover;display:flex;align-items:center;justify-content:center;font-size:16px;flex-direction:column}.icon_wrapper.v-1o62kpz{display:flex;flex-direction:column;align-items:center;width:400px}.icon.v-1o62kpz{width:50px;height:50px}.text.v-1o62kpz{margin-top:20px}")}function Hu(i){let e,t,n;return{c(){e=T("div"),t=ze("\u0412\u0438\u0434\u0435\u043E \u0432\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u043D\u0430 "),n=ze(i[1]),u(e,"class","text v-1o62kpz")},m(o,r){E(o,e,r),p(e,t),p(e,n)},p(o,r){r&2&&xe(n,o[1])},d(o){o&&P(e)}}}function Yb(i){let e,t,n,o,r,l,s=i[1]&&Hu(i);return{c(){e=T("div"),t=T("div"),t.innerHTML='<svg class="icon v-1o62kpz" width="22" height="22" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2a9 9 0 0 1 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" fill="#fff"></path><path d="M0 0h24v24H0z"></path></g></svg>',n=R(),s&&s.c(),u(t,"class","icon_wrapper v-1o62kpz"),u(e,"class","wrapper v-1o62kpz"),u(e,"style",o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${i[0]||""}')`)},m(a,c){E(a,e,c),p(e,t),p(e,n),s&&s.m(e,null),r||(l=be(e,"click",i[2]),r=!0)},p(a,[c]){a[1]?s?s.p(a,c):(s=Hu(a),s.c(),s.m(e,null)):s&&(s.d(1),s=null),c&1&&o!==(o=`background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('${a[0]||""}')`)&&u(e,"style",o)},i:W,o:W,d(a){a&&P(e),s&&s.d(),r=!1,l()}}}function Xb(i,e,t){let{thumbUrl:n}=e,{chromecastDeviceName:o}=e;function r(l){Eo.call(this,i,l)}return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"chromecastDeviceName"in l&&t(1,o=l.chromecastDeviceName)},[n,o,r]}class Pf extends ye{constructor(e){super(),we(this,e,Xb,Yb,_e,{thumbUrl:0,chromecastDeviceName:1},Gb)}}function Qb(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"d","M460 193.998a3.997 3.997 0 0 1 3.997-3.998h122.006a4.003 4.003 0 0 1 3.997 3.998v82.004a3.997 3.997 0 0 1-3.997 3.998H463.997a4.003 4.003 0 0 1-3.997-3.998zm6 2.993c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm112-72c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zm0 12c0-.546.45-.99.99-.99h4.02c.546 0 .99.45.99.99v4.02c0 .546-.45.99-.99.99h-4.02a.995.995 0 0 1-.99-.99zM507 232a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm36 0a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm-18.05 15c6.05 0 11.624 4.446 11.944 4.65 2.106 1.35 3.252.772 3.957.156s1.15-2.806-1.044-4.657c-1.735-1.48-5.806-5.16-14.856-5.15s-12.95 3.5-14.792 5.185c-1.84 1.685-2.288 3.498-.973 4.657 1.315 1.158 2.315 1.158 4.357-.327-.007.007 5.357-4.515 11.408-4.515z"),u(t,"fill","#fff"),u(t,"fill-rule","evenodd"),u(e,"width","200"),u(e,"height","200"),u(e,"viewBox","460 190 130 90"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","error-icon")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Jb extends ye{constructor(e){super(),we(this,e,null,Qb,_e,{})}}function xb(i){Ue(i,"v-13zpvm8",".container.v-13zpvm8{position:absolute;top:0;bottom:0;left:0;right:0;background:#000;display:flex;align-items:center;justify-content:center}")}function $b(i){let e,t,n;return t=new Jb({}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","container v-13zpvm8")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}class Tf extends ye{constructor(e){super(),we(this,e,null,$b,_e,{},xb)}}function e_(i){Ue(i,"v-17wno3",".container.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;background-position:center;background-size:cover;cursor:pointer;transition:opacity 0.2s, visibility 0.2s;will-change:opacity}.container.hidden.v-17wno3.v-17wno3{opacity:0;visibility:hidden}.playButton.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;width:var(--big-play-size);height:var(--big-play-size);display:flex;align-items:center;justify-content:center}.playButtonBackground.v-17wno3.v-17wno3{position:absolute;top:0;bottom:0;left:0;right:0;border-radius:var(--big-play-radius);background-color:var(--big-play-bg-color);transition:background 0.2s, transform 0.2s;transition-timing-function:ease-out;will-change:background, transform}.container.v-17wno3:hover .playButtonBackground.v-17wno3{background-color:var(--big-play-hover-bg-color);transform:scale(1.15)}.playButton.v-17wno3 svg{transform:scale(2)}")}function t_(i){let e,t,n,o,r,l,s,a,c;return r=new Dr({}),{c(){e=T("div"),t=T("div"),n=T("div"),o=R(),q(r.$$.fragment),u(n,"class","playButtonBackground v-17wno3"),u(t,"class","playButton v-17wno3"),u(e,"class","container v-17wno3"),u(e,"style",l=`background-color: #222; background-image: url('${i[0]||""}')`),V(e,"hidden",i[1])},m(f,m){E(f,e,m),p(e,t),p(t,n),p(t,o),F(r,t,null),s=!0,a||(c=be(e,"click",ot(function(){Sn(i[2])&&i[2].apply(this,arguments)})),a=!0)},p(f,[m]){i=f,(!s||m&1&&l!==(l=`background-color: #222; background-image: url('${i[0]||""}')`))&&u(e,"style",l),(!s||m&2)&&V(e,"hidden",i[1])},i(f){s||(d(r.$$.fragment,f),s=!0)},o(f){g(r.$$.fragment,f),s=!1},d(f){f&&P(e),H(r),a=!1,c()}}}function i_(i,e,t){let{thumbUrl:n}=e,{hidden:o}=e,{startVideo:r}=e;return i.$$set=l=>{"thumbUrl"in l&&t(0,n=l.thumbUrl),"hidden"in l&&t(1,o=l.hidden),"startVideo"in l&&t(2,r=l.startVideo)},[n,o,r]}class Ef extends ye{constructor(e){super(),we(this,e,i_,t_,_e,{thumbUrl:0,hidden:1,startVideo:2},e_)}}function n_(i){Ue(i,"v-1bcvcf2",`.title.v-1bcvcf2{position:absolute;pointer-events:none;left:0;top:0;width:100%;height:var(--controls-gradient-height);font-size:15px;color:var(--white);box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition-property:visibility, transform, opacity;transition-duration:var(--controls-transition-duration);transition-timing-function:var(--controls-transition-fn);will-change:transform, opacity;background:linear-gradient(
26
26
  0deg,
27
27
  rgba(0, 0, 0, 0) 0%,
28
28
  rgba(0, 0, 0, 0.02) 19%,
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 Eg(i){let e,t;return{c(){e=k("div"),t=ze(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){S(n,e,o),d(e,t)},p(n,[o]){o&1&&it(t,n[0]),o&2&&V(e,"hidden",n[1])},i:K,o:K,d(n){n&&y(e)}}}function Ag(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"isHidden"in l&&t(1,o=l.isHidden)},[n,o]}class Lg extends ye{constructor(e){super(),ke(this,e,Ag,Eg,_e,{title:0,isHidden:1},Tg)}}function Vg(i){qe(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function $a(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=ze(i[0]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_day_value")}`,r=N(),s=k("span"),s.textContent=`${Z("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&1&&it(n,a[0])},d(a){a&&(y(e),y(r),y(s))}}}function e1(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=ze(i[1]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_hour_value")}`,r=N(),s=k("span"),s.textContent=`${Z("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&2&&it(n,a[1])},d(a){a&&(y(e),y(r),y(s))}}}function t1(i){let e,t,n,o,l,r,s;return{c(){e=k("div"),t=k("span"),n=ze(i[2]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_minute_value")}`,r=N(),s=k("span"),s.textContent=`${Z("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){S(a,e,c),d(e,t),d(t,n),d(e,o),d(e,l),S(a,r,c),S(a,s,c)},p(a,c){c&4&&it(n,a[2])},d(a){a&&(y(e),y(r),y(s))}}}function i1(i){let e,t,n,o,l;return{c(){e=k("div"),t=k("span"),n=ze(i[3]),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(l,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(r,s){S(r,e,s),d(e,t),d(t,n),d(e,o),d(e,l)},p(r,s){s&8&&it(n,r[3])},d(r){r&&y(e)}}}function Ig(i){let e,t,n,o,l=i[0]&&$a(i),r=i[1]&&e1(i),s=i[2]&&t1(i),a=i[3]&&i1(i);return{c(){e=k("div"),l&&l.c(),t=N(),r&&r.c(),n=N(),s&&s.c(),o=N(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){S(c,e,f),l&&l.m(e,null),d(e,t),r&&r.m(e,null),d(e,n),s&&s.m(e,null),d(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?l?l.p(c,f):(l=$a(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),c[1]?r?r.p(c,f):(r=e1(c),r.c(),r.m(e,n)):r&&(r.d(1),r=null),c[2]?s?s.p(c,f):(s=t1(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=i1(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:K,o:K,d(c){c&&y(e),l&&l.d(),r&&r.d(),s&&s.d(),a&&a.d()}}}function Mg(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,l,r,s,a,c;const f=_=>String(_).padStart(2,"0"),h=_=>{const g=Math.floor(_/86400);g&&(_-=g*86400,t(0,l=f(g)));const b=Math.floor(_/3600);t(1,r=f(b));const L=Math.floor(_/60)%60;t(2,s=f(L));const E=_%60;t(3,a=f(E))},p=()=>{const _=Math.floor(Date.now()/1e3),g=n-_;h(g),g>=1?c=requestAnimationFrame(p):o()};return Qi(()=>{c=requestAnimationFrame(p)}),il(()=>{cancelAnimationFrame(c)}),i.$$set=_=>{"startTime"in _&&t(4,n=_.startTime),"onTimerOver"in _&&t(5,o=_.onTimerOver)},[l,r,s,a,n,o]}class Rg extends ye{constructor(e){super(),ke(this,e,Mg,Ig,_e,{startTime:4,onTimerOver:5},Vg)}}function Ng(i){let e,t,n,o,l;return{c(){e=I("svg"),t=I("path"),n=I("path"),o=I("path"),l=I("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Ft(t,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Ft(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"),Ft(o,"opacity",".985"),u(l,"fill","#fefffe"),u(l,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Ft(l,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Ft(e,"shape-rendering","geometricPrecision"),Ft(e,"text-rendering","geometricPrecision"),Ft(e,"image-rendering","optimizeQuality"),Ft(e,"fill-rule","evenodd"),Ft(e,"clip-rule","evenodd"),Ft(e,"width","100%"),Ft(e,"height","100%")},m(r,s){S(r,e,s),d(e,t),d(e,n),d(e,o),d(e,l)},p:K,i:K,o:K,d(r){r&&y(e)}}}class Bg extends ye{constructor(e){super(),ke(this,e,null,Ng,_e,{})}}function Og(i){qe(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function zg(i){let e,t,n,o,l;return o=new Rg({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=k("div"),t=k("span"),t.textContent=`${Z("waiting_live_timer_title")}`,n=N(),F(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(r,s){S(r,e,s),d(e,t),d(e,n),z(o,e,null),l=!0},p(r,s){const a={};s&2&&(a.startTime=r[1]||0),s&4&&(a.onTimerOver=r[3]),o.$set(a)},i(r){l||(m(o.$$.fragment,r),l=!0)},o(r){v(o.$$.fragment,r),l=!1},d(r){r&&y(e),D(o)}}}function Dg(i){let e,t,n,o,l,r;return n=new Bg({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=N(),l=k("span"),l.textContent=`${Z("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(l,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){S(s,e,a),d(e,t),z(n,t,null),d(e,o),d(e,l),r=!0},p:K,i(s){r||(m(n.$$.fragment,s),r=!0)},o(s){v(n.$$.fragment,s),r=!1},d(s){s&&y(e),D(n)}}}function Fg(i){let e,t,n,o,l;const r=[Dg,zg],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=r[t](i),{c(){e=k("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){S(c,e,f),s[t].m(e,null),l=!0},p(c,[f]){let h=t;t=a(c),t===h?s[t].p(c,f):(me(),v(s[h],1,1,()=>{s[h]=null}),he(),n=s[t],n?n.p(c,f):(n=s[t]=r[t](c),n.c()),m(n,1),n.m(e,null)),(!l||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){l||(m(n),l=!0)},o(c){v(n),l=!1},d(c){c&&y(e),s[t].d()}}}function Hg(i,e,t){let n,{thumbUrl:o}=e,{startTime:l}=e;const r=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,l=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=l===void 0||l<Math.floor(Date.now()/1e3))},[o,l,n,r]}class Nc extends ye{constructor(e){super(),ke(this,e,Hg,Fg,_e,{thumbUrl:0,startTime:1},Og)}}function Ug(i){qe(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function qg(i){let e,t;return{c(){e=k("div"),t=k("p"),t.textContent=`${Z("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){S(n,e,o),d(e,t)},p:K,i:K,o:K,d(n){n&&y(e)}}}class Bc extends ye{constructor(e){super(),ke(this,e,null,qg,_e,{},Ug)}}const{window:Wg}=G1;function jg(i){qe(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function n1(i){var n;let e,t;return e=new Nc({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&8&&(r.thumbUrl=o[3]),l[0]&32&&(r.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function o1(i){let e,t;return e=new Bc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function l1(i){let e,t,n;return t=new Xu({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[36]!==Ne.Ads)},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&512&&(r.adsSlotId=o[9]),l[0]&1024&&(r.adsParams=o[10]),l[0]&2048&&(r.adsPreviewParam=o[11]),l[0]&4096&&(r.duration=o[12]),t.$set(r),(!n||l[1]&32)&&V(e,"hidden",o[36]!==Ne.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function r1(i){let e,t;return e=new Am({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&262144&&(l.title=n[18]),o[0]&524288&&(l.thumb=n[19]),o[0]&8388608&&(l.playNextVideo=n[23]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function s1(i){let e,t;return e=new Lg({props:{title:i[2],isHidden:!i[34]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.title=n[2]),o[1]&8&&(l.isHidden=!n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function a1(i){let e,t;return e=new Lc({props:{isShifted:i[36]===Ne.Video&&i[34]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&40&&(l.isShifted=n[36]===Ne.Video&&n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function u1(i){let e,t,n;return t=new fu({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function c1(i){let e,t;return e=new Ic({props:{thumbUrl:i[3],chromecastDeviceName:i[54]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&8&&(l.thumbUrl=n[3]),o[1]&8388608&&(l.chromecastDeviceName=n[54]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function f1(i){let e,t;return e=new Vc({props:{shifted:i[34],captions:i[56],position:i[57],playerSize:i[32]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.shifted=n[34]),o[1]&33554432&&(l.captions=n[56]),o[1]&67108864&&(l.position=n[57]),o[1]&2&&(l.playerSize=n[32]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function d1(i){let e,t;return e=new Qu({props:{showControls:i[34]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[1]&8&&(l.showControls=n[34]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function m1(i){let e,t,n,o,l;return t=new Mc({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),z(t,e,null),n=!0,o||(l=[Ee(e,"contextmenu",yi(i[106])),Ee(e,"click",ct(i[117]))],o=!0)},p:K,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),D(t),o=!1,li(l)}}}function h1(i){let e,t;return e=new oc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function p1(i){let e,t;return e=new Qm({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function v1(i){let e,t;return e=new $u({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function g1(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q;e=new Rc({props:{hidden:i[36]!==Ne.Thumb||i[35]||i[92]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let ee=i[36]===Ne.WaitingLive&&n1(i),T=i[36]===Ne.WaitingRecord&&o1(),te=i[8]&&i[22]&&l1(i),ce=i[31]&&i[18]&&i[19]&&r1(i),A=i[44]&&s1(i),oe=i[50]&&a1(i),se=i[53]&&u1(),we=i[37]&&c1(i),be=i[55].value!=="off"&&f1(i),Te=i[1].features.annotations&&d1(i),Se=i[35]&&m1(i);function H(M){i[146](M)}let G={bottomHidden:i[36]===Ne.Thumb||i[36]===Ne.WaitingLive||i[36]===Ne.WaitingRecord,bottomNoSmooth:i[51],showControls:i[34],isAds:i[36]===Ne.Ads,canRewindLive:i[7]&&i[58]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:Kg,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[104],returnFocus:i[145],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[39]!==void 0&&(G.controlsElementRef=i[39]),g=new Ec({props:G}),We.push(()=>Pt(g,"controlsElementRef",H)),E=new xu({props:{isLive:i[59],isHidden:!i[43],isPlaying:i[60],position:i[57],duration:i[61]}}),C=new rg({props:{data:i[101]}}),R=new sm({props:{supportLink:i[21],returnFocus:i[147],visible:i[49],playerContainerRef:i[38],controlsContainerRef:i[39],x:i[40],y:i[41]}});let O=i[42]&&h1(),ve=i[62]&&p1(),X=i[63]&&v1();return{c(){F(e.$$.fragment),t=N(),ee&&ee.c(),n=N(),T&&T.c(),o=N(),te&&te.c(),l=N(),ce&&ce.c(),r=N(),A&&A.c(),s=N(),oe&&oe.c(),a=N(),se&&se.c(),c=N(),we&&we.c(),f=N(),be&&be.c(),h=N(),Te&&Te.c(),p=N(),Se&&Se.c(),_=N(),F(g.$$.fragment),L=N(),F(E.$$.fragment),w=N(),F(C.$$.fragment),B=N(),F(R.$$.fragment),U=N(),O&&O.c(),Y=N(),ve&&ve.c(),j=N(),X&&X.c(),ne=_t()},m(M,J){z(e,M,J),S(M,t,J),ee&&ee.m(M,J),S(M,n,J),T&&T.m(M,J),S(M,o,J),te&&te.m(M,J),S(M,l,J),ce&&ce.m(M,J),S(M,r,J),A&&A.m(M,J),S(M,s,J),oe&&oe.m(M,J),S(M,a,J),se&&se.m(M,J),S(M,c,J),we&&we.m(M,J),S(M,f,J),be&&be.m(M,J),S(M,h,J),Te&&Te.m(M,J),S(M,p,J),Se&&Se.m(M,J),S(M,_,J),z(g,M,J),S(M,L,J),z(E,M,J),S(M,w,J),z(C,M,J),S(M,B,J),z(R,M,J),S(M,U,J),O&&O.m(M,J),S(M,Y,J),ve&&ve.m(M,J),S(M,j,J),X&&X.m(M,J),S(M,ne,J),Q=!0},p(M,J){const Ie={};J[0]&64|J[1]&48&&(Ie.hidden=M[36]!==Ne.Thumb||M[35]||M[92]&&M[6]),J[0]&8&&(Ie.thumbUrl=M[3]),J[0]&536870912&&(Ie.startVideo=M[29]),e.$set(Ie),M[36]===Ne.WaitingLive?ee?(ee.p(M,J),J[1]&32&&m(ee,1)):(ee=n1(M),ee.c(),m(ee,1),ee.m(n.parentNode,n)):ee&&(me(),v(ee,1,1,()=>{ee=null}),he()),M[36]===Ne.WaitingRecord?T?J[1]&32&&m(T,1):(T=o1(),T.c(),m(T,1),T.m(o.parentNode,o)):T&&(me(),v(T,1,1,()=>{T=null}),he()),M[8]&&M[22]?te?(te.p(M,J),J[0]&4194560&&m(te,1)):(te=l1(M),te.c(),m(te,1),te.m(l.parentNode,l)):te&&(me(),v(te,1,1,()=>{te=null}),he()),M[31]&&M[18]&&M[19]?ce?(ce.p(M,J),J[0]&786432|J[1]&1&&m(ce,1)):(ce=r1(M),ce.c(),m(ce,1),ce.m(r.parentNode,r)):ce&&(me(),v(ce,1,1,()=>{ce=null}),he()),M[44]?A?(A.p(M,J),J[1]&8192&&m(A,1)):(A=s1(M),A.c(),m(A,1),A.m(s.parentNode,s)):A&&(me(),v(A,1,1,()=>{A=null}),he()),M[50]?oe?(oe.p(M,J),J[1]&524288&&m(oe,1)):(oe=a1(M),oe.c(),m(oe,1),oe.m(a.parentNode,a)):oe&&(me(),v(oe,1,1,()=>{oe=null}),he()),M[53]?se?(se.p(M,J),J[1]&4194304&&m(se,1)):(se=u1(),se.c(),m(se,1),se.m(c.parentNode,c)):se&&(me(),v(se,1,1,()=>{se=null}),he()),M[37]?we?(we.p(M,J),J[1]&64&&m(we,1)):(we=c1(M),we.c(),m(we,1),we.m(f.parentNode,f)):we&&(me(),v(we,1,1,()=>{we=null}),he()),M[55].value!=="off"?be?(be.p(M,J),J[1]&16777216&&m(be,1)):(be=f1(M),be.c(),m(be,1),be.m(h.parentNode,h)):be&&(me(),v(be,1,1,()=>{be=null}),he()),M[1].features.annotations?Te?(Te.p(M,J),J[0]&2&&m(Te,1)):(Te=d1(M),Te.c(),m(Te,1),Te.m(p.parentNode,p)):Te&&(me(),v(Te,1,1,()=>{Te=null}),he()),M[35]?Se?(Se.p(M,J),J[1]&16&&m(Se,1)):(Se=m1(M),Se.c(),m(Se,1),Se.m(_.parentNode,_)):Se&&(me(),v(Se,1,1,()=>{Se=null}),he());const Pe={};J[1]&32&&(Pe.bottomHidden=M[36]===Ne.Thumb||M[36]===Ne.WaitingLive||M[36]===Ne.WaitingRecord),J[1]&1048576&&(Pe.bottomNoSmooth=M[51]),J[1]&8&&(Pe.showControls=M[34]),J[1]&32&&(Pe.isAds=M[36]===Ne.Ads),J[0]&128|J[1]&134217728&&(Pe.canRewindLive=M[7]&&M[58]!==0),J[0]&8192&&(Pe.logoClickable=M[13]),J[0]&16384&&(Pe.logoHidden=M[14]),J[0]&16&&(Pe.videoLogoUrl=M[4]),J[0]&32768&&(Pe.showNextPrevButtons=M[15]),J[0]&65536&&(Pe.nextButtonActive=M[16]),J[0]&131072&&(Pe.prevButtonActive=M[17]),J[0]&1048576&&(Pe.isOneVideoPlaylist=M[20]),J[0]&2097152&&(Pe.supportLink=M[21]),J[0]&8388608&&(Pe.playNextVideo=M[23]),J[0]&16777216&&(Pe.playPrevVideo=M[24]),J[0]&33554432&&(Pe.repeatPlaylist=M[25]),J[1]&131072&&(Pe.returnFocus=M[145]),J[0]&67108864&&(Pe.seekToInteractive=M[26]),J[0]&134217728&&(Pe.toggleGraph=M[27]),J[0]&268435456&&(Pe.playPrevChapter=M[28]),!b&&J[1]&256&&(b=!0,Pe.controlsElementRef=M[39],Ct(()=>b=!1)),g.$set(Pe);const Ae={};J[1]&268435456&&(Ae.isLive=M[59]),J[1]&4096&&(Ae.isHidden=!M[43]),J[1]&536870912&&(Ae.isPlaying=M[60]),J[1]&67108864&&(Ae.position=M[57]),J[1]&1073741824&&(Ae.duration=M[61]),E.$set(Ae);const x={};J[0]&2097152&&(x.supportLink=M[21]),J[1]&131072&&(x.returnFocus=M[147]),J[1]&262144&&(x.visible=M[49]),J[1]&128&&(x.playerContainerRef=M[38]),J[1]&256&&(x.controlsContainerRef=M[39]),J[1]&512&&(x.x=M[40]),J[1]&1024&&(x.y=M[41]),R.$set(x),M[42]?O?J[1]&2048&&m(O,1):(O=h1(),O.c(),m(O,1),O.m(Y.parentNode,Y)):O&&(me(),v(O,1,1,()=>{O=null}),he()),M[62]?ve?J[2]&1&&m(ve,1):(ve=p1(),ve.c(),m(ve,1),ve.m(j.parentNode,j)):ve&&(me(),v(ve,1,1,()=>{ve=null}),he()),M[63]?X?J[2]&2&&m(X,1):(X=v1(),X.c(),m(X,1),X.m(ne.parentNode,ne)):X&&(me(),v(X,1,1,()=>{X=null}),he())},i(M){Q||(m(e.$$.fragment,M),m(ee),m(T),m(te),m(ce),m(A),m(oe),m(se),m(we),m(be),m(Te),m(Se),m(g.$$.fragment,M),m(E.$$.fragment,M),m(C.$$.fragment,M),m(R.$$.fragment,M),m(O),m(ve),m(X),Q=!0)},o(M){v(e.$$.fragment,M),v(ee),v(T),v(te),v(ce),v(A),v(oe),v(se),v(we),v(be),v(Te),v(Se),v(g.$$.fragment,M),v(E.$$.fragment,M),v(C.$$.fragment,M),v(R.$$.fragment,M),v(O),v(ve),v(X),Q=!1},d(M){M&&(y(t),y(n),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(p),y(_),y(L),y(w),y(B),y(U),y(Y),y(j),y(ne)),D(e,M),ee&&ee.d(M),T&&T.d(M),te&&te.d(M),ce&&ce.d(M),A&&A.d(M),oe&&oe.d(M),se&&se.d(M),we&&we.d(M),be&&be.d(M),Te&&Te.d(M),Se&&Se.d(M),D(g,M),D(E,M),D(C,M),D(R,M),O&&O.d(M),ve&&ve.d(M),X&&X.d(M)}}}function Zg(i){let e,t,n,o,l=i[52],r,s,a,c,f=g1(i);return{c(){e=k("div"),t=k("div"),o=N(),f.c(),r=_t(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[33]}deg) scale(${i[46]})`),V(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",i[36]!==Ne.Video),V(e,"nocursor",i[45])},m(h,p){S(h,e,p),d(e,t),i[144](t),S(h,o,p),f.m(h,p),S(h,r,p),s=!0,a||(c=[Ee(e,"contextmenu",yi(i[106])),Ee(e,"mousedown",yi(i[111])),Ee(e,"mouseup",yi(i[112])),Ee(e,"click",yi(i[114])),Ee(e,"dblclick",yi(i[113]))],a=!0)},p(h,p){(!s||p[1]&32772&&n!==(n=`transform: rotate(${h[33]}deg) scale(${h[46]})`))&&u(t,"style",n),(!s||p[0]&2)&&V(t,"fast-rotate",!h[1].isSmoothVideoRotate),(!s||p[1]&32)&&V(e,"hidden",h[36]!==Ne.Video),(!s||p[1]&16384)&&V(e,"nocursor",h[45]),p[1]&2097152&&_e(l,l=h[52])?(me(),v(f,1,1,K),he(),f=g1(h),f.c(),m(f,1),f.m(r.parentNode,r)):f.p(h,p)},i(h){s||(m(f),s=!0)},o(h){v(f),s=!1},d(h){h&&(y(e),y(o),y(r)),i[144](null),f.d(h),a=!1,li(c)}}}function Gg(i){let e,t,n,o,l,r,s,a={toggleFullscreen:i[104],hideContextMenu:i[105],showHotKeyHelpers:i[115],showKeyMap:i[116],isAds:i[36]===Ne.Ads,fakePlayButtonHandler:i[47]?i[103]:void 0,$$slots:{default:[Zg]},$$scope:{ctx:i}};return t=new Mm({props:a}),i[148](t),{c(){e=k("div"),F(t.$$.fragment),n=N(),o=k("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){S(c,e,f),z(t,e,null),d(e,n),d(e,o),i[149](o),i[150](e),l=!0,r||(s=[Ee(Wg,"blur",i[105]),Ee(e,"mouseenter",i[107]),Ee(e,"mouseleave",i[109]),Ee(e,"mousemove",i[110]),Ee(e,"click",i[118],!0),Ee(e,"focusin",i[108],!0)],r=!0)},p(c,f){const h={};f[1]&32&&(h.isAds=c[36]===Ne.Ads),f[1]&65536&&(h.fakePlayButtonHandler=c[47]?c[103]:void 0),f[0]&1073741823|f[1]&2147418111|f[2]&3|f[5]&65536&&(h.$$scope={dirty:f,ctx:c}),t.$set(h)},i(c){l||(m(t.$$.fragment,c),l=!0)},o(c){v(t.$$.fragment,c),l=!1},d(c){c&&y(e),i[148](null),D(t),i[149](null),i[150](null),r=!1,li(s)}}}let Kg=!0;function Oc(i){return i?i.offsetTop+Oc(i.offsetParent):0}function Yg(i,e,t){let n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,Te,Se,H,G,{store:O}=e,{uiConfig:ve}=e,{title:X}=e,{thumbUrl:M}=e,{videoLogoUrl:J}=e,{videoContainer:Ie}=e,{interactiveContainer:Pe}=e,{live:Ae}=e,{autoplay:x}=e,{canRewindLive:ae}=e,{showAds:pe}=e,{adsSlotId:re=void 0}=e,{adsParams:De=void 0}=e,{adsPreviewParam:Fe=void 0}=e,{duration:rt=void 0}=e,{logoClickable:ot}=e,{logoHidden:Oe}=e,{showNextPrevButtons:dt=!1}=e,{nextButtonActive:wt=!1}=e,{prevButtonActive:Re=!1}=e,{endScreenVideoTitle:Me=void 0}=e,{endScreenVideoThumb:Zt=void 0}=e,{isOneVideoPlaylist:Et=!1}=e,{supportLink:at}=e,{outerContainerRef:$e=void 0}=e,{playerStarted:ue=!1}=e,{fullScreenTarget:Xe=void 0}=e,{showMiniTimer:xe=!1}=e,{playNextVideo:Qe=nt}=e,{playPrevVideo:je=nt}=e,{repeatPlaylist:ft=nt}=e,{seekToInteractive:Je}=e,{toggleGraph:lt}=e,{playPrevChapter:Ge}=e,{firstStart:et}=e;const xt=O.getLogger().createComponentLog("Root component"),mt=O.interfaceLanguage$;W(i,mt,q=>t(52,T=q));const Ke=O.state.playbackState$;W(i,Ke,q=>t(141,ne=q));const At=O.ads.playbackState;W(i,At,q=>t(142,Q=q));const st=O.state.positionWithScrubbing$;W(i,st,q=>t(57,se=q));const di=O.state.duration$;W(i,di,q=>t(61,Se=q));const de=O.playerPhase;W(i,de,q=>t(36,B=q));const Ce=O.ui.isFullscreen;W(i,Ce,q=>t(131,c=q));const Ve=O.ui.controlsVisible;W(i,Ve,q=>t(34,b=q));const It=O.ui.settingsMenuVisible;W(i,It,q=>t(129,n=q));const mi=O.ui.scrubbingInProgress;W(i,mi,q=>t(133,_=q));const Mt=O.ui.contextMenuVisible;W(i,Mt,q=>t(49,o=q));const Ei=O.ui.debugPanelVisible;W(i,Ei,q=>t(63,G=q));const Mi=O.state.isLoaderVisible;W(i,Mi,q=>t(143,ee=q));const Ri=O.state.isEnded$;W(i,Ri,q=>t(130,r=q));const Le=O.state.chromecastConnected$;W(i,Le,q=>t(37,Y=q));const Rt=O.state.chromecastDeviceName$;W(i,Rt,q=>t(54,ce=q));const hi=O.ads.postrollPassed;W(i,hi,q=>t(136,w=q));const Ot=O.state.isLive$;W(i,Ot,q=>t(59,be=q));const Lt=O.state.isPlaying$;W(i,Lt,q=>t(60,Te=q));const Ni=O.state.crashed$;W(i,Ni,q=>t(35,E=q));const Nt=O.webApi.pictureInPictureApi,ri=O.state.currentSubtitle$;W(i,ri,q=>t(55,A=q));const xi=O.state.currentSubtitleCaptions$;W(i,xi,q=>t(56,oe=q));const St=O.state.duration$;W(i,St,q=>t(58,we=q));const Wi=O.state.graphIsOpened$;W(i,Wi,q=>t(137,C=q));const pi=O.ui.playerSize;W(i,pi,q=>t(32,a=q));const Bi=O.ui.is3DVideo;W(i,Bi,q=>t(50,s=q));const Oi=O.ui.icon3DVideoVisible;W(i,Oi,q=>t(53,te=q));const Ai=O.ui.rotateAlpha;W(i,Ai,q=>t(33,p=q));const si=O.state.isInteractive,Li=O.state.isInteractiveTime$;W(i,Li,q=>t(134,g=q));const Ci=O.state.isInteractiveExpectation$;W(i,Ci,q=>t(140,j=q));const vi=O.state.hasInteractiveBranches,ai=O.ui.touched;W(i,ai,q=>t(138,R=q));const gi=O.ui.modals.hotKeyMap.data;W(i,gi,q=>t(157,l=q));const ji=O.ui.modals.hotKeyMap.show;W(i,ji,q=>t(62,H=q));const Zi=O.ui.overlayContainer$,{fakeIsPlaying$:Ht}=tu();W(i,Ht,q=>t(132,h=q));let Ut,zi,$i=0,_i=0,Di,Vi,Pi;gi.set(L4());let Fi,Ii;const $t=He(!1);W(i,$t,q=>t(51,f=q));let ei;const bi=He(!1);W(i,bi,q=>t(139,U=q));const Xt=He(),ti=He(!1);W(i,ti,q=>t(135,L=q));let ui=!1,wi=!1,ii,ci,Gi,Hi,Ti,Xi,ni=!1,ki,Ui=!1;const{toggle:Ki}=Ht;let zt=!1,Qt=null,fe;Nt==null||Nt.setContext(K1());const Yi=()=>{x&&!si&&fi(ve.controls.hideTimeout)};O.setUiCallbacks({onStarted:Yi});const dn=()=>{window.clearTimeout(Di),bi.set(!1)},Un=()=>{window.clearTimeout(Vi),Xt.set(null)},fi=q=>{dn(),bi.set(!0),Di=window.setTimeout(()=>bi.set(!1),q);const bt=q-100;ei=window.setTimeout(()=>{f&&$t.set(!1)},bt>0?bt:q)},wn=(q,bt)=>{Un(),Xt.set(bt),Vi=window.setTimeout(()=>Xt.set(null),q)},kn=Bi.subscribe(q=>{Oi.set(q),q&&(window.clearTimeout(Pi),Pi=window.setTimeout(()=>Oi.set(!1),ve.controls.hide360IconTimeout))}),mn=async()=>{var bt,vn,rn,Xn;const q=To();if(q){fi(ve.controls.hideTimeoutFullscreen);try{await(Nt==null?void 0:Nt.remove())}catch(Qn){xt({message:String(Qn)})}}Ce.set(q),O.getAdmanWrapper().setFullscreen(q),c?(vn=(bt=O.callbacks)==null?void 0:bt.onFullscreenEnter)==null||vn.call(bt):(Xn=(rn=O.callbacks)==null?void 0:rn.onFullscreenExit)==null||Xn.call(rn)},yn=q=>{const bt=q;pi.set({width:bt.target.width,height:bt.target.height})};Qi(()=>{var bt;return Ku(mn),$o(Nt)&&(Nt==null||Nt.assignPlayerContainer(Ut),Nt==null||Nt.registryExternalEventHandlers({resize:yn})),Pe&&((bt=Ie.parentElement)==null||bt.insertBefore(Pe,Ie.nextSibling)),()=>{window.clearTimeout(Di),window.clearTimeout(ei),window.clearTimeout(Vi),window.clearTimeout(Pi),kn(),Nt==null||Nt.dispose(),Yu(mn)}});const Bn=async()=>{if(To())await Gu(document),xt({message:"exit fullscreen"});else{xt({message:"request fullscreen"});const q=$e!=null?$e:Ut,bt=q.getRootNode(),vn=bt instanceof ShadowRoot?bt.host:bt,rn=Xe instanceof HTMLElement&&Xe.contains(vn),Xn=ve.allowChangingFullscreenTarget&&Xe&&rn?Xe:q;await Zu(Xn)}},nn=()=>{It.set(!1),Mt.set(!1)},On=q=>{Mt.set(!0),t(40,$i=q.clientX),t(41,_i=q.clientY)};function $(){ti.set(!0),si||fi(ve.controls.hideTimeoutCursor)}function gt(){si||($t.set(!0),fi(ve.controls.hideTimeoutCursor))}function hn(){ti.set(!1),t(125,wi=!1),t(124,ui=!1),zt=!1,O.actions.internal.releaseCamera()}function en(q){if(Ut){const bt=Oc(q.currentTarget),vn=a.height,rn=q.pageY-bt;rn<vr?t(125,wi=!0):rn>vn-vr?t(124,ui=!0):(t(125,wi=!1),n||t(124,ui=!1))}}function pn(q){en(q),ci||fi(ve.controls.hideTimeoutCursor),s&&zt&&Qt&&O.actions.internal.moveCameraFocusPX(Qt.clientX-q.clientX,Qt.clientY-q.clientY,q.timeStamp-Qt.timeStamp),Qt=q}const on=q=>{q.button===0&&(zt=!0,O.actions.internal.holdCamera()),fi(ve.controls.hideTimeoutCursor)},ho=q=>{q.button===0&&(Qt=q,zt=!1,O.actions.internal.releaseCamera()),fi(ve.controls.hideTimeoutCursor)},po=()=>{xt({message:"double click on video"}),Bn(),fi(ve.controls.hideTimeoutCursor)},vo=()=>{if(o||n){nn();return}if(!(r&&!vi)){if(Ui)return Ki();if(fe==null||fe.focus(),!ue){et(),fi(ve.controls.hideTimeoutCursor);return}O.actions.internal.togglePlay(),fi(ve.controls.hideTimeoutCursor)}},go=q=>{nn(),ai.set(!0),fi(ve.controls.hideTimeout),q&&wn(ve.controls.hideHotKeyHelpers,q)},_o=()=>{var q,bt;nn(),(q=O.callbacks)!=null&&q.onOpenHotKeyMap?(bt=O.callbacks)==null||bt.onOpenHotKeyMap(l):ji.update(vn=>!vn)},bo=()=>{if(o||n){nn();return}},Kn=()=>{ai.set(!0)};function Yn(q){We[q?"unshift":"push"](()=>{Ie=q,t(0,Ie)})}const le=()=>fe==null?void 0:fe.focus();function Sn(q){zi=q,t(39,zi)}const ut=()=>fe==null?void 0:fe.focus();function qt(q){We[q?"unshift":"push"](()=>{fe=q,t(48,fe)})}function ln(q){We[q?"unshift":"push"](()=>{Ii=q,t(30,Ii)})}function Cn(q){We[q?"unshift":"push"](()=>{Ut=q,t(38,Ut)})}return i.$$set=q=>{"store"in q&&t(119,O=q.store),"uiConfig"in q&&t(1,ve=q.uiConfig),"title"in q&&t(2,X=q.title),"thumbUrl"in q&&t(3,M=q.thumbUrl),"videoLogoUrl"in q&&t(4,J=q.videoLogoUrl),"videoContainer"in q&&t(0,Ie=q.videoContainer),"interactiveContainer"in q&&t(120,Pe=q.interactiveContainer),"live"in q&&t(5,Ae=q.live),"autoplay"in q&&t(6,x=q.autoplay),"canRewindLive"in q&&t(7,ae=q.canRewindLive),"showAds"in q&&t(8,pe=q.showAds),"adsSlotId"in q&&t(9,re=q.adsSlotId),"adsParams"in q&&t(10,De=q.adsParams),"adsPreviewParam"in q&&t(11,Fe=q.adsPreviewParam),"duration"in q&&t(12,rt=q.duration),"logoClickable"in q&&t(13,ot=q.logoClickable),"logoHidden"in q&&t(14,Oe=q.logoHidden),"showNextPrevButtons"in q&&t(15,dt=q.showNextPrevButtons),"nextButtonActive"in q&&t(16,wt=q.nextButtonActive),"prevButtonActive"in q&&t(17,Re=q.prevButtonActive),"endScreenVideoTitle"in q&&t(18,Me=q.endScreenVideoTitle),"endScreenVideoThumb"in q&&t(19,Zt=q.endScreenVideoThumb),"isOneVideoPlaylist"in q&&t(20,Et=q.isOneVideoPlaylist),"supportLink"in q&&t(21,at=q.supportLink),"outerContainerRef"in q&&t(121,$e=q.outerContainerRef),"playerStarted"in q&&t(22,ue=q.playerStarted),"fullScreenTarget"in q&&t(122,Xe=q.fullScreenTarget),"showMiniTimer"in q&&t(123,xe=q.showMiniTimer),"playNextVideo"in q&&t(23,Qe=q.playNextVideo),"playPrevVideo"in q&&t(24,je=q.playPrevVideo),"repeatPlaylist"in q&&t(25,ft=q.repeatPlaylist),"seekToInteractive"in q&&t(26,Je=q.seekToInteractive),"toggleGraph"in q&&t(27,lt=q.toggleGraph),"playPrevChapter"in q&&t(28,Ge=q.playPrevChapter),"firstStart"in q&&t(29,et=q.firstStart)},i.$$.update=()=>{i.$$.dirty[1]&48|i.$$.dirty[4]&786432&&t(42,Fi=(B===Ne.Video&&ee||B===Ne.Ads&&Q===Jt.INACTIVE)&&!E),i.$$.dirty[0]&1073741824&&Zi.set(Ii),i.$$.dirty[4]&131072&&t(126,ii=ne!==Gt.PLAYING),i.$$.dirty[4]&66567&&t(127,ci=g&&!(ui||wi)&&!(ii&&!j)),i.$$.dirty[1]&112|i.$$.dirty[4]&33324&&Ve.set((ii||n||_||Y||U)&&!ci&&B===Ne.Video&&!E),i.$$.dirty[0]&2|i.$$.dirty[1]&56|i.$$.dirty[3]&1073741824|i.$$.dirty[4]&16384&&t(43,Gi=ve.features.thumbTimer&&xe&&B===Ne.Video&&!b&&!E&&!si&&(ve.hideThumbTimerAfterTouch&&!R||!ve.hideThumbTimerAfterTouch)),i.$$.dirty[1]&32|i.$$.dirty[4]&8320&&t(44,Hi=B===Ne.Video&&!C&&c),i.$$.dirty[0]&256|i.$$.dirty[1]&16|i.$$.dirty[4]&4160&&t(31,Ti=(pe&&w||!pe)&&r&&!E),i.$$.dirty[1]&9|i.$$.dirty[4]&3072&&t(45,Xi=L&&!(b||Ti)&&!g),i.$$.dirty[0]&2|i.$$.dirty[4]&1552&&(!_&&ni&&!g&&fi(ve.controls.hideTimeoutCursor),t(128,ni=_)),i.$$.dirty[0]&1|i.$$.dirty[1]&6&&t(46,ki=Ie&&p%180?a.height/a.width:1),i.$$.dirty[4]&256&&t(47,Ui=h!==null)},[Ie,ve,X,M,J,Ae,x,ae,pe,re,De,Fe,rt,ot,Oe,dt,wt,Re,Me,Zt,Et,at,ue,Qe,je,ft,Je,lt,Ge,et,Ii,Ti,a,p,b,E,B,Y,Ut,zi,$i,_i,Fi,Gi,Hi,Xi,ki,Ui,fe,o,s,f,T,te,ce,A,oe,se,we,be,Te,Se,H,G,mt,Ke,At,st,di,de,Ce,Ve,It,mi,Mt,Ei,Mi,Ri,Le,Rt,hi,Ot,Lt,Ni,ri,xi,St,Wi,pi,Bi,Oi,Ai,si,Li,Ci,ai,gi,ji,Ht,$t,bi,Xt,ti,Ki,Bn,nn,On,$,gt,hn,pn,on,ho,po,vo,go,_o,bo,Kn,O,Pe,$e,Xe,xe,ui,wi,ii,ci,ni,n,r,c,h,_,g,L,w,C,R,U,j,ne,Q,ee,Yn,le,Sn,ut,qt,ln,Cn]}class Xg extends ye{constructor(e){super(),ke(this,e,Yg,Gg,_e,{store:119,uiConfig:1,title:2,thumbUrl:3,videoLogoUrl:4,videoContainer:0,interactiveContainer:120,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:121,playerStarted:22,fullScreenTarget:122,showMiniTimer:123,playNextVideo:23,playPrevVideo:24,repeatPlaylist:25,seekToInteractive:26,toggleGraph:27,playPrevChapter:28,firstStart:29},jg,[-1,-1,-1,-1,-1,-1])}}const Qg=i=>{if(!U1(!0))return!1;const e=i.device===t0.iPad||(window==null?void 0:window.screen.width)>700,t=i0();return!e||e&&!!t&&t<16};function Jg(i){qe(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function _1(i){let e,t,n,o,l,r,s,a,c,f,h,p,_,g,b,L=Z("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",E;return{c(){e=k("div"),n=N(),o=k("div"),l=k("div"),r=k("div"),a=N(),c=k("div"),h=N(),p=k("div"),g=N(),b=k("p"),E=ze(L),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(r,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(p,"class",_="triangle "+i[0]+" v-nhq2ld"),u(l,"class","triangles-wrapper v-nhq2ld"),u(b,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(w,C){S(w,e,C),S(w,n,C),S(w,o,C),d(o,l),d(l,r),d(l,a),d(l,c),d(l,h),d(l,p),d(o,g),d(o,b),d(b,E)},p(w,C){C&1&&t!==(t="semicircle "+w[0]+" v-nhq2ld")&&u(e,"class",t),C&1&&s!==(s="triangle "+w[0]+" v-nhq2ld")&&u(r,"class",s),C&1&&f!==(f="triangle "+w[0]+" v-nhq2ld")&&u(c,"class",f),C&1&&_!==(_="triangle "+w[0]+" v-nhq2ld")&&u(p,"class",_),C&2&&L!==(L=Z("doubletap_seek_step",{seconds:w[1].toFixed(0)})+"")&&it(E,L)},d(w){w&&(y(e),y(n),y(o))}}}function xg(i){let e,t,n,o,l=i[2]&&_1(i);return{c(){e=k("div"),l&&l.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(r,s){S(r,e,s),l&&l.m(e,null),n||(o=Ee(e,"click",ct(i[3]())),n=!0)},p(r,[s]){r[2]?l?l.p(r,s):(l=_1(r),l.c(),l.m(e,null)):l&&(l.d(1),l=null),s&1&&t!==(t="double-click-area "+r[0]+" v-nhq2ld")&&u(e,"class",t)},i:K,o:K,d(r){r&&y(e),l&&l.d(),n=!1,o()}}}function $g(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:l}=e,{handleSecondClick:r}=e,s=!1,a=0,c=0;const f=()=>{let p=0;return()=>{p+=1,p===1?a=window.setTimeout(()=>{l(),p=0},300):(window.clearTimeout(a),p=0,r(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return il(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=h=>{"side"in h&&t(0,n=h.side),"seekStep"in h&&t(1,o=h.seekStep),"handleSingleFirstClick"in h&&t(4,l=h.handleSingleFirstClick),"handleSecondClick"in h&&t(5,r=h.handleSecondClick)},[n,o,s,f,l,r]}class zc extends ye{constructor(e){super(),ke(this,e,$g,xg,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},Jg)}}function e6(i,e,t){let{playNextVideo:n}=e;return Qi(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class t6 extends ye{constructor(e){super(),ke(this,e,e6,null,_e,{playNextVideo:0})}}const{window:i6}=G1;function n6(i){qe(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function b1(i){let e,t,n,o;e=new zc({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let l=!i[48]&&w1(i);return{c(){F(e.$$.fragment),t=N(),l&&l.c(),n=_t()},m(r,s){z(e,r,s),S(r,t,s),l&&l.m(r,s),S(r,n,s),o=!0},p(r,s){const a={};s[0]&2&&(a.seekStep=r[1].controls.seekStepMobile/1e3),e.$set(a),r[48]?l&&(me(),v(l,1,1,()=>{l=null}),he()):l?(l.p(r,s),s[1]&131072&&m(l,1)):(l=w1(r),l.c(),m(l,1),l.m(n.parentNode,n))},i(r){o||(m(e.$$.fragment,r),m(l),o=!0)},o(r){v(e.$$.fragment,r),v(l),o=!1},d(r){r&&(y(t),y(n)),D(e,r),l&&l.d(r)}}}function w1(i){let e,t;return e=new zc({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&2&&(l.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function k1(i){var n;let e,t;return e=new Nc({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){F(e.$$.fragment)},m(o,l){z(e,o,l),t=!0},p(o,l){var s;const r={};l[0]&4&&(r.thumbUrl=o[2]),l[0]&16&&(r.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(r)},i(o){t||(m(e.$$.fragment,o),t=!0)},o(o){v(e.$$.fragment,o),t=!1},d(o){D(e,o)}}}function y1(i){let e,t;return e=new Bc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function S1(i){let e,t,n;return t=new Xu({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Ne.Ads)},m(o,l){S(o,e,l),z(t,e,null),n=!0},p(o,l){const r={};l[0]&256&&(r.adsSlotId=o[8]),l[0]&512&&(r.adsParams=o[9]),l[0]&1024&&(r.adsPreviewParam=o[10]),l[0]&2048&&(r.duration=o[11]),t.$set(r),(!n||l[1]&8)&&V(e,"hidden",o[34]!==Ne.Ads)},i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function C1(i){let e,t;return e=new t6({props:{playNextVideo:i[22]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4194304&&(l.playNextVideo=n[22]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function P1(i){let e,t;return e=new Lc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function T1(i){let e,t,n;return t=new fu({props:{ariaLabel:Z("video360")}}),{c(){e=k("div"),F(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,l){S(o,e,l),z(t,e,null),n=!0},p:K,i(o){n||(m(t.$$.fragment,o),n=!0)},o(o){v(t.$$.fragment,o),n=!1},d(o){o&&y(e),D(t)}}}function E1(i){let e,t;return e=new Ic({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&4&&(l.thumbUrl=n[2]),o[1]&1048576&&(l.chromecastDeviceName=n[51]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function A1(i){let e,t;return e=new Vc({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.shifted=n[30]),o[1]&4194304&&(l.captions=n[53]),o[1]&8192&&(l.position=n[44]),o[1]&1&&(l.playerSize=n[31]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function L1(i){let e,t;return e=new Qu({props:{showControls:i[30]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o[0]&1073741824&&(l.showControls=n[30]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function V1(i){let e,t,n,o,l;return t=new Mc({}),{c(){e=k("div"),F(t.$$.fragment)},m(r,s){S(r,e,s),z(t,e,null),n=!0,o||(l=Ee(e,"click",ct(i[100])),o=!0)},p:K,i(r){n||(m(t.$$.fragment,r),n=!0)},o(r){v(t.$$.fragment,r),n=!1},d(r){r&&y(e),D(t),o=!1,l()}}}function I1(i){let e,t;return e=new oc({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function M1(i){let e,t;return e=new $u({}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function R1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(pt.TIMELINE),o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U;e=new Rc({props:{hidden:i[34]!==Ne.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let Y=n&&b1(i),j=i[34]===Ne.WaitingLive&&k1(i),ne=i[34]===Ne.WaitingRecord&&y1(),Q=i[7]&&i[21]&&S1(i),ee=i[41]&&i[17]&&i[18]&&C1(i),T=i[49]&&P1(),te=i[50]&&T1(),ce=i[35]&&E1(i),A=i[52].value!=="off"&&A1(i),oe=i[1].features.annotations&&L1(i),se=i[33]&&V1(i);function we(H){i[129](H)}let be={bottomHidden:i[34]===Ne.Thumb||i[34]===Ne.WaitingLive||i[34]===Ne.WaitingRecord||i[34]===Ne.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Ne.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(be.controlsElementRef=i[37]),b=new Ec({props:be}),We.push(()=>Pt(b,"controlsElementRef",we)),w=new xu({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let Te=i[38]&&I1(),Se=i[57]&&M1();return{c(){F(e.$$.fragment),t=N(),Y&&Y.c(),o=N(),j&&j.c(),l=N(),ne&&ne.c(),r=N(),Q&&Q.c(),s=N(),ee&&ee.c(),a=N(),T&&T.c(),c=N(),te&&te.c(),f=N(),ce&&ce.c(),h=N(),A&&A.c(),p=N(),oe&&oe.c(),_=N(),se&&se.c(),g=N(),F(b.$$.fragment),E=N(),F(w.$$.fragment),C=N(),Te&&Te.c(),B=N(),Se&&Se.c(),R=_t()},m(H,G){z(e,H,G),S(H,t,G),Y&&Y.m(H,G),S(H,o,G),j&&j.m(H,G),S(H,l,G),ne&&ne.m(H,G),S(H,r,G),Q&&Q.m(H,G),S(H,s,G),ee&&ee.m(H,G),S(H,a,G),T&&T.m(H,G),S(H,c,G),te&&te.m(H,G),S(H,f,G),ce&&ce.m(H,G),S(H,h,G),A&&A.m(H,G),S(H,p,G),oe&&oe.m(H,G),S(H,_,G),se&&se.m(H,G),S(H,g,G),z(b,H,G),S(H,E,G),z(w,H,G),S(H,C,G),Te&&Te.m(H,G),S(H,B,G),Se&&Se.m(H,G),S(H,R,G),U=!0},p(H,G){const O={};G[0]&32|G[1]&12&&(O.hidden=H[34]!==Ne.Thumb||H[33]||H[89]&&H[5]),G[0]&4&&(O.thumbUrl=H[2]),G[0]&268435456&&(O.startVideo=H[28]),e.$set(O),G[0]&64|G[1]&65536&&(n=H[6]&&H[78]&&!H[47].has(pt.TIMELINE)),n?Y?(Y.p(H,G),G[0]&64|G[1]&65536&&m(Y,1)):(Y=b1(H),Y.c(),m(Y,1),Y.m(o.parentNode,o)):Y&&(me(),v(Y,1,1,()=>{Y=null}),he()),H[34]===Ne.WaitingLive?j?(j.p(H,G),G[1]&8&&m(j,1)):(j=k1(H),j.c(),m(j,1),j.m(l.parentNode,l)):j&&(me(),v(j,1,1,()=>{j=null}),he()),H[34]===Ne.WaitingRecord?ne?G[1]&8&&m(ne,1):(ne=y1(),ne.c(),m(ne,1),ne.m(r.parentNode,r)):ne&&(me(),v(ne,1,1,()=>{ne=null}),he()),H[7]&&H[21]?Q?(Q.p(H,G),G[0]&2097280&&m(Q,1)):(Q=S1(H),Q.c(),m(Q,1),Q.m(s.parentNode,s)):Q&&(me(),v(Q,1,1,()=>{Q=null}),he()),H[41]&&H[17]&&H[18]?ee?(ee.p(H,G),G[0]&393216|G[1]&1024&&m(ee,1)):(ee=C1(H),ee.c(),m(ee,1),ee.m(a.parentNode,a)):ee&&(me(),v(ee,1,1,()=>{ee=null}),he()),H[49]?T?G[1]&262144&&m(T,1):(T=P1(),T.c(),m(T,1),T.m(c.parentNode,c)):T&&(me(),v(T,1,1,()=>{T=null}),he()),H[50]?te?(te.p(H,G),G[1]&524288&&m(te,1)):(te=T1(),te.c(),m(te,1),te.m(f.parentNode,f)):te&&(me(),v(te,1,1,()=>{te=null}),he()),H[35]?ce?(ce.p(H,G),G[1]&16&&m(ce,1)):(ce=E1(H),ce.c(),m(ce,1),ce.m(h.parentNode,h)):ce&&(me(),v(ce,1,1,()=>{ce=null}),he()),H[52].value!=="off"?A?(A.p(H,G),G[1]&2097152&&m(A,1)):(A=A1(H),A.c(),m(A,1),A.m(p.parentNode,p)):A&&(me(),v(A,1,1,()=>{A=null}),he()),H[1].features.annotations?oe?(oe.p(H,G),G[0]&2&&m(oe,1)):(oe=L1(H),oe.c(),m(oe,1),oe.m(_.parentNode,_)):oe&&(me(),v(oe,1,1,()=>{oe=null}),he()),H[33]?se?(se.p(H,G),G[1]&4&&m(se,1)):(se=V1(H),se.c(),m(se,1),se.m(g.parentNode,g)):se&&(me(),v(se,1,1,()=>{se=null}),he());const ve={};G[1]&8&&(ve.bottomHidden=H[34]===Ne.Thumb||H[34]===Ne.WaitingLive||H[34]===Ne.WaitingRecord||H[34]===Ne.Ads),G[0]&1073741824&&(ve.showControls=H[30]),G[1]&16384&&(ve.bottomNoSmooth=H[45]),G[1]&8&&(ve.isAds=H[34]===Ne.Ads),G[0]&64|G[1]&8388608&&(ve.canRewindLive=H[6]&&H[54]!==0),G[0]&4096&&(ve.logoClickable=H[12]),G[0]&8192&&(ve.logoHidden=H[13]),G[0]&8&&(ve.videoLogoUrl=H[3]),G[0]&16384&&(ve.showNextPrevButtons=H[14]),G[0]&32768&&(ve.nextButtonActive=H[15]),G[0]&65536&&(ve.prevButtonActive=H[16]),G[0]&524288&&(ve.isOneVideoPlaylist=H[19]),G[0]&1048576&&(ve.supportLink=H[20]),G[1]&256&&(ve.customFullscreenSupported=H[39]),G[0]&4194304&&(ve.playNextVideo=H[22]),G[0]&8388608&&(ve.playPrevVideo=H[23]),G[0]&16777216&&(ve.repeatPlaylist=H[24]),G[0]&33554432&&(ve.seekToInteractive=H[25]),G[0]&67108864&&(ve.toggleGraph=H[26]),G[0]&134217728&&(ve.playPrevChapter=H[27]),!L&&G[1]&64&&(L=!0,ve.controlsElementRef=H[37],Ct(()=>L=!1)),b.$set(ve);const X={};G[1]&16777216&&(X.isLive=H[55]),G[1]&512&&(X.isHidden=!H[40]),G[1]&33554432&&(X.isPlaying=H[56]),G[1]&8192&&(X.position=H[44]),G[1]&4096&&(X.duration=H[43]),w.$set(X),H[38]?Te?G[1]&128&&m(Te,1):(Te=I1(),Te.c(),m(Te,1),Te.m(B.parentNode,B)):Te&&(me(),v(Te,1,1,()=>{Te=null}),he()),H[57]?Se?G[1]&67108864&&m(Se,1):(Se=M1(),Se.c(),m(Se,1),Se.m(R.parentNode,R)):Se&&(me(),v(Se,1,1,()=>{Se=null}),he())},i(H){U||(m(e.$$.fragment,H),m(Y),m(j),m(ne),m(Q),m(ee),m(T),m(te),m(ce),m(A),m(oe),m(se),m(b.$$.fragment,H),m(w.$$.fragment,H),m(Te),m(Se),U=!0)},o(H){v(e.$$.fragment,H),v(Y),v(j),v(ne),v(Q),v(ee),v(T),v(te),v(ce),v(A),v(oe),v(se),v(b.$$.fragment,H),v(w.$$.fragment,H),v(Te),v(Se),U=!1},d(H){H&&(y(t),y(o),y(l),y(r),y(s),y(a),y(c),y(f),y(h),y(p),y(_),y(g),y(E),y(C),y(B),y(R)),D(e,H),Y&&Y.d(H),j&&j.d(H),ne&&ne.d(H),Q&&Q.d(H),ee&&ee.d(H),T&&T.d(H),te&&te.d(H),ce&&ce.d(H),A&&A.d(H),oe&&oe.d(H),se&&se.d(H),D(b,H),D(w,H),Te&&Te.d(H),Se&&Se.d(H)}}}function o6(i){let e,t,n,o,l,r=i[46],s,a,c,f,h,p=R1(i);return{c(){e=k("div"),t=k("div"),n=k("div"),l=N(),p.c(),s=N(),a=k("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),V(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),V(t,"hidden",i[34]!==Ne.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(_,g){S(_,e,g),d(e,t),d(t,n),i[126](n),d(e,l),p.m(e,null),d(e,s),d(e,a),i[130](a),i[131](e),c=!0,f||(h=[Ee(i6,"blur",i[98]),Ee(t,"click",yi(i[99])),Ee(e,"click",i[101],!0),Ee(e,"focusin",i[102],!0)],f=!0)},p(_,g){(!c||g[1]&2050&&o!==(o=`transform: rotate(${_[32]}deg) scale(${_[42]})`))&&u(n,"style",o),(!c||g[0]&2)&&V(n,"fast-rotate",!_[1].isSmoothVideoRotate),(!c||g[1]&8)&&V(t,"hidden",_[34]!==Ne.Video),g[1]&32768&&_e(r,r=_[46])?(me(),v(p,1,1,K),he(),p=R1(_),p.c(),m(p,1),p.m(e,s)):p.p(_,g)},i(_){c||(m(p),c=!0)},o(_){v(p),c=!1},d(_){_&&y(e),i[126](null),p.d(_),i[130](null),i[131](null),f=!1,li(h)}}}function l6(i,e,t){let n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,Te,Se,H,{store:G}=e,{uiConfig:O}=e,{thumbUrl:ve}=e,{videoLogoUrl:X}=e,{videoContainer:M}=e,{interactiveContainer:J}=e,{live:Ie}=e,{autoplay:Pe}=e,{canRewindLive:Ae}=e,{showAds:x}=e,{adsSlotId:ae=void 0}=e,{adsParams:pe=void 0}=e,{adsPreviewParam:re=void 0}=e,{duration:De=void 0}=e,{logoClickable:Fe}=e,{logoHidden:rt}=e,{showNextPrevButtons:ot=!1}=e,{nextButtonActive:Oe=!1}=e,{prevButtonActive:dt=!1}=e,{endScreenVideoTitle:wt=void 0}=e,{endScreenVideoThumb:Re=void 0}=e,{isOneVideoPlaylist:Me=!1}=e,{supportLink:Zt}=e,{outerContainerRef:Et=void 0}=e,{showMiniTimer:at=!1}=e,{fullScreenTarget:$e=void 0}=e,{playerStarted:ue=!1}=e,{playNextVideo:Xe=nt}=e,{playPrevVideo:xe=nt}=e,{repeatPlaylist:Qe=nt}=e,{seekToInteractive:je}=e,{toggleGraph:ft}=e,{playPrevChapter:Je}=e,{firstStart:lt}=e,{seekTime:Ge}=e;const et=G.getLogger().createComponentLog("Root component"),xt=G.interfaceLanguage$;W(i,xt,$=>t(46,ee=$));const mt=G.state.playbackState$;W(i,mt,$=>t(123,j=$));const Ke=G.ads.playbackState;W(i,Ke,$=>t(124,ne=$));const At=G.state.positionWithScrubbing$;W(i,At,$=>t(44,r=$));const st=G.state.duration$;W(i,st,$=>t(43,l=$));const di=G.playerPhase;W(i,di,$=>t(34,B=$));const de=G.ui.isFullscreen;W(i,de,$=>t(137,a=$));const Ce=G.ui.controlsVisible;W(i,Ce,$=>t(30,o=$));const Ve=G.ui.interactiveHideMobileControls;W(i,Ve,$=>t(115,p=$));const It=G.ui.settingsMenuVisible;W(i,It,$=>t(114,n=$));const mi=G.ui.scrubbingInProgress;W(i,mi,$=>t(116,g=$));const Mt=G.ui.debugPanelVisible;W(i,Mt,$=>t(57,H=$));const Ei=G.state.isLoaderVisible;W(i,Ei,$=>t(125,Q=$));const Mi=G.state.isEnded$;W(i,Mi,$=>t(118,E=$));const Ri=G.state.chromecastConnected$;W(i,Ri,$=>t(35,R=$));const Le=G.state.chromecastDeviceName$;W(i,Le,$=>t(51,oe=$));const Rt=G.ads.postrollPassed;W(i,Rt,$=>t(119,w=$));const hi=G.ui.mobileUnmuteButtonExpanded,Ot=G.ui.mobileUnmuteButtonVisible,Lt=G.state.isLive$;W(i,Lt,$=>t(55,Te=$));const Ni=G.state.isPlaying$;W(i,Ni,$=>t(56,Se=$));const Nt=G.state.isActiveLive$;W(i,Nt,$=>t(48,te=$));const ri=G.state.isRewindableLive$,xi=G.state.crashed$;W(i,xi,$=>t(33,L=$));const St=G.webApi.pictureInPictureApi,Wi=G.state.videoSize$;W(i,Wi,$=>t(138,f=$));const pi=G.state.currentSubtitle$;W(i,pi,$=>t(52,se=$));const Bi=G.state.currentSubtitleCaptions$;W(i,Bi,$=>t(53,we=$));const Oi=G.state.duration$;W(i,Oi,$=>t(54,be=$));const Ai=G.state.graphIsOpened$;W(i,Ai,$=>t(122,Y=$));const si=G.ui.playerSize;W(i,si,$=>t(31,c=$));const Li=G.ui.is3DVideo;W(i,Li,$=>t(49,ce=$));const Ci=G.ui.icon3DVideoVisible;W(i,Ci,$=>t(50,A=$));const vi=G.ui.rotateAlpha;W(i,vi,$=>t(32,_=$));const ai=G.state.isInteractive,gi=G.state.isInteractiveTime$;W(i,gi,$=>t(117,b=$));const ji=G.state.isInteractiveExpectation$;W(i,ji,$=>t(121,U=$));const Zi=G.state.hasInteractiveBranches,Ht=G.ui.controls.disabledControls$;W(i,Ht,$=>t(47,T=$));const Ut=G.ui.touched;W(i,Ut,$=>t(120,C=$));const zi=G.ui.clientInfo$;W(i,zi,$=>t(136,s=$));const $i=G.ui.overlayContainer$;let _i,Di,Vi,Pi,Fi,Ii,$t;const ei=He(!1);W(i,ei,$=>t(45,h=$));let bi,Xt=!1,ti,ui=!1,wi,ii=!0,ci,Gi,Hi=!1,Ti;St==null||St.setContext(K1());const Xi=$=>{clearTimeout(Pi),$&&(Ot.set(!0),hi.set(!0),Pi=window.setTimeout(()=>{hi.set(!1)},O.controls.collapseMobileUnmute),ai||ki(O.controls.hideTimeoutMobile))};G.setUiCallbacks({onStarted:Xi});const ni=()=>{window.clearTimeout(Vi),t(109,Xt=!1),p&&Ve.set(!1)},ki=$=>{ni(),t(109,Xt=!0),Vi=window.setTimeout(()=>t(109,Xt=!1),$);const gt=$-100;bi=window.setTimeout(()=>{h&&ei.set(!1)},gt>0?gt:$)},Ui=Li.subscribe($=>{Ci.set($),$&&(window.clearTimeout(Fi),Fi=window.setTimeout(()=>Ci.set(!1),O.controls.hide360IconTimeout))}),Ki=async()=>{var gt,hn,en,pn;const $=To();if($){ki(O.controls.hideTimeoutFullscreen);try{await(St==null?void 0:St.remove())}catch(on){et({message:String(on)})}try{const on=f!=null&&f.width&&(f!=null&&f.height)?f:c;await A4(on)}catch(on){et({message:String(on)})}}de.set($),G.getAdmanWrapper().setFullscreen($),a?(hn=(gt=G.callbacks)==null?void 0:gt.onFullscreenEnter)==null||hn.call(gt):(pn=(en=G.callbacks)==null?void 0:en.onFullscreenExit)==null||pn.call(en)},zt=$=>{const gt=$;si.set({width:gt.target.width,height:gt.target.height})};Qi(()=>{var gt;return Ku(Ki),$o(St)&&(St==null||St.assignPlayerContainer(_i),St==null||St.registryExternalEventHandlers({resize:zt})),t(39,ii=!Qg(s)),J&&((gt=M.parentElement)==null||gt.insertBefore(J,M.nextSibling)),()=>{window.clearTimeout(Vi),window.clearTimeout(bi),window.clearTimeout(Pi),window.clearTimeout(Fi),Ui(),St==null||St.dispose(),Yu(Ki)}});const Qt=$=>{let gt=r+($==="forward"?1:-1)*O.controls.seekStepMobile/1e3;gt<0?gt=0:gt>l&&(gt=l-1),t(111,ui=!0),Ge(gt)},fe=async()=>{if(To())await Gu(document),et({message:"exit fullscreen"});else{et({message:"request fullscreen"});const $=Et!=null?Et:_i,gt=$.getRootNode(),hn=gt instanceof ShadowRoot?gt.host:gt,en=$e instanceof HTMLElement&&$e.contains(hn),pn=O.allowChangingFullscreenTarget&&$e&&en?$e:$;await Zu(pn)}},Yi=()=>{It.set(!1)},dn=()=>{if(n){Yi();return}if(!ue){lt(),ki(O.controls.hideTimeoutCursor);return}t(111,ui=!1),o?ni():ki(O.controls.hideTimeoutMobile)},Un=()=>{if(n){Yi();return}},fi=()=>{Ut.set(!0)},wn=()=>{ai||(ei.set(!0),ki(O.controls.hideTimeoutCursor))};function kn($){We[$?"unshift":"push"](()=>{M=$,t(0,M)})}const mn=()=>Qt("backward"),yn=()=>Qt("forward");function Bn($){Di=$,t(37,Di)}function nn($){We[$?"unshift":"push"](()=>{$t=$,t(29,$t)})}function On($){We[$?"unshift":"push"](()=>{_i=$,t(36,_i)})}return i.$$set=$=>{"store"in $&&t(103,G=$.store),"uiConfig"in $&&t(1,O=$.uiConfig),"thumbUrl"in $&&t(2,ve=$.thumbUrl),"videoLogoUrl"in $&&t(3,X=$.videoLogoUrl),"videoContainer"in $&&t(0,M=$.videoContainer),"interactiveContainer"in $&&t(104,J=$.interactiveContainer),"live"in $&&t(4,Ie=$.live),"autoplay"in $&&t(5,Pe=$.autoplay),"canRewindLive"in $&&t(6,Ae=$.canRewindLive),"showAds"in $&&t(7,x=$.showAds),"adsSlotId"in $&&t(8,ae=$.adsSlotId),"adsParams"in $&&t(9,pe=$.adsParams),"adsPreviewParam"in $&&t(10,re=$.adsPreviewParam),"duration"in $&&t(11,De=$.duration),"logoClickable"in $&&t(12,Fe=$.logoClickable),"logoHidden"in $&&t(13,rt=$.logoHidden),"showNextPrevButtons"in $&&t(14,ot=$.showNextPrevButtons),"nextButtonActive"in $&&t(15,Oe=$.nextButtonActive),"prevButtonActive"in $&&t(16,dt=$.prevButtonActive),"endScreenVideoTitle"in $&&t(17,wt=$.endScreenVideoTitle),"endScreenVideoThumb"in $&&t(18,Re=$.endScreenVideoThumb),"isOneVideoPlaylist"in $&&t(19,Me=$.isOneVideoPlaylist),"supportLink"in $&&t(20,Zt=$.supportLink),"outerContainerRef"in $&&t(105,Et=$.outerContainerRef),"showMiniTimer"in $&&t(106,at=$.showMiniTimer),"fullScreenTarget"in $&&t(107,$e=$.fullScreenTarget),"playerStarted"in $&&t(21,ue=$.playerStarted),"playNextVideo"in $&&t(22,Xe=$.playNextVideo),"playPrevVideo"in $&&t(23,xe=$.playPrevVideo),"repeatPlaylist"in $&&t(24,Qe=$.repeatPlaylist),"seekToInteractive"in $&&t(25,je=$.seekToInteractive),"toggleGraph"in $&&t(26,ft=$.toggleGraph),"playPrevChapter"in $&&t(27,Je=$.playPrevChapter),"firstStart"in $&&t(28,lt=$.firstStart),"seekTime"in $&&t(108,Ge=$.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Ii=(B===Ne.Video&&Q||B===Ne.Ads&&ne===Jt.INACTIVE)&&!L),i.$$.dirty[0]&536870912&&$i.set($t),i.$$.dirty[3]&1073741824&&t(110,ti=j!==Gt.PLAYING),i.$$.dirty[3]&843251712&&t(112,wi=Y||p||!Xt&&(E&&!!Zi||ti&&U)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&Ce.set((ti||n||g||R||Xt&&!ui)&&!wi&&B===Ne.Video&&!L),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ci=O.features.thumbTimer&&at&&B===Ne.Video&&!o&&!L&&!ai&&(O.hideThumbTimerAfterTouch&&!C||!O.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Gi=(x&&w||!x)&&E&&!L),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!g&&Hi&&!b&&ki(O.controls.hideTimeoutMobile),t(113,Hi=g)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,Ti=M&&_%180?c.height/c.width:1)},[M,O,ve,X,Ie,Pe,Ae,x,ae,pe,re,De,Fe,rt,ot,Oe,dt,wt,Re,Me,Zt,ue,Xe,xe,Qe,je,ft,Je,lt,$t,o,c,_,L,B,R,_i,Di,Ii,ii,ci,Gi,Ti,l,r,h,ee,T,te,ce,A,oe,se,we,be,Te,Se,H,xt,mt,Ke,At,st,di,de,Ce,Ve,It,mi,Mt,Ei,Mi,Ri,Le,Rt,Lt,Ni,Nt,ri,xi,Wi,pi,Bi,Oi,Ai,si,Li,Ci,vi,ai,gi,ji,Ht,Ut,zi,ei,Qt,fe,Yi,dn,Un,fi,wn,G,J,Et,at,$e,Ge,Xt,ti,ui,wi,Hi,n,p,g,b,E,w,C,U,Y,j,ne,Q,kn,mn,yn,Bn,nn,On]}class r6 extends ye{constructor(e){super(),ke(this,e,l6,o6,_e,{store:103,uiConfig:1,thumbUrl:2,videoLogoUrl:3,videoContainer:0,interactiveContainer:104,live:4,autoplay:5,canRewindLive:6,showAds:7,adsSlotId:8,adsParams:9,adsPreviewParam:10,duration:11,logoClickable:12,logoHidden:13,showNextPrevButtons:14,nextButtonActive:15,prevButtonActive:16,endScreenVideoTitle:17,endScreenVideoThumb:18,isOneVideoPlaylist:19,supportLink:20,outerContainerRef:105,showMiniTimer:106,fullScreenTarget:107,playerStarted:21,playNextVideo:22,playPrevVideo:23,repeatPlaylist:24,seekToInteractive:25,toggleGraph:26,playPrevChapter:27,firstStart:28,seekTime:108},n6,[-1,-1,-1,-1,-1])}}function s6(i){qe(i,"v-labq99",`.root.v-labq99{--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 o_(i){let e,t;return{c(){e=T("div"),t=ze(i[0]),u(e,"class","title v-1bcvcf2"),V(e,"hidden",i[1])},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&xe(t,n[0]),o&2&&V(e,"hidden",n[1])},i:W,o:W,d(n){n&&P(e)}}}function l_(i,e,t){let{title:n=""}=e,{isHidden:o=!1}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"isHidden"in r&&t(1,o=r.isHidden)},[n,o]}class r_ extends ye{constructor(e){super(),we(this,e,l_,o_,_e,{title:0,isHidden:1},n_)}}function s_(i){Ue(i,"v-1qpxtfg",".timer__container.v-1qpxtfg{display:flex;align-items:flex-start;justify-content:center}.cell.v-1qpxtfg{display:flex;flex-direction:column;align-items:center;width:62px}.cell__value.v-1qpxtfg{font-size:48px;line-height:1.2;font-weight:700}.cell__unit.v-1qpxtfg{font-size:14px;line-height:1.2;font-weight:400}.timer__points.v-1qpxtfg{display:inline-block;margin:0 8px;font-size:42px;line-height:1.2;font-weight:600}")}function Uu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=ze(i[0]),o=R(),r=T("span"),r.textContent=`${K("waiting_live_day_value")}`,l=R(),s=T("span"),s.textContent=`${K("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&1&&xe(n,a[0])},d(a){a&&(P(e),P(l),P(s))}}}function qu(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=ze(i[1]),o=R(),r=T("span"),r.textContent=`${K("waiting_live_hour_value")}`,l=R(),s=T("span"),s.textContent=`${K("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&2&&xe(n,a[1])},d(a){a&&(P(e),P(l),P(s))}}}function ju(i){let e,t,n,o,r,l,s;return{c(){e=T("div"),t=T("span"),n=ze(i[2]),o=R(),r=T("span"),r.textContent=`${K("waiting_live_minute_value")}`,l=R(),s=T("span"),s.textContent=`${K("waiting_live_colon")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg"),u(s,"class","timer__points v-1qpxtfg")},m(a,c){E(a,e,c),p(e,t),p(t,n),p(e,o),p(e,r),E(a,l,c),E(a,s,c)},p(a,c){c&4&&xe(n,a[2])},d(a){a&&(P(e),P(l),P(s))}}}function Wu(i){let e,t,n,o,r;return{c(){e=T("div"),t=T("span"),n=ze(i[3]),o=R(),r=T("span"),r.textContent=`${K("waiting_live_second_value")}`,u(t,"class","cell__value v-1qpxtfg"),u(r,"class","cell__unit v-1qpxtfg"),u(e,"class","timer__cell cell v-1qpxtfg")},m(l,s){E(l,e,s),p(e,t),p(t,n),p(e,o),p(e,r)},p(l,s){s&8&&xe(n,l[3])},d(l){l&&P(e)}}}function a_(i){let e,t,n,o,r=i[0]&&Uu(i),l=i[1]&&qu(i),s=i[2]&&ju(i),a=i[3]&&Wu(i);return{c(){e=T("div"),r&&r.c(),t=R(),l&&l.c(),n=R(),s&&s.c(),o=R(),a&&a.c(),u(e,"class","timer__container v-1qpxtfg")},m(c,f){E(c,e,f),r&&r.m(e,null),p(e,t),l&&l.m(e,null),p(e,n),s&&s.m(e,null),p(e,o),a&&a.m(e,null)},p(c,[f]){c[0]?r?r.p(c,f):(r=Uu(c),r.c(),r.m(e,t)):r&&(r.d(1),r=null),c[1]?l?l.p(c,f):(l=qu(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[2]?s?s.p(c,f):(s=ju(c),s.c(),s.m(e,o)):s&&(s.d(1),s=null),c[3]?a?a.p(c,f):(a=Wu(c),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},i:W,o:W,d(c){c&&P(e),r&&r.d(),l&&l.d(),s&&s.d(),a&&a.d()}}}function u_(i,e,t){let{startTime:n}=e,{onTimerOver:o}=e,r,l,s,a,c;const f=b=>String(b).padStart(2,"0"),m=b=>{const v=Math.floor(b/86400);v&&(b-=v*86400,t(0,r=f(v)));const y=Math.floor(b/3600);t(1,l=f(y));const _=Math.floor(b/60)%60;t(2,s=f(_));const C=b%60;t(3,a=f(C))},h=()=>{const b=Math.floor(Date.now()/1e3),v=n-b;m(v),v>=1?c=requestAnimationFrame(h):o()};return hn(()=>{c=requestAnimationFrame(h)}),El(()=>{cancelAnimationFrame(c)}),i.$$set=b=>{"startTime"in b&&t(4,n=b.startTime),"onTimerOver"in b&&t(5,o=b.onTimerOver)},[r,l,s,a,n,o]}class c_ extends ye{constructor(e){super(),we(this,e,u_,a_,_e,{startTime:4,onTimerOver:5},s_)}}function f_(i){let e,t,n,o,r;return{c(){e=B("svg"),t=B("path"),n=B("path"),o=B("path"),r=B("path"),u(t,"fill","#fefffe"),u(t,"d","M179.5-.5h40c85.04 12.447 142.207 59.113 171.5 140 3.816 13.264 6.649 26.597 8.5 40v40c-3.699 34.4-15.533 65.733-35.5 94-6.417-8.409-14.584-14.576-24.5-18.5-1.017-1.049-1.184-2.216-.5-3.5 26.495-41.134 34.161-85.467 23-133-21.84-72.167-70.006-114-144.5-125.5C147.251 28.707 93.084 55.874 55 114.5c-26.93 49.402-29.93 100.068-9 152a152.324 152.324 0 0 0 14 25c.684 1.284.517 2.451-.5 3.5-9.916 3.924-18.083 10.091-24.5 18.5-19.967-28.267-31.8-59.6-35.5-94v-40C11.947 94.46 58.613 37.293 139.5 8c13.264-3.816 26.597-6.649 40-8.5Z"),Rt(t,"opacity",".965"),u(n,"fill","#fefffe"),u(n,"d","M183.5 63.5c57.529-3.65 102.029 18.35 133.5 66 21.628 40.092 24.295 81.425 8 124a186.647 186.647 0 0 1-17.5 29.5 632.842 632.842 0 0 1-38-7c36.445-38.176 42.945-81.01 19.5-128.5-24.178-37.504-58.678-54.337-103.5-50.5-49.5 9.5-79 39-88.5 88.5-3.944 35.587 6.889 65.753 32.5 90.5a1149.466 1149.466 0 0 0-36 7.5c-1.53-.029-2.696-.696-3.5-2-29.298-42.431-34.631-87.764-16-136 21.866-46.852 58.366-74.185 109.5-82Z"),Rt(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"),Rt(o,"opacity",".985"),u(r,"fill","#fefffe"),u(r,"d","M219.5 399.5h-40c-44.969-5.321-83.969-23.321-117-54a31.738 31.738 0 0 1 3.5-10c5.692-6.431 12.526-11.264 20.5-14.5 36.524-12.956 74.191-18.79 113-17.5 38.809-1.29 76.476 4.544 113 17.5 7.974 3.236 14.808 8.069 20.5 14.5a31.731 31.731 0 0 1 3.5 10c-33.031 30.679-72.031 48.679-117 54Z"),Rt(r,"opacity",".986"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 400 400"),u(e,"aria-hidden","true"),u(e,"data-testid","podcast-icon"),Rt(e,"shape-rendering","geometricPrecision"),Rt(e,"text-rendering","geometricPrecision"),Rt(e,"image-rendering","optimizeQuality"),Rt(e,"fill-rule","evenodd"),Rt(e,"clip-rule","evenodd"),Rt(e,"width","100%"),Rt(e,"height","100%")},m(l,s){E(l,e,s),p(e,t),p(e,n),p(e,o),p(e,r)},p:W,i:W,o:W,d(l){l&&P(e)}}}class d_ extends ye{constructor(e){super(),we(this,e,null,f_,_e,{})}}function m_(i){Ue(i,"v-15pewff",".waiting-container.v-15pewff{position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--black);background-position:center;background-size:cover;background-repeat:no-repeat}.waiting-container.v-15pewff::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.56);z-index:1}.upcoming.v-15pewff{position:absolute;top:50%;left:0;width:100%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:0}.upcoming-icon.v-15pewff{width:20%;max-width:200px;margin-bottom:20px}.upcoming__title.v-15pewff{font-size:14px;line-height:1.2;font-weight:400}.waiting-timer.v-15pewff{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2}.timer.v-15pewff{display:flex;flex-direction:column;align-items:center;justify-content:center}.timer__title.v-15pewff{display:inline-block;vertical-align:middle;margin-bottom:12px;font-size:14px;line-height:1.2;font-weight:400}")}function p_(i){let e,t,n,o,r;return o=new c_({props:{startTime:i[1]||0,onTimerOver:i[3]}}),{c(){e=T("div"),t=T("span"),t.textContent=`${K("waiting_live_timer_title")}`,n=R(),q(o.$$.fragment),u(t,"class","timer__title v-15pewff"),u(e,"class","waiting-timer timer v-15pewff")},m(l,s){E(l,e,s),p(e,t),p(e,n),F(o,e,null),r=!0},p(l,s){const a={};s&2&&(a.startTime=l[1]||0),s&4&&(a.onTimerOver=l[3]),o.$set(a)},i(l){r||(d(o.$$.fragment,l),r=!0)},o(l){g(o.$$.fragment,l),r=!1},d(l){l&&P(e),H(o)}}}function h_(i){let e,t,n,o,r,l;return n=new d_({}),{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("span"),r.textContent=`${K("waiting_live_upcoming_title")}`,u(t,"class","upcoming-icon v-15pewff"),u(r,"class","upcoming__title v-15pewff"),u(e,"class","upcoming v-15pewff")},m(s,a){E(s,e,a),p(e,t),F(n,t,null),p(e,o),p(e,r),l=!0},p:W,i(s){l||(d(n.$$.fragment,s),l=!0)},o(s){g(n.$$.fragment,s),l=!1},d(s){s&&P(e),H(n)}}}function v_(i){let e,t,n,o,r;const l=[h_,p_],s=[];function a(c,f){return c[2]?0:1}return t=a(i),n=s[t]=l[t](i),{c(){e=T("div"),n.c(),u(e,"class","waiting-container v-15pewff"),u(e,"style",o=`background-image: url(${i[2]?"":i[0]})`)},m(c,f){E(c,e,f),s[t].m(e,null),r=!0},p(c,[f]){let m=t;t=a(c),t===m?s[t].p(c,f):(pe(),g(s[m],1,1,()=>{s[m]=null}),he(),n=s[t],n?n.p(c,f):(n=s[t]=l[t](c),n.c()),d(n,1),n.m(e,null)),(!r||f&5&&o!==(o=`background-image: url(${c[2]?"":c[0]})`))&&u(e,"style",o)},i(c){r||(d(n),r=!0)},o(c){g(n),r=!1},d(c){c&&P(e),s[t].d()}}}function g_(i,e,t){let n,{thumbUrl:o}=e,{startTime:r}=e;const l=()=>t(2,n=!0);return i.$$set=s=>{"thumbUrl"in s&&t(0,o=s.thumbUrl),"startTime"in s&&t(1,r=s.startTime)},i.$$.update=()=>{i.$$.dirty&2&&t(2,n=r===void 0||r<Math.floor(Date.now()/1e3))},[o,r,n,l]}class Af extends ye{constructor(e){super(),we(this,e,g_,v_,_e,{thumbUrl:0,startTime:1},m_)}}function b_(i){Ue(i,"v-1bcnzdw",".waiting-container.v-1bcnzdw{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:var(--black)}.waiting-title.v-1bcnzdw{padding:20px;text-align:center;font-size:20px;line-height:1.2;font-weight:400}")}function __(i){let e,t;return{c(){e=T("div"),t=T("p"),t.textContent=`${K("waiting_record_title")}`,u(t,"class","waiting-title v-1bcnzdw"),u(e,"class","waiting-container v-1bcnzdw")},m(n,o){E(n,e,o),p(e,t)},p:W,i:W,o:W,d(n){n&&P(e)}}}class Lf extends ye{constructor(e){super(),we(this,e,null,__,_e,{},b_)}}const{window:w_}=L1;function y_(i){Ue(i,"v-1o4wf3x",".player-wrapper.v-1o4wf3x{position:absolute;width:100%;height:100%}.player-wrapper.v-1o4wf3x .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1o4wf3x{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1o4wf3x,.video-container.v-1o4wf3x,.ads-container.v-1o4wf3x{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1o4wf3x{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1o4wf3x{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1o4wf3x{transition:none}.nocursor.v-1o4wf3x{cursor:none}.ads-container.v-1o4wf3x{background:var(--black)}")}function Zu(i){var n;let e,t;return e=new Af({props:{thumbUrl:i[3],startTime:(n=i[5])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&8&&(l.thumbUrl=o[3]),r[0]&32&&(l.startTime=(s=o[5])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function Ku(i){let e,t;return e=new Lf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Gu(i){let e,t,n;return t=new Rc({props:{adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","ads-container v-1o4wf3x"),V(e,"hidden",i[38]!==Oe.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&512&&(l.adsSlotId=o[9]),r[0]&1024&&(l.adsParams=o[10]),r[0]&2048&&(l.adsPreviewParam=o[11]),r[0]&4096&&(l.duration=o[12]),t.$set(l),(!n||r[1]&128)&&V(e,"hidden",o[38]!==Oe.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function Yu(i){let e,t;return e=new q3({props:{title:i[18],thumb:i[19],playNextVideo:i[23]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&262144&&(r.title=n[18]),o[0]&524288&&(r.thumb=n[19]),o[0]&8388608&&(r.playNextVideo=n[23]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Xu(i){let e,t;return e=new r_({props:{title:i[2],isHidden:!i[36]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.title=n[2]),o[1]&32&&(r.isHidden=!n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Qu(i){let e,t;return e=new Cf({props:{isShifted:i[38]===Oe.Video&&i[36]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&160&&(r.isShifted=n[38]===Oe.Video&&n[36]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Ju(i){let e,t,n;return t=new Q1({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","spherical-video-icon v-1o4wf3x")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function xu(i){let e,t;return e=new Pf({props:{thumbUrl:i[3],chromecastDeviceName:i[55]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&8&&(r.thumbUrl=n[3]),o[1]&16777216&&(r.chromecastDeviceName=n[55]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function $u(i){let e,t;return e=new Sf({props:{shifted:i[36],captions:i[57],position:i[58],playerSize:i[34]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[1]&32&&(r.shifted=n[36]),o[1]&67108864&&(r.captions=n[57]),o[1]&134217728&&(r.position=n[58]),o[1]&8&&(r.playerSize=n[34]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function e1(i){let e,t,n,o,r;return t=new Tf({}),{c(){e=T("div"),q(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=[be(e,"contextmenu",ri(i[107])),be(e,"click",ot(i[118]))],o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,nt(r)}}}function t1(i){let e,t;return e=new Kc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function i1(i){let e,t;return e=new cp({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function n1(i){let e,t;return e=new Uc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function o1(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O;e=new Ef({props:{hidden:i[38]!==Oe.Thumb||i[37]||i[93]&&i[6],thumbUrl:i[3],startVideo:i[29]}});let $=i[38]===Oe.WaitingLive&&Zu(i),S=i[38]===Oe.WaitingRecord&&Ku(),D=i[8]&&i[22]&&Gu(i),le=i[31]&&i[18]&&i[19]&&Yu(i),L=i[46]&&Xu(i),se=i[51]&&Qu(i),me=i[54]&&Ju(),ve=i[39]&&xu(i),ue=i[56].value!=="off"&&$u(i),Y=i[37]&&e1(i);function ce(A){i[151](A)}let De={bottomHidden:i[38]===Oe.Thumb||i[38]===Oe.WaitingLive||i[38]===Oe.WaitingRecord,bottomNoSmooth:i[52],showControls:i[36],isAds:i[38]===Oe.Ads,canRewindLive:i[7]&&i[59]!==0,logoClickable:i[13],logoHidden:i[14],videoLogoUrl:i[4],showNextPrevButtons:i[15],nextButtonActive:i[16],prevButtonActive:i[17],isOneVideoPlaylist:i[20],supportLink:i[21],customFullscreenSupported:S_,playNextVideo:i[23],playPrevVideo:i[24],repeatPlaylist:i[25],toggleFullscreen:i[105],returnFocus:i[150],seekToInteractive:i[26],toggleGraph:i[27],playPrevChapter:i[28]};i[41]!==void 0&&(De.controlsElementRef=i[41]),b=new yf({props:De}),ke.push(()=>je(b,"controlsElementRef",ce)),_=new Oc({props:{isLive:i[60],isHidden:!i[45],isPlaying:i[61],position:i[58],duration:i[62]}}),k=new Db({props:{data:i[102]}});function fe(A){i[153](A)}let Ae={supportLink:i[21],returnFocus:i[152],visible:i[33],playerContainerRef:i[40],controlsContainerRef:i[41],x:i[42],y:i[43]};i[32]!==void 0&&(Ae.menuElementRef=i[32]),N=new y3({props:Ae}),ke.push(()=>je(N,"menuElementRef",fe));let Se=i[44]&&t1(),ae=i[63]&&i1(),Te=i[64]&&n1();return{c(){q(e.$$.fragment),t=R(),$&&$.c(),n=R(),S&&S.c(),o=R(),D&&D.c(),r=R(),le&&le.c(),l=R(),L&&L.c(),s=R(),se&&se.c(),a=R(),me&&me.c(),c=R(),ve&&ve.c(),f=R(),ue&&ue.c(),m=R(),Y&&Y.c(),h=R(),q(b.$$.fragment),y=R(),q(_.$$.fragment),C=R(),q(k.$$.fragment),w=R(),q(N.$$.fragment),M=R(),Se&&Se.c(),G=R(),ae&&ae.c(),re=R(),Te&&Te.c(),ie=bt()},m(A,ne){F(e,A,ne),E(A,t,ne),$&&$.m(A,ne),E(A,n,ne),S&&S.m(A,ne),E(A,o,ne),D&&D.m(A,ne),E(A,r,ne),le&&le.m(A,ne),E(A,l,ne),L&&L.m(A,ne),E(A,s,ne),se&&se.m(A,ne),E(A,a,ne),me&&me.m(A,ne),E(A,c,ne),ve&&ve.m(A,ne),E(A,f,ne),ue&&ue.m(A,ne),E(A,m,ne),Y&&Y.m(A,ne),E(A,h,ne),F(b,A,ne),E(A,y,ne),F(_,A,ne),E(A,C,ne),F(k,A,ne),E(A,w,ne),F(N,A,ne),E(A,M,ne),Se&&Se.m(A,ne),E(A,G,ne),ae&&ae.m(A,ne),E(A,re,ne),Te&&Te.m(A,ne),E(A,ie,ne),O=!0},p(A,ne){const Me={};ne[0]&64|ne[1]&192&&(Me.hidden=A[38]!==Oe.Thumb||A[37]||A[93]&&A[6]),ne[0]&8&&(Me.thumbUrl=A[3]),ne[0]&536870912&&(Me.startVideo=A[29]),e.$set(Me),A[38]===Oe.WaitingLive?$?($.p(A,ne),ne[1]&128&&d($,1)):($=Zu(A),$.c(),d($,1),$.m(n.parentNode,n)):$&&(pe(),g($,1,1,()=>{$=null}),he()),A[38]===Oe.WaitingRecord?S?ne[1]&128&&d(S,1):(S=Ku(),S.c(),d(S,1),S.m(o.parentNode,o)):S&&(pe(),g(S,1,1,()=>{S=null}),he()),A[8]&&A[22]?D?(D.p(A,ne),ne[0]&4194560&&d(D,1)):(D=Gu(A),D.c(),d(D,1),D.m(r.parentNode,r)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),A[31]&&A[18]&&A[19]?le?(le.p(A,ne),ne[0]&786432|ne[1]&1&&d(le,1)):(le=Yu(A),le.c(),d(le,1),le.m(l.parentNode,l)):le&&(pe(),g(le,1,1,()=>{le=null}),he()),A[46]?L?(L.p(A,ne),ne[1]&32768&&d(L,1)):(L=Xu(A),L.c(),d(L,1),L.m(s.parentNode,s)):L&&(pe(),g(L,1,1,()=>{L=null}),he()),A[51]?se?(se.p(A,ne),ne[1]&1048576&&d(se,1)):(se=Qu(A),se.c(),d(se,1),se.m(a.parentNode,a)):se&&(pe(),g(se,1,1,()=>{se=null}),he()),A[54]?me?(me.p(A,ne),ne[1]&8388608&&d(me,1)):(me=Ju(),me.c(),d(me,1),me.m(c.parentNode,c)):me&&(pe(),g(me,1,1,()=>{me=null}),he()),A[39]?ve?(ve.p(A,ne),ne[1]&256&&d(ve,1)):(ve=xu(A),ve.c(),d(ve,1),ve.m(f.parentNode,f)):ve&&(pe(),g(ve,1,1,()=>{ve=null}),he()),A[56].value!=="off"?ue?(ue.p(A,ne),ne[1]&33554432&&d(ue,1)):(ue=$u(A),ue.c(),d(ue,1),ue.m(m.parentNode,m)):ue&&(pe(),g(ue,1,1,()=>{ue=null}),he()),A[37]?Y?(Y.p(A,ne),ne[1]&64&&d(Y,1)):(Y=e1(A),Y.c(),d(Y,1),Y.m(h.parentNode,h)):Y&&(pe(),g(Y,1,1,()=>{Y=null}),he());const Ce={};ne[1]&128&&(Ce.bottomHidden=A[38]===Oe.Thumb||A[38]===Oe.WaitingLive||A[38]===Oe.WaitingRecord),ne[1]&2097152&&(Ce.bottomNoSmooth=A[52]),ne[1]&32&&(Ce.showControls=A[36]),ne[1]&128&&(Ce.isAds=A[38]===Oe.Ads),ne[0]&128|ne[1]&268435456&&(Ce.canRewindLive=A[7]&&A[59]!==0),ne[0]&8192&&(Ce.logoClickable=A[13]),ne[0]&16384&&(Ce.logoHidden=A[14]),ne[0]&16&&(Ce.videoLogoUrl=A[4]),ne[0]&32768&&(Ce.showNextPrevButtons=A[15]),ne[0]&65536&&(Ce.nextButtonActive=A[16]),ne[0]&131072&&(Ce.prevButtonActive=A[17]),ne[0]&1048576&&(Ce.isOneVideoPlaylist=A[20]),ne[0]&2097152&&(Ce.supportLink=A[21]),ne[0]&8388608&&(Ce.playNextVideo=A[23]),ne[0]&16777216&&(Ce.playPrevVideo=A[24]),ne[0]&33554432&&(Ce.repeatPlaylist=A[25]),ne[1]&524288&&(Ce.returnFocus=A[150]),ne[0]&67108864&&(Ce.seekToInteractive=A[26]),ne[0]&134217728&&(Ce.toggleGraph=A[27]),ne[0]&268435456&&(Ce.playPrevChapter=A[28]),!v&&ne[1]&1024&&(v=!0,Ce.controlsElementRef=A[41],qe(()=>v=!1)),b.$set(Ce);const Pe={};ne[1]&536870912&&(Pe.isLive=A[60]),ne[1]&16384&&(Pe.isHidden=!A[45]),ne[1]&1073741824&&(Pe.isPlaying=A[61]),ne[1]&134217728&&(Pe.position=A[58]),ne[2]&1&&(Pe.duration=A[62]),_.$set(Pe);const oe={};ne[0]&2097152&&(oe.supportLink=A[21]),ne[1]&524288&&(oe.returnFocus=A[152]),ne[1]&4&&(oe.visible=A[33]),ne[1]&512&&(oe.playerContainerRef=A[40]),ne[1]&1024&&(oe.controlsContainerRef=A[41]),ne[1]&2048&&(oe.x=A[42]),ne[1]&4096&&(oe.y=A[43]),!Q&&ne[1]&2&&(Q=!0,oe.menuElementRef=A[32],qe(()=>Q=!1)),N.$set(oe),A[44]?Se?ne[1]&8192&&d(Se,1):(Se=t1(),Se.c(),d(Se,1),Se.m(G.parentNode,G)):Se&&(pe(),g(Se,1,1,()=>{Se=null}),he()),A[63]?ae?ne[2]&2&&d(ae,1):(ae=i1(),ae.c(),d(ae,1),ae.m(re.parentNode,re)):ae&&(pe(),g(ae,1,1,()=>{ae=null}),he()),A[64]?Te?ne[2]&4&&d(Te,1):(Te=n1(),Te.c(),d(Te,1),Te.m(ie.parentNode,ie)):Te&&(pe(),g(Te,1,1,()=>{Te=null}),he())},i(A){O||(d(e.$$.fragment,A),d($),d(S),d(D),d(le),d(L),d(se),d(me),d(ve),d(ue),d(Y),d(b.$$.fragment,A),d(_.$$.fragment,A),d(k.$$.fragment,A),d(N.$$.fragment,A),d(Se),d(ae),d(Te),O=!0)},o(A){g(e.$$.fragment,A),g($),g(S),g(D),g(le),g(L),g(se),g(me),g(ve),g(ue),g(Y),g(b.$$.fragment,A),g(_.$$.fragment,A),g(k.$$.fragment,A),g(N.$$.fragment,A),g(Se),g(ae),g(Te),O=!1},d(A){A&&(P(t),P(n),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(y),P(C),P(w),P(M),P(G),P(re),P(ie)),H(e,A),$&&$.d(A),S&&S.d(A),D&&D.d(A),le&&le.d(A),L&&L.d(A),se&&se.d(A),me&&me.d(A),ve&&ve.d(A),ue&&ue.d(A),Y&&Y.d(A),H(b,A),H(_,A),H(k,A),H(N,A),Se&&Se.d(A),ae&&ae.d(A),Te&&Te.d(A)}}}function k_(i){let e,t,n,o,r=i[53],l,s,a,c,f=o1(i);return{c(){e=T("div"),t=T("div"),o=R(),f.c(),l=bt(),u(t,"class","video-container v-1o4wf3x"),u(t,"style",n=`transform: rotate(${i[35]}deg) scale(${i[48]})`),V(t,"fast-rotate",!i[1].isSmoothVideoRotate),u(e,"class","video-wrapper v-1o4wf3x"),V(e,"hidden",i[38]!==Oe.Video),V(e,"nocursor",i[47])},m(m,h){E(m,e,h),p(e,t),i[149](t),E(m,o,h),f.m(m,h),E(m,l,h),s=!0,a||(c=[be(e,"contextmenu",ri(i[107])),be(e,"mousedown",ri(i[112])),be(e,"mouseup",ri(i[113])),be(e,"click",ri(i[115])),be(e,"dblclick",ri(i[114]))],a=!0)},p(m,h){(!s||h[1]&131088&&n!==(n=`transform: rotate(${m[35]}deg) scale(${m[48]})`))&&u(t,"style",n),(!s||h[0]&2)&&V(t,"fast-rotate",!m[1].isSmoothVideoRotate),(!s||h[1]&128)&&V(e,"hidden",m[38]!==Oe.Video),(!s||h[1]&65536)&&V(e,"nocursor",m[47]),h[1]&4194304&&_e(r,r=m[53])?(pe(),g(f,1,1,W),he(),f=o1(m),f.c(),d(f,1),f.m(l.parentNode,l)):f.p(m,h)},i(m){s||(d(f),s=!0)},o(m){g(f),s=!1},d(m){m&&(P(e),P(o),P(l)),i[149](null),f.d(m),a=!1,nt(c)}}}function C_(i){let e,t,n,o,r,l,s,a={toggleFullscreen:i[105],hideContextMenu:i[106],showHotKeyHelpers:i[116],showKeyMap:i[117],isAds:i[38]===Oe.Ads,fakePlayButtonHandler:i[49]?i[104]:void 0,$$slots:{default:[k_]},$$scope:{ctx:i}};return t=new K3({props:a}),i[154](t),{c(){e=T("div"),q(t.$$.fragment),n=R(),o=T("div"),u(o,"class","overlay-container"),u(e,"class","player-wrapper v-1o4wf3x")},m(c,f){E(c,e,f),F(t,e,null),p(e,n),p(e,o),i[155](o),i[156](e),r=!0,l||(s=[be(w_,"blur",i[106]),be(e,"mouseenter",i[108]),be(e,"mouseleave",i[110]),be(e,"mousemove",i[111]),be(e,"click",i[119],!0),be(e,"focusin",i[109],!0)],l=!0)},p(c,f){const m={};f[1]&128&&(m.isAds=c[38]===Oe.Ads),f[1]&262144&&(m.fakePlayButtonHandler=c[49]?c[104]:void 0),f[0]&1073741823|f[1]&2147221503|f[2]&7|f[5]&8388608&&(m.$$scope={dirty:f,ctx:c}),t.$set(m)},i(c){r||(d(t.$$.fragment,c),r=!0)},o(c){g(t.$$.fragment,c),r=!1},d(c){c&&P(e),i[154](null),H(t),i[155](null),i[156](null),l=!1,nt(s)}}}let S_=!0;function If(i){return i?i.offsetTop+If(i.offsetParent):0}function P_(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me,ve,ue,Y,ce,De,fe,Ae,Se,{store:ae}=e,{uiConfig:Te}=e,{title:A}=e,{thumbUrl:ne}=e,{videoLogoUrl:Me}=e,{videoContainer:Ce}=e,{interactiveContainer:Pe}=e,{live:oe}=e,{autoplay:X}=e,{canRewindLive:U}=e,{showAds:Be}=e,{adsSlotId:$e=void 0}=e,{adsParams:lt=void 0}=e,{adsPreviewParam:We=void 0}=e,{duration:Ie=void 0}=e,{logoClickable:Je}=e,{logoHidden:mt}=e,{showNextPrevButtons:st=!1}=e,{nextButtonActive:Le=!1}=e,{prevButtonActive:jt=!1}=e,{endScreenVideoTitle:ct=void 0}=e,{endScreenVideoThumb:It=void 0}=e,{isOneVideoPlaylist:Nt=!1}=e,{supportLink:Mt}=e,{outerContainerRef:de=void 0}=e,{playerStarted:Et=!1}=e,{fullScreenTarget:tt=void 0}=e,{showMiniTimer:Pt=!1}=e,{playNextVideo:wt=Ye}=e,{playPrevVideo:pt=Ye}=e,{repeatPlaylist:Xe=Ye}=e,{seekToInteractive:He}=e,{toggleGraph:yt}=e,{playPrevChapter:Ni}=e,{firstStart:Hi}=e;const si=ae.getLogger().createComponentLog("Root component"),Ui=ae.interfaceLanguage$;z(i,Ui,j=>t(53,le=j));const Ji=ae.state.playbackState$;z(i,Ji,j=>t(146,$=j));const Ot=ae.ads.playbackState;z(i,Ot,j=>t(147,S=j));const Wt=ae.state.positionWithScrubbing$;z(i,Wt,j=>t(58,ue=j));const ai=ae.state.duration$;z(i,ai,j=>t(62,fe=j));const Zt=ae.playerPhase;z(i,Zt,j=>t(38,M=j));const pi=ae.ui.isFullscreen;z(i,pi,j=>t(136,m=j));const Dt=ae.ui.controlsVisible;z(i,Dt,j=>t(36,C=j));const Oi=ae.ui.settingsMenuVisible;z(i,Oi,j=>t(134,l=j));const ui=ae.ui.scrubbingInProgress;z(i,ui,j=>t(138,y=j));const Tt=ae.ui.contextMenuVisible;z(i,Tt,j=>t(33,n=j));const Di=ae.ui.debugPanelVisible;z(i,Di,j=>t(64,Se=j));const Pi=ae.state.isLoaderVisible;z(i,Pi,j=>t(148,D=j));const hi=ae.state.isEnded$;z(i,hi,j=>t(135,a=j));const Ti=ae.state.chromecastConnected$;z(i,Ti,j=>t(39,ie=j));const zt=ae.state.chromecastDeviceName$;z(i,zt,j=>t(55,se=j));const ti=ae.ads.postrollPassed;z(i,ti,j=>t(141,N=j));const vi=ae.state.isLive$;z(i,vi,j=>t(60,ce=j));const ci=ae.state.isPlaying$;z(i,ci,j=>t(61,De=j));const Kt=ae.state.crashed$;z(i,Kt,j=>t(37,w=j));const ht=ae.webApi.pictureInPictureApi,it=ae.state.currentSubtitle$;z(i,it,j=>t(56,me=j));const Ft=ae.state.currentSubtitleCaptions$;z(i,Ft,j=>t(57,ve=j));const fi=ae.state.duration$;z(i,fi,j=>t(59,Y=j));const zi=ae.state.graphIsOpened$;z(i,zi,j=>t(142,Q=j));const Ei=ae.ui.playerSize;z(i,Ei,j=>t(34,f=j));const Gt=ae.ui.is3DVideo;z(i,Gt,j=>t(51,c=j));const Yt=ae.ui.icon3DVideoVisible;z(i,Yt,j=>t(54,L=j));const qi=ae.ui.rotateAlpha;z(i,qi,j=>t(35,v=j));const ii=ae.state.isInteractive,ji=ae.state.isInteractiveTime$;z(i,ji,j=>t(139,_=j));const Xt=ae.state.isInteractiveExpectation$;z(i,Xt,j=>t(145,O=j));const Ht=ae.state.hasInteractiveBranches,Qt=ae.ui.touched;z(i,Qt,j=>t(143,G=j));const Ai=ae.ui.modals.hotKeyMap.data;z(i,Ai,j=>t(163,s=j));const At=ae.ui.modals.hotKeyMap.show;z(i,At,j=>t(63,Ae=j));const gi=ae.ui.overlayContainer$,Li=ae.actions.internal.closeSettingsMenu,{fakeIsPlaying$:Wi}=kr();z(i,Wi,j=>t(137,b=j));let bi,Jt,Zi=0,_i=0,Ii,Ne,Ki;Ai.set(U4());let Gi,wi;const Fi=Ve(!1);z(i,Fi,j=>t(52,h=j));let Mi;const di=Ve(!1);z(i,di,j=>t(144,re=j));const Fe=Ve(),Yi=Ve(!1);z(i,Yi,j=>t(140,k=j));let xt=!1,ni=!1,Xi,Vi,fn,nn,Bi,Ri,yi=!1,on,xi=!1;const{toggle:$i}=Wi;let ln=!1,ki=null,te;ht==null||ht.setContext(I1());const et=()=>{X&&!ii&&ft(Te.controls.hideTimeout)};ae.setUiCallbacks({onStarted:et});const Vt=()=>{window.clearTimeout(Ii),di.set(!1)},Qi=()=>{window.clearTimeout(Ne),Fe.set(null)},ft=j=>{Vt(),di.set(!0),Ii=window.setTimeout(()=>di.set(!1),j);const dt=j-100;Mi=window.setTimeout(()=>{h&&Fi.set(!1)},dt>0?dt:j)},rn=(j,dt)=>{Qi(),Fe.set(dt),Ne=window.setTimeout(()=>Fe.set(null),j)},dn=Gt.subscribe(j=>{Yt.set(j),j&&(window.clearTimeout(Ki),Ki=window.setTimeout(()=>Yt.set(!1),Te.controls.hide360IconTimeout))}),sn=async()=>{var dt,un,cn,En;const j=qo();if(j){ft(Te.controls.hideTimeoutFullscreen);try{await(ht==null?void 0:ht.remove())}catch(qn){si({message:String(qn)})}}pi.set(j),ae.getAdmanWrapper().setFullscreen(j),m?(un=(dt=ae.callbacks)==null?void 0:dt.onFullscreenEnter)==null||un.call(dt):(En=(cn=ae.callbacks)==null?void 0:cn.onFullscreenExit)==null||En.call(cn)},an=j=>{const dt=j;Ei.set({width:dt.target.width,height:dt.target.height})};hn(()=>{var dt;return Vc(sn),Pl(ht)&&(ht==null||ht.assignPlayerContainer(bi),ht==null||ht.registryExternalEventHandlers({resize:an})),Pe&&((dt=Ce.parentElement)==null||dt.insertBefore(Pe,Ce.nextSibling)),()=>{window.clearTimeout(Ii),window.clearTimeout(Mi),window.clearTimeout(Ne),window.clearTimeout(Ki),dn(),ht==null||ht.dispose(),Bc(sn)}});const _n=async()=>{if(qo())await Mc(document),si({message:"exit fullscreen"});else{si({message:"request fullscreen"});const j=de!=null?de:bi,dt=j.getRootNode(),un=dt instanceof ShadowRoot?dt.host:dt,cn=tt instanceof HTMLElement&&tt.contains(un),En=Te.allowChangingFullscreenTarget&&tt&&cn?tt:j;await Ic(En)}},x=()=>{Li(),Tt.set(!1)},at=j=>{Tt.set(!0),t(42,Zi=j.clientX),t(43,_i=j.clientY)};function en(){Yi.set(!0),ii||ft(Te.controls.hideTimeoutCursor)}function J(){ii||(Fi.set(!0),ft(Te.controls.hideTimeoutCursor))}function mn(){Yi.set(!1),t(128,ni=!1),t(127,xt=!1),ln=!1,ae.actions.internal.releaseCamera()}function gn(j){if(bi){const dt=If(j.currentTarget),un=f.height,cn=j.pageY-dt;cn<Qr?t(128,ni=!0):cn>un-Qr?t(127,xt=!0):(t(128,ni=!1),l||t(127,xt=!1))}}function eo(j){gn(j),Vi||ft(Te.controls.hideTimeoutCursor),c&&ln&&ki&&ae.actions.internal.moveCameraFocusPX(ki.clientX-j.clientX,ki.clientY-j.clientY,j.timeStamp-ki.timeStamp),ki=j}const to=j=>{j.button===0&&(ln=!0,ae.actions.internal.holdCamera()),ft(Te.controls.hideTimeoutCursor)},io=j=>{j.button===0&&(ki=j,ln=!1,ae.actions.internal.releaseCamera()),ft(Te.controls.hideTimeoutCursor)},no=()=>{si({message:"double click on video"}),_n(),ft(Te.controls.hideTimeoutCursor)},oo=()=>{if(n||l){x();return}if(!(a&&!Ht)){if(xi)return $i();if(te==null||te.focus(),!Et){Hi(),ft(Te.controls.hideTimeoutCursor);return}ae.actions.internal.togglePlay(),ft(Te.controls.hideTimeoutCursor)}},lo=j=>{x(),Qt.set(!0),ft(Te.controls.hideTimeout),j&&rn(Te.controls.hideHotKeyHelpers,j)},ro=()=>{var j,dt;x(),(j=ae.callbacks)!=null&&j.onOpenHotKeyMap?(dt=ae.callbacks)==null||dt.onOpenHotKeyMap(s):At.update(un=>!un)},Vo=()=>{if(n||l){x();return}},Bo=()=>{Qt.set(!0)},pn=ae.ui.contextMenu.openedByKeyboard$;z(i,pn,j=>t(133,r=j));let Yn=ae.ui.contextMenu.btnRef$;z(i,Yn,j=>t(132,o=j));let Hn;function so(j){ke[j?"unshift":"push"](()=>{Ce=j,t(0,Ce)})}const Un=()=>te==null?void 0:te.focus();function ao(j){Jt=j,t(41,Jt)}const uo=()=>te==null?void 0:te.focus();function co(j){Hn=j,t(32,Hn)}function fo(j){ke[j?"unshift":"push"](()=>{te=j,t(50,te)})}function Xn(j){ke[j?"unshift":"push"](()=>{wi=j,t(30,wi)})}function mo(j){ke[j?"unshift":"push"](()=>{bi=j,t(40,bi)})}return i.$$set=j=>{"store"in j&&t(122,ae=j.store),"uiConfig"in j&&t(1,Te=j.uiConfig),"title"in j&&t(2,A=j.title),"thumbUrl"in j&&t(3,ne=j.thumbUrl),"videoLogoUrl"in j&&t(4,Me=j.videoLogoUrl),"videoContainer"in j&&t(0,Ce=j.videoContainer),"interactiveContainer"in j&&t(123,Pe=j.interactiveContainer),"live"in j&&t(5,oe=j.live),"autoplay"in j&&t(6,X=j.autoplay),"canRewindLive"in j&&t(7,U=j.canRewindLive),"showAds"in j&&t(8,Be=j.showAds),"adsSlotId"in j&&t(9,$e=j.adsSlotId),"adsParams"in j&&t(10,lt=j.adsParams),"adsPreviewParam"in j&&t(11,We=j.adsPreviewParam),"duration"in j&&t(12,Ie=j.duration),"logoClickable"in j&&t(13,Je=j.logoClickable),"logoHidden"in j&&t(14,mt=j.logoHidden),"showNextPrevButtons"in j&&t(15,st=j.showNextPrevButtons),"nextButtonActive"in j&&t(16,Le=j.nextButtonActive),"prevButtonActive"in j&&t(17,jt=j.prevButtonActive),"endScreenVideoTitle"in j&&t(18,ct=j.endScreenVideoTitle),"endScreenVideoThumb"in j&&t(19,It=j.endScreenVideoThumb),"isOneVideoPlaylist"in j&&t(20,Nt=j.isOneVideoPlaylist),"supportLink"in j&&t(21,Mt=j.supportLink),"outerContainerRef"in j&&t(124,de=j.outerContainerRef),"playerStarted"in j&&t(22,Et=j.playerStarted),"fullScreenTarget"in j&&t(125,tt=j.fullScreenTarget),"showMiniTimer"in j&&t(126,Pt=j.showMiniTimer),"playNextVideo"in j&&t(23,wt=j.playNextVideo),"playPrevVideo"in j&&t(24,pt=j.playPrevVideo),"repeatPlaylist"in j&&t(25,Xe=j.repeatPlaylist),"seekToInteractive"in j&&t(26,He=j.seekToInteractive),"toggleGraph"in j&&t(27,yt=j.toggleGraph),"playPrevChapter"in j&&t(28,Ni=j.playPrevChapter),"firstStart"in j&&t(29,Hi=j.firstStart)},i.$$.update=()=>{if(i.$$.dirty[1]&192|i.$$.dirty[4]&25165824&&t(44,Gi=(M===Oe.Video&&D||M===Oe.Ads&&S===li.INACTIVE)&&!w),i.$$.dirty[0]&1073741824&&gi.set(wi),i.$$.dirty[4]&4194304&&t(129,Xi=$!==$t.PLAYING),i.$$.dirty[4]&2131e3&&t(130,Vi=_&&!l&&!(xt||ni)&&!(Xi&&!O)),i.$$.dirty[1]&448|i.$$.dirty[4]&1066080&&Dt.set((Xi||l||y||ie||re)&&!Vi&&M===Oe.Video&&!w),i.$$.dirty[0]&2|i.$$.dirty[1]&224|i.$$.dirty[4]&524292&&t(45,fn=Te.features.thumbTimer&&Pt&&M===Oe.Video&&!C&&!w&&!ii&&(Te.hideThumbTimerAfterTouch&&!G||!Te.hideThumbTimerAfterTouch)),i.$$.dirty[1]&128|i.$$.dirty[4]&266240&&t(46,nn=M===Oe.Video&&!Q&&m),i.$$.dirty[0]&256|i.$$.dirty[1]&64|i.$$.dirty[4]&133120&&t(31,Bi=(Be&&N||!Be)&&a&&!w),i.$$.dirty[1]&33|i.$$.dirty[4]&98304&&t(47,Ri=k&&!(C||Bi)&&!_),i.$$.dirty[0]&2|i.$$.dirty[4]&49280&&(!y&&yi&&!_&&ft(Te.controls.hideTimeoutCursor),t(131,yi=y)),i.$$.dirty[0]&1|i.$$.dirty[1]&24&&t(48,on=Ce&&v%180?f.height/f.width:1),i.$$.dirty[4]&8192&&t(49,xi=b!==null),i.$$.dirty[1]&6|i.$$.dirty[4]&512&&Vr(Hn,n,r),i.$$.dirty[1]&4|i.$$.dirty[4]&256){const j=o;j&&Mr(j,n,pn)}},[Ce,Te,A,ne,Me,oe,X,U,Be,$e,lt,We,Ie,Je,mt,st,Le,jt,ct,It,Nt,Mt,Et,wt,pt,Xe,He,yt,Ni,Hi,wi,Bi,Hn,n,f,v,C,w,M,ie,bi,Jt,Zi,_i,Gi,fn,nn,Ri,on,xi,te,c,h,le,L,se,me,ve,ue,Y,ce,De,fe,Ae,Se,Ui,Ji,Ot,Wt,ai,Zt,pi,Dt,Oi,ui,Tt,Di,Pi,hi,Ti,zt,ti,vi,ci,Kt,it,Ft,fi,zi,Ei,Gt,Yt,qi,ii,ji,Xt,Qt,Ai,At,Wi,Fi,di,Fe,Yi,$i,_n,x,at,en,J,mn,eo,to,io,no,oo,lo,ro,Vo,Bo,pn,Yn,ae,Pe,de,tt,Pt,xt,ni,Xi,Vi,yi,o,r,l,a,m,b,y,_,k,N,Q,G,re,O,$,S,D,so,Un,ao,uo,co,fo,Xn,mo]}class T_ extends ye{constructor(e){super(),we(this,e,P_,C_,_e,{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},y_,[-1,-1,-1,-1,-1,-1])}}const E_=i=>{if(!P1(!0))return!1;const e=i.device===_0.iPad||(window==null?void 0:window.screen.width)>700,t=w0();return!e||e&&!!t&&t<16};function A_(i){Ue(i,"v-nhq2ld",".double-click-area.v-nhq2ld{position:absolute;top:0;height:100%;width:25%;overflow:hidden}.double-click-area.left.v-nhq2ld{left:0}.double-click-area.right.v-nhq2ld{right:0}.semicircle.v-nhq2ld{position:absolute;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5)}.semicircle.left.v-nhq2ld{left:0;border-top-right-radius:50%;border-bottom-right-radius:50%}.semicircle.right.v-nhq2ld{right:0;border-top-left-radius:50%;border-bottom-left-radius:50%}.info.v-nhq2ld{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex;flex-direction:column;align-items:center;justify-content:center}.triangles-wrapper.v-nhq2ld{position:relative;display:flex;margin-bottom:10px;justify-content:center}.triangle.v-nhq2ld{width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;animation:v-nhq2ld-blink 500ms infinite;opacity:0}.triangle.right.v-nhq2ld:nth-child(1),.triangle.left.v-nhq2ld:nth-child(3){animation-delay:0ms}.triangle.right.v-nhq2ld:nth-child(2),.triangle.left.v-nhq2ld:nth-child(2){animation-delay:100ms}.triangle.right.v-nhq2ld:nth-child(3),.triangle.left.v-nhq2ld:nth-child(1){animation-delay:200ms}@keyframes v-nhq2ld-blink{0%{opacity:0}50%{opacity:1}100%{opacity:0}}.triangle.left.v-nhq2ld{border-right:8px solid var(--white)}.triangle.right.v-nhq2ld{border-left:8px solid var(--white)}.triangle.v-nhq2ld:not(:last-child){margin-right:5px}.step-caption.v-nhq2ld{margin:0;text-align:center;font-size:12px;line-height:1;color:var(--white)}")}function l1(i){let e,t,n,o,r,l,s,a,c,f,m,h,b,v,y,_=K("doubletap_seek_step",{seconds:i[1].toFixed(0)})+"",C;return{c(){e=T("div"),n=R(),o=T("div"),r=T("div"),l=T("div"),a=R(),c=T("div"),m=R(),h=T("div"),v=R(),y=T("p"),C=ze(_),u(e,"class",t="semicircle "+i[0]+" v-nhq2ld"),u(l,"class",s="triangle "+i[0]+" v-nhq2ld"),u(c,"class",f="triangle "+i[0]+" v-nhq2ld"),u(h,"class",b="triangle "+i[0]+" v-nhq2ld"),u(r,"class","triangles-wrapper v-nhq2ld"),u(y,"class","step-caption v-nhq2ld"),u(o,"class","info v-nhq2ld")},m(k,w){E(k,e,w),E(k,n,w),E(k,o,w),p(o,r),p(r,l),p(r,a),p(r,c),p(r,m),p(r,h),p(o,v),p(o,y),p(y,C)},p(k,w){w&1&&t!==(t="semicircle "+k[0]+" v-nhq2ld")&&u(e,"class",t),w&1&&s!==(s="triangle "+k[0]+" v-nhq2ld")&&u(l,"class",s),w&1&&f!==(f="triangle "+k[0]+" v-nhq2ld")&&u(c,"class",f),w&1&&b!==(b="triangle "+k[0]+" v-nhq2ld")&&u(h,"class",b),w&2&&_!==(_=K("doubletap_seek_step",{seconds:k[1].toFixed(0)})+"")&&xe(C,_)},d(k){k&&(P(e),P(n),P(o))}}}function L_(i){let e,t,n,o,r=i[2]&&l1(i);return{c(){e=T("div"),r&&r.c(),u(e,"class",t="double-click-area "+i[0]+" v-nhq2ld")},m(l,s){E(l,e,s),r&&r.m(e,null),n||(o=be(e,"click",ot(i[3]())),n=!0)},p(l,[s]){l[2]?r?r.p(l,s):(r=l1(l),r.c(),r.m(e,null)):r&&(r.d(1),r=null),s&1&&t!==(t="double-click-area "+l[0]+" v-nhq2ld")&&u(e,"class",t)},i:W,o:W,d(l){l&&P(e),r&&r.d(),n=!1,o()}}}function I_(i,e,t){let{side:n}=e,{seekStep:o}=e,{handleSingleFirstClick:r}=e,{handleSecondClick:l}=e,s=!1,a=0,c=0;const f=()=>{let h=0;return()=>{h+=1,h===1?a=window.setTimeout(()=>{r(),h=0},300):(window.clearTimeout(a),h=0,l(),t(2,s=!0),c=window.setTimeout(()=>{t(2,s=!1)},500))}};return El(()=>{window.clearTimeout(a),window.clearTimeout(c)}),i.$$set=m=>{"side"in m&&t(0,n=m.side),"seekStep"in m&&t(1,o=m.seekStep),"handleSingleFirstClick"in m&&t(4,r=m.handleSingleFirstClick),"handleSecondClick"in m&&t(5,l=m.handleSecondClick)},[n,o,s,f,r,l]}class Mf extends ye{constructor(e){super(),we(this,e,I_,L_,_e,{side:0,seekStep:1,handleSingleFirstClick:4,handleSecondClick:5},A_)}}function M_(i,e,t){let{playNextVideo:n}=e;return hn(()=>{n()}),i.$$set=o=>{"playNextVideo"in o&&t(0,n=o.playNextVideo)},[n]}class V_ extends ye{constructor(e){super(),we(this,e,M_,null,_e,{playNextVideo:0})}}const{window:B_}=L1;function R_(i){Ue(i,"v-1jy89ut",".player-wrapper.v-1jy89ut{position:absolute;width:100%;height:100%}.player-wrapper.v-1jy89ut .player-media{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--black);transition:transform 0.2s ease-in-out}.spherical-video-icon.v-1jy89ut{display:inline-block;position:absolute;top:calc(50% - 23px);left:calc(50% - 38px)}.video-wrapper.v-1jy89ut,.video-container.v-1jy89ut,.ads-container.v-1jy89ut{position:absolute;width:100%;height:100%;left:0;top:0}.video-wrapper.v-1jy89ut{z-index:var(--video-container-z-index);background:var(--black)}.video-container.v-1jy89ut{z-index:var(--video-container-z-index);transition:var(--rotate-transition-duration) ease all}.video-container.fast-rotate.v-1jy89ut{transition:none}.ads-container.v-1jy89ut{background:var(--black)}")}function r1(i){let e,t,n,o;e=new Mf({props:{side:"left",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[127]}});let r=!i[48]&&s1(i);return{c(){q(e.$$.fragment),t=R(),r&&r.c(),n=bt()},m(l,s){F(e,l,s),E(l,t,s),r&&r.m(l,s),E(l,n,s),o=!0},p(l,s){const a={};s[0]&2&&(a.seekStep=l[1].controls.seekStepMobile/1e3),e.$set(a),l[48]?r&&(pe(),g(r,1,1,()=>{r=null}),he()):r?(r.p(l,s),s[1]&131072&&d(r,1)):(r=s1(l),r.c(),d(r,1),r.m(n.parentNode,n))},i(l){o||(d(e.$$.fragment,l),d(r),o=!0)},o(l){g(e.$$.fragment,l),g(r),o=!1},d(l){l&&(P(t),P(n)),H(e,l),r&&r.d(l)}}}function s1(i){let e,t;return e=new Mf({props:{side:"right",seekStep:i[1].controls.seekStepMobile/1e3,handleSingleFirstClick:i[99],handleSecondClick:i[128]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&2&&(r.seekStep=n[1].controls.seekStepMobile/1e3),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function a1(i){var n;let e,t;return e=new Af({props:{thumbUrl:i[2],startTime:(n=i[4])==null?void 0:n.startTime}}),{c(){q(e.$$.fragment)},m(o,r){F(e,o,r),t=!0},p(o,r){var s;const l={};r[0]&4&&(l.thumbUrl=o[2]),r[0]&16&&(l.startTime=(s=o[4])==null?void 0:s.startTime),e.$set(l)},i(o){t||(d(e.$$.fragment,o),t=!0)},o(o){g(e.$$.fragment,o),t=!1},d(o){H(e,o)}}}function u1(i){let e,t;return e=new Lf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function c1(i){let e,t,n;return t=new Rc({props:{adsSlotId:i[8],adsParams:i[9],adsPreviewParam:i[10],duration:i[11]}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","ads-container v-1jy89ut"),V(e,"hidden",i[34]!==Oe.Ads)},m(o,r){E(o,e,r),F(t,e,null),n=!0},p(o,r){const l={};r[0]&256&&(l.adsSlotId=o[8]),r[0]&512&&(l.adsParams=o[9]),r[0]&1024&&(l.adsPreviewParam=o[10]),r[0]&2048&&(l.duration=o[11]),t.$set(l),(!n||r[1]&8)&&V(e,"hidden",o[34]!==Oe.Ads)},i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function f1(i){let e,t;return e=new V_({props:{playNextVideo:i[22]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4194304&&(r.playNextVideo=n[22]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function d1(i){let e,t;return e=new Cf({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function m1(i){let e,t,n;return t=new Q1({props:{ariaLabel:K("video360")}}),{c(){e=T("div"),q(t.$$.fragment),u(e,"class","spherical-video-icon v-1jy89ut")},m(o,r){E(o,e,r),F(t,e,null),n=!0},p:W,i(o){n||(d(t.$$.fragment,o),n=!0)},o(o){g(t.$$.fragment,o),n=!1},d(o){o&&P(e),H(t)}}}function p1(i){let e,t;return e=new Pf({props:{thumbUrl:i[2],chromecastDeviceName:i[51]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&4&&(r.thumbUrl=n[2]),o[1]&1048576&&(r.chromecastDeviceName=n[51]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function h1(i){let e,t;return e=new Sf({props:{shifted:i[30],captions:i[53],position:i[44],playerSize:i[31],isMobile:!0}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o[0]&1073741824&&(r.shifted=n[30]),o[1]&4194304&&(r.captions=n[53]),o[1]&8192&&(r.position=n[44]),o[1]&1&&(r.playerSize=n[31]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function v1(i){let e,t,n,o,r;return t=new Tf({}),{c(){e=T("div"),q(t.$$.fragment)},m(l,s){E(l,e,s),F(t,e,null),n=!0,o||(r=be(e,"click",ot(i[100])),o=!0)},p:W,i(l){n||(d(t.$$.fragment,l),n=!0)},o(l){g(t.$$.fragment,l),n=!1},d(l){l&&P(e),H(t),o=!1,r()}}}function g1(i){let e,t;return e=new Kc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function b1(i){let e,t;return e=new Uc({}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function _1(i){let e,t,n=i[6]&&i[78]&&!i[47].has(ut.TIMELINE),o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q;e=new Ef({props:{hidden:i[34]!==Oe.Thumb||i[33]||i[89]&&i[5],thumbUrl:i[2],startVideo:i[28]}});let M=n&&r1(i),G=i[34]===Oe.WaitingLive&&a1(i),re=i[34]===Oe.WaitingRecord&&u1(),ie=i[7]&&i[21]&&c1(i),O=i[41]&&i[17]&&i[18]&&f1(i),$=i[49]&&d1(),S=i[50]&&m1(),D=i[35]&&p1(i),le=i[52].value!=="off"&&h1(i),L=i[33]&&v1(i);function se(Y){i[129](Y)}let me={bottomHidden:i[34]===Oe.Thumb||i[34]===Oe.WaitingLive||i[34]===Oe.WaitingRecord||i[34]===Oe.Ads,showControls:i[30],bottomNoSmooth:i[45],isAds:i[34]===Oe.Ads,canRewindLive:i[6]&&i[54]!==0,logoClickable:i[12],logoHidden:i[13],videoLogoUrl:i[3],showNextPrevButtons:i[14],nextButtonActive:i[15],prevButtonActive:i[16],isOneVideoPlaylist:i[19],supportLink:i[20],customFullscreenSupported:i[39],playNextVideo:i[22],playPrevVideo:i[23],repeatPlaylist:i[24],toggleFullscreen:i[97],seekToInteractive:i[25],toggleGraph:i[26],playPrevChapter:i[27]};i[37]!==void 0&&(me.controlsElementRef=i[37]),v=new yf({props:me}),ke.push(()=>je(v,"controlsElementRef",se)),C=new Oc({props:{isLive:i[55],isHidden:!i[40],isPlaying:i[56],position:i[44],duration:i[43]}});let ve=i[38]&&g1(),ue=i[57]&&b1();return{c(){q(e.$$.fragment),t=R(),M&&M.c(),o=R(),G&&G.c(),r=R(),re&&re.c(),l=R(),ie&&ie.c(),s=R(),O&&O.c(),a=R(),$&&$.c(),c=R(),S&&S.c(),f=R(),D&&D.c(),m=R(),le&&le.c(),h=R(),L&&L.c(),b=R(),q(v.$$.fragment),_=R(),q(C.$$.fragment),k=R(),ve&&ve.c(),w=R(),ue&&ue.c(),N=bt()},m(Y,ce){F(e,Y,ce),E(Y,t,ce),M&&M.m(Y,ce),E(Y,o,ce),G&&G.m(Y,ce),E(Y,r,ce),re&&re.m(Y,ce),E(Y,l,ce),ie&&ie.m(Y,ce),E(Y,s,ce),O&&O.m(Y,ce),E(Y,a,ce),$&&$.m(Y,ce),E(Y,c,ce),S&&S.m(Y,ce),E(Y,f,ce),D&&D.m(Y,ce),E(Y,m,ce),le&&le.m(Y,ce),E(Y,h,ce),L&&L.m(Y,ce),E(Y,b,ce),F(v,Y,ce),E(Y,_,ce),F(C,Y,ce),E(Y,k,ce),ve&&ve.m(Y,ce),E(Y,w,ce),ue&&ue.m(Y,ce),E(Y,N,ce),Q=!0},p(Y,ce){const De={};ce[0]&32|ce[1]&12&&(De.hidden=Y[34]!==Oe.Thumb||Y[33]||Y[89]&&Y[5]),ce[0]&4&&(De.thumbUrl=Y[2]),ce[0]&268435456&&(De.startVideo=Y[28]),e.$set(De),ce[0]&64|ce[1]&65536&&(n=Y[6]&&Y[78]&&!Y[47].has(ut.TIMELINE)),n?M?(M.p(Y,ce),ce[0]&64|ce[1]&65536&&d(M,1)):(M=r1(Y),M.c(),d(M,1),M.m(o.parentNode,o)):M&&(pe(),g(M,1,1,()=>{M=null}),he()),Y[34]===Oe.WaitingLive?G?(G.p(Y,ce),ce[1]&8&&d(G,1)):(G=a1(Y),G.c(),d(G,1),G.m(r.parentNode,r)):G&&(pe(),g(G,1,1,()=>{G=null}),he()),Y[34]===Oe.WaitingRecord?re?ce[1]&8&&d(re,1):(re=u1(),re.c(),d(re,1),re.m(l.parentNode,l)):re&&(pe(),g(re,1,1,()=>{re=null}),he()),Y[7]&&Y[21]?ie?(ie.p(Y,ce),ce[0]&2097280&&d(ie,1)):(ie=c1(Y),ie.c(),d(ie,1),ie.m(s.parentNode,s)):ie&&(pe(),g(ie,1,1,()=>{ie=null}),he()),Y[41]&&Y[17]&&Y[18]?O?(O.p(Y,ce),ce[0]&393216|ce[1]&1024&&d(O,1)):(O=f1(Y),O.c(),d(O,1),O.m(a.parentNode,a)):O&&(pe(),g(O,1,1,()=>{O=null}),he()),Y[49]?$?ce[1]&262144&&d($,1):($=d1(),$.c(),d($,1),$.m(c.parentNode,c)):$&&(pe(),g($,1,1,()=>{$=null}),he()),Y[50]?S?(S.p(Y,ce),ce[1]&524288&&d(S,1)):(S=m1(),S.c(),d(S,1),S.m(f.parentNode,f)):S&&(pe(),g(S,1,1,()=>{S=null}),he()),Y[35]?D?(D.p(Y,ce),ce[1]&16&&d(D,1)):(D=p1(Y),D.c(),d(D,1),D.m(m.parentNode,m)):D&&(pe(),g(D,1,1,()=>{D=null}),he()),Y[52].value!=="off"?le?(le.p(Y,ce),ce[1]&2097152&&d(le,1)):(le=h1(Y),le.c(),d(le,1),le.m(h.parentNode,h)):le&&(pe(),g(le,1,1,()=>{le=null}),he()),Y[33]?L?(L.p(Y,ce),ce[1]&4&&d(L,1)):(L=v1(Y),L.c(),d(L,1),L.m(b.parentNode,b)):L&&(pe(),g(L,1,1,()=>{L=null}),he());const fe={};ce[1]&8&&(fe.bottomHidden=Y[34]===Oe.Thumb||Y[34]===Oe.WaitingLive||Y[34]===Oe.WaitingRecord||Y[34]===Oe.Ads),ce[0]&1073741824&&(fe.showControls=Y[30]),ce[1]&16384&&(fe.bottomNoSmooth=Y[45]),ce[1]&8&&(fe.isAds=Y[34]===Oe.Ads),ce[0]&64|ce[1]&8388608&&(fe.canRewindLive=Y[6]&&Y[54]!==0),ce[0]&4096&&(fe.logoClickable=Y[12]),ce[0]&8192&&(fe.logoHidden=Y[13]),ce[0]&8&&(fe.videoLogoUrl=Y[3]),ce[0]&16384&&(fe.showNextPrevButtons=Y[14]),ce[0]&32768&&(fe.nextButtonActive=Y[15]),ce[0]&65536&&(fe.prevButtonActive=Y[16]),ce[0]&524288&&(fe.isOneVideoPlaylist=Y[19]),ce[0]&1048576&&(fe.supportLink=Y[20]),ce[1]&256&&(fe.customFullscreenSupported=Y[39]),ce[0]&4194304&&(fe.playNextVideo=Y[22]),ce[0]&8388608&&(fe.playPrevVideo=Y[23]),ce[0]&16777216&&(fe.repeatPlaylist=Y[24]),ce[0]&33554432&&(fe.seekToInteractive=Y[25]),ce[0]&67108864&&(fe.toggleGraph=Y[26]),ce[0]&134217728&&(fe.playPrevChapter=Y[27]),!y&&ce[1]&64&&(y=!0,fe.controlsElementRef=Y[37],qe(()=>y=!1)),v.$set(fe);const Ae={};ce[1]&16777216&&(Ae.isLive=Y[55]),ce[1]&512&&(Ae.isHidden=!Y[40]),ce[1]&33554432&&(Ae.isPlaying=Y[56]),ce[1]&8192&&(Ae.position=Y[44]),ce[1]&4096&&(Ae.duration=Y[43]),C.$set(Ae),Y[38]?ve?ce[1]&128&&d(ve,1):(ve=g1(),ve.c(),d(ve,1),ve.m(w.parentNode,w)):ve&&(pe(),g(ve,1,1,()=>{ve=null}),he()),Y[57]?ue?ce[1]&67108864&&d(ue,1):(ue=b1(),ue.c(),d(ue,1),ue.m(N.parentNode,N)):ue&&(pe(),g(ue,1,1,()=>{ue=null}),he())},i(Y){Q||(d(e.$$.fragment,Y),d(M),d(G),d(re),d(ie),d(O),d($),d(S),d(D),d(le),d(L),d(v.$$.fragment,Y),d(C.$$.fragment,Y),d(ve),d(ue),Q=!0)},o(Y){g(e.$$.fragment,Y),g(M),g(G),g(re),g(ie),g(O),g($),g(S),g(D),g(le),g(L),g(v.$$.fragment,Y),g(C.$$.fragment,Y),g(ve),g(ue),Q=!1},d(Y){Y&&(P(t),P(o),P(r),P(l),P(s),P(a),P(c),P(f),P(m),P(h),P(b),P(_),P(k),P(w),P(N)),H(e,Y),M&&M.d(Y),G&&G.d(Y),re&&re.d(Y),ie&&ie.d(Y),O&&O.d(Y),$&&$.d(Y),S&&S.d(Y),D&&D.d(Y),le&&le.d(Y),L&&L.d(Y),H(v,Y),H(C,Y),ve&&ve.d(Y),ue&&ue.d(Y)}}}function N_(i){let e,t,n,o,r,l=i[46],s,a,c,f,m,h=_1(i);return{c(){e=T("div"),t=T("div"),n=T("div"),r=R(),h.c(),s=R(),a=T("div"),u(n,"class","video-container v-1jy89ut"),u(n,"style",o=`transform: rotate(${i[32]}deg) scale(${i[42]})`),V(n,"fast-rotate",!i[1].isSmoothVideoRotate),u(t,"class","video-wrapper v-1jy89ut"),V(t,"hidden",i[34]!==Oe.Video),u(a,"class","overlay-container"),u(e,"class","player-wrapper v-1jy89ut")},m(b,v){E(b,e,v),p(e,t),p(t,n),i[126](n),p(e,r),h.m(e,null),p(e,s),p(e,a),i[130](a),i[131](e),c=!0,f||(m=[be(B_,"blur",i[98]),be(t,"click",ri(i[99])),be(e,"click",i[101],!0),be(e,"focusin",i[102],!0)],f=!0)},p(b,v){(!c||v[1]&2050&&o!==(o=`transform: rotate(${b[32]}deg) scale(${b[42]})`))&&u(n,"style",o),(!c||v[0]&2)&&V(n,"fast-rotate",!b[1].isSmoothVideoRotate),(!c||v[1]&8)&&V(t,"hidden",b[34]!==Oe.Video),v[1]&32768&&_e(l,l=b[46])?(pe(),g(h,1,1,W),he(),h=_1(b),h.c(),d(h,1),h.m(e,s)):h.p(b,v)},i(b){c||(d(h),c=!0)},o(b){g(h),c=!1},d(b){b&&P(e),i[126](null),h.d(b),i[130](null),i[131](null),f=!1,nt(m)}}}function O_(i,e,t){let n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me,ve,ue,Y,ce,De,{store:fe}=e,{uiConfig:Ae}=e,{thumbUrl:Se}=e,{videoLogoUrl:ae}=e,{videoContainer:Te}=e,{interactiveContainer:A}=e,{live:ne}=e,{autoplay:Me}=e,{canRewindLive:Ce}=e,{showAds:Pe}=e,{adsSlotId:oe=void 0}=e,{adsParams:X=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Be=void 0}=e,{logoClickable:$e}=e,{logoHidden:lt}=e,{showNextPrevButtons:We=!1}=e,{nextButtonActive:Ie=!1}=e,{prevButtonActive:Je=!1}=e,{endScreenVideoTitle:mt=void 0}=e,{endScreenVideoThumb:st=void 0}=e,{isOneVideoPlaylist:Le=!1}=e,{supportLink:jt}=e,{outerContainerRef:ct=void 0}=e,{showMiniTimer:It=!1}=e,{fullScreenTarget:Nt=void 0}=e,{playerStarted:Mt=!1}=e,{playNextVideo:de=Ye}=e,{playPrevVideo:Et=Ye}=e,{repeatPlaylist:tt=Ye}=e,{seekToInteractive:Pt}=e,{toggleGraph:wt}=e,{playPrevChapter:pt}=e,{firstStart:Xe}=e,{seekTime:He}=e;const yt=fe.getLogger().createComponentLog("Root component"),Ni=fe.interfaceLanguage$;z(i,Ni,x=>t(46,$=x));const Hi=fe.state.playbackState$;z(i,Hi,x=>t(123,re=x));const si=fe.ads.playbackState;z(i,si,x=>t(124,ie=x));const Ui=fe.state.positionWithScrubbing$;z(i,Ui,x=>t(44,l=x));const Ji=fe.state.duration$;z(i,Ji,x=>t(43,r=x));const Ot=fe.playerPhase;z(i,Ot,x=>t(34,N=x));const Wt=fe.ui.isFullscreen;z(i,Wt,x=>t(137,a=x));const ai=fe.ui.controlsVisible;z(i,ai,x=>t(30,o=x));const Zt=fe.ui.interactiveHideMobileControls;z(i,Zt,x=>t(115,h=x));const pi=fe.ui.settingsMenuVisible;z(i,pi,x=>t(114,n=x));const Dt=fe.ui.scrubbingInProgress;z(i,Dt,x=>t(116,v=x));const Oi=fe.ui.debugPanelVisible;z(i,Oi,x=>t(57,De=x));const ui=fe.state.isLoaderVisible;z(i,ui,x=>t(125,O=x));const Tt=fe.state.isEnded$;z(i,Tt,x=>t(118,C=x));const Di=fe.state.chromecastConnected$;z(i,Di,x=>t(35,Q=x));const Pi=fe.state.chromecastDeviceName$;z(i,Pi,x=>t(51,se=x));const hi=fe.ads.postrollPassed;z(i,hi,x=>t(119,k=x));const Ti=fe.ui.mobileUnmuteButtonExpanded,zt=fe.ui.mobileUnmuteButtonVisible,ti=fe.state.isLive$;z(i,ti,x=>t(55,Y=x));const vi=fe.state.isPlaying$;z(i,vi,x=>t(56,ce=x));const ci=fe.state.isActiveLive$;z(i,ci,x=>t(48,D=x));const Kt=fe.state.isRewindableLive$,ht=fe.state.crashed$;z(i,ht,x=>t(33,_=x));const it=fe.webApi.pictureInPictureApi,Ft=fe.state.videoSize$;z(i,Ft,x=>t(138,f=x));const fi=fe.state.currentSubtitle$;z(i,fi,x=>t(52,me=x));const zi=fe.state.currentSubtitleCaptions$;z(i,zi,x=>t(53,ve=x));const Ei=fe.state.duration$;z(i,Ei,x=>t(54,ue=x));const Gt=fe.state.graphIsOpened$;z(i,Gt,x=>t(122,G=x));const Yt=fe.ui.playerSize;z(i,Yt,x=>t(31,c=x));const qi=fe.ui.is3DVideo;z(i,qi,x=>t(49,le=x));const ii=fe.ui.icon3DVideoVisible;z(i,ii,x=>t(50,L=x));const ji=fe.ui.rotateAlpha;z(i,ji,x=>t(32,b=x));const Xt=fe.state.isInteractive,Ht=fe.state.isInteractiveTime$;z(i,Ht,x=>t(117,y=x));const Qt=fe.state.isInteractiveExpectation$;z(i,Qt,x=>t(121,M=x));const Ai=fe.state.hasInteractiveBranches,At=fe.ui.controls.disabledControls$;z(i,At,x=>t(47,S=x));const gi=fe.ui.touched;z(i,gi,x=>t(120,w=x));const Li=fe.ui.clientInfo$;z(i,Li,x=>t(136,s=x));const Wi=fe.ui.overlayContainer$,bi=fe.actions.internal.closeSettingsMenu;let Jt,Zi,_i,Ii,Ne,Ki,Gi;const wi=Ve(!1);z(i,wi,x=>t(45,m=x));let Fi,Mi=!1,di,Fe=!1,Yi,xt=!0,ni,Xi,Vi=!1,fn;it==null||it.setContext(I1());const nn=x=>{clearTimeout(Ii),x&&(zt.set(!0),Ti.set(!0),Ii=window.setTimeout(()=>{Ti.set(!1)},Ae.controls.collapseMobileUnmute),Xt||Ri(Ae.controls.hideTimeoutMobile))};fe.setUiCallbacks({onStarted:nn});const Bi=()=>{window.clearTimeout(_i),t(109,Mi=!1),h&&Zt.set(!1)},Ri=x=>{Bi(),t(109,Mi=!0),_i=window.setTimeout(()=>t(109,Mi=!1),x);const at=x-100;Fi=window.setTimeout(()=>{m&&wi.set(!1)},at>0?at:x)},yi=qi.subscribe(x=>{ii.set(x),x&&(window.clearTimeout(Ne),Ne=window.setTimeout(()=>ii.set(!1),Ae.controls.hide360IconTimeout))}),on=async()=>{var at,en,J,mn;const x=qo();if(x){Ri(Ae.controls.hideTimeoutFullscreen);try{await(it==null?void 0:it.remove())}catch(gn){yt({message:String(gn)})}try{const gn=f!=null&&f.width&&(f!=null&&f.height)?f:c;await H4(gn)}catch(gn){yt({message:String(gn)})}}Wt.set(x),fe.getAdmanWrapper().setFullscreen(x),a?(en=(at=fe.callbacks)==null?void 0:at.onFullscreenEnter)==null||en.call(at):(mn=(J=fe.callbacks)==null?void 0:J.onFullscreenExit)==null||mn.call(J)},xi=x=>{const at=x;Yt.set({width:at.target.width,height:at.target.height})};hn(()=>{var at;return Vc(on),Pl(it)&&(it==null||it.assignPlayerContainer(Jt),it==null||it.registryExternalEventHandlers({resize:xi})),t(39,xt=!E_(s)),A&&((at=Te.parentElement)==null||at.insertBefore(A,Te.nextSibling)),()=>{window.clearTimeout(_i),window.clearTimeout(Fi),window.clearTimeout(Ii),window.clearTimeout(Ne),yi(),it==null||it.dispose(),Bc(on)}});const $i=x=>{let at=l+(x==="forward"?1:-1)*Ae.controls.seekStepMobile/1e3;at<0?at=0:at>r&&(at=r-1),t(111,Fe=!0),He(at)},ln=async()=>{if(qo())await Mc(document),yt({message:"exit fullscreen"});else{yt({message:"request fullscreen"});const x=ct!=null?ct:Jt,at=x.getRootNode(),en=at instanceof ShadowRoot?at.host:at,J=Nt instanceof HTMLElement&&Nt.contains(en),mn=Ae.allowChangingFullscreenTarget&&Nt&&J?Nt:x;await Ic(mn)}},ki=()=>{bi()},te=()=>{if(n){ki();return}if(!Mt){Xe(),Ri(Ae.controls.hideTimeoutCursor);return}t(111,Fe=!1),o?Bi():Ri(Ae.controls.hideTimeoutMobile)},et=()=>{if(n){ki();return}},Vt=()=>{gi.set(!0)},Qi=()=>{Xt||(wi.set(!0),Ri(Ae.controls.hideTimeoutCursor))};function ft(x){ke[x?"unshift":"push"](()=>{Te=x,t(0,Te)})}const rn=()=>$i("backward"),dn=()=>$i("forward");function sn(x){Zi=x,t(37,Zi)}function an(x){ke[x?"unshift":"push"](()=>{Gi=x,t(29,Gi)})}function _n(x){ke[x?"unshift":"push"](()=>{Jt=x,t(36,Jt)})}return i.$$set=x=>{"store"in x&&t(103,fe=x.store),"uiConfig"in x&&t(1,Ae=x.uiConfig),"thumbUrl"in x&&t(2,Se=x.thumbUrl),"videoLogoUrl"in x&&t(3,ae=x.videoLogoUrl),"videoContainer"in x&&t(0,Te=x.videoContainer),"interactiveContainer"in x&&t(104,A=x.interactiveContainer),"live"in x&&t(4,ne=x.live),"autoplay"in x&&t(5,Me=x.autoplay),"canRewindLive"in x&&t(6,Ce=x.canRewindLive),"showAds"in x&&t(7,Pe=x.showAds),"adsSlotId"in x&&t(8,oe=x.adsSlotId),"adsParams"in x&&t(9,X=x.adsParams),"adsPreviewParam"in x&&t(10,U=x.adsPreviewParam),"duration"in x&&t(11,Be=x.duration),"logoClickable"in x&&t(12,$e=x.logoClickable),"logoHidden"in x&&t(13,lt=x.logoHidden),"showNextPrevButtons"in x&&t(14,We=x.showNextPrevButtons),"nextButtonActive"in x&&t(15,Ie=x.nextButtonActive),"prevButtonActive"in x&&t(16,Je=x.prevButtonActive),"endScreenVideoTitle"in x&&t(17,mt=x.endScreenVideoTitle),"endScreenVideoThumb"in x&&t(18,st=x.endScreenVideoThumb),"isOneVideoPlaylist"in x&&t(19,Le=x.isOneVideoPlaylist),"supportLink"in x&&t(20,jt=x.supportLink),"outerContainerRef"in x&&t(105,ct=x.outerContainerRef),"showMiniTimer"in x&&t(106,It=x.showMiniTimer),"fullScreenTarget"in x&&t(107,Nt=x.fullScreenTarget),"playerStarted"in x&&t(21,Mt=x.playerStarted),"playNextVideo"in x&&t(22,de=x.playNextVideo),"playPrevVideo"in x&&t(23,Et=x.playPrevVideo),"repeatPlaylist"in x&&t(24,tt=x.repeatPlaylist),"seekToInteractive"in x&&t(25,Pt=x.seekToInteractive),"toggleGraph"in x&&t(26,wt=x.toggleGraph),"playPrevChapter"in x&&t(27,pt=x.playPrevChapter),"firstStart"in x&&t(28,Xe=x.firstStart),"seekTime"in x&&t(108,He=x.seekTime)},i.$$.update=()=>{i.$$.dirty[1]&12|i.$$.dirty[4]&3&&t(38,Ki=(N===Oe.Video&&O||N===Oe.Ads&&ie===li.INACTIVE)&&!_),i.$$.dirty[0]&536870912&&Wi.set(Gi),i.$$.dirty[3]&1073741824&&t(110,di=re!==$t.PLAYING),i.$$.dirty[3]&843251712&&t(112,Yi=G||h||!Mi&&(C&&!!Ai||di&&M)),i.$$.dirty[1]&28|i.$$.dirty[3]&11468800&&ai.set((di||n||v||Q||Mi&&!Fe)&&!Yi&&N===Oe.Video&&!_),i.$$.dirty[0]&1073741826|i.$$.dirty[1]&12|i.$$.dirty[3]&134225920&&t(40,ni=Ae.features.thumbTimer&&It&&N===Oe.Video&&!o&&!_&&!Xt&&(Ae.hideThumbTimerAfterTouch&&!w||!Ae.hideThumbTimerAfterTouch)),i.$$.dirty[0]&128|i.$$.dirty[1]&4|i.$$.dirty[3]&100663296&&t(41,Xi=(Pe&&k||!Pe)&&C&&!_),i.$$.dirty[0]&2|i.$$.dirty[3]&26214400&&(!v&&Vi&&!y&&Ri(Ae.controls.hideTimeoutMobile),t(113,Vi=v)),i.$$.dirty[0]&1|i.$$.dirty[1]&3&&t(42,fn=Te&&b%180?c.height/c.width:1)},[Te,Ae,Se,ae,ne,Me,Ce,Pe,oe,X,U,Be,$e,lt,We,Ie,Je,mt,st,Le,jt,Mt,de,Et,tt,Pt,wt,pt,Xe,Gi,o,c,b,_,N,Q,Jt,Zi,Ki,xt,ni,Xi,fn,r,l,m,$,S,D,le,L,se,me,ve,ue,Y,ce,De,Ni,Hi,si,Ui,Ji,Ot,Wt,ai,Zt,pi,Dt,Oi,ui,Tt,Di,Pi,hi,ti,vi,ci,Kt,ht,Ft,fi,zi,Ei,Gt,Yt,qi,ii,ji,Xt,Ht,Qt,At,gi,Li,wi,$i,ln,ki,te,et,Vt,Qi,fe,A,ct,It,Nt,He,Mi,di,Fe,Yi,Vi,n,h,v,y,C,k,w,M,G,re,ie,O,ft,rn,dn,sn,an,_n]}class D_ extends ye{constructor(e){super(),we(this,e,O_,N_,_e,{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},R_,[-1,-1,-1,-1,-1])}}function z_(i){Ue(i,"v-cghoty",`.root.v-cghoty{--white:#fff;--black:#000;--red:#ff3347;--blue-light:#70c1ff;--black-alpha-40:rgba(0, 0, 0, 0.40);--white-alpha-24:rgba(255, 255, 255, 0.24);--white-alpha-72:rgba(255, 255, 255, 0.72);--devider-gray:#dce1e6;--text-gray:#626d7a;--controls-height:40px;--controls-gradient-height:100px;--controls-transition-duration:0.25s;--controls-transition-fn:cubic-bezier(0.455, 0.03, 0.515, 0.955);--controls-desktop-item-margin-left:4px;--focused:var(--white);--focused-element-shadow:inset 0 0 0 2px var(--focused);--focused-slider-shadow:0 0 0 2px var(--focused);--big-play-size:96px;--big-play-radius:50%;--big-play-bg-color:rgba(0, 0, 0, 0.5);--big-play-hover-bg-color:rgba(0, 0, 0, 0.6);--big-play-icon-width:38px;--big-play-icon-height:33px;--interactive-episode-complete:rgba(92, 156, 230, 1);--slider-height:5px;--slider-video-episode-gap:1.5px;--slider-radius:calc(var(--slider-height) / 2);--slider-handle-size:13px;--slider-bg:rgba(255, 255, 255, 0.4);--slider-loaded-bg:rgba(255, 255, 255, 0.4);--slider-filled-bg:var(--white);--slider-filled-active-live-bg:var(--red);--slider-filled-ads:rgba(103, 165, 235, 1);--slider-disabled-color:rgba(248, 248, 248, 0.31);--controls-gradient:linear-gradient(
33
33
  180deg,
34
34
  rgba(0, 0, 0, 0.00) 0%,
35
35
  rgba(0, 0, 0, 0.01) 6.67%,
@@ -47,5 +47,5 @@ var Kc=Object.defineProperty;var Yc=(i,e,t)=>e in i?Kc(i,e,{enumerable:!0,config
47
47
  rgba(0, 0, 0, 0.96) 86.67%,
48
48
  rgba(0, 0, 0, 0.99) 93.33%,
49
49
  #000 100%
50
- );--timeline-preview-shadow:rgba(0, 0, 0, 0.08);--timeline-preview-bg:rgba(34, 34, 34, 1);--mobile-settings-bg:#2C2D2E;--button-hover-transition:opacity 0.2s;--video-container-z-index:0;--rotate-transition-duration:0.25s;position:relative;width:100%;height:100%;color:var(--white);font-size:12px;line-height:normal;overflow:hidden;outline:0;user-select:none;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background:var(--black)}button{border:none;margin:0;padding:0;width:auto;overflow:visible;background:transparent;color:inherit;font:inherit;line-height:normal;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;cursor:pointer}svg{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}`)}function a6(i){let e,t,n;function o(r){i[55](r)}let l={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new Xg({props:l}),We.push(()=>Pt(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&2&&(a.title=r[1]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function u6(i){let e,t,n;function o(r){i[54](r)}let l={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(l.videoContainer=i[33]),e=new r6({props:l}),We.push(()=>Pt(e,"videoContainer",o)),{c(){F(e.$$.fragment)},m(r,s){z(e,r,s),n=!0},p(r,s){const a={};s[0]&1&&(a.store=r[0]),s[0]&4&&(a.thumbUrl=r[2]),s[0]&8&&(a.videoLogoUrl=r[3]),s[0]&16&&(a.interactiveContainer=r[4]),s[0]&32&&(a.live=r[5]),s[0]&64&&(a.autoplay=r[6]),s[0]&128&&(a.canRewindLive=r[7]),s[0]&256&&(a.showAds=r[8]),s[0]&512&&(a.adsSlotId=r[9]),s[0]&1024&&(a.adsParams=r[10]),s[0]&2048&&(a.adsPreviewParam=r[11]),s[0]&4096&&(a.duration=r[12]),s[0]&8192&&(a.logoClickable=r[13]),s[0]&16384&&(a.logoHidden=r[14]),s[0]&65536&&(a.showNextPrevButtons=r[16]),s[0]&131072&&(a.nextButtonActive=r[17]),s[0]&262144&&(a.prevButtonActive=r[18]),s[0]&524288&&(a.endScreenVideoTitle=r[19]),s[0]&1048576&&(a.endScreenVideoThumb=r[20]),s[0]&2097152&&(a.isOneVideoPlaylist=r[21]),s[0]&4194304&&(a.supportLink=r[22]),s[0]&8388608&&(a.outerContainerRef=r[23]),s[0]&16777216&&(a.fullScreenTarget=r[24]),s[0]&33554432&&(a.showMiniTimer=r[25]),s[1]&8&&(a.playerStarted=r[34]),s[0]&67108864&&(a.playNextVideo=r[26]),s[0]&134217728&&(a.playPrevVideo=r[27]),s[0]&268435456&&(a.repeatPlaylist=r[28]),s[0]&536870912&&(a.seekToInteractive=r[29]),s[0]&1073741824&&(a.toggleGraph=r[30]),s[1]&1&&(a.playPrevChapter=r[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=r[33],Ct(()=>t=!1)),e.$set(a)},i(r){n||(m(e.$$.fragment,r),n=!0)},o(r){v(e.$$.fragment,r),n=!1},d(r){D(e,r)}}}function c6(i){let e,t,n,o;const l=[u6,a6],r=[];function s(a,c){return a[15]?0:1}return t=s(i),n=r[t]=l[t](i),{c(){e=k("div"),n.c(),u(e,"class","root v-labq99")},m(a,c){S(a,e,c),r[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?r[t].p(a,c):(me(),v(r[f],1,1,()=>{r[f]=null}),he(),n=r[t],n?n.p(a,c):(n=r[t]=l[t](a),n.c()),m(n,1),n.m(e,null))},i(a){o||(m(n),o=!0)},o(a){v(n),o=!1},d(a){a&&y(e),r[t].d()}}}function f6(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:l}=e,{uiConfig:r}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:h}=e,{live:p}=e,{preload:_}=e,{autoplay:g}=e,{volume:b=void 0}=e,{muted:L=void 0}=e,{fromTime:E}=e,{canRewindLive:w}=e,{showAds:C}=e,{adsSlotId:B=void 0}=e,{adsParams:R=void 0}=e,{adsPreviewParam:U=void 0}=e,{duration:Y=void 0}=e,{logoClickable:j}=e,{logoHidden:ne}=e,{isMobile:Q}=e,{showNextPrevButtons:ee=!1}=e,{nextButtonActive:T=!1}=e,{prevButtonActive:te=!1}=e,{endScreenVideoTitle:ce=void 0}=e,{endScreenVideoThumb:A=void 0}=e,{isOneVideoPlaylist:oe=!1}=e,{supportLink:se}=e,{outerContainerRef:we=void 0}=e,{fullScreenTarget:be=void 0}=e,{failoverHosts:Te=void 0}=e,{showMiniTimer:Se=!1}=e,{playNextVideo:H=nt}=e,{playPrevVideo:G=nt}=e,{repeatPlaylist:O=nt}=e,{seekToInteractive:ve=nt}=e,{toggleGraph:X=nt}=e,{playPrevChapter:M=nt}=e;const{subscribers:J,stores:Ie}=l;V0(r);const Pe=Ji(),Ae=o.ui.debugPanelVisible,x=o.ui.playerSize;let ae,pe=null,re=!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}),z0(o,Ie);const De=(ue=!1)=>{t(34,re=!0),ue?o.actions.external.firstStart(C):o.actions.internal.firstStart(C)};function Fe(ue){var Je;const Xe=n||ue;Xe&&o.initVideo({container:ae,sources:Xe,failoverHosts:Te,subtitles:h});const xe=fn.get(Fl)==="true";Ae.set(xe),E>0&&o.actions.external.seekTime(E);const Qe=Q?Pe.volumeDefault:(Je=b!=null?b:su())!=null?Je:Pe.volumeDefault,je=L!=null?L:W0();if(o.actions.external.setVolume(Qe),o.actions.external.setMuted(je),o.getAdmanWrapper().setInitialVolume(je?0:Qe),Pe.features.trafficSaving){const lt=Z0();lt&&o.actions.internal.setTrafficSavingEnabled(lt)}const ft=q0(o.videoId);ft&&o.actions.internal.setQuality(ft),o.ui.isAutoplay.set(g),g?De():_&&Pe.features.preload&&o.actions.internal.preload()}const rt=ue=>{if(window.ResizeObserver){let Xe,xe;pe=new ResizeObserver(F1(Qe=>{const je=Qe[0];if(je){if(je.contentBoxSize){const ft=Array.isArray(je.contentBoxSize)?je.contentBoxSize[0]:je.contentBoxSize;Xe=ft.inlineSize,xe=ft.blockSize}else je.contentRect&&(Xe=je.contentRect.width,xe=je.contentRect.height);x.set({width:Xe,height:xe})}},X1)),pe.observe(ue)}x.set({width:ue.clientWidth,height:ue.clientHeight})};Qi(()=>{rt(ae);const ue=J.map(xe=>xe.init(o,Ie));if((p==null?void 0:p.status)==="upcoming"||(p==null?void 0:p.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((p==null?void 0:p.status)==="finished"||(p==null?void 0:p.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return Fe(),()=>{pe==null||pe.disconnect(),ue.forEach(xe=>xe.unsubscribe()),o.destroy()}});function ot(){re?o.actions.external.play():De(!0)}function Oe(){o.actions.external.pause()}function dt(ue){Q||o.actions.external.setMuted(ue)}function wt(ue){Q||ue>=0&&ue<=1&&o.actions.external.setVolume(ue)}function Re(ue){o.actions.internal.seekTime(ue,jt.UNKNOWN)}function Me(ue){o.actions.external.seekEpisodeStartTime(ue)}function Zt(ue){o.actions.external.setPlaybackRate(ue)}function Et(ue){o.actions.external.setAutoQualityLimits(ue)}function at(ue){ae=ue,t(33,ae)}function $e(ue){ae=ue,t(33,ae)}return i.$$set=ue=>{"sources"in ue&&t(37,n=ue.sources),"store"in ue&&t(0,o=ue.store),"microStoresRoot"in ue&&t(38,l=ue.microStoresRoot),"uiConfig"in ue&&t(39,r=ue.uiConfig),"title"in ue&&t(1,s=ue.title),"thumbUrl"in ue&&t(2,a=ue.thumbUrl),"videoLogoUrl"in ue&&t(3,c=ue.videoLogoUrl),"interactiveContainer"in ue&&t(4,f=ue.interactiveContainer),"subtitles"in ue&&t(40,h=ue.subtitles),"live"in ue&&t(5,p=ue.live),"preload"in ue&&t(41,_=ue.preload),"autoplay"in ue&&t(6,g=ue.autoplay),"volume"in ue&&t(42,b=ue.volume),"muted"in ue&&t(43,L=ue.muted),"fromTime"in ue&&t(44,E=ue.fromTime),"canRewindLive"in ue&&t(7,w=ue.canRewindLive),"showAds"in ue&&t(8,C=ue.showAds),"adsSlotId"in ue&&t(9,B=ue.adsSlotId),"adsParams"in ue&&t(10,R=ue.adsParams),"adsPreviewParam"in ue&&t(11,U=ue.adsPreviewParam),"duration"in ue&&t(12,Y=ue.duration),"logoClickable"in ue&&t(13,j=ue.logoClickable),"logoHidden"in ue&&t(14,ne=ue.logoHidden),"isMobile"in ue&&t(15,Q=ue.isMobile),"showNextPrevButtons"in ue&&t(16,ee=ue.showNextPrevButtons),"nextButtonActive"in ue&&t(17,T=ue.nextButtonActive),"prevButtonActive"in ue&&t(18,te=ue.prevButtonActive),"endScreenVideoTitle"in ue&&t(19,ce=ue.endScreenVideoTitle),"endScreenVideoThumb"in ue&&t(20,A=ue.endScreenVideoThumb),"isOneVideoPlaylist"in ue&&t(21,oe=ue.isOneVideoPlaylist),"supportLink"in ue&&t(22,se=ue.supportLink),"outerContainerRef"in ue&&t(23,we=ue.outerContainerRef),"fullScreenTarget"in ue&&t(24,be=ue.fullScreenTarget),"failoverHosts"in ue&&t(45,Te=ue.failoverHosts),"showMiniTimer"in ue&&t(25,Se=ue.showMiniTimer),"playNextVideo"in ue&&t(26,H=ue.playNextVideo),"playPrevVideo"in ue&&t(27,G=ue.playPrevVideo),"repeatPlaylist"in ue&&t(28,O=ue.repeatPlaylist),"seekToInteractive"in ue&&t(29,ve=ue.seekToInteractive),"toggleGraph"in ue&&t(30,X=ue.toggleGraph),"playPrevChapter"in ue&&t(31,M=ue.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(Q)},[o,s,a,c,f,p,g,w,C,B,R,U,Y,j,ne,Q,ee,T,te,ce,A,oe,se,we,be,Se,H,G,O,ve,X,M,Re,ae,re,Pe,De,n,l,r,h,_,b,L,E,Te,Fe,ot,Oe,dt,wt,Me,Zt,Et,at,$e]}class d6 extends ye{constructor(e){super(),ke(this,e,f6,c6,_e,{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,setPlaybackRate:52,setAutoQualityLimits:53},s6,[-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 setPlaybackRate(){return this.$$.ctx[52]}get setAutoQualityLimits(){return this.$$.ctx[53]}}function m6(i){let e,t;return{c(){e=I("svg"),t=I("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){S(n,e,o),d(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:K,o:K,d(n){n&&y(e)}}}function h6(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=l=>{"isWhite"in l&&t(1,n=l.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class p6 extends ye{constructor(e){super(),ke(this,e,h6,m6,_e,{isWhite:1})}}function v6(i){qe(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function N1(i){let e,t;return{c(){e=k("div"),t=ze(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){S(n,e,o),d(e,t)},p(n,o){o&1&&it(t,n[0])},d(n){n&&y(e)}}}function B1(i){let e,t;return e=new p6({props:{isWhite:!!i[1]}}),{c(){F(e.$$.fragment)},m(n,o){z(e,n,o),t=!0},p(n,o){const l={};o&2&&(l.isWhite=!!n[1]),e.$set(l)},i(n){t||(m(e.$$.fragment,n),t=!0)},o(n){v(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function g6(i){let e,t,n,o,l=i[0]&&N1(i),r=(!i[0]||!i[1])&&B1(i);return{c(){e=k("div"),l&&l.c(),t=N(),r&&r.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){S(s,e,a),l&&l.m(e,null),d(e,t),r&&r.m(e,null),o=!0},p(s,[a]){s[0]?l?l.p(s,a):(l=N1(s),l.c(),l.m(e,t)):l&&(l.d(1),l=null),!s[0]||!s[1]?r?(r.p(s,a),a&3&&m(r,1)):(r=B1(s),r.c(),m(r,1),r.m(e,null)):r&&(me(),v(r,1,1,()=>{r=null}),he()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(m(r),o=!0)},o(s){v(r),o=!1},d(s){s&&y(e),l&&l.d(),r&&r.d()}}}function _6(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=l=>{"title"in l&&t(0,n=l.title),"thumbUrl"in l&&t(1,o=l.thumbUrl)},[n,o]}class b6 extends ye{constructor(e){super(),ke(this,e,_6,g6,_e,{title:0,thumbUrl:1},v6)}}class O1{constructor(){Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}addEventListener(e,t,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push({callback:t,options:n})}removeEventListener(e,t){if(!(e in this.listeners))return;const n=this.listeners[e];for(let o=0,l=n.length;o<l;o++)if(n[o].callback===t){n.splice(o,1);return}}dispatchEvent(e){if(!(e.type in this.listeners))return;const n=this.listeners[e.type].slice();for(let o=0,l=n.length;o<l;o++){const r=n[o];try{r.callback.call(this,e)}catch(s){Promise.resolve().then(()=>{throw s})}r.options&&r.options.once&&this.removeEventListener(e.type,r.callback)}return!e.defaultPrevented}}class Dc extends O1{constructor(){super(),this.listeners||O1.call(this),Object.defineProperty(this,"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(this,"onabort",{value:null,writable:!0,configurable:!0}),Object.defineProperty(this,"reason",{value:void 0,writable:!0,configurable:!0})}toString(){return"[object AbortSignal]"}dispatchEvent(e){e.type==="abort"&&(this.aborted=!0,typeof this.onabort=="function"&&this.onabort.call(this,e)),super.dispatchEvent(e)}}let w6=class{constructor(){Object.defineProperty(this,"signal",{value:new Dc,writable:!0,configurable:!0})}abort(e){let t;try{t=new Event("abort")}catch(o){typeof document!="undefined"?document.createEvent?(t=document.createEvent("Event"),t.initEvent("abort",!1,!1)):(t=document.createEventObject(),t.type="abort"):t={type:"abort",bubbles:!1,cancelable:!1}}let n=e;if(n===void 0)if(typeof document=="undefined")n=new Error("This operation was aborted"),n.name="AbortError";else try{n=new DOMException("signal is aborted without reason")}catch(o){n=new Error("This operation was aborted"),n.name="AbortError"}this.signal.reason=n,this.signal.dispatchEvent(t)}toString(){return"[object AbortController]"}};typeof Symbol!="undefined"&&Symbol.toStringTag&&(w6.prototype[Symbol.toStringTag]="AbortController",Dc.prototype[Symbol.toStringTag]="AbortSignal");function Fc(i){return i.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):typeof i.Request=="function"&&!i.Request.prototype.hasOwnProperty("signal")||!i.AbortController}function k6(i){typeof i=="function"&&(i={fetch:i});const{fetch:e,Request:t=e.Request,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o=!1}=i;if(!Fc({fetch:e,Request:t,AbortController:n,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:o}))return{fetch:e,Request:l};let l=t;(l&&!l.prototype.hasOwnProperty("signal")||o)&&(l=function(c,f){let h;f&&f.signal&&(h=f.signal,delete f.signal);const p=new t(c,f);return h&&Object.defineProperty(p,"signal",{writable:!1,enumerable:!1,configurable:!0,value:h}),p},l.prototype=t.prototype);const r=e;return{fetch:(a,c)=>{const f=l&&l.prototype.isPrototypeOf(a)?a.signal:c?c.signal:void 0;if(f){let h;try{h=new DOMException("Aborted","AbortError")}catch(_){h=new Error("Aborted"),h.name="AbortError"}if(f.aborted)return Promise.reject(h);const p=new Promise((_,g)=>{f.addEventListener("abort",()=>g(h),{once:!0})});return c&&c.signal&&delete c.signal,Promise.race([p,r(a,c)])}return r(a,c)},Request:l}}const ar=Fc({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}),Hc=ar?k6({fetch:window.fetch,Request:window.Request,AbortController:window.AbortController}):void 0,y6=ar?Hc.fetch:window.fetch;ar?Hc.Request:window.Request;const S6=(i,e)=>i<400||e<225?5:i<640||e<360?0:i<960||e<540?1:i<1280||e<720?2:3,C6="//ad.mail.ru/static/admanhtml/rbadman-html5.min.js";class P6{constructor(e,t){this.adman=null,this.initialVolume=1,this.videoElement=null,this.currentAdSection=null,this.actions=null,this.adsState=null,this.playerState=null,this.events={slotRequested$:new tn,started$:new tn,paused$:new tn,resumed$:new tn,ended$:new tn,skipped$:new tn,clicked$:new tn},this.loadAdman=n=>new Promise((o,l)=>{let r;const s=()=>{clearTimeout(r),delete window.admanAsyncInit,window.AdmanHTML?o():l()};n0(C6,n,this.loadTimeout).then(()=>{window.AdmanHTML?o():(window.admanAsyncInit=s,r=window.setTimeout(s,this.initTimeout))}).catch(()=>{l()})}),this.onAdsReady=()=>{this.log({message:"ads ready"}),this.startPreroll()},this.onAdStarted=(n,o)=>{vt(this.adsState),vt(this.playerState),vt(this.actions),this.log({message:`ad started, section: ${n}, banner: ${JSON.stringify(o)}`}),this.events.started$.next(n),o.muted&&(this.setVolume(0),this.actions.setMuted(!0),this.log({message:"ad muted start"}),tt(this.playerState.isMobile)&&this.playerState.mobileUnmuteButtonVisible.set(!0)),this.adsState.duration.set(o.duration),this.adsState.playbackState.set(Jt.PLAYING),this.adsState.canSkip.set(o.allowClose),this.adsState.secondsToWatchBeforeSkip.set(o.allowCloseDelay)},this.onAdTimeRemained=({currentTime:n})=>{vt(this.adsState),this.adsState.position.set(n)},this.onAdPaused=()=>{vt(this.adsState),this.log({message:"ad paused"}),this.adsState.playbackState.set(Jt.PAUSED)},this.onAdPlayed=()=>{vt(this.adsState),this.log({message:"ad played"}),this.adsState.playbackState.set(Jt.PLAYING)},this.onAdMidrollPoint=()=>{vt(this.adman),vt(this.actions),this.log({message:"midroll point"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Pn.Midroll,this.adman.start(Pn.Midroll)},this.onAdSkipped=()=>{this.log({message:"ad skipped"}),this.switchToVideo()},this.onAdClosed=()=>{this.log({message:"ad closed"}),this.switchToVideo()},this.onAdCompleted=()=>{this.log({message:"ad completed"}),this.events.ended$.next(),this.switchToVideo()},this.onAdClicked=()=>{var n;this.log({message:"ad clicked"}),(n=this.videoElement)===null||n===void 0||n.pause(),this.events.clicked$.next()},this.onAdError=()=>{this.log({message:"ad error"}),this.switchToVideo(!0)},this.log=e.createComponentLog("AdmanWrapper"),this.loadTimeout=t.loadTimeout,this.initTimeout=t.initTimeout}init(e,t,n){this.actions=e,this.adsState=t,this.playerState=n}onAdmanLoadingError(){this.log({message:"adman loading error"}),this.switchToVideo(!0)}initAdman(e){const{width:t,height:n,isFullscreen:o,isAutoplay:l,adsContainer:r,adsVideoElement:s,slotId:a,params:c={},duration:f,previewParam:h}=e;let p;const _=this.playerState&&tt(this.playerState.vsid);_&&(p=parseInt(_,36));const g={dl:encodeURIComponent(window.location.href),autoplay:l,player_width:t,player_height:n,puid10:S6(t,n),puid11:o?0:1,preview:h,...p?{request_id:p}:{},duration:f,...c},b={slot:a,wrapper:r,videoEl:s,videoQuality:n,params:g,browser:{mobile:!1}},L=new window.AdmanHTML;L.setDebug(!1),L.onReady(this.onAdsReady),L.onStarted(this.onAdStarted),L.onPlayed(this.onAdPlayed),L.onPaused(this.onAdPaused),L.adMidrollPoint(this.onAdMidrollPoint),L.onClosed(this.onAdClosed),L.onSkipped(this.onAdSkipped),L.onClicked(this.onAdClicked),L.onTimeRemained(this.onAdTimeRemained),L.onCompleted(this.onAdCompleted),L.onError(this.onAdError),L.init(b),this.adman=L,this.videoElement=s,this.events.slotRequested$.next(),this.log({message:`adman init, config: ${JSON.stringify(b)}`})}switchToVideo(e=!1){if(this.currentAdSection===null&&!e){this.log({message:"switch to video, no currentAdSection. can't switch"});return}vt(this.actions),vt(this.adsState),vt(this.playerState);const t=this.currentAdSection===Pn.Postroll;this.adsState.playbackState.set(Jt.INACTIVE),this.currentAdSection=null,this.playerState.mobileUnmuteButtonVisible.set(!1),this.log({message:`switch to video, isPostroll: ${t}`}),t&&(this.adsState.postrollPassed.set(!0),this.log({message:"postroll passed"})),this.actions.switchFromAdsToVideo(!t)}togglePlay(){vt(this.adsState),this.log({message:"toggle play"});const e=tt(this.adsState.playbackState);e===Jt.PLAYING?this.pause():e===Jt.PAUSED&&this.play()}setInitialVolume(e){this.log({message:`set initial volume ${e}`}),this.initialVolume=e}setVolume(e){var t;this.log({message:`set volume ${e}`}),(t=this.adman)===null||t===void 0||t.setVolume(e),this.videoElement&&(this.videoElement.volume=e)}setFullscreen(e){var t;this.log({message:`set fullscreen ${e}`}),(t=this.adman)===null||t===void 0||t.setFullscreen(e)}startPreroll(){vt(this.adman),this.log({message:"start preroll"}),this.setVolume(this.initialVolume),this.currentAdSection=Pn.Preroll,this.adman.start(Pn.Preroll)}startPostroll(){vt(this.adman),vt(this.actions),this.log({message:"start postroll"}),this.actions.switchFromVideoToAds(),this.currentAdSection=Pn.Postroll,this.adman.start(Pn.Postroll)}play(){vt(this.adman),this.log({message:"ad play"}),this.adman.resume(),this.events.resumed$.next()}pause(){vt(this.adman),this.log({message:"ad pause"}),this.adman.pause(),this.events.paused$.next()}skip(){vt(this.adman),this.log({message:"ad skip"}),this.adman.skip(),this.events.skipped$.next()}setPosition(e,t){var n;(n=this.adman)===null||n===void 0||n.setPosition(Math.floor(e),Math.floor(t))}destroy(){var e;this.log({message:"destroy"}),(e=this.adman)===null||e===void 0||e.destroy()}}const T6=i=>{const e=Math.round(i);return isNaN(e)||e<40?"":e>=40&&e<55?50:e>=55&&e<90?60:e>=90&&e<180?120:e>=180?240:""};class E6{constructor(){this.oneLineRegExp=/\r\n|\n|\r/,this.twoLinesRegExp=/\r\n\r\n|\n\n|\r\r/}parse(e){const t=[],n=e.split(this.twoLinesRegExp);for(const o of n){const l={startTime:0,endTime:0,texts:[],lang:""},r=o.split(this.oneLineRegExp);for(const s of r)if(!l.startTime&&!l.endTime){const a=new Uc,{startTime:c,endTime:f}=a.parse(s);l.startTime=c,l.endTime=f}else if(s.trim()!==""){const a=new A6,{texts:c}=a.parse(s);l.texts=[...l.texts,...c]}(l.startTime||l.endTime)&&l.texts.length>0&&t.push(l)}return t}}class Uc{constructor(){this.timeRegExp=/(\d{2})?:?(\d{2}):(\d{2}).(\d{2,3})/,this.timingRegExp=new RegExp(`${this.timeRegExp.source}( ?--> ?)${this.timeRegExp.source}`)}parse(e){const t={startTime:0,endTime:0},n=this.timingRegExp.exec(e);return n&&(t.startTime=this.calcTime(n[1],n[2],n[3],n[4]),t.endTime=this.calcTime(n[6],n[7],n[8],n[9])),t}parseTime(e){const t=this.timeRegExp.exec(e);return t?this.calcTime(t[1],t[2],t[3],t[4]):0}isTime(e){return this.timeRegExp.test(e)}calcTime(e="0",t="0",n="0",o="0"){const l=Number(e)*60*60,r=Number(t)*60,s=Number(n),a=+`0.${o}`;return l+r+s+a}}class A6{constructor(){this.letterTagRegExp=/<[a-z]*>|<\/[a-z]*>/}parse(e){const t={texts:[]},o=e.replace(new RegExp(this.letterTagRegExp,"g"),"").split({[Symbol.split](r){let s=0;const a=[];for(;s<r.length;){const c=["<",">"].reduce((f,h)=>{const p=r.indexOf(h,s);return f===-1||f>p?p:f},-1);if(c===-1){a.push(r.substring(s));break}a.push(r.substring(s,c)),s=c+1}return a}}),l=new Uc;for(const r of o)l.isTime(r)?t.texts.push({type:"timestamp",value:l.parseTime(r)}):t.texts.push({type:"text",value:r});return t}}let zn,Dt,Ml=0,Rl=!1;const L6=(i,e,t)=>{var n;const o=i>=Ml,l=i<Ml,r=(f,h=0,p=0)=>f<h&&f<p,s=(f,h=0,p=0)=>f>=h&&f<=p,a=(f,h=0,p=0)=>f>h&&f>p,c=(n=t.find(({lang:f})=>f===e.value))===null||n===void 0?void 0:n.subtitles;if(Ml=i,l&&(Rl=!1),un(zn)&&s(i,zn.startTime,zn.endTime)&&zn.lang===e.value)return zn;if(!un(Dt)&&(c!=null&&c.length)&&!Rl){const f=c.find(({startTime:h,endTime:p})=>s(i,h,p)||o&&r(i,h,p));Dt=f&&{...f,lang:e.value},zn=void 0,!un(Dt)&&c[c.length-1].endTime<i&&(Rl=!0);return}else{if(s(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))return zn=Dt,Dt=void 0,zn;(o&&a(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime)||l&&r(i,Dt==null?void 0:Dt.startTime,Dt==null?void 0:Dt.endTime))&&(Dt=void 0)}},Nl={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 Zo=null;class So{constructor(e,t){if(!Zo){const n=new m0(e,t),o=new Wn;Zo=Object.freeze({oneStat:n,statSubscription:o,destroy:()=>{n==null||n.destroy(),o==null||o.unsubscribe(),Zo=null}})}}static getInstance(){return Zo}}const V6=({interfaceLanguage:i,videoId:e,isClip:t,isLiveCatchUpMode:n,statAuthToken:o,isAudioDisabled:l,canDownload:r,callbacks:s,webApi:a,videoEpisodes:c,previewThumbsData:f,uiConfig:h,coreConfig:p,player:_,disabledControls:g,isInteractive:b,interactiveRanges:L,replayInteractive:E,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:C,additionalButtons:B,looped:R=!1})=>{var U,Y,j,ne;const Q={...p,configName:[...(U=p.configName)!==null&&U!==void 0?U:[],"ui"],isAudioDisabled:l,live:{...(Y=p.live)!==null&&Y!==void 0?Y:{},isLiveCatchUpMode:!!n}},ee=h,T=_||new Qc(Q);T.setLooped(R);const te=new q1,ce=new P6(te,{loadTimeout:ee.ads.loadTimeout,initTimeout:ee.ads.initTimeout}),A=So.getInstance(),oe=Wl.getInstance(),se=a==null?void 0:a.pictureInPictureApi,we=a==null?void 0:a.annotationsApi,be=te.createComponentLog("Store");let Te,Se,H={};const G=Gl(),O=A?yt(A.oneStat.vsid$):gn(void 0),ve=He(To()),X=(j=se==null?void 0:se.info.isActive$)!==null&&j!==void 0?j:new Zl(!1),M=se==null?void 0:se.info.type,J=He(0),Ie=He([]),Pe=o0(T.events.fatalError$,T.events.managedError$).subscribe(P=>Ie.update(ie=>[...ie,P])),Ae=gn(!1,P=>{const ie=T.events.fatalError$.subscribe(()=>P(!0));return()=>ie.unsubscribe()}),x=async P=>{var ie;const ge=Object.values(Eo).includes(P);if(ee.downloadVKLanguages&&(ge&&ee.updateBuiltinLanguages||!jr(P))){let Ze;try{Ze=await s0(P,I0,M0)}catch(ht){(ie=A==null?void 0:A.oneStat)===null||ie===void 0||ie.logError({errorType:"VKLangPack",fatal:!1}),oe==null||oe.report(ht,{errorType:"VKLangPack",fatal:!1})}Ze&&(Wr({language:P,pack:Ze,fallback:ee.defaultLanguage}),ae.set(P))}jr(P)&&ae.set(P)},ae=He(i);x(i);const pe=(P,ie)=>{const ge=tt(ae);return Wu(ge,P,ie,ee.defaultLanguage)},re=He(Ne.Thumb),De=(()=>{const P=oi([Ae,re],([ie,ge])=>ie?Ne.Crashed:ge);return{...P,is:ie=>tt(P)===ie}})(),Fe=(()=>{const P=He(new Set(g));return{...P,add:ie=>{P.update(ge=>new Set([...ge].concat(ie)))},remove:ie=>{P.update(ge=>{const Be=[...ge];return new Set(Array.isArray(ie)?Be.filter(Ze=>!ie.includes(Ze)):Be.filter(Ze=>Ze!==ie))})},includes:ie=>{const ge=tt(P);return Array.isArray(ie)?ie.every(Be=>ge.has(Be)):ge.has(ie)}}})();be({message:"create store"});const rt=P=>{be({message:`init video, config: ${JSON.stringify(P)}`}),b?P.container.append(T.experimental.element$.getValue()):T.initVideo(P),P.subtitles&&T.setExternalTextTracks(P.subtitles),Te=P},ot=new tn,Oe=P=>ot.next(P),dt=new tn,wt=new tn,Re=new tn,Me={actionRewind$:dt,actionSeek$:wt,inPiP$:X,inFullscreen$:new l0(P=>ve.subscribe(ie=>P.next(ie))),actionSetSubtitle$:Re,nextMovie$:ot};if(A){const{oneStat:P,statSubscription:ie}=A;ie.add(P.attachTo(T)),ie.add(P.attachToUi(Me)),ie.add(P.attachToAds(ce.events)),P.authorize(o).catch(ge=>{be({message:`onestat auth error ${String(ge)}`})})}if(oe){const P=new Wn,ie=(ge,Be)=>P.add(ge.subscribe(Be));if(ie(T.events.managedError$,ge=>{oe.logIError(ge)}),ie(T.events.fatalError$,ge=>{oe.logIError(ge,!0)}),A){const{oneStat:ge}=A;ie(ge.experimental.error$,Be=>{oe.logIError(Be)})}oe.sentrySubscription.add(P)}const Zt=()=>{U1()&&Se&&E4(Se)},Et=new Wn().add(T.experimental.element$.subscribe(P=>{P&&(Se=P,P.classList.add("player-media"),$o(se)&&(se.updateVideoElement(),se.registryEventHandlers()),b&&P.setAttribute("pip","false"))})).add(T.events.ended$.subscribe(()=>{var P;Zt(),(P=s==null?void 0:s.onEnded)===null||P===void 0||P.call(s)})).add(T.events.started$.subscribe(async()=>{var P,ie;$o(se)&&await(se==null?void 0:se.revealPictureInPicture());const ge=T.info.muted$.getValue();(P=s==null?void 0:s.onStarted)===null||P===void 0||P.call(s),(ie=H.onStarted)===null||ie===void 0||ie.call(H,ge)})).add(T.events.willSeek$.subscribe(({from:P,to:ie})=>{var ge;(ge=s==null?void 0:s.onSeek)===null||ge===void 0||ge.call(s,P,ie)})).add(T.info.position$.subscribe(P=>{var ie;const ge=T.info.duration$.getValue();(ie=s==null?void 0:s.onTimeupdate)===null||ie===void 0||ie.call(s,ge,P),ce.setPosition(P,ge)})).add(T.events.fatalError$.subscribe(()=>{var P;(P=s==null?void 0:s.onCrashed)===null||P===void 0||P.call(s)})).add(T.info.is3DVideo$.subscribe(P=>{Wt.ui.is3DVideo.set(P)})).add(T.info.isEnded$.subscribe(P=>{b&&(P?(tt(ul)&&Fe.add(J1),Fe.add(pt.PLAY_BUTTON)):Fe.remove(pt.PLAY_BUTTON))})).add(T.info.liveTime$.subscribe(P=>{var ie;(ie=s==null?void 0:s.onLiveTime)===null||ie===void 0||ie.call(s,P)})),at=new Wn,$e=()=>{at.add(T.events.log$.subscribe(P=>{console.debug("%c sdk ","background:#9ddcf7;",`sdk component: ${P.component}`,P.message)})).add(te.log$.subscribe(P=>{console.debug("%c ui ","background:#f3da0b;",`ui component: ${P.component}.`,P.message)}))},ue=()=>{at.unsubscribe()},Xe=(P,ie)=>{T.startCameraManualRotation(P,ie)},xe=(P=!1)=>{T.stopCameraManualRotation(P)},Qe=(P,ie,ge)=>{T.moveCameraFocusPX(P,ie,ge)},je=()=>{T.holdCamera()},ft=()=>{T.releaseCamera()},Je=gn(T.info.position$.getValue(),P=>{let ie,ge;const Be=()=>{const Ze=T.info.playbackState$.getValue(),ht=T.info.isLive$.getValue(),Bt=T.info.duration$.getValue(),kt=T.info.position$.getValue();if([Gt.PLAYING,Gt.PAUSED].includes(Ze)){const qi=ht?kt-Bt:T.getExactTime();qi!==ge&&P(qi),ge=qi}ie=requestAnimationFrame(Be)};return Be(),()=>cancelAnimationFrame(ie)}),lt=yt(X),Ge=yt(T.info.playbackState$),et=yt(T.info.currentBuffer$),xt=yt(T.info.isEnded$),mt=yt(T.info.isLive$),Ke=ee.features.playbackRate?yt(T.info.canChangePlaybackSpeed$):gn(!1),At=yt(T.info.liveBufferTime$),st=yt(T.info.volume$),di=yt(T.info.muted$),de=iu(T.info.autoQualityLimits$.pipe(r0(({max:P})=>P!==void 0)),((ne=T.info.autoQualityLimits$.getValue())===null||ne===void 0?void 0:ne.max)!==void 0),Ce=yt(T.info.autoQualityLimitingAvailable$),Ve=yt(T.info.availableQualities$),It=yt(T.info.availableQualitiesFps$),mi=yt(T.info.chromecastState$),Mt=yt(T.info.chromecastDeviceName$),Ei=yt(T.info.currentFormat$),Mi=yt(T.info.throughputEstimation$),Ri=yt(T.info.videoBitrate$),Le=yt(T.info.intrinsicVideoSize$),Rt=yt(T.info.duration$),hi=yt(T.info.isAudioAvailable$);let Ot=null;const Lt=T.info.isBuffering$,Ni=gn(Lt.getValue(),P=>{const ie=Lt.subscribe(ge=>{ge&&Ot===null?Ot=window.setTimeout(()=>{P(Lt.getValue()),Ot=null},ee.loaderDelay):P(ge)});return()=>{ie.unsubscribe(),Ot&&clearTimeout(Ot)}}),Nt=()=>{Ot&&clearTimeout(Ot),Ot=null},ri=oi([Rt,mt],([P,ie])=>ie?-P:P),xi=oi([Ge],([P])=>P===Gt.PLAYING),St=yt(T.info.atLiveEdge$),Wi=yt(T.info.atLiveDurationEdge$),pi=yt(T.info.position$),Bi=oi([pi,Rt],([P,ie])=>isFinite(P)&&isFinite(ie)&&!!ie),Oi=oi([mi],([P])=>P===_n.CONNECTED),Ai=He(void 0),si=yt(T.info.isAutoQualityEnabled$,P=>P&&Ai.set(void 0)),Li=yt(T.info.currentQuality$,()=>Ai.set(void 0)),Ci=oi([Ai,Li],([P,ie])=>P!=null?P:ie),vi=oi([Ve,It,si,Ci,Ei],([P,ie,ge,Be,Ze])=>{const ht=[];Ze!==wo.MPEG&&ht.push({value:ao.AUTO,displayValue:pe("auto_quality_option"),selected:ge});const Bt=P.filter(kt=>kt!==Go.INVARIANT);for(const kt of Bt){const qi=ie[kt],Bo=kt===Go.INVARIANT?pe("auto_quality_option"):kt;ht.push({value:kt,displayValue:`${Bo}${qi?T6(qi):""}`,selected:ge?!1:kt===Be})}return ht}),ai=yt(T.info.currentPlaybackRate$),gi=oi([ai,St,Wi],([P,ie,ge])=>{const Be=ge||b?1:ee.controls.playbackRateMin,Ze=ie?1:ee.controls.playbackRateMax,ht=ee.controls.playbackRateStep,Bt=[];for(let kt=Be;kt<=Ze;kt+=ht)Bt.push({value:kt,displayValue:kt===1?pe("playback_rate_1"):pe("playback_rate",{multiplier:kt.toString(10)}),selected:P===kt});return Bt}),ji=ee.features.subtitles?yt(T.info.availableTextTracks$):gn([]),Zi=oi([ji],([P],ie)=>{const ge=[],Be=[];for(const Ze of P)Ze.url&&ge.push(y6(Ze.url));Promise.allSettled(ge).then(Ze=>{for(const[ht,Bt]of Ze.entries())Bt.status==="fulfilled"&&Bt.value.text().then(kt=>{const qi=new E6,Bo=P[ht].language,Gc=!!P[ht].isAuto,dr=qi.parse(kt);Bo&&dr&&Be.push({lang:Bo,subtitles:dr,isAuto:Gc}),ht===Ze.length-1&&ie(Be)})})}),Ht={displayValue:pe("subtitles_off"),value:"off"},Ut=He({...Ht}),zi=oi([Zi,Ut,Zi],([P,ie])=>{if((P==null?void 0:P.length)>0){const ge=[{...Ht,selected:(ie==null?void 0:ie.value)===Ht.value}];for(const{lang:Be,isAuto:Ze}of P)Nl[Be]&&ge.push({displayValue:Ze?pe("subtitles_auto",{language:Nl[Be]}):Nl[Be],value:Be,selected:(ie==null?void 0:ie.value)===Be,isAuto:Ze});return ge}else return[]}),$i=oi([Je,Ut,Zi],([P,ie,ge])=>{if(ie&&ie.value!==Ht.value)return L6(P,ie,ge)}),_i=oi([$i],([P])=>P!=null&&P.texts?P.texts:[]),Di=He(!0),Vi=oi([et,ri,pi,At],([P,ie,ge,Be])=>{var Ze;const ht=(Ze=P==null?void 0:P.end)!==null&&Ze!==void 0?Ze:0;if(!Be)return ht/ie;const kt=-ge+Be-ie;return(ht-kt)/ie}),Pi=yt(T.info.availableSources$),Fi=oi([Pi],([P])=>Object.keys((P==null?void 0:P[wo.MPEG])||{}).length>0),Ii=()=>{var P,ie,ge;const Be=Object.keys(((ie=(P=T.info.availableSources$)===null||P===void 0?void 0:P.getValue())===null||ie===void 0?void 0:ie[wo.MPEG])||{}),Ze=a0(Be)||Go.Q_144P;return(ge=Te.sources[wo.MPEG])===null||ge===void 0?void 0:ge[Ze]},$t=()=>{var P;const ie=Ii();ie?H0(ie,((P=Te==null?void 0:Te.meta)===null||P===void 0?void 0:P.title)||"video"):be({message:"There is no URL for download video"})},ei=()=>{be({message:"toggle muted"});const P=T.info.muted$.getValue(),Be=!(T.info.volume$.getValue()===0||P);Xt(Be)},bi=(P,ie=P,ge=!1)=>{var Be,Ze,ht;const Bt=!ge,kt=T.info.muted$.getValue();be({message:`set volume, volume: ${P}, preferredVolume: ${ie}, internalCall: ${Bt}`}),T.setVolume(P),ce.setVolume(P),Bt&&((Be=s==null?void 0:s.onVolumeChange)===null||Be===void 0||Be.call(s,P)),_r(ie),kt?(T.setMuted(!1),Bt&&((Ze=s==null?void 0:s.onUnmute)===null||Ze===void 0||Ze.call(s)),dl(!1)):!kt&&P===0&&(T.setMuted(!0),Bt&&((ht=s==null?void 0:s.onMute)===null||ht===void 0||ht.call(s)),dl(!0))},Xt=(P,ie=!1)=>{var ge,Be,Ze,ht;const Bt=!ie,kt=T.info.volume$.getValue();if(be({message:`set muted, currentVolume: ${kt}, mute: ${P}, internalCall: ${Bt}`}),T.setMuted(P),ce.setVolume(P?0:kt),dl(P),Bt&&(P?(ge=s==null?void 0:s.onMute)===null||ge===void 0||ge.call(s):(Be=s==null?void 0:s.onUnmute)===null||Be===void 0||Be.call(s)),kt===0){let qi=(Ze=su())!==null&&Ze!==void 0?Ze:ee.volumeDefault;qi===0&&(qi=ee.volumeMinRestore,_r(qi)),T.setVolume(qi),ce.setVolume(qi),Bt&&((ht=s==null?void 0:s.onVolumeChange)===null||ht===void 0||ht.call(s,qi))}},ti=()=>{T.prepare()},ui=()=>{var P,ie;if(vt(Wt),!tt(Wt.ui.controls.disabledControls$).has(pt.PLAY_BUTTON)){if(be({message:"toggle play"}),tt(Wt.playerPhase)===Ne.Ads){ce.togglePlay();return}if(T.info.playbackState$.getValue()!==Gt.PLAYING){if(T.info.isEnded$.getValue()){if(be({message:"toggle play, video ended, seek to 0"}),dt.next(),wt.next(jt.REWIND),b){E==null||E();return}T.seekTime(0)}be({message:"toggle play, call player.play"}),T.play(),(P=s==null?void 0:s.onPlay)===null||P===void 0||P.call(s)}else be({message:"toggle play, call player.pause"}),T.pause(),(ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)}},wi=P=>{be({message:`set quality, quality: ${P}`}),T.setAutoQuality(P===ao.AUTO),P!==ao.AUTO?(U0(e,P),Ai.set(P),T.setQuality(P)):au()},ii=P=>{be({message:`set trafficSavingEnabled, value: ${P}`}),T.setAutoQualityLimits({max:P?ee.trafficSavingLimit:void 0}),j0(P)},ci=P=>{T.setPlaybackRate(P)},Gi=()=>{const P=tt(gi),ie=P.findIndex(({selected:Be})=>Be);if(ie===P.length-1)return;const ge=P[ie+1];ci(ge.value)},Hi=()=>{const P=tt(gi),ie=P.findIndex(({selected:Be})=>Be);if(ie===0)return;const ge=P[ie-1];ci(ge.value)},Ti=P=>{P&&P.value!==Ht.value&&Re.next(P.isAuto?P.value+"_auto":P.value),Ut.set(P)},Xi=()=>{const P=tt(zi),ie=tt(Ut),ge=tt(ae);if((ie==null?void 0:ie.value)===Ht.value){const Be=P.filter(Ze=>Ze.value!==Ht.value).find(Ze=>Ze.value===ge)||P[1];Ti(Be!=null?Be:{...Ht})}else Ti({...Ht,selected:!1})},ni=(P,ie,ge=!0)=>{if(be({message:`seek to time, time: ${P}`}),wt.next(ie),T.info.isLive$.getValue()){const Be=T.info.duration$.getValue(),Ze=Math.min(0,Be+P);T.seekTime(Ze,ge)}else{if(tt(ul))return;T.seekTime(fr(P),ge)}},ki=P=>{be({message:`seek to episode start time: ${P}`}),ni(P,jt.EPISODE,!0)},Ui=(P,ie)=>{be({message:`seek to percent, percent: ${P}`});const ge=Math.round(tt(ri)*P);ni(ge,ie,!1)},Ki=P=>{be({message:`seek external, time: ${P}`}),wt.next(jt.UNKNOWN),T.seekTime(T.info.isLive$.getValue()?-P:P)},zt=P=>{var ie,ge;be({message:`set auto quality limitation. Max: ${(ie=P.max)!==null&&ie!==void 0?ie:"none"}. Min: ${(ge=P.min)!==null&&ge!==void 0?ge:"none"}`}),T.setAutoQualityLimits(P)},Qt=P=>{be({message:`seek external to episode start time: ${P}`}),ni(P,jt.EPISODE,!0)},fe=P=>{be({message:`set playback rate to: ${P}`}),T.setPlaybackRate(P)},Yi=He(void 0),dn=He(!1),Un=P=>{be({message:`start scrubbing, progress: ${P}`}),dn.set(!0),fi(P)},fi=P=>{Yi.set(P)};let wn,kn;const mn=()=>{Yi.set(void 0),dn.set(!1)},yn=()=>{clearTimeout(kn),clearTimeout(wn),wn=window.setTimeout(()=>{mn()},500),Se==null||Se.removeEventListener("seeked",yn)},Bn=P=>{be({message:`complete scrubbing, progress: ${P}`}),Ui(P,jt.SLIDER),tt(Wt.ui.isMobile)&&tt(Wt.state.currentFormat$)===wo.HLS?(Se==null||Se.addEventListener("seeked",yn),kn=window.setTimeout(()=>{yn()},300)):mn()},nn=oi([Je,ri,Yi],([P,ie,ge],Be)=>{Be(un(ge)?ge*ie:P)}),On=He({width:0,height:0}),$=oi([On],([{width:P}],ie)=>{const ge=R3(P);ie(ge)}),gt=He(!1),hn=oi([$,gt],([P,ie])=>ie?B.filter(ge=>!ge.hideOnMobile):B.filter(ge=>{var Be;return!(!((Be=ge.hideOnDesktopGridTypes)===null||Be===void 0)&&Be.includes(P))})),en=oi([gt,Ae],([P,ie],ge)=>{ge(P&&ie)}),pn=()=>{wt.next(jt.LIVE),be({message:"switch to active live"}),T.seekTime(0),T.info.playbackState$.getValue()!==Gt.PLAYING&&Wt.actions.internal.togglePlay()},on=()=>ce.skip(),ho=(P=!0)=>{vt(Wt),be({message:`switch from ads to video, callPlay: ${P}`}),re.set(Ne.Video),P&&T.play()},po=()=>{vt(Wt),be({message:"switch from video to ads"}),Wt.actions.internal.pause(),Zt(),re.set(Ne.Ads)},vo=P=>{vt(Wt);const ie=P?Ne.WaitingLive:Ne.Thumb;re.set(ie)},go=P=>{vt(Wt);const ie=P?Ne.WaitingRecord:Ne.Thumb;re.set(ie)},_o=()=>(vt(Wt),D0(T,Te,Wt)),bo=()=>(vt(Wt),F0(T,Te,Wt)),Kn=()=>Se,Yn=()=>{be({message:"toggle chromecast"}),T.toggleChromecast()},le=P=>{var ie;vt(Wt);const ge=!P;if(tt(Wt.playerPhase)===Ne.Ads){be({message:`pause ads, internalCall: ${ge}`}),ce.pause();return}be({message:`pause video, internalCall: ${ge}`}),ge&&((ie=s==null?void 0:s.onPause)===null||ie===void 0||ie.call(s)),T.pause()},Sn=P=>{var ie;vt(Wt);const ge=!P;if(tt(Wt.playerPhase)===Ne.Ads){be({message:`play ads, internalCall: ${ge}`}),ce.play();return}be({message:`play video, internalCall: ${ge}`}),ge&&((ie=s==null?void 0:s.onPlay)===null||ie===void 0||ie.call(s)),T.play()},ut=(P,ie)=>{vt(Wt),be({message:`first start, show ads: ${P}, internalCall: ${!ie}`}),P?re.set(Ne.Ads):(re.set(Ne.Video),ie?T.play():Wt.actions.internal.togglePlay())},qt=()=>(be({message:"getting time codes"}),c),ln=()=>{const P=qt();if(!P||[0,1].includes(P.length))return;const ie=T.info.position$.getValue();return P.find(ge=>ge.time>ie)},Cn=P=>{let ie=P;ie||(ie=ln()),ie&&(be({message:"seek to next episode"}),ni(ie.time,jt.EPISODE,!0))},q=()=>{const P=qt();if(!P||[0,1].includes(P.length))return;const ie=T.info.position$.getValue(),ge=P.findIndex(Ze=>Ze.time>ie),Be=ge===-1?P.length-2:ge-2;if(!(Be<0))return P[Be]},bt=P=>{let ie=P;ie||(ie=q()),ie&&(be({message:"seek to prev episode"}),ni(ie.time,jt.EPISODE,!0))},vn=()=>(be({message:"getting preview thumbs data"}),f),rn=async()=>{se!=null&&se.isActive()?await(se==null?void 0:se.remove()):await(se==null?void 0:se.request())},Xn=(P=-90)=>{J.update(ie=>ie+P)},Qn=He(L),ur=oi([Qn],([P=[]])=>{const ie=[];for(let ge=0;ge<P.length;ge++){const{range:[Be,Ze],subjects:ht}=P[ge];ge===0&&Be!==0&&ie.push({time:0,text:""}),ie.push({time:Be/1e3,text:"",interactive:!0,completed:!ht.length}),Ze!==1/0&&ie.push({time:Ze/1e3,text:"",interactive:!1,completed:!ht.length})}return ie}),jc=P=>{const ie=tt(Qn);Qn.set(ie.map(ge=>({...ge,subjects:ge.subjects.filter(Be=>Be!==P)})))},cr=He(!1),ul=oi([pi,Qn,cr],([P,ie,ge])=>{if(!b)return!1;if(ge)return!0;const Be=P*1e3,Ze=ie==null?void 0:ie.find(({range:[ht,Bt],subjects:kt})=>ht<Be&&Be<Bt&&kt.length);return Ze&&tt(dn)&&mn(),!!Ze}),fr=P=>{if(!b)return P;const ie=tt(ur),ge=tt(ri),Ze=tt(pi)/ge,ht=ie.find(Bt=>Bt.interactive&&!Bt.completed&&Bt.time>Ze);return typeof(ht==null?void 0:ht.time)=="number"?Math.min(P,ht.time-.05):P},Zc=()=>{clearTimeout(kn),clearTimeout(wn),Et.unsubscribe(),at.unsubscribe(),T.destroy(),ce.destroy(),A==null||A.destroy(),oe==null||oe.destroy(),Pe.unsubscribe()},Wt={interfaceLanguage$:ae,initVideo:rt,videoId:e,isClip:t,playerPhase:De,vsid:O,state:{positionExact$:Je,positionWithScrubbing$:nn,duration$:ri,playbackState$:Ge,isPlaying$:xi,isLoaderVisible:Ni,bufferedProgress$:Vi,isLive$:mt,canChangePlaybackSpeed$:Ke,isActiveLive$:St,isOldestAvailableLive$:Wi,isRewindableLive$:Bi,isEnded$:xt,muted$:di,volume$:st,trafficSavingEnabled$:de,autoQualityLimitingAvailable$:Ce,currentQuality$:Ci,isAutoQualityEnabled$:si,availableQualities$:vi,currentPlaybackRate$:ai,availablePlaybackRates$:gi,currentSubtitle$:Ut,availableSubtitlesList$:zi,currentSubtitleCaptions$:_i,isAutoSubtitleCaptionVisible$:Di,chromecastState$:mi,chromecastDeviceName$:Mt,chromecastConnected$:Oi,currentFormat$:Ei,throughputEstimation$:Mi,videoBitrate$:Ri,videoSize$:Le,errorLog$:Ie,crashed$:Ae,isAudioAvailable$:hi,isAudioDisabled:!!l,canDownload:ee.features.download&&!!r,availableSources$:Pi,hasMpegSources$:Fi,isInteractive:b,isInteractiveGraphEnabled:ee.features.interactiveGraph,isSeekToInteractiveEnable:ee.features.seekToInteractive,isPlayPrevChapterEnabled:ee.features.interactivePlayPrevChapter,interactiveEpisodes$:ur,isInteractiveTime$:ul,graphIsOpened$:He(!1),isInteractiveExpectation$:cr,hasInteractiveBranches:w,playPrevChapterDisabledTooltip:C},ui:{controlsVisible:He(!1),touched:He(!1),controls:{prevButton:He(void 0),playButton:He(void 0),replayButton:He(void 0),nextButton:He(void 0),playPrevChapterButton:He(void 0),seekToInteractiveButton:He(void 0),interactiveGraphButton:He(void 0),liveButton:He(void 0),time:He(void 0),episodes:He(void 0),volume:He(void 0),subtitles:He(void 0),settings:He(void 0),chromecast:He(void 0),fullscreen:He(void 0),vkLogo:He(void 0),additionalButtons:B.length?B.reduce(P=>[...P,He(void 0)],[]):[],disabledControls$:Fe},modals:{hotKeyMap:{show:He(!1),data:He({title:"",closeBtnText:"",groups:[]})}},isFullscreen:ve,rotateAlpha:J,isAutoplay:He(!1),contextMenuVisible:He(!1),debugPanelVisible:He(!1),playerSize:On,isMobile:gt,mobileNotReportControlHidden$:en,mobileUnmuteButtonExpanded:He(!1),mobileUnmuteButtonVisible:He(!1),icon3DVideoVisible:He(!1),settingsMenuVisible:He(!1),scrubbingInProgress:dn,is3DVideo:He(!1),isPictureInPictureActive$:lt,pictureInPictureType$:gn(M),clientInfo$:gn(G),currentGridType$:$,additionalButtons$:hn,interactiveHideMobileControls:He(!1),overlayContainer$:He(void 0)},ads:{position:He(0),duration:He(0),playbackState:He(Jt.INACTIVE),canSkip:He(!1),secondsToWatchBeforeSkip:He(0),postrollPassed:He(!1)},webApi:{pictureInPictureApi:se,annotationsApi:we},actions:{internal:{preload:ti,firstStart:P=>ut(P,!1),pause:()=>le(!1),togglePlay:ui,toggleMuted:ei,setVolume:bi,setQuality:wi,setTrafficSavingEnabled:P=>ii(P),setPlaybackRate:ci,incrementPlaybackRate:Gi,decrementPlaybackRate:Hi,setSubtitle:Ti,toggleSubtitle:Xi,togglePictureInPicture:rn,startScrubbing:Un,progressScrubbing:fi,completeScrubbing:Bn,toggleChromecast:Yn,switchToActiveLive:pn,switchFromAdsToVideo:ho,switchFromVideoToAds:po,skipAd:on,setWaitingLive:vo,setWaitingRecord:go,getDebugTextData:_o,getDebugPanelData:bo,getVideoElement:Kn,seekTime:(P,ie,ge)=>ni(P,ie,ge),clearDelayedBufferingCheckTimeout:Nt,seekEpisodeStartTime:ki,seekToPercent:Ui,getNextEpisode:ln,seekToNextEpisode:Cn,getPrevEpisode:q,seekToPrevEpisode:bt,startLogging:$e,stopLogging:ue,startCameraManualRotation:Xe,stopCameraManualRotation:xe,moveCameraFocusPX:Qe,holdCamera:je,releaseCamera:ft,getVideoEpisodes:qt,getPreviewThumbsData:vn,downloadVideo:$t,addLanguage:Wr,setLanguage:x,nextMovie:Oe,videoRotate:Xn,completeInteractiveRange:jc,correctSeekTimeToInteractive:fr,replayInteractive:E},external:{firstStart:P=>ut(P,!0),play:()=>Sn(!0),pause:()=>le(!0),seekTime:P=>Ki(P),seekEpisodeStartTime:P=>Qt(P),setPlaybackRate:P=>fe(P),setAutoQualityLimits:P=>zt(P),setMuted:P=>Xt(P,!0),setVolume:P=>bi(P,P,!0)}},callbacks:s,setUiCallbacks:P=>{H={...P}},getAdmanWrapper:()=>ce,getLogger:()=>te,destroy:Zc};return Wt};class I6{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function M6(i){let e,t,n,o;return{c(){e=I("svg"),t=I("g"),n=I("path"),o=I("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(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(l,r){S(l,e,r),d(e,t),d(t,n),d(t,o)},p:K,i:K,o:K,d(l){l&&y(e)}}}class R6 extends ye{constructor(e){super(),ke(this,e,null,M6,_e,{})}}function N6(i){qe(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function B6(i){let e,t,n,o,l,r,s;return n=new R6({}),{c(){e=k("div"),t=k("div"),F(n.$$.fragment),o=N(),l=k("span"),r=ze(i[0]),u(t,"class","dummy-image v-1pbsod4"),V(t,"desktop",!i[1]),u(l,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),V(e,"is-pip-api",i[2])},m(a,c){S(a,e,c),d(e,t),z(n,t,null),d(e,o),d(e,l),d(l,r),s=!0},p(a,[c]){(!s||c&2)&&V(t,"desktop",!a[1]),(!s||c&1)&&it(r,a[0])},i(a){s||(m(n.$$.fragment,a),s=!0)},o(a){v(n.$$.fragment,a),s=!1},d(a){a&&y(e),D(n)}}}function O6(i,e,t){let n,o;const l=Tt(),r=!!l.webApi.pictureInPictureApi,s=l.interfaceLanguage$;W(i,s,f=>t(5,n=f));const a=l.ui.isMobile;W(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&Z("pip_dummy_title"))},[c,o,r,s,a,n]}class z6 extends ye{constructor(e){super(),ke(this,e,O6,B6,_e,{},N6)}}const D6=460,F6=280;class qc{constructor(){this.info={isActive$:new Zl(!1),type:En.DocumentPictureInPicture}}isSupported(){const e=Gl().browser===H1.Yandex,{isEmbed:t}=u0();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:D6,height:F6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
- `),o=document.createElement("style");o.textContent=n;const l=this.createStretchedContainer(),r=l.attachShadow({mode:"open"});r.append(o),r.append(this.playerDomElement),this.playerDummyElement=new z6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(l),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function H6(i){return i instanceof qc}class U6{static getLatestSupportedVersion(){const e=new tr,t=new qc;if(t.isSupported())return t;if(e.isSupported())return e}}function z1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),l={};for(const r of o)l[r]=(n=(t=e[r])!==null&&t!==void 0?t:i[r])!==null&&n!==void 0?n:void 0;return l}const D1="Inner error. Unexpectedly root annotation container null reference exception",q6="Annotation layer with such name already exists";class Bl extends Error{constructor(e){super(e),this.name="AnnotationError"}}class W6{constructor(){this.layers=new Map}registryRootContainer(e){this.detach(),this.rootAnnotationsContainer=e}addLayer(e){if(!this.rootAnnotationsContainer)throw new Bl(D1);if(this.layers.has(e))throw new Bl(q6);const t=document.createElement("div");return t.className="annotations-layer",t.style.width="100%",t.style.height="100%",t.style.position="absolute",t.style.left="0",t.style.top="0",this.rootAnnotationsContainer.append(t),this.layers.set(e,t),t}getLayer(e){return this.layers.get(e)}removeLayer(e){const t=this.layers.get(e);t&&this.layers.delete(e)&&t.remove()}clearLayer(e){const t=this.layers.get(e);for(;t!=null&&t.lastChild;)t.lastChild.remove()}detach(){for(const e of this.layers.values())e.remove()}reattach(){if(!this.rootAnnotationsContainer)throw new Bl(D1);for(const e of this.layers.values())this.rootAnnotationsContainer.append(e)}destroy(){this.detach(),this.layers.clear(),this.rootAnnotationsContainer=void 0}}class Wc{init(e,t){return vt(e),vt(t),this.subscription=new Wn,this.subscription}}class j6 extends Wc{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...He(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(l=>{this.state$.set(l?!0:null)})),n}}class Z6 extends Wc{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...He(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:l,isPlaying$:r}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=tt(a),f=()=>c&&tt(s);return n.add(s.subscribe(h=>{if(!c)return;const p=tt(o);tt(r)?this.state$.set(h):p!==null&&this.state$.set(!p||h)})),n.add(r.subscribe(h=>{this.state$.set(!h||f())})),n.add(o.subscribe(h=>{if(h===null)return;const p=tt(l);if(f()){this.state$.set(!0);return}p&&this.state$.set(!h)})),n}}const G6=()=>[j6,Z6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),K6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:Eo.RU,logoClickable:!1,logoHidden:!1,isMobile:c0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class Y6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this._shadowRoot=this.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.logger=new q1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Wn,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new b6({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,l;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(l=this.interactiveController)===null||l===void 0||l.destroy()}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,l,r,s,a,c,f,h,p,_,g,b;if(!this.videoConfig)return;const{albumId:L,statPlace:E,statUserSalt:w,statAuthToken:C,statTrackCode:B,refreshStatAuthToken:R,preload:U,autoplay:Y,volume:j,muted:ne,fromTime:Q,canRewindLive:ee,supportLink:T,showAds:te,adsSlotId:ce,adsParams:A={},adsPreviewParam:oe,interfaceLanguage:se,logoClickable:we,logoHidden:be,isMobile:Te,isAudioDisabled:Se,isLiveCatchUpMode:H,fullScreenTarget:G,failoverHosts:O,canDownload:ve,callbacks:X,interactiveData:M,showThumbTimer:J,additionalButtons:Ie=[],repeat:Pe}=z1(this.videoConfig,t),{sources:Ae,title:x,thumbUrl:ae,videoLogoUrl:pe,unitedVideoId:re,isClip:De=!1,duration:Fe,adsParams:rt={},videoEpisodes:ot,previewThumbsData:Oe,subtitles:dt,live:wt}=e,Re={...A,...rt},Me=this.getNextVideoInfo(),Zt={sources:Ae,title:x,thumbUrl:ae,subtitles:dt,unitedVideoId:re,isClip:De,live:wt,albumId:L,statPlace:E,autoplay:Y,muted:ne,volume:j,fromTime:Q,canRewindLive:ee,showAds:te,adsSlotId:ce,adsParams:Re,adsPreviewParam:oe,duration:Fe,logoClickable:we,logoHidden:be,isMobile:Te,repeat:Pe,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Me.nextVideoTitle,endScreenVideoThumb:Me.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},Et={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(Zt)}`});const at=this.uiConfig.features.statistics&&!!re,{pid:$e}=((l=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||l===void 0?void 0:l.projectInfo)||{};at&&new So({movieId:re,albumId:L,place:E,trackCode:B,autoplay:(r=Y&&!this.interactiveController)!==null&&r!==void 0?r:!1,mobile:Te,clip:De,...$e&&!this.isInited&&{projectId:Number($e)}},{refreshAuthToken:R,userSalt:w,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new Wl(this.uiConfig.sentry,{version:Yl,env:O0},{movieId:re,albumId:L,place:E,autoplay:(s=Y&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Te,clip:De}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=So.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics={...this.statistics,...So.getInstance()},this.sentry={...this.sentry,...Wl.getInstance()};const Xe=!!M,xe=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),Qe=[];let je;if(Xe&&this.interactiveController){const lt=this.interactiveController.state,Ge=this.interactiveController.getHistoryState();lt.isInitialChapter$.getValue()&&Qe.push(pt.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||Qe.push(pt.SEEK_TO_INTERACTIVE_BUTTON),Ge.hasPrevChapter$.getValue()||(lt.isInitialChapter$.getValue()?je="tooltip_interactive_go_back_disabled_first":lt.lastChapterChangeWasInitiatedByInteractive$.getValue()?je="tooltip_interactive_go_back_disabled":je="tooltip_interactive_go_back_disabled_limit",Qe.push(pt.PLAY_PREV_CHAPTER_BUTTON))}const ft=()=>{var lt;this.isInited=!1,this.prevIsid=void 0;const Ge=(n==null?void 0:n.info.isEnded$.getValue())&&((lt=this.interactiveController)===null||lt===void 0?void 0:lt.state.isEndChapter$.getValue());X.onReplayInteractiveVideo&&!Ge?X.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=V6({player:n,interfaceLanguage:se,videoId:re,isClip:De,isLiveCatchUpMode:H,isAudioDisabled:Se,statAuthToken:C,callbacks:X,webApi:Et,videoEpisodes:ot,previewThumbsData:Oe,canDownload:ve,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:Qe,isInteractive:Xe,interactiveRanges:xe,replayInteractive:ft,playPrevChapterDisabledTooltip:je,hasInteractiveBranches:!!(!((p=(h=this.interactiveController)===null||h===void 0?void 0:h.getChapterBranches())===null||p===void 0)&&p.length),additionalButtons:this.uiConfig.features.additionalButtons?Ie:[],looped:Pe&&this.videoConfig.videos.length===1});const{stores:Je}=this.microStoresRoot=G6();this.subscription.add(this.store.state.currentFormat$.subscribe(lt=>{var Ge;return(Ge=X==null?void 0:X.onCurrentFormatChanged)===null||Ge===void 0?void 0:Ge.call(X,lt)})),this.subscription.add(Je.interactiveControlsOpacity$.subscribe(lt=>{var Ge;lt!==null&&((Ge=this===null||this===void 0?void 0:this.interactiveController)===null||Ge===void 0||Ge.setDisabledControls(lt))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(lt=>{var Ge;return(Ge=X==null?void 0:X.onThroughputEstimationChanged)===null||Ge===void 0?void 0:Ge.call(X,lt)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(lt=>{var Ge;return(Ge=X==null?void 0:X.onVideoBitrateChanged)===null||Ge===void 0?void 0:Ge.call(X,lt)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(lt=>{var Ge;const et=(Ge=this.store)===null||Ge===void 0?void 0:Ge.ui.controls.disabledControls$;et&&(lt&&!et.includes(Yo)&&et.add(Yo),lt||et.remove(Yo))})),this.initMediaSession(),this.interactiveController&&at&&this.initInteractivesStatistics(),this.svelteRootComponent=new d6({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ae,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:x,thumbUrl:ae,videoLogoUrl:pe,subtitles:dt,live:wt,preload:U,autoplay:Y,muted:ne,volume:j,fromTime:Q,canRewindLive:ee,supportLink:T,showAds:te,adsSlotId:ce,adsParams:Re,adsPreviewParam:oe,duration:Fe,logoClickable:we,logoHidden:be,isMobile:Te,failoverHosts:O,fullScreenTarget:G,showMiniTimer:J,outerContainerRef:this.playerContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Me.nextVideoTitle,endScreenVideoThumb:Me.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist(),playNextVideo:()=>this.playNextVideo(),playPrevVideo:()=>this.playPrevVideo(),repeatPlaylist:()=>this.repeatPlaylist(),playPrevChapter:()=>this.playPrevChapter(),seekToInteractive:()=>this.seekToInteractive(),toggleGraph:()=>this.toggleGraph()}}),this.addPlayerInfoSubscriptions(),this.isInited||(this.isInited=!0,(b=(g=(_=this.videoConfig)===null||_===void 0?void 0:_.callbacks)===null||g===void 0?void 0:g.onInited)===null||b===void 0||b.call(g))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(l=>{var r;return(r=n.onPlayerPhaseChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.playbackState$.subscribe(l=>{var r;return(r=n.onPlaybackStateChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isLive$.subscribe(l=>{var r;return(r=n.onIsLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isActiveLive$.subscribe(l=>{var r;return(r=n.onIsActiveLiveChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.isAudioAvailable$.subscribe(l=>{var r;return(r=n.onIsAudioAvailableChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.currentQuality$.subscribe(l=>{var r;return(r=n.onCurrentQualityChanged)===null||r===void 0?void 0:r.call(n,l)})).add(t.state.availableQualities$.subscribe(l=>{var r;return(r=n.onAvailableQualitiesChanged)===null||r===void 0?void 0:r.call(n,l.map(({value:s})=>s).filter(s=>s!==ao.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(l=>{var r,s;return l?(r=n.onPiPEnter)===null||r===void 0?void 0:r.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(l=>{var r;return(r=o.onControlsVisibleChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.isMobile.subscribe(l=>{var r;return(r=o.onIsMobileChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.playerSize.subscribe(l=>{var r;return(r=o.onPlayerSizeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.prevButton.subscribe(l=>{var r;return(r=o.onPrevButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playButton.subscribe(l=>{var r;return(r=o.onPlayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.replayButton.subscribe(l=>{var r;return(r=o.onReplayButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.nextButton.subscribe(l=>{var r;return(r=o.onNextButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.playPrevChapterButton.subscribe(l=>{var r;return(r=o.onPlayPrevChapterChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.seekToInteractiveButton.subscribe(l=>{var r;return(r=o.onSeekToInteractiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.interactiveGraphButton.subscribe(l=>{var r;return(r=o.onGraphButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.liveButton.subscribe(l=>{var r;return(r=o.onLiveButtonChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.time.subscribe(l=>{var r;return(r=o.onTimeUpdateChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.episodes.subscribe(l=>{var r;return(r=o.onEpisodesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.volume.subscribe(l=>{var r;return(r=o.onVolumeChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.subtitles.subscribe(l=>{var r;return(r=o.onSubtitlesChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.settings.subscribe(l=>{var r;return(r=o.onSettingsChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.fullscreen.subscribe(l=>{var r;return(r=o.onFullscreenChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.chromecast.subscribe(l=>{var r;return(r=o.onChromecastChanged)===null||r===void 0?void 0:r.call(o,l)})).add(t.ui.controls.vkLogo.subscribe(l=>{var r;return(r=o.onVkLogoChanged)===null||r===void 0?void 0:r.call(o,l)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&un(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:l,graphIsOpened$:r}=n.state,{disabledControls$:s}=n.ui.controls,a=tt(o),c=tt(l);tt(r)?(r.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(gr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",r.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(gr),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t,n,o;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:l,EVENT_NAMES:r,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?tt(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:h,videoLoader:p}=this.videoConfig.interactiveData;this.interactiveController=new l({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:h,vkVideoLoader:p,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:_}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(b=>{if(!this.isInited)return;const L=this.store;b?L.ui.controls.disabledControls$.remove(pt.SEEK_TO_INTERACTIVE_BUTTON):L.ui.controls.disabledControls$.add(pt.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(_.subscribe(b=>{this.store&&this.store.state.isInteractiveExpectation$.set(b)}));let g=!0;if(this.interactiveController.on(r.playerChanged,b=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...b.config,title:(f==null?void 0:f.title)||b.config.title};const L=g?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(b.player,L),g&&(g=!1)}),this.interactiveController.on(r.interactives,({type:b,subjectId:L,actionType:E})=>{var w,C,B,R;if(!this.store)return;const U=_.getValue();if(b==="container-removed"&&this.store.actions.internal.completeInteractiveRange(L),b==="action-choice"&&E==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(J1)),b==="action-choice-canceled"){const Y=tt(this.store.state.isPlaying$)||U;if(!((w=this.videoConfig)===null||w===void 0)&&w.isMobile&&Y){this.store.ui.interactiveHideMobileControls.set(!0);return}(R=(C=this.videoConfig)===null||C===void 0?void 0:(B=C.callbacks).onDisabledInteractiveClick)===null||R===void 0||R.call(B)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const b=this.interactiveController.getHistoryState();this.subscription.add(b.history$.subscribe(L=>{var E,w,C;L.length&&((C=(w=(E=this.videoConfig)===null||E===void 0?void 0:E.callbacks)===null||w===void 0?void 0:w.onInteractiveHistoryChanged)===null||C===void 0||C.call(w,L))}))}this.interactiveController.on(r.errors,b=>{this.log({message:b.toString()})})}catch(l){this.log({message:l.message})}}async initInteractivesStatistics(){var e,t;const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:l}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js"),r={[l.GO_NEXT_BUTTON]:ko.NEXT_BUTTON,[l.GO_NEXT_AREA]:ko.NEXT_AREA,[l.WATCH_AGAIN]:ko.WATCH_AGAIN,[l.OPEN_GRAPH]:ko.GRAPH_SHOW,[l.CLOSE_GRAPH]:ko.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new tn;s.subscribe(f=>{var h,p;f in r?c.next(r[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(p=(h=this.sentry).report)===null||p===void 0||p.call(h,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(l){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,l,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){var n,o,l,r,s,a,c,f,h,p,_,g,b,L,E,w,C,B,R;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=z1(K6,f0(e,U=>U instanceof HTMLElement?U:void 0)),this.uiConfig=L0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(l=t.statistics)!==null&&l!==void 0?l:{}},this.sentry={config:(r=this.uiConfig.sentry)!==null&&r!==void 0?r:{}},un(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),un(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(h=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&h!==void 0?h:!0),this.videoConfig.isMobile=(p=this.uiConfig.isMobile)!==null&&p!==void 0?p:this.videoConfig.isMobile,(B=this.videoConfig).autoplay&&(B.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(_=this.uiConfig.ads.enable)!==null&&_!==void 0?_:this.videoConfig.showAds,this.videoConfig.adsSlotId=(g=this.uiConfig.ads.slot)!==null&&g!==void 0?g:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(b=this.uiConfig.ads.preview)!==null&&b!==void 0?b:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((L=this.uiConfig.showLogo)!==null&&L!==void 0?L:!this.videoConfig.logoHidden),(R=this.videoConfig).canRewindLive&&(R.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(E=this.videoConfig.supportLink)!==null&&E!==void 0?E:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=U6.getLatestSupportedVersion():this.pictureInPictureApi=new tr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new I6:void 0,this.annotationsApi=this.uiConfig.features.annotations?new W6:void 0,(w=this.svelteStubComponent)===null||w===void 0||w.$destroy(),(C=this.svelteRootComponent)===null||C===void 0||C.$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]),H6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Ne.Video?this.setupMediaSessionForVideo():n===Ne.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",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:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(pt.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Ne.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(pt.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await((t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=So.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const t_=()=>{window.customElements.define("vk-video-player",Y6)};export{Vt as GridTypes,s_ as InterfaceLanguage,Yl as VERSION,a_ as VKNumericLanguage,o_ as VideoFormat,l_ as VideoQuality,u_ as loadVKLangPack,t_ 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 F_(i){let e,t,n;function o(l){i[56](l)}let r={store:i[0],uiConfig:i[35],title:i[1],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new T_({props:r}),ke.push(()=>je(e,"videoContainer",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&2&&(a.title=l[1]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function H_(i){let e,t,n;function o(l){i[55](l)}let r={store:i[0],uiConfig:i[35],thumbUrl:i[2],videoLogoUrl:i[3],interactiveContainer:i[4],live:i[5],autoplay:i[6],canRewindLive:i[7],showAds:i[8],adsSlotId:i[9],adsParams:i[10],adsPreviewParam:i[11],duration:i[12],logoClickable:i[13],logoHidden:i[14],showNextPrevButtons:i[16],nextButtonActive:i[17],prevButtonActive:i[18],endScreenVideoTitle:i[19],endScreenVideoThumb:i[20],isOneVideoPlaylist:i[21],supportLink:i[22],outerContainerRef:i[23],fullScreenTarget:i[24],showMiniTimer:i[25],playerStarted:i[34],playNextVideo:i[26],playPrevVideo:i[27],repeatPlaylist:i[28],seekToInteractive:i[29],toggleGraph:i[30],playPrevChapter:i[31],firstStart:i[36],seekTime:i[32]};return i[33]!==void 0&&(r.videoContainer=i[33]),e=new D_({props:r}),ke.push(()=>je(e,"videoContainer",o)),{c(){q(e.$$.fragment)},m(l,s){F(e,l,s),n=!0},p(l,s){const a={};s[0]&1&&(a.store=l[0]),s[0]&4&&(a.thumbUrl=l[2]),s[0]&8&&(a.videoLogoUrl=l[3]),s[0]&16&&(a.interactiveContainer=l[4]),s[0]&32&&(a.live=l[5]),s[0]&64&&(a.autoplay=l[6]),s[0]&128&&(a.canRewindLive=l[7]),s[0]&256&&(a.showAds=l[8]),s[0]&512&&(a.adsSlotId=l[9]),s[0]&1024&&(a.adsParams=l[10]),s[0]&2048&&(a.adsPreviewParam=l[11]),s[0]&4096&&(a.duration=l[12]),s[0]&8192&&(a.logoClickable=l[13]),s[0]&16384&&(a.logoHidden=l[14]),s[0]&65536&&(a.showNextPrevButtons=l[16]),s[0]&131072&&(a.nextButtonActive=l[17]),s[0]&262144&&(a.prevButtonActive=l[18]),s[0]&524288&&(a.endScreenVideoTitle=l[19]),s[0]&1048576&&(a.endScreenVideoThumb=l[20]),s[0]&2097152&&(a.isOneVideoPlaylist=l[21]),s[0]&4194304&&(a.supportLink=l[22]),s[0]&8388608&&(a.outerContainerRef=l[23]),s[0]&16777216&&(a.fullScreenTarget=l[24]),s[0]&33554432&&(a.showMiniTimer=l[25]),s[1]&8&&(a.playerStarted=l[34]),s[0]&67108864&&(a.playNextVideo=l[26]),s[0]&134217728&&(a.playPrevVideo=l[27]),s[0]&268435456&&(a.repeatPlaylist=l[28]),s[0]&536870912&&(a.seekToInteractive=l[29]),s[0]&1073741824&&(a.toggleGraph=l[30]),s[1]&1&&(a.playPrevChapter=l[31]),!t&&s[1]&4&&(t=!0,a.videoContainer=l[33],qe(()=>t=!1)),e.$set(a)},i(l){n||(d(e.$$.fragment,l),n=!0)},o(l){g(e.$$.fragment,l),n=!1},d(l){H(e,l)}}}function U_(i){let e,t,n,o;const r=[H_,F_],l=[];function s(a,c){return a[15]?0:1}return t=s(i),n=l[t]=r[t](i),{c(){e=T("div"),n.c(),u(e,"class","root v-cghoty")},m(a,c){E(a,e,c),l[t].m(e,null),o=!0},p(a,c){let f=t;t=s(a),t===f?l[t].p(a,c):(pe(),g(l[f],1,1,()=>{l[f]=null}),he(),n=l[t],n?n.p(a,c):(n=l[t]=r[t](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&&P(e),l[t].d()}}}function q_(i,e,t){let{sources:n}=e,{store:o}=e,{microStoresRoot:r}=e,{uiConfig:l}=e,{title:s}=e,{thumbUrl:a}=e,{videoLogoUrl:c}=e,{interactiveContainer:f}=e,{subtitles:m}=e,{live:h}=e,{preload:b}=e,{autoplay:v}=e,{volume:y=void 0}=e,{muted:_=void 0}=e,{fromTime:C}=e,{canRewindLive:k}=e,{showAds:w}=e,{adsSlotId:N=void 0}=e,{adsParams:Q=void 0}=e,{adsPreviewParam:M=void 0}=e,{duration:G=void 0}=e,{logoClickable:re}=e,{logoHidden:ie}=e,{isMobile:O}=e,{showNextPrevButtons:$=!1}=e,{nextButtonActive:S=!1}=e,{prevButtonActive:D=!1}=e,{endScreenVideoTitle:le=void 0}=e,{endScreenVideoThumb:L=void 0}=e,{isOneVideoPlaylist:se=!1}=e,{supportLink:me}=e,{outerContainerRef:ve=void 0}=e,{fullScreenTarget:ue=void 0}=e,{failoverHosts:Y=void 0}=e,{showMiniTimer:ce=!1}=e,{playNextVideo:De=Ye}=e,{playPrevVideo:fe=Ye}=e,{repeatPlaylist:Ae=Ye}=e,{seekToInteractive:Se=Ye}=e,{toggleGraph:ae=Ye}=e,{playPrevChapter:Te=Ye}=e;const{subscribers:A,stores:ne}=r;U0(l);const Me=vn(),Ce=o.ui.debugPanelVisible,Pe=o.ui.playerSize;let oe,X=null,U=!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}),Q0(o,ne);const Be=(de=!1)=>{t(34,U=!0),de?o.actions.external.firstStart(w):o.actions.internal.firstStart(w)};function $e(de){var Xe;const Et=n||de;Et&&o.initVideo({container:oe,sources:Et,failoverHosts:Y,subtitles:m});const tt=Pn.get(fr)==="true";Ce.set(tt),C>0&&o.actions.external.seekTime(C);const Pt=O?Me.volumeDefault:(Xe=y!=null?y:K1())!=null?Xe:Me.volumeDefault,wt=_!=null?_:id();if(o.actions.external.setVolume(Pt),o.actions.external.setMuted(wt),o.getAdmanWrapper().setInitialVolume(wt?0:Pt),Me.features.trafficSaving){const He=od();He&&o.actions.internal.setTrafficSavingEnabled(He)}const pt=td(o.videoId);pt&&o.actions.internal.setQuality(pt),o.ui.isAutoplay.set(v),v?Be():b&&Me.features.preload&&o.actions.internal.preload()}const lt=de=>{if(window.ResizeObserver){let Et,tt;X=new ResizeObserver(Tl(Pt=>{const wt=Pt[0];if(wt){if(wt.contentBoxSize){const pt=Array.isArray(wt.contentBoxSize)?wt.contentBoxSize[0]:wt.contentBoxSize;Et=pt.inlineSize,tt=pt.blockSize}else wt.contentRect&&(Et=wt.contentRect.width,tt=wt.contentRect.height);Pe.set({width:Et,height:tt})}},R1)),X.observe(de)}Pe.set({width:de.clientWidth,height:de.clientHeight})};hn(()=>{lt(oe);const de=A.map(tt=>tt.init(o,ne));if((h==null?void 0:h.status)==="upcoming"||(h==null?void 0:h.status)==="waiting"){o.actions.internal.setWaitingLive(!0);return}if(((h==null?void 0:h.status)==="finished"||(h==null?void 0:h.status)==="postlive")&&!Object.keys(n||[]).length){o.actions.internal.setWaitingRecord(!0);return}return $e(),()=>{X==null||X.disconnect(),de.forEach(tt=>tt.unsubscribe()),o.destroy()}});function We(){U?o.actions.external.play():Be(!0)}function Ie(){o.actions.external.pause()}function Je(de){O||o.actions.external.setMuted(de)}function mt(de){O||de>=0&&de<=1&&o.actions.external.setVolume(de)}function st(de){o.actions.internal.seekTime(de,Ut.UNKNOWN)}function Le(de){o.actions.external.seekEpisodeStartTime(de)}function jt(){o.actions.external.returnFocusToEpisodes()}function ct(de){o.actions.external.setPlaybackRate(de)}function It(de){o.actions.external.setAutoQualityLimits(de)}function Nt(de){oe=de,t(33,oe)}function Mt(de){oe=de,t(33,oe)}return i.$$set=de=>{"sources"in de&&t(37,n=de.sources),"store"in de&&t(0,o=de.store),"microStoresRoot"in de&&t(38,r=de.microStoresRoot),"uiConfig"in de&&t(39,l=de.uiConfig),"title"in de&&t(1,s=de.title),"thumbUrl"in de&&t(2,a=de.thumbUrl),"videoLogoUrl"in de&&t(3,c=de.videoLogoUrl),"interactiveContainer"in de&&t(4,f=de.interactiveContainer),"subtitles"in de&&t(40,m=de.subtitles),"live"in de&&t(5,h=de.live),"preload"in de&&t(41,b=de.preload),"autoplay"in de&&t(6,v=de.autoplay),"volume"in de&&t(42,y=de.volume),"muted"in de&&t(43,_=de.muted),"fromTime"in de&&t(44,C=de.fromTime),"canRewindLive"in de&&t(7,k=de.canRewindLive),"showAds"in de&&t(8,w=de.showAds),"adsSlotId"in de&&t(9,N=de.adsSlotId),"adsParams"in de&&t(10,Q=de.adsParams),"adsPreviewParam"in de&&t(11,M=de.adsPreviewParam),"duration"in de&&t(12,G=de.duration),"logoClickable"in de&&t(13,re=de.logoClickable),"logoHidden"in de&&t(14,ie=de.logoHidden),"isMobile"in de&&t(15,O=de.isMobile),"showNextPrevButtons"in de&&t(16,$=de.showNextPrevButtons),"nextButtonActive"in de&&t(17,S=de.nextButtonActive),"prevButtonActive"in de&&t(18,D=de.prevButtonActive),"endScreenVideoTitle"in de&&t(19,le=de.endScreenVideoTitle),"endScreenVideoThumb"in de&&t(20,L=de.endScreenVideoThumb),"isOneVideoPlaylist"in de&&t(21,se=de.isOneVideoPlaylist),"supportLink"in de&&t(22,me=de.supportLink),"outerContainerRef"in de&&t(23,ve=de.outerContainerRef),"fullScreenTarget"in de&&t(24,ue=de.fullScreenTarget),"failoverHosts"in de&&t(45,Y=de.failoverHosts),"showMiniTimer"in de&&t(25,ce=de.showMiniTimer),"playNextVideo"in de&&t(26,De=de.playNextVideo),"playPrevVideo"in de&&t(27,fe=de.playPrevVideo),"repeatPlaylist"in de&&t(28,Ae=de.repeatPlaylist),"seekToInteractive"in de&&t(29,Se=de.seekToInteractive),"toggleGraph"in de&&t(30,ae=de.toggleGraph),"playPrevChapter"in de&&t(31,Te=de.playPrevChapter)},i.$$.update=()=>{i.$$.dirty[0]&32769&&o.ui.isMobile.set(O)},[o,s,a,c,f,h,v,k,w,N,Q,M,G,re,ie,O,$,S,D,le,L,se,me,ve,ue,ce,De,fe,Ae,Se,ae,Te,st,oe,U,Me,Be,n,r,l,m,b,y,_,C,Y,$e,We,Ie,Je,mt,Le,jt,ct,It,Nt,Mt]}class j_ extends ye{constructor(e){super(),we(this,e,q_,U_,_e,{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},z_,[-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 W_(i){let e,t;return{c(){e=B("svg"),t=B("path"),u(t,"fill",i[0]),u(t,"d","M38.245 6c3.566 0 4.859.371 6.162 1.069a7.27 7.27 0 0 1 3.025 3.024c.697 1.303 1.068 2.597 1.068 6.163v23.489c0 3.566-.371 4.859-1.069 6.162a7.27 7.27 0 0 1-3.024 3.025C43.104 49.629 41.811 50 38.245 50h-19.49c-3.565 0-4.859-.371-6.162-1.069a7.27 7.27 0 0 1-3.024-3.024C8.87 44.604 8.5 43.311 8.5 39.745v-23.49c0-3.565.371-4.859 1.069-6.162a7.27 7.27 0 0 1 3.024-3.024C13.896 6.37 15.19 6 18.756 6h19.489zm.314 3H18.756c-2.799 0-3.761.186-4.749.714a4.27 4.27 0 0 0-1.793 1.793c-.508.95-.7 1.876-.713 4.434L11.5 39.744c0 2.799.186 3.761.714 4.749a4.27 4.27 0 0 0 1.793 1.793c.988.528 1.95.714 4.749.714h19.489c2.798 0 3.76-.186 4.748-.714a4.27 4.27 0 0 0 1.793-1.793c.528-.988.714-1.95.714-4.748v-23.49c0-2.798-.186-3.76-.714-4.748a4.27 4.27 0 0 0-1.793-1.793c-.95-.508-1.876-.7-4.434-.713zM19.22 38c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.163.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.607-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.163-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.608.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436zm-20-8c.445 0 .607.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.162.088-.324.134-.77.134h-1.436c-.446 0-.608-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.162-.088.324-.134.77-.134h1.436zm20 0c.445 0 .606.046.77.134a.91.91 0 0 1 .377.378c.088.162.134.324.134.77v1.436c0 .446-.046.608-.134.77a.908.908 0 0 1-.378.378c-.163.088-.324.134-.77.134h-1.436c-.446 0-.607-.046-.77-.134a.908.908 0 0 1-.378-.378c-.088-.162-.134-.324-.134-.77v-1.436c0-.446.046-.607.134-.77a.908.908 0 0 1 .378-.378c.163-.088.324-.134.77-.134h1.436z"),u(e,"width","57"),u(e,"height","60"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-hidden","true"),u(e,"data-testid","stub-icon")},m(n,o){E(n,e,o),p(e,t)},p(n,[o]){o&1&&u(t,"fill",n[0])},i:W,o:W,d(n){n&&P(e)}}}function Z_(i,e,t){let{isWhite:n=!1}=e,o;return i.$$set=r=>{"isWhite"in r&&t(1,n=r.isWhite)},i.$$.update=()=>{i.$$.dirty&2&&t(0,o=n?"#fff":"#909499")},[o,n]}class K_ extends ye{constructor(e){super(),we(this,e,Z_,W_,_e,{isWhite:1})}}function G_(i){Ue(i,"v-1y9fytq",".playerStub.v-1y9fytq{width:100%;height:100%;background-color:#222;display:flex;justify-content:center;align-items:center;position:relative;background-position:center;background-size:cover;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.title.v-1y9fytq{position:absolute;left:0;top:0;width:100%;font-size:15px;color:#fff;box-sizing:border-box;padding:18px 20px 10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}")}function w1(i){let e,t;return{c(){e=T("div"),t=ze(i[0]),u(e,"class","title v-1y9fytq")},m(n,o){E(n,e,o),p(e,t)},p(n,o){o&1&&xe(t,n[0])},d(n){n&&P(e)}}}function y1(i){let e,t;return e=new K_({props:{isWhite:!!i[1]}}),{c(){q(e.$$.fragment)},m(n,o){F(e,n,o),t=!0},p(n,o){const r={};o&2&&(r.isWhite=!!n[1]),e.$set(r)},i(n){t||(d(e.$$.fragment,n),t=!0)},o(n){g(e.$$.fragment,n),t=!1},d(n){H(e,n)}}}function Y_(i){let e,t,n,o,r=i[0]&&w1(i),l=(!i[0]||!i[1])&&y1(i);return{c(){e=T("div"),r&&r.c(),t=R(),l&&l.c(),u(e,"class","playerStub v-1y9fytq"),u(e,"style",n=i[1]?`background-image: url('${i[1]}')`:"")},m(s,a){E(s,e,a),r&&r.m(e,null),p(e,t),l&&l.m(e,null),o=!0},p(s,[a]){s[0]?r?r.p(s,a):(r=w1(s),r.c(),r.m(e,t)):r&&(r.d(1),r=null),!s[0]||!s[1]?l?(l.p(s,a),a&3&&d(l,1)):(l=y1(s),l.c(),d(l,1),l.m(e,null)):l&&(pe(),g(l,1,1,()=>{l=null}),he()),(!o||a&2&&n!==(n=s[1]?`background-image: url('${s[1]}')`:""))&&u(e,"style",n)},i(s){o||(d(l),o=!0)},o(s){g(l),o=!1},d(s){s&&P(e),r&&r.d(),l&&l.d()}}}function X_(i,e,t){let{title:n}=e,{thumbUrl:o}=e;return i.$$set=r=>{"title"in r&&t(0,n=r.title),"thumbUrl"in r&&t(1,o=r.thumbUrl)},[n,o]}class Q_ extends ye{constructor(e){super(),we(this,e,X_,Y_,_e,{title:0,thumbUrl:1},G_)}}class J_{isSupported(){return"mediaSession"in navigator}setMetaData({title:e,artist:t="",thumbUrl:n=""}){this.isSupported()&&(navigator.mediaSession.metadata=new MediaMetadata({title:e,artist:t,artwork:[{src:n,sizes:"96x96",type:"image/png"},{src:n,sizes:"128x128",type:"image/png"},{src:n,sizes:"192x192",type:"image/png"},{src:n,sizes:"256x256",type:"image/png"},{src:n,sizes:"384x384",type:"image/png"},{src:n,sizes:"512x512",type:"image/png"}]}))}updateActionHandlers(e){this.resetActionHandlers(),this.setActionHandlers(e)}resetActionHandlers(){const e=[["play",null],["pause",null],["stop",null],["nexttrack",null],["previoustrack",null],["seekto",t=>null],["seekbackward",t=>null],["seekforward",t=>null]];this.setActionHandlers(e)}setActionHandlers(e){if(this.isSupported())for(const[t,n]of e)try{navigator.mediaSession.setActionHandler(t,n)}catch(o){throw new Error(`The media session action "${t}" is not supported yet.`)}}}function x_(i){let e,t,n,o;return{c(){e=B("svg"),t=B("g"),n=B("path"),o=B("path"),u(n,"d","m30.744 4 .744.005c2.981.046 4.526.385 6.127 1.24a8.766 8.766 0 0 1 3.475 3.347l.174.312.15.292c.772 1.553 1.066 3.18 1.085 6.251v9.045a1.5 1.5 0 0 1-3 .016l-.008-9.651c-.04-2.032-.228-3.12-.627-4.035l-.126-.27-.13-.252A5.77 5.77 0 0 0 36.2 7.891c-1.187-.635-2.339-.873-5.115-.89L22.255 7c-2.737 0-4.003.2-5.071.698l-.133.064-.251.13a5.77 5.77 0 0 0-2.409 2.408c-.635 1.187-.873 2.339-.89 5.114l-.001 20.83c0 2.738.2 4.004.698 5.072l.064.133.13.251a5.769 5.769 0 0 0 2.408 2.409c1.1.588 2.134.825 4.438.88l.323.006 3.695.005H26a1.5 1.5 0 0 1 0 3h-.756l-3.718-.005c-2.989-.047-4.526-.377-6.14-1.24a8.766 8.766 0 0 1-3.476-3.347l-.174-.312-.15-.292c-.731-1.472-1.036-3.016-1.08-5.803l-.006-.756v-20.49l.005-.743c.046-2.981.385-4.526 1.24-6.127a8.765 8.765 0 0 1 3.347-3.475l.312-.174.292-.15c1.472-.731 3.016-1.036 5.803-1.08L22.256 4h8.488Z"),u(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(t,"fill","#fff"),u(e,"width","57"),u(e,"height","56"),u(e,"fill","none"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"aria-label","dummy-image"),u(e,"data-testid","pip-dummy-icon")},m(r,l){E(r,e,l),p(e,t),p(t,n),p(t,o)},p:W,i:W,o:W,d(r){r&&P(e)}}}class $_ extends ye{constructor(e){super(),we(this,e,null,x_,_e,{})}}function e6(i){Ue(i,"v-1pbsod4",".player-pip-dummy.v-1pbsod4{width:100%;height:100%;background-color:#19191A;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif}.player-pip-dummy.is-pip-api.v-1pbsod4{position:relative}.dummy-image.v-1pbsod4 svg{transform:scale(1.07143)}.dummy-image.desktop.v-1pbsod4{transform:scale(1.07143) rotate(-90deg) rotateY(180deg)}.title.v-1pbsod4{font-size:16px;color:#fff;padding:18px 20px 10px;text-align:center}")}function t6(i){let e,t,n,o,r,l,s;return n=new $_({}),{c(){e=T("div"),t=T("div"),q(n.$$.fragment),o=R(),r=T("span"),l=ze(i[0]),u(t,"class","dummy-image v-1pbsod4"),V(t,"desktop",!i[1]),u(r,"class","title v-1pbsod4"),u(e,"class","player-pip-dummy v-1pbsod4"),V(e,"is-pip-api",i[2])},m(a,c){E(a,e,c),p(e,t),F(n,t,null),p(e,o),p(e,r),p(r,l),s=!0},p(a,[c]){(!s||c&2)&&V(t,"desktop",!a[1]),(!s||c&1)&&xe(l,a[0])},i(a){s||(d(n.$$.fragment,a),s=!0)},o(a){g(n.$$.fragment,a),s=!1},d(a){a&&P(e),H(n)}}}function i6(i,e,t){let n,o;const r=St(),l=!!r.webApi.pictureInPictureApi,s=r.interfaceLanguage$;z(i,s,f=>t(5,n=f));const a=r.ui.isMobile;z(i,a,f=>t(1,o=f));let c;return i.$$.update=()=>{i.$$.dirty&32&&t(0,c=n&&K("pip_dummy_title"))},[c,o,l,s,a,n]}class n6 extends ye{constructor(e){super(),we(this,e,i6,t6,_e,{},e6)}}const o6=460,l6=280;class Vf{constructor(){this.info={isActive$:new gr(!1),type:Bn.DocumentPictureInPicture}}isSupported(){const e=br().browser===C1.Yandex,{isEmbed:t}=y0();return"documentPictureInPicture"in window&&!e&&!t}isActive(){return this.isSupported()&&!!documentPictureInPicture.window}setPlayerDomElement(e,t){this.playerDomElement=e,this.playerParentShadowRoot=t}setContext(e){this.svelteContext=e}async request(){var e,t;if(!this.isSupported()||!this.playerDomElement||!this.playerParentShadowRoot)return;this.pipWindow=await documentPictureInPicture.requestWindow({width:o6,height:l6,copyStyleSheets:!0}),this.pipWindow.document.body.style.margin="0";const n=[...this.playerParentShadowRoot.styleSheets].map(s=>[...s.cssRules].map(a=>a.cssText).join(" ")).filter(Boolean).join(`
51
+ `),o=document.createElement("style");o.textContent=n;const r=this.createStretchedContainer(),l=r.attachShadow({mode:"open"});l.append(o),l.append(this.playerDomElement),this.playerDummyElement=new n6({target:this.playerParentShadowRoot,context:this.svelteContext}),(e=this.pipWindow)===null||e===void 0||e.document.body.append(r),this.info.isActive$.next(!0),(t=this.pipWindow)===null||t===void 0||t.addEventListener("unload",s=>{!this.playerDomElement||!this.playerParentShadowRoot||!this.playerDummyElement||(this.playerDummyElement.$destroy(),this.playerParentShadowRoot.append(this.playerDomElement),this.info.isActive$.next(!1))})}async remove(){return new Promise(e=>{var t;(t=documentPictureInPicture.window)===null||t===void 0||t.close(),e()})}async dispose(){await this.remove()}createStretchedContainer(){const e=document.createElement("div");return e.style.width="100%",e.style.height="100%",e}}function r6(i){return i instanceof Vf}class s6{static getLatestSupportedVersion(){const e=new Lr,t=new Vf;if(t.isSupported())return t;if(e.isSupported())return e}}function k1(i,e){var t,n;const o=new Set([...Object.keys(i),...Object.keys(e)]),r={};for(const l of o)r[l]=(n=(t=e[l])!==null&&t!==void 0?t:i[l])!==null&&n!==void 0?n:void 0;return r}const a6="Inner error. Unexpectedly root annotation container null reference exception",u6="Annotation with such name already exists",c6="Annotation with such name does not exist";class sr extends Error{constructor(e){super(e),this.name="AnnotationError"}}const f6="1",d6=100;class m6{constructor(e){this.annotations=new Map,this.subscriptions=new Zn,this.rootAnnotationsContainer=e;const t=Tl(()=>{for(const n of this.annotations.values())this.isElementExceedsBoundaries(n,this.playerSize.width,this.playerSize.height)?n.style.visibility="hidden":n.style.visibility="visible"},d6);this.subscriptions.add(k0(this.rootAnnotationsContainer).subscribe(({width:n,height:o})=>{this.playerSize={width:n,height:o},t()})),this.mutationObserver=new MutationObserver(t),this.mutationObserver.observe(this.rootAnnotationsContainer,{attributes:!0,childList:!0,subtree:!0,characterData:!0})}add(e,t){var n;if(!this.rootAnnotationsContainer)throw new sr(a6);if(this.annotations.has(e))throw new sr(u6);t.style.zIndex=(n=t.style.zIndex)!==null&&n!==void 0?n:f6,t.style.position="absolute",this.rootAnnotationsContainer.append(t),this.annotations.set(e,t)}get(e){const t=this.annotations.get(e);if(!t)throw new sr(c6);return t}remove(e){const t=this.get(e);this.annotations.delete(e)&&t.remove()}clear(){for(const e in this.annotations.keys())this.remove(e)}destroy(){this.annotations.clear(),this.subscriptions.unsubscribe(),this.mutationObserver.disconnect(),this.rootAnnotationsContainer=null}isElementExceedsBoundaries(e,t,n){const o=e.offsetTop,r=e.offsetLeft,l=e.offsetWidth,s=e.offsetHeight;return o<0||r<0||r+l>t||o+s>n}registryRootContainer(e){}addLayer(e){return new HTMLElement}getLayer(e){}removeLayer(e){}clearLayer(e){}detach(){}reattach(){}}class Ur{init(e,t){return gt(e),gt(t),this.subscription=new Zn,this.subscription}}class p6 extends Ur{constructor(){super(...arguments),this.stateName="fakeIsPlaying$",this.state$={...Ve(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{isInteractiveExpectation$:o}=e.state;return n.add(o.subscribe(r=>{this.state$.set(r?!0:null)})),n}}class h6 extends Ur{constructor(){super(...arguments),this.stateName="interactiveControlsOpacity$",this.state$={...Ve(null),toggle:()=>this.state$.update(e=>!e)}}init(e,t){const n=super.init(e,t),{fakeIsPlaying$:o}=t,{isInteractiveExpectation$:r,isPlaying$:l}=e.state,{controlsVisible:s,isMobile:a}=e.ui,c=Qe(a),f=()=>c&&Qe(s);return n.add(s.subscribe(m=>{if(!c)return;const h=Qe(o);Qe(l)?this.state$.set(m):h!==null&&this.state$.set(!h||m)})),n.add(l.subscribe(m=>{this.state$.set(!m||f())})),n.add(o.subscribe(m=>{if(m===null)return;const h=Qe(r);if(f()){this.state$.set(!0);return}h&&this.state$.set(!m)})),n}}class v6 extends Ur{constructor(){super(...arguments),this.stateName="seekToInteractiveDisabledTooltip$",this.state$=Ve("tooltip_chapter_without_interactive")}init(e,t){const n=super.init(e,t);return n.add(e.state.interactiveEpisodes$.subscribe(o=>{o.length&&(o.every(r=>r.completed)?this.state$.set("tooltip_interactive_of_chapter_completed"):this.state$.set("tooltip_disabled_when_interactive"))})),n}}const g6=()=>[p6,h6,v6].reduce(({subscribers:i,stores:e},t)=>{const n=new t;return{subscribers:[...i,n],stores:{...e,[n.stateName]:n.state$}}},{subscribers:[],stores:{}}),b6={preload:!0,autoplay:!1,repeat:!1,fromTime:0,canRewindLive:!0,showAds:!1,interfaceLanguage:jo.RU,logoClickable:!1,logoHidden:!1,isMobile:C0(),isMediaSessionEnabled:!0,isPictureInPictureEnabled:!0,isAudioDisabled:!1,callbacks:{uiInfo:{}},tuningConfig:{configName:[]}};class _6 extends HTMLElement{constructor(){var e;super(),this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=!1,this.videoConfig=void 0,this.pictureInPictureApi=void 0,this.mediaSessionApi=void 0,this.unsubscribePlayerPhaseSubscription=void 0,this.annotationsApi=void 0,this.prevIsid=void 0,this.isInited=!1,this.logger=new S1,this.log=this.logger.createComponentLog("VKVideoPlayer"),this.subscription=new Zn,this.graphMadePause=!1,!((e=window==null?void 0:window.videoPlayerConfig)===null||e===void 0)&&e.debugLogs&&this.subscription.add(this.logger.log$.subscribe(t=>{console.log("%c player web component ","background:#77dd77;",`${t.component}`,t.message)}))}connectedCallback(){var e,t;if(this.isInited)return;this.initPlayerRootContainers();const n=(e=this.getAttribute("stub-title"))!==null&&e!==void 0?e:void 0,o=(t=this.getAttribute("stub-thumb-url"))!==null&&t!==void 0?t:void 0;this.svelteStubComponent=new Q_({target:this.playerContainer,props:{title:n,thumbUrl:o}})}disconnectedCallback(){var e,t,n,o,r;(e=this.annotationsApi)===null||e===void 0||e.destroy(),(t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),(n=this.svelteStubComponent)===null||n===void 0||n.$destroy(),this.subscription.unsubscribe(),(o=this.unsubscribePlayerPhaseSubscription)===null||o===void 0||o.call(this),(r=this.interactiveController)===null||r===void 0||r.destroy()}initPlayerRootContainers(){this.rootContainer=document.createElement("div"),this.rootContainer.style.position="relative",this.rootContainer.className="root-container",this.rootContainer.style.width="100%",this.rootContainer.style.height="100%";const e=document.createElement("div");e.style.position="absolute",e.className="shadow-root-container",e.style.width="100%",e.style.height="100%",this._shadowRoot=e.attachShadow({mode:"open"}),this.playerContainer=document.createElement("div"),this.playerContainer.style.all="initial",this.playerContainer.style.display="block",this.playerContainer.style.contain="strict",this.playerContainer.style.width="100%",this.playerContainer.style.height="100%",this._shadowRoot.append(this.playerContainer),this.rootContainer.append(e),this.append(this.rootContainer)}needToShowNextPrevButtons(){return this.videoConfig?this.videoConfig.videos.length>1:!1}isNextButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex<this.videoConfig.videos.length-1||this.needToRepeatPlaylist):!1}isPrevButtonActive(){return this.videoConfig?this.needToShowNextPrevButtons()&&(this.currentPlayingVideoIndex>0||this.needToRepeatPlaylist):!1}isControlDisabled(e){var t;const n=(t=this.store)===null||t===void 0?void 0:t.ui.controls.disabledControls$;return(n==null?void 0:n.includes(e))||!1}getNextVideoInfo(){if(!this.videoConfig)return{nextVideoTitle:void 0,nextVideoThumb:void 0};const e=this.videoConfig.videos[this.currentPlayingVideoIndex+1]||{};return{nextVideoTitle:e.title,nextVideoThumb:e.thumbUrl}}createPlayer(e,t={},n){var o,r,l,s,a,c,f,m,h,b,v,y;if(!this.videoConfig)return;const{albumId:_,statPlace:C,statUserSalt:k,statAuthToken:w,statTrackCode:N,refreshStatAuthToken:Q,preload:M,autoplay:G,volume:re,muted:ie,fromTime:O,canRewindLive:$,supportLink:S,showAds:D,adsSlotId:le,adsParams:L={},adsPreviewParam:se,interfaceLanguage:me,logoClickable:ve,logoHidden:ue,isMobile:Y,isAudioDisabled:ce,isLiveCatchUpMode:De,fullScreenTarget:fe,failoverHosts:Ae,canDownload:Se,callbacks:ae,interactiveData:Te,showThumbTimer:A,additionalButtons:ne=[],repeat:Me}=k1(this.videoConfig,t),{sources:Ce,title:Pe,thumbUrl:oe,videoLogoUrl:X,unitedVideoId:U,isClip:Be=!1,duration:$e,adsParams:lt={},videoEpisodes:We,previewThumbsData:Ie,subtitles:Je,live:mt}=e,st={...L,...lt},Le=this.getNextVideoInfo(),jt={sources:Ce,title:Pe,thumbUrl:oe,subtitles:Je,unitedVideoId:U,isClip:Be,live:mt,albumId:_,statPlace:C,autoplay:G,muted:ie,volume:re,fromTime:O,canRewindLive:$,showAds:D,adsSlotId:le,adsParams:st,adsPreviewParam:se,duration:$e,logoClickable:ve,logoHidden:ue,isMobile:Y,repeat:Me,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Le.nextVideoTitle,endScreenVideoThumb:Le.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()},ct={pictureInPictureApi:this.pictureInPictureApi,annotationsApi:this.annotationsApi};this.log({message:`create player, props: ${JSON.stringify(jt)}`});const It=this.uiConfig.features.statistics&&!!U,{pid:Nt}=((r=(o=this.videoConfig)===null||o===void 0?void 0:o.interactiveData)===null||r===void 0?void 0:r.projectInfo)||{};It&&new Fo({movieId:U,albumId:_,place:C,trackCode:N,autoplay:(l=G&&!this.interactiveController)!==null&&l!==void 0?l:!1,mobile:Y,clip:Be,...Nt&&!this.isInited&&{projectId:Number(Nt)}},{refreshAuthToken:Q,userSalt:k,config:this.statistics.config,...this.interactiveController&&{useIsid:!0,isid:this.prevIsid}}),this.uiConfig.features.sentry&&this.uiConfig.sentry.dsn&&new hr(this.uiConfig.sentry,{version:yr,env:X0},{movieId:U,albumId:_,place:C,autoplay:(s=G&&!this.interactiveController)!==null&&s!==void 0?s:!1,mobile:Y,clip:Be}),this.interactiveController&&((a=this.prevIsid)!==null&&a!==void 0||(this.prevIsid=(c=Fo.getInstance())===null||c===void 0?void 0:c.oneStat.isid$.getValue())),this.statistics={...this.statistics,...Fo.getInstance()},this.sentry={...this.sentry,...hr.getInstance()};const de=!!Te,Et=(f=this.interactiveController)===null||f===void 0?void 0:f.getInteractiveRanges(),tt=[];let Pt="tooltip_interactive_go_back_disabled_first";if(de&&this.interactiveController){const Xe=this.interactiveController.state.isInitialChapter$.getValue(),He=this.interactiveController.getHistoryState();Xe&&tt.push(ut.REPLAY_BUTTON),this.interactiveController.getIsSeekable().getValue()||tt.push(ut.SEEK_TO_INTERACTIVE_BUTTON),He.hasPrevChapter$.getValue()||(tt.push(ut.PLAY_PREV_CHAPTER_BUTTON),Xe||(He.isGoBackLimited$.getValue()?Pt="tooltip_interactive_go_back_disabled_limit":Pt="tooltip_interactive_go_back_disabled"))}const wt=()=>{var Xe;this.isInited=!1,this.prevIsid=void 0;const He=(n==null?void 0:n.info.isEnded$.getValue())&&((Xe=this.interactiveController)===null||Xe===void 0?void 0:Xe.state.isEndChapter$.getValue());ae.onReplayInteractiveVideo&&!He?ae.onReplayInteractiveVideo():this.replayInteractiveVideo()};this.store=fg({player:n,interfaceLanguage:me,videoId:U,isClip:Be,isLiveCatchUpMode:De,isAudioDisabled:ce,statAuthToken:w,callbacks:ae,webApi:ct,videoEpisodes:We,previewThumbsData:Ie,canDownload:Se,uiConfig:this.uiConfig,coreConfig:this.coreConfig,disabledControls:tt,isInteractive:de,interactiveRanges:Et,replayInteractive:wt,playPrevChapterDisabledTooltip:Pt,hasInteractiveBranches:!!(!((h=(m=this.interactiveController)===null||m===void 0?void 0:m.getChapterBranches())===null||h===void 0)&&h.length),additionalButtons:this.uiConfig.features.additionalButtons?ne:[],looped:Me&&this.videoConfig.videos.length===1});const{stores:pt}=this.microStoresRoot=g6();this.subscription.add(this.store.state.currentFormat$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onCurrentFormatChanged)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(pt.interactiveControlsOpacity$.subscribe(Xe=>{var He;Xe!==null&&((He=this===null||this===void 0?void 0:this.interactiveController)===null||He===void 0||He.setDisabledControls(Xe))})),this.subscription.add(this.store.state.throughputEstimation$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onThroughputEstimationChanged)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(this.store.state.trafficSavingEnabled$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onTrafficSavingEnabledChanged)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(this.store.state.currentPlaybackRate$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onCurrentPlaybackRateChanged)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(this.store.state.volume$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onVolumeChange)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(this.store.state.muted$.subscribe(Xe=>{var He,yt;return Xe?(He=ae==null?void 0:ae.onMute)===null||He===void 0?void 0:He.call(ae):(yt=ae==null?void 0:ae.onUnmute)===null||yt===void 0?void 0:yt.call(ae)})),this.subscription.add(this.store.state.videoBitrate$.subscribe(Xe=>{var He;return(He=ae==null?void 0:ae.onVideoBitrateChanged)===null||He===void 0?void 0:He.call(ae,Xe)})),this.subscription.add(this.store.state.isInteractiveTime$.subscribe(Xe=>{var He;const yt=(He=this.store)===null||He===void 0?void 0:He.ui.controls.disabledControls$;yt&&(Xe&&!yt.includes(wl)&&yt.add(wl),Xe||yt.remove(wl))})),this.initMediaSession(),this.interactiveController&&It&&this.initInteractivesStatistics(),this.svelteRootComponent=new j_({target:this.playerContainer,props:{interactiveContainer:this.interactiveContainer,sources:Ce,store:this.store,microStoresRoot:this.microStoresRoot,uiConfig:this.uiConfig,title:Pe,thumbUrl:oe,videoLogoUrl:X,subtitles:Je,live:mt,preload:M,autoplay:G,muted:ie,volume:re,fromTime:O,canRewindLive:$,supportLink:S,showAds:D,adsSlotId:le,adsParams:st,adsPreviewParam:se,duration:$e,logoClickable:ve,logoHidden:ue,isMobile:Y,failoverHosts:Ae,fullScreenTarget:fe,showMiniTimer:A,outerContainerRef:this.rootContainer,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:Le.nextVideoTitle,endScreenVideoThumb:Le.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,(y=(v=(b=this.videoConfig)===null||b===void 0?void 0:b.callbacks)===null||v===void 0?void 0:v.onInited)===null||y===void 0||y.call(v))}addPlayerInfoSubscriptions(){var e;if(this.isInited)return;const t=this.store,n=(e=this.videoConfig)===null||e===void 0?void 0:e.callbacks;n&&this.subscription.add(t.playerPhase.subscribe(r=>{var l;return(l=n.onPlayerPhaseChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.playbackState$.subscribe(r=>{var l;return(l=n.onPlaybackStateChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isLive$.subscribe(r=>{var l;return(l=n.onIsLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isActiveLive$.subscribe(r=>{var l;return(l=n.onIsActiveLiveChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.isAudioAvailable$.subscribe(r=>{var l;return(l=n.onIsAudioAvailableChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.currentQuality$.subscribe(r=>{var l;return(l=n.onCurrentQualityChanged)===null||l===void 0?void 0:l.call(n,r)})).add(t.state.availableQualities$.subscribe(r=>{var l;return(l=n.onAvailableQualitiesChanged)===null||l===void 0?void 0:l.call(n,r.map(({value:s})=>s).filter(s=>s!==To.AUTO))})).add(t.ui.isPictureInPictureActive$.subscribe(r=>{var l,s;return r?(l=n.onPiPEnter)===null||l===void 0?void 0:l.call(n):(s=n.onPiPExit)===null||s===void 0?void 0:s.call(n)}));const o=n==null?void 0:n.uiInfo;o&&this.subscription.add(t.ui.controlsVisible.subscribe(r=>{var l;return(l=o.onControlsVisibleChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.isMobile.subscribe(r=>{var l;return(l=o.onIsMobileChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.playerSize.subscribe(r=>{var l;return(l=o.onPlayerSizeChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.prevButton.subscribe(r=>{var l;return(l=o.onPrevButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playButton.subscribe(r=>{var l;return(l=o.onPlayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.replayButton.subscribe(r=>{var l;return(l=o.onReplayButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.nextButton.subscribe(r=>{var l;return(l=o.onNextButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.playPrevChapterButton.subscribe(r=>{var l;return(l=o.onPlayPrevChapterChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.seekToInteractiveButton.subscribe(r=>{var l;return(l=o.onSeekToInteractiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.interactiveGraphButton.subscribe(r=>{var l;return(l=o.onGraphButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.liveButton.subscribe(r=>{var l;return(l=o.onLiveButtonChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.time.subscribe(r=>{var l;return(l=o.onTimeUpdateChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.episodes.subscribe(r=>{var l;return(l=o.onEpisodesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.subtitles.subscribe(r=>{var l;return(l=o.onSubtitlesChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.settings.subscribe(r=>{var l;return(l=o.onSettingsChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.fullscreen.subscribe(r=>{var l;return(l=o.onFullscreenChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.chromecast.subscribe(r=>{var l;return(l=o.onChromecastChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.pip.subscribe(r=>{var l;return(l=o.onPipChanged)===null||l===void 0?void 0:l.call(o,r)})).add(t.ui.controls.vkLogo.subscribe(r=>{var l;return(l=o.onVkLogoChanged)===null||l===void 0?void 0:l.call(o,r)}))}playNextVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onNextVideoClick)try{t=this.videoConfig.callbacks.onNextVideoClick()}catch(n){this.log({message:"onNextVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex++,this.currentPlayingVideoIndex>=this.videoConfig.videos.length&&(this.currentPlayingVideoIndex=0),this.log({message:`play next video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}playPrevVideo(){var e;if(!this.videoConfig)return;let t=!0;if(!((e=this.videoConfig.callbacks)===null||e===void 0)&&e.onPrevVideoClick)try{t=this.videoConfig.callbacks.onPrevVideoClick()}catch(n){this.log({message:"onPrevVideoClick callback failed to execute"})}t&&(this.currentPlayingVideoIndex--,this.currentPlayingVideoIndex<0&&(this.currentPlayingVideoIndex=this.videoConfig.videos.length-1),this.log({message:`play prev video, index: ${this.currentPlayingVideoIndex}`}),this.createPlayerWithCurrentVideo())}repeatPlaylist(){this.currentPlayingVideoIndex=0,this.log({message:"repeat playlist"}),this.createPlayerWithCurrentVideo()}createPlayerWithCurrentVideo(e,t=!0){var n;if(!this.videoConfig)return;const o=this.videoConfig.videos[this.currentPlayingVideoIndex];if(!o){this.log({message:"no next video"});return}this.isInited&&Cn(o.unitedVideoId)&&this.store.actions.internal.nextMovie(o.unitedVideoId),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(o,{autoplay:t,fromTime:0},e)}playPrevChapter(){var e;(e=this.interactiveController)===null||e===void 0||e.playPrevChapter()}seekToInteractive(){var e;const t=(e=this.interactiveController)===null||e===void 0?void 0:e.getNextInteractiveStartTime();typeof t=="number"&&this.seekTime(t/1e3)}toggleGraph(){var e,t;if(!this.isInited)return;const n=this.store,{isEnded$:o,playbackState$:r,graphIsOpened$:l}=n.state,{disabledControls$:s}=n.ui.controls,a=Qe(o),c=Qe(r);Qe(l)?(l.set(!1),(e=this.interactiveController)===null||e===void 0||e.toggleGraphView(!1),s.remove(Jr),!a&&this.graphMadePause&&this.play()):(this.graphMadePause=c==="playing",l.set(!0),(t=this.interactiveController)===null||t===void 0||t.toggleGraphView(!0),s.add(Jr),!a&&this.graphMadePause&&this.pause())}async initInteractives(){var e,t,n,o;if(!((e=this.videoConfig)===null||e===void 0)&&e.interactiveData)try{const{Interactives:r,EVENT_NAMES:l,CustomError:s}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js");this.interactiveContainer=document.createElement("div"),this.interactiveContainer.classList.add("interactiveContainer");const a=(t=this.store)===null||t===void 0?void 0:t.interfaceLanguage$,c=a?Qe(a):this.videoConfig.interfaceLanguage,{projectInfo:f,historyApi:m,videoLoader:h}=this.videoConfig.interactiveData;this.interactiveController=new r({parentElement:this.interactiveContainer,fullscreenTargetElement:this.playerContainer,lang:c,graph:this.uiConfig.features.interactiveGraph,projectInfo:f,historyApi:m,vkVideoLoader:h,lastFrame:this.uiConfig.features.interactiveLastFrame,permanentTextControls:this.uiConfig.features.interactiveTextPermanent,initSeamless:!0,historyParams:{maxLength:this.uiConfig.interactive.historyMaxLength},coreConfig:this.coreConfig}),await this.interactiveController.setManifest(this.videoConfig.interactiveData.manifest);const{isInteractiveExpectation$:b}=this.interactiveController.state;this.uiConfig.features.seekToInteractive&&this.subscription.add(this.interactiveController.getIsSeekable().subscribe(y=>{if(!this.isInited)return;const _=this.store;y?_.ui.controls.disabledControls$.remove(ut.SEEK_TO_INTERACTIVE_BUTTON):_.ui.controls.disabledControls$.add(ut.SEEK_TO_INTERACTIVE_BUTTON)})),this.subscription.add(b.subscribe(y=>{this.store&&this.store.state.isInteractiveExpectation$.set(y)}));let v=!0;if(this.interactiveController.on(l.playerChanged,y=>{if(!this.videoConfig)return;this.videoConfig.videos[this.currentPlayingVideoIndex]={...y.config,title:(f==null?void 0:f.title)||y.config.title};const _=v?this.videoConfig.autoplay:!0;this.createPlayerWithCurrentVideo(y.player,_),v&&(v=!1)}),this.interactiveController.on(l.interactives,({type:y,subjectId:_,actionType:C})=>{var k,w,N,Q;if(!this.store)return;const M=b.getValue();if(y==="container-removed"&&this.store.actions.internal.completeInteractiveRange(_),y==="action-choice"&&C==="setRandomBranch"&&(this.store.state.graphIsOpened$.set(!1),this.store.ui.controls.disabledControls$.remove(D1)),y==="action-choice-canceled"){const G=Qe(this.store.state.isPlaying$)||M;if(!((k=this.videoConfig)===null||k===void 0)&&k.isMobile&&G){this.store.ui.interactiveHideMobileControls.set(!0);return}(Q=(w=this.videoConfig)===null||w===void 0?void 0:(N=w.callbacks).onDisabledInteractiveClick)===null||Q===void 0||Q.call(N)}}),!((o=(n=this.videoConfig)===null||n===void 0?void 0:n.callbacks)===null||o===void 0)&&o.onInteractiveHistoryChanged){const y=this.interactiveController.getHistoryState();this.subscription.add(y.history$.subscribe(_=>{var C,k,w;_.length&&((w=(k=(C=this.videoConfig)===null||C===void 0?void 0:C.callbacks)===null||k===void 0?void 0:k.onInteractiveHistoryChanged)===null||w===void 0||w.call(k,_))}))}this.interactiveController.on(l.errors,y=>{this.log({message:y.toString()})})}catch(r){this.log({message:r.message})}}async initInteractivesStatistics(){var e,t;const{statSubscription:n,oneStat:o}=this.statistics;if(!(!n||!o||!this.interactiveController))try{const{INTERACTIVE_CLICK_ACTIONS:r}=await import("@vkontakte/videoplayer-interactive/es2018.esm.js"),l={[r.GO_NEXT_BUTTON]:zo.NEXT_BUTTON,[r.GO_NEXT_AREA]:zo.NEXT_AREA,[r.WATCH_AGAIN]:zo.WATCH_AGAIN,[r.OPEN_GRAPH]:zo.GRAPH_SHOW,[r.CLOSE_GRAPH]:zo.GRAPH_HIDE},{click$:s,nextMovie$:a}=this.interactiveController.getStatEvents(),c=new bn;s.subscribe(f=>{var m,h;f in l?c.next(l[f]):(o==null||o.logError({errorType:"InteractiveVideosAction",fatal:!1}),(h=(m=this.sentry).report)===null||h===void 0||h.call(m,new Error("InteractiveVideosAction"),{errorType:"InteractiveVideosAction",fatal:!1}))}),n.add(o.attachToInteractive({click$:c,nextMovie$:a}))}catch(r){o==null||o.logError({errorType:"InteractiveVideos",fatal:!1}),(t=(e=this.sentry).report)===null||t===void 0||t.call(e,r,{errorType:"InteractiveVideosAction",fatal:!1})}}initPlayer(e,t={}){var n,o,r,l,s,a,c,f,m,h,b,v,y,_,C,k,w,N,Q;if(!Array.isArray(e.videos)||e.videos.length===0&&!e.interactiveData)throw new Error("empty videos");this.videoConfig=k1(b6,S0(e,M=>M instanceof HTMLElement?M:void 0)),this.uiConfig=H0((n=t.ui)!==null&&n!==void 0?n:{}),this.coreConfig=(o=t.core)!==null&&o!==void 0?o:{configName:[]},this.statistics={config:(r=t.statistics)!==null&&r!==void 0?r:{}},this.sentry={config:(l=this.uiConfig.sentry)!==null&&l!==void 0?l:{}},Cn(this.videoConfig.isMediaSessionEnabled)&&(this.uiConfig.features.mediaSession=(s=this.videoConfig.isMediaSessionEnabled)!==null&&s!==void 0?s:!0),Cn(this.videoConfig.isPictureInPictureEnabled)&&(this.uiConfig.features.pip=(c=(a=this.uiConfig.features.pip)!==null&&a!==void 0?a:this.videoConfig.isPictureInPictureEnabled)!==null&&c!==void 0?c:!0,this.uiConfig.features.dpip=(m=(f=this.uiConfig.features.dpip)!==null&&f!==void 0?f:this.videoConfig.isPictureInPictureEnabled)!==null&&m!==void 0?m:!0),this.videoConfig.isMobile=(h=this.uiConfig.isMobile)!==null&&h!==void 0?h:this.videoConfig.isMobile,(N=this.videoConfig).autoplay&&(N.autoplay=this.uiConfig.features.autoplay),this.videoConfig.showAds=(b=this.uiConfig.ads.enable)!==null&&b!==void 0?b:this.videoConfig.showAds,this.videoConfig.adsSlotId=(v=this.uiConfig.ads.slot)!==null&&v!==void 0?v:this.videoConfig.adsSlotId,this.videoConfig.adsPreviewParam=(y=this.uiConfig.ads.preview)!==null&&y!==void 0?y:this.videoConfig.adsPreviewParam,this.videoConfig.logoHidden=!((_=this.uiConfig.showLogo)!==null&&_!==void 0?_:!this.videoConfig.logoHidden),(Q=this.videoConfig).canRewindLive&&(Q.canRewindLive=this.uiConfig.features.liveRewind),this.videoConfig.supportLink=(C=this.videoConfig.supportLink)!==null&&C!==void 0?C:this.uiConfig.supportLink,this.currentPlayingVideoIndex=0,this.needToRepeatPlaylist=this.videoConfig.repeat,this.uiConfig.features.pip&&(this.uiConfig.features.dpip?this.pictureInPictureApi=s6.getLatestSupportedVersion():this.pictureInPictureApi=new Lr),this.mediaSessionApi=this.uiConfig.features.mediaSession?new J_:void 0,this.annotationsApi=this.uiConfig.features.annotations?new m6(this.rootContainer):void 0,(k=this.svelteStubComponent)===null||k===void 0||k.$destroy(),(w=this.svelteRootComponent)===null||w===void 0||w.$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]),r6(this.pictureInPictureApi)&&this.pictureInPictureApi.setPlayerDomElement(this.playerContainer,this._shadowRoot)}isOneVideoPlaylist(){return this.videoConfig?this.videoConfig.videos.length===1:!1}updateNextVideos(e){var t;if(!this.videoConfig)return;this.log({message:`update next videos, videos: ${JSON.stringify(e)}`}),this.videoConfig.videos.splice(this.currentPlayingVideoIndex+1),this.videoConfig.videos.push(...e);const n=this.getNextVideoInfo();(t=this.svelteRootComponent)===null||t===void 0||t.$set({showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive(),endScreenVideoTitle:n.nextVideoTitle,endScreenVideoThumb:n.nextVideoThumb,isOneVideoPlaylist:this.isOneVideoPlaylist()})}initMediaSession(){var e,t;this.mediaSessionApi&&((e=this.unsubscribePlayerPhaseSubscription)===null||e===void 0||e.call(this),this.unsubscribePlayerPhaseSubscription=(t=this.store)===null||t===void 0?void 0:t.playerPhase.subscribe(n=>{n===Oe.Video?this.setupMediaSessionForVideo():n===Oe.Ads&&this.setupMediaSessionForAds()}))}setupMediaSessionForVideo(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const{title:e,thumbUrl:t}={...this.videoConfig.videos[this.currentPlayingVideoIndex]},n=[["play",()=>this.play()],["pause",()=>this.pause()],["seekto",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:t}),this.mediaSessionApi.updateActionHandlers(n)}catch(e){this.log({message:e.message})}}setupMediaSessionForAds(){if(!(!this.videoConfig||!this.mediaSessionApi))try{const e="\u0420\u0435\u043A\u043B\u0430\u043C\u0430",t=[["play",()=>this.play()],["pause",()=>this.pause()]];this.mediaSessionApi.setMetaData({title:e}),this.mediaSessionApi.updateActionHandlers(t)}catch(e){this.log({message:e.message})}}play(){var e,t;this.isControlDisabled(ut.PLAY_BUTTON)||!((e=this.store)===null||e===void 0)&&e.playerPhase.is(Oe.WaitingLive)||(this.log({message:"play"}),(t=this.svelteRootComponent)===null||t===void 0||t.play())}pause(){var e;this.log({message:"pause"}),(e=this.svelteRootComponent)===null||e===void 0||e.pause()}stop(){var e,t;if(!this.videoConfig)return;this.log({message:"stop"}),(e=this.svelteStubComponent)===null||e===void 0||e.$destroy();const n=this.videoConfig.videos[0];n&&((t=this.svelteRootComponent)===null||t===void 0||t.$destroy(),this.createPlayer(n))}setMuted(e){var t;this.log({message:`set muted, muted: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setMuted(e)}setVolume(e){var t;this.log({message:`set volume, volume: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setVolume(e)}setRepeat(e){var t;this.log({message:`set repeat, repeat: ${e}`}),this.needToRepeatPlaylist=e,(t=this.svelteRootComponent)===null||t===void 0||t.$set({needToRepeatPlaylist:this.needToRepeatPlaylist,showNextPrevButtons:this.needToShowNextPrevButtons(),nextButtonActive:this.isNextButtonActive(),prevButtonActive:this.isPrevButtonActive()})}seekTime(e){var t;this.isControlDisabled(ut.TIMELINE)||(this.log({message:`seek time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekTime(e))}seekEpisodeStartTime(e){var t;this.log({message:`seek episode start time, time: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.seekEpisodeStartTime(e)}returnFocusToEpisodes(){var e;this.log({message:"return focus to episodes button"}),(e=this.svelteRootComponent)===null||e===void 0||e.returnFocusToEpisodes()}setPlaybackRate(e){var t;this.log({message:`set playback rate to: ${e}`}),(t=this.svelteRootComponent)===null||t===void 0||t.setPlaybackRate(e)}setAutoQualityLimits(e){var t,n,o;this.log({message:`set auto quality limitation. Max: ${(t=e.max)!==null&&t!==void 0?t:"none"}. Min: ${(n=e.min)!==null&&n!==void 0?n:"none"}`}),(o=this.svelteRootComponent)===null||o===void 0||o.setAutoQualityLimits(e)}addLanguage(e){var t;(t=this.store)===null||t===void 0||t.actions.internal.addLanguage(e)}async setLanguage(e){var t;await((t=this.store)===null||t===void 0?void 0:t.actions.internal.setLanguage(e))}setLiveStart(e){var t,n;this.log({message:"live started"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingLive(!1),(n=this.svelteRootComponent)===null||n===void 0||n.initVideo(e),this.play()}setWaitRecord(){var e,t;this.log({message:"post live"}),(e=this.store)===null||e===void 0||e.actions.internal.setWaitingRecord(!0),(t=this.store)===null||t===void 0||t.destroy()}setLiveEnd(e){var t,n;this.log({message:"live ended"}),(t=this.store)===null||t===void 0||t.actions.internal.setWaitingRecord(!1),(n=this.svelteRootComponent)===null||n===void 0||n.$destroy(),this.createPlayer(e,{autoplay:!1})}getDeviceId(){var e,t;return(t=(e=Fo.getInstance())===null||e===void 0?void 0:e.oneStat.getDeviceId())!==null&&t!==void 0?t:void 0}replayInteractiveVideo(){this.interactiveController&&this.interactiveController.setChapter()}}const T6=()=>{window.customElements.define("vk-video-player",_6)};export{Lt as GridTypes,V6 as InterfaceLanguage,yr as VERSION,B6 as VKNumericLanguage,L6 as VideoFormat,I6 as VideoQuality,R6 as loadVKLangPack,T6 as registerPlayerWebComponent};